:root{color-scheme:dark;font-family:Inter,PingFang SC,Microsoft YaHei,Noto Sans CJK SC,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f7f7f7;background:#141414;font-synthesis:none;text-rendering:optimizeLegibility;--canvas: #141414;--sidebar: #161616;--input: #171717;--panel: #1c1c1c;--panel-raised: #222222;--card: #1e1e1e;--control: #222222;--tile: #242424;--divider: #282828;--input-strong: #292929;--icon-tile: #2b2b2b;--selected: #2e2e2e;--emphasized: #3a3a3a;--outline: #343434;--outline-strong: #505050;--text: #f7f7f7;--text-strong: #ffffff;--text-secondary: #a1a1a1;--text-muted: #747474;--text-faint: #707070;--text-disabled: #444444;--blue: #0394f0;--accent-rgb: 3, 148, 240;--accent-channels: 3 148 240;--blue-hover: #16a3fb;--on-blue: #050505;--danger: #d16c6c;--danger-text: #efbcbc;--danger-surface: rgba(83, 33, 33, .28);--success-text: #a8c7aa;--blue-text: #a8dcff;--points-heat-0: #202a35;--points-heat-1: #123f64;--points-heat-2: #096aa8;--points-heat-3: #0394f0;--points-heat-4: #74c9ff;--warning-text: #d8ad69;--warning-surface: #242017;--warning-outline: #4e412d;--info-text: #b8c2d9;--info-surface: #222631;--info-outline: #6e7fa6;--topbar-background: rgba(20, 20, 20, .98);--overlay: rgba(0, 0, 0, .78);--shadow-popover: 0 18px 45px rgba(0, 0, 0, .45);--shadow-floating: 0 28px 80px rgba(0, 0, 0, .68);--shadow-composer: 0 -12px 28px rgba(0, 0, 0, .16);--shadow-card: 0 8px 22px rgba(0, 0, 0, .18);--media-surface: #111111;--media-overlay: rgba(15, 15, 15, .9);--on-media: #ffffff;--on-media-secondary: #c7c7c7;--media-outline: rgba(255, 255, 255, .34);--canvas-grid: #343434;--scrollbar-thumb: #464646;--radius-sm: 7px;--radius-md: 10px;--radius-lg: 14px;--sidebar-width: 260px;--sidebar-collapsed: 80px;--topbar-height: 82px}:root[data-theme=light]{color-scheme:light;color:#172033;background:#f3f6fa;--canvas: #f3f6fa;--sidebar: #ffffff;--input: #ffffff;--panel: #ffffff;--panel-raised: #ffffff;--card: #f8fafc;--control: #f0f4f9;--tile: #eef2f7;--divider: rgba(43, 57, 78, .12);--input-strong: #f8fafc;--icon-tile: #eef2f7;--selected: #e7eef8;--emphasized: #dbe4ef;--outline: rgba(50, 66, 91, .2);--outline-strong: rgba(61, 78, 106, .32);--text: #172033;--text-strong: #0f172a;--text-secondary: #455468;--text-muted: #64748b;--text-faint: #8793a6;--text-disabled: #a8b3c2;--blue: #0394f0;--blue-hover: #027fce;--on-blue: #050505;--danger: #c7254f;--danger-text: #a8203d;--danger-surface: rgba(199, 37, 79, .08);--success-text: #087f5b;--blue-text: #0369a1;--points-heat-0: #eaf1f8;--points-heat-1: #b9dfff;--points-heat-2: #72bdf7;--points-heat-3: #268de0;--points-heat-4: #09559a;--warning-text: #8a5a12;--warning-surface: #fff7e8;--warning-outline: #d8c18f;--info-text: #415d8c;--info-surface: #edf4ff;--info-outline: #a6badf;--topbar-background: rgba(255, 255, 255, .92);--overlay: rgba(15, 23, 42, .52);--shadow-popover: 0 18px 46px rgba(38, 55, 82, .14);--shadow-floating: 0 26px 72px rgba(38, 55, 82, .18);--shadow-composer: 0 -10px 28px rgba(38, 55, 82, .08);--shadow-card: 0 8px 22px rgba(38, 55, 82, .1);--media-surface: #111111;--scrollbar-thumb: #b8c2cf;--canvas-grid: #c3ccd8}:root[data-palette=pink]{--blue: #f18eb9;--blue-hover: #f7a8c9;--accent-rgb: 241, 142, 185;--accent-channels: 241 142 185;--on-blue: #25121c;--blue-text: #f7b6d3;--canvas: #1c161a;--sidebar: #21191e;--panel: #251d22;--panel-raised: #2b2228;--card: #271f24;--control: #30252c;--tile: #342831;--selected: #3c2934;--emphasized: #49313e;--outline: #4c3743;--outline-strong: #735365;--divider: #3a2b34;--topbar-background: rgba(28, 22, 26, .98);--canvas-grid: #4c3743}:root[data-theme=light][data-palette=pink]{--blue: #d84887;--blue-hover: #c23472;--accent-rgb: 216, 72, 135;--accent-channels: 216 72 135;--on-blue: #1e0c14;--blue-text: #9d2354;--canvas: #fff4f8;--sidebar: #ffffff;--panel: #ffffff;--panel-raised: #ffffff;--card: #fff9fc;--control: #fcebf3;--tile: #f9e5ef;--selected: #f9dfeb;--emphasized: #f5d5e3;--outline: rgba(114, 53, 81, .22);--outline-strong: rgba(114, 53, 81, .4);--divider: rgba(114, 53, 81, .12);--topbar-background: rgba(255, 255, 255, .94);--canvas-grid: #e4c4d3}:root[data-palette=mono]{--canvas: #151515;--sidebar: #181818;--input: #191919;--panel: #1c1c1c;--panel-raised: #222222;--card: #202020;--control: #262626;--tile: #292929;--input-strong: #252525;--icon-tile: #2b2b2b;--selected: #303030;--emphasized: #373737;--divider: #2d2d2d;--outline: #414141;--outline-strong: #686868;--text: #eceef0;--text-strong: #ffffff;--text-secondary: #b8bdc5;--text-muted: #a0a6af;--text-faint: #9198a2;--text-disabled: #686868;--blue: #eceef0;--blue-hover: #ffffff;--on-blue: #111111;--blue-text: #eceef0;--accent-rgb: 236, 238, 240;--accent-channels: 236 238 240;--topbar-background: rgba(21, 21, 21, .98);--canvas-grid: #383838;--scrollbar-thumb: #585858}:root[data-theme=light][data-palette=mono]{--canvas: #f8f9fb;--sidebar: #ffffff;--input: #ffffff;--panel: #ffffff;--panel-raised: #ffffff;--card: #ffffff;--control: #f3f4f6;--tile: #f1f2f4;--input-strong: #f8f9fb;--icon-tile: #eef0f2;--selected: #eef0f2;--emphasized: #e4e7ec;--divider: #e9ecf0;--outline: #dce1e7;--outline-strong: #8a929e;--text: #18202e;--text-strong: #101828;--text-secondary: #475467;--text-muted: #667085;--text-faint: #737d8c;--text-disabled: #a4acb8;--blue: #111111;--blue-hover: #303030;--on-blue: #ffffff;--blue-text: #111111;--accent-rgb: 17, 17, 17;--accent-channels: 17 17 17;--topbar-background: rgba(248, 249, 251, .96);--canvas-grid: #d5d9df;--scrollbar-thumb: #b8bec7;--shadow-popover: 0 18px 46px rgba(16, 24, 40, .12);--shadow-floating: 0 26px 72px rgba(16, 24, 40, .16);--shadow-composer: 0 -10px 28px rgba(16, 24, 40, .06);--shadow-card: 0 8px 22px rgba(16, 24, 40, .06)}*{box-sizing:border-box}html{min-width:320px;background:var(--canvas)}body{margin:0;min-width:320px;min-height:100vh;background:var(--canvas);color:var(--text);-webkit-font-smoothing:antialiased}body.modal-open{overflow:hidden}button,input,select,textarea{font:inherit}button{color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--blue);outline-offset:2px}textarea:focus,textarea:focus-visible{outline:0}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}.skip-link{position:fixed;top:10px;left:12px;z-index:500;padding:10px 14px;border-radius:var(--radius-sm);background:var(--blue);color:var(--on-blue);font-weight:650;text-decoration:none;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}#main-content:focus{outline:none}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.app-shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);background:var(--canvas);transition:grid-template-columns .18s ease}.app-shell.sidebar-collapsed:not(.invitation-standalone):not(.enterprise-report-standalone):not(.public-portfolio-standalone){grid-template-columns:var(--sidebar-collapsed) minmax(0,1fr)}.app-main{min-width:0}.app-shell.enterprise-report-standalone{grid-template-columns:minmax(0,1fr)}.enterprise-report-standalone .app-main{padding-bottom:0}.sidebar{position:sticky;top:0;z-index:50;height:100vh;background:var(--sidebar);border-right:1px solid var(--divider);display:flex;flex-direction:column;overflow:hidden}.sidebar__brand{height:var(--topbar-height);flex:0 0 var(--topbar-height);padding:0 18px 0 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--divider)}.wordmark{display:inline-flex;align-items:center;gap:10px;color:var(--text-strong);font-size:23px;font-weight:650;letter-spacing:.02em;white-space:nowrap}.wordmark svg,.wordmark__logo{flex:0 0 auto}.sidebar .wordmark>.wordmark__logo{width:51px;height:51px;max-width:51px;max-height:51px;display:block;object-fit:contain}.icon-button{width:40px;height:40px;padding:0;border:1px solid transparent;border-radius:var(--radius-sm);display:inline-grid;place-items:center;position:relative;background:transparent;color:var(--text-secondary);cursor:pointer;transition:background-color .15s ease,color .15s ease,border-color .15s ease}.icon-button:hover{background:var(--control);color:var(--text-strong)}.sidebar__toggle{width:34px;height:34px;color:var(--text)}.sidebar__nav{min-height:0;overflow-y:auto;padding:31px 14px;display:flex;flex-direction:column;gap:10px}.nav-item{width:100%;min-height:54px;padding:0 23px;border:0;border-radius:var(--radius-sm);display:flex;align-items:center;gap:17px;position:relative;background:transparent;color:var(--text-secondary);text-decoration:none;font-size:20px;font-weight:500;text-align:left;white-space:nowrap;cursor:pointer;transition:background-color .15s ease,color .15s ease}.nav-item:before{content:"";position:absolute;left:-14px;top:0;bottom:0;width:5px;border-radius:0 3px 3px 0;background:transparent}.nav-item:hover{background:var(--control);color:var(--text-strong)}.nav-item.is-active{background:var(--selected);color:var(--text-strong)}.nav-item.is-active:before{background:var(--blue)}.nav-item svg{flex:0 0 auto}.sidebar.is-collapsed .sidebar__brand{padding:0;justify-content:center}.sidebar.is-collapsed .wordmark{display:none}.sidebar.is-collapsed .sidebar__nav{padding-inline:11px}.sidebar.is-collapsed .nav-item{justify-content:center;padding:0}.sidebar.is-collapsed .nav-item:before{left:-11px}.sidebar.is-collapsed .nav-item span,.mobile-navigation{display:none}.topbar{height:var(--topbar-height);padding:0 34px;position:sticky;top:0;z-index:40;display:flex;align-items:center;background:var(--topbar-background);border-bottom:1px solid var(--divider);-webkit-backdrop-filter:blur(16px) saturate(120%);backdrop-filter:blur(16px) saturate(120%)}.topbar__spacer{flex:1}.project-search input::placeholder,.field input::placeholder,.field textarea::placeholder{color:var(--text-faint)}.topbar__utilities{margin-left:24px;display:flex;align-items:center;gap:14px}.utility-button,.profile-button{height:42px;padding:0 8px;border:0;border-radius:var(--radius-sm);display:inline-flex;align-items:center;gap:8px;background:transparent;color:var(--text);cursor:pointer}.utility-button:hover,.profile-button:hover{background:var(--control)}.topbar-purchase-button{height:36px;padding-inline:12px;border:1px solid rgba(var(--accent-rgb),.34);background:rgba(var(--accent-rgb),.08);color:var(--blue-text);font-size:13px}.topbar-purchase-button:hover{border-color:rgba(var(--accent-rgb),.62);background:rgba(var(--accent-rgb),.14);color:var(--blue-hover)}.popover.enterprise-purchase-popover{position:absolute;top:calc(100% + 8px);right:auto;width:min(240px,calc(100vw - 24px));max-height:calc(100dvh - var(--topbar-height) - 24px);padding:12px;text-align:center}.enterprise-purchase-popover p{margin:10px 0 0;color:var(--text-secondary);font-size:13px;line-height:1.5}.enterprise-purchase-qr{display:block;width:100%;height:auto;margin-inline:auto;border-radius:8px}.utility-button{font-size:16px;font-weight:570}.utility-button.points [role=status]{min-inline-size:6ch;text-align:right;font-variant-numeric:tabular-nums}.points-icon{display:inline-block;flex:0 0 auto;object-fit:contain;vertical-align:-.125em;-webkit-user-select:none;user-select:none;pointer-events:none}:root[data-theme=light][data-palette=mono] .utility-button.points .points-icon{filter:brightness(0)}.topbar__divider{width:1px;height:34px;background:var(--divider)}.topbar-icon{width:42px;height:42px;color:var(--text)}.notification-dot{position:absolute;top:7px;right:7px;width:7px;height:7px;border:2px solid var(--canvas);border-radius:50%;background:var(--blue)}.profile-button{padding:0;gap:7px}.profile-button.is-signed-out{min-width:88px;padding:0 13px;border:1px solid var(--outline);gap:8px;background:var(--input)}.profile-button.is-signed-out:hover{border-color:var(--outline-strong);background:var(--control)}.signed-out-avatar{width:27px;height:27px;display:grid;place-items:center;color:var(--text-secondary)}.signed-out-label{color:var(--text);font-size:14px;font-weight:540;white-space:nowrap}.avatar{width:46px;height:46px;border:1px solid var(--outline-strong);border-radius:50%;display:grid;place-items:center;position:relative;overflow:hidden;background:var(--control)}.avatar__initial{color:var(--text-strong);font-size:17px;font-weight:650;line-height:1;text-transform:uppercase;-webkit-user-select:none;user-select:none}.popover-anchor{position:relative}.popover{position:absolute;top:calc(100% + 12px);right:0;z-index:90;width:340px;max-height:min(480px,calc(100vh - 100px));padding:10px;overflow:auto;background:var(--panel);border:1px solid var(--outline);border-radius:var(--radius-md);box-shadow:var(--shadow-popover)}.popover__header{padding:8px 9px 13px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--divider)}.popover__header strong{font-size:15px}.popover__header span,.popover-state{color:var(--text-muted);font-size:12px}.popover-state{padding:24px 10px;text-align:center}.message-item{padding:13px 10px;border-bottom:1px solid var(--divider)}.message-item:last-child{border-bottom:0}.message-item-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;border:0;border-bottom:1px solid var(--divider);border-radius:0;text-align:left;background:transparent;cursor:pointer}.message-item-button:hover{background:var(--selected)}.message-item-button:focus-visible{outline-offset:-2px}.message-item-button p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.messages-popover{max-height:min(70vh,560px);overflow-y:auto}.message-unread{margin-left:8px;color:var(--blue-text);font-size:12px}.message-announcement{position:fixed;z-index:160;right:24px;top:80px;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 110px);overflow:auto;padding:20px;border:1px solid var(--outline-strong);border-radius:var(--radius-lg);background:var(--panel);color:var(--text);box-shadow:var(--shadow-popover)}.message-announcement p,.message-detail-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.message-announcement__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.message-announcement__header strong{padding-top:10px;min-width:0;overflow-wrap:anywhere}.message-announcement__header .icon-button{flex-shrink:0;width:44px;height:44px;margin:-8px -8px 0 0}.message-announcement p{margin:10px 0 0;font-size:14px}.message-detail-content{font-size:14px;margin-bottom:20px}.message-image{display:block;margin-bottom:16px;border-radius:12px;overflow:hidden;color:inherit;text-decoration:none}.message-image img{display:block;width:100%;max-height:45vh;object-fit:contain}.message-image:focus-visible{outline:2px solid currentColor;outline-offset:4px}.message-image-error{display:block;padding:12px;text-align:center;font-size:14px}.message-time{font-size:12px;color:var(--text-secondary);margin:12px 0}.message-item strong{display:block;color:var(--text);font-size:13px;font-weight:600}.message-item p{margin-top:5px;color:var(--text-secondary);font-size:12px;line-height:1.55}.profile-popover{width:250px;padding:10px;display:flex;flex-direction:column;gap:7px}.profile-popover__identity{padding:7px 9px 14px;border-bottom:1px solid var(--divider);display:flex;align-items:flex-start;gap:10px}.profile-popover__identity-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:7px}.profile-popover__identity strong{font-size:15px}.profile-popover__identity span,.profile-popover__identity em{color:var(--text-muted);font-size:12px;font-style:normal}.profile-theme-toggle{width:34px;height:34px;flex:0 0 auto;padding:0;border:1px solid var(--outline);border-radius:8px;display:grid;place-items:center;background:var(--input);color:var(--text-muted);cursor:pointer;transition:border-color .15s ease,background-color .15s ease,color .15s ease}.profile-theme-toggle:hover{border-color:var(--outline-strong);background:var(--control);color:var(--text-strong)}.profile-popover .profile-menu-link,.profile-popover .profile-logout-button{width:100%;min-height:40px;margin:0;padding:0 11px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;gap:9px;background:var(--control);color:var(--text-secondary);cursor:pointer}.profile-popover .profile-menu-link{border-color:transparent;justify-content:flex-start;position:relative;background:transparent}.profile-popover .profile-menu-link:hover,.profile-popover .profile-menu-link.is-active{background:var(--selected);color:var(--text-strong)}.profile-popover .profile-menu-link.is-active:before{content:"";width:3px;position:absolute;top:7px;bottom:7px;left:-3px;border-radius:999px;background:var(--blue)}.profile-popover .profile-menu-link.is-active svg{color:var(--blue)}.profile-popover .profile-menu-link span{color:inherit;font-size:13px}.profile-popover .profile-logout-button:hover{border-color:var(--outline-strong);color:var(--text-strong)}.page{min-height:calc(100vh - var(--topbar-height));padding:28px 55px 48px 40px}.announcements{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.announcement-card{width:100%;min-height:236px;aspect-ratio:1.84;max-height:300px;padding:0;border:1px solid var(--outline);border-radius:var(--radius-md);position:relative;overflow:hidden;background:var(--input);color:var(--text);text-align:left;cursor:pointer}.announcement-card:hover{border-color:var(--outline-strong)}.announcement-card img{width:100%;height:100%;object-fit:cover;transition:transform .32s ease}.announcement-card:hover img{transform:scale(1.018)}.script-composer{margin-top:18px;padding:16px 22px 13px;position:relative;background:var(--panel);border:1px solid var(--outline);border-radius:var(--radius-sm)}.section-heading h1,.section-heading h2{color:var(--text-strong);font-size:25px;font-weight:520;letter-spacing:.01em}.section-heading p{margin-top:6px;color:var(--text-secondary);font-size:16px}.section-heading.horizontal{min-height:54px;display:flex;align-items:center;justify-content:space-between}.section-heading.horizontal h2{font-size:24px}.dropzone{width:100%;height:82px;margin-top:13px;padding:0 24px;border:1px dashed var(--outline-strong);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;gap:17px;background:var(--control);color:var(--text);cursor:pointer;transition:border-color .15s ease,background-color .15s ease}.dropzone:hover,.dropzone.is-dragging{border-color:var(--blue);background:var(--tile)}.dropzone:disabled{cursor:wait}.dropzone__icon{width:48px;height:48px;border:1px solid var(--outline-strong);border-radius:var(--radius-sm);display:grid;place-items:center;color:var(--text)}.dropzone__copy{display:flex;flex-direction:column;gap:5px;text-align:left}.dropzone__copy strong{font-size:19px;font-weight:560}.dropzone__copy small{color:var(--text-secondary);font-size:14px}.composer-controls{margin-top:14px;display:grid;grid-template-columns:minmax(145px,1fr) minmax(160px,1fr) minmax(205px,1.18fr) minmax(175px,1fr) minmax(205px,.82fr);gap:26px;align-items:end}.control-field.composer-project-name{margin-top:14px}.composer-project-name input,.composer-episode-fields input{width:100%;min-width:0;height:44px;padding:0 14px;border:1px solid var(--outline);border-radius:var(--radius-sm);background:var(--input);color:var(--text-strong);font:inherit}.composer-project-name input[aria-invalid=true]{border-color:var(--danger)}.composer-project-name small{color:var(--text-secondary);min-height:1.4em}.composer-project-name .composer-name-conflict{color:var(--danger-text)}.control-field{min-width:0;border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:7px}.control-field>span:first-child,.control-field legend{color:var(--text-secondary);font-size:15px;font-weight:500}.control-field legend{margin-bottom:7px}.custom-select{width:100%;min-width:0;position:relative}.custom-select__trigger,.select-like{width:100%;height:46px;padding:0 14px 0 16px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:flex;align-items:center;gap:10px;background:var(--input);color:var(--text);font-size:16px;text-align:left}.custom-select__trigger{cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.custom-select__trigger:hover{border-color:var(--outline-strong);background:var(--input-strong)}.custom-select__trigger[aria-expanded=true]{border-color:var(--blue);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.2)}.custom-select__trigger:disabled{cursor:not-allowed;opacity:.52}.custom-select__leading{display:inline-flex;color:var(--text-secondary)}.custom-select__value{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-select__caret{flex:0 0 auto;color:var(--text-secondary);transition:transform .15s ease}.custom-select__trigger[aria-expanded=true] .custom-select__caret{transform:rotate(180deg)}.custom-select__menu{width:100%;max-height:238px;padding:6px;position:absolute;top:calc(100% + 7px);left:0;z-index:90;overflow-y:auto;border:1px solid var(--outline-strong);border-radius:9px;background:var(--control);box-shadow:var(--shadow-popover)}.custom-select__option{width:100%;min-height:42px;padding:0 11px;border:0;border-radius:6px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:transparent;color:var(--text-secondary);font-size:15px;text-align:left;cursor:pointer}.custom-select__option:hover,.custom-select__option.is-active{background:var(--selected);color:var(--text-strong)}.custom-select__option.is-selected{color:var(--text-strong)}.custom-select__option svg{flex:0 0 auto;color:var(--blue)}.select-like:disabled{opacity:1;cursor:default}.segmented-control{display:grid;grid-template-columns:1fr 1fr;gap:12px}.segmented-control button{height:46px;border:1px solid var(--outline);border-radius:var(--radius-sm);background:var(--input);color:var(--text-secondary);font-size:16px;cursor:pointer}.segmented-control button:hover{border-color:var(--outline-strong)}.segmented-control button.is-selected{border-color:var(--blue);color:var(--text-strong);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.24)}.composer-action{display:flex;flex-direction:column;align-items:stretch;gap:6px}.composer-action small{color:var(--text-muted);font-size:11px;text-align:center;white-space:nowrap}.button{min-height:44px;padding:0 18px;border:1px solid transparent;border-radius:var(--radius-sm);display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:570;line-height:1;text-decoration:none;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .15s ease}.button:active:not(:disabled){transform:translateY(1px)}.button:disabled{opacity:.56;cursor:not-allowed}.button.primary{background:var(--blue);color:var(--on-blue);border-color:var(--blue)}.button.primary:hover:not(:disabled){background:var(--blue-hover);border-color:var(--blue-hover)}.button.secondary{background:var(--control);color:var(--text);border-color:var(--outline)}.button.secondary:hover:not(:disabled){background:var(--tile);border-color:var(--outline-strong)}.button.danger{background:var(--danger-surface);color:var(--danger-text);border-color:color-mix(in srgb,var(--danger) 46%,transparent)}.start-button{min-height:47px;font-size:18px}.composer-error{position:absolute;right:22px;bottom:-40px;z-index:3}.home-headline{max-width:1040px;margin:0 auto 20px;color:var(--text-strong);font-size:clamp(24px,2.6vw,36px);font-weight:650;line-height:1.35;letter-spacing:-.02em;text-align:center;text-wrap:balance}@keyframes homepage-content-enter{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:no-preference){.home-page>.home-headline,.home-page>.script-composer,.home-page .homepage-activities__title,.home-page .activity-showcase,.home-page .homepage-course-lessons__header,.home-page .homepage-course-card,.home-page .featured-heading,.home-page .featured-toolbar,.home-page .featured-work{animation:homepage-content-enter .32s ease-out calc(var(--home-entry-delay, 0ms) + var(--home-card-delay, 0ms)) backwards}.home-page>.script-composer{--home-entry-delay: 40ms}.home-page .homepage-activities{--home-entry-delay: 80ms}.home-page .homepage-course-lessons{--home-entry-delay: .1s}.home-page .featured-section{--home-entry-delay: .12s}.home-page :is(.homepage-course-card,.featured-work):nth-child(2){--home-card-delay: 20ms}.home-page :is(.homepage-course-card,.featured-work):nth-child(3){--home-card-delay: 40ms}.home-page :is(.homepage-course-card,.featured-work):nth-child(4){--home-card-delay: 60ms}.home-page :is(.homepage-course-card,.featured-work):nth-child(n+5){--home-card-delay: 80ms}}.home-page .script-composer{--script-composer-support: color-mix(in srgb, var(--text) 85%, var(--text-secondary));--composer-tabs-inset: 48px;--composer-tab-height: 36px;--composer-surface: var(--panel-raised);--composer-input-surface: var(--input);--composer-edge: var(--outline);position:sticky;top:calc(var(--topbar-height) + 12px);z-index:30;display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:max-content;align-items:center;align-content:start;gap:0;width:100%;max-width:1040px;min-width:0;margin:0 auto 24px;padding:0;max-height:none;overflow:visible;border:0;background:transparent;border-radius:0;box-shadow:none}:root[data-theme=dark] .home-page .script-composer{--composer-surface: color-mix(in srgb, var(--panel-raised) 94%, var(--text-strong) 6%);--composer-input-surface: color-mix(in srgb, var(--input-strong) 70%, var(--panel-raised) 30%);--composer-edge: color-mix(in srgb, var(--outline) 75%, var(--outline-strong) 25%)}.home-page .composer-mode-panel::-webkit-scrollbar{width:6px}.home-page .composer-mode-panel::-webkit-scrollbar-thumb{border-radius:3px;background:var(--scrollbar-thumb)}.home-page .composer-mode-tabs{position:relative;z-index:1;display:flex;align-items:flex-end;width:max-content;max-width:calc(100% - var(--composer-tabs-inset));gap:0;min-width:0;margin:0 0 0 var(--composer-tabs-inset)}.home-page .composer-mode-tabs:after{content:"";position:absolute;z-index:3;left:0;right:0;bottom:-1px;height:1px;background:var(--composer-surface);pointer-events:none}.home-page .composer-mode-tabs button{--composer-tab-fill: var(--composer-input-surface);position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;flex:0 1 124px;width:124px;gap:5px;min-width:0;height:var(--composer-tab-height);min-height:var(--composer-tab-height);padding:6px 20px;border:0;border-radius:0;clip-path:var(--composer-tab-clip, polygon(18px 0, calc(100% - 18px) 0, 100% 100%, 0 100%));background:var(--composer-edge);color:var(--text-secondary);font:inherit;font-size:12px;line-height:1.4;font-weight:550;cursor:pointer;transition:background-color .16s ease,color .16s ease}.home-page .composer-mode-tabs button+button{margin-left:-20px}.home-page .composer-mode-tabs button:before{content:"";position:absolute;top:1px;right:1px;bottom:0;left:1px;clip-path:var(--composer-tab-clip, polygon(18px 0, calc(100% - 18px) 0, 100% 100%, 0 100%));background:var(--composer-tab-fill);pointer-events:none;transition:background-color .16s ease}.home-page .composer-mode-tabs button>*{position:relative;z-index:1;flex-shrink:0}.home-page .composer-mode-tabs button>svg{width:14px;height:14px}.home-page .composer-mode-tabs button:hover{--composer-tab-fill: var(--selected);color:var(--text-strong)}.home-page .composer-mode-tabs button[aria-selected=true]{--composer-tab-fill: var(--composer-surface);z-index:2;color:var(--text-strong);font-weight:650}.home-page .composer-mode-tabs button[aria-selected=true]:after{content:"";position:absolute;top:0;left:18px;right:18px;height:2px;border-radius:2px;background:var(--blue)}.home-page .composer-mode-tabs button:focus-visible{background:var(--blue);outline:none}.home-page .composer-mode-tabs button:focus-visible:before{top:2px;right:2px;bottom:0;left:2px}.home-page .composer-mode-tabs button:disabled{cursor:wait;opacity:.6}.home-page .composer-mode-panel{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:max-content;gap:12px;min-width:0;padding:16px 24px;max-height:calc(100dvh - var(--topbar-height) - 24px - var(--composer-tab-height));overflow-y:auto;border:1px solid var(--composer-edge);border-radius:calc(var(--radius-lg) * 2);background:var(--composer-surface);box-shadow:var(--shadow-card);scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.home-page .composer-entry{--composer-entry-height: 56px;display:grid;grid-template-columns:minmax(0,72px) minmax(0,1fr) 100px;gap:12px;min-width:0;transition:grid-template-columns .24s ease,gap .24s ease}.home-page .composer-chat-field{display:none;min-width:0;overflow:hidden;visibility:hidden;opacity:0;transition:opacity .18s ease,visibility .18s ease}.home-page .script-composer--chat .composer-chat-field{display:flex;visibility:visible;opacity:1}.home-page .composer-chat-field textarea{display:block;width:100%;min-width:0;min-height:100%;height:var(--composer-entry-height);max-height:var(--composer-entry-height);padding:6px 14px;border:1px solid var(--outline-strong);border-radius:var(--radius-sm);background:var(--input);color:var(--text);font:inherit;font-size:15px;line-height:1.4;resize:none}.home-page .composer-chat-field textarea::placeholder{color:var(--text-secondary);opacity:1}.home-page .composer-chat-field textarea:focus-visible{outline:0;box-shadow:none}.home-page .script-composer .dropzone{min-width:0;min-height:var(--composer-entry-height);height:var(--composer-entry-height);margin-top:0;padding:4px;flex-direction:column;justify-content:center;gap:4px}.home-page .script-composer .dropzone__icon{flex:0 0 auto;width:20px;height:20px;border:0}.home-page .script-composer .dropzone__icon svg{width:20px;height:20px}.home-page .script-composer .dropzone__copy{min-width:0;max-width:100%;flex:0;text-align:center}.home-page .script-composer .dropzone__copy strong{display:block;overflow:hidden;font-size:12px;line-height:1.4;white-space:nowrap;text-overflow:ellipsis}.home-page .script-composer .dropzone__copy small{display:none}.home-page .composer-chat-documents{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;min-width:0}.home-page .composer-chat-documents li{display:flex;align-items:center;gap:6px;max-width:100%;padding:0 4px 0 10px;border:1px solid var(--outline);border-radius:var(--radius-sm);background:var(--control);color:var(--text);font-size:13px}.home-page .composer-chat-documents li>svg{flex-shrink:0}.home-page .composer-chat-documents li>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.home-page .composer-chat-documents button{display:grid;place-items:center;flex:0 0 36px;height:36px;padding:0;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text-secondary);cursor:pointer}.home-page .composer-chat-documents button:hover{background:var(--selected);color:var(--text-strong)}.home-page .script-composer .composer-project-name,.home-page .script-composer .composer-episode-fields,.home-page .script-composer .composer-error{grid-column:1 / -1;margin:0;min-width:0}.home-page .script-composer .composer-controls{grid-column:2;grid-template-columns:minmax(100px,1fr) minmax(132px,1.2fr) minmax(126px,1fr);gap:12px;min-width:0;height:var(--composer-entry-height);margin:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none}.home-page .script-composer .composer-controls::-webkit-scrollbar{display:none}.home-page .script-composer .control-field{gap:6px}.home-page .script-composer .control-field>span:first-child,.home-page .script-composer .control-field legend{font-size:13px}.home-page .script-composer .control-field legend{margin-bottom:6px}.home-page .script-composer .custom-select__trigger,.home-page .script-composer .select-like,.home-page .script-composer .composer-project-name input,.home-page .script-composer .composer-episode-fields input{height:44px;padding-inline:12px;font-size:14px}.home-page .script-composer .custom-select__trigger,.home-page .script-composer .select-like,.home-page .script-composer .segmented-control{gap:8px}.home-page .script-composer .segmented-control button{min-width:0;height:44px;padding-inline:4px;font-size:14px}.home-page .script-composer .start-button{width:100%;min-height:44px;padding-inline:6px;gap:6px;font-size:14px}.home-page .script-composer .composer-entry-action{height:var(--composer-entry-height);min-height:var(--composer-entry-height);padding-inline:8px;margin:0;white-space:nowrap}.home-page .script-composer .composer-controls .control-field{position:relative;height:var(--composer-entry-height);gap:4px;scroll-snap-align:start}.home-page .script-composer .composer-controls .control-field>span:first-child,.home-page .script-composer .composer-controls .control-field legend{position:static;margin:0;color:var(--text-secondary);font-size:12px;line-height:14px;pointer-events:none}.home-page .script-composer .composer-controls .control-field legend{margin-bottom:4px}.home-page .script-composer .composer-controls .custom-select__trigger,.home-page .script-composer .composer-controls .segmented-control button{height:calc(var(--composer-entry-height) - 18px);padding-top:0}.home-page .script-composer .composer-controls .segmented-control{gap:6px}.home-page .script-composer .composer-error{position:static;z-index:auto;overflow-wrap:anywhere;font-size:13px}.home-page .script-composer .control-field>span:first-child,.home-page .script-composer .control-field legend,.home-page .script-composer .dropzone__copy small,.home-page .script-composer .composer-project-name small:not(.composer-name-conflict){color:var(--script-composer-support)}@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.home-page .composer-mode-panel{background:color-mix(in srgb,var(--composer-surface) 78%,transparent);-webkit-backdrop-filter:blur(20px) saturate(125%);backdrop-filter:blur(20px) saturate(125%)}.home-page .script-composer .dropzone{background:color-mix(in srgb,var(--composer-input-surface) 88%,transparent)}.home-page .script-composer .dropzone:hover,.home-page .script-composer .dropzone.is-dragging{background:color-mix(in srgb,var(--tile) 88%,transparent)}.home-page .script-composer .custom-select__trigger,.home-page .script-composer .select-like,.home-page .script-composer .composer-project-name input,.home-page .script-composer .composer-episode-fields input,.home-page .composer-chat-field textarea,.home-page .script-composer .segmented-control button{background:color-mix(in srgb,var(--composer-input-surface) 88%,transparent)}.home-page .script-composer .custom-select__trigger:hover,.home-page .script-composer .custom-select__trigger[aria-expanded=true]{background:color-mix(in srgb,var(--input-strong) 88%,transparent)}}@media(max-width:820px){.home-page .script-composer{grid-template-columns:minmax(0,1fr)}.home-page .composer-mode-panel{padding:16px 20px;max-height:calc(min(60dvh,calc(100dvh - var(--topbar-height) - 24px)) - var(--composer-tab-height))}}@media(max-width:560px){.home-page .script-composer{--composer-tabs-inset: 28px}.home-page .composer-mode-panel{padding:12px;border-top-left-radius:var(--radius-lg);max-height:calc(min(60dvh,calc(100dvh - var(--topbar-height) - 88px)) - var(--composer-tab-height))}.home-page .composer-mode-tabs button{flex-basis:112px;width:112px;padding-inline:16px}.home-page .composer-mode-tabs button+button{margin-left:-16px}.home-page .script-composer .composer-entry{grid-template-columns:52px minmax(0,1fr) 88px;gap:8px}.home-page .script-composer--chat .composer-entry{grid-template-columns:52px minmax(0,1fr) 64px;gap:8px}.home-page .script-composer .dropzone__copy{display:none}.home-page .composer-entry-action svg{display:none}.home-page .composer-chat-field textarea{padding:6px 10px;font-size:16px}}@media(prefers-reduced-motion:reduce){.home-page .composer-mode-tabs button,.home-page .composer-mode-tabs button:before,.home-page .composer-entry,.home-page .composer-chat-field{transition:none}}.featured-section{margin-top:12px}.text-button{min-height:36px;padding:0 7px;border:0;display:inline-flex;align-items:center;gap:7px;background:transparent;color:var(--text-secondary);font-size:15px;text-decoration:none;cursor:pointer}.text-button:hover{color:var(--text-strong)}.featured-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:23px}.featured-card{padding:0;border:1px solid var(--outline);border-radius:var(--radius-sm);overflow:hidden;background:var(--card);color:var(--text);text-align:left;cursor:pointer}.featured-card:hover{border-color:var(--outline-strong)}.featured-card__media{aspect-ratio:1.78;display:block;position:relative;overflow:hidden;background:var(--input)}.featured-card img{width:100%;height:100%;object-fit:cover}.featured-card>strong{min-height:50px;padding:0 17px;display:flex;align-items:center;font-size:18px;font-weight:540}.play-badge{position:absolute;left:16px;bottom:14px;width:42px;height:42px;border:2px solid rgba(255,255,255,.85);border-radius:50%;display:grid;place-items:center;background:var(--media-overlay);color:var(--on-media)}.duration{position:absolute;right:11px;bottom:10px;padding:4px 7px;border-radius:5px;background:#0a0a0ad1;color:var(--text);font-size:13px}.projects-page{padding:0 67px 48px 46px}.projects-header{min-height:158px;padding:30px 0 28px;border-bottom:1px solid var(--divider);display:flex;align-items:center;justify-content:space-between;gap:28px}.projects-header h1{color:var(--text-strong);font-size:38px;font-weight:570;letter-spacing:.02em}.projects-header p{margin-top:8px;color:var(--text-secondary);font-size:17px}.projects-header__actions{display:flex;align-items:center;gap:20px}.project-search{width:400px;height:56px;padding:0 13px 0 17px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:flex;align-items:center;gap:12px;background:var(--input);color:var(--text-secondary)}.project-search:focus-within{border-color:var(--blue)}.project-search input{min-width:0;flex:1;height:100%;padding:0;border:0;outline:0;background:transparent;color:var(--text);font-size:16px}.project-search .icon-button{width:30px;height:30px}.new-project-button{min-width:188px;height:56px;font-size:17px}.projects-toolbar{min-height:105px;display:flex;align-items:center;justify-content:space-between;gap:20px}.filter-tabs{height:49px;padding:3px;border:1px solid var(--divider);border-radius:var(--radius-sm);display:inline-flex;background:var(--input)}.filter-tabs button{min-width:93px;height:41px;padding:0 17px;border:0;border-radius:5px;background:transparent;color:var(--text-secondary);font-size:16px;cursor:pointer}.filter-tabs button:hover{color:var(--text)}.filter-tabs button.is-selected{background:var(--control);color:var(--text-strong)}.view-controls{display:flex;align-items:center;gap:34px}.sort-control{min-width:171px;width:171px}.sort-control .custom-select__trigger{height:50px;padding-inline:15px 12px;font-size:15px}.view-toggle{display:flex;gap:16px}.view-toggle .icon-button{width:52px;height:50px;border-color:var(--outline);background:var(--input);color:var(--text)}.view-toggle .icon-button.is-selected{border-color:var(--blue);color:var(--text-strong);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.22)}.project-grid{--project-grid-columns: 4;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 22px}.project-card{min-width:0;position:relative;overflow:visible;background:var(--card);border:1px solid var(--outline);border-radius:var(--radius-lg);transition:border-color .15s ease,transform .15s ease}.project-card:hover{border-color:var(--outline-strong);transform:translateY(-1px)}.project-card__open{width:100%;aspect-ratio:1.82;padding:0;border:0;border-radius:13px 13px 0 0;overflow:hidden;display:block;background:var(--input);cursor:pointer}.project-card__open img{width:100%;height:100%;object-fit:cover;transition:transform .26s ease}.project-card:hover .project-card__open img{transform:scale(1.018)}.project-card__cover-button{position:absolute;top:10px;left:10px;z-index:2;display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:5px 9px;border:1px solid var(--media-outline);border-radius:var(--radius-sm);background:var(--media-overlay);color:var(--on-media);font-size:12px}.project-card__menu-wrap{position:absolute;top:12px;right:12px;z-index:8}.project-card__menu-button{width:38px;height:34px;border-color:var(--media-outline);background:var(--media-overlay);color:var(--on-media)}.card-menu{position:absolute;top:41px;right:0;width:148px;padding:6px;background:var(--panel);border:1px solid var(--outline);border-radius:var(--radius-sm);box-shadow:0 14px 34px #0000006b}.card-menu button{width:100%;min-height:38px;padding:0 10px;border:0;border-radius:5px;display:flex;align-items:center;gap:9px;background:transparent;color:var(--text-secondary);font-size:13px;cursor:pointer}.card-menu button:hover{background:var(--control);color:var(--text)}.card-menu button.danger{color:var(--danger-text)}.project-card__body{height:116px;min-height:116px;padding:12px 16px}.project-title-button{width:100%;padding:0;border:0;display:block;overflow:hidden;background:transparent;color:var(--text-strong);font-size:18px;font-weight:560;line-height:24px;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.project-title-button:hover{color:var(--text-secondary)}.project-meta{min-width:0;margin-top:7px;display:flex;align-items:center;gap:12px;overflow:hidden;color:var(--text-secondary);font-size:12px;line-height:17px;white-space:nowrap}.project-meta>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-meta .status{flex:0 0 auto}.project-meta .project-style{flex:1 1 auto}.project-meta .project-start{flex:0 1 auto}.project-meta .project-episode{flex:0 1 auto;color:var(--text-secondary)}.status{display:inline-flex;align-items:center;gap:7px}.status i{width:7px;height:7px;border-radius:50%;background:var(--blue)}.status-completed i{background:var(--text-secondary)}.project-progress{margin-top:10px;display:flex;align-items:center;gap:12px}.progress-track{min-width:0;height:5px;flex:1;overflow:hidden;border-radius:999px;background:var(--emphasized)}.progress-track i{height:100%;display:block;border-radius:inherit;background:var(--blue)}.project-progress strong{min-width:34px;color:var(--text);font-size:14px;font-weight:560;text-align:right}.project-grid.is-list{grid-template-columns:minmax(0,1fr)}.project-card.is-list{min-height:142px;display:grid;grid-template-columns:260px minmax(0,1fr)}.project-card.is-list .project-card__open{height:100%;aspect-ratio:auto;border-radius:13px 0 0 13px}.project-card.is-list .project-card__body{height:auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1.3fr);align-items:center;gap:24px}.project-card.is-list .project-meta,.project-card.is-list .project-progress{margin-top:0}.empty-state{min-height:360px;padding:46px 24px;border:1px dashed var(--outline);border-radius:var(--radius-lg);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text-secondary);text-align:center}.empty-state svg{margin-bottom:15px}.empty-state h2{color:var(--text);font-size:20px;font-weight:560}.empty-state p{max-width:480px;margin-top:9px;color:var(--text-muted);font-size:14px;line-height:1.6}.empty-state .button{margin-top:22px}.skeleton{overflow:hidden;pointer-events:none;animation:skeleton-pulse 1.25s ease-in-out infinite alternate}.skeleton-block,.skeleton-line{display:block;background:var(--tile)}.skeleton-cover{width:100%;aspect-ratio:1.82;border-radius:13px 13px 0 0}.skeleton-line{width:70%;height:13px;margin-top:13px;border-radius:4px}.skeleton-line.wide{width:45%;height:18px;margin-top:0}.skeleton-line.small{width:88%;height:6px;margin-top:24px}@keyframes skeleton-pulse{0%{opacity:.62}to{opacity:1}}.modal-backdrop{--dialog-gutter: 24px;position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;padding:var(--dialog-gutter);display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;overflow:auto;overscroll-behavior:contain;background:#000000b8}.modal{width:100%;min-width:0;min-height:0;max-height:calc(100dvh - 2 * var(--dialog-gutter));overflow:auto;padding:23px;background:var(--panel);border:1px solid var(--outline);border-radius:var(--radius-lg);box-shadow:0 26px 70px #00000094}.modal__header{margin-bottom:24px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.modal__header-actions{display:flex;flex:none;align-items:center;gap:4px}.modal__header h2{color:var(--text-strong);font-size:22px;font-weight:580}.modal__header p{margin-top:7px;color:var(--text-muted);font-size:13px}.modal-form{display:flex;flex-direction:column;gap:18px}.project-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.project-episode-help{grid-column:1 / -1;margin:-8px 0 0;color:var(--text-muted);font-size:12px;line-height:1.6}.composer-episode-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-block:14px}.field{display:flex;flex-direction:column;gap:8px}.field.full,.managed-project-fields.full,.modal__actions.full,.inline-message.full{grid-column:1 / -1}.field>span:first-child,.field>label{color:var(--text-secondary);font-size:13px;font-weight:520}.field input,.field textarea{width:100%;min-height:44px;padding:0 13px;border:1px solid var(--outline);border-radius:var(--radius-sm);outline:0;background:var(--input);color:var(--text)}.password-input{display:flex;align-items:center;position:relative}.password-input input{padding-right:48px}.password-input .icon-button{position:absolute;right:3px;width:38px;height:38px}.field-helper-row{min-height:26px;margin-top:-4px;display:flex;align-items:center;justify-content:flex-end}.forgot-password-link{min-height:26px;padding:0 2px;border:0;background:transparent;color:var(--text-secondary);font-size:12px;cursor:pointer}.forgot-password-link:hover{color:var(--text-strong)}.sms-code-row{display:flex;align-items:center;gap:10px}.sms-code-row input{min-width:0;flex:1}.sms-code-button{width:132px;min-height:44px;flex:0 0 auto;padding-inline:10px;font-size:13px}.field-hint{margin-top:-3px;color:var(--text-muted);font-size:12px;line-height:1.4}.field textarea{min-height:88px;padding-block:11px;resize:vertical}.field input:focus{border-color:var(--blue)}.field textarea:focus{border-color:var(--outline);box-shadow:none}.field .custom-select__trigger{height:44px;background:var(--input);font-size:14px}.field input:disabled{color:var(--text-faint);cursor:not-allowed}.managed-project-fields{padding:12px;border:1px solid var(--divider);border-radius:var(--radius-sm);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;background:var(--input)}.managed-project-field{min-width:0;min-height:62px;padding:11px 12px;border:1px solid var(--outline);border-radius:6px;display:flex;align-items:center;gap:11px;background:var(--panel)}.managed-project-field__icon{width:34px;height:34px;flex:0 0 34px;border-radius:6px;display:grid;place-items:center;background:var(--control);color:var(--text-secondary)}.managed-project-field>span:last-child{min-width:0;display:flex;flex-direction:column;gap:4px}.managed-project-field strong{color:var(--text);font-size:13px;font-weight:560}.managed-project-field small{overflow:hidden;color:var(--text-muted);font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.modal__actions{margin-top:4px;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px}.modal__actions .button{min-width:104px}.auth-form,.username-change-form{gap:16px}.username-change-preview{min-height:74px;padding:12px 14px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:flex;align-items:center;gap:13px;background:var(--input)}.username-change-preview__avatar{width:48px;height:48px;flex:0 0 48px;border:1px solid var(--outline-strong);border-radius:50%;display:grid;place-items:center;background:var(--control);color:var(--text-strong);font-size:18px;font-weight:650;line-height:1;text-transform:uppercase}.username-change-preview__copy{min-width:0;display:flex;flex-direction:column;gap:5px}.username-change-preview__copy small{color:var(--text-muted);font-size:11px}.username-change-preview__copy strong{overflow:hidden;color:var(--text-strong);font-size:15px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.username-change-meta{min-height:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--text-muted);font-size:11px;line-height:1.4}.username-change-meta span:last-child{flex:0 0 auto;color:var(--text-faint);font-variant-numeric:tabular-nums}.password-change-form{gap:16px}.password-change-account{min-height:64px;padding:12px 13px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:flex;align-items:center;gap:12px;background:var(--input)}.password-change-account__icon{width:38px;height:38px;flex:0 0 38px;border:1px solid var(--divider);border-radius:50%;display:grid;place-items:center;background:var(--control);color:var(--text-secondary)}.password-change-account>span:last-child{min-width:0;display:flex;flex-direction:column;gap:4px}.password-change-account strong{overflow:hidden;color:var(--text-strong);font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.password-change-account small{color:var(--text-muted);font-size:12px;line-height:1.4}.password-change-checks{margin:-2px 0 0;padding:10px 12px;border:1px solid var(--divider);border-radius:var(--radius-sm);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;background:#ffffff05;list-style:none}.password-change-checks li{min-width:0;display:flex;align-items:center;gap:6px;color:var(--text-faint);font-size:11px;white-space:nowrap}.password-change-checks li.is-met{color:var(--text-secondary)}.password-change-checks li.is-met svg{color:var(--blue)}.invitation-modal{overflow:hidden;padding:27px 28px 23px}.invitation-modal .modal__header{margin-bottom:31px}.invitation-modal .modal__header h2{font-size:24px;font-weight:620}.invitation-modal .modal__header p{font-size:14px;line-height:1.5}.invitation-modal.has-enterprise-tabs .modal__header{margin-bottom:17px}.invitation-modal.is-enterprise-data{height:min(760px,calc(100dvh - 48px));display:flex;flex-direction:column}.invitation-modal.is-enterprise-data .modal__header,.invitation-modal.is-enterprise-data .invitation-primary-tabs{flex:0 0 auto}.invitation-share-panel{min-height:0}.invitation-primary-tabs{width:100%;min-height:42px;margin-bottom:16px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;background:var(--input)}.invitation-primary-tabs button{min-width:0;min-height:40px;border:0;border-right:1px solid var(--divider);background:transparent;color:var(--text-muted);cursor:pointer;font-size:13px;font-weight:570;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}.invitation-primary-tabs button:last-child{border-right:0}.invitation-primary-tabs button:hover{background:var(--control);color:var(--text)}.invitation-primary-tabs button.is-active{background:var(--control);color:var(--text-strong);box-shadow:inset 0 0 0 1px var(--blue)}.invitation-share{display:flex;flex-direction:column;gap:3px}.invitation-share__main{display:grid;grid-template-columns:166px minmax(0,1fr);align-items:center;gap:24px}.invitation-share__qr-panel{min-width:0;display:flex;flex-direction:column;align-items:center;gap:9px}.invitation-share__qr{width:152px;height:152px;padding:10px;border:1px solid var(--outline);border-radius:var(--radius-md);display:grid;place-items:center;overflow:hidden;background:#fff;color:#64748b}.invitation-share__qr img{width:100%;height:100%;display:block;object-fit:contain}.invitation-share__qr-panel>span{color:var(--text-muted);font-size:11px;line-height:1.4;text-align:center}.invitation-share__qr-state{max-width:132px;display:flex;flex-direction:column;align-items:center;gap:7px;color:#64748b;font-size:11px;line-height:1.4;text-align:center}.invitation-share__qr-state.is-error{color:#a8203d}.invitation-share__qr-state button{padding:2px 0;border:0;border-bottom:1px solid currentColor;background:transparent;color:inherit;font-size:11px;cursor:pointer}.invitation-share__content{min-width:0;min-height:152px;padding-left:24px;border-left:1px solid var(--divider);display:flex;flex-direction:column;justify-content:center;gap:19px}.invitation-share__field{min-width:0;display:flex;flex-direction:column;gap:8px}.invitation-share__label{color:var(--text-secondary);font-size:12px;font-weight:560}.invitation-share__value-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.invitation-share__value{min-width:0;min-height:42px;padding:0 12px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:flex;align-items:center;overflow:hidden;background:var(--input);color:var(--text-secondary);font-family:inherit;font-size:12px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}code.invitation-share__value{color:var(--text-strong);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;font-weight:620;letter-spacing:.04em}.invitation-share__value>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.invitation-share__copy{min-width:74px;min-height:42px;padding:0 12px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--control);color:var(--text-secondary);font-size:12px;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,color .15s ease}.invitation-share__copy:hover:not(:disabled){border-color:var(--outline-strong);background:var(--tile);color:var(--text-strong)}.invitation-share__copy:disabled{opacity:.5;cursor:not-allowed}.invitation-share__notice{min-height:36px;padding:8px 10px;border:1px solid var(--warning-outline);border-radius:var(--radius-sm);display:flex;align-items:center;gap:7px;background:var(--warning-surface);color:var(--warning-text);font-size:11px;line-height:1.45}.invitation-share__actions{padding-top:18px;border-top:1px solid var(--divider);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.invitation-share__actions .button{width:100%;min-width:0}.invitation-share__state{min-height:284px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--text-muted);text-align:center}.invitation-share__state>svg{margin-bottom:3px;color:var(--blue)}.invitation-share__state strong{color:var(--text-strong);font-size:14px;font-weight:600}.invitation-share__state span{max-width:360px;font-size:12px;line-height:1.55}.invitation-share__state.is-error>svg{color:var(--danger)}.invitation-share__state .button{min-height:38px;margin-top:6px;padding-inline:15px;font-size:12px}.invitation-enterprise-host{min-height:0;flex:1;display:flex}.invitation-enterprise{min-width:0;min-height:0;flex:1;display:flex;flex-direction:column;gap:13px}.invitation-enterprise__toolbar{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px}.invitation-enterprise__tabs{width:min(280px,54%);min-height:42px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;background:var(--input)}.invitation-enterprise__tab{min-width:0;min-height:40px;padding:0 12px;border:0;border-right:1px solid var(--divider);display:inline-flex;align-items:center;justify-content:center;gap:7px;background:transparent;color:var(--text-muted);cursor:pointer;font-size:12px;font-weight:570;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}.invitation-enterprise__tab:last-child{border-right:0}.invitation-enterprise__tab:hover{background:var(--control);color:var(--text)}.invitation-enterprise__tab--active{background:var(--selected);color:var(--text-strong);box-shadow:inset 3px 0 var(--blue),inset 0 -2px var(--blue)}.invitation-enterprise__export,.invitation-enterprise-state__retry,.invitation-enterprise-pagination__button{border:1px solid var(--outline);border-radius:var(--radius-sm);display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--control);color:var(--text-secondary);cursor:pointer;font-size:12px;font-weight:560;transition:border-color .15s ease,background-color .15s ease,color .15s ease}.invitation-enterprise__export{min-height:42px;padding:0 13px;white-space:nowrap}.invitation-enterprise__export:hover:not(:disabled),.invitation-enterprise-state__retry:hover:not(:disabled),.invitation-enterprise-pagination__button:hover:not(:disabled){border-color:var(--outline-strong);background:var(--tile);color:var(--text-strong)}.invitation-enterprise__export:disabled,.invitation-enterprise-pagination__button:disabled{opacity:.5;cursor:not-allowed}.invitation-enterprise-state__spinner,.invitation-enterprise__export-spinner{animation:interface-spin .8s linear infinite}.invitation-enterprise__panel{min-width:0;min-height:0;flex:1;display:flex;flex-direction:column;gap:11px}.invitation-enterprise__aggregate{min-height:34px;display:flex;align-items:center;color:var(--text);font-size:13px;font-weight:570;font-variant-numeric:tabular-nums;line-height:1.5}.invitation-enterprise-summary,.invitation-enterprise-orders{min-width:0;min-height:0;flex:1;border:1px solid var(--outline);border-radius:var(--radius-md);overflow:hidden;background:var(--input)}.invitation-enterprise-summary{display:flex;flex-direction:column}.invitation-enterprise-summary__head,.invitation-enterprise-summary__row{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(112px,.88fr) minmax(0,1.55fr);align-items:center;gap:14px}.invitation-enterprise-summary__head{min-height:40px;padding:0 14px;border-bottom:1px solid var(--divider);color:var(--text-muted);font-size:11px;font-weight:560}.invitation-enterprise-summary__body{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.invitation-enterprise-summary__row{min-height:70px;padding:10px 14px;border-bottom:1px solid var(--divider)}.invitation-enterprise-summary__row:last-child{border-bottom:0}.invitation-enterprise-summary__member,.invitation-enterprise-summary__counts,.invitation-enterprise-summary__amounts{min-width:0;display:flex;flex-direction:column;gap:5px}.invitation-enterprise-summary__member strong,.invitation-enterprise-summary__counts strong,.invitation-enterprise-summary__amounts strong{overflow:hidden;color:var(--text-strong);font-size:12px;font-weight:620;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.invitation-enterprise-summary__member small,.invitation-enterprise-summary__counts small,.invitation-enterprise-summary__amounts small{overflow:hidden;color:var(--text-muted);font-size:10px;font-style:normal;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.invitation-enterprise-summary__counts,.invitation-enterprise-summary__amounts{font-variant-numeric:tabular-nums}.invitation-enterprise-filter{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}.invitation-enterprise-filter__label{color:var(--text-secondary);font-size:12px;font-weight:560}.invitation-enterprise-filter__select{width:100%;min-width:0;height:38px;padding:0 11px;border:1px solid var(--outline);border-radius:var(--radius-sm);background:var(--input);color:var(--text);font-size:12px;cursor:pointer}.invitation-enterprise-filter__select:hover:not(:disabled){border-color:var(--outline-strong)}.invitation-enterprise-filter__select:disabled{color:var(--text-disabled);cursor:wait}.invitation-enterprise-orders{overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.invitation-enterprise-order{min-width:0;padding:11px 14px;border-bottom:1px solid var(--divider)}.invitation-enterprise-order:last-child{border-bottom:0}.invitation-enterprise-order__header,.invitation-enterprise-order__content,.invitation-enterprise-order__people,.invitation-enterprise-order__people>span,.invitation-enterprise-order__amounts{min-width:0;display:flex}.invitation-enterprise-order__header,.invitation-enterprise-order__content{justify-content:space-between;gap:16px}.invitation-enterprise-order__header{margin-bottom:8px;align-items:center}.invitation-enterprise-order__header strong{overflow:hidden;color:var(--text-strong);font-size:12px;font-weight:620;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.invitation-enterprise-order__header time{flex:0 0 auto;color:var(--text-muted);font-size:10px;font-variant-numeric:tabular-nums}.invitation-enterprise-order__content{align-items:flex-end}.invitation-enterprise-order__people{flex:1;align-items:center;gap:18px}.invitation-enterprise-order__people>span,.invitation-enterprise-order__amounts{flex-direction:column;gap:4px}.invitation-enterprise-order__people>span{color:var(--text-faint);font-size:9px}.invitation-enterprise-order__people strong,.invitation-enterprise-order__amounts strong{overflow:hidden;color:var(--text);font-size:11px;font-weight:590;text-overflow:ellipsis;white-space:nowrap}.invitation-enterprise-order__people small,.invitation-enterprise-order__amounts small{color:var(--text-muted);font-size:9px;font-style:normal;white-space:nowrap}.invitation-enterprise-order__amounts{align-items:flex-end;font-variant-numeric:tabular-nums;text-align:right}.invitation-enterprise-pagination{min-height:36px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}.invitation-enterprise-pagination__button{min-height:34px;padding:0 10px}.invitation-enterprise-pagination__status{color:var(--text-muted);font-size:10px;font-variant-numeric:tabular-nums;text-align:center}.invitation-enterprise-state,.invitation-enterprise-empty{min-height:0;flex:1;padding:30px 20px;border:1px solid var(--outline);border-radius:var(--radius-md);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:var(--input);color:var(--text-muted);text-align:center}.invitation-enterprise-state>svg{color:var(--blue)}.invitation-enterprise-state--error>svg{color:var(--danger)}.invitation-enterprise-state__title,.invitation-enterprise-empty strong{color:var(--text-secondary);font-size:13px;font-weight:590}.invitation-enterprise-state__description,.invitation-enterprise-empty span{max-width:380px;font-size:11px;line-height:1.5}.invitation-enterprise-state__retry{min-height:34px;margin-top:4px;padding:0 11px}.invitation-enterprise__scope-note{flex:0 0 auto;padding-top:12px;border-top:1px solid var(--divider);color:var(--text-muted);font-size:10px;line-height:1.55}.material-session-delete{width:min(480px,100%);min-width:0}.material-session-delete__name{margin:0 0 20px;padding:12px;border-radius:var(--radius-sm);background:var(--input);color:var(--text-strong);overflow-wrap:anywhere}.material-session-delete__error{color:var(--danger)}.points-details-modal{height:min(900px,calc(100dvh - 48px));display:flex;flex-direction:column;overflow:hidden}.points-details-modal .modal__header{flex:0 0 auto}.points-details-shell{min-height:0;flex:1;display:flex;flex-direction:column;gap:14px;overflow-y:auto;overscroll-behavior:contain}.points-details-layout{min-height:0;flex:0 0 auto;display:flex;flex-direction:column;gap:20px}.points-details-layout>*{flex:0 0 auto}.points-details-modal .points-consumption-card__header h3{font-size:16px}.points-details-modal .points-consumption-card__header span,.points-details-modal .points-consumption-card__total small,.points-details-modal .points-consumption-card__summary{font-size:12px}.points-details-modal .points-consumption-card__total strong{font-size:24px;font-weight:600}.points-details-modal .points-heatmap-calendar{max-width:none}.points-ledger-summary{flex:0 0 auto;min-height:82px;padding:14px 16px;border:1px solid var(--outline);border-radius:var(--radius-md);display:flex;align-items:center;gap:13px;background:var(--input)}.points-ledger-summary__icon{width:46px;height:46px;flex:0 0 46px;border:1px solid var(--divider);border-radius:50%;display:grid;place-items:center;background:var(--control);color:var(--text-strong)}.points-ledger-summary__balance,.points-ledger-summary__order{min-width:0;display:flex;flex-direction:column;gap:4px}.points-ledger-summary__balance{flex:1}.points-ledger-summary small{color:var(--text-muted);font-size:11px;font-weight:520}.points-ledger-summary__balance strong{overflow:hidden;color:var(--text-strong);font-size:27px;font-variant-numeric:tabular-nums;font-weight:650;line-height:1;text-overflow:ellipsis;white-space:nowrap}.points-ledger-summary__order{padding-left:18px;border-left:1px solid var(--divider);align-items:flex-end}.points-ledger-summary__order strong{color:var(--text-secondary);font-size:12px;font-weight:570}.points-ledger-summary__wallet{min-width:0;max-width:60%;padding-left:18px;border-left:1px solid var(--divider)}.points-balance-error{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;color:var(--text-secondary);font-size:13px}.points-balance-error button{padding:4px 0;border:0;background:transparent;color:var(--blue-text);font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.points-balance-error button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}@media(max-width:640px){.points-ledger-summary{flex-wrap:wrap}.points-ledger-summary__wallet{flex-basis:100%;max-width:none;padding:12px 0 0;border-left:0;border-top:1px solid var(--divider)}}.points-details-toolbar{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.points-details-toolbar__title h3{margin:0;color:var(--text-strong);font-size:16px;font-weight:600}.points-details-toolbar__title p{margin:4px 0 0;color:var(--text-muted);font-size:12px}.points-details-toolbar__actions{min-width:0;margin-left:auto;display:flex;align-items:center;gap:10px}.points-consumption-card{min-width:0;min-height:0;padding:17px;border:1px solid var(--outline);border-radius:var(--radius-md);display:flex;flex-direction:column;gap:16px;overflow:visible;background:var(--input)}.points-consumption-card__header{display:flex;align-items:center;justify-content:space-between;gap:14px}.points-consumption-card__header>div:first-child,.points-consumption-card__total{min-width:0;display:flex;flex-direction:column;gap:5px}.points-consumption-card__header h3{margin:0;color:var(--text-strong);font-size:15px;font-weight:600}.points-consumption-card__header span,.points-consumption-card__total small,.points-consumption-card__summary{color:var(--text-secondary);font-size:11px}.points-consumption-card__total{align-items:flex-end}.points-consumption-card__total strong{color:var(--text-strong);font-size:20px;font-variant-numeric:tabular-nums;font-weight:650;line-height:1}.points-consumption-card__summary{min-height:16px;margin-top:-9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.points-heatmap-calendar{min-width:0;flex:1;display:grid;grid-template-columns:20px minmax(0,1fr);align-content:center;align-items:start;gap:8px}.points-heatmap-weekdays{padding-top:19px;display:grid;grid-template-rows:repeat(7,10px);gap:3px;color:var(--text-secondary);font-size:9px;line-height:10px;text-align:right}.points-heatmap-calendar__main{min-width:0;display:grid;grid-template-rows:14px auto;gap:5px}.points-heatmap-calendar__viewport{min-width:0;width:100%}.points-heatmap-months{display:grid;grid-template-columns:repeat(var(--points-week-count),minmax(0,1fr));column-gap:3px}.points-heatmap-months{color:var(--text-secondary);font-size:10px;line-height:14px;white-space:nowrap}.points-heatmap-months span{min-width:0}.points-heatmap-grid{display:flex;flex-direction:column;gap:3px;overflow:visible}.points-heatmap-grid__row{display:grid;grid-template-columns:repeat(var(--points-week-count),minmax(0,1fr));column-gap:3px}.points-heatmap-cell{min-width:0;width:100%;height:10px;padding:0;border:1px solid color-mix(in srgb,var(--outline) 76%,transparent);border-radius:2px;background:var(--points-heat-0);cursor:pointer}.points-heatmap-cell[data-level="1"]{background:var(--points-heat-1)}.points-heatmap-cell[data-level="2"]{background:var(--points-heat-2)}.points-heatmap-cell[data-level="3"]{background:var(--points-heat-3)}.points-heatmap-cell[data-level="4"]{background:var(--points-heat-4)}.points-heatmap-cell.is-outside{visibility:hidden}.points-heatmap-cell:hover{border-color:var(--outline-strong)}.points-heatmap-cell:focus-visible{position:relative;z-index:1;outline:2px solid var(--blue);outline-offset:2px}.points-heatmap-legend{margin-top:auto;display:flex;align-items:center;justify-content:flex-end;gap:7px;color:var(--text-secondary);font-size:10px}.points-heatmap-scroll-hint{display:none;color:var(--text-secondary);font-size:10px}.points-heatmap-legend__scale{display:inline-flex;align-items:center;gap:3px}.points-heatmap-legend__scale i{width:11px;height:11px;border:1px solid color-mix(in srgb,var(--outline) 76%,transparent);border-radius:2px;background:var(--points-heat-0)}.points-heatmap-legend__scale i[data-level="1"]{background:var(--points-heat-1)}.points-heatmap-legend__scale i[data-level="2"]{background:var(--points-heat-2)}.points-heatmap-legend__scale i[data-level="3"]{background:var(--points-heat-3)}.points-heatmap-legend__scale i[data-level="4"]{background:var(--points-heat-4)}.points-heatmap-state{min-height:145px;flex:1;padding:22px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:var(--text-secondary);font-size:12px;text-align:center}.points-heatmap-state.is-error svg{color:var(--danger)}.points-heatmap-state button{min-height:36px;padding:0 12px;border:1px solid var(--outline);border-radius:var(--radius-sm);background:var(--control);color:var(--text-strong);cursor:pointer;font-size:12px}.points-ledger-panel{min-width:0;min-height:0;display:flex;flex-direction:column;gap:0;border:1px solid var(--outline);border-radius:var(--radius-md);overflow:hidden}.points-details-tabs{min-width:260px;height:38px;padding:3px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--input)}.points-details-tabs button{min-width:0;border:0;border-radius:5px;background:transparent;color:var(--text-muted);cursor:pointer;font-size:14px;font-weight:500}.points-details-tabs button:hover{color:var(--text)}.points-details-tabs button.is-active{background:var(--selected);color:var(--text-strong);box-shadow:inset 0 -2px var(--blue)}.points-details-refresh{width:38px;height:38px;border:1px solid var(--outline);background:var(--input);color:var(--text-secondary)}.points-details-refresh:hover:not(:disabled){border-color:var(--outline-strong);background:var(--control);color:var(--text-strong)}.points-details-refresh:disabled{color:var(--text-disabled);cursor:wait}.points-ledger{min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden;background:var(--input)}.points-ledger__heading{min-height:34px;padding:0 15px 0 58px;border-bottom:1px solid var(--divider);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;color:var(--text-faint);font-size:10px;font-weight:580;letter-spacing:.04em}.points-ledger__heading span:last-child{text-align:right}.points-ledger__body{min-height:180px;max-height:340px;flex:0 1 auto;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.points-ledger-table{width:100%;border-collapse:collapse;font-size:14px}.points-ledger-table th,.points-ledger-table td{padding:10px 12px;border-bottom:1px solid var(--divider);text-align:left;vertical-align:middle}.points-ledger-table th{position:sticky;top:0;background:var(--input);color:var(--text-muted);font-size:12px;font-weight:500;white-space:nowrap}.points-ledger-table small{display:block;margin-top:3px;color:var(--text-muted);font-size:12px}.points-ledger-table time{white-space:nowrap}.points-ledger-table__note{min-width:150px;overflow-wrap:anywhere}.points-ledger-table .is-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.points-ledger-table .is-income{color:var(--success-text)}.points-ledger-table .is-expense{color:var(--text-strong)}.points-ledger__sentinel{height:1px}.points-ledger__load-status{display:inline-flex;align-items:center;gap:6px}.points-details-state{min-height:100%;padding:30px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--text-muted);text-align:center}.points-details-state strong{color:var(--text-secondary);font-size:14px;font-weight:590}.points-details-state span{max-width:390px;font-size:12px;line-height:1.5}.points-details-state.is-error svg{color:var(--danger)}.points-details-state .button{min-height:36px;margin-top:6px;padding-inline:16px;font-size:12px}.points-ledger-list{margin:0;padding:0;list-style:none}.points-ledger-row{min-height:70px;padding:11px 15px;border-bottom:1px solid var(--divider);display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:11px}.points-ledger-row:last-child{border-bottom:0}.points-ledger-row__direction{width:32px;height:32px;border:1px solid var(--divider);border-radius:50%;display:grid;place-items:center;background:var(--control);color:var(--text-muted)}.points-ledger-row__direction.is-income{color:var(--text-strong)}.points-ledger-row__copy,.points-ledger-row__amount{min-width:0;display:flex;flex-direction:column;gap:5px}.points-ledger-row__copy strong{overflow:hidden;color:var(--text);font-size:13px;font-weight:580;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.points-ledger-row__copy>span{min-width:0;display:flex;align-items:center;gap:7px;overflow:hidden;color:var(--text-muted);font-size:10px;white-space:nowrap}.points-ledger-row__copy i{width:2px;height:2px;flex:0 0 auto;border-radius:50%;background:var(--text-disabled)}.points-ledger-row__amount{align-items:flex-end;font-variant-numeric:tabular-nums;text-align:right}.points-ledger-row__amount strong{color:var(--text-secondary);font-size:15px;font-weight:650}.points-ledger-row__amount strong.is-income{color:var(--text-strong)}.points-ledger-row__amount small{color:var(--text-faint);font-size:10px;white-space:nowrap}.points-ledger__footer{min-height:42px;padding:7px 14px;border-top:1px solid var(--divider);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;color:var(--text-faint);font-size:12px}.points-ledger__footer button{min-height:28px;padding:0 8px;border:0;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:transparent;color:var(--text-secondary);cursor:pointer;font-size:11px;font-weight:560}.points-ledger__footer button:hover:not(:disabled){color:var(--text-strong)}.points-ledger__footer button:disabled{color:var(--text-disabled);cursor:wait}@media(max-width:1050px){.points-consumption-card{padding:14px 16px;gap:12px}.points-heatmap-calendar{max-width:740px}}.registration-identity{min-width:0;margin:0;padding:0;border:0}.registration-identity legend{margin-bottom:8px;color:var(--text-secondary);font-size:13px;font-weight:520}.identity-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.identity-option{min-width:0;min-height:66px;padding:11px 12px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:flex;align-items:flex-start;gap:10px;background:var(--input);cursor:pointer;transition:border-color .16s ease,background-color .16s ease}.identity-option:hover{border-color:var(--outline-strong);background:var(--control)}.identity-option.is-selected{border-color:var(--blue);background:var(--input)}.identity-option:has(input:focus-visible){outline:2px solid var(--blue);outline-offset:2px}.identity-option input[type=radio]{width:18px;height:18px;min-height:18px;margin:2px 0 0;padding:0;flex:0 0 18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #666;border-radius:50%;outline:0;background:transparent;cursor:pointer}.identity-option input[type=radio]:checked{border-color:var(--blue);background:var(--blue);box-shadow:inset 0 0 0 4px var(--input)}.identity-option input[type=radio]:disabled,.identity-option:has(input:disabled){cursor:not-allowed}.identity-option:has(input:disabled){opacity:.62}.identity-option__copy{min-width:0;display:flex;flex-direction:column;gap:3px}.identity-option__copy strong{color:var(--text-strong);font-size:14px;font-weight:560;line-height:1.35}.identity-option__copy small{color:var(--text-secondary);font-size:12px;line-height:1.35}.organization-code-field .field-hint{color:var(--text-secondary)}.organization-code-field input[aria-invalid=true],.invitation-code-field input[aria-invalid=true]{border-color:var(--danger)}.invitation-code-status{min-height:17px;margin-top:-3px;display:flex;align-items:center;gap:5px;color:var(--text-muted);font-size:12px;line-height:1.4}.invitation-code-status svg{flex:0 0 auto}.invitation-code-status.is-valid{color:var(--success-text)}.invitation-code-status.is-invalid{color:var(--danger-text)}.field-error{margin-top:-3px;color:var(--danger-text);font-size:12px;line-height:1.4}.auth-actions{align-items:center}.auth-actions__spacer{flex:1}.auth-actions__primary{display:flex;gap:12px}.auth-switch-button{padding-inline:8px;border-color:transparent;justify-content:flex-start;background:transparent;color:var(--text-secondary)}.auth-switch-button:hover{border-color:var(--outline);background:var(--control);color:var(--text-strong)}.inline-message{min-height:40px;padding:9px 11px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:flex;align-items:center;gap:8px;color:var(--text-secondary);background:var(--input);font-size:13px}.inline-message.error{border-color:color-mix(in srgb,var(--danger) 42%,transparent);color:var(--danger-text);background:var(--danger-surface)}.error-text{color:var(--danger-text)}.confirm-content{min-height:90px;display:flex;align-items:center;gap:16px}.confirm-icon{width:48px;height:48px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;background:var(--danger-surface);color:var(--danger-text)}.confirm-content p{color:var(--text-secondary);line-height:1.6}.confirm-content strong{color:var(--text)}.workspace-page{padding:0 46px 52px}.workspace-header{padding:25px 0 22px;border-bottom:1px solid var(--divider)}.workspace-heading{min-width:0}.workspace-back{min-height:34px;padding:0 7px 0 0;border:0;display:inline-flex;align-items:center;gap:7px;background:transparent;color:var(--text-secondary);font-size:13px;cursor:pointer}.workspace-back:hover{color:var(--text-strong)}.workspace-title-row{margin-top:15px;padding-right:70px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.workspace-title-row>div:first-child{min-width:0}.workspace-title-row h1{overflow:hidden;color:var(--text-strong);font-size:30px;font-weight:590;line-height:1.2;letter-spacing:.01em;text-overflow:ellipsis;white-space:nowrap}.workspace-header__actions{flex:0 0 auto;display:flex;align-items:center;gap:12px}.workspace-project-status{min-height:38px;padding:0 13px;border:1px solid var(--outline);border-radius:var(--radius-sm);background:var(--input);color:var(--text-secondary);font-size:12px}.workspace-refresh{min-height:38px;padding-inline:12px;font-size:12px}.workspace-overview{margin-top:17px;padding:10px;border:1px solid var(--outline);border-radius:var(--radius-md);display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(180px,1.3fr);gap:1px;background:var(--divider);overflow:hidden}.workspace-overview>div{min-width:0;min-height:62px;padding:10px 14px;display:flex;flex-direction:column;justify-content:center;gap:7px;background:var(--panel)}.workspace-overview>div:first-child{border-radius:6px 0 0 6px}.workspace-overview>div:last-child{border-radius:0 6px 6px 0}.workspace-overview span{color:var(--text-muted);font-size:10px}.workspace-overview strong{overflow:hidden;color:var(--text);font-size:13px;font-weight:560;text-overflow:ellipsis;white-space:nowrap}.workspace-overview__progress{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-content:center}.workspace-overview__progress .progress-track{grid-column:1 / -1}.workspace-load-warning{margin-top:18px}.workspace-console{margin-top:20px;min-width:0}.workspace-console__summary{padding:18px;border:1px solid var(--outline);border-radius:var(--radius-md);background:var(--panel)}.workspace-console__summary-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px}.workspace-console__summary-header>div:first-child{min-width:0}.workspace-console__summary-header h2{color:var(--text-strong);font-size:20px;font-weight:580}.workspace-console__task{min-width:188px;min-height:62px;padding:10px 13px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:center;gap:5px 12px;background:var(--input)}.workspace-console__task span,.workspace-console__task small{color:var(--text-muted);font-size:9px}.workspace-console__task strong{justify-self:end;color:var(--text);font-size:12px;font-weight:560}.workspace-console__task small{grid-column:1 / -1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-flow-map{margin-top:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.workspace-flow-card{min-width:0;min-height:76px;padding:10px;border:1px solid var(--divider);border-radius:7px;display:grid;grid-template-columns:20px 34px minmax(0,1fr) 18px;align-items:center;gap:8px;background:var(--card);color:var(--text-secondary);text-decoration:none;transition:border-color .15s ease,background-color .15s ease,color .15s ease}.workspace-flow-card:hover{border-color:var(--outline);background:var(--control);color:var(--text)}.workspace-flow-card.is-processing{border-color:rgba(var(--accent-rgb),.55)}.workspace-flow-card__index{color:var(--text-faint);font-size:9px;font-variant-numeric:tabular-nums}.workspace-flow-card__icon{width:34px;height:34px;border-radius:6px;display:grid;place-items:center;background:var(--control);color:var(--text-secondary)}.workspace-flow-card.is-processing .workspace-flow-card__icon,.workspace-flow-card.is-processing .workspace-flow-card__state{background:var(--icon-tile);color:var(--blue)}.workspace-flow-card__copy{min-width:0;display:flex;flex-direction:column;gap:3px}.workspace-flow-card__copy strong{overflow:hidden;color:var(--text);font-size:12px;font-weight:560;text-overflow:ellipsis;white-space:nowrap}.workspace-flow-card__copy small{overflow:hidden;color:var(--text-muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.workspace-flow-card__state{display:grid;place-items:center;color:var(--text-muted)}.workspace-flow-card.is-ready .workspace-flow-card__state{color:var(--text-secondary)}.workspace-flow-card.is-failed .workspace-flow-card__state{color:var(--danger)}.workspace-console-grid{margin-top:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"script characters" "script scenes" "shots shots";align-items:stretch;gap:18px}.console-section{min-width:0;min-height:0;width:100%;align-self:stretch;scroll-margin-top:calc(var(--topbar-height) + 18px)}.console-section--script{grid-area:script}.console-section--characters{grid-area:characters;container:asset-panel / inline-size}.console-section--scenes{grid-area:scenes;container:asset-panel / inline-size}.console-section--shots{grid-area:shots}.workspace-panel{min-height:0;padding:22px;border:1px solid var(--outline);border-radius:var(--radius-md);background:var(--panel)}.workspace-panel__header{min-height:52px;padding-bottom:14px;border-bottom:1px solid var(--divider);display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.workspace-panel__header>div{min-width:0}.workspace-panel__header h2{color:var(--text-strong);font-size:22px;font-weight:580}.task-state,.workspace-count-pill{min-height:34px;padding:0 11px;border:1px solid var(--outline);border-radius:999px;display:inline-flex;align-items:center;gap:7px;background:var(--input);color:var(--text-secondary);font-size:11px;white-space:nowrap}.task-state-processing{border-color:rgba(var(--accent-rgb),.55);color:var(--text)}.task-state-completed{color:var(--text)}.task-state-failed{border-color:#d16c6c8c;color:var(--danger-text)}.workspace-count-pill.is-muted{color:var(--text-muted)}.workspace-shot-credit-summary{min-height:34px;padding:0 11px;border:1px solid var(--outline);border-radius:999px;display:inline-flex;align-items:center;gap:6px;background:var(--input);color:var(--text-secondary);font-size:11px;white-space:nowrap}.workspace-shot-credit-summary svg,.workspace-shot-credit-summary .points-icon{flex:0 0 auto;color:var(--text-secondary)}.workspace-shot-credit-summary strong{color:var(--text-strong);font-weight:620;font-variant-numeric:tabular-nums}.workspace-shot-credit-summary.is-loading strong{color:var(--text-secondary)}.workspace-script-editor{margin-top:18px;border:1px solid var(--outline);border-radius:var(--radius-sm);overflow:hidden;background:var(--input)}.workspace-script-editor__toolbar{min-height:48px;padding:7px 9px 7px 14px;border-bottom:1px solid var(--divider);display:flex;align-items:center;justify-content:space-between;gap:18px}.workspace-script-editor__toolbar>div{min-width:0;display:flex;align-items:center;gap:8px;color:var(--text-secondary)}.workspace-script-editor__toolbar>div span{color:var(--text);font-size:12px;font-weight:550}.workspace-script-editor__toolbar>div small{color:var(--text-muted);font-size:10px}.compact-button{min-height:34px;padding-inline:10px;font-size:11px}.workspace-script-editor textarea{width:100%;min-height:230px;padding:17px;border:0;outline:0;resize:vertical;display:block;background:var(--input);color:var(--text);font-size:13px;line-height:1.85}.workspace-script-editor textarea::placeholder{color:var(--text-faint)}.workspace-script-editor__footer{min-height:69px;padding:10px;border-top:1px solid var(--divider);display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--panel)}@media(min-width:1101px){.script-workspace-panel{display:flex;flex-direction:column;overflow:hidden}.script-workspace-panel .workspace-script-editor{min-height:0;flex:1 1 auto;display:flex;flex-direction:column}.script-workspace-panel .workspace-script-editor textarea{min-height:0;flex:1 1 auto;resize:none;overflow-y:auto}}.workspace-enhance-toggle{min-width:240px;min-height:48px;padding:7px 10px;border:1px solid var(--outline);border-radius:7px;display:grid;grid-template-columns:20px minmax(0,1fr) 31px;align-items:center;gap:9px;background:var(--input);color:var(--text-secondary);text-align:left;cursor:pointer}.workspace-enhance-toggle.is-selected{border-color:var(--blue);color:var(--text)}.workspace-enhance-toggle>span{min-width:0;display:flex;flex-direction:column;gap:2px}.workspace-enhance-toggle strong{font-size:11px;font-weight:560}.workspace-enhance-toggle small{color:var(--text-muted);font-size:9px}.workspace-enhance-toggle>i{width:29px;height:17px;padding:2px;border-radius:999px;display:flex;justify-content:flex-start;background:var(--emphasized)}.workspace-enhance-toggle>i:after{content:"";width:13px;height:13px;border-radius:50%;background:var(--text-secondary)}.workspace-enhance-toggle.is-selected>i{justify-content:flex-end;background:var(--blue)}.workspace-enhance-toggle.is-selected>i:after{background:var(--on-blue)}.workspace-analyze-button{min-width:168px;min-height:44px}.workspace-composer-error{margin-top:14px}.workspace-asset-panel__header{flex-wrap:wrap;gap:14px 18px}.workspace-asset-panel__header>div:first-child{flex:1 1 210px}.workspace-asset-summary{margin-top:6px;display:block;color:var(--text-secondary);font-size:12px;font-variant-numeric:tabular-nums}.workspace-asset-actions{flex:0 1 auto;margin-left:auto;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.workspace-asset-action{min-height:36px;padding-inline:11px;gap:7px;font-size:12px;white-space:nowrap}.project-asset-batch-form{display:flex;flex-direction:column;gap:18px}.project-asset-batch-fields{display:grid;grid-template-columns:minmax(0,1.35fr) repeat(2,minmax(0,.8fr));gap:14px}.project-asset-batch-field .custom-select__trigger{height:44px;font-size:14px}.project-asset-batch-field .custom-select__option{min-height:40px;font-size:14px}.project-asset-batch-note{margin:0;color:var(--text-muted);font-size:12px;line-height:1.6}.subject-crud-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.55fr);gap:16px}.subject-crud-form__prompt,.subject-crud-form__full{grid-column:1 / -1}.subject-crud-form .field input,.subject-crud-form .field textarea,.subject-crud-form .custom-select__trigger,.subject-crud-fixed-type{border-color:var(--outline);background:var(--input)}.subject-crud-form .field textarea{min-height:190px;resize:vertical}.subject-crud-fixed-type{min-height:44px;padding:0 12px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:flex;align-items:center;color:var(--text-secondary);font-size:13px}.crud-delete-confirm{min-height:44px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--danger) 46%,transparent);border-radius:var(--radius-sm);display:flex;align-items:center;gap:9px;background:var(--danger-surface);color:var(--danger-text);font-size:11px;line-height:1.55}.crud-delete-confirm svg{flex:0 0 auto}.crud-modal-actions{align-items:center;flex-wrap:wrap}.crud-modal-actions>.button:first-child{margin-right:auto}.workspace-asset-error{margin-top:14px}.workspace-asset-carousel{--asset-page-height: calc(62.5cqi + 85px) ;min-width:0;max-width:100%;margin-top:16px}.workspace-asset-carousel:focus-visible{outline:2px solid var(--blue);outline-offset:4px}.workspace-asset-viewport{min-width:0;min-height:var(--asset-page-height);overflow:hidden}.workspace-asset-strip{min-width:0;min-height:var(--asset-page-height);max-width:100%;padding:0 7px 2px 1px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;column-gap:10px;animation-duration:.22s;animation-timing-function:cubic-bezier(.22,1,.36,1);animation-fill-mode:both}.workspace-asset-strip.is-page-next{animation-name:workspace-asset-page-next}.workspace-asset-strip.is-page-previous{animation-name:workspace-asset-page-previous}@keyframes workspace-asset-page-next{0%{opacity:.35;transform:translate(18px)}to{opacity:1;transform:translate(0)}}@keyframes workspace-asset-page-previous{0%{opacity:.35;transform:translate(-18px)}to{opacity:1;transform:translate(0)}}.workspace-asset-pagination{min-height:28px;margin-top:8px;display:flex;align-items:center;justify-content:center;gap:2px}.workspace-asset-page-arrow{width:28px;height:28px;padding:0;border:1px solid transparent;border-radius:5px;display:grid;place-items:center;background:transparent;color:var(--text-secondary);cursor:pointer;transition:border-color .14s ease,background-color .14s ease,color .14s ease}.workspace-asset-page-arrow:hover:not(:disabled){border-color:var(--outline);background:var(--control);color:var(--text-strong)}.workspace-asset-page-arrow:focus-visible{border-color:var(--blue);outline:2px solid rgba(var(--accent-rgb),.22);outline-offset:1px}.workspace-asset-page-arrow:disabled{color:var(--text-muted);cursor:not-allowed;opacity:.34}.workspace-asset-page-dot{width:28px;height:28px;padding:0;border:0;display:grid;place-items:center;background:transparent;cursor:pointer}.workspace-asset-page-dot>span{width:6px;height:6px;border-radius:999px;display:block;background:var(--emphasized);transition:width .16s ease,background-color .16s ease,transform .16s ease}.workspace-asset-page-dot:hover>span{background:var(--text-secondary);transform:scale(1.15)}.workspace-asset-page-dot[aria-current=page]>span{width:8px;height:8px;background:var(--blue);transform:none}.workspace-asset-page-dot:focus-visible{outline:none}.workspace-asset-page-dot:focus-visible>span{outline:2px solid var(--blue);outline-offset:3px}.workspace-asset-card{width:100%;min-width:0}.workspace-asset-card__detail-trigger{width:100%;min-width:0;padding:0;border:0;display:block;background:transparent;color:inherit;font:inherit;text-align:inherit;cursor:pointer}.workspace-asset-card__detail-trigger:focus-visible{outline:none}.workspace-asset-card__detail-trigger:hover .workspace-asset-card__media,.workspace-asset-card__detail-trigger:focus-visible .workspace-asset-card__media{border-color:var(--emphasized)}.workspace-asset-card__detail-trigger:focus-visible .workspace-asset-card__media{box-shadow:0 0 0 2px var(--blue)}@container asset-panel (min-width: 330px){.workspace-asset-carousel{--asset-page-height: calc(41.667cqi + 83px) }.workspace-asset-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}@container asset-panel (min-width: 440px){.workspace-asset-carousel{--asset-page-height: calc(31.25cqi + 82px) }.workspace-asset-strip{grid-template-columns:repeat(4,minmax(0,1fr))}}@container asset-panel (min-width: 550px){.workspace-asset-carousel{--asset-page-height: calc(25cqi + 81px) }.workspace-asset-strip{grid-template-columns:repeat(5,minmax(0,1fr))}}@container asset-panel (min-width: 660px){.workspace-asset-carousel{--asset-page-height: calc(20.833cqi + 81px) }.workspace-asset-strip{grid-template-columns:repeat(6,minmax(0,1fr))}}@container asset-panel (min-width: 770px){.workspace-asset-carousel{--asset-page-height: calc(17.857cqi + 80px) }.workspace-asset-strip{grid-template-columns:repeat(7,minmax(0,1fr))}}@container asset-panel (min-width: 880px){.workspace-asset-carousel{--asset-page-height: calc(15.625cqi + 80px) }.workspace-asset-strip{grid-template-columns:repeat(8,minmax(0,1fr))}}.workspace-asset-card__media{width:100%;aspect-ratio:4 / 5;overflow:hidden;border:1px solid var(--outline);border-radius:var(--radius-sm);display:block;position:relative;background:var(--tile);transform:scale(.985);transform-origin:center;transition:border-color .16s ease,box-shadow .16s ease,transform .18s cubic-bezier(.22,1,.36,1)}@media(hover:hover)and (pointer:fine){.workspace-asset-card__detail-trigger:hover .workspace-asset-card__media{transform:scale(1)}}.workspace-asset-card__prompt{position:absolute;top:0;right:0;bottom:0;left:0;padding:13px;display:flex;flex-direction:column;justify-content:space-between;gap:10px;background:var(--tile)}.workspace-asset-card__prompt>span{display:inline-flex;align-items:center;gap:6px;color:var(--text-secondary);font-size:12px;font-weight:550}.workspace-asset-card__prompt-text{margin:0;overflow:hidden;display:-webkit-box;color:var(--text);font-size:12px;line-height:1.58;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:6}.workspace-asset-card__prompt>span:first-child{white-space:nowrap}.workspace-asset-card.is-processing .workspace-asset-card__media{border-style:dashed}.workspace-asset-card__media img{width:auto;height:100%;max-width:none;display:block;position:absolute;top:0;left:50%;z-index:1;transform:translate(-50%);object-fit:contain;object-position:center;background:var(--tile)}.workspace-asset-card.is-character-image .workspace-asset-card__media img{left:0;transform:none;object-position:left center}.workspace-asset-card__copy{width:100%;min-width:0;padding:9px 2px 0;border:0;display:block;background:transparent;color:inherit;font:inherit;text-align:center;cursor:pointer}.workspace-asset-card__copy:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:var(--radius-sm)}.workspace-asset-card__copy strong,.workspace-asset-card__copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-asset-card__copy strong{color:var(--text);font-size:13px;font-weight:570}.workspace-asset-card__copy small{margin-top:4px;color:var(--text-secondary);font-size:12px}.workspace-trusted-action{width:100%;min-height:36px;margin-top:8px;padding:0 8px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:inline-flex;align-items:center;justify-content:center;gap:6px;overflow:hidden;background:var(--input);color:var(--text-secondary);font:inherit;font-size:11px;font-weight:560;cursor:pointer;transition:border-color .16s ease,background-color .16s ease,color .16s ease}.workspace-trusted-action span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-trusted-action:hover:not(:disabled){border-color:var(--blue);background:var(--control);color:var(--text-strong)}.workspace-trusted-action:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.workspace-trusted-action:disabled{cursor:default}.workspace-trusted-action.is-active,.workspace-trusted-action.is-processing{opacity:1;background:var(--control);color:var(--text)}.workspace-trusted-action.is-failed{opacity:1;border-color:color-mix(in srgb,var(--danger) 42%,transparent);background:var(--danger-surface);color:var(--danger-text)}.subject-upload-list{max-height:min(430px,52vh);padding-right:3px;display:grid;gap:9px;overflow-y:auto;scrollbar-color:var(--emphasized) transparent;scrollbar-width:thin}.subject-upload-option{width:100%;min-height:78px;padding:13px 14px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:12px;background:var(--input);color:var(--text);text-align:left;cursor:pointer;transition:border-color .15s ease,background-color .15s ease}.subject-upload-option:hover{background:var(--card)}.subject-upload-option.is-selected{border-color:var(--blue);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.2)}.subject-upload-option__radio{width:20px;height:20px;border:1px solid var(--text-muted);border-radius:50%;display:grid;place-items:center}.subject-upload-option.is-selected .subject-upload-option__radio{border-color:var(--blue)}.subject-upload-option__radio i{width:10px;height:10px;border-radius:50%;background:transparent}.subject-upload-option.is-selected .subject-upload-option__radio i{background:var(--blue)}.subject-upload-option__copy{min-width:0}.subject-upload-option__copy strong,.subject-upload-option__copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.subject-upload-option__copy strong{color:var(--text-strong);font-size:14px;font-weight:570}.subject-upload-option__copy small{margin-top:5px;color:var(--text-secondary);font-size:12px}.subject-upload-option__type{min-height:28px;padding:0 9px;border:1px solid var(--outline);border-radius:999px;display:inline-flex;align-items:center;color:var(--text-secondary);font-size:12px}.subject-upload-help{margin:12px 1px 0;color:var(--text-secondary);font-size:12px}.subject-upload-actions{margin-top:18px;flex-wrap:wrap}.subject-upload-library-button{margin-right:auto}.subject-library-search{display:flex;gap:8px;margin-bottom:16px}.subject-library-search input{flex:1;min-width:0;padding:8px 12px;border:1px solid var(--outline);border-radius:var(--radius-sm);background:var(--input);color:var(--text)}.subject-library-results{max-height:min(480px,48vh);min-height:180px;overflow-y:auto;overscroll-behavior:contain;padding:2px}.subject-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.subject-library-card{min-width:0;overflow:hidden;padding:0 0 10px;border:1px solid var(--outline);border-radius:var(--radius-sm);background:var(--card);color:var(--text);text-align:left;cursor:pointer}.subject-library-card:hover:not(:disabled){background:var(--control)}.subject-library-card.is-selected{border-color:var(--blue)}.subject-library-card__media{position:relative;display:block;aspect-ratio:4 / 3;background:var(--input)}.subject-library-card__media img{display:block;width:100%;height:100%;object-fit:contain}.subject-library-card__selected{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--blue);color:var(--on-blue)}.subject-library-card>strong,.subject-library-card>small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:8px 10px 0}.subject-library-card>strong{font-size:14px}.subject-library-card>small{color:var(--text-secondary);font-size:12px;margin-top:4px}.subject-library-state{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--text-secondary);text-align:center}.subject-library-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;margin-top:14px;color:var(--text-secondary);font-size:12px}.subject-library-pagination>span:first-child{margin-right:auto}.subject-library-actions{margin-top:16px}@media(max-width:979px){.subject-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:719px){.subject-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:419px){.subject-library-grid{grid-template-columns:minmax(0,1fr)}}.workspace-blank-state{min-height:230px;padding:34px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text-muted);text-align:center}.workspace-blank-state__icon{width:54px;height:54px;margin-bottom:16px;border:1px solid var(--outline);border-radius:10px;display:grid;place-items:center;background:var(--control)}.workspace-blank-state h3{color:var(--text);font-size:16px;font-weight:570}.workspace-blank-state p{max-width:480px;margin-top:8px;color:var(--text-muted);font-size:11px;line-height:1.65}.workspace-blank-state .button{margin-top:18px}.workspace-shot-header__actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.workspace-shot-generate-button{min-height:40px;padding-inline:15px;white-space:nowrap}.workspace-shot-create-button{min-height:40px;padding-inline:13px;white-space:nowrap}.workspace-shot-feedback{min-height:42px;margin-top:12px;padding:10px 12px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:flex;align-items:center;gap:9px;background:var(--input);color:var(--text-secondary);font-size:11px;line-height:1.5}.workspace-shot-feedback.is-success svg{flex:0 0 auto;color:var(--text)}.workspace-shot-bulk-toolbar{margin-top:14px;padding:10px 12px;border:1px solid var(--outline);border-radius:var(--radius-sm);position:relative;z-index:8;display:grid;grid-template-columns:max-content minmax(520px,760px) max-content;align-items:end;justify-content:start;gap:12px;background:var(--tile)}.workspace-shot-bulk-toolbar__intro{min-height:34px;display:flex;flex-direction:column;justify-content:center;gap:2px;white-space:nowrap}.workspace-shot-bulk-toolbar__intro strong{color:var(--text-strong);font-size:11px;font-weight:650}.workspace-shot-bulk-toolbar__intro span{color:var(--text-muted);font-size:9px}.workspace-shot-bulk-toolbar__controls{min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.workspace-shot-bulk-field{min-width:0;display:grid;gap:4px}.workspace-shot-bulk-field>span{color:var(--text-muted);font-size:9px;line-height:1}.workspace-shot-bulk-select .custom-select__trigger{height:34px;padding:0 9px 0 10px;border-radius:6px;gap:7px;background:var(--input);font-size:11px}.workspace-shot-bulk-select .custom-select__menu{min-width:150px;top:calc(100% + 5px)}.workspace-shot-bulk-select .custom-select__option{min-height:34px;font-size:11px}.workspace-shot-bulk-apply{min-height:34px;padding-inline:12px;white-space:nowrap}.workspace-shot-table{--workspace-shot-columns: 28px 36px 82px 94px 94px 82px minmax(240px, 1.9fr) 40px 92px 50px 50px 64px 46px 78px 52px 70px 56px 54px;margin-top:14px;border:1px solid var(--outline);border-radius:var(--radius-sm);overflow-x:auto;background:var(--input)}.workspace-shot-table__row{min-width:1472px;min-height:44px;padding:0 10px;border-top:1px solid var(--divider);display:grid;grid-template-columns:var(--workspace-shot-columns);align-items:center;gap:8px;color:var(--text-secondary);font-size:10px;transition:background-color .14s ease,box-shadow .14s ease,color .14s ease}.workspace-shot-table__row:first-child{border-top:0}.workspace-shot-table__row.is-header{min-height:38px;background:var(--control);color:var(--text-muted);font-size:9px;font-weight:620;letter-spacing:.04em}.workspace-shot-table__row.is-header>span{height:100%;display:flex;align-items:center;box-sizing:border-box}.workspace-shot-table__row.is-header>.workspace-shot-table__editable-heading{padding-inline:5px}.workspace-shot-table__row.is-header>.workspace-shot-table__action-heading{justify-content:center}.workspace-shot-table__row.is-header>.workspace-shot-select-cell{display:grid}.workspace-shot-table__row>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(hover:hover)and (pointer:fine){.workspace-shot-table__row:not(.is-header):hover{background:var(--control);box-shadow:inset 2px 0 0 var(--emphasized);color:var(--text)}}.workspace-shot-table__row.is-selected,.workspace-shot-table__row.is-selected:hover{background:rgba(var(--accent-rgb),.055);box-shadow:inset 2px 0 rgba(var(--accent-rgb),.76);color:var(--text)}.workspace-shot-table__row.is-inline-editing,.workspace-shot-table__row.is-inline-editing:hover{position:relative;z-index:2;background:var(--control);box-shadow:inset 2px 0 0 var(--blue);color:var(--text)}.workspace-shot-table__row.is-saving{cursor:progress}.workspace-shot-table__number{color:var(--text-muted);font-variant-numeric:tabular-nums}.workspace-shot-credit-cell{color:var(--text);font-variant-numeric:tabular-nums}.workspace-shot-table__row>.workspace-shot-select-cell{overflow:visible;display:grid;place-items:center}.workspace-shot-select{width:28px;height:28px;display:grid;place-items:center;cursor:pointer}.workspace-shot-select input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:15px;height:15px;margin:0;border:1px solid var(--emphasized);border-radius:4px;display:grid;place-items:center;background:var(--input);cursor:pointer;transition:border-color .12s ease,background-color .12s ease,opacity .12s ease}.workspace-shot-select input:after{content:"";width:7px;height:4px;border-left:2px solid var(--on-blue);border-bottom:2px solid var(--on-blue);opacity:0;transform:translateY(-1px) rotate(-45deg) scale(.72);transition:opacity .1s ease,transform .1s ease}.workspace-shot-select input:checked,.workspace-shot-select input:indeterminate{border-color:var(--blue);background:var(--blue)}.workspace-shot-select input:checked:after{opacity:1;transform:translateY(-1px) rotate(-45deg) scale(1)}.workspace-shot-select input:indeterminate:after{width:7px;height:0;border-left:0;border-bottom:2px solid var(--on-blue);opacity:1;transform:none}.workspace-shot-select input:focus-visible{outline:2px solid rgba(var(--accent-rgb),.34);outline-offset:2px}.workspace-shot-select input:disabled{cursor:not-allowed;opacity:.42}.workspace-shot-select:has(input:disabled){cursor:not-allowed}.workspace-shot-cell{height:100%;display:flex;align-items:center}.workspace-shot-cell.is-editing{overflow:visible;position:relative;z-index:4}.workspace-shot-cell__button{width:100%;min-width:0;min-height:30px;padding:0 5px;border:1px solid transparent;border-radius:4px;display:flex;align-items:center;background:transparent;color:inherit;font-size:inherit;text-align:left;cursor:pointer}.workspace-shot-cell__button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-shot-cell__button:hover{border-color:var(--outline);background:var(--tile);color:var(--text-strong)}.workspace-shot-cell__button:focus-visible{border-color:var(--blue);outline:2px solid rgba(var(--accent-rgb),.22);outline-offset:1px}.workspace-shot-cell__button:disabled{cursor:progress;opacity:.56}.workspace-shot-dialogue-cell{display:flex;align-items:center;justify-content:center}.workspace-shot-dialogue{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:34px;height:26px;padding:0 4px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--text-secondary);font:inherit;line-height:1;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.workspace-shot-dialogue__dot{width:4px;height:4px;flex:0 0 4px;border-radius:50%;background:currentColor;opacity:.55}.workspace-shot-dialogue.has-dialogue{color:var(--blue);background:rgba(var(--accent-rgb),.08)}.workspace-shot-dialogue.has-dialogue .workspace-shot-dialogue__dot{opacity:1}.workspace-shot-dialogue:hover:not(:disabled){border-color:var(--outline);background:var(--tile);color:var(--text-strong)}.workspace-shot-dialogue:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}.workspace-shot-dialogue:disabled{cursor:default}@media(prefers-reduced-motion:reduce){.workspace-shot-dialogue{transition:none}}.workspace-shot-inline-control{width:100%;min-width:0;height:30px;padding:0 6px;border:1px solid var(--blue);border-radius:4px;outline:0;background:var(--input);color:var(--text-strong);font-size:10px;box-shadow:0 0 0 2px rgba(var(--accent-rgb),.14)}.workspace-shot-inline-control:disabled{cursor:progress;opacity:.64}.workspace-shot-inline-multi-anchor{width:100%;min-width:0;height:30px;padding:0 6px;border:1px solid var(--blue);border-radius:4px;overflow:hidden;display:flex;align-items:center;background:var(--input);color:var(--text-strong);text-overflow:ellipsis;white-space:nowrap;box-shadow:0 0 0 2px rgba(var(--accent-rgb),.14)}.workspace-shot-inline-popover{position:fixed;z-index:240;overflow:hidden;border:1px solid var(--emphasized);border-radius:var(--radius-sm);background:var(--card);box-shadow:0 18px 44px #00000085}.workspace-shot-inline-popover__options{max-height:220px;overflow-y:auto;padding:6px}.workspace-shot-inline-option{width:100%;min-height:36px;padding:6px 7px;border:0;border-radius:5px;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:7px;background:transparent;color:var(--text-secondary);font-size:11px;text-align:left;cursor:pointer}.workspace-shot-inline-option:hover,.workspace-shot-inline-option:focus-visible{outline:0;background:var(--control);color:var(--text-strong)}.workspace-shot-inline-option.is-selected{background:rgba(var(--accent-rgb),.1);color:var(--text-strong)}.workspace-shot-inline-option>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-shot-inline-option small{color:var(--text-muted);font-size:9px}.workspace-shot-inline-option__check{width:16px;height:16px;border:1px solid var(--outline);border-radius:4px;display:grid;place-items:center;color:var(--blue)}.workspace-shot-inline-option.is-selected .workspace-shot-inline-option__check{border-color:var(--blue)}.workspace-shot-inline-popover__empty{min-height:52px;display:grid;place-items:center;color:var(--text-muted);font-size:11px}.workspace-shot-inline-popover__footer{min-height:42px;padding:6px 7px;border-top:1px solid var(--divider);display:flex;align-items:center;justify-content:space-between;gap:8px}.workspace-shot-inline-popover__footer>div{display:flex;align-items:center;gap:6px}.workspace-shot-inline-popover__footer button{min-height:28px;padding:0 8px;border:1px solid var(--outline);border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:5px;background:var(--control);color:var(--text-secondary);font-size:10px;cursor:pointer}.workspace-shot-inline-popover__footer button:hover,.workspace-shot-inline-popover__footer button:focus-visible{border-color:var(--emphasized);outline:0;color:var(--text-strong)}.workspace-shot-inline-popover__footer button.is-primary{border-color:var(--blue);background:var(--blue);color:var(--on-blue)}.workspace-shot-inline-popover__footer button:disabled{cursor:progress;opacity:.55}.workspace-shot-inline-upload{border-color:transparent!important;background:transparent!important;color:var(--blue)!important}.workspace-shot-table__actions{overflow:visible!important;display:flex;align-items:center;justify-content:center;gap:4px}.workspace-shot-status-cell{overflow:visible!important;display:flex;align-items:center;justify-content:center}.workspace-shot-status{min-width:0;display:inline-flex;align-items:center;gap:5px;color:var(--text-muted);font-size:9.5px;font-weight:620;white-space:nowrap}.workspace-shot-status svg{flex:0 0 auto}.workspace-shot-status.is-generated{color:var(--text-secondary)}.workspace-shot-status.is-processing{color:var(--blue)}.workspace-shot-row-generate-button{width:54px;min-height:28px;padding:0 6px;border:1px solid rgba(var(--accent-rgb),.58);border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:4px;background:rgba(var(--accent-rgb),.08);color:var(--blue);font-size:10px;cursor:pointer;touch-action:manipulation;transition:border-color .14s ease,background .14s ease,color .14s ease}.workspace-shot-row-generate-button:hover:not(:disabled){border-color:var(--blue);background:var(--blue);color:var(--on-blue)}.workspace-shot-row-generate-button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.workspace-shot-row-generate-button:disabled{cursor:progress;opacity:.58}.workspace-shot-preview-button{width:56px;min-height:28px;padding:0 6px;border:1px solid var(--outline);border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:4px;background:var(--control);color:var(--text-secondary);font-size:10px;cursor:pointer;touch-action:manipulation;transition:border-color .14s ease,background .14s ease,color .14s ease}.workspace-shot-preview-button:hover:not(:disabled){border-color:var(--emphasized);background:var(--tile);color:var(--text-strong)}.workspace-shot-preview-button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.workspace-shot-preview-button:disabled{cursor:not-allowed;opacity:.5}.workspace-shot-edit-button{width:52px;min-height:28px;padding:0 7px;border:1px solid var(--outline);border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:4px;background:var(--control);color:var(--text-secondary);font-size:10px;cursor:pointer;touch-action:manipulation;transition:border-color .14s ease,background .14s ease,color .14s ease}.workspace-shot-edit-button:hover{border-color:var(--emphasized);background:var(--tile);color:var(--text-strong)}.workspace-shot-edit-button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.workspace-shot-edit-button:disabled{cursor:not-allowed;opacity:.5}.shot-edit-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.shot-edit-field--full,.shot-edit-assets,.shot-edit-locked-number{grid-column:1 / -1}.shot-edit-locked-number{min-height:48px;padding:0 14px;border:1px solid var(--divider);border-radius:var(--radius-sm);display:flex;align-items:center;gap:12px;background:var(--input);color:var(--text-muted);font-size:12px}.shot-edit-locked-number strong{color:var(--text-strong);font-size:15px;font-variant-numeric:tabular-nums}.shot-edit-locked-number small{margin-left:auto;padding:3px 7px;border:1px solid var(--outline);border-radius:999px;color:var(--text-muted);font-size:10px}.shot-edit-assets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.shot-edit-form .field textarea{min-height:72px}.shot-edit-form .field input,.shot-edit-form .field textarea,.shot-edit-form .custom-select__trigger,.shot-asset-picker__trigger{border-color:var(--outline);background:var(--input)}.shot-edit-form .field input:focus,.shot-edit-form .custom-select__trigger:focus-visible,.shot-asset-picker__trigger:focus-visible{border-color:var(--blue);outline:0;box-shadow:0 0 0 2px rgba(var(--accent-rgb),.16)}.shot-edit-form .field textarea:focus{border-color:var(--outline);outline:0;box-shadow:none}.shot-asset-picker{position:relative;min-width:0}.shot-asset-picker__selected-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px}.shot-asset-picker__selected-images:not(:empty){margin-top:8px}.shot-asset-picker__selected-image{min-width:0;margin:0;overflow:hidden;border:1px solid var(--outline);border-radius:var(--radius-sm);background:var(--input)}.shot-asset-picker__selected-image img,.shot-asset-picker__image-error{display:block;width:100%;height:96px;object-fit:contain}.shot-asset-picker__image-error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--text-muted);font-size:12px}.shot-asset-picker__selected-image figcaption{overflow:hidden;padding:6px 8px;border-top:1px solid var(--divider);color:var(--text-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.shot-asset-picker__trigger{width:100%;min-height:44px;padding:0 12px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--text);cursor:pointer}.shot-asset-picker__trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shot-asset-picker__trigger .is-placeholder{color:var(--text-muted)}.shot-asset-picker__trigger svg{flex:0 0 auto;color:var(--text-muted)}.shot-asset-picker__menu{position:absolute;z-index:12;top:50px;left:0;right:0;overflow:hidden;border:1px solid var(--emphasized);border-radius:var(--radius-sm);background:var(--card);box-shadow:0 16px 38px #0000006b}.shot-asset-picker__options{max-height:220px;overflow-y:auto;padding:6px}.shot-asset-picker__option{width:100%;min-height:38px;padding:7px 8px;border:0;border-radius:5px;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:7px;background:transparent;color:var(--text-secondary);text-align:left;cursor:pointer}.shot-asset-picker__option:hover,.shot-asset-picker__option:focus-visible{outline:0;background:var(--control);color:var(--text-strong)}.shot-asset-picker__option.is-selected{background:rgba(var(--accent-rgb),.1);color:var(--text-strong)}.shot-asset-picker__option>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shot-asset-picker__option small{color:var(--text-muted);font-size:10px}.shot-asset-picker__check{width:18px;height:18px;border:1px solid var(--emphasized);border-radius:4px;display:grid;place-items:center;color:var(--blue)}.shot-asset-picker__option.is-selected .shot-asset-picker__check{border-color:var(--blue)}.shot-asset-picker__empty{min-height:54px;display:grid;place-items:center;color:var(--text-muted);font-size:12px}.shot-asset-picker__footer{min-height:44px;padding:6px 8px;border-top:1px solid var(--divider);display:flex;align-items:center;justify-content:space-between;gap:8px}.shot-asset-picker__clear,.shot-asset-picker__upload{min-height:30px;padding:0 8px;border:0;border-radius:5px;display:inline-flex;align-items:center;gap:6px;background:transparent;color:var(--text-secondary);font-size:11px;cursor:pointer}.shot-asset-picker__clear:hover,.shot-asset-picker__upload:hover{background:var(--control);color:var(--text-strong)}.shot-asset-picker__upload{color:var(--blue)}.asset-detail-modal{min-width:0;display:flex;flex-direction:column;gap:16px}.asset-detail-main{min-width:0;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(430px,.92fr);gap:16px}.asset-detail-preview,.asset-detail-info,.asset-detail-history{min-width:0;overflow:hidden;border:1px solid var(--outline);border-radius:var(--radius-md);background:var(--input)}.asset-detail-info{position:relative;z-index:3;overflow:visible}.asset-detail-section-header{min-height:48px;padding:0 15px;border-bottom:1px solid var(--divider);display:flex;align-items:center;justify-content:space-between;gap:12px}.asset-detail-section-header h3{margin:0;color:var(--text);font-size:13px;font-weight:580}.asset-detail-section-header>span{color:var(--text-muted);font-size:11px}.asset-detail-status{min-height:24px;padding:0 8px;border:1px solid var(--outline);border-radius:999px;display:inline-flex;align-items:center;background:var(--control);color:var(--text-secondary)}.asset-detail-status.is-confirmed,.asset-detail-status.is-processing{border-color:color-mix(in srgb,var(--blue) 52%,var(--outline));color:var(--text)}.asset-detail-status.is-failed{border-color:var(--danger);color:var(--danger)}.asset-detail-preview__canvas{height:min(58vh,610px);min-height:500px;display:grid;place-items:center;overflow:hidden;position:relative;background:var(--tile)}.project-media-image-trigger{display:block;width:100%;min-width:0;min-height:0;padding:0;border:0;background:transparent}.asset-detail-preview__canvas>.project-media-image-trigger,.asset-detail-preview__canvas>.project-media-image-trigger>img{width:100%;height:100%;display:block;object-fit:contain;object-position:center}.asset-detail-preview__empty{width:min(420px,calc(100% - 40px));display:flex;align-items:center;flex-direction:column;gap:9px;color:var(--text-muted);text-align:center}.asset-detail-preview__empty strong{color:var(--text-secondary);font-size:14px;font-weight:580}.asset-detail-preview__empty p{max-height:116px;margin:2px 0 0;overflow:auto;color:var(--text-secondary);font-size:12px;line-height:1.65;overflow-wrap:anywhere}.asset-detail-loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:flex;align-items:center;justify-content:center;gap:9px;background:#121212cc;color:var(--text-secondary);font-size:12px}.asset-detail-meta{margin:0;padding:8px 15px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}.asset-detail-meta>div{min-height:39px;border-bottom:1px solid var(--divider);display:grid;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:12px}.asset-detail-meta>div:last-child{border-bottom:1px solid var(--divider)}.asset-detail-meta dt,.asset-detail-meta dd{margin:0;min-width:0}.asset-detail-meta dt{color:var(--text-muted);font-size:11px}.asset-detail-meta dd{overflow:hidden;color:var(--text);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.asset-detail-prompt{margin:0 15px 15px;padding:13px;border:1px solid var(--outline);border-radius:var(--radius-sm);background:var(--tile)}.asset-detail-prompt h3{margin:0;color:var(--text-secondary);font-size:11px;font-weight:580}.asset-detail-prompt p{max-height:156px;margin:9px 0 0;overflow:auto;color:var(--text);font-size:12px;line-height:1.65;overflow-wrap:anywhere}.asset-detail-editor{padding:13px 15px 15px;display:flex;flex-direction:column;gap:12px}.asset-detail-editor__settings{min-width:0;margin:0;padding:0;border:0;display:flex;flex-direction:column;gap:12px}.asset-detail-field{gap:6px}.asset-detail-field>span:first-child{color:var(--text-secondary);font-size:11px}.asset-detail-field textarea{min-height:160px;max-height:260px;padding:10px 11px;resize:vertical;font-size:12px;line-height:1.6}.asset-detail-field .custom-select__trigger{height:38px;padding-inline:11px;border-radius:6px;font-size:12px}.asset-detail-field .custom-select__menu{max-height:194px;z-index:110}.asset-detail-field .custom-select__option{min-height:36px;font-size:12px}.asset-detail-editor__grid{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.asset-detail-references{min-width:0;padding:10px;border:1px solid var(--outline);border-radius:var(--radius-sm);background:var(--tile)}.asset-detail-references__header{min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:10px}.asset-detail-references__header>div{min-width:0;display:flex;align-items:baseline;gap:7px}.asset-detail-references__header strong{color:var(--text-secondary);font-size:11px;font-weight:580}.asset-detail-references__header span{color:var(--text-muted);font-size:10px}.asset-detail-references__header .asset-detail-generation-mode{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border:1px solid var(--outline);border-radius:999px;background:var(--control);color:var(--text-secondary);font-weight:600;white-space:nowrap;transition:border-color .16s ease,color .16s ease,background-color .16s ease}.asset-detail-references__header .asset-detail-generation-mode.is-reference{border-color:color-mix(in srgb,var(--blue) 48%,var(--outline));background:color-mix(in srgb,var(--blue) 10%,var(--control));color:var(--blue)}.asset-detail-reference-upload,.asset-detail-history__header-actions button{min-height:30px;padding:0 9px;border:1px solid var(--outline);border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--control);color:var(--text-secondary);font:inherit;font-size:11px;cursor:pointer;transition:border-color .15s ease,color .15s ease,background-color .15s ease}.asset-detail-reference-upload:hover:not(:disabled),.asset-detail-history__header-actions button:hover:not(:disabled){border-color:var(--emphasized);background:var(--input-strong);color:var(--text-strong)}.asset-detail-reference-upload:focus-visible,.asset-detail-history__header-actions button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.asset-detail-reference-upload:disabled,.asset-detail-history__header-actions button:disabled{cursor:not-allowed;opacity:.5}.asset-detail-reference-note{min-height:42px;margin-top:7px;border:1px dashed var(--outline);border-radius:6px;display:grid;place-items:center;color:var(--text-muted);font-size:10px}.asset-detail-reference-list{min-width:0;margin-top:8px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.asset-detail-reference-item{min-width:0;aspect-ratio:1;position:relative;overflow:hidden;border:1px solid var(--outline);border-radius:6px;display:grid;place-items:center;background:var(--input-strong);color:var(--text-muted)}.asset-detail-reference-item>.project-media-image-trigger,.asset-detail-reference-item>.project-media-image-trigger>img{width:100%;height:100%;display:block;object-fit:cover}.asset-detail-reference-item>.asset-detail-reference-remove{width:24px;height:24px;padding:0;border:0;border-radius:5px;position:absolute;top:3px;right:3px;display:grid;place-items:center;background:#121212d1;color:var(--text-secondary);cursor:pointer}.asset-detail-reference-item>.asset-detail-reference-remove:hover,.asset-detail-reference-item>.asset-detail-reference-remove:focus-visible{background:var(--control);color:var(--text-strong)}.asset-detail-reference-item>.asset-detail-reference-remove:focus-visible{outline:2px solid var(--blue);outline-offset:1px}.asset-detail-generation-row{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px}.asset-detail-credit{min-width:0;display:inline-flex;align-items:center;gap:6px;color:var(--text-secondary);font-size:11px;white-space:nowrap}.asset-detail-credit svg,.asset-detail-credit .points-icon{flex:0 0 auto;color:var(--text-muted)}.asset-detail-generate{min-width:126px;min-height:38px}.asset-detail-error{margin:0}.asset-detail-notice{margin:0;border-color:color-mix(in srgb,var(--blue) 42%,var(--outline));background:rgba(var(--accent-rgb),.07);color:var(--text-secondary)}.asset-detail-notice svg{flex:0 0 auto;color:var(--accent)}.asset-detail-history__header-actions{display:flex;align-items:center;gap:10px}.asset-detail-history__header-actions>span{color:var(--text-muted);font-size:11px}.asset-detail-history__grid{max-height:222px;padding:14px;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;overflow-y:auto;scrollbar-color:var(--emphasized) transparent;scrollbar-width:thin}.asset-detail-history__item{min-width:0;padding:8px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:10px;background:var(--tile);color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,background-color .16s ease}.asset-detail-history__item:hover,.asset-detail-history__item:focus-visible,.asset-detail-history__item.is-selected{border-color:var(--blue);background:var(--control)}.asset-detail-history__item:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.asset-detail-history__thumb{width:58px;aspect-ratio:4 / 5;overflow:hidden;border-radius:6px;display:grid;place-items:center;background:var(--input-strong);color:var(--text-muted)}.asset-detail-history__thumb img{width:100%;height:100%;display:block;object-fit:contain}.asset-detail-history__copy{min-width:0;display:block}.asset-detail-history__copy strong,.asset-detail-history__copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-detail-history__copy strong{font-size:12px;font-weight:570}.asset-detail-history__copy small{margin-top:5px;color:var(--text-muted);font-size:10px}.asset-detail-history__empty{min-height:94px;display:grid;place-items:center;color:var(--text-muted);font-size:12px}.asset-detail-actions{margin-top:0}.asset-detail-manage{margin-right:auto}.asset-detail-confirmed{min-height:36px;margin-right:0;padding:0 12px;border:1px solid rgba(var(--accent-rgb),.42);border-radius:var(--radius-sm);display:inline-flex;align-items:center;gap:7px;color:var(--accent);background:rgba(var(--accent-rgb),.08);font-size:12px;font-weight:580}.shot-video-preview-modal{min-width:0;display:flex;flex-direction:column;gap:14px}.shot-video-preview-summary{min-height:50px;padding:9px 13px;border:1px solid var(--outline);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--input)}.shot-video-preview-summary>div:first-child{min-width:0;display:flex;align-items:baseline;gap:10px}.shot-video-preview-summary>div:first-child>span,.shot-video-preview-summary__actions>span{color:var(--text-muted);font-size:11px}.shot-video-preview-summary strong{min-width:0;overflow:hidden;color:var(--text-strong);font-size:13px;font-weight:580;text-overflow:ellipsis;white-space:nowrap}.shot-video-preview-summary__actions{flex:0 0 auto;display:flex;align-items:center;gap:10px}.shot-video-preview-refresh{min-height:32px;padding:0 10px;border:1px solid var(--outline);border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--control);color:var(--text-secondary);font:inherit;font-size:11px;cursor:pointer}.shot-video-preview-refresh:hover:not(:disabled){border-color:var(--emphasized);color:var(--text-strong)}.shot-video-preview-refresh:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.shot-video-preview-refresh:disabled{cursor:progress;opacity:.58}.shot-video-preview-error{margin:0}.shot-video-preview-workspace{min-width:0;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.72fr);align-items:stretch;gap:14px}.shot-video-preview-stage,.shot-video-history{min-width:0;overflow:hidden;border:1px solid var(--outline);border-radius:var(--radius-md);background:var(--input)}.shot-video-preview-stage{display:flex;flex-direction:column}.shot-video-preview-player{min-height:330px;aspect-ratio:16 / 9;position:relative;overflow:hidden;display:grid;place-items:center;background:#090909}.project-video-preview-expand{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid var(--outline);border-radius:var(--radius-sm);background:var(--media-overlay, #101010);color:var(--on-media, #fff)}.shot-video-preview-player video{width:100%;height:100%;display:block;object-fit:contain;background:#050505}.shot-video-preview-player__state{width:min(360px,calc(100% - 32px));min-height:150px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:var(--text-muted);text-align:center}.shot-video-preview-player__state strong{color:var(--text-secondary);font-size:14px;font-weight:580}.shot-video-preview-player__state span{font-size:11px}.shot-video-preview-details{padding:13px 15px 14px;border-top:1px solid var(--divider)}.shot-video-preview-details__title{display:flex;align-items:center;justify-content:space-between;gap:12px}.shot-video-preview-details__title strong{color:var(--text-strong);font-size:13px;font-weight:580}.shot-video-preview-details__title>span{min-height:24px;padding:0 8px;border:1px solid var(--outline);border-radius:999px;display:inline-flex;align-items:center;color:var(--text-muted);font-size:10px}.shot-video-preview-details__title>span.is-processing{border-color:color-mix(in srgb,var(--blue) 48%,var(--outline));color:var(--blue)}.shot-video-preview-details__title>span.is-failed{border-color:var(--danger);color:var(--danger)}.shot-video-preview-details dl{margin:13px 0 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.shot-video-preview-details dl>div{min-width:0;padding:8px 9px;border:1px solid var(--divider);border-radius:6px;background:var(--tile)}.shot-video-preview-details dt,.shot-video-preview-details dd{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shot-video-preview-details dt{color:var(--text-muted);font-size:9px}.shot-video-preview-details dd{margin-top:5px;color:var(--text);font-size:11px}.shot-video-history{display:flex;flex-direction:column}.shot-video-history>header{min-height:48px;padding:0 13px;border-bottom:1px solid var(--divider);display:flex;align-items:center;justify-content:space-between;gap:10px}.shot-video-history>header strong{color:var(--text);font-size:13px;font-weight:580}.shot-video-history>header span{color:var(--text-muted);font-size:10px}.shot-video-history__list{min-height:0;max-height:510px;padding:8px;overflow-y:auto;scrollbar-color:var(--emphasized) transparent;scrollbar-width:thin}.shot-video-history__item{width:100%;min-width:0;min-height:70px;padding:7px;border:1px solid transparent;border-radius:7px;display:grid;grid-template-columns:88px minmax(0,1fr) auto;align-items:center;gap:9px;background:transparent;color:var(--text-secondary);font:inherit;text-align:left;cursor:pointer;transition:border-color .14s ease,background-color .14s ease,color .14s ease}.shot-video-history__item+.shot-video-history__item{margin-top:5px}.shot-video-history__item:hover,.shot-video-history__item.is-selected{border-color:var(--outline);background:var(--control);color:var(--text-strong)}.shot-video-history__item.is-selected{box-shadow:inset 2px 0 0 var(--blue)}.shot-video-history__item:focus-visible{outline:2px solid var(--blue);outline-offset:1px}.shot-video-history__thumb{width:88px;aspect-ratio:16 / 9;overflow:hidden;border-radius:5px;display:grid;place-items:center;background:#090909;color:var(--text-muted)}.shot-video-history__thumb img{width:100%;height:100%;display:block;object-fit:cover}.shot-video-history__copy{min-width:0}.shot-video-history__copy>span{display:flex;align-items:center;gap:6px}.shot-video-history__copy strong,.shot-video-history__copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shot-video-history__copy strong{color:inherit;font-size:11px;font-weight:580}.shot-video-history__copy em{padding:2px 5px;border-radius:999px;background:rgba(var(--accent-rgb),.12);color:var(--blue);font-size:8px;font-style:normal}.shot-video-history__copy small{margin-top:5px;color:var(--text-muted);font-size:9px}.shot-video-history__status{color:var(--text-muted);font-size:9px;white-space:nowrap}.shot-video-history__status.is-processing{color:var(--blue)}.shot-video-history__status.is-failed{color:var(--danger)}.shot-video-history__empty{min-height:280px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;color:var(--text-muted);font-size:11px;text-align:center}.shot-video-preview-actions{margin-top:0}@media(max-width:820px){.shot-video-preview-workspace{grid-template-columns:minmax(0,1fr)}.shot-video-preview-player{min-height:240px}.shot-video-history__list{max-height:270px}.shot-video-history__empty{min-height:150px}}@media(max-width:560px){.shot-video-preview-summary{align-items:stretch;flex-direction:column;gap:9px}.shot-video-preview-summary__actions{justify-content:space-between}.shot-video-preview-details dl{grid-template-columns:repeat(2,minmax(0,1fr))}.shot-video-history__item{grid-template-columns:72px minmax(0,1fr) auto}.shot-video-history__thumb{width:72px}}.workspace-loading{min-height:calc(100vh - var(--topbar-height));display:flex;align-items:center;justify-content:center;gap:11px;color:var(--text-secondary);font-size:13px}.workspace-auth-state{margin-top:36px}.workspace-error-actions{margin-top:20px;display:flex;gap:10px}.spin{animation:interface-spin .8s linear infinite}@keyframes interface-spin{to{transform:rotate(360deg)}}.toast-region{position:fixed;right:26px;bottom:26px;z-index:300;pointer-events:none}.toast{max-width:min(440px,calc(100vw - 40px));min-height:48px;padding:12px 15px;border:1px solid var(--outline);border-radius:var(--radius-md);display:flex;align-items:center;gap:10px;background:var(--input-strong);color:var(--text);box-shadow:0 16px 38px #00000073;font-size:14px}.toast svg{flex:0 0 auto;color:var(--blue)}@media(max-width:1500px){:root{--sidebar-width: 224px}.sidebar__brand{padding-left:24px}.nav-item{padding-inline:17px;font-size:17px}.page{padding-inline:28px}.composer-controls{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.composer-action{grid-column:4}.project-meta{gap:14px;font-size:12px}.project-card__body{padding-inline:16px}}@media(max-width:1180px){.topbar{padding-inline:24px}.topbar__utilities{margin-left:36px}.announcements{gap:14px}.announcement-card{min-height:210px}.featured-grid,.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-grid{--project-grid-columns: 2}.projects-header{align-items:flex-start;flex-direction:column}.projects-header__actions{width:100%}.project-search{flex:1}.workspace-title-row{align-items:flex-start}.workspace-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1100px){.workspace-console-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"script script" "characters scenes" "shots shots";align-items:stretch}.workspace-console-grid>.console-section{align-self:stretch}.console-section--script{grid-area:script}.console-section--characters{grid-area:characters}.console-section--scenes{grid-area:scenes}.console-section--shots{grid-area:shots}.workspace-asset-actions{width:100%;margin-left:0;justify-content:flex-start}}@media(max-width:900px){.workspace-title-row{padding-right:0}.projects-header__actions{align-items:stretch;flex-direction:column}.project-search,.new-project-button{width:100%}.projects-toolbar{align-items:flex-start;flex-direction:column;padding-block:22px}.view-controls{width:100%;justify-content:space-between;gap:14px}.workspace-title-row{flex-direction:column}.workspace-header__actions{width:100%;justify-content:space-between}.workspace-flow-map{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-console-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"script" "characters" "scenes" "shots"}.asset-detail-main{grid-template-columns:minmax(0,1fr)}.asset-detail-preview__canvas{height:min(46vh,420px);min-height:300px}.asset-detail-info{z-index:4}}@media(max-width:820px){:root{--sidebar-width: 76px;--sidebar-collapsed: 76px;--topbar-height: 70px}.app-shell{grid-template-columns:76px minmax(0,1fr)}.sidebar__brand{padding:0;justify-content:center}.sidebar .wordmark,.sidebar .nav-item span{display:none}.sidebar__nav{padding-inline:10px}.sidebar .nav-item{justify-content:center;padding:0}.sidebar .nav-item:before{left:-10px}.topbar{padding-inline:14px}.utility-button span,.topbar__divider,.profile-button>svg{display:none}.topbar__utilities{gap:3px}.utility-button{width:40px;padding:0;justify-content:center}.avatar{width:40px;height:40px}.page{padding:20px 18px 40px}.shot-edit-form,.shot-edit-assets,.subject-crud-form{grid-template-columns:minmax(0,1fr)}.shot-edit-form>*,.shot-edit-assets>*,.subject-crud-form>*{grid-column:1}.announcements{grid-template-columns:minmax(280px,1fr)}.announcement-card{aspect-ratio:1.9;max-height:none}.composer-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.composer-action{grid-column:1 / -1}.featured-grid,.project-grid{grid-template-columns:minmax(0,1fr)}.project-grid{--project-grid-columns: 1}.projects-header{min-height:auto;padding-top:28px}.projects-header__actions{align-items:stretch;flex-direction:column}.project-search,.new-project-button{width:100%}.projects-toolbar{align-items:flex-start;flex-direction:column;padding-block:22px}.view-controls{width:100%;justify-content:space-between;gap:14px}.project-card.is-list{grid-template-columns:150px minmax(0,1fr)}.project-card.is-list .project-card__body{display:block}.project-card.is-list .project-meta,.project-card.is-list .project-progress{margin-top:12px}.project-card.is-list .project-meta{flex-wrap:wrap}.workspace-title-row h1{font-size:26px}.workspace-panel{padding:18px}}@media(max-width:560px){:root{--sidebar-width: 0px;--sidebar-collapsed: 0px}.app-shell,.app-shell.sidebar-collapsed:not(.invitation-standalone):not(.enterprise-report-standalone):not(.public-portfolio-standalone){grid-template-columns:minmax(0,1fr)}.sidebar{display:none}.app-main{padding-bottom:64px}.password-change-checks{grid-template-columns:minmax(0,1fr)}.password-change-checks li{white-space:normal}.invitation-modal{max-height:calc(100dvh - 24px);padding:19px 16px}.invitation-modal .modal__header{margin-bottom:17px}.invitation-share{gap:17px}.invitation-share__main{grid-template-columns:minmax(0,1fr);gap:18px}.invitation-share__qr{width:min(188px,64vw);height:min(188px,64vw)}.invitation-share__content{min-height:0;padding:18px 0 0;border-top:1px solid var(--divider);border-left:0;gap:16px}.invitation-share__value,.invitation-share__copy{min-height:44px}.invitation-share__actions{grid-template-columns:minmax(0,1fr)}.invitation-share__actions .button{min-height:46px}.invitation-share__state{min-height:360px}.invitation-modal.is-enterprise-data{height:calc(100dvh - 24px)}.invitation-primary-tabs{min-height:44px}.invitation-enterprise{gap:11px}.invitation-enterprise__toolbar{align-items:stretch;flex-direction:column;gap:8px}.invitation-enterprise__tabs{width:100%;min-height:42px}.invitation-enterprise__export{width:100%}.invitation-enterprise__aggregate{min-height:0;font-size:12px}.invitation-enterprise-summary__head{display:none}.invitation-enterprise-summary__row{min-height:92px;grid-template-columns:minmax(0,1fr) auto;gap:9px 14px}.invitation-enterprise-summary__amounts{grid-column:1 / -1;padding-top:8px;border-top:1px solid var(--divider)}.invitation-enterprise-filter{grid-template-columns:minmax(0,1fr);gap:6px}.invitation-enterprise-order__header,.invitation-enterprise-order__content{align-items:flex-start;flex-direction:column;gap:8px}.invitation-enterprise-order__people{width:100%}.invitation-enterprise-order__amounts{width:100%;padding-top:8px;border-top:1px solid var(--divider);align-items:flex-start;text-align:left}.invitation-enterprise-pagination{grid-template-columns:repeat(2,minmax(0,1fr))}.invitation-enterprise-pagination__status{grid-column:1 / -1;grid-row:1}.invitation-enterprise-pagination__button{grid-row:2}.invitation-enterprise__scope-note{padding-top:9px}.points-details-shell{gap:12px}.points-details-modal{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:18px 14px;overflow:hidden}.points-details-modal .modal__header{margin-bottom:15px;gap:10px}.points-details-layout{gap:16px}.points-consumption-card{padding:11px 12px;gap:10px}.points-consumption-card__total strong{font-size:18px}.points-heatmap-calendar{grid-template-columns:18px minmax(0,1fr);gap:6px}.points-heatmap-calendar__viewport{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.points-heatmap-calendar__main{min-width:530px}.points-heatmap-scroll-hint{display:block;text-align:right}.points-heatmap-months,.points-heatmap-grid__row{column-gap:2px}.points-heatmap-grid{row-gap:2px}.points-heatmap-weekdays{grid-template-rows:repeat(7,10px);gap:2px}.points-ledger-panel{gap:0}.points-details-toolbar__actions{width:100%}.points-ledger-summary{min-height:72px;padding:11px 12px}.points-ledger-summary__icon{width:40px;height:40px;flex-basis:40px}.points-ledger-summary__balance strong{font-size:23px}.points-ledger-summary__order{display:none}.points-details-tabs{min-width:0;flex:1}.points-ledger__heading{padding-left:52px}.points-ledger-row{padding-inline:10px;grid-template-columns:30px minmax(0,1fr) auto;gap:9px}.points-ledger-row__direction{width:30px;height:30px}.points-ledger-row__copy>span{gap:5px}.points-ledger-row__amount strong{font-size:14px}.workspace-asset-actions{align-items:stretch}.project-asset-batch-fields{grid-template-columns:minmax(0,1fr)}.asset-detail-preview__canvas{height:38vh;min-height:240px}.asset-detail-history__grid,.asset-detail-meta,.asset-detail-editor__grid{grid-template-columns:minmax(0,1fr)}.asset-detail-meta>div:last-child{border-bottom:0}.asset-detail-reference-list{grid-template-columns:repeat(4,minmax(0,1fr))}.asset-detail-generation-row{align-items:stretch;flex-direction:column}.asset-detail-generate{width:100%}.asset-detail-field .custom-select__trigger{height:44px}.workspace-asset-action{flex:1 1 calc(50% - 4px);min-height:44px}.workspace-asset-action.primary{flex-basis:100%}.subject-upload-option{grid-template-columns:22px minmax(0,1fr)}.subject-upload-option__type{grid-column:2;justify-self:start}.mobile-navigation{height:64px;position:fixed;right:0;bottom:0;left:0;z-index:120;padding:5px 8px max(5px,env(safe-area-inset-bottom));border-top:1px solid var(--divider);display:grid;grid-auto-flow:column;grid-auto-columns:minmax(44px,1fr);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;background:var(--sidebar)}.mobile-navigation.has-organization{grid-auto-flow:column}.mobile-navigation a,.mobile-navigation button{min-width:0;padding:3px 2px;border:0;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:transparent;color:var(--text-muted);font-size:10px;text-decoration:none;cursor:pointer}.mobile-navigation a.is-active{background:var(--selected);color:var(--text-strong)}.topbar{gap:8px}.topbar__utilities .utility-button.points,.topbar__utilities .utility-button:not(.points){display:none}.topbar__utilities .utility-button.points,.topbar__utilities .utility-button.topbar-purchase-button{display:inline-flex}.script-composer{padding-inline:14px}.dropzone{justify-content:flex-start}.dropzone__copy small{font-size:12px}.composer-controls,.project-form,.managed-project-fields{grid-template-columns:minmax(0,1fr)}.composer-action,.field.full,.managed-project-fields.full,.modal__actions.full,.inline-message.full{grid-column:auto}.filter-tabs{width:100%}.filter-tabs button{min-width:0;flex:1}.sort-control{flex:1}.auth-actions{align-items:stretch;flex-direction:column}.auth-actions__spacer{display:none}.auth-actions__primary{width:100%}.auth-actions__primary .button{min-width:0;flex:1}.auth-switch-button{width:100%;justify-content:center}.project-card.is-list{display:block}.project-card.is-list .project-card__open{aspect-ratio:2.16;border-radius:13px 13px 0 0}.popover{position:fixed;top:76px;right:12px;left:12px;width:auto}.modal-backdrop{--dialog-gutter: 12px}.workspace-page{padding-top:0}.workspace-title-row{margin-top:10px}.workspace-header__actions{align-items:stretch;flex-direction:column}.workspace-project-status,.workspace-refresh{justify-content:center}.workspace-overview{grid-template-columns:minmax(0,1fr)}.workspace-console__summary{padding:15px}.workspace-console__summary-header{grid-template-columns:minmax(0,1fr);gap:14px}.workspace-console__task{width:100%}.workspace-flow-map{grid-template-columns:minmax(0,1fr)}.workspace-panel{min-height:0;padding:15px}.workspace-panel__header{flex-direction:column;gap:12px}.workspace-asset-panel__header>div:first-child{flex:0 1 auto}.workspace-script-editor__toolbar,.workspace-script-editor__footer{align-items:stretch;flex-direction:column}.workspace-script-editor__toolbar .compact-button,.workspace-enhance-toggle,.workspace-analyze-button{width:100%}.workspace-shot-table{overflow-x:auto}.workspace-shot-header__actions{width:100%;justify-content:space-between}.workspace-shot-generate-button{flex:1;max-width:220px}.workspace-error-actions{width:100%;flex-direction:column}}@media(max-width:1100px){.workspace-shot-bulk-toolbar{grid-template-columns:minmax(0,1fr) max-content}.workspace-shot-bulk-toolbar__intro{grid-column:1 / -1;min-height:0;flex-direction:row;justify-content:flex-start;gap:8px}}@media(max-width:560px){.workspace-shot-bulk-toolbar{grid-template-columns:minmax(0,1fr)}.workspace-shot-bulk-toolbar__intro{grid-column:auto;align-items:baseline;flex-wrap:wrap}.workspace-shot-bulk-toolbar__controls{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-shot-bulk-select .custom-select__menu{min-width:100%}.workspace-shot-bulk-apply{width:100%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.workspace-asset-card__media{transform:none}.workspace-asset-strip{animation:none}}.material-page{position:relative;isolation:isolate;height:calc(100vh - var(--topbar-height));min-height:640px;padding:16px 22px 22px;display:flex;flex-direction:column;gap:12px;overflow:hidden;background:var(--canvas)}.material-page.is-sessions-collapsed:before{position:absolute;z-index:0;top:16px;bottom:22px;left:22px;width:56px;border:1px solid var(--divider);border-radius:var(--radius-md);background:var(--sidebar);content:""}.material-page__header{position:relative;z-index:1;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:20px;transition:padding-left .18s ease}.material-page__header.is-sessions-collapsed{padding-left:68px}.material-page__sessions-expand{position:absolute;top:3px;left:8px}.material-page__title{min-width:0;display:flex;align-items:baseline;gap:13px}.material-page__header h1{color:var(--text-strong);font-size:23px;font-weight:620;letter-spacing:-.01em}.material-page__title>span{color:var(--text-muted);font-size:13px}.material-page__error{min-height:38px;padding:8px 10px 8px 12px;border:1px solid rgba(209,108,108,.45);border-radius:var(--radius-sm);display:flex;align-items:center;gap:9px;background:var(--danger-surface);color:var(--danger-text);font-size:13px}.material-page__error span{min-width:0;flex:1}.material-page__error button{width:28px;height:28px;padding:0;border:0;border-radius:5px;display:grid;place-items:center;background:transparent;color:inherit;cursor:pointer}.material-workbench{position:relative;z-index:1;min-height:0;flex:1;border:1px solid var(--divider);border-radius:var(--radius-md);display:grid;grid-template-columns:238px minmax(0,1fr);overflow:hidden;background:transparent;transition:grid-template-columns .18s ease}.material-workbench.is-sessions-collapsed{grid-template-columns:56px minmax(0,1fr)}.material-sessions{min-width:0;min-height:0;padding:13px 10px 10px;border-right:1px solid var(--divider);display:flex;flex-direction:column;background:var(--sidebar)}.material-sessions.is-collapsed{padding:8px;overflow:hidden}.material-sessions__rail{min-height:0;height:100%;display:flex;flex:1;flex-direction:column;align-items:center;gap:5px}.material-page__sessions-expand,.material-sessions__toggle,.material-sessions__rail-history,.material-sessions__rail-new{width:38px;height:38px;flex:0 0 auto;padding:0;border:1px solid var(--outline);border-radius:7px;display:inline-flex;align-items:center;justify-content:center;background:var(--control);color:var(--text-secondary);cursor:pointer}.material-sessions__rail-history{margin-top:4px;border-color:transparent;background:transparent;color:var(--text-secondary)}.material-sessions__rail-history span{display:none}.material-sessions__rail-new{margin-top:auto}.material-page__sessions-expand:hover,.material-sessions__toggle:hover,.material-sessions__rail-history:hover,.material-sessions__rail-new:hover{border-color:var(--outline-strong);background:var(--raised);color:var(--text)}.material-page__sessions-expand:focus-visible,.material-sessions__toggle:focus-visible,.material-sessions__rail-history:focus-visible,.material-sessions__rail-new:focus-visible{border-color:var(--blue);outline:0;box-shadow:0 0 0 2px rgba(var(--accent-rgb),.18);color:var(--text)}.material-sessions__header{min-height:34px;padding:0 3px 8px 7px;display:flex;align-items:center;justify-content:space-between}.material-sessions__header-actions{display:flex;align-items:center;gap:2px}.material-sessions__header strong{color:var(--text);font-size:14px;font-weight:580}.material-sessions__header button,.material-session-item__actions button,.material-session-item form button{width:28px;height:28px;padding:0;border:1px solid transparent;border-radius:6px;display:grid;place-items:center;background:transparent;color:var(--text-muted);cursor:pointer}.material-sessions__header button:hover,.material-session-item__actions button:hover,.material-session-item form button:hover{border-color:var(--outline);background:var(--control);color:var(--text)}.material-session-search{display:block;padding:0 2px 9px}.material-session-search input{width:100%;height:34px;padding:0 10px;border:1px solid var(--outline);border-radius:6px;outline:0;background:var(--input);color:var(--text);font-size:13px}.material-session-search input::placeholder,.material-composer__prompt::placeholder,.material-library-search input::placeholder{color:var(--text-muted)}.material-session-search input:focus,.material-library-search input:focus{border-color:var(--blue)}.material-session-list{min-height:0;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.material-session-item{position:relative;min-height:58px;margin-bottom:3px;border:1px solid transparent;border-radius:7px;display:flex;align-items:center;background:transparent}.material-session-item:hover{background:var(--control)}.material-session-item.is-active{border-color:var(--outline);background:var(--selected)}.material-session-item__main{min-width:0;min-height:56px;flex:1;padding:8px 5px 8px 10px;border:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;overflow:hidden;background:transparent;color:inherit;text-align:left;cursor:pointer}.material-session-item__main strong{max-width:100%;overflow:hidden;color:var(--text);font-size:14px;font-weight:560;text-overflow:ellipsis;white-space:nowrap}.material-session-item__main span{color:var(--text-muted);font-size:12px;white-space:nowrap}.material-session-item__actions{padding-right:4px;display:flex;opacity:0;transition:opacity .12s ease}.material-session-item:hover .material-session-item__actions,.material-session-item:focus-within .material-session-item__actions,.material-session-item__actions:has(.is-confirming){opacity:1}.material-session-item__actions button.is-confirming{border-color:#d16c6c8c;background:#602b2b73;color:var(--danger-text)}.material-session-item.is-dragging{opacity:.48}.material-session-item.is-drag-over:before{content:"";height:2px;position:absolute;z-index:2;top:-2px;right:7px;left:7px;border-radius:999px;background:var(--blue);box-shadow:0 0 0 2px rgba(var(--accent-rgb),.12)}.material-session-item__drag{width:27px;height:34px;margin-left:3px;padding:0;border:0;border-radius:5px;flex:0 0 auto;display:grid;place-items:center;background:transparent;color:var(--text-muted);cursor:grab}.material-session-item__drag:hover,.material-session-item__drag:focus-visible{background:var(--control);color:var(--text)}.material-session-item__drag:focus-visible{outline:2px solid var(--blue);outline-offset:1px}.material-session-item__drag:active{cursor:grabbing}.material-session-item__drag:disabled{opacity:.42;cursor:wait}.material-session-item form{width:100%;padding:7px;display:flex;align-items:center;gap:3px}.material-session-item form input{min-width:0;height:34px;flex:1;padding:0 8px;border:1px solid var(--blue);border-radius:5px;outline:0;background:var(--input);color:var(--text);font-size:13px}.material-session-state{min-height:100px;padding:20px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--text-muted);font-size:12px;text-align:center}.material-session-new{width:100%;height:36px;flex:0 0 auto;border:1px solid var(--outline);border-radius:6px;display:flex;align-items:center;justify-content:center;gap:6px;background:var(--control);color:var(--text-secondary);font-size:13px;cursor:pointer}.material-session-new:hover{border-color:var(--outline-strong);color:var(--text)}.material-studio{--material-feed-width: 1120px;--material-history-scrollbar-width: 0px;min-width:0;min-height:0;display:flex;flex-direction:column;background:transparent}.material-history{min-height:0;flex:1;padding:12px 18px 20px;overflow-y:auto;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.material-history__heading-actions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px}.material-history-sort{min-height:34px;padding:3px 3px 3px 9px;border:1px solid var(--outline);border-radius:7px;display:inline-flex;align-items:center;gap:7px;background:var(--input)}.material-history-sort>span{color:var(--text-muted);font-size:12px;white-space:nowrap}.material-history-sort>div{display:inline-flex;align-items:center;gap:2px}.material-history-sort button{min-height:28px;padding:0 8px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--text-muted);font-size:12px;white-space:nowrap;cursor:pointer}.material-history-sort button:hover{background:var(--control);color:var(--text)}.material-history-sort button.is-active{border-color:rgba(var(--accent-rgb),.48);background:rgba(var(--accent-rgb),.1);color:var(--text-strong)}.material-history-sort button:focus-visible,.material-history__refresh:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.material-history__refresh{min-height:32px;padding:0 10px;border:1px solid var(--outline);border-radius:6px;display:inline-flex;align-items:center;gap:6px;background:var(--input);color:var(--text-secondary);font-size:13px;cursor:pointer}.material-history__refresh:hover:not(:disabled){border-color:var(--outline-strong);color:var(--text)}.material-history__refresh:disabled{opacity:.5;cursor:wait}.material-history-empty{width:100%;max-width:var(--material-feed-width);margin-right:auto;margin-left:auto;min-height:240px;border:1px dashed var(--outline);border-radius:var(--radius-md);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--text-muted);text-align:center}.material-history-empty strong{color:var(--text-secondary);font-size:14px;font-weight:560}.material-history-empty span{font-size:13px}.material-history-card{width:100%;max-width:var(--material-feed-width);margin:0 auto 12px;padding:13px;border:1px solid var(--outline);border-radius:var(--radius-md);position:relative;background:var(--panel)}.material-history-card.is-located{border-color:rgba(var(--accent-rgb),.78);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.13),var(--shadow-card);animation:material-locator-pulse .9s ease-out 2}.material-history-card.is-located:before{content:"";width:3px;position:absolute;top:12px;bottom:12px;left:-2px;border-radius:0 3px 3px 0;background:var(--blue)}@keyframes material-locator-pulse{0%{box-shadow:0 0 rgba(var(--accent-rgb),.28),var(--shadow-card)}to{box-shadow:0 0 0 8px rgba(var(--accent-rgb),0),var(--shadow-card)}}.material-history__older{width:100%;max-width:var(--material-feed-width);min-height:38px;margin:0 auto 10px;display:flex;align-items:center;justify-content:center}.material-history__older button,.material-history__latest{min-height:32px;padding:0 11px;border:1px solid var(--outline);border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--panel-raised);color:var(--text-secondary);font-size:13px;cursor:pointer;box-shadow:var(--shadow-card)}.material-history__older button:hover:not(:disabled),.material-history__latest:hover{border-color:var(--outline-strong);color:var(--text)}.material-history__older button:focus-visible,.material-history__latest:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.material-history__older button:disabled{opacity:.6;cursor:wait}.material-history-card__header{display:flex;align-items:center;justify-content:space-between;gap:14px}.material-history-card__identity{min-width:0;display:flex;align-items:center;gap:9px}.material-history-card__type{width:34px;height:34px;flex:0 0 34px;border:1px solid var(--outline);border-radius:7px;display:grid;place-items:center;background:var(--control);color:var(--text-secondary)}.material-history-card__identity>div{min-width:0;display:flex;flex-direction:column;gap:3px}.material-history-card__identity strong{color:var(--text);font-size:15px;font-weight:580}.material-history-card__identity span{overflow:hidden;color:var(--text-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.material-history-card__title{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.material-history-card__identity .material-history-card__sequence{padding:2px 6px;border-radius:4px;background:var(--control);color:var(--text-secondary);font-size:13px;line-height:1.5;font-variant-numeric:tabular-nums;flex:0 0 auto}.material-status{min-height:27px;flex:0 0 auto;padding:0 9px;border:1px solid var(--outline);border-radius:14px;display:inline-flex;align-items:center;gap:5px;color:var(--text-secondary);font-size:12px}.material-status.is-success svg{color:var(--success-text)}.material-status.is-running svg{color:var(--blue)}.material-status.is-failed{border-color:#d16c6c73;color:var(--danger-text)}.material-history-card__skill{width:fit-content;max-width:100%;min-height:25px;margin:10px 0 -2px;padding:0 7px;border:1px solid var(--outline);border-radius:13px;display:inline-flex;align-items:center;gap:5px;background:var(--control);color:var(--text-secondary);font-size:12px}.material-history-card__skill svg{flex:0 0 auto;color:var(--blue)}.material-history-card__skill span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-history-card__skill em{color:var(--text-muted);font-style:normal;white-space:nowrap}.material-history-card__prompt-disclosure{margin:11px 0}.material-history-card__prompt-toggle{width:fit-content;min-height:24px;margin:2px 0 0 auto;padding:0 3px;border:0;border-radius:4px;display:flex;align-items:center;justify-content:center;gap:4px;background:transparent;color:var(--text-secondary);font:inherit;font-size:13px;cursor:pointer}.material-history-card__prompt-toggle:hover{background:var(--control);color:var(--text)}.material-history-card__prompt-toggle:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.material-history-card__prompt-disclosure.is-expanded .material-history-card__prompt-toggle svg{transform:rotate(180deg)}.material-history-card__prompt-toggle svg{transition:transform .15s ease}.material-history-card__prompt{margin:0 1px;color:var(--text);font-size:14px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap}.material-history-card__prompt.is-collapsed{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.material-history-card__prompt.is-empty{margin:11px 1px;color:var(--text-muted)}.material-history-card__references{margin-bottom:11px;display:flex;flex-wrap:wrap;align-items:center;gap:5px}.material-history-card__references>button{width:31px;height:31px;flex:0 0 31px;padding:0;border:1px solid var(--outline);border-radius:5px;display:grid;place-items:center;overflow:hidden;background:var(--control);color:var(--text-muted);cursor:pointer}.material-history-card__references>button:hover{border-color:var(--text-muted)}.material-history-card__references>button[draggable=true]{cursor:grab}.material-history-card__references>button[draggable=true]:active{cursor:grabbing}.material-history-card__references>button:focus-visible{outline:2px solid #0394f0;outline-offset:2px}.material-history-card__references img{width:100%;height:100%;object-fit:cover}.material-history-card__references small{margin-left:3px;color:var(--text-muted);font-size:12px}.material-generation-state{min-height:96px;padding:15px;border:1px dashed var(--outline);border-radius:8px;display:flex;align-items:center;justify-content:center;gap:11px;background:var(--input);color:var(--text-secondary)}.material-generation-state>div{display:flex;flex-direction:column;gap:4px}.material-generation-state strong{color:var(--text);font-size:14px;font-weight:560}.material-generation-state span{color:var(--text-muted);font-size:12px}.material-generation-state.is-error{border-color:#d16c6c59;color:var(--danger-text)}.material-output-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.material-output-grid.count-1{grid-template-columns:minmax(0,1fr)}.material-output-grid.count-2{grid-template-columns:repeat(2,minmax(0,1fr))}.material-output-grid.count-3{grid-template-columns:repeat(3,minmax(0,1fr))}.material-output-grid>button{min-width:0;min-height:130px;max-height:270px;aspect-ratio:16 / 9;padding:0;border:1px solid var(--outline);border-radius:7px;display:flex;align-items:center;justify-content:center;gap:7px;position:relative;overflow:hidden;background:var(--input);color:var(--text-secondary);cursor:pointer}.material-output-grid>button:hover{border-color:var(--outline-strong)}.material-output-grid img{width:100%;height:100%;object-fit:contain;background:var(--media-surface);transition:transform .18s ease}.material-output-grid>button:hover img{transform:scale(1.012)}.material-output-grid__play{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;position:absolute;background:var(--media-overlay);color:var(--on-media)}:root :is(.material-output-grid__play,.asset-media__play,.project-video-shot-card__play,.play-badge){border:2.5px solid var(--on-media);border-radius:50%;background:transparent;color:var(--on-media)}.material-history-card__footer{min-height:36px;margin-top:10px;padding-top:9px;border-top:1px solid var(--divider);display:flex;align-items:center;justify-content:space-between;gap:12px}.seedance-final-action{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px}.seedance-draft-badge{color:var(--text-secondary)}.seedance-final-action [role=alert]{color:var(--danger-text)}.material-history-card__footer>span{color:var(--text-muted);font-size:12px}.material-history-card__footer>div{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:5px}.material-history-card__footer button,.material-composer__tools button,.material-history__refresh{white-space:nowrap}.material-history-card__footer button,.material-composer__tools button{min-height:32px;padding:0 9px;border:1px solid var(--outline);border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:5px;background:var(--control);color:var(--text-secondary);font-size:13px;cursor:pointer}.material-history-card__footer button:hover,.material-composer__tools button:hover:not(:disabled){border-color:var(--outline-strong);color:var(--text)}.material-history-card__footer button:disabled{opacity:.52;cursor:wait}.material-history-card__footer button.is-danger:hover{border-color:#d16c6c8c;color:var(--danger-text)}.material-composer{width:min(var(--material-feed-width),calc(100% - 36px - var(--material-history-scrollbar-width)));margin:0 0 14px max(18px,calc((100% - var(--material-history-scrollbar-width) - var(--material-feed-width)) / 2));flex:0 0 auto;padding:12px 14px 13px;border:1px solid var(--outline);border-radius:var(--radius-md);position:relative;z-index:24;background:var(--panel);box-shadow:var(--shadow-composer);transition:border-color .15s ease,box-shadow .15s ease}.material-composer.is-file-dragover{border-color:var(--blue);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.2),var(--shadow-composer)}.material-history__latest{position:absolute;z-index:3;top:-44px;right:0}.material-history__latest.is-reversed svg{transform:rotate(180deg)}.material-composer__topline{display:flex;align-items:center;justify-content:space-between;gap:14px}.material-type-switch{padding:3px;border:1px solid var(--outline);border-radius:7px;display:inline-flex;gap:2px;background:var(--input)}.material-type-switch button{min-width:72px;height:31px;padding:0 10px;border:0;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:transparent;color:var(--text-secondary);font-size:13px;cursor:pointer}.material-type-switch button:hover{color:var(--text)}.material-type-switch button.is-active{background:var(--selected);color:var(--text-strong)}.material-type-switch button.is-active svg{color:var(--blue)}.material-composer__tools{display:flex;align-items:center;gap:5px}.material-composer__tools button:disabled{opacity:.45;cursor:not-allowed}.material-composer__prompt-row{margin-top:9px;display:grid;grid-template-columns:56px minmax(0,1fr);align-items:stretch;gap:10px;position:relative}.material-composer__prompt-row.is-audio{grid-template-columns:minmax(0,1fr)}.material-reference-upload{width:56px;height:66px;padding:0;border:1px solid var(--text-secondary);border-radius:7px;display:grid;place-items:center;outline:0;background:var(--input-strong);color:var(--text-secondary);cursor:pointer;transition:border-color .16s ease,background-color .16s ease,color .16s ease}.material-reference-upload:hover:not(:disabled){border-color:var(--text-strong);background:var(--control);color:var(--text-strong)}.material-reference-upload:focus-visible{border-color:var(--blue);box-shadow:0 0 0 2px rgba(var(--accent-rgb),.28)}.material-reference-upload:disabled{border-color:var(--outline);color:var(--text-muted);cursor:not-allowed;opacity:.48}.material-composer__prompt{width:100%;height:66px;min-height:66px;max-height:280px;margin:0;padding:11px 12px;border:1px solid var(--outline);border-radius:7px;outline:0;resize:none;overflow-y:hidden;background:var(--input-strong);color:var(--text);font-size:14px;line-height:1.55}.material-composer__prompt:focus{border-color:var(--outline);box-shadow:none}.material-composer__prompt-editor{display:block;cursor:text;white-space:pre-wrap;overflow-wrap:anywhere}.material-composer__prompt-editor[data-empty=true]:before{content:attr(data-placeholder);color:var(--text-muted);pointer-events:none}.material-prompt-mention{padding:1px 5px;border:1px solid rgba(var(--accent-rgb),.52);border-radius:4px;background:rgba(var(--accent-rgb),.16);color:var(--blue-text);box-decoration-break:clone;-webkit-box-decoration-break:clone;cursor:grab;-webkit-user-drag:element;-webkit-user-select:none;user-select:none;overflow-wrap:anywhere;transition:border-color .12s ease,background-color .12s ease,opacity .12s ease}.material-prompt-mention:hover,.material-prompt-mention:focus{border-color:var(--blue);background:rgba(var(--accent-rgb),.24);outline:0}.material-prompt-mention:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.material-prompt-mention:active{cursor:grabbing}.material-prompt-mention.is-dragging{opacity:.45}.material-mention-menu{width:min(420px,calc(100vw - 24px));max-height:min(420px,calc(100vh - 24px));border:1px solid var(--outline-strong);border-radius:10px;display:flex;flex-direction:column;position:fixed;z-index:170;overflow:hidden;background:var(--panel);box-shadow:var(--shadow-popover)}.material-mention-menu>header,.material-mention-menu>footer,.material-mention-menu__tabs,.material-mention-menu__upload{flex-shrink:0}.material-mention-menu__header{min-height:50px;padding:10px 10px 8px 13px;border-bottom:1px solid var(--divider);display:flex;align-items:center;justify-content:space-between;gap:12px}.material-mention-menu__header>div{min-width:0;display:flex;flex-direction:column;gap:2px}.material-mention-menu__header strong{color:var(--text-strong);font-size:13px;font-weight:620}.material-mention-menu__header span{max-width:300px;overflow:hidden;color:var(--text-muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.material-mention-menu__header>button{width:28px;height:28px;flex:0 0 28px;padding:0;border:0;border-radius:5px;display:grid;place-items:center;background:transparent;color:var(--text-muted);cursor:pointer}.material-mention-menu__header>button:hover{background:var(--control);color:var(--text)}.material-mention-menu__tabs{padding:7px 9px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.material-mention-menu__tabs button{height:31px;padding:0 10px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--text-muted);font-size:11px;cursor:pointer}.material-mention-menu__tabs button:hover{color:var(--text)}.material-mention-menu__tabs button.is-active{border-color:var(--outline);background:var(--selected);color:var(--text-strong)}.material-mention-menu__upload{min-height:34px;margin:7px 9px 0;padding:0 10px;border:1px dashed var(--outline-strong);border-radius:6px;display:flex;align-items:center;justify-content:center;gap:6px;background:var(--input);color:var(--text-secondary);font-size:11px;cursor:pointer}.material-mention-menu__upload:hover:not(:disabled){border-color:var(--outline-strong);color:var(--text-strong)}.material-mention-menu__upload:disabled{opacity:.45;cursor:not-allowed}.material-mention-menu__body{min-height:0;max-height:254px;padding:9px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.material-mention-menu__state{min-height:82px;padding:14px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--text-muted);font-size:11px;text-align:center}.material-mention-menu__state.is-error{color:var(--danger-text)}.material-mention-menu__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.material-mention-menu__card{min-width:0;position:relative}.material-mention-menu__option{width:100%;min-width:0;padding:4px 4px 7px;border:1px solid var(--outline);border-radius:7px;display:flex;flex-direction:column;gap:6px;background:var(--input);color:var(--text-secondary);text-align:left;cursor:pointer;transition:border-color .12s ease,background-color .12s ease}.material-mention-menu__card.is-active .material-mention-menu__option,.material-mention-menu__option:hover{border-color:rgba(var(--accent-rgb),.8);background:var(--control)}.material-mention-menu__media{width:100%;height:66px;border-radius:5px;display:grid;place-items:center;overflow:hidden;background:#121212;color:var(--text-muted)}.material-mention-menu__media img{width:100%;height:100%;object-fit:contain}.material-mention-menu__identity{min-width:0;padding:0 2px;display:flex;flex-direction:column;gap:2px}.material-mention-menu__identity strong{overflow:hidden;color:var(--text);font-size:11px;font-weight:560;text-overflow:ellipsis;white-space:nowrap}.material-mention-menu__identity small{color:var(--text-muted);font-size:9px}.material-mention-menu__preview{width:24px;height:24px;padding:0;border:1px solid var(--outline-strong);border-radius:5px;display:grid;place-items:center;position:absolute;top:8px;right:8px;z-index:2;background:#121212db;color:var(--text-secondary);cursor:pointer}.material-mention-menu__preview:hover{color:#fff}.material-mention-menu button:focus-visible{outline:2px solid var(--blue);outline-offset:1px}.material-mention-menu>footer{min-height:30px;padding:7px 34px 7px 12px;border-top:1px solid var(--divider);color:var(--text-muted);font-size:9px;text-align:right}.material-reference-list{margin-top:8px;display:flex;align-items:center;flex-wrap:wrap;gap:6px;position:relative;z-index:3;overflow:visible}.material-reference-processing{display:flex;align-items:center;gap:6px;margin-top:8px;color:var(--text-secondary);font-size:12px}.material-reference-list>span{min-width:0;width:36px;height:36px;flex:0 0 36px;padding:3px;border:1px solid var(--outline);border-radius:6px;display:flex;align-items:center;position:relative;z-index:0;background:var(--input);cursor:grab;transition:width .15s ease,flex-basis .15s ease,border-color .15s ease,background-color .15s ease}.material-reference-list.is-reordering>span{transition:border-color .12s ease,background-color .12s ease,opacity .12s ease}.material-reference-list>span.is-dragging{opacity:.52;cursor:grabbing}.material-reference-list>span.is-drag-over:before{content:"";width:2px;position:absolute;top:-3px;bottom:-3px;z-index:7;border-radius:999px;background:var(--blue);box-shadow:0 0 0 2px rgba(var(--accent-rgb),.16);pointer-events:none}.material-reference-list>span.is-drop-before:before{left:-5px}.material-reference-list>span.is-drop-after:before{right:-5px}.material-reference-list>span:hover,.material-reference-list>span:focus-within{z-index:2}.material-reference-preview{width:28px;height:28px;flex:0 0 28px;padding:0;border:0;border-radius:4px;display:grid;place-items:center;overflow:hidden;position:relative;z-index:1;background:var(--control);color:var(--text-muted);transform-origin:left bottom;transition:transform .15s ease;cursor:zoom-in}@media(hover:hover)and (pointer:fine){.material-reference-list:not(.is-reordering)>span:hover:not(.has-trusted-popover){width:64px;flex-basis:64px;border-color:transparent;background:transparent}.material-reference-list:not(.is-reordering)>span:hover:not(.has-trusted-popover) .material-reference-preview{transform:scale(2)}.material-reference-list:not(.is-reordering)>span:hover:not(.has-trusted-popover)>.material-reference-remove{top:-25px;right:3px}}.material-reference-preview img{width:100%;height:100%;object-fit:cover}.material-reference-remove{width:22px;height:22px;padding:0;border:1px solid var(--outline-strong);border-radius:4px;display:grid;place-items:center;position:absolute;top:3px;right:3px;z-index:3;background:#121212eb;color:var(--text-secondary);opacity:0;pointer-events:none;transform:scale(.88);cursor:pointer;transition:opacity .12s ease,transform .12s ease}.material-reference-list>span:hover>.material-reference-remove,.material-reference-remove:focus-visible{opacity:1;pointer-events:auto;transform:scale(1)}.material-reference-remove:hover{border-color:#777;background:#121212fa;color:#fff}.material-reference-trusted-action{width:19px;height:19px;padding:0;border:1px solid rgba(var(--accent-rgb),.58);border-radius:5px;display:grid;place-items:center;position:absolute;right:2px;bottom:2px;z-index:4;background:color-mix(in srgb,var(--panel) 88%,transparent);color:var(--blue);box-shadow:0 2px 8px #00000047;cursor:pointer}.material-reference-trusted-action:hover,.material-reference-trusted-action:focus-visible,.material-reference-trusted-action[aria-expanded=true]{border-color:var(--blue);outline:0;background:var(--blue);color:var(--on-blue)}.material-reference-trusted-action.is-active{border-color:rgba(var(--accent-rgb),.46);background:var(--blue);color:var(--on-blue);cursor:default}.material-reference-trusted-action.is-failed{border-color:#d16c6c9e;color:var(--danger-text)}.material-trusted-popover{margin:0;padding:14px;border:1px solid var(--outline-strong);border-radius:9px;display:grid;gap:10px;position:fixed;z-index:180;background:var(--panel-raised);color:var(--text);box-shadow:var(--shadow-popover)}.material-trusted-popover>strong{color:var(--text-strong);font-size:14px;font-weight:650}.material-trusted-popover>label{display:grid;gap:6px}.material-trusted-popover>label>span{color:var(--text-secondary);font-size:11px}.material-trusted-popover input{width:100%;height:34px;padding:0 10px;border:1px solid var(--outline-strong);border-radius:6px;outline:0;background:var(--input-strong);color:var(--text);font-size:12px}.material-trusted-popover input:focus{border-color:var(--blue);box-shadow:0 0 0 2px rgba(var(--accent-rgb),.2)}.material-trusted-popover__meta{color:var(--text-secondary);font-size:11px}.material-trusted-popover>p{margin:0;color:var(--text-muted);font-size:11px;line-height:1.55}.material-trusted-popover__error{padding:7px 8px;border:1px solid rgba(209,108,108,.34);border-radius:6px;display:flex;align-items:flex-start;gap:6px;background:var(--danger-surface);color:var(--danger-text);font-size:11px;line-height:1.45}.material-trusted-popover__error svg{flex:0 0 auto;margin-top:1px}.material-trusted-popover>footer{display:flex;justify-content:flex-end;gap:7px}.material-trusted-popover>footer button{min-width:70px;height:32px;padding:0 11px;border:1px solid var(--outline-strong);border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--control);color:var(--text-secondary);font-size:11px;cursor:pointer}.material-trusted-popover>footer button:not(.is-primary):hover:not(:disabled){color:var(--text)}.material-trusted-popover>footer button.is-primary{border-color:var(--blue);background:var(--blue);color:var(--on-blue)}.material-trusted-popover>footer button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.material-trusted-popover>footer button:disabled,.material-trusted-popover input:disabled{opacity:.56;cursor:not-allowed}@media(hover:none),(pointer:coarse){.material-reference-remove{opacity:1;pointer-events:auto;transform:none}}.material-reference-list .material-reference-clear{height:30px;flex:0 0 auto;padding:0 8px;border:0;background:transparent;color:var(--text-muted);font-size:10px;cursor:pointer}.material-reference-list .material-reference-clear:hover{color:var(--text)}.material-mode-error{min-height:28px;margin-top:8px;padding:5px 8px;border:1px solid rgba(209,108,108,.38);border-radius:6px;display:flex;align-items:center;gap:6px;background:var(--danger-surface);color:var(--danger-text);font-size:12px}.material-mode-error svg{flex:0 0 auto}.material-composer__controls{margin-top:9px;display:grid;grid-template-columns:minmax(150px,1.45fr) repeat(3,minmax(106px,.8fr)) minmax(230px,1.25fr);align-items:end;gap:8px}.material-composer__controls.is-image,.material-composer__controls.is-audio{grid-template-columns:minmax(0,5fr) minmax(0,3fr) repeat(2,minmax(96px,2fr))}.material-composer__controls.is-video{grid-template-columns:minmax(0,5fr) minmax(0,3fr) repeat(4,minmax(72px,2fr))}.material-composer__controls.has-image-quality{grid-template-columns:minmax(0,5fr) minmax(0,3fr) repeat(3,minmax(72px,2fr))}@media(min-width:621px){.material-composer__controls.has-image-output-count{grid-template-columns:minmax(0,5fr) minmax(0,3fr) repeat(4,minmax(72px,2fr))}}.material-image-quality-error{grid-column:1 / -1;margin:0;color:var(--text-muted);font-size:12px}.material-audio-voice-error{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin:0;color:var(--danger-text);font-size:12px;line-height:1.5}.material-audio-voice-error button{padding:2px 0;border:0;background:transparent;color:var(--blue-text);font:inherit;text-decoration:underline;cursor:pointer}@media(min-width:621px){.material-composer__controls.is-video:not(:has(.is-generation-mode)){grid-template-columns:minmax(0,5fr) minmax(0,3fr) repeat(3,minmax(72px,2fr))}}.material-composer__controls.is-image .material-composer__submit,.material-composer__controls.is-video .material-composer__submit,.material-composer__controls.is-audio .material-composer__submit{grid-column:1 / -1}.material-control-field{min-width:0;display:flex;flex-direction:column;gap:5px}.material-control-field>span{color:var(--text-muted);font-size:12px}.material-select{min-width:0;position:relative}.material-select__trigger{width:100%;height:37px;padding:0 10px;border:1px solid var(--outline);border-radius:6px;display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--input);color:var(--text);font-size:13px;text-align:left;cursor:pointer}.material-select__trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-select__trigger:hover:not(:disabled),.material-select__trigger[aria-expanded=true]{border-color:var(--outline-strong);background:var(--control)}.material-select__trigger[aria-expanded=true]{border-color:var(--blue)}.material-select__trigger[aria-expanded=true]>svg{transform:rotate(180deg)}.material-select__trigger>svg{flex:0 0 auto;color:var(--text-muted);transition:transform .12s ease}.material-select__trigger:disabled{opacity:.5;cursor:not-allowed}.material-select__menu{width:100%;max-height:230px;padding:5px;position:absolute;left:0;bottom:calc(100% + 6px);z-index:110;overflow-y:auto;border:1px solid var(--outline-strong);border-radius:7px;background:var(--control);box-shadow:var(--shadow-popover)}.material-select__menu>button{width:100%;min-height:34px;padding:0 8px;border:0;border-radius:5px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:transparent;color:var(--text-secondary);font-size:13px;text-align:left;cursor:pointer}.material-select__menu>button:hover,.material-select__menu>button.is-selected{background:var(--selected);color:var(--text)}.material-select__menu>button svg{color:var(--blue)}.material-select__menu.is-descriptive{width:100%;max-height:min(360px,48vh);padding:6px}.material-select__option{min-width:0;margin:2px 0;border-radius:7px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;background:transparent;transition:background .12s ease,box-shadow .12s ease}.material-select__option:hover,.material-select__option:focus-within{background:var(--tile)}.material-select__option.is-selected{background:var(--selected);box-shadow:inset 3px 0 0 var(--blue)}.material-select__option-main{min-width:0;padding:9px 0 9px 11px;border:0;display:grid;gap:3px;background:transparent;color:inherit;text-align:left;cursor:pointer}.material-select__option-main strong{min-width:0;overflow:hidden;color:var(--text-strong);font-size:14px;font-weight:650;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.material-select__option-main span{min-width:0;overflow:hidden;color:var(--text-muted);display:-webkit-box;font-size:12px;line-height:1.45;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.material-select__option-details{margin-right:9px;padding:5px 8px;border:1px solid color-mix(in srgb,var(--blue) 52%,transparent);border-radius:6px;background:color-mix(in srgb,var(--blue) 9%,transparent);color:var(--blue-text);font-size:12px;line-height:1;white-space:nowrap;cursor:pointer}.material-select__option-details:hover{border-color:var(--blue);background:color-mix(in srgb,var(--blue) 16%,transparent);color:var(--blue-text)}.material-skill-select__trigger.is-loaded{background:var(--selected)}.material-skill-select__trigger.is-error{border-color:color-mix(in srgb,var(--danger-text) 58%,var(--outline))}.material-skill-select__value{min-width:0;display:flex;align-items:center;gap:7px}.material-skill-select__value>svg{flex:0 0 auto;color:var(--text-muted)}.material-skill-select__value>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-skill-select__trigger.is-loaded .material-skill-select__value>svg{color:var(--blue)}.material-skill-select__menu{max-height:min(390px,56vh);padding:6px;display:flex;flex-direction:column;overflow:hidden}.material-skill-select__search{min-height:34px;margin-bottom:5px;padding:0 6px 0 9px;border:1px solid var(--outline);border-radius:6px;display:flex;align-items:center;gap:6px;background:var(--input);color:var(--text-muted)}.material-skill-select__search:focus-within{border-color:var(--blue);box-shadow:0 0 0 2px rgba(var(--accent-rgb),.14)}.material-skill-select__search input{min-width:0;height:32px;flex:1;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:13px}.material-skill-select__search input::placeholder{color:var(--text-muted)}.material-skill-select__search>button{width:22px;height:22px;padding:0;border:0;border-radius:4px;display:grid;place-items:center;background:transparent;color:var(--text-muted);cursor:pointer}.material-skill-select__search>button:hover{background:var(--control);color:var(--text)}.material-skill-select__options{min-height:0;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.material-skill-select__option{width:100%;min-height:48px;margin:1px 0;padding:6px 8px;border:1px solid transparent;border-radius:6px;display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:8px;background:transparent;color:var(--text-secondary);text-align:left;cursor:pointer}.material-skill-select__option:hover:not(:disabled){background:var(--tile);color:var(--text)}.material-skill-select__option.is-selected{border-color:color-mix(in srgb,var(--blue) 34%,transparent);background:color-mix(in srgb,var(--blue) 8%,var(--selected))}.material-skill-select__option:disabled{cursor:wait}.material-skill-select__option-icon{width:26px;height:26px;border:1px solid var(--outline);border-radius:6px;display:grid;place-items:center;background:var(--input);color:var(--text-muted)}.material-skill-select__option .material-skill-select__option-icon,.material-skill-select__option.is-selected>svg{color:var(--blue)}.material-skill-select__option-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.material-skill-select__option-copy strong,.material-skill-select__option-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-skill-select__option-copy strong{color:var(--text);font-size:13px;font-weight:600}.material-skill-select__option-copy small{color:var(--text-muted);font-size:11px}.material-skill-select__state{min-height:54px;padding:9px;display:flex;align-items:center;justify-content:center;gap:6px;color:var(--text-muted);font-size:12px;text-align:center}.material-skill-select__state.is-error{color:var(--danger-text)}.material-skill-select__state>button{padding:3px 6px;border:1px solid currentColor;border-radius:5px;background:transparent;color:inherit;font:inherit;cursor:pointer}.material-select__menu>.material-skill-select__manage{min-height:33px;margin-top:5px;padding:0 8px;border-top:1px solid var(--divider);border-radius:0 0 5px 5px;color:var(--text-secondary)}.material-select__menu>.material-skill-select__manage:hover{background:var(--selected);color:var(--text)}.material-select__option-main:focus-visible,.material-select__option-details:focus-visible{outline:1px solid var(--blue);outline-offset:-2px}.material-composer__submit{min-width:0;min-height:37px;display:flex;align-items:center;justify-content:flex-end;gap:8px}.material-composer__options{display:flex;align-items:center;flex-shrink:0;margin-right:auto}.material-credit{min-width:92px;min-height:32px;padding:0 9px;border:1px solid var(--outline);border-radius:16px;display:inline-flex;align-items:center;justify-content:center;gap:5px;color:var(--text-secondary);font-size:12px;white-space:nowrap}.material-credit.is-error{border-color:#d16c6c66;color:var(--danger-text)}.material-composer__submit>button{min-width:128px;height:37px;padding:0 15px;border:1px solid var(--blue);border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--blue);color:var(--on-blue);font-size:14px;font-weight:650;cursor:pointer}.material-composer__submit>button:hover:not(:disabled){background:var(--blue-hover)}.material-composer__submit>button:disabled{border-color:var(--outline);background:var(--emphasized);color:var(--text-disabled);cursor:not-allowed}.material-skill-backdrop{--dialog-gutter: 24px;padding:var(--dialog-gutter);position:fixed;top:0;right:0;bottom:0;left:0;z-index:270;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;overflow:auto;overscroll-behavior:contain;background:var(--overlay);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.material-skill-dialog{width:min(1080px,100%);height:min(720px,calc(100dvh - 2 * var(--dialog-gutter)));max-height:calc(100dvh - 2 * var(--dialog-gutter));min-width:0;min-height:0;border:1px solid var(--outline-strong);border-radius:var(--radius-lg);display:flex;flex-direction:column;overflow:auto;background:var(--panel);box-shadow:var(--shadow-floating)}.material-skill-dialog__header{flex-shrink:0;min-height:72px;padding:13px 16px;border-bottom:1px solid var(--divider);display:flex;align-items:center;gap:11px;background:var(--panel)}.material-skill-dialog__mark{width:38px;height:38px;border:1px solid var(--outline);border-radius:8px;display:grid;flex:0 0 auto;place-items:center;background:var(--control);color:var(--blue)}.material-skill-dialog__header>div:nth-child(2){min-width:0;display:flex;flex:1;flex-direction:column;gap:4px}.material-skill-dialog__header strong{color:var(--text-strong);font-size:16px;font-weight:620}.material-skill-dialog__header span{color:var(--text-muted);font-size:11px}.material-skill-dialog__header>button{width:34px;height:34px;padding:0;border:1px solid transparent;border-radius:6px;display:grid;place-items:center;background:transparent;color:var(--text-secondary);cursor:pointer}.material-skill-dialog__header>button:hover:not(:disabled){border-color:var(--outline);background:var(--control);color:var(--text)}.material-skill-catalog{min-height:min(360px,60dvh);flex:1;display:grid;grid-template-columns:340px minmax(0,1fr);overflow:auto}.material-skill-catalog__rail{min-width:0;min-height:0;padding:13px;border-right:1px solid var(--divider);display:flex;flex-direction:column;gap:9px;background:var(--sidebar)}.material-skill-source-tabs{padding:3px;border:1px solid var(--outline);border-radius:7px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;background:var(--input)}.material-skill-source-tabs button{min-height:30px;padding:0 8px;border:0;border-radius:5px;background:transparent;color:var(--text-muted);font:inherit;font-size:11px;cursor:pointer}.material-skill-source-tabs button:hover{color:var(--text)}.material-skill-source-tabs button.is-active{background:var(--selected);color:var(--text-strong)}.material-skill-select__sources{flex-shrink:0;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:6px}.material-skill-select__sources button:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}.material-skill-search{height:36px;padding:0 8px 0 10px;border:1px solid var(--outline);border-radius:7px;display:flex;align-items:center;gap:7px;background:var(--input-strong);color:var(--text-muted)}.material-skill-search:focus-within{border-color:var(--blue);box-shadow:0 0 0 2px rgba(var(--accent-rgb),.16)}.material-skill-search input{min-width:0;height:100%;flex:1;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:11px}.material-skill-search input::placeholder{color:var(--text-muted)}.material-skill-search button{width:23px;height:23px;padding:0;border:0;border-radius:4px;display:grid;place-items:center;background:transparent;color:var(--text-muted);cursor:pointer}.material-skill-list{min-height:0;flex:1;display:flex;flex-direction:column;gap:4px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.material-skill-list>button:not(.material-skill-more){width:100%;min-height:68px;padding:10px 9px;border:1px solid transparent;border-radius:8px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;position:relative;background:transparent;color:var(--text-muted);text-align:left;cursor:pointer}.material-skill-list>button:not(.material-skill-more):hover{background:var(--control);color:var(--text-secondary)}.material-skill-list>button.is-active{border-color:var(--outline-strong);background:var(--selected)}.material-skill-list>button.is-active:before{width:2px;border-radius:2px;position:absolute;inset:12px auto 12px -1px;background:var(--blue);content:""}.material-skill-list__icon{width:30px;height:30px;border:1px solid var(--outline);border-radius:7px;display:grid;place-items:center;background:var(--control);color:var(--text-secondary)}.material-skill-list>button.is-active .material-skill-list__icon,.material-skill-list>button.is-loaded .material-skill-list__icon{color:var(--blue)}.material-skill-list__copy{min-width:0;display:flex;flex-direction:column;gap:3px}.material-skill-list__copy strong,.material-skill-list__copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-skill-list__copy strong{color:var(--text);font-size:12px;font-weight:590}.material-skill-list__copy small{color:var(--text-muted);font-size:10px}.material-skill-list>button>svg{color:var(--blue)}.material-skill-state{min-height:100px;padding:20px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--text-muted);font-size:11px;line-height:1.5;text-align:center}.material-skill-state.is-error,.material-skill-editor__error{color:var(--danger-text)}.material-skill-more,.material-skill-create{width:100%;min-height:35px;padding:0 10px;border:1px solid var(--outline);border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--control);color:var(--text-secondary);font:inherit;font-size:11px;cursor:pointer}.material-skill-more:hover,.material-skill-create:hover{border-color:var(--outline-strong);color:var(--text)}.material-skill-detail{min-width:0;min-height:0;padding:28px 32px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.material-skill-detail__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.material-skill-detail__identity{min-width:0;display:flex;align-items:flex-start;gap:12px}.material-skill-detail__identity>span{width:45px;height:45px;border:1px solid var(--outline);border-radius:9px;display:grid;flex:0 0 auto;place-items:center;background:var(--control);color:var(--blue)}.material-skill-detail__identity>div{min-width:0;display:flex;flex-direction:column}.material-skill-detail__identity strong{overflow-wrap:anywhere;color:var(--text-strong);font-size:21px;font-weight:620;line-height:1.25}.material-skill-detail__manage{display:flex;flex:0 0 auto;gap:5px}.material-skill-detail__manage button{min-height:31px;padding:0 9px;border:1px solid var(--outline);border-radius:6px;display:inline-flex;align-items:center;gap:5px;background:var(--control);color:var(--text-secondary);font:inherit;font-size:10px;cursor:pointer}.material-skill-detail__manage button:hover{border-color:var(--outline-strong);color:var(--text)}.material-skill-detail__manage button.is-danger:hover{border-color:#d16c6c8c;color:var(--danger-text)}.material-skill-detail__intro{max-width:680px;margin:24px 0 0;padding-top:20px;border-top:1px solid var(--divider);color:var(--text-secondary);font-size:13px;line-height:1.65}.material-skill-detail__loading{margin-top:14px;display:flex;align-items:center;gap:7px;color:var(--text-muted);font-size:10px}.material-skill-detail__empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--text-muted);text-align:center}.material-skill-detail__empty svg{margin-bottom:5px;color:var(--text-faint)}.material-skill-detail__empty strong{color:var(--text-secondary);font-size:14px;font-weight:580}.material-skill-detail__empty span{font-size:11px}.material-skill-dialog__footer{flex-shrink:0;min-height:65px;padding:11px 15px;border-top:1px solid var(--divider);display:flex;align-items:center;justify-content:flex-end;gap:16px;background:var(--panel)}.material-skill-editor__actions{display:flex;justify-content:flex-end;gap:7px}.material-skill-dialog__footer button,.material-skill-editor__actions button{min-height:36px;padding:0 13px;border:1px solid var(--outline);border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--control);color:var(--text-secondary);font:inherit;font-size:11px;cursor:pointer}.material-skill-dialog__footer button:hover:not(:disabled),.material-skill-editor__actions button:hover:not(:disabled){border-color:var(--outline-strong);color:var(--text)}.material-skill-dialog__footer button.is-primary,.material-skill-editor__actions button.is-primary{border-color:var(--blue);background:var(--blue);color:var(--on-blue);font-weight:630}.material-skill-dialog__footer button.is-primary:hover:not(:disabled),.material-skill-editor__actions button.is-primary:hover:not(:disabled){border-color:var(--blue-hover);background:var(--blue-hover);color:var(--on-blue)}.material-skill-dialog button:disabled{opacity:.48;cursor:not-allowed}.material-skill-editor{min-height:0;flex:1;padding:22px 28px 18px;display:flex;flex-direction:column;overflow-y:auto}.material-skill-editor__heading{margin-bottom:20px;display:flex;align-items:center;gap:12px}.material-skill-editor__heading>button{min-height:32px;padding:0 9px;border:1px solid var(--outline);border-radius:6px;display:inline-flex;align-items:center;gap:5px;background:var(--control);color:var(--text-secondary);font:inherit;font-size:10px;cursor:pointer}.material-skill-editor__heading>div{min-width:0;display:flex;flex-direction:column;gap:3px}.material-skill-editor__heading strong{color:var(--text-strong);font-size:17px;font-weight:620}.material-skill-editor__heading span{color:var(--text-muted);font-size:10px}.material-skill-editor__grid{width:min(780px,100%);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.material-skill-field{min-width:0;position:relative;display:flex;flex-direction:column;gap:6px}.material-skill-field.is-wide,.material-skill-kind.is-wide{grid-column:1 / -1}.material-skill-field>span,.material-skill-kind legend{color:var(--text-secondary);font-size:11px;font-weight:560}.material-skill-field>span em{margin-left:4px;color:var(--text-muted);font-size:9px;font-style:normal;font-weight:400}.material-skill-field input,.material-skill-field textarea{width:100%;border:1px solid var(--outline);border-radius:7px;outline:0;resize:vertical;background:var(--input-strong);color:var(--text);font:inherit;font-size:11px;line-height:1.55}.material-skill-field input{height:38px;padding:0 11px}.material-skill-field textarea{min-height:64px;padding:9px 11px}.material-skill-field.is-rules textarea{min-height:154px}.material-skill-field input:focus,.material-skill-field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 2px rgba(var(--accent-rgb),.16)}.material-skill-field input:disabled{color:var(--text-muted);cursor:not-allowed}.material-skill-field>small{align-self:flex-end;margin-top:-3px;color:var(--text-muted);font-size:9px}.material-skill-kind{min-width:0;padding:0;border:0}.material-skill-kind legend{margin-bottom:7px}.material-skill-kind>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.material-skill-kind button{min-height:72px;padding:10px 11px;border:1px solid var(--outline);border-radius:8px;display:grid;grid-template-columns:20px minmax(0,1fr);align-content:center;gap:3px 7px;background:var(--input);color:var(--text-muted);text-align:left;cursor:pointer}.material-skill-kind button:hover{border-color:var(--outline-strong)}.material-skill-kind button.is-active{border-color:rgba(var(--accent-rgb),.62);background:rgba(var(--accent-rgb),.08)}.material-skill-kind button>span{width:18px;height:18px;border:1px solid var(--outline-strong);border-radius:50%;display:grid;grid-row:1 / 3;place-items:center;color:var(--blue)}.material-skill-kind button.is-active>span{border-color:var(--blue)}.material-skill-kind strong{color:var(--text);font-size:11px;font-weight:580}.material-skill-kind small{color:var(--text-muted);font-size:9px;line-height:1.4}.material-skill-editor__error{width:min(780px,100%);margin-top:12px;padding:8px 10px;border:1px solid rgba(209,108,108,.4);border-radius:6px;background:var(--danger-surface);font-size:10px}.material-skill-editor__actions{width:min(780px,100%);margin-top:auto;padding-top:18px}.material-skill-dialog button:focus-visible,.material-skill-dialog input:focus-visible,.material-skill-dialog textarea:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.material-preview-backdrop{--dialog-gutter: 24px;padding:var(--dialog-gutter);position:fixed;top:0;right:0;bottom:0;left:0;z-index:240;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;overflow:auto;overscroll-behavior:contain;background:var(--overlay)}.material-preview-dialog,.material-library-dialog,.material-model-dialog{width:min(980px,calc(100vw - 48px));max-width:100%;min-width:0;min-height:0;max-height:calc(100dvh - 2 * var(--dialog-gutter));border:1px solid var(--outline);border-radius:var(--radius-lg);overflow:auto;background:var(--panel);box-shadow:0 26px 70px #0009}.material-preview-dialog>header,.material-library-dialog>header,.material-model-dialog>header{min-height:64px;padding:13px 16px;border-bottom:1px solid var(--divider);display:flex;align-items:center;justify-content:space-between;gap:16px}.material-preview-dialog>header>div,.material-library-dialog>header>div,.material-model-dialog>header>div{min-width:0;display:flex;flex-direction:column;gap:4px}.material-preview-dialog>header strong,.material-library-dialog>header strong,.material-model-dialog>header strong{color:var(--text-strong);font-size:15px;font-weight:600}.material-preview-dialog>header span,.material-library-dialog>header span,.material-model-dialog>header span{color:var(--text-muted);font-size:10px}.material-preview-dialog>header>button,.material-library-dialog>header>button,.material-model-dialog>header>button{width:34px;height:34px;padding:0;border:1px solid transparent;border-radius:6px;display:grid;place-items:center;background:transparent;color:var(--text-secondary);cursor:pointer}.material-preview-dialog>header>button:hover,.material-library-dialog>header>button:hover,.material-model-dialog>header>button:hover{border-color:var(--outline);background:var(--control);color:var(--text)}.material-preview-dialog.is-image-only,.material-preview-dialog.is-video-preview{--image-preview-inset: 24px;width:calc(100vw - 2 * var(--image-preview-inset));height:calc(100dvh - 2 * var(--image-preview-inset));max-height:calc(100dvh - 2 * var(--image-preview-inset));position:relative;isolation:isolate;overflow:hidden;background:#101010}.material-preview-dialog.is-video-preview{display:flex;flex-direction:column}.material-preview-dialog.is-video-preview>header{flex-shrink:0;background:var(--panel)}.material-preview-dialog.is-video-preview .material-preview-dialog__media{flex:1;min-height:0;max-height:none;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.material-preview-dialog.is-video-preview .material-preview-dialog__media video{min-height:0;max-height:100%}.material-preview-dialog.is-video-preview>p{flex-shrink:0;max-height:72px;overflow:auto;margin:0;background:var(--panel)}.material-preview-dialog>header>.material-preview-dialog__header-close{width:auto;min-width:76px;flex-shrink:0;display:flex;justify-content:center;gap:6px;border-color:var(--outline);background:var(--control)}.material-preview-dialog>header>.material-preview-dialog__header-close span{color:inherit;font-size:14px}.material-preview-dialog__floating-close{width:80px;height:40px;padding:0;border:1px solid rgba(255,255,255,.18);border-radius:7px;display:flex;align-items:center;justify-content:center;gap:6px;position:absolute;top:12px;right:12px;z-index:10;background:#121212f5;color:#f2f2f2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer;font-size:14px;transition:background-color .12s ease,border-color .12s ease}.material-preview-dialog__floating-close:hover{border-color:#ffffff57;background:#222222f0}.material-preview-dialog.is-image-only .material-preview-dialog__media{min-height:0;max-height:none}.material-preview-dialog.is-image-only .material-preview-dialog__media img{max-height:none}@media(max-width:600px){.material-preview-dialog.is-image-only,.material-preview-dialog.is-video-preview{--image-preview-inset: 12px}}.material-preview-dialog__media{min-height:320px;max-height:calc(100vh - 220px);display:grid;place-items:center;overflow:hidden;background:#101010}.material-preview-dialog__media img,.material-preview-dialog__media video{width:100%;height:100%;max-height:calc(100vh - 220px);object-fit:contain}.material-preview-dialog>p{padding:13px 16px 15px;color:var(--text-secondary);font-size:12px;line-height:1.55}.material-audio-preview{width:min(520px,calc(100% - 40px));padding:32px;border:1px solid var(--outline);border-radius:10px;display:flex;flex-direction:column;align-items:center;gap:18px;background:var(--panel);color:var(--text-secondary)}.material-audio-preview audio{width:100%}.material-library-dialog{width:min(820px,calc(100vw - 48px));padding-bottom:16px}.material-model-dialog{width:min(560px,calc(100vw - 48px))}.material-model-dialog__body{padding:16px;display:grid;gap:10px}.material-model-dialog__body>section{padding:14px;border:1px solid var(--outline);border-radius:7px;background:var(--input)}.material-model-dialog__body h3{margin:0 0 7px;color:var(--text-strong);font-size:12px;font-weight:600}.material-model-dialog__body p{margin:0;color:var(--text-secondary);font-size:12px;line-height:1.7;white-space:pre-wrap}.material-model-dialog>footer{padding:0 16px 16px;display:flex;justify-content:flex-end}.material-model-dialog>footer>button{min-width:84px;height:36px;border:1px solid var(--outline);border-radius:6px;background:var(--control);color:var(--text);font-size:12px;cursor:pointer}.material-model-dialog>footer>button:hover{border-color:var(--outline-strong);background:var(--selected)}.material-voice-dialog{width:min(1440px,calc(100vw - 48px));display:flex;flex-direction:column;overflow:auto}.material-voice-dialog>header,.material-voice-tabs,.material-voice-filters,.material-voice-footer{flex-shrink:0}.material-voice-dialog>header span{color:var(--text-secondary);font-size:12px}.material-voice-tabs{padding:12px 16px 0;display:flex;gap:8px}.material-voice-tabs>button{min-width:88px;min-height:36px;padding:6px 16px;border:1px solid var(--outline);border-radius:6px;background:var(--control);color:var(--text-secondary);font-size:14px}.material-voice-tabs>button[aria-selected=true]{border-color:var(--blue);background:var(--selected);color:var(--text)}.material-voice-filters{padding:16px;display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--divider)}.material-voice-filters input,.material-voice-filters select,.material-voice-filters button,.material-voice-footer button,.material-voice-pagination button,.material-voice-results .material-dialog-state button{min-width:0;min-height:36px;padding:6px 12px;border:1px solid var(--outline);border-radius:6px;background:var(--input);color:var(--text);font-size:14px}.material-voice-filters input{flex:1 1 180px}.material-voice-filters select,.material-voice-dialog button{cursor:pointer}.material-voice-results{flex:1 1 auto;min-height:min(120px,20dvh);min-width:0;overflow-y:auto;overscroll-behavior:contain;padding:16px}.material-voice-list{margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;list-style:none}.material-voice-section{min-width:0}.material-voice-section__header{margin-bottom:12px;color:var(--text-secondary);font-size:12px;font-variant-numeric:tabular-nums}.material-voice-pagination{margin-top:16px;padding-top:12px;border-top:1px solid var(--divider);display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}.material-voice-pagination>span{color:var(--text-secondary);font-size:12px;font-variant-numeric:tabular-nums}.material-voice-pagination button{min-width:36px}.material-voice-dialog .material-voice-pagination button[aria-current=page]{border-color:var(--blue);background:var(--selected);color:var(--text);opacity:1;cursor:default}.material-voice-card{min-width:0;padding:10px;border:1px solid var(--outline);border-radius:8px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:var(--card)}.material-voice-card.is-selected{border-color:var(--blue);background:var(--selected)}.material-voice-card__choose{min-width:0;min-height:48px;padding:0;flex:1;display:flex;align-items:center;gap:10px;border:0;background:transparent;color:var(--text);text-align:left}.material-voice-avatar{width:36px;height:36px;flex-shrink:0;display:grid;place-items:center;overflow:hidden;border-radius:6px;background:var(--icon-tile);color:var(--text-secondary)}.material-voice-avatar img{width:100%;height:100%;object-fit:cover}.material-voice-card__info{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.material-voice-card__info strong,.material-voice-card__info>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.material-voice-card__info strong{font-size:14px}.material-voice-card__info>span{color:var(--text-secondary);font-size:12px}.material-voice-selected{display:flex;align-items:center;flex-shrink:0;color:var(--blue);font-size:12px}.material-voice-preview{min-height:36px;padding:6px 8px;border:1px solid var(--outline);border-radius:6px;display:flex;align-items:center;justify-content:center;gap:5px;background:var(--control);color:var(--text-secondary);font-size:12px}.material-voice-preview[aria-pressed=true]{color:var(--blue);border-color:var(--blue)}.material-voice-card:has(.material-voice-card__choose:hover){background:var(--control)}.material-voice-dialog button:hover:not(:disabled){color:var(--text)}.material-voice-dialog button:disabled{cursor:not-allowed;opacity:.55}.material-voice-error{width:100%;color:var(--danger);font-size:12px}.material-voice-footer{padding:12px 16px;border-top:1px solid var(--divider);display:flex;align-items:center;gap:8px}.material-voice-footer>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:auto;color:var(--text-secondary);font-size:12px;font-variant-numeric:tabular-nums}@media(max-width:1439px){.material-voice-list{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1279px){.material-voice-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:979px){.material-voice-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:679px){.material-voice-list{grid-template-columns:minmax(0,1fr)}.material-voice-filters input{flex-basis:calc(100% - 80px)}.material-voice-filters select{flex:1}}.material-library-search{margin:14px 16px;display:flex;gap:7px}.material-library-search input{min-width:0;height:38px;flex:1;padding:0 11px;border:1px solid var(--outline);border-radius:6px;outline:0;background:var(--input);color:var(--text);font-size:12px}.material-library-search button{min-width:76px;border:1px solid var(--outline);border-radius:6px;background:var(--control);color:var(--text-secondary);font-size:12px;cursor:pointer}.material-dialog-state{min-height:110px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--text-muted);font-size:12px}.material-dialog-state.is-error{color:var(--danger-text)}.material-library-grid{padding:0 16px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.material-library-grid>button{min-width:0;padding:6px;border:1px solid var(--outline);border-radius:7px;display:flex;flex-direction:column;align-items:stretch;gap:5px;background:var(--input);color:var(--text-secondary);text-align:left;cursor:pointer}.material-library-grid>button:hover{border-color:var(--blue);background:var(--control)}.material-library-grid__media{width:100%;aspect-ratio:1;border-radius:5px;display:grid;place-items:center;overflow:hidden;background:var(--tile);color:var(--text-muted)}.material-library-grid__media img{width:100%;height:100%;object-fit:cover}.material-library-grid strong{overflow:hidden;color:var(--text);font-size:10px;font-weight:540;text-overflow:ellipsis;white-space:nowrap}.material-library-grid small{color:var(--text-muted);font-size:9px}.material-login-state{min-height:420px;flex:1;border:1px dashed var(--outline);border-radius:var(--radius-lg);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text-secondary);text-align:center}.material-login-state>span{width:54px;height:54px;margin-bottom:14px;border:1px solid var(--outline);border-radius:12px;display:grid;place-items:center;background:var(--control);color:var(--blue)}.material-login-state h1{color:var(--text-strong);font-size:22px;font-weight:600}.material-login-state p{max-width:460px;margin:8px 0 20px;color:var(--text-muted);font-size:13px;line-height:1.6}.spin{animation:material-spin .9s linear infinite}@keyframes material-spin{to{transform:rotate(360deg)}}@media(max-width:1260px){.material-page{padding-inline:14px}.material-page.is-sessions-collapsed:before{left:14px}.material-workbench{grid-template-columns:210px minmax(0,1fr)}}@media(max-width:900px){.material-page{height:auto;min-height:calc(100vh - var(--topbar-height) - 66px);padding:12px 10px 82px;overflow:visible}.material-page.is-sessions-collapsed:before{display:none}.material-page__header.is-sessions-collapsed{padding-left:50px}.material-page__sessions-expand{left:0}.material-page__title>span{display:none}.material-workbench{display:flex;flex-direction:column;overflow:visible}.material-sessions{min-height:auto;border-right:0;border-bottom:1px solid var(--divider)}.material-sessions.is-collapsed{min-height:56px;padding:8px;overflow:hidden}.material-sessions__rail{height:38px;flex-direction:row;align-items:center}.material-sessions__rail-history{width:auto;margin-top:0;padding:0 10px;gap:7px}.material-sessions__rail-history span{display:inline;font-size:12px}.material-sessions__rail-new{margin-top:0;margin-left:auto}.material-session-list{max-height:190px}.material-studio{min-height:760px}.material-history{min-height:420px;overflow:visible}.material-composer{position:sticky;bottom:64px;z-index:20}.material-output-grid,.material-output-grid.count-3,.material-output-grid.count-4{grid-template-columns:repeat(2,minmax(0,1fr))}.material-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.material-skill-backdrop{--dialog-gutter: 10px}.material-skill-dialog{width:100%;height:calc(100dvh - 2 * var(--dialog-gutter))}}@media(max-width:620px){.material-composer{width:calc(100% - 20px);margin-left:10px}.material-composer__topline{align-items:stretch;flex-direction:column}.material-type-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.material-type-switch button{min-width:0}.material-composer__tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.material-composer__tools button{width:100%}.material-composer__prompt-row{grid-template-columns:48px minmax(0,1fr);gap:8px}.material-mention-menu__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.material-reference-upload{width:48px}.material-composer__controls,.material-composer__controls.is-image,.material-composer__controls.is-video,.material-composer__controls.is-audio{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.material-composer__submit,.material-composer__controls.is-audio .material-composer__submit{grid-column:1 / -1;justify-content:stretch}.material-composer__submit>button{flex:1}.material-composer__submit:has(.material-composer__options){flex-wrap:wrap}.material-composer__options{flex-basis:100%}.material-history{padding-inline:10px}.material-history__heading-actions{width:100%;justify-content:space-between}.material-history-sort{min-width:0;flex:1;justify-content:space-between}.material-history-card__footer{align-items:flex-start;flex-direction:column}.material-history-card__footer>div{justify-content:flex-start}.material-output-grid,.material-output-grid.count-2,.material-output-grid.count-3,.material-output-grid.count-4{grid-template-columns:minmax(0,1fr)}.material-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.material-preview-backdrop{--dialog-gutter: 10px}.material-preview-dialog,.material-library-dialog,.material-model-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 2 * var(--dialog-gutter))}.material-skill-backdrop{--dialog-gutter: 0px}.material-skill-dialog{width:100vw;height:100dvh;min-height:0;border:0;border-radius:0}.material-skill-dialog__header{min-height:62px;padding:10px 12px}.material-skill-dialog__header span{display:none}.material-skill-catalog{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(245px,44%) minmax(160px,1fr)}.material-skill-catalog__rail{padding:10px;border-right:0;border-bottom:1px solid var(--divider)}.material-skill-detail{padding:18px 16px}.material-skill-detail__identity strong{font-size:17px}.material-skill-dialog__footer{min-height:58px;padding:9px 10px}.material-skill-dialog__footer button.is-primary{flex:1}.material-skill-editor{padding:16px 14px 12px}.material-skill-editor__grid{grid-template-columns:minmax(0,1fr)}.material-skill-field.is-wide,.material-skill-kind.is-wide{grid-column:auto}.material-skill-kind>div{grid-template-columns:minmax(0,1fr)}.material-skill-editor__actions{position:sticky;bottom:-12px;padding:10px 0 0;background:var(--panel)}}@media(prefers-reduced-motion:reduce){.material-output-grid img,.material-session-item__actions,.material-select__trigger svg,.material-reference-preview,.material-reference-list>span,.material-prompt-mention{transition:none}.material-reference-list>span:hover:not(.has-trusted-popover){width:36px;flex-basis:36px;border-color:var(--outline);background:var(--input)}.material-reference-list>span:hover:not(.has-trusted-popover) .material-reference-preview{transform:none}.material-reference-list>span:hover:not(.has-trusted-popover)>.material-reference-remove{top:3px;right:3px}}.private-video-player__status{align-items:center;background:#121212c7;color:#d7d7d7;display:flex;flex-direction:column;gap:10px;height:100%;justify-content:center;min-height:120px;padding:18px;text-align:center;width:100%}.private-video-player__status.is-processing:before{animation:spin .9s linear infinite;border:2px solid rgba(255,255,255,.25);border-radius:999px;border-top-color:#fff;content:"";height:20px;width:20px}.private-video-player__status.is-error{color:#ffb4b4}.private-video-player__status button{background:#f0f0f0;border:0;border-radius:7px;color:#171717;cursor:pointer;font:inherit;padding:7px 12px}.generation-prompt-advice{display:block;margin:8px 0;color:var(--text-secondary);font-size:12px}.topbar>.topbar__page-title{min-width:0;flex:1 1 0}.topbar .app-page-title{min-width:0;display:flex;flex-direction:column;gap:3px}.topbar .app-page-title h1{margin:0;overflow:hidden;color:var(--text-strong);font-size:21px;font-weight:620;line-height:1.25;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap}.topbar .app-page-title p{margin:0;overflow:hidden;color:var(--text-secondary);font-size:12px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.topbar .topbar__utilities{flex:0 0 auto;margin-left:16px}.topbar .app-page-title__input{width:min(360px,100%);min-width:0;padding:3px 5px;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:inherit;font:inherit;text-overflow:ellipsis}.topbar .app-page-title__input:hover{border-color:var(--outline)}.topbar .app-page-title__input:focus-visible{outline:2px solid var(--blue);outline-offset:1px}.app-main>.page{padding-top:14px}.projects-page .projects-toolbar{min-height:44px;margin-bottom:16px;padding:0;flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px}.projects-toolbar .projects-header__actions{width:auto;min-width:0;margin-left:auto;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px}.projects-toolbar .project-search{width:clamp(200px,20vw,340px);min-width:min(200px,100%);height:42px;padding-inline:12px}.projects-toolbar .project-search input{font-size:14px}.projects-toolbar .new-project-button{width:auto;min-width:124px;height:42px;padding-inline:16px;font-size:14px;white-space:nowrap}.projects-toolbar .project-group-action{min-height:42px;padding:8px 12px;font-size:14px;white-space:nowrap}.projects-toolbar .projects-header__actions>.button{flex-shrink:0}.projects-toolbar .filter-tabs{height:42px}.projects-toolbar .filter-tabs button{min-width:76px;height:34px;padding-inline:12px;font-size:14px}.projects-toolbar .view-controls{width:auto;flex-wrap:wrap;gap:12px}.projects-toolbar .sort-control{width:150px;min-width:150px}.projects-toolbar .sort-control .custom-select__trigger{height:42px;font-size:14px}.projects-toolbar .view-toggle{gap:8px}.projects-toolbar .view-toggle .icon-button{width:42px;height:42px}.asset-management .asset-toolbar{margin-top:0}.asset-toolbar__topline{min-width:0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;padding-right:12px;border-bottom:1px solid var(--divider)}.asset-toolbar__topline .asset-type-tabs{min-width:0;border-bottom:0}.asset-toolbar__topline .asset-page-metrics{margin-left:auto;padding-block:6px}.app-main .canvas-library-header{min-height:0;margin-bottom:14px;justify-content:flex-end}.app-main .canvas-library-header:empty{display:none}.app-main .material-page{padding-top:10px;gap:10px}.app-main .material-page.is-sessions-collapsed:before{display:none}.material-composer .material-composer__topline{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px}.material-composer .material-composer__tools{display:flex;margin-right:auto}.material-composer .material-composer__history-actions{width:auto;margin-left:auto;flex-wrap:wrap;justify-content:flex-end;gap:8px}.material-login-state h2{color:var(--text-strong);font-size:22px;font-weight:600}.app-main .organization-page__header,.app-main .recharge-page__header,.app-main .feedback-page-header,.app-main .activity-center-header,.app-main .activity-publish-header{min-height:36px;margin-bottom:12px;padding:0;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}.app-main .activity-publish-header,.app-main .organization-page__header{justify-content:flex-start}.app-main .activity-results__header{min-height:0;margin-block:12px;justify-content:flex-end}.app-main .activity-results{margin-top:12px}.app-main .workspace-heading{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px}.app-main .workspace-title-row{width:auto;min-width:0;flex:1;justify-content:flex-end;margin:0;padding-right:0}.app-main .workspace-header{margin-bottom:14px;padding:0 0 12px}@media(max-width:1180px){.projects-toolbar .projects-header__actions{flex:1 1 360px}.projects-toolbar .project-search{flex:1;width:auto}.projects-toolbar .view-controls{margin-left:auto}}@media(max-width:760px){.topbar .app-page-title h1{font-size:18px}.topbar .app-page-title p{display:none}.topbar .topbar__utilities{margin-left:8px}.projects-toolbar .projects-header__actions{flex-basis:100%}.projects-toolbar .project-search{flex:1 1 100%}.projects-toolbar .view-controls{width:100%;justify-content:space-between}.asset-toolbar__topline{padding-right:0}.asset-toolbar__topline .asset-type-tabs{width:100%}.asset-toolbar__topline .asset-page-metrics{padding:0 10px 8px}.app-main .canvas-editor-toolbar__identity>.canvas-icon-button{display:inline-grid}.app-main .canvas-editor-toolbar__actions>.canvas-button:first-child{display:inline-flex}}@media(max-width:620px){.material-composer .material-type-switch{flex:1 1 100%;grid-template-columns:repeat(4,minmax(0,1fr))}.material-composer .material-type-switch button{padding-inline:4px;gap:3px;white-space:nowrap}.material-composer .material-composer__tools{flex:0 0 auto;width:auto}.material-composer .material-composer__history-actions{width:100%}}.partner-login-entry{display:grid;min-height:100vh;min-height:100svh;place-items:center;padding:24px;background:var(--canvas);color:var(--text)}.partner-login-panel{display:grid;justify-items:center;width:min(100%,420px);gap:16px;text-align:center}.partner-login-panel h1{margin:0;font-size:22px;line-height:1.4;font-weight:600}.partner-login-panel h1:focus{outline:none}.partner-login-panel p{margin:0;color:var(--text-secondary);font-size:14px;line-height:1.7}.partner-login-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px}.partner-login-actions .button{min-height:44px}.partner-login-spinner{display:block;width:28px;height:28px;border:2px solid var(--outline);border-top-color:var(--text);border-radius:50%;animation:partner-login-spin .8s linear infinite}@keyframes partner-login-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.partner-login-spinner{animation:none}}
