@font-face{font-family:Myanmar;src:url('/assets/fonts/NotoSansMyanmar-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Myanmar;src:url('/assets/fonts/NotoSansMyanmar-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:MyanmarSerif;src:url('/assets/fonts/NotoSerifMyanmar-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:MyanmarPadauk;src:url('/assets/fonts/Padauk-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
.copy-font-control{padding:0 22px 12px}.copy-font-control select{max-width:340px}.copy-font-control .field-help{margin-top:8px}
.copy-typography-fields{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(115px,.85fr);gap:12px}.copy-typography-fields select{max-width:none}@media(max-width:650px){.copy-typography-fields{grid-template-columns:1fr}}
.provider-error{margin-top:10px;font-size:12px;line-height:1.65;color:#c1b2ce}.provider-error summary{cursor:pointer;color:#bca9cc;overflow-wrap:anywhere}.provider-error summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.provider-error dl{margin:10px 0 0;padding:10px;background:#17141d;border:1px solid #3b3043;border-radius:5px}.provider-error dt{font-size:10px;color:#93829f;margin-top:9px}.provider-error dt:first-child{margin-top:0}.provider-error dd{margin:2px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.card-interrupted{font-size:11px;line-height:1.6;color:#bfa6db;margin-top:9px;overflow-wrap:anywhere}
.creative-draft-button{margin-top:12px}.creative-draft-panel{margin-top:14px;padding:13px;background:#25202c;border:1px solid #4b3d5b;border-radius:7px}.creative-draft-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;color:#d5c7df}.creative-draft-panel details{margin:10px 0;font-size:11px;color:#a493b4}.creative-draft-panel summary{cursor:pointer}.creative-draft-panel ul{padding-left:18px;line-height:1.8}.creative-draft-panel>.button{margin-top:13px}.count-shortcuts{display:flex;gap:5px;margin-top:7px}.count-shortcuts button{flex:1;border:1px solid #403647;background:#211a29;color:#a89ab9;border-radius:4px;padding:4px 0;font-size:11px}.count-shortcuts button.active{border-color:#a184ce;color:#dcc6f3;background:#342540}.copy-finishing-controls{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(115px,.85fr);gap:12px;margin-top:15px}.watermark-options{border:0;padding:0;margin:0;min-width:0}.watermark-options legend{font-size:12px;color:#c8c4d1;margin-bottom:9px;padding:0}.watermark-options label{display:inline-flex;align-items:center;gap:6px;margin:0 12px 8px 0;font-size:12px;cursor:pointer}.watermark-options input{width:15px;height:15px;margin:0;accent-color:var(--accent)}.card-delete-row{display:flex;justify-content:flex-end;margin-top:10px}.card-delete-row .text-button{font-size:11px;color:#b6a0bf}.layout-mini.right b{left:4px;right:auto}.layout-mini.right i:first-child{top:11px;right:5px;width:20px}.layout-mini.right i:nth-child(2){top:17px;right:5px;width:17px}.layout-mini.top i:first-child{top:6px;left:8px;right:8px}.layout-mini.top i:nth-child(2){top:11px;left:10px;right:10px}.layout-mini.top b{height:13px;right:15px}.layout-mini.bottom i:first-child{bottom:10px;left:8px;right:8px}.layout-mini.bottom i:nth-child(2){bottom:5px;left:10px;right:10px}.layout-mini.bottom b{top:0;bottom:auto;height:13px}.section-actions{flex-wrap:wrap}@media(max-width:650px){.copy-finishing-controls{grid-template-columns:1fr}.watermark-options label{margin-bottom:0}.section-actions #clear-failed-button{order:3;width:100%}}
:root{color-scheme:dark;--bg:#111115;--sidebar:#141418;--panel:#1b1b21;--surface:#222229;--border:#303039;--text:#efedf4;--muted:#9c9aa8;--accent:#b4a0f5;--accent-soft:#2d263f;--green:#a3d6b4;--red:#f0a5a5;--gold:#ecd8a1;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;font-size:16px;font-weight:400;line-height:1.5}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button,a,label,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,input,select,textarea{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:600;letter-spacing:-.7px;line-height:1.4}h2{font-size:17px;font-weight:600;letter-spacing:.1px}h3{font-size:17px;font-weight:500}small{font-size:12px}img{display:block;max-width:100%}[hidden]{display:none!important}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:600;color:var(--accent);margin-bottom:9px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.app-shell{display:flex;min-height:100vh}.sidebar{width:240px;background:var(--sidebar);border-right:1px solid #29292f;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:31px 20px 23px;z-index:10}.brand{display:flex;gap:11px;align-items:center;font-size:16px;font-weight:650;letter-spacing:-.5px;padding:0 3px}.brand small{display:block;font-size:8px;letter-spacing:1.8px;color:var(--muted);margin-top:4px;font-weight:500}.brand-mark{width:36px;height:37px;background:var(--accent);color:#211b2e;border-radius:10px;font-size:20px;letter-spacing:-4px;padding-right:4px;display:flex;align-items:center;justify-content:center;font-weight:800;flex-shrink:0}.brand-mark span{opacity:.65}.brand-mark.large{width:48px;height:48px;font-size:27px;border-radius:13px;margin-bottom:28px}.workspace{display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:9px;padding:11px 10px;margin:35px 0 30px;font-size:13px}.workspace small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.workspace-avatar{background:#34303e;color:#c1b0e7;width:30px;height:30px;display:grid;place-items:center;border-radius:7px;font-size:13px}.workspace-dot{width:5px;height:5px;background:var(--green);border-radius:50%;margin-left:auto}.nav-label{font-size:10px;color:#777480;letter-spacing:1px;padding:0 13px;margin-bottom:12px}.nav-item{display:flex;gap:12px;align-items:center;height:45px;padding:0 12px;border-radius:7px;margin-bottom:6px;font-size:14px;color:#b1aebc;transition:background .15s,color .15s}.nav-item:hover{background:#23222a;color:var(--text)}.nav-item.active{color:#c6b5fa;background:#2b253a}.nav-item .icon{width:18px;height:18px}.nav-count{margin-left:auto;border:1px solid #4b425e;border-radius:5px;font-size:10px;min-width:22px;line-height:18px;text-align:center;padding:0 4px}.sidebar-bottom{margin-top:auto;padding:26px 11px 0}.sidebar-bottom p{font-size:12px;color:#777580;line-height:1.9;margin:13px 0 23px}.small-status{display:flex;align-items:center;gap:8px;font-size:12px;color:#c0bdc9}.dot{width:6px;height:6px;display:inline-block;border-radius:50%;flex-shrink:0}.dot.violet{background:var(--accent)}.dot.green{background:var(--green)}.dot.gray{background:#75727d}.workspace-main{margin-left:240px;min-width:0;width:calc(100% - 240px)}.topbar{height:73px;border-bottom:1px solid #27272f;padding:0 40px;display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:12px;color:#96929f}.breadcrumb span{margin:0 13px;color:#4c4955}.breadcrumb strong{font-weight:500;color:#d8d4e2}.topbar-right{display:flex;align-items:center;gap:18px}.edition{color:#aaa6b4;font-size:11px;border:1px solid var(--border);padding:3px 9px;border-radius:4px}.avatar{width:29px;height:29px;display:grid;place-items:center;background:#3a334b;border:1px solid #55486a;border-radius:50%;color:#d6c2ef;font-size:12px}.main-content{padding:37px 40px 44px;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.page-heading .muted{font-size:13px;margin-top:9px;line-height:1.7}.canvas-spec{display:flex;align-items:center;gap:13px;padding:12px 16px;background:#1a1920;border:1px solid #2d2b36;border-radius:8px;font-size:13px;letter-spacing:.3px;white-space:nowrap}.canvas-spec .icon{color:#b0a0cf;width:23px;height:23px}.canvas-spec small{display:block;font-size:10px;color:#908b9d;margin-top:3px;letter-spacing:0}.studio-grid{display:grid;grid-template-columns:minmax(310px,380px) minmax(0,1fr);gap:22px;align-items:start}.panel{background:var(--panel);border:1px solid var(--border);border-radius:12px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px}.step-label{color:#777280;font-size:10px;letter-spacing:1.2px}.production-panel .panel-heading{border-bottom:1px solid #2c2b35}.production-panel form{padding:0 22px 22px}.form-section{padding:21px 0 0}.field-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:6px}.field-heading label,.field-label{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:500;margin:0}.step-number{color:#8a7aac;font-size:10px;letter-spacing:1px}.optional{font-size:10px;color:#77727e}label{display:block;font-size:12px;color:#c8c4d1;margin-bottom:8px}input,textarea,select{width:100%;background:#17171c;border:1px solid #383540;border-radius:6px;padding:10px 12px;font-size:13px;color:#e6e0ef;transition:border-color .15s}textarea{resize:vertical;min-height:90px;line-height:1.75}textarea::placeholder,input::placeholder{color:#73707d}textarea:focus,input:focus,select:focus{border-color:#8b74b6}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button{opacity:1}select{appearance:auto;min-height:41px;padding-right:6px}.field-help{font-size:11px;color:#8b8597;line-height:1.8;margin-top:9px}.centered{text-align:center}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:17px}.input-unit{position:relative}.input-unit input{padding-right:70px}.input-unit>span{position:absolute;right:12px;top:11px;font-size:11px;color:#8f889d;pointer-events:none}.layout-picker{display:grid;gap:9px}.layout-option{position:relative;display:flex;align-items:center;gap:12px;background:#1a191f;border:1px solid #35323d;padding:11px;border-radius:7px;font-size:12px;cursor:pointer;margin:0}.layout-option:has(input:checked){border-color:#8c74b7;background:#262031}.layout-option:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}.layout-option input{position:absolute;opacity:0;width:1px;height:1px}.layout-option small{display:block;font-size:10px;color:#92899f;margin-top:3px}.radio-mark{width:13px;height:13px;border:1px solid #5e546e;border-radius:50%;margin-left:auto;display:grid;place-items:center}.layout-option input:checked~.radio-mark{border-color:var(--accent)}.layout-option input:checked~.radio-mark:after{content:"";width:5px;height:5px;background:var(--accent);border-radius:50%}.layout-mini{position:relative;width:49px;height:31px;background:#393040;border-radius:3px;overflow:hidden;flex-shrink:0}.layout-mini i{position:absolute;display:block;background:#cdb9ee;height:3px;border-radius:1px;z-index:1}.layout-mini.center i:first-child{top:7px;left:8px;right:8px}.layout-mini.center i:nth-child(2){bottom:7px;left:10px;right:10px}.layout-mini b{display:block;position:absolute;width:18px;height:22px;background:#5a486d;border-radius:10px 10px 0 0;right:15px;bottom:0}.layout-mini.left b{right:4px}.layout-mini.left i:first-child{top:11px;left:5px;width:20px}.layout-mini.left i:nth-child(2){top:17px;left:5px;width:17px}.inline-link{font-size:11px;color:#b7a1e7;white-space:nowrap}.inline-link:hover{text-decoration:underline}.selected-references{display:flex;gap:8px;min-height:58px}.reference-placeholder{border:1px dashed #413b4d;border-radius:6px;width:100%;padding:13px;display:flex;align-items:center;gap:10px;color:#8f869e;font-size:12px}.selected-ref{position:relative;width:100px;max-width:45%;height:58px;border:1px solid #695583;border-radius:5px;overflow:hidden}.selected-ref img{width:100%;height:100%;object-fit:cover}.selected-ref button{position:absolute;right:2px;top:2px;border:0;background:#17121ddd;color:white;border-radius:3px;width:20px;height:20px;line-height:16px;padding:0}.generation-actions{border-top:1px solid #302b38;margin-top:20px;padding-top:20px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border-radius:7px;font-size:12px;font-weight:500;border:1px solid transparent;min-height:40px;white-space:nowrap;transition:background .15s,transform .15s}.button:not(:disabled):active{transform:translateY(1px)}.button.primary{background:var(--accent);color:#241c35;border-color:var(--accent)}.button.primary:hover:not(:disabled){background:#c6b3ff}.button.secondary{background:#242129;color:#d1c9dd;border-color:#413949}.button.secondary:hover:not(:disabled){background:#302b39}.button .icon{width:16px;height:16px}.button.full{width:100%}.button-arrow{margin-left:auto}.generation-actions .primary{justify-content:flex-start;min-height:44px}.generation-actions .secondary{margin-top:11px;background:transparent;font-size:11px}.tag{display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:4px;padding:3px 7px;font-size:10px;line-height:1.4;white-space:nowrap}.tag .icon{width:11px;height:11px}.tag.neutral{background:#2a2630;color:#aba2ba}.tag.violet-tag{background:#322743;color:#c6aeec}.tag.green{background:#22362d;color:#a3d6b4}.tag.red{background:#3c272d;color:#efa7ab}.tag.amber{background:#3e3324;color:#d9bc86}.preview-column{min-width:0;display:grid;gap:18px}.preview-panel .panel-heading{padding-top:18px;padding-bottom:17px}.preview-canvas{position:relative;aspect-ratio:16/9;background:#141218;margin:0 18px;border:1px solid #34303a;border-radius:7px;display:grid;place-items:center;overflow:hidden;background-image:radial-gradient(ellipse at 50% 100%,#30243d66,transparent 70%)}.preview-canvas>img{width:100%;height:100%;object-fit:contain;cursor:zoom-in}.preview-empty{text-align:center;padding:24px 12px}.empty-art{margin:0 auto 24px;position:relative;width:76px;height:55px;border:1px solid #504259;border-radius:6px;display:grid;place-items:center;background:#28202f;transform:rotate(-5deg)}.empty-art:before{content:"";position:absolute;inset:5px -7px -6px 6px;border:1px solid #332a3d;border-radius:6px;z-index:-1;transform:rotate(10deg)}.empty-art .icon{width:25px;height:25px;color:#9d83b9}.empty-art span{position:absolute;bottom:-7px;right:-9px;font-size:9px;background:#372b44;padding:1px 6px;border:1px solid #554067;border-radius:4px;color:#bca0d0}.preview-empty h3{font-size:15px;color:#c8bdd5}.preview-empty p{font-size:11px;color:#8d819b;margin-top:11px;line-height:1.9}.preview-footer{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8d839a;padding:14px 19px;min-height:45px}.preview-footer>span{display:flex;align-items:center;gap:7px}.text-button{border:0;padding:0;background:none;color:#a99aba;font-size:11px;text-align:left}.text-button:hover{color:#ddcbf3}.copy-panel .panel-heading{padding-bottom:10px}.myanmar-copy{font-family:Myanmar,"Myanmar Text",sans-serif;font-weight:700;font-size:25px;line-height:2;color:var(--gold);white-space:pre-wrap;padding:3px 23px 7px;text-shadow:0 2px 0 #050507;letter-spacing:0}.copy-panel>.field-help{padding:0 22px 19px;margin:0}.outputs-section{margin-top:35px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.section-heading h2{display:flex;align-items:center;gap:9px}.count-label{font-size:11px;background:#25212d;border:1px solid #37303f;padding:1px 6px;border-radius:4px}.section-heading .muted{margin-top:5px;font-size:11px}.section-actions{display:flex;align-items:center;gap:9px}.compact-select{width:auto;font-size:11px;min-height:36px;padding:7px 9px}.section-actions .button{font-size:11px;min-height:36px;padding:7px 12px}.poster-grid,.reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.poster-card,.reference-card{border:1px solid #34303b;background:#1b1921;border-radius:9px;overflow:hidden;position:relative;min-width:0}.poster-card.selected,.reference-card.selected{border-color:#b197e5;box-shadow:0 0 0 1px #b197e5}.card-image{aspect-ratio:16/9;background:#15131b;display:grid;place-items:center;position:relative;overflow:hidden}.card-image img{width:100%;height:100%;object-fit:cover}.image-open{width:100%;height:100%;border:0;background:transparent;padding:0;cursor:zoom-in}.card-select{position:absolute;top:10px;left:10px;margin:0;z-index:2}.card-select input{width:17px;height:17px;margin:0;accent-color:var(--accent);cursor:pointer}.card-badge{position:absolute;right:9px;top:9px;pointer-events:none}.card-body{padding:12px 13px}.card-topline{display:flex;justify-content:space-between;align-items:center;gap:8px}.card-title{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-meta{font-size:10px;color:#877f93;margin-top:4px}.card-actions{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #302935;margin-top:11px;padding-top:10px;gap:8px}.card-actions .text-button{font-size:10px}.card-error{font-size:11px;line-height:1.6;color:#d8a4a4;margin-top:9px;overflow-wrap:anywhere}.card-processing{text-align:center;color:#9786ad;font-size:11px;padding:18px}.card-processing .loading-mark{margin:0 auto 13px;width:22px;height:22px}.empty-state{grid-column:1/-1;min-height:175px;border:1px dashed #37313f;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;padding:30px;text-align:center;background:#17151c}.empty-state>.icon{width:27px;height:27px;color:#80708f;margin-bottom:5px}.empty-state h3{font-size:14px;color:#bfb2cd}.empty-state p{font-size:12px;color:#877990;max-width:430px;line-height:1.8}.batch-progress{padding:11px 15px;margin-bottom:16px;border:1px solid #51405f;border-radius:7px;font-size:12px;color:#bfa6db;background:#261e30;display:flex;align-items:center;gap:10px}.batch-progress .loading-mark{width:15px;height:15px;border-width:2px;flex-shrink:0}.app-footer{border-top:1px solid #26222b;margin:0 40px;padding:17px 0 24px;display:flex;justify-content:space-between;font-size:10px;color:#635c6c;letter-spacing:.3px}.app-footer span:first-child{font-size:9px;letter-spacing:1.4px}
.reference-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 17px}.filter-tabs{display:flex;gap:7px;flex-wrap:wrap}.filter-tab{background:transparent;border:1px solid #3a3243;color:#b3a8bf;border-radius:6px;padding:6px 11px;font-size:12px}.filter-tab.active{background:#32263f;border-color:#79628e;color:#d4bee7}.notice{padding:13px 15px;background:#2b2430;border:1px solid #46374e;border-radius:7px;font-size:12px;color:#c3accf;line-height:1.8;margin:18px 0}.notice.subtle{background:#1c1821;border-color:#342b3d;color:#998ba8;margin:0 0 23px}.reference-card .card-image{cursor:pointer}.reference-card .card-body{display:flex;align-items:center;justify-content:space-between;gap:8px}.reference-select-button{font-size:10px;padding:4px 8px;border:1px solid #514160;border-radius:4px;color:#bca2d0;background:#2a2033}.reference-card.selected .reference-select-button{background:#b4a0f5;color:#281d34;border-color:#b4a0f5}.upload-label{cursor:pointer;margin:0}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}.stat-card{border:1px solid var(--border);border-radius:10px;background:var(--panel);padding:22px}.stat-card p{font-size:12px;color:#a59aae}.stat-card strong{display:block;font-size:29px;font-weight:500;margin-top:8px}.feedback-list{display:grid;gap:12px}.feedback-entry{display:grid;grid-template-columns:150px 1fr;gap:20px;padding:17px;border:1px solid #37303f;border-radius:10px;background:#1b1820}.feedback-entry img{aspect-ratio:16/9;width:100%;object-fit:cover;border-radius:5px}.feedback-entry .card-topline{justify-content:flex-start}.feedback-entry time{font-size:10px;color:#82768e;margin-left:auto}.feedback-entry p{font-size:12px;color:#c1b2ce;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:10px}.feedback-entry details{font-size:11px;color:#998aa7;margin-top:9px}.feedback-entry summary{cursor:pointer}.feedback-entry dl{display:grid;grid-template-columns:70px 1fr;gap:6px;margin:10px 0 0}.feedback-entry dt{color:#93829f}.feedback-entry dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#bfb0cc}.settings-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:22px}.settings-panel{padding:0 22px 23px}.settings-panel .panel-heading{padding-left:0;padding-right:0}.switch-row{display:flex;position:relative;align-items:center;gap:18px;margin:7px 0 0;cursor:pointer}.switch-row strong{font-size:13px;font-weight:500}.switch-row small{display:block;font-size:11px;color:#95879f;margin-top:5px}.switch-input{position:absolute;opacity:0;width:1px;height:1px}.switch{margin-left:auto;width:35px;height:21px;border-radius:20px;background:#484050;position:relative;flex-shrink:0;transition:background .15s}.switch:after{content:"";position:absolute;left:3px;top:3px;width:15px;height:15px;border-radius:50%;background:#c4bbcd;transition:transform .15s}.switch-input:checked+.switch{background:#a68bd0}.switch-input:checked+.switch:after{background:#22172d;transform:translateX(14px)}.switch-input:focus-visible+.switch{outline:2px solid var(--accent);outline-offset:4px}.settings-panel .form-row{margin-bottom:22px}.settings-panel>.button{margin-top:23px}.services-panel{padding-bottom:17px}.service-row{padding:14px 21px;border-top:1px solid #302935;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}.service-row small{display:block;color:#8f819a;font-size:10px;margin-top:3px}.services-panel>.field-help{padding:0 21px}.rules-panel{margin-top:20px}.rules-panel .panel-heading{padding-bottom:10px}.rules-list{margin:0;padding:0 22px 21px 39px;color:#a396ae;font-size:12px;line-height:2.1}.rules-list li{padding-left:3px;margin:3px 0}
.auth-shell{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;background:radial-gradient(ellipse at 50% 10%,#31243c66,transparent 65%)}.auth-shell>.muted{font-size:13px;margin-top:17px}.login-card{width:100%;max-width:400px;padding:33px;border:1px solid #3d3247;border-radius:15px;background:#1c1822}.login-card h1{font-size:27px}.login-card>.muted{font-size:12px;margin-top:9px;line-height:1.9;margin-bottom:29px}.login-card .button{margin-top:21px;justify-content:space-between}.form-error{font-size:12px;color:#efa7ab;margin-top:12px}.loading-mark{width:28px;height:28px;border:2px solid #49375d;border-top-color:var(--accent);border-radius:50%;animation:spin .9s linear infinite}.modal,.image-modal{padding:0;border:1px solid #4d3d5d;border-radius:13px;background:#1d1923;color:var(--text);width:calc(100% - 40px);max-width:850px;max-height:calc(100vh - 60px);overflow:auto;box-shadow:0 20px 80px #0008}.modal::backdrop,.image-modal::backdrop{background:#09070cc7;backdrop-filter:blur(5px)}.modal-header{padding:23px 25px 18px;display:flex;justify-content:space-between;align-items:center;gap:20px}.modal-header h2{font-size:20px}.icon-button{border:1px solid #43364e;border-radius:7px;width:31px;height:31px;display:grid;place-items:center;background:#2b2334;color:#bca9cc;padding:0}.icon-button .icon{width:15px;height:15px}.feedback-modal-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:23px;padding:0 25px 24px}.feedback-modal-grid img{border:1px solid #473551;border-radius:6px;aspect-ratio:16/9;object-fit:contain;background:#151019}.feedback-fields label:not(:first-child){margin-top:14px}.modal-footer{border-top:1px solid #3b2f45;padding:16px 25px;display:flex;justify-content:flex-end;gap:10px}.image-modal{max-width:1250px}.image-modal>.field-help{padding:0 23px 20px;white-space:pre-wrap;overflow-wrap:anywhere}.image-modal>img{width:100%;max-height:75vh;object-fit:contain;background:#0c090f}.toast-region{position:fixed;right:25px;bottom:23px;display:grid;gap:9px;z-index:100;max-width:min(440px,calc(100vw - 40px))}.toast{background:#31253b;border:1px solid #644977;border-radius:9px;color:#decaeb;font-size:13px;padding:13px 19px;box-shadow:0 10px 30px #0005;animation:slide-in .2s ease;overflow-wrap:anywhere}.toast.error{border-color:#82505a;background:#3f262f;color:#f0bec2}@keyframes spin{to{transform:rotate(360deg)}}@keyframes slide-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1550px){.main-content{padding-top:45px}.studio-grid{grid-template-columns:390px minmax(0,1fr);gap:26px}.preview-column{gap:22px}.preview-panel .panel-heading{padding-top:21px;padding-bottom:20px}.myanmar-copy{font-size:29px}.poster-grid,.reference-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){.sidebar{width:205px;padding-left:14px;padding-right:14px}.brand{font-size:14px;gap:8px}.brand small{font-size:7px;letter-spacing:1.3px}.workspace-main{margin-left:205px;width:calc(100% - 205px)}.main-content{padding:30px 25px}.topbar{padding:0 25px}.app-footer{margin:0 25px}.studio-grid{grid-template-columns:310px minmax(0,1fr);gap:17px}.panel-heading{padding-left:17px;padding-right:17px}.production-panel form{padding-left:17px;padding-right:17px}.myanmar-copy{font-size:21px;padding-left:17px;padding-right:17px}.copy-panel>.field-help{padding-left:17px;padding-right:17px}.preview-empty h3{font-size:13px}.preview-empty p{font-size:10px}.empty-art{margin-bottom:16px;width:60px;height:43px}.canvas-spec{display:none}h1{font-size:27px}.settings-grid{grid-template-columns:1fr}.settings-grid>div{display:grid;grid-template-columns:1fr 1fr;gap:17px;align-items:start}.rules-panel{margin-top:0}.reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.sidebar{width:180px;padding-left:11px;padding-right:11px}.brand{font-size:12px;gap:7px}.brand-mark{width:29px;height:31px;font-size:18px;border-radius:8px}.brand small{font-size:6px}.workspace{font-size:11px;padding:9px 7px;gap:7px}.workspace small{font-size:8px}.workspace-avatar{width:23px;height:26px}.workspace-main{margin-left:180px;width:calc(100% - 180px)}.main-content{padding:25px 22px}.studio-grid{grid-template-columns:1fr}.preview-column{grid-row:1;grid-template-columns:minmax(0,1fr)}.copy-panel .myanmar-copy{font-size:22px;line-height:1.8}.preview-canvas{max-height:360px}.preview-empty{padding:40px}.preview-empty h3{font-size:16px}.preview-empty p{font-size:12px}.production-panel form{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.production-panel .form-section:first-child{grid-column:1}.production-panel .form-section:nth-child(2){grid-column:2;grid-row:1/3}.production-panel .form-section:nth-child(3){grid-column:1}.generation-actions{grid-column:1/-1}.poster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading{align-items:flex-start;flex-direction:column}.section-actions{width:100%;justify-content:flex-end}.section-actions .compact-select{margin-right:auto}.page-heading .muted{font-size:12px}.stats-grid{gap:10px}.stat-card{padding:16px}.stat-card strong{font-size:24px}.feedback-entry{grid-template-columns:110px 1fr;gap:14px}.settings-grid>div{grid-template-columns:1fr}.reference-toolbar{align-items:flex-start;flex-direction:column}.page-heading:has(.upload-label){align-items:flex-start;gap:15px}.upload-label{font-size:11px;padding:8px 10px;min-height:35px}}
@media(max-width:650px){.sidebar{position:sticky;top:0;width:100%;height:auto;flex-direction:row;align-items:center;padding:9px 14px;border-right:0;border-bottom:1px solid #302936;gap:8px}.app-shell{display:block}.brand{font-size:0;padding:0}.brand small{display:none}.brand-mark{font-size:18px;width:29px;height:29px}.workspace,.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;margin-left:auto;gap:3px}.nav-item{height:35px;padding:0 9px;font-size:11px;margin:0;gap:5px}.nav-item .icon{width:15px;height:15px}.nav-count{display:none}.workspace-main{margin:0;width:100%}.topbar{height:46px;padding:0 19px}.breadcrumb{font-size:10px}.avatar{width:24px;height:24px;font-size:10px}.edition{font-size:9px}.topbar-right{gap:9px}.main-content{padding:25px 17px}.page-heading{margin-bottom:23px}h1{font-size:23px}.eyebrow{font-size:8px;letter-spacing:1.5px}.page-heading .muted{font-size:11px}.preview-column{gap:14px}.preview-canvas{margin-left:12px;margin-right:12px}.preview-empty{padding:17px 8px}.preview-empty h3{font-size:13px}.preview-empty p{font-size:10px}.empty-art{margin-bottom:15px;width:52px;height:36px}.empty-art .icon{width:20px;height:20px}.panel-heading{padding:16px}.panel-heading h2{font-size:15px}.copy-panel .myanmar-copy{font-size:24px}.production-panel form{display:block}.generation-actions{margin-top:20px}.poster-grid,.reference-grid{gap:11px}.card-body{padding:10px}.card-title{font-size:11px}.card-meta{font-size:9px}.card-actions{align-items:flex-start}.card-actions .text-button,.tag{font-size:9px}.card-badge{top:6px;right:6px}.card-select{top:7px;left:7px}.card-select input{width:15px;height:15px}.section-heading h2{font-size:16px}.app-footer{margin:0 17px;font-size:8px}.app-footer span:first-child{font-size:8px;letter-spacing:1px}.page-heading:has(.upload-label){flex-direction:column}.reference-card .card-body{flex-wrap:wrap}.reference-select-button{margin-left:auto}.stats-grid{gap:8px}.stat-card{padding:13px 11px}.stat-card p{font-size:10px}.stat-card strong{font-size:22px}.feedback-entry{grid-template-columns:1fr}.feedback-entry img{max-width:180px}.feedback-entry .card-topline{flex-wrap:wrap}.feedback-entry time{font-size:9px}.settings-panel{padding:0 16px 20px}.settings-panel .form-row{grid-template-columns:1fr}.feedback-modal-grid{grid-template-columns:1fr}.feedback-modal-grid img{max-width:300px}.modal,.image-modal{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.modal-header{padding:19px}.feedback-modal-grid{padding:0 19px 20px}.modal-footer{padding:15px 19px}.modal-header h2{font-size:17px}.toast-region{right:15px;bottom:15px}.nav-item .icon{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
[hidden] { display: none !important; }
.typography-live-preview { margin-top: 14px; padding: 10px; border: 1px solid var(--border, #35333e); border-radius: 12px; background: #11111a; }
.typography-live-preview img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 7px; }
.typography-live-preview p { margin: 7px 0 0; }
.locked-copy-details { margin-top: 12px; font-size: 12px; color: var(--muted, #aaa7b8); }
.locked-copy-details summary { cursor: pointer; }
.model-picker > label, #native-image-model > label { display: block; margin-top: 12px; }
.model-picker select { width: 100%; }
.section-actions { flex-wrap: wrap; }
.creative-input-choice{display:flex;align-items:flex-start;gap:7px;margin-top:12px;font-size:11px;line-height:1.7;color:#bdb1ca;cursor:pointer}.creative-input-choice input{width:15px;height:15px;flex-shrink:0;margin:2px 0 0;accent-color:var(--accent)}
.studio-text-size{margin-top:17px}.studio-text-size .field-heading{align-items:center;gap:10px}.studio-text-size label{margin:0}.studio-text-size output{color:#c7adfb;margin-left:7px;font-variant-numeric:tabular-nums}.studio-text-size .text-button{font-size:11px}.studio-text-size input[type=range]{width:100%;height:24px;margin:7px 0 0;padding:0;accent-color:var(--accent);cursor:pointer}
