:root{color-scheme:light;--palette-snow-0:#fffefd;--palette-snow-50:#faf8f4;--palette-snow-100:#f3efe7;--palette-snow-200:#e5ded2;--palette-stone-400:#928879;--palette-stone-600:#706a60;--palette-ink-700:#4a4d45;--palette-ink-900:#30362f;--palette-maple-100:#f5e5db;--palette-maple-200:#e9c8b5;--palette-maple-600:#9f4930;--palette-maple-700:#8d412a;--palette-ochre-100:#f7edd7;--palette-ochre-600:#89631f;--palette-pine-100:#e8eee5;--palette-pine-600:#4b654f;--palette-frost-100:#e8eff1;--palette-frost-600:#4a6774;--palette-berry-100:#f8e7e3;--palette-berry-600:#a03d32;--color-background:var(--palette-snow-50);--color-surface:var(--palette-snow-0);--color-surface-soft:var(--palette-snow-100);--color-text:var(--palette-ink-900);--color-text-secondary:var(--palette-ink-700);--color-text-muted:var(--palette-stone-600);--color-border:var(--palette-snow-200);--color-border-strong:var(--palette-stone-400);--color-accent:var(--palette-maple-600);--color-accent-hover:var(--palette-maple-700);--color-accent-soft:var(--palette-maple-100);--color-accent-border:var(--palette-maple-200);--color-on-accent:var(--palette-snow-0);--color-focus:var(--palette-maple-700);--color-success:var(--palette-pine-600);--color-success-soft:var(--palette-pine-100);--color-warning:var(--palette-ochre-600);--color-warning-soft:var(--palette-ochre-100);--color-info:var(--palette-frost-600);--color-info-soft:var(--palette-frost-100);--color-danger:var(--palette-berry-600);--color-danger-soft:var(--palette-berry-100);--color-overlay:#30362f66;--color-pattern:#a7503412;--font-sans:Pretendard,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;--font-mono:"SFMono-Regular",Consolas,monospace;--text-xs:0.6875rem;--text-sm:0.8125rem;--text-md:0.9375rem;--text-lg:1.125rem;--text-xl:1.5rem;--text-title:clamp(1.75rem,2.6vw,2.375rem);--weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--leading-tight:1.3;--leading-body:1.65;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px;--space-16:64px;--radius-sm:6px;--radius-md:10px;--radius-lg:16px;--radius-xl:24px;--radius-pill:999px;--border-width:1px;--focus-width:2px;--control-height:42px;--control-height-sm:34px;--shadow-card:0 2px 3px #30362f03,0 8px 24px #30362f04;--shadow-raised:0 4px 12px #30362f06,0 16px 40px #30362f0a;--shadow-dialog:0 24px 90px #30362f26;--duration-fast:140ms;--duration-normal:220ms;--ease-standard:cubic-bezier(0.2,0,0,1);--opacity-disabled:0.5;--pattern-size:18px;--layout-max:1480px;--layout-gutter:clamp(20px,3.2vw,48px);--layout-sidebar:244px;--layout-sidebar-mobile:280px}*{box-sizing:border-box}:root{font-family:var(--font-sans);font-synthesis:none}body{margin:0;background:var(--color-background);color:var(--color-text);font-size:var(--text-md);line-height:var(--leading-body)}button,input,select,textarea{font:inherit}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;color:inherit}button:disabled{opacity:var(--opacity-disabled);cursor:not-allowed}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:var(--focus-width) solid var(--color-focus);outline-offset:var(--space-1)}a,button,input,select,textarea{transition:background-color var(--duration-fast) var(--ease-standard),border-color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard)}svg.icon{width:19px;height:19px;flex-shrink:0;vertical-align:middle}a svg,button svg{pointer-events:none}h1,h2,h3,p{margin:0}h1{font-size:var(--text-title);letter-spacing:-.045em;line-height:var(--leading-tight)}h1,h2{font-weight:var(--weight-semibold)}h2{font-size:var(--text-lg);letter-spacing:-.025em}h3{font-size:var(--text-md);font-weight:var(--weight-semibold)}[hidden]{display:none!important}.accent{color:var(--color-accent)}.muted{color:var(--color-text-muted)}.small{font-size:var(--text-sm)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.eyebrow{color:var(--color-accent);letter-spacing:.13em;font-weight:var(--weight-semibold)}.eyebrow,.eyebrow span{font-size:var(--text-xs)}.eyebrow span{margin-left:var(--space-5);letter-spacing:.06em}.eyebrow span,.subtitle{color:var(--color-text-muted)}.subtitle{font-size:var(--text-md);line-height:var(--leading-body);margin-top:var(--space-3)}.skip-link{position:fixed;left:var(--space-3);top:-80px;padding:var(--space-3);background:var(--color-accent);color:var(--color-on-accent);z-index:99;border-radius:var(--radius-sm)}.skip-link:focus{top:var(--space-3)}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition:none!important;animation:none!important}}[data-tone=maple]{--tone-color:var(--color-accent);--tone-surface:var(--color-accent-soft)}[data-tone=ochre]{--tone-color:var(--color-warning);--tone-surface:var(--color-warning-soft)}[data-tone=pine]{--tone-color:var(--color-success);--tone-surface:var(--color-success-soft)}[data-tone=frost]{--tone-color:var(--color-info);--tone-surface:var(--color-info-soft)}[data-tone=neutral]{--tone-color:var(--color-text-muted);--tone-surface:var(--color-surface-soft)}.button,.primary,.quiet-button,.secondary,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);white-space:nowrap;font-size:var(--text-sm);font-weight:var(--weight-medium);line-height:var(--leading-tight)}.primary,.secondary{min-height:var(--control-height);padding:var(--space-3) var(--space-5);border-radius:var(--radius-md);border:var(--border-width) solid transparent}.primary{background:var(--color-accent);color:var(--color-on-accent);box-shadow:var(--shadow-card);font-weight:var(--weight-semibold)}.primary:hover:not(:disabled){background:var(--color-accent-hover);box-shadow:var(--shadow-raised)}.secondary{background:var(--color-surface);color:var(--color-text);border-color:var(--color-border-strong)}.secondary:hover:not(:disabled){background:var(--color-surface-soft);border-color:var(--color-accent)}.quiet-button{min-height:var(--control-height-sm);padding:var(--space-2) var(--space-3);background:transparent;color:var(--color-text-muted);border-radius:var(--radius-sm);border:var(--border-width) solid transparent}.quiet-button.selected,.quiet-button:hover:not(:disabled){color:var(--color-accent);background:var(--color-accent-soft)}.text-button{font-size:var(--text-xs);padding:0;background:transparent;color:var(--color-accent)}.text-button .icon{width:14px;height:14px}.icon-button{display:inline-flex;justify-content:center;align-items:center;width:var(--control-height-sm);height:var(--control-height-sm);padding:0;background:var(--color-surface);border:var(--border-width) solid var(--color-border);border-radius:var(--radius-pill);color:var(--color-text-muted)}.icon-button:hover:not(:disabled){color:var(--color-accent);background:var(--color-accent-soft)}.icon-button span:empty{display:none}.add-row{display:flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:var(--control-height-sm);padding:var(--space-2);width:100%;background:transparent;border:var(--border-width) dashed var(--color-border-strong);border-radius:var(--radius-md);color:var(--color-text-muted);font-size:var(--text-sm)}.add-row:hover:not(:disabled){color:var(--color-accent);border-color:var(--color-accent);background:var(--color-accent-soft)}.add-row .icon{width:15px;height:15px}.badge{display:inline-flex;align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--tone-color,var(--color-text-muted));background:var(--tone-surface,var(--color-surface-soft));white-space:nowrap}.badge .icon{width:14px;height:14px}.counter,.tab-count{color:var(--color-accent);background:var(--color-accent-soft);font-size:var(--text-xs);font-weight:var(--weight-medium);padding:1px var(--space-2);border-radius:var(--radius-sm);font-variant-numeric:tabular-nums}.surface-card{background:var(--color-surface);border:var(--border-width) solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.action-card{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-6) var(--space-5);text-align:left;min-width:0;transition:border-color var(--duration-fast),box-shadow var(--duration-fast),transform var(--duration-fast)}.action-card:hover{border-color:var(--tone-color);box-shadow:var(--shadow-raised);transform:translateY(-2px)}.action-card-icon{display:flex;align-items:center;justify-content:center;width:var(--space-12);height:var(--space-12);flex-shrink:0;border-radius:var(--radius-md);background:var(--tone-surface);color:var(--tone-color)}.action-card-copy strong{display:block;font-size:var(--text-md);font-weight:var(--weight-semibold)}.action-card-copy small{display:block;margin-top:var(--space-1)}.action-card-copy small,.action-card-meta{color:var(--color-text-muted);font-size:var(--text-xs)}.action-card-meta{margin-left:auto;white-space:nowrap}.action-card>.icon{width:15px;height:15px;color:var(--tone-color);margin-left:auto}.seasonal-surface{background-color:var(--color-surface);background-image:radial-gradient(var(--color-pattern) .7px,transparent .9px);background-size:var(--pattern-size) var(--pattern-size)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-8);margin-bottom:var(--space-8)}.heading-copy{min-width:0}.page-heading .eyebrow{margin-bottom:var(--space-4)}.heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-6);flex-shrink:0}.season-mark{width:130px;height:76px;flex-shrink:0}.season-snow{color:var(--color-info);opacity:.65}.season-leaf{color:var(--color-accent-border)}.empty-state{padding:var(--space-12) var(--space-6);text-align:center;border:var(--border-width) dashed var(--color-border-strong);border-radius:var(--radius-lg)}.empty-symbol{display:inline-flex;align-items:center;justify-content:center;width:var(--space-16);height:var(--space-16);color:var(--color-accent);background:var(--color-accent-soft);border-radius:var(--radius-xl);margin-bottom:var(--space-5)}.empty-symbol .icon{width:var(--space-8);height:var(--space-8);stroke-width:1.2}.empty-state h2{margin-top:var(--space-2);font-size:var(--text-xl)}.empty-description{color:var(--color-text-muted);font-size:var(--text-sm);white-space:pre-line;line-height:1.85;max-width:530px;margin:var(--space-3) auto var(--space-6)}input,select,textarea{background:var(--color-surface);border:var(--border-width) solid var(--color-border-strong);color:var(--color-text);border-radius:var(--radius-md);padding:var(--space-3);min-height:var(--control-height)}input:hover,select:hover,textarea:hover{border-color:var(--color-text-muted)}input:focus-visible,select:focus-visible,textarea:focus-visible{border-color:var(--color-accent)}input::placeholder,textarea::placeholder{color:var(--color-text-muted);opacity:1;font-size:var(--text-sm)}textarea{resize:vertical;line-height:1.8}input[type=checkbox]{min-height:auto;accent-color:var(--color-accent)}.field{display:flex;flex-direction:column;gap:var(--space-2);color:var(--color-text-secondary);font-size:var(--text-sm)}.field>span{font-weight:var(--weight-medium)}.field input,.field select,.field textarea{width:100%}.form-error{color:var(--color-danger);padding:var(--space-3);background:var(--color-danger-soft)}#toast,.form-error{border-radius:var(--radius-md);font-size:var(--text-sm)}#toast{position:fixed;bottom:var(--space-6);left:50%;transform:translateX(-50%);background:var(--color-text);color:var(--color-surface);padding:var(--space-3) var(--space-6);box-shadow:var(--shadow-raised);z-index:100;max-width:90vw}@media (max-width:1100px){.action-card-meta,.season-mark{display:none}}@media (max-width:760px){.page-heading{align-items:flex-start;flex-direction:column;gap:var(--space-5)}.page-heading .eyebrow span{display:none}.heading-actions{width:100%;justify-content:flex-start}.empty-state{padding:var(--space-8) var(--space-5)}.action-card-meta{display:block}}@media (max-width:440px){.action-card{padding:var(--space-4);gap:var(--space-3)}.action-card-meta{display:none}}.brand{display:flex;align-items:center;gap:var(--space-3);font-size:var(--text-xl);font-weight:var(--weight-semibold)}.brand img{width:36px;height:36px}.local-badge{font-size:var(--text-sm);color:var(--color-text-secondary)}.local-badge i,.save-dot{width:6px;height:6px;background:var(--color-success);margin-right:var(--space-2)}.connection-dot,.local-badge i,.save-dot{border-radius:var(--radius-pill);display:inline-block}.connection-dot{width:5px;height:5px;background:var(--color-warning)}.connection-dot.online{background:var(--color-success)}.cuts-page,.page{max-width:var(--layout-max);padding:var(--space-10) var(--layout-gutter) var(--space-6);margin:auto}.workflow-strip{display:flex;align-items:stretch;border:var(--border-width) solid var(--color-border);border-radius:var(--radius-lg);margin-bottom:var(--space-8);overflow:hidden;background:var(--color-surface-soft)}.workflow-intro{width:180px;flex-shrink:0;padding:var(--space-5) var(--space-6);display:flex;flex-direction:column;gap:var(--space-2);border-right:var(--border-width) solid var(--color-border)}.workflow-intro .eyebrow{font-size:var(--text-xs);color:var(--color-text-muted)}.workflow-intro strong{font-size:var(--text-md);font-weight:var(--weight-semibold)}.workflow-strip button{flex:1;text-align:left;display:flex;align-items:center;gap:var(--space-4);padding:var(--space-5) var(--space-6);background:transparent;min-width:0}.workflow-strip button:hover{background:var(--color-accent-soft)}.step-number{font-family:var(--font-mono);font-size:var(--text-lg);color:var(--color-accent);letter-spacing:-.04em}.workflow-strip button>span:nth-child(2){font-size:var(--text-sm);white-space:nowrap}.workflow-strip small{font-size:var(--text-xs);display:block;color:var(--color-text-muted);margin-top:var(--space-1)}.workflow-strip .icon{color:var(--color-text-muted);margin-left:auto;width:16px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--space-4);gap:var(--space-4)}.format-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4);margin-bottom:var(--space-10)}.board-toolbar,.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);margin-bottom:var(--space-5)}.board-title,.filters{display:flex;align-items:center;gap:var(--space-3)}.filters select{width:125px;min-height:var(--control-height-sm);padding:var(--space-2);font-size:var(--text-sm)}.search-field{display:flex;align-items:center;border:var(--border-width) solid var(--color-border-strong);border-radius:var(--radius-md);padding-left:var(--space-3);background:var(--color-surface)}.search-field .icon{width:16px;color:var(--color-text-muted)}.search-field input{border:0;background:transparent;width:175px;padding:var(--space-2) var(--space-3);min-height:var(--control-height-sm);font-size:var(--text-sm)}.search-field:focus-within{outline:var(--focus-width) solid var(--color-focus);outline-offset:var(--space-1)}.search-field input:focus-visible{outline:0}.board-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-5)}.board-column{background:var(--color-surface-soft);border:var(--border-width) solid var(--color-border);border-radius:var(--radius-lg);min-height:245px;padding:0 var(--space-4) var(--space-4)}.column-heading{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-4) 0;border-bottom:var(--border-width) solid var(--color-border)}.column-heading h3{font-size:var(--text-sm)}.column-heading>span:last-child{margin-left:auto;font-size:var(--text-xs);color:var(--color-text-muted);font-family:var(--font-mono)}.stage-dot{width:7px;height:7px;border-radius:var(--radius-pill);background:var(--tone-color,var(--color-accent))}.column-content{display:grid;gap:var(--space-3);padding-top:var(--space-3)}.column-empty{display:flex;flex-direction:column;align-items:center;gap:var(--space-3);color:var(--color-text-muted);min-height:120px;justify-content:center;font-size:var(--text-sm);text-align:center}.column-empty .icon{width:var(--space-8);height:var(--space-8);stroke-width:1.1;color:var(--color-border-strong)}.production-card{padding:var(--space-4)}.card-top{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2)}.card-title{font-weight:var(--weight-semibold);font-size:var(--text-md);background:none;padding:var(--space-3) 0 var(--space-2);text-align:left;display:block;width:100%;overflow-wrap:anywhere}.card-title:hover{color:var(--color-accent)}.card-story{font-size:var(--text-sm);color:var(--color-text-muted);line-height:var(--leading-body);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}.cast-line{display:flex;margin-top:var(--space-5);color:var(--color-text-muted);gap:var(--space-1)}.avatar,.cast-line,.cast-line img{align-items:center;font-size:var(--text-xs)}.avatar,.cast-line img{width:var(--space-6);height:var(--space-6);object-fit:cover;display:inline-flex;justify-content:center;background:var(--color-success-soft);border-radius:var(--radius-pill);color:var(--color-success);flex-shrink:0}.cast-line span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:var(--space-1)}.card-footer{gap:var(--space-2);padding-top:var(--space-3);margin-top:var(--space-4)}.card-footer,.page-footer{display:flex;justify-content:space-between;border-top:var(--border-width) solid var(--color-border);font-size:var(--text-xs);color:var(--color-text-muted)}.page-footer{align-items:center;margin-top:var(--space-6);padding:var(--space-4) 0;gap:var(--space-4)}.page-footer a{display:flex;align-items:center;gap:var(--space-2)}.page-footer .icon{width:14px;height:14px}.character-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:var(--space-6)}.character-card{overflow:hidden}.character-image{width:100%;height:230px;background:var(--color-info-soft);padding:0}.character-image img{width:100%;height:100%;object-fit:contain}.character-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-4);height:100%;color:var(--color-info);font-size:var(--text-sm)}.character-placeholder .icon{width:var(--space-12);height:var(--space-12);stroke-width:1.1}.character-info{padding:var(--space-5)}.character-info>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:var(--space-2)}.character-name{background:transparent;font-weight:var(--weight-semibold);padding:0;text-align:left;font-size:var(--text-md)}.character-info p{font-size:var(--text-sm);color:var(--color-text-muted);margin:var(--space-3) 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.tag-list{display:flex;gap:var(--space-2);flex-wrap:wrap}.sheet-illustration{width:150px;height:125px;position:relative;margin:0 auto var(--space-6)}.sheet-back,.sheet-front{position:absolute;inset:5px 26px 0 16px;border:var(--border-width) solid var(--color-accent-border);background:var(--color-accent-soft);border-radius:var(--radius-md);transform:rotate(-10deg)}.sheet-front{transform:rotate(8deg);background:var(--color-surface);inset:5px 12px 0 30px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-2);color:var(--color-accent);box-shadow:var(--shadow-card)}.sheet-front .icon{width:var(--space-10);height:var(--space-10);stroke-width:1.2}.sheet-front span{font-size:8px;letter-spacing:.08em}.sheet-front i{width:55px;height:3px;background:var(--color-border)}.sheet-front i:last-child{width:33px}.tool-offline{margin:var(--space-10) var(--layout-gutter)}.page-loading{padding:var(--space-16) var(--space-5);text-align:center;color:var(--color-text-muted)}@media (max-width:1200px){.workflow-intro{width:155px}.workflow-strip button{padding:var(--space-4);gap:var(--space-3)}}@media (max-width:920px){.workflow-intro,.workflow-strip .icon{display:none}.board-grid{gap:var(--space-3)}.board-column{padding:0 var(--space-3) var(--space-3)}.search-field input{width:140px}.action-card,.format-grid{gap:var(--space-3)}.action-card{flex-wrap:wrap}.action-card>.icon{display:none}}@media (max-width:760px){.brand{font-size:21px}.brand img{width:var(--space-8);height:var(--space-8)}.local-badge{display:none}.cuts-page,.page{padding-top:var(--space-8)}.section-heading>.small{display:none}.board-grid,.format-grid{grid-template-columns:1fr}.format-grid{margin-bottom:var(--space-8)}.action-card{flex-wrap:nowrap}.action-card>.icon{display:block}.workflow-strip button{padding:var(--space-4) var(--space-3);gap:var(--space-2);flex-direction:column;align-items:flex-start}.workflow-strip small{display:none}.board-toolbar{flex-direction:column;align-items:stretch}.filters{gap:var(--space-2)}.filters select{width:112px}.search-field{flex:1;min-width:0}.search-field input{width:100%;min-width:0}.board-column{min-height:190px}.column-empty{min-height:100px}.page-footer{flex-direction:column;gap:var(--space-3)}.library-toolbar,.page-footer{align-items:flex-start}.library-toolbar>div{display:flex;flex-direction:column;align-items:flex-end}}dialog{background:var(--color-surface);color:var(--color-text);border:var(--border-width) solid var(--color-border);border-radius:var(--radius-xl);padding:var(--space-8);width:640px;max-width:min(640px,calc(100vw - 24px));max-height:90dvh;box-shadow:var(--shadow-dialog)}dialog::backdrop{background:var(--color-overlay);backdrop-filter:blur(5px)}.wide-dialog{width:900px;max-width:min(900px,calc(100vw - 24px))}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:var(--space-4);margin-bottom:var(--space-6)}.dialog-heading .eyebrow{font-size:var(--text-xs);margin-bottom:var(--space-2)}.dialog-heading h2{font-size:var(--text-xl)}.editor-form{display:grid;gap:var(--space-5)}.editor-form label{display:flex;flex-direction:column;gap:var(--space-2);font-size:var(--text-sm);color:var(--color-text-secondary)}.brief-text,.editor-form input,.editor-form select,.editor-form textarea{width:100%}.form-grid{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:var(--space-6)}.form-main{display:grid;gap:var(--space-5)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-3)}.form-side{border-left:var(--border-width) solid var(--color-border);padding-left:var(--space-6)}.form-side h3{margin-bottom:var(--space-2)}.cast-picker{display:flex;flex-direction:column;gap:var(--space-2);margin-top:var(--space-5)}.cast-option{flex-direction:row!important;align-items:center;background:var(--color-surface-soft);padding:var(--space-3);border:var(--border-width) solid transparent;border-radius:var(--radius-md);cursor:pointer}.cast-option:has(input:checked){background:var(--color-accent-soft);border-color:var(--color-accent-border)}.cast-option input{width:16px!important;margin:0}.cast-option img{width:var(--space-8);height:var(--space-8);object-fit:cover;border-radius:var(--radius-sm)}.cast-option small{display:block;font-size:var(--text-xs);color:var(--color-text-muted);max-width:125px;overflow:hidden;text-overflow:ellipsis}.small-empty{padding:var(--space-5) var(--space-1);color:var(--color-text-muted);font-size:var(--text-sm);line-height:1.85}.small-empty .icon{display:block;margin-bottom:var(--space-3)}.form-tip{margin-top:var(--space-6);padding:var(--space-4);background:var(--color-warning-soft);border:var(--border-width) solid var(--color-border);border-radius:var(--radius-md);font-size:var(--text-sm);color:var(--color-warning);line-height:1.85}.form-tip .icon{width:15px;margin-right:var(--space-1)}.form-footer{justify-content:space-between;padding-top:var(--space-5);margin-top:var(--space-2);border-top:var(--border-width) solid var(--color-border)}.form-footer,.upload-preview{display:flex;align-items:center;gap:var(--space-3)}.upload-preview{justify-content:center;flex-direction:column;height:170px;border:var(--border-width) dashed var(--color-border-strong);background:var(--color-info-soft);border-radius:var(--radius-lg);color:var(--color-info);font-size:var(--text-sm);text-align:center}.upload-preview img{width:100%;height:100%;object-fit:contain}.upload-preview .icon{width:var(--space-8);height:var(--space-8)}.upload-label input{padding:var(--space-3);font-size:var(--text-sm)}.brief-text{margin-top:var(--space-5);font-size:var(--text-sm)}.brief-assets{display:flex;gap:var(--space-3);flex-wrap:wrap;margin-top:var(--space-3);font-size:var(--text-sm);color:var(--color-accent)}.guide p{margin:var(--space-4) 0;line-height:1.85;color:var(--color-text-muted)}.guide b{color:var(--color-text)}@media (max-width:860px){.form-grid{grid-template-columns:1fr}.form-side{border-left:0;border-top:var(--border-width) solid var(--color-border);padding:var(--space-4) 0}.cast-picker{display:grid;grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){dialog{padding:var(--space-5);border-radius:var(--radius-lg)}.dialog-heading h2{font-size:var(--text-lg)}.form-footer{flex-wrap:wrap}.form-footer>div{display:flex;flex-wrap:wrap}.form-footer>div,.form-row{gap:var(--space-2)}}.ai-selector{display:flex;flex-direction:column;gap:var(--space-2);min-width:240px;padding:var(--space-4);border:var(--border-width) solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-card)}.ai-selector label{font-size:var(--text-xs);color:var(--color-text-muted)}.ai-selector select{font-size:var(--text-sm)}.ai-selector [role=status]{font-size:var(--text-xs);color:var(--color-success)}.ai-selector [data-ready=false]{color:var(--color-warning)}.cut-project-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:var(--space-4);border-top:var(--border-width) solid var(--color-border);padding-top:var(--space-5);margin-bottom:var(--space-5)}.cut-project-toolbar label{display:flex;flex-direction:column;font-size:var(--text-sm);gap:var(--space-2);color:var(--color-text-muted);max-width:50%;flex:1}.cut-project-toolbar select{max-width:440px;font-size:var(--text-sm)}.cut-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:var(--space-6)}.cut-workspace{min-width:0}.cut-preview{display:grid;grid-template-columns:42% 1fr;min-height:290px;background:var(--color-surface);border:var(--border-width) solid var(--color-border);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-card)}.preview-visual{position:relative;background:var(--color-info-soft);min-height:280px}.preview-visual img{width:100%;height:100%;max-height:350px;object-fit:contain}.preview-index{position:absolute;left:var(--space-3);bottom:var(--space-3);background:var(--color-surface);padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);font-size:var(--text-xs);letter-spacing:.04em;color:var(--color-info);box-shadow:var(--shadow-card)}.preview-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-3);color:var(--color-info);font-size:var(--text-sm);grid-column:1/-1;min-height:280px;background:var(--color-info-soft);text-align:center;padding:var(--space-5)}.preview-placeholder .icon{width:var(--space-10);height:var(--space-10);stroke-width:1.1}.preview-copy{padding:var(--space-8) var(--space-6);align-self:center}.preview-copy h2{font-size:var(--text-xl);margin:var(--space-3) 0}.preview-copy>p:not(.eyebrow){font-size:var(--text-sm);color:var(--color-text-secondary);line-height:1.85;white-space:pre-wrap}.preview-copy small{display:block;color:var(--color-text-muted);font-size:var(--text-xs);line-height:1.85;margin:var(--space-3) 0}.preview-copy button{padding-left:0;color:var(--color-accent);font-size:var(--text-sm)}.cut-actions{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);margin:var(--space-4) 0}.cut-actions>span{font-size:var(--text-xs);color:var(--color-text-muted);white-space:nowrap}.cut-actions button{font-size:var(--text-xs);padding:var(--space-2)}.cut-note{color:var(--color-text-muted);font-size:var(--text-xs);margin-top:var(--space-4);line-height:1.85}.timeline{display:flex;gap:var(--space-3);overflow-x:auto;padding-bottom:var(--space-3);margin-bottom:var(--space-2)}.timeline-cut{flex:0 0 145px;background:var(--color-surface);border:var(--border-width) solid var(--color-border-strong);border-radius:var(--radius-md);padding:var(--space-3);text-align:left;height:88px;overflow:hidden}.timeline-cut.active{border-color:var(--color-accent);background:var(--color-accent-soft);box-shadow:inset 0 2px 0 var(--color-accent)}.timeline-cut>span{font-size:var(--text-xs);color:var(--color-accent);display:flex;justify-content:space-between;font-family:var(--font-mono)}.timeline-cut small{color:var(--color-text-muted)}.timeline-cut strong{font-size:var(--text-sm);font-weight:var(--weight-medium);margin-top:var(--space-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.chat-panel{display:flex;flex-direction:column;border:var(--border-width) solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);min-height:510px;max-height:650px;overflow:hidden;box-shadow:var(--shadow-card)}.chat-heading{padding:var(--space-4);display:flex;gap:var(--space-2);align-items:center;font-size:var(--text-sm);border-bottom:var(--border-width) solid var(--color-border)}.chat-heading .icon{color:var(--color-accent);width:17px}.chat-heading>span{font-size:var(--text-xs);letter-spacing:.08em;color:var(--color-text-muted);margin-left:auto}.chat-history{flex:1;min-height:180px;overflow-y:auto;padding:var(--space-5);display:flex;flex-direction:column;gap:var(--space-4)}.chat-welcome{padding:var(--space-8) var(--space-1);color:var(--color-text-muted)}.chat-welcome>.icon{width:var(--space-8);height:var(--space-8);color:var(--color-accent)}.chat-welcome h3{margin:var(--space-4) 0 var(--space-3);color:var(--color-text)}.chat-message,.chat-welcome p{font-size:var(--text-sm);line-height:1.85}.chat-message>span{font-size:var(--text-xs);color:var(--color-accent)}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:var(--space-1)}.chat-message.user{background:var(--color-accent-soft);padding:var(--space-3);border-radius:var(--radius-md);margin-left:var(--space-4)}.chat-pending{font-size:var(--text-sm);color:var(--color-accent)}#cut-chat-form{padding:var(--space-4);border-top:var(--border-width) solid var(--color-border);background:var(--color-background)}#cut-chat-form textarea{width:100%;font-size:var(--text-sm)}#cut-chat-form>div{display:flex;justify-content:space-between;align-items:center;gap:var(--space-2);margin-top:var(--space-3)}#cut-chat-form span{font-size:var(--text-xs);color:var(--color-text-muted)}#cut-chat-form .primary{font-size:var(--text-sm);min-height:var(--control-height-sm);padding:var(--space-2) var(--space-3)}#cut-chat-form .primary span{color:inherit;font-size:inherit}#render-output{font-size:var(--text-sm);color:var(--color-text-muted);margin-bottom:var(--space-4)}#render-output p{margin-bottom:var(--space-3)}#render-output video{display:block;max-width:100%;max-height:350px;margin-top:var(--space-4);border-radius:var(--radius-lg)}@media(max-width:1100px){.cut-editor-grid{grid-template-columns:minmax(0,1fr) 300px}.cut-actions{align-items:flex-start;flex-direction:column}.preview-copy{padding:var(--space-5) var(--space-4)}}@media(max-width:780px){.cut-editor-grid{grid-template-columns:1fr}.chat-panel{max-height:550px}.cut-project-toolbar{flex-direction:column;align-items:stretch}.cut-project-toolbar label{max-width:100%}.cut-actions{flex-direction:row;flex-wrap:wrap}.ai-selector{width:100%}}@media(max-width:600px){.cut-preview{grid-template-columns:1fr}.preview-visual{min-height:160px}.preview-visual,.preview-visual img{max-height:220px}.preview-copy{padding:var(--space-5)}.preview-placeholder{min-height:180px}.cut-project-toolbar>div{display:flex;gap:var(--space-2);flex-wrap:wrap}.cut-project-toolbar .quiet-button,.cut-project-toolbar .secondary{font-size:var(--text-xs)}}body{min-height:100dvh}#sidebar,body{display:flex;flex-direction:column}#sidebar{position:fixed;inset:0 auto 0 0;width:var(--layout-sidebar);padding:var(--space-6) var(--space-4);background:var(--color-surface);border-right:var(--border-width) solid var(--color-border);z-index:20;overflow-y:auto}#sidebar .brand{font-size:21px;gap:var(--space-2)}#sidebar .brand img{width:30px;height:30px}.sidebar-caption{font-size:9px;letter-spacing:.13em;margin:var(--space-3) var(--space-2) var(--space-10)}.nav-label,.sidebar-caption{color:var(--color-text-muted)}.nav-label{font-size:var(--text-xs);letter-spacing:.12em;padding:0 var(--space-3) var(--space-3)}.side-nav{display:grid;gap:var(--space-2)}.side-nav a{display:flex;align-items:center;gap:var(--space-3);min-height:46px;padding:var(--space-3);border-radius:var(--radius-md);color:var(--color-text-secondary);font-size:var(--text-sm)}.side-nav a:hover{background:var(--color-surface-soft);color:var(--color-accent)}.side-nav a[aria-current=page]{background:var(--color-accent-soft);color:var(--color-accent);font-weight:var(--weight-semibold)}.side-nav .connection-dot,.side-nav .tab-count{margin-left:auto}.nav-divider{height:1px;background:var(--color-border);margin:var(--space-5) var(--space-3)}.sidebar-note{margin-top:auto;padding:var(--space-6) var(--space-4);border:var(--border-width) solid var(--color-border);border-radius:var(--radius-lg);color:var(--color-accent)}.sidebar-note p{padding:var(--space-4) 0;font-size:var(--text-lg);letter-spacing:-.03em}.sidebar-note .eyebrow{font-size:9px}.sidebar-footer{display:flex;align-items:center;justify-content:space-between;padding-top:var(--space-5)}#sidebar .local-badge{display:inline}#workspace{margin-left:var(--layout-sidebar);flex:1}#workspace,.workspace-panel{min-width:0}.mobile-bar,.nav-backdrop{display:none}.studio-page{max-width:var(--layout-max);margin:auto;padding:var(--space-10) var(--layout-gutter)}.studio-page .page-heading{margin-bottom:var(--space-8)}.studio-page .heading-copy{min-width:0}.studio-page h1{word-break:keep-all;overflow-wrap:break-word}.studio-page .subtitle{max-width:620px}.subnav{display:flex;gap:var(--space-2);flex-wrap:wrap;margin-bottom:var(--space-6)}.subnav button{padding:var(--space-2) var(--space-4);border-radius:var(--radius-pill);background:var(--color-surface);color:var(--color-text-muted);border:var(--border-width) solid var(--color-border);font-size:var(--text-sm)}.subnav button[aria-pressed=true]{background:var(--color-accent-soft);color:var(--color-accent);border-color:var(--color-accent-border);font-weight:var(--weight-semibold)}.studio-toolbar{display:flex;gap:var(--space-3);align-items:end;flex-wrap:wrap;margin-bottom:var(--space-6)}.studio-toolbar .field{flex:1;min-width:110px;margin:0}.studio-toolbar .search-grow{flex:2}.studio-toolbar input,.studio-toolbar select{width:100%}.studio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-5)}.insight-card{display:flex;flex-direction:column;overflow:hidden;min-width:0}.insight-card .insight-image{width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--color-surface-soft)}.insight-body{padding:var(--space-5);display:flex;flex-direction:column;flex:1;gap:var(--space-3)}.insight-body h2{font-size:var(--text-md);line-height:var(--leading-body);overflow-wrap:anywhere}.insight-meta{display:flex;gap:var(--space-2);align-items:center;flex-wrap:wrap;font-size:var(--text-xs);color:var(--color-text-muted)}.insight-description{font-size:var(--text-sm);color:var(--color-text-secondary);white-space:pre-line;overflow-wrap:anywhere}.insight-evidence{display:grid;gap:var(--space-2);font-size:var(--text-xs)}.insight-evidence a{color:var(--color-info);text-decoration:underline;text-underline-offset:3px}.insight-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);margin-top:auto;padding-top:var(--space-4);border-top:var(--border-width) solid var(--color-border)}.insight-actions .button,.insight-actions a{font-size:var(--text-xs)}.status-line{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);color:var(--color-text-muted)}.notice,.status-line{margin-bottom:var(--space-5);font-size:var(--text-sm)}.notice{background:var(--color-surface-soft);border:var(--border-width) solid var(--color-border);border-radius:var(--radius-md);padding:var(--space-4);white-space:pre-line;overflow-wrap:anywhere}.notice[data-tone=warning]{background:var(--color-warning-soft);color:var(--color-warning)}.accounts-bar{border:var(--border-width) solid var(--color-border);border-radius:var(--radius-md);padding:var(--space-4);margin-bottom:var(--space-6)}.accounts-bar summary{cursor:pointer;font-size:var(--text-sm)}.account-tags{display:flex;flex-wrap:wrap;gap:var(--space-2);margin:var(--space-3) 0}.account-tags button{background:var(--color-surface-soft);padding:var(--space-2) var(--space-3);border-radius:var(--radius-pill);font-size:var(--text-xs)}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-6)}.settings-card{padding:var(--space-6);min-width:0}.settings-card h2{margin-bottom:var(--space-2)}.settings-card .provider-heading{display:flex;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-5)}.settings-card .provider-account{color:var(--color-text-secondary);font-size:var(--text-sm);overflow-wrap:anywhere;min-height:54px;margin-bottom:var(--space-5)}.settings-card .login-code{display:block;font-family:var(--font-mono);letter-spacing:.18em;font-size:var(--text-xl);background:var(--color-surface-soft);border-radius:var(--radius-md);padding:var(--space-4);text-align:center;margin:var(--space-4) 0;user-select:all}.login-actions{display:flex;flex-wrap:wrap;gap:var(--space-2)}.settings-preference{margin-top:var(--space-6)}.google-settings>p,.google-setup p{margin-bottom:var(--space-4)}.google-settings .provider-heading{align-items:flex-start}.google-settings .login-actions{margin-top:var(--space-5)}.google-setup{margin-top:var(--space-6);padding-top:var(--space-4);border-top:1px solid var(--color-border)}.google-setup summary{cursor:pointer;margin-bottom:var(--space-4)}.google-settings .google-setup .field{max-width:100%;display:grid;gap:var(--space-2);font-size:var(--text-sm)}.google-setup input{width:100%;min-width:0;font-family:var(--font-mono);font-size:var(--text-xs)}.google-channel{padding:var(--space-4) 0;border-bottom:1px solid var(--color-border)}.google-channel a{color:var(--color-accent);overflow-wrap:anywhere}.google-statistics{display:flex;flex-wrap:wrap;gap:var(--space-5);margin-top:var(--space-4)}.google-statistics dt{color:var(--color-text-muted);font-size:var(--text-xs)}.google-statistics dd{margin:var(--space-2) 0 0;font-size:var(--text-md)}.settings-preference .field{max-width:400px;margin:var(--space-4) 0}.media-layout{display:grid;grid-template-columns:minmax(290px,380px) minmax(0,1fr);gap:var(--space-6);align-items:start}.media-composer{padding:var(--space-6)}.media-composer .field{display:flex;flex-direction:column;gap:var(--space-2);margin-bottom:var(--space-4);font-size:var(--text-sm)}.media-composer .field input,.media-composer .field select,.media-composer .field textarea{width:100%}.media-composer .form-row{gap:var(--space-3)}.media-composer .form-row>*{min-width:0}.media-composer>.button{width:100%;margin-top:var(--space-3)}.reference-picker{padding:var(--space-4);border:var(--border-width) dashed var(--color-border-strong);border-radius:var(--radius-md);font-size:var(--text-sm);margin:var(--space-4) 0}.reference-picker input{max-width:100%;font-size:var(--text-xs);margin-top:var(--space-2)}.reference-list{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-3)}.reference-list figure{margin:0;position:relative}.reference-list img{width:56px;height:56px;border-radius:var(--radius-sm);object-fit:cover}.reference-list button{position:absolute;right:0;top:0;border-radius:var(--radius-pill);width:22px;height:22px;background:var(--color-surface)}.media-results{display:grid;gap:var(--space-5);min-width:0}.job-card{padding:var(--space-5)}.job-card .insight-actions{margin-top:var(--space-4)}.job-card progress{width:100%;accent-color:var(--color-accent);margin:var(--space-4) 0}.result-assets{display:grid;gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-top:var(--space-4)}.result-assets img,.result-assets video{width:100%;max-height:500px;object-fit:contain;border-radius:var(--radius-md);background:var(--color-surface-soft)}.result-assets figure{margin:0;min-width:0}.history-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.history-grid img,.history-grid video{width:100%;aspect-ratio:1;object-fit:contain;background:var(--color-surface-soft)}@media (max-width:1200px){.studio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.media-layout{grid-template-columns:minmax(260px,320px) minmax(0,1fr)}.workflow-strip small{display:none}}@media (max-width:1000px){.board-grid,.format-grid,.media-layout,.settings-grid{grid-template-columns:1fr}.workflow-intro{display:none}.board-toolbar{flex-direction:column;align-items:stretch}}@media (max-width:760px){#sidebar{transform:translateX(-100%);transition:transform var(--duration-normal) var(--ease-standard);width:min(var(--layout-sidebar-mobile),85vw)}.menu-open #sidebar{transform:translateX(0)}.menu-open{overflow:hidden}.mobile-bar{display:flex;position:sticky;top:0;z-index:15;align-items:center;justify-content:space-between;padding:var(--space-3) var(--space-5);background:var(--color-surface);border-bottom:var(--border-width) solid var(--color-border)}.mobile-bar .brand{font-size:var(--text-lg)}.mobile-bar .brand img{width:28px;height:28px}.nav-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:19;background:var(--color-overlay)}#workspace{margin-left:0}.studio-page{padding:var(--space-8) var(--layout-gutter)}.history-grid,.studio-grid{grid-template-columns:1fr}.studio-toolbar .field{min-width:120px}.studio-toolbar .search-grow{flex-basis:100%}.sidebar-note{margin-top:var(--space-8)}.status-line{align-items:flex-start;flex-direction:column}}.tool-workspace-panel{height:100dvh;overflow:hidden}.tool-workspace-frame{display:block;width:100%;height:100%;border:0;background:var(--color-background)}.model-role{padding:var(--space-5) 0;border-bottom:1px solid var(--color-border);display:grid;gap:var(--space-4);grid-template-columns:minmax(150px,1fr) 1fr 1.4fr auto;align-items:end}.model-role:last-child{border-bottom:0}.model-role .field{min-width:0}.model-role .field select{width:100%}@media (max-width:760px){.tool-workspace-panel{height:calc(100dvh - 65px)}.model-role{grid-template-columns:1fr 1fr}.model-role>div{grid-column:1/-1}}dialog:has(.character-studio){width:1100px;max-width:min(1100px,calc(100vw - 24px))}.character-studio{min-width:0}.character-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-5);margin:var(--space-6) 0}.character-choice{display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-8);text-align:left;border:1px solid var(--color-border)}.character-choice:hover{border-color:var(--color-accent-border);background:var(--color-accent-soft)}.character-choice>.icon{width:30px;height:30px;color:var(--color-accent)}.character-choice strong{font-size:var(--text-md)}.character-choice span{font-size:var(--text-sm);line-height:1.7;color:var(--color-text-muted)}.character-progress{display:flex;flex-wrap:wrap;gap:var(--space-3) var(--space-6);margin-bottom:var(--space-6);padding-bottom:var(--space-4);border-bottom:1px solid var(--color-border);font-size:var(--text-xs);color:var(--color-text-muted)}.character-studio-grid{display:grid;grid-template-columns:minmax(0,310px) minmax(0,1fr);gap:var(--space-8);align-items:start}.character-config{gap:var(--space-4)}.character-config,.character-conversation{min-width:0}.character-actions,.character-section-heading{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.character-section-heading{justify-content:space-between}.character-studio h3{font-size:var(--text-md)}.character-studio .quiet-button{font-size:var(--text-xs)}.character-studio .upload-preview{height:160px}.character-template-preview{font-size:var(--text-xs);color:var(--color-text-muted)}.character-template-preview summary{cursor:pointer}.character-template-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:250px;overflow-y:auto;padding:var(--space-3);background:var(--color-surface-soft);margin-top:var(--space-2);font-family:inherit;line-height:1.7}.character-conversation{display:grid;gap:var(--space-4)}.character-chat{display:grid;gap:var(--space-3);align-content:start;max-height:280px;min-height:140px;overflow-y:auto;padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface-soft)}.character-message{padding:var(--space-3);font-size:var(--text-sm);line-height:1.8;border-radius:var(--radius-md);overflow-wrap:anywhere}.character-message strong{color:var(--color-accent);font-size:var(--text-xs)}.character-message p{margin:var(--space-1) 0 0;white-space:pre-wrap}.character-message[data-role=user]{background:var(--color-surface);border:1px solid var(--color-border)}.character-chat-form{gap:var(--space-3)}.character-summary{padding:var(--space-5);border:1px solid var(--color-accent-border);background:var(--color-accent-soft);border-radius:var(--radius-lg)}.character-summary>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--text-sm);line-height:1.8;margin:var(--space-3) 0}.character-summary>strong{display:block;font-size:var(--text-sm);margin-bottom:var(--space-4)}.character-generation,.character-sheet-result{margin-top:var(--space-4)}.character-generation strong{overflow-wrap:anywhere}.character-generation .character-actions{margin-top:var(--space-3)}.character-sheet-result img{display:block;width:100%;height:auto;max-height:360px;object-fit:contain;margin:var(--space-3) 0;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-soft)}.character-sheet-result .character-actions{margin-top:var(--space-3)}.character-template-editor{margin-top:var(--space-6);padding:var(--space-6);border:1px solid var(--color-border-strong);border-radius:var(--radius-lg);background:var(--color-surface-soft)}.character-models{line-height:1.7;overflow-wrap:anywhere}.character-models a{color:var(--color-accent)}@media(max-width:800px){.character-studio-grid{grid-template-columns:1fr;gap:var(--space-6)}.character-config{border-bottom:1px solid var(--color-border);padding-bottom:var(--space-5)}.character-choices{grid-template-columns:1fr}.character-choice{padding:var(--space-5)}.character-template-editor{padding:var(--space-4)}}.story-flow{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px;color:var(--color-text-muted);font-size:13px}.story-flow span{padding:10px 16px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface)}.story-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}.story-library{padding:20px;position:sticky;top:24px}.story-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}.story-section-heading h2{margin:0;font-size:21px}.story-library h2{font-size:16px}.story-library .button{padding:6px 10px;font-size:12px}.story-list-item{width:100%;display:grid;text-align:left;gap:8px;padding:16px 10px;border:0;border-bottom:1px solid var(--color-border);background:transparent;border-radius:8px}.story-list-item small{color:var(--color-text-muted);line-height:1.6}.story-list-item.selected,.story-list-item:hover{background:var(--color-surface-soft)}#story-memory,#story-nodes,.story-episode,.story-overall,.story-summary{padding:24px;margin-bottom:20px;min-width:0;overflow-wrap:anywhere}.story-summary>p{white-space:pre-wrap;line-height:1.8}.story-actions,.story-stats{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.story-episode summary,.story-overall summary{display:flex;align-items:center;gap:12px;cursor:pointer;flex-wrap:wrap;list-style:none}.story-episode summary:after,.story-overall summary:after{content:"⌄";margin-left:auto;color:var(--color-text-muted)}.story-episode-number{font-size:24px;color:var(--color-accent);font-weight:500}.story-episode-body{margin-top:24px}.story-length-fields{display:flex;gap:16px;align-items:end;margin:20px 0;flex-wrap:wrap}.story-length-fields>.field{flex:1;min-width:130px;margin:0}.story-length{font-size:13px;color:var(--color-accent)}.story-length.valid{color:var(--color-success)}.story-job{display:flex;gap:16px;align-items:center;justify-content:space-between;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);padding:16px 20px;margin-bottom:12px}.story-job p{margin:6px 0;font-size:13px}.story-job .story-actions{margin:0}#story-jobs:empty{display:none}.story-node-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}.story-node{padding:20px;border:1px solid var(--color-border);border-radius:12px}.story-node p{font-size:13px;line-height:1.8;white-space:pre-wrap}.story-node img,.story-node video{width:100%;max-height:300px;object-fit:contain;margin-bottom:16px;border-radius:8px}#story-dialog{width:min(760px,calc(100vw - 32px));max-height:90dvh;padding:28px}#story-dialog .dialog-heading{margin-bottom:20px}.story-check{display:flex;align-items:center;gap:10px;margin:16px 0;font-size:14px}.story-check input{width:18px;height:18px}.story-template-reply{padding:16px;margin:16px 0;border-radius:12px;background:var(--color-surface-soft);white-space:pre-wrap;line-height:1.8}#video-style-save{margin-top:24px;padding-top:24px;border-top:1px solid var(--color-border)}.scenario-page blockquote{margin:14px 0;padding:12px 16px;border-left:3px solid var(--color-accent-border);background:var(--color-surface-soft);border-radius:0 8px 8px 0;font-size:14px;line-height:1.7}.scenario-page blockquote p{margin:6px 0}.scenario-page blockquote small{color:var(--color-text-muted)}.scenario-page .field{margin:16px 0}.scenario-page textarea{resize:vertical;line-height:1.8;min-width:0;width:100%}@media(max-width:1050px){.story-layout{grid-template-columns:minmax(0,1fr)}.story-library{position:static}#story-list{display:flex;overflow-x:auto;gap:10px}.story-list-item{min-width:220px}.story-job{align-items:start;flex-direction:column}}@media(max-width:600px){.story-node-grid{grid-template-columns:minmax(0,1fr)}#story-memory,#story-nodes,.story-episode,.story-overall,.story-summary{padding:18px}.story-length-fields{gap:10px}#story-dialog{padding:20px}.story-flow{gap:8px}.story-flow span{font-size:11px;padding:8px 10px}}.auth-locked>#sidebar,.auth-locked>#workspace,.auth-locked>.mobile-bar,.auth-locked>.nav-backdrop,.auth-locked>.skip-link{display:none}.auth-screen{flex:1;width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,480px);gap:80px;align-items:center;max-width:1180px;padding:64px 48px;margin:auto}.auth-intro .brand{margin-bottom:80px}.auth-intro h1{font-size:clamp(32px,4vw,54px);line-height:1.35;letter-spacing:-2px;margin:24px 0}.auth-intro>p:not(.eyebrow){line-height:1.9;color:var(--color-text-muted);font-size:16px}.auth-features{display:flex;flex-wrap:wrap;gap:12px;margin-top:40px;color:var(--color-accent);font-size:12px}.auth-features span{padding:10px 12px;border-radius:20px;background:var(--color-accent-soft)}.auth-card{padding:36px}.auth-card h2{font-size:26px;margin:16px 0}.auth-card .muted{font-size:14px;line-height:1.7}.auth-card .field{margin:20px 0}.auth-card form>.button{width:100%;margin-top:8px;justify-content:center}.auth-error{font-size:13px;color:var(--color-danger);min-height:18px}.auth-switch{font-size:13px;text-align:center;margin:24px 0 0}.auth-switch .text-button{color:var(--color-accent)}.sidebar-footer{flex-wrap:wrap}.oauth-consent{max-width:680px;padding:36px;margin:32px auto;overflow-wrap:anywhere}.oauth-consent h1{margin:20px 0}.oauth-consent p,.oauth-consent ul{margin:20px 0;line-height:1.8}@media(max-width:850px){.auth-screen{grid-template-columns:1fr;gap:28px;max-width:540px;padding:32px 20px}.auth-intro .brand{margin-bottom:32px}.auth-intro h1{font-size:30px}.auth-features,.auth-intro>p:not(.eyebrow){display:none}.auth-card{padding:24px}}:root{color-scheme:dark;--color-background:#080808;--color-surface:#101010;--color-surface-soft:#191919;--color-text:#f3f3ef;--color-text-secondary:#d3d3cf;--color-text-muted:#a0a09b;--color-border:#2c2c2c;--color-border-strong:#5a5a56;--color-accent:#f3f3ef;--color-accent-hover:#d9d9d2;--color-accent-soft:#252525;--color-accent-border:#777772;--color-on-accent:#080808;--color-focus:#ffffff;--color-success:#a8c8b0;--color-success-soft:#19251d;--color-warning:#ddc38e;--color-warning-soft:#2c2519;--color-info:#afc6d9;--color-info-soft:#1b252d;--color-danger:#e8a8a1;--color-danger-soft:#301d1c;--color-overlay:#000000b3;--color-pattern:#ffffff0a;--radius-sm:2px;--radius-md:3px;--radius-lg:4px;--radius-xl:4px;--shadow-card:none;--shadow-raised:0 8px 24px #00000033;--shadow-dialog:0 24px 90px #00000099}::selection{background:#e8e8e5;color:#080808}.eyebrow,.nav-label,.sidebar-caption{font-family:var(--font-mono)}.brand{letter-spacing:-.055em;font-weight:700}#sidebar{background:#0c0c0c}.side-nav{gap:5px}.side-nav a{border:1px solid transparent}.side-nav a[aria-current=page]{border-color:#41413e;background:#202020}.side-nav a[aria-current=page] .icon{color:#fff}.sidebar-note{background-image:none;border:0;border-top:1px solid var(--color-border);border-radius:0;padding:24px 8px 12px}.sidebar-note p{font-size:20px;line-height:1.5;font-weight:500}.sidebar-note .icon{width:20px;height:20px;color:var(--color-text-muted)}.sidebar-footer{gap:12px;border-top:1px solid var(--color-border);margin-top:16px}.page-heading{padding-bottom:28px;border-bottom:1px solid var(--color-border)}.page-heading h1{font-weight:500;letter-spacing:-.055em}.page-heading .eyebrow{font-size:10px;letter-spacing:.12em}.vector-mark{width:130px;height:76px;color:#999994;flex-shrink:0}.workflow-strip{background:var(--color-surface)}.workflow-strip button+button{border-left:1px solid var(--color-border)}.action-card{--tone-color:var(--color-text);--tone-surface:var(--color-surface-soft)}.action-card-icon{border:1px solid var(--color-border)}.action-card:hover{transform:none;border-color:var(--color-border-strong)}.board-column{background:#0e0e0e}.seasonal-surface{background-image:none}.empty-symbol{border:1px solid var(--color-border);background:transparent}.character-image,.preview-visual{background:var(--color-surface-soft)}.character-placeholder{color:var(--color-text-muted)}.avatar,.cast-line img,.form-tip,.preview-index,.preview-placeholder,.upload-preview{background:var(--color-surface-soft);color:var(--color-text-secondary)}.character-card .badge{--tone-color:var(--color-text-secondary);--tone-surface:var(--color-surface-soft)}.story-flow span,.story-job,.story-list-item,.story-node{border-radius:3px}.settings-card .provider-heading{align-items:flex-start}.account-tags button,.icon-button,.subnav button{border-radius:3px}.auth-screen{max-width:1260px;gap:clamp(40px,6vw,96px)}.auth-intro .brand{margin-bottom:48px}.auth-intro h1{font-weight:500;font-size:clamp(32px,3.5vw,48px)}.auth-intro .eyebrow{font-size:10px;letter-spacing:.14em}.auth-features{gap:8px;margin-top:16px}.auth-features span{background:none;padding:7px 9px;border:1px solid var(--color-border);border-radius:2px;font-size:11px;color:var(--color-text-muted)}.auth-card{border-top-color:#777772}.auth-card .eyebrow{font-size:10px;letter-spacing:.13em}.auth-card h2{font-weight:500;letter-spacing:-.04em}.auth-card input{background:#0c0c0c}html .snowfall-trends :is(button,input,select,.pill,.countries,.periods,.trendcard,.card,.home-section,.home-row,.home-row-thumb,.saved-card,.modelcard,.newsitem,.an-card,.date-card,.postcard,.empty-state){border-radius:3px}html .snowfall-trends .header{border-bottom-color:var(--color-border)}@media (max-width:1100px){.vector-mark{display:none}}@media (max-width:1000px){.page-heading{align-items:flex-start;flex-direction:column;gap:20px}.heading-actions{width:100%;justify-content:flex-start;flex-wrap:wrap;gap:12px}}@media (max-width:850px){.auth-screen{max-width:540px;gap:28px}.auth-intro .brand{margin-bottom:28px}.auth-intro h1{margin:18px 0;font-size:30px}}@media (max-width:760px){.page-heading{padding-bottom:22px}.sidebar-note{margin-top:32px}}.wordmark-block{margin-top:10px}.vector-wordmark{position:relative;isolation:isolate;overflow:hidden;width:100%;height:clamp(130px,13vw,185px);container-type:inline-size}.vector-wordmark canvas{position:absolute;inset:0;display:block;width:100%;height:100%;opacity:0}.wordmark-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:14cqw;white-space:nowrap;letter-spacing:-.055em;line-height:1;color:#e8e8e5}.vector-wordmark[data-ready=true] canvas{opacity:1}.vector-wordmark[data-ready=true] .wordmark-fallback{visibility:hidden}.wordmark-coordinate{position:absolute;top:0;left:0;visibility:hidden;font-family:var(--font-mono);font-size:9px;letter-spacing:.08em;color:#999;pointer-events:none}.vector-wordmark[data-ready=true] .wordmark-coordinate{visibility:visible}.wordmark-caption{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:10px 0 14px;border-bottom:1px solid var(--color-border);font-family:var(--font-mono);font-size:9px;color:var(--color-text-muted);letter-spacing:.06em}.wordmark-caption>span{display:flex;align-items:center;gap:9px}.wordmark-caption i{display:inline-block;width:5px;height:5px;border:1px solid #8c8c89}.wordmark-caption button{display:flex;align-items:center;gap:12px;padding:7px 0 7px 12px;border:0;background:none;color:inherit;font:inherit;cursor:pointer}.wordmark-caption button:hover{color:#fff}@media (max-width:850px){.vector-wordmark{height:115px}}@media (prefers-reduced-motion:reduce){.vector-wordmark canvas,.wordmark-coordinate{display:none}.vector-wordmark[data-ready=true] .wordmark-fallback{visibility:visible}}