/* Shared finishing layer. Document typography, graph geometry and playback remain component-owned. */
:root{--ui-text:#e5eff2;--ui-muted:#adc1c9;--ui-line:#34505b;--ui-gold:#e8c17f;--ui-focus:#80d8e6;--ui-font:system-ui,-apple-system,'Segoe UI',sans-serif}
body{font-family:var(--ui-font);-webkit-font-smoothing:antialiased}
:where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--ui-focus)!important;outline-offset:4px}
:where(button,a){-webkit-tap-highlight-color:transparent}
:where(button,select,input){font-variant-numeric:tabular-nums}
body.market-page>header,body.player-product>header,.viewer-header{box-sizing:border-box;min-height:80px!important;height:auto!important;padding:16px clamp(20px,4vw,64px)!important;display:flex;align-items:center;gap:24px;background:#07151b!important;border-bottom:1px solid var(--ui-line)!important}
body.market-page>header .brand,body.player-product>header .brand,.viewer-header .brand{display:flex;align-items:center;justify-content:center;flex:0 0 164px;width:164px;margin:0!important;min-height:44px;padding:0!important}
body.market-page>header .native-wordmark,body.player-product>header .native-wordmark,.viewer-header .brand svg{display:block!important;width:164px!important;height:36px!important;aspect-ratio:1560/210;object-fit:contain;margin:0!important}
body.player-product>header .brand>.header-emblem,body.player-product>header .brand>span{display:none!important}
body.market-page>header nav{display:flex;align-items:center;justify-content:flex-end;gap:6px 12px;margin-left:auto;flex-wrap:wrap}
body.market-page>header nav>a{display:inline-flex;align-items:center;justify-content:center;margin:0!important;min-height:44px;padding:10px 14px!important;border-radius:6px;font:500 15px/1.4 var(--ui-font)!important;letter-spacing:0!important;text-transform:none!important;color:#bcd0d8}
body.market-page>header nav>a[aria-current=page]{background:#192c34;border-bottom:0;color:#f0cc8d;box-shadow:inset 0 -2px #d6ad67}
body.market-page>header .local{margin:0;white-space:nowrap;font-size:10px;letter-spacing:1.3px}
body.market-page>main{box-sizing:border-box;width:min(1200px,calc(100% - 64px));padding-left:0!important;padding-right:0!important}
body.market-page p,body.player-product p{color:var(--ui-muted);line-height:1.65}
body.market-page :is(h1,h2,h3){text-wrap:balance;letter-spacing:-.025em;line-height:1.25}
body.market-page h2{font-size:clamp(25px,2.5vw,34px)}
body.market-page :is(.brand-actions,.actions,.toolbar,.home-links){display:flex;align-items:center;flex-wrap:wrap;gap:12px}
body.market-page :is(.primary,.secondary),body.player-product .camera-buttons button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;box-sizing:border-box;padding:12px 20px;font:600 14px/1.5 var(--ui-font)!important;letter-spacing:.15px!important;text-align:center;vertical-align:middle;white-space:normal}
body.market-page .brand-actions>a{margin:0!important;min-height:48px}
body.market-page input:not([type=checkbox]):not([type=radio]),body.market-page select,body.market-page textarea{font:16px/1.5 var(--ui-font);min-height:46px;color:var(--ui-text);background:#0b1c24;border:1px solid #405b66;border-radius:7px;padding:11px 13px}
body.market-page label{font-size:14px;line-height:1.5;color:#cbdbe1}
body.market-page :is(.hint,.quiet,#handle-help){font-size:14px!important;line-height:1.6;color:#a9c0ca}
body.market-page .eyebrow{font:500 11px/1.5 var(--ui-font);letter-spacing:1.8px;margin-bottom:14px}
body.market-page .product-footer{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:32px max(24px,5vw);flex-wrap:wrap}
body.market-page .product-footer .native-wordmark{display:block;width:150px!important;height:32px!important;margin:0 0 12px}
body.market-page .product-footer p{font-size:13px;margin:0;max-width:40ch}
body.market-page .product-footer nav{align-items:center;flex-wrap:wrap;gap:20px}
body.market-page .product-footer a{font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.filmmaker-page .hero{padding:48px 0!important;min-height:440px!important;grid-template-columns:minmax(0,1.3fr) minmax(250px,.7fr)}
.filmmaker-page .hero h1{font-size:clamp(36px,4vw,56px)!important;max-width:680px;margin:0 0 22px}
.filmmaker-page .hero-copy p{max-width:58ch;margin:0 0 26px!important;font-size:18px!important}
.filmmaker-page .brand-actions{gap:12px}.filmmaker-page .creator-steps{align-items:stretch}.filmmaker-page .creator-steps article{display:flex;flex-direction:column}.filmmaker-page .creator-steps h3{margin:16px 0;font-size:24px}.filmmaker-page .creator-steps p{font-size:16px}
.filmmaker-page .creator-pricing{gap:48px}.filmmaker-page .creator-pricing li{font-size:16px;margin:12px 0}.filmmaker-page .creator-faq summary{font-size:16px;line-height:1.5;padding:18px 0;cursor:pointer}
.films-home .home-film{padding:26px;align-items:center}.films-home .home-film nav a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin:0}.films-home .home-film h2{font-size:24px}.films-home .film-mark{flex-shrink:0}
.publish-main .publish-layout{gap:48px;grid-template-columns:minmax(0,1fr) 280px}.publish-main legend{font-size:22px;font-weight:550}.publish-main fieldset{padding-top:24px}.publish-main .form-row{align-items:start}.publish-main .published-row{gap:20px}.publish-main .published-row button{min-height:42px}
#profile-form .image-fields{align-items:start}#profile-form .image-fields label{padding:18px;background:#0b1c24;border:1px solid var(--ui-line);border-radius:10px;margin:0}#profile-form input[type=file]{max-width:100%;font-size:13px}#profile-form .image-fields button{min-height:40px;font-size:14px}#profile-form .actions>*{margin:0}.visibility input{flex:0 0 20px}
body.player-product>header>a:last-child{margin-left:auto;display:inline-flex;align-items:center;min-height:44px;font:500 15px var(--ui-font)}
body.player-product .camera-buttons{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap}body.player-product .camera-privacy{font-size:14px}body.player-product #film-description{max-width:70ch;font-size:17px}body.player-product .audience-consent input{width:18px;height:18px;flex:0 0 18px;margin-top:4px}
/* Keep the original app artwork and cut-corner identity, with readable account controls. */
#lumis-account-root:not(.la-show-welcome) .la-shell{padding:32px 24px!important;gap:24px!important;box-sizing:border-box}
#lumis-account-root:not(.la-show-welcome) .la-wordmark{width:260px!important;max-width:80%;height:auto;display:block;margin:12px auto!important}
#lumis-account-root:not(.la-show-welcome) .la-panel{width:min(100%,640px)!important;max-width:640px;padding:28px!important;box-sizing:border-box}
#lumis-account-root:not(.la-show-welcome) h2{font:600 28px/1.3 var(--ui-font)!important;margin:0 0 22px!important}
#lumis-account-root:not(.la-show-welcome) .la-panel label{font-size:15px!important;line-height:1.5;margin:14px 0!important;gap:7px!important}
#lumis-account-root:not(.la-show-welcome) .la-panel input{min-height:48px!important;font:16px/1.5 var(--ui-font)!important;padding:11px 14px!important}
#lumis-account-root:not(.la-show-welcome) .la-social{display:grid!important;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch}
#lumis-account-root:not(.la-show-welcome) .la-social>.la-button{width:100%!important;margin:0!important;min-height:48px!important;padding:12px!important;display:flex;align-items:center;justify-content:center;font-size:14px!important;letter-spacing:.2px!important;gap:8px}
#lumis-account-root:not(.la-show-welcome) .la-panel :is(.la-note,.la-assurance p){font-size:14px!important;line-height:1.6!important;margin:12px 0!important;color:#b3c8d0}
#lumis-account-root:not(.la-show-welcome) .la-divider{margin:20px 0!important;font-size:12px!important;letter-spacing:1.4px}
#lumis-account-root:not(.la-show-welcome) .la-links{display:grid!important;grid-template-columns:1fr 1fr;gap:12px!important;margin:14px 0!important}
#lumis-account-root:not(.la-show-welcome) .la-panel :is([data-mode],[data-forgot],[data-privacy],[data-back-welcome]){min-height:44px!important;font-size:13px!important;display:inline-flex;align-items:center;justify-content:center;letter-spacing:.2px!important}
#lumis-account-root:not(.la-show-welcome) .la-panel #submit{min-height:48px;padding:12px 28px;font-size:15px}
#lumis-account-root:not(.la-show-welcome) .platform-filmmaker>.la-button{display:flex!important;width:100%!important;min-height:48px;font-size:14px;align-items:center;justify-content:center;padding:12px 18px}
#lumis-account-root:not(.la-show-welcome) .la-panel footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:20px!important}#lumis-account-root:not(.la-show-welcome) .la-panel footer>span{flex-basis:100%;text-align:center;font-size:11px;letter-spacing:1.5px}
/* Studio chrome only: preserve screenplay fonts, visualizer controls and precise timing. */
body.studio-product>header{box-sizing:border-box;display:flex;align-items:center;gap:20px;padding-left:24px!important;padding-right:24px!important}
body.studio-product>header .brand{flex:0 0 150px;display:flex;align-items:center;justify-content:center;margin:0!important;padding:0!important;min-width:0}
body.studio-product>header .native-wordmark{width:150px!important;height:32px!important;display:block;margin:0!important}
body.studio-product .film-identity{flex:1;min-width:0;padding:0!important}body.studio-product #project-title{width:100%;max-width:600px;font:600 16px/1.4 var(--ui-font)!important;text-overflow:ellipsis}
body.studio-product .header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-shrink:0}body.studio-product .header-actions>button,body.studio-product .workspace-menu>summary{min-height:36px!important;display:inline-flex;align-items:center;justify-content:center;font:500 13px/1.4 var(--ui-font)!important;margin:0!important}
body.studio-product .story-spine button{display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.4!important}body.studio-product .story-spine .nav-index{margin:0!important}
body.studio-product .adaptive-intro h2{letter-spacing:-.025em}body.studio-product .guided-moment label{color:#c7dce4}body.studio-product .reaction-next{align-items:center}body.studio-product .plan-save{align-items:center}
body.studio-product .guided-moment .step-explanation{color:#bdcfd7!important}body.studio-product .flow-kicker{color:#c6d4d8}
.viewer-header #search-form{align-items:stretch}.viewer-header #search-form>*{min-height:44px}.viewer-header .account{display:inline-flex;align-items:center;min-height:44px}.browse-nav nav button{min-height:44px}.film-card .card-copy{align-items:flex-start}.film-card .save-film{min-height:36px}.film-card h2{font-size:18px;line-height:1.4}.film-card .synopsis{font-size:14px;color:#afc3cc}.film-card .creator-link{font-size:14px}.browse-intro p{font-size:16px}
@media(max-width:900px){body.market-page>header,body.player-product>header,.viewer-header{gap:12px 20px;padding:14px 20px!important}body.market-page>header nav{gap:4px;margin-left:auto}body.market-page>header nav>a{padding:8px 10px!important;font-size:14px!important}body.market-page>header .local{display:none}body.market-page>main{width:calc(100% - 40px)}.filmmaker-page .hero{grid-template-columns:1fr!important;min-height:0!important}.filmmaker-page .hero-art{display:none}.publish-main .publish-layout{grid-template-columns:1fr}.publish-main .listing-preview{position:static;max-width:300px}body.studio-product .header-actions #save-status{display:none}}
@media(max-width:650px){body.market-page>header{justify-content:center}body.market-page>header nav{width:100%;justify-content:center;margin:0}body.market-page>main{width:calc(100% - 36px)}body.market-page .product-footer{align-items:flex-start;gap:20px}body.market-page .brand-actions>*{width:100%}body.market-page .creator-pricing{gap:24px}.viewer-header .brand{flex-basis:140px}.viewer-header .brand svg{width:140px!important}.viewer-header #search-form{flex-basis:100%;order:3;margin:0}.viewer-header .account{margin-left:auto}#lumis-account-root:not(.la-show-welcome) .la-shell{padding:24px 14px!important}#lumis-account-root:not(.la-show-welcome) .la-panel{padding:22px 18px!important}#lumis-account-root:not(.la-show-welcome) .la-social{grid-template-columns:1fr}body.studio-product>header{gap:10px;flex-wrap:wrap}body.studio-product>header .brand{flex-basis:120px}body.studio-product>header .native-wordmark{width:120px!important}body.studio-product .header-actions{flex-basis:100%;flex-wrap:wrap}body.studio-product .story-spine{gap:4px!important}body.studio-product .story-spine button{font-size:13px!important;padding:8px!important}.films-home .home-film{padding:20px}.films-home .home-film nav{gap:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}body.market-page *,body.player-product *,body:has(.viewer-header) *{transition:none!important;animation:none!important}}
