/* Auroflow production adapter, light only. Keep behavior, routes and authored media. */
body.af-brand{--bg:#FFFFFF;--paper:#FFFFFF;--ink:#10192C;--muted:#526078;--line:#CBD3E1;--purple:#3344C9;--green:#0B684E;--control-height:48px;--control-font:16px;--control-border:#687B98;--control-focus:#3344C9;background:#FFFFFF;color:#10192C;font-family:Chillax,Arial,sans-serif;font-synthesis:none;line-height:1.625}
body.af-brand em{font-family:inherit;font-style:normal;font-weight:500;color:var(--af-link);letter-spacing:inherit}
body.af-brand :is(h1,h2,h3,h4,h5,h6){font-family:Chillax,Arial,sans-serif;font-weight:500}
body.af-brand :is(pre,code,kbd,samp,pre span,code span){font-family:var(--af-mono)!important;font-variant-numeric:tabular-nums}
body.af-brand :is(button,input,select,textarea){font-family:Chillax,Arial,sans-serif!important;font-size:16px;line-height:24px;font-synthesis:none}
body.af-brand :is(.brand,.dialog-brand){display:inline-flex;align-items:center;gap:0;flex:none;letter-spacing:0;padding-block:8px;max-width:100%}
body.af-brand .af-brand-logo{display:block;width:180px;max-width:100%;height:auto;object-fit:contain;flex:none}
body.af-brand .sidebar .brand{padding:10px 16px;width:100%;margin-bottom:12px}
body.af-brand .sidebar .af-brand-logo{width:172px}
body.af-brand :is(.site-header,.site-footer,.topbar,.sidebar,.auth-welcome){background:#FFFFFF;border-color:var(--af-border);color:var(--af-ink)}
body.af-brand .site-header{gap:24px;align-items:center}
body.af-brand .site-header nav{flex-wrap:wrap}
body.af-brand .site-header nav a{font-size:14px;color:var(--af-muted)}
body.af-brand :is(.button,.auth-google-button){font-size:16px;line-height:24px;min-height:48px;padding:11px 20px;border-radius:12px;box-shadow:none;font-weight:500;text-decoration:none;white-space:normal}
body.af-brand :is(.button,.button.light){background:#FFFFFF;color:var(--af-ink);border:1px solid var(--af-control-border)}
body.af-brand .button:hover:not(:disabled){background:var(--af-paper);color:var(--af-ink)}
body.af-brand :is(.button.primary,.button.light),body.af-brand #view-ads .button.primary,body.af-brand #view-director .button.primary,body.af-brand .cinema-scene .button.primary{background:var(--af-jade);color:var(--af-ink);border-color:transparent;font-weight:600;box-shadow:none}
body.af-brand :is(.button.primary,.button.light):hover:not(:disabled),body.af-brand #view-ads .button.primary:hover:not(:disabled),body.af-brand #view-director .button.primary:hover:not(:disabled){background:#76E5C4;color:var(--af-ink);border-color:transparent}
body.af-brand .button:disabled{color:var(--af-muted);background:var(--af-paper);border-color:var(--af-border);opacity:1}
body.af-brand .button.small{min-height:44px;font-size:14px;line-height:22px;padding:10px 14px}
body.af-brand .icon-button{width:44px;height:44px;min-width:44px;min-height:44px}
body.af-brand :is(input:not([type=checkbox]):not([type=radio]),select){min-height:48px;border-color:var(--af-control-border);background:#FFFFFF;color:var(--af-ink);border-radius:12px}
body.af-brand textarea{background:#FFFFFF;color:var(--af-ink);border-color:var(--af-control-border);border-radius:12px}
body.af-brand :is(input,textarea)::placeholder{color:var(--af-muted);opacity:1}
body.af-brand :is(label,.field>span,.form-field>span,.field-label){font-size:14px;line-height:21px}
body.af-brand :is(.field-help,.hint,.form-note,.muted){font-size:13px;line-height:22px;color:var(--af-muted)}
body.af-brand :is(.panel,.metric,.workflow,.price-card,.example-card,.skill-card,.editorial-card,.community-card,.job-card,.library-card){border-color:var(--af-border);background:#FFFFFF;color:var(--af-ink)}
body.af-brand :is(.panel,.price-card,.example-card,.community-card,.job-card){border-radius:24px}
body.af-brand .page-heading h1{font-size:clamp(30px,3.4vw,44px);line-height:1.16}
body.af-brand .page-heading p{font-size:16px;line-height:26px;color:var(--af-muted)}
body.af-brand .nav{font-size:14px;min-height:46px;color:var(--af-muted)}
body.af-brand .nav.active{background:#EDF2FF;color:var(--af-link)}
body.af-brand :is(.nav-label,.workspace-label,.breadcrumb,.metric>span){color:var(--af-muted)}
body.af-brand .nav-label{font-size:12px}
body.af-brand .overview-hero{background:var(--af-paper);color:var(--af-ink);border:1px solid var(--af-border);border-radius:24px}
body.af-brand .overview-hero .hero-copy h2{font-size:clamp(30px,3.4vw,44px);line-height:1.14;color:var(--af-ink)}
body.af-brand .overview-hero .hero-copy h2>span{color:var(--af-link)}
body.af-brand .overview-hero :is(.hero-copy p,.hero-footnote,.hero-link){color:var(--af-muted);font-size:14px;line-height:24px}
body.af-brand .hero-kicker{color:var(--af-muted);font-size:12px}
body.af-brand .hero-art{background:radial-gradient(ellipse at 25% 70%,#55DCB34D,transparent 65%),radial-gradient(ellipse at 80% 30%,#AF7DF540,transparent 60%),var(--af-paper)}
body.af-brand :is(.credit-feature,.code-card,.api-section,.code-window,.code-tabs,.code-tabs button.selected,.final-cta,.toast,.copy-status){background:var(--af-paper);color:var(--af-ink);border-color:var(--af-border)}
body.af-brand :is(.credit-feature p,.credit-feature .section-heading,.credit-feature-bottom,.credit-feature-bottom strong,.code-label,.code-head,.code-tabs button,.code-window pre,.code-card pre,.api-section p,.api-section .eyebrow,.api-section .text-link){color:var(--af-muted)}
body.af-brand :is(.code-card pre,.code-window pre){font-size:13px;line-height:1.8;background:var(--af-paper);color:var(--af-ink);overflow:auto}
body.af-brand .api-section h2,body.af-brand .api-section h2 em{color:var(--af-ink)}
body.af-brand .code-tabs button.selected{color:var(--af-link);border-bottom:2px solid var(--af-link)}
body.af-brand .final-cta{border-radius:28px;border:1px solid var(--af-border);margin-bottom:48px;background:linear-gradient(120deg,#E7F8F1,#EDF2FF 65%,#F3EDFF)}
body.af-brand .final-cta h2,body.af-brand .final-cta em{color:var(--af-ink)}
body.af-brand .final-cta .button:not(.primary){background:#FFFFFF;color:var(--af-ink);border-color:var(--af-control-border)}
body.af-brand :is(.notice,.status-badge,.pill,.tag){font-size:13px;line-height:22px}
body.af-brand :is(.notice.warning,.notice.warn){background:#FFF4D6;color:#805300;border-color:#C5A350}
body.af-brand :is(.notice.error,.notice.danger){background:#FFF0F3;color:#A3283E;border-color:#D78896}
body.af-brand :is(.notice.success,.notice.ok){background:#E7F8F1;color:#0B684E;border-color:#6BB89E}
body.af-brand .notice:not(.warning):not(.warn):not(.error):not(.danger):not(.success):not(.ok){background:#EDF2FF;color:#2447AE;border-color:#8B9FD5}
body.af-brand .auth-welcome{background:var(--af-paper)}
body.af-brand dialog{background:#FFFFFF;color:var(--af-ink);border-color:var(--af-border);border-radius:24px}
body.af-brand .dialog-brand .af-brand-logo{width:200px}
body.af-brand .reserve-estimate,body.af-brand .reserve-summary,body.af-brand .reserve-estimate span{font-size:13px;color:var(--af-muted)}
/* Public cinema: scenes remain untouched; copy and controls have a clear surface. */
body.af-brand .cinema-stage,body.af-brand .is-scrollable .cinema-stage{background:#FFFFFF;color:var(--af-ink);border:1px solid var(--af-border);border-radius:28px;min-height:620px}
body.af-brand .cinema-poster,body.af-brand .cinema-background{left:56%;right:28px;top:80px;bottom:85px;width:calc(44% - 28px);height:calc(100% - 165px);object-fit:cover;border-radius:24px}
body.af-brand .cinema-shade{display:none}
body.af-brand .cinema-scenes{left:40px;right:calc(44% + 28px);top:50%;max-width:none}
body.af-brand .cinema-scene h1,body.af-brand .cinema-scene h2{font-size:clamp(44px,5vw,76px);line-height:1.08;letter-spacing:-.04em;color:var(--af-ink)}
body.af-brand .cinema-scene h1 em,body.af-brand .cinema-scene h2 em{font-family:Chillax,Arial,sans-serif;letter-spacing:inherit;color:var(--af-link);font-style:normal;font-weight:500}
body.af-brand .cinema-scene .eyebrow{color:var(--af-muted);font-size:12px;line-height:20px;letter-spacing:.1em}
body.af-brand .cinema-scene>p:not(.eyebrow){color:var(--af-muted);font-size:16px;line-height:26px}
body.af-brand :is(.cinema-link,.cinema-topline,.cinema-credit,.scroll-cue,.cinema-bottom,.motion-control){color:var(--af-muted)}
body.af-brand .cinema-credit{font-size:12px;bottom:24px;left:56%;right:28px}
body.af-brand .cinema-topline{font-size:12px}.af-brand .cinema-topline i{background:var(--af-jade)}
body.af-brand .motion-control{border-color:var(--af-control-border);background:#FFFFFF;min-height:44px;font-size:13px}
body.af-brand .cinema-progress{background:var(--af-border)}
body.af-brand .world-card{height:auto;min-height:0;background:#FFFFFF;color:var(--af-ink);border:1px solid var(--af-border);border-radius:24px}
body.af-brand .world-card>img,body.af-brand .world-card>video{height:350px;z-index:0}
body.af-brand .world-shade{display:none}
body.af-brand .world-copy{position:relative;left:auto;right:auto;bottom:auto;margin-top:350px;padding:28px;background:#FFFFFF;z-index:1}
body.af-brand .world-copy>span{font-size:12px;color:var(--af-muted)}
body.af-brand .world-copy h3{font-size:34px;color:var(--af-ink);line-height:1.15}
body.af-brand .world-copy p{font-size:16px;line-height:26px;color:var(--af-muted);padding-right:30px}
body.af-brand .world-copy b{width:44px;height:44px;right:20px;bottom:24px;border-color:var(--af-control-border);color:var(--af-link)}
/* Creation and ads share the light palette while media keeps its authored colors. */
body.af-brand :is(#view-ads,#view-director) .spot-hero{display:grid;grid-template-columns:1.1fr 1fr;background:var(--af-paper);color:var(--af-ink);border:1px solid var(--af-border);border-radius:24px}
body.af-brand :is(#view-ads,#view-director) .spot-hero>img{position:relative;grid-column:2;grid-row:1;inset:auto;width:100%;height:100%;min-height:270px;object-fit:cover;z-index:0;filter:none}
body.af-brand :is(#view-ads,#view-director) .spot-hero:after{display:none}
body.af-brand :is(#view-ads,#view-director) .spot-hero-copy{grid-column:1;grid-row:1;max-width:100%;padding:30px}
body.af-brand :is(#view-ads,#view-director) .spot-hero h2{font-family:Chillax,Arial,sans-serif;font-size:clamp(30px,3.2vw,42px);font-weight:500;line-height:1.15;color:var(--af-ink)}
body.af-brand :is(#view-ads,#view-director) :is(.spot-hero-label,.spot-hero-copy>p,.spot-hero-pills span){color:var(--af-muted)}
body.af-brand :is(#view-ads,#view-director) .spot-hero-copy>p{font-size:16px;line-height:26px}
body.af-brand :is(#view-ads,#view-director) .spot-hero-label{font-size:12px}
body.af-brand :is(#view-ads,#view-director) .spot-hero-pills span{font-size:12px;border-color:var(--af-border);background:#FFFFFF}
body.af-brand :is(#view-ads,#view-director) .spot-hero-mark{display:none}
body.af-brand :is(#view-ads,#view-director) :is(.studio-panel,.studio-form-section,.studio-delivery,.studio-help,.studio-profile-card,.studio-format-option){background:#FFFFFF;color:var(--af-ink);border-color:var(--af-border)}
body.af-brand :is(#view-ads,#view-director) :is(.studio-label,.studio-field-label,.studio-section-title,.studio-form-footer,.studio-actions){color:var(--af-ink)}
body.af-brand .docs-content{overflow-wrap:anywhere}
body.af-brand .docs-content :is(pre,table){max-width:100%;overflow:auto}
body.af-brand .docs-content pre{background:var(--af-paper);color:var(--af-ink)}
body.af-brand .docs-content table{display:block}
body.af-brand .agent-prompt{background:var(--af-paper);border-color:var(--af-border)}
body.af-brand .agent-prompt>p{font-size:16px;line-height:26px}
body.af-brand :is(.editorial>p,.section-head>p,.privacy-copy p){font-size:18px;line-height:29px;color:var(--af-muted)}
body.af-brand .site-footer{gap:24px;align-items:center}
body.af-brand .site-footer nav{flex-wrap:wrap}
@media(max-width:1100px){body.af-brand .site-header{flex-wrap:wrap}body.af-brand .site-header nav{order:3;width:100%;justify-content:flex-start}body.af-brand .header-actions{margin-left:auto}body.af-brand .cinema-scene h1,body.af-brand .cinema-scene h2{font-size:56px}body.af-brand .cinema-scenes{left:28px;right:calc(44% + 22px)}}
@media(max-width:760px){body.af-brand .site-header{gap:16px;padding-top:18px}body.af-brand .site-header .af-brand-logo{width:160px}body.af-brand .site-header nav{gap:12px 20px}body.af-brand .site-header nav a{font-size:13px}body.af-brand .header-actions{gap:10px}body.af-brand .header-actions .button.small{padding:9px 12px;font-size:13px}body.af-brand .header-actions>a:not(.button){font-size:14px}body.af-brand .cinema-stage,body.af-brand .is-scrollable .cinema-stage{min-height:850px;height:850px;max-height:none;border-radius:22px}body.af-brand .cinema-poster,body.af-brand .cinema-background{left:20px;right:20px;top:auto;bottom:85px;width:calc(100% - 40px);height:260px;border-radius:18px}body.af-brand .cinema-scenes{left:22px;right:22px;top:90px;transform:none}body.af-brand .cinema-scene h1,body.af-brand .cinema-scene h2{font-size:clamp(40px,10vw,62px);line-height:1.08}body.af-brand .cinema-scene .eyebrow{font-size:11px;margin-bottom:20px}body.af-brand .cinema-scene>p:not(.eyebrow){font-size:16px;line-height:26px}body.af-brand .cinema-topline{font-size:10px;left:20px;right:20px}body.af-brand .cinema-credit{left:22px;right:22px;bottom:54px;font-size:11px}body.af-brand .world-card>img,body.af-brand .world-card>video{height:280px}body.af-brand .world-copy{margin-top:280px;padding:24px}body.af-brand .world-copy h3{font-size:30px}body.af-brand .overview-hero{grid-template-columns:1fr}body.af-brand .hero-art{min-height:180px}body.af-brand .hero-copy{padding:26px}body.af-brand .hero-copy p{max-width:none}body.af-brand :is(#view-ads,#view-director) .spot-hero{grid-template-columns:1fr}body.af-brand :is(#view-ads,#view-director) .spot-hero>img{grid-column:1;grid-row:2;height:180px;min-height:180px}body.af-brand :is(#view-ads,#view-director) .spot-hero-copy{padding:24px}body.af-brand :is(.editorial>p,.section-head>p,.privacy-copy p){font-size:16px;line-height:26px}body.af-brand .site-footer{align-items:flex-start}body.af-brand .site-footer .af-brand-logo{width:160px}body.af-brand .topbar{height:auto;min-height:76px;padding-inline:16px}body.af-brand .topbar-actions{gap:8px;flex-wrap:wrap}}
@media(max-width:360px){body.af-brand .site-header .af-brand-logo{width:144px}body.af-brand .site-header .header-actions{margin-left:0;width:100%;justify-content:flex-end}body.af-brand .cinema-stage,body.af-brand .is-scrollable .cinema-stage{height:900px;min-height:900px}body.af-brand .cinema-scenes{left:20px;right:20px}body.af-brand .cinema-scene h1,body.af-brand .cinema-scene h2{font-size:42px}body.af-brand .cinema-actions{display:flex;flex-wrap:wrap;gap:12px}}
@media(prefers-reduced-motion:reduce){body.af-brand *,body.af-brand *::before,body.af-brand *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Readable service metadata and compact mobile brand header. */
body.af-brand [data-service-generation]{background:#EDF2FF;color:#2447AE;border-color:#B7C5E7;font-size:13px;line-height:22px;padding:12px 16px;border-radius:12px}
body.af-brand :is(.section-note,.mini-label,.feature-meta,.film-caption,.resource-list small,.card-meta){font-size:13px;line-height:22px;color:var(--af-muted)}
body.af-brand :is(.panel,.metric,.price-card,.resource-list) small{font-size:12px;line-height:18px}
body.af-brand :is(.service-status,.balance-pill){font-size:13px;line-height:22px}
body.af-brand .header-actions .login-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px}
body.af-brand .community-placeholder{background:var(--af-paper);color:var(--af-ink);border-color:var(--af-border)}
body.af-brand .community-placeholder .status-badge{background:#FFFFFF;color:var(--af-muted);border-color:var(--af-border)}
@media(max-width:760px){body.af-brand .site-header .af-brand-logo{width:144px}body.af-brand .topbar{flex-wrap:wrap;gap:12px}body.af-brand .header-actions .button.small{gap:8px}}
@media(max-width:360px){body.af-brand .site-header .af-brand-logo{width:144px}}
/* Workspace: owned activity first; no promotional hero or duplicate queue. */
body.af-brand[data-workspace-view="overview"] .queue-dock{display:none}
body.af-brand .workspace-home{max-width:1280px;margin:auto}
body.af-brand .workspace-heading{align-items:flex-start;margin-bottom:18px}
body.af-brand .workspace-heading h1{font-size:clamp(28px,3vw,38px);line-height:1.2}
body.af-brand .workspace-heading p{font-size:15px;line-height:24px}
body.af-brand .workspace-updated{font-size:13px;line-height:22px;color:var(--af-muted);margin:0 0 22px}
body.af-brand .workspace-create{position:relative}
body.af-brand .workspace-create summary{list-style:none}
body.af-brand .workspace-create summary::-webkit-details-marker{display:none}
body.af-brand .workspace-create>div{position:absolute;right:0;top:56px;width:280px;max-width:calc(100vw - 40px);padding:10px;background:var(--af-white);border:1px solid var(--af-border);border-radius:16px;box-shadow:0 12px 30px #10192C14;z-index:24}
body.af-brand .workspace-create a{display:block;padding:11px 12px;border-radius:9px;font-size:15px;line-height:24px}
body.af-brand .workspace-create a:hover{background:var(--af-paper)}
body.af-brand .workspace-create small{display:block;font-size:13px;color:var(--af-muted)}
body.af-brand .workspace-attention{background:#FFF4D6;border:1px solid #C5A350;border-radius:16px;padding:18px 20px;margin-bottom:24px}
body.af-brand .workspace-attention h2{color:#805300}
body.af-brand .workspace-attention .section-heading{margin-bottom:8px}
body.af-brand .workspace-attention .workspace-row{padding:10px 0;border-color:#DFCFA2}
body.af-brand .workspace-projects{padding:22px;margin-bottom:24px}
body.af-brand .workspace-projects .section-heading{margin-bottom:14px}
body.af-brand .workspace-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
body.af-brand .workspace-filters button{font:inherit;font-size:13px;line-height:22px;min-height:40px;border:1px solid transparent;border-radius:9px;padding:7px 10px;background:transparent;color:var(--af-muted)}
body.af-brand .workspace-filters button[aria-pressed="true"]{color:var(--af-link);background:#EDF2FF;border-color:#CBD3E1}
body.af-brand .workspace-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid var(--af-border)}
body.af-brand .workspace-row:last-child{border-bottom:0}
body.af-brand .workspace-mark{display:grid;place-items:center;width:40px;height:44px;background:var(--af-paper);border-radius:10px;color:var(--af-link)}
body.af-brand .workspace-row-info{min-width:0}
body.af-brand .workspace-row h3{font-size:15px;line-height:23px;font-weight:500;overflow-wrap:anywhere}
body.af-brand .workspace-row p{font-size:12px;line-height:20px;color:var(--af-muted);margin-top:4px}
body.af-brand .workspace-row .button{min-height:44px;font-size:13px;padding:9px 12px}
body.af-brand .workspace-state{font-size:12px;line-height:20px;max-width:150px;color:var(--af-muted);padding:4px 8px;border-radius:7px;background:var(--af-paper)}
body.af-brand .workspace-state.attention{color:#805300;background:#FFF4D6}
body.af-brand .workspace-state.active{color:#2447AE;background:#EDF2FF}
body.af-brand .workspace-empty{padding:22px 0}
body.af-brand .workspace-empty .button{margin-top:14px}
body.af-brand .workspace-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
body.af-brand .workspace-metrics>div{padding:18px 20px;border:1px solid var(--af-border);border-radius:16px;min-width:0}
body.af-brand .workspace-metrics span{font-size:14px;line-height:22px}
body.af-brand .workspace-metrics strong{display:block;font-size:30px;line-height:40px;font-weight:500;font-variant-numeric:tabular-nums;margin:5px 0}
body.af-brand .workspace-metrics p{font-size:12px;line-height:20px;color:var(--af-muted)}
body.af-brand .workspace-support{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin-bottom:24px}
body.af-brand .workspace-support .panel{padding:22px;min-width:0}
body.af-brand .workspace-support h2,body.af-brand .workspace-projects h2,body.af-brand .workspace-audio h2{font-size:19px;line-height:28px}
body.af-brand .workspace-queue-details{margin-top:16px}
body.af-brand .workspace-queue-details summary{font-size:14px;line-height:24px;padding:10px 0;color:var(--af-link)}
body.af-brand .workspace-queue-details .queue-panel{padding-top:14px}
body.af-brand .workspace-queue-details .queue-metrics{gap:8px}
body.af-brand .workspace-queue-details .queue-metrics strong{font-size:22px}
body.af-brand .workspace-balance{display:grid;gap:6px;margin:14px 0}
body.af-brand .workspace-balance>span{font-size:13px;line-height:22px;color:var(--af-muted)}
body.af-brand .workspace-balance>strong{font-size:25px;line-height:34px;font-weight:500;overflow-wrap:anywhere}
body.af-brand .workspace-audio{padding:22px;margin-bottom:20px;scroll-margin-top:24px}
body.af-brand .workspace-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.af-brand .workspace-shortcuts a{display:grid;gap:7px;align-content:start;padding:12px 0}
body.af-brand .workspace-shortcuts strong{font-size:15px;line-height:24px;color:var(--af-link);font-weight:500}
body.af-brand .workspace-shortcuts span{font-size:13px;line-height:22px;color:var(--af-muted)}
body.af-brand .workspace-resources{display:flex;gap:12px 24px;flex-wrap:wrap;font-size:13px;line-height:24px;padding:0 0 24px;color:var(--af-link)}
body.af-brand #workspace-dialog{width:min(560px,calc(100% - 32px));padding:24px}
body.af-brand #workspace-dialog audio{width:100%;margin:18px 0}
body.af-brand #workspace-dialog-content{overflow-wrap:anywhere}
@media(max-width:1100px){body.af-brand .workspace-row{grid-template-columns:40px minmax(0,1fr) auto}body.af-brand .workspace-state{grid-column:2;grid-row:2;justify-self:start}body.af-brand .workspace-row>.button{grid-column:3;grid-row:1/3}body.af-brand .workspace-mark{grid-row:1/3}body.af-brand .workspace-support{grid-template-columns:1fr}}
@media(max-width:760px){body.af-brand .workspace-heading{flex-wrap:wrap;gap:14px}body.af-brand .workspace-heading>.button-row{width:100%;justify-content:space-between}body.af-brand .workspace-heading h1{font-size:28px}body.af-brand .workspace-updated{margin-bottom:16px}body.af-brand .workspace-projects,body.af-brand .workspace-attention,body.af-brand .workspace-support .panel,body.af-brand .workspace-audio{padding:16px}body.af-brand .workspace-row{grid-template-columns:32px minmax(0,1fr);gap:8px 10px;padding:14px 0}body.af-brand .workspace-mark{width:32px;height:40px;grid-row:1/3}body.af-brand .workspace-row>.button{grid-column:2;grid-row:3;justify-self:start;margin-top:4px;white-space:normal}body.af-brand .workspace-state{grid-column:2;grid-row:2}body.af-brand .workspace-row h3{font-size:15px;line-height:24px}body.af-brand .workspace-filters{gap:3px}body.af-brand .workspace-filters button{min-height:44px;font-size:12px;padding:6px 8px}body.af-brand .workspace-metrics{gap:8px}body.af-brand .workspace-metrics>div{padding:12px 10px}body.af-brand .workspace-metrics span,body.af-brand .workspace-metrics p{font-size:12px;line-height:20px}body.af-brand .workspace-metrics strong{font-size:26px}body.af-brand .workspace-shortcuts{grid-template-columns:1fr;gap:0}body.af-brand .workspace-resources a{min-height:44px;display:inline-flex;align-items:center}}
/* Keep workspace actions available at the legacy compact breakpoint. */
body.af-brand #view-overview .workspace-heading>.button-row{display:flex}
body.af-brand .workspace-home h1,body.af-brand .workspace-home h2,body.af-brand .workspace-home h3{margin-bottom:0}
body.af-brand .workspace-heading p{margin:8px 0 0}
body.af-brand .workspace-projects .section-heading .field-help{margin:6px 0 0}
body.af-brand .workspace-row-info p{margin:4px 0 0}
body.af-brand .workspace-metrics p{margin:0}
body.af-brand .workspace-attention .field-help{margin-bottom:0}
body.af-brand .workspace-account>.field-help{margin-bottom:8px}
body.af-brand .workspace-audio .section-heading .field-help{margin:6px 0 0}
/* URL2Short uses the same light workspace surfaces and native form controls. */
.short-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:24px;align-items:start}.short-form,.short-script,.short-production{display:grid;gap:18px}.short-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}.short-form label,.short-script label{display:grid;gap:7px;min-width:0}.short-form input[type=url],.short-form textarea,.short-form select,.short-script textarea{width:100%;min-width:0;box-sizing:border-box}.short-check{display:flex!important;align-items:flex-start;gap:10px!important;font-size:13px;line-height:1.6}.short-check input{flex:0 0 auto;width:18px;height:18px;margin-top:3px;accent-color:#10192c}.short-explainer{padding:4px 18px}.short-explainer ol{padding-left:20px;font-size:13px;line-height:1.8}.short-poster{aspect-ratio:9/12;max-height:330px;max-width:260px;border-radius:18px;background:linear-gradient(145deg,#55dcb3,#b9f2df 65%,#eefaf7);color:#10192c;padding:25px;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}.short-poster span{font-size:10px;letter-spacing:.12em;font-weight:700}.short-poster strong{font-size:clamp(23px,3vw,31px);line-height:1.18;letter-spacing:-.035em}.short-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0}.short-status p{flex:1 1 250px;font-size:13px}.short-status code{font-size:11px;max-width:100%;overflow-wrap:anywhere}.short-source-list{margin:18px 0 24px;border:1px solid #e0e7e4;border-radius:12px;padding:16px}.short-source{border-top:1px solid #e0e7e4;padding:10px 0;font-size:12px}.short-source p{white-space:pre-wrap;overflow-wrap:anywhere}.short-source summary,.short-source-list>summary{cursor:pointer;line-height:1.6}.short-table{max-width:100%;overflow:auto}.short-table table{border-collapse:collapse;font-size:12px}.short-table td{border:1px solid #dce3df;padding:8px;min-width:80px;vertical-align:top}.short-shot{border:1px solid #dce3df;border-radius:12px;padding:18px;display:grid;gap:14px;min-width:0}.short-production{border-top:1px solid #dce3df;padding-top:22px;margin-top:24px}.short-result{display:grid;justify-items:start;gap:16px;margin-top:24px}.short-video{width:100%;max-width:320px;max-height:70vh;background:#10192c;border-radius:14px}.short-form details{font-size:13px;line-height:1.6}.short-form details label{margin-top:12px}.short-status .error{color:#9b2636}
@media(max-width:760px){.short-layout{grid-template-columns:minmax(0,1fr)}.short-explainer{padding:0}.short-poster{display:none}.short-explainer ol{margin-top:0}.short-options{grid-template-columns:minmax(0,1fr)}.short-shot{padding:14px}.short-status{gap:8px}.short-script textarea{font-size:16px}.short-layout>.panel{min-width:0}}

.api-token-value{width:100%;box-sizing:border-box;min-width:0;font-family:var(--af-mono)!important;font-size:13px!important}.api-temporary{margin:24px 0}.api-temporary>summary{cursor:pointer;font-size:14px;margin-bottom:16px}.api-token-value:focus{outline-color:#3344c9}#api-token-confirm[hidden]{display:none}#api-token-confirm .agent-key-actions{margin-top:12px}

body[data-workspace-view="url2short"] #queue-dock,body[data-workspace-view="developers"] #queue-dock{display:none!important}

.short-take-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:18px;width:100%}.short-take{min-width:0;border:1px solid #dce3df;border-radius:12px;padding:16px;display:grid;gap:10px;align-content:start}.short-take-video{width:100%;max-height:320px;border-radius:10px;background:#10192c}.short-progress{font-weight:500;color:#10192c}.short-bridge{font-size:12px;line-height:1.6}.short-bridge summary{cursor:pointer}.short-bridge p{overflow-wrap:anywhere}#short-character-field[hidden]{display:none}

#short-project{scroll-margin-top:96px}
