@font-face{font-family:'Alte Haas Grotesk';src:url('/fonts/AlteHaasGroteskRegular.ttf') format('truetype');font-weight:300 500;font-style:normal;font-display:swap}
@font-face{font-family:'Alte Haas Grotesk';src:url('/fonts/AlteHaasGroteskBold.ttf') format('truetype');font-weight:600 900;font-style:normal;font-display:swap}
@font-face{font-family:'IBM Plex Mono';src:url('/fonts/IBMPlexMono-Regular-latin.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'IBM Plex Mono';src:url('/fonts/IBMPlexMono-Medium-latin.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'IBM Plex Mono';src:url('/fonts/IBMPlexMono-Bold-latin.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
/* The public design stylesheet supplies the same brand, type and surface tokens as the app. */
:root{color-scheme:dark;--bg:var(--cpg-page,#111114);--panel:var(--cpg-panel,#161619);--raised:var(--navy,#1d1729);--line:var(--border-d,rgba(255,255,255,.09));--text:var(--ink-1,#f2f2f4);--demo-muted:var(--ink-2,rgba(255,255,255,.66));--demo-quiet:var(--ink-3,rgba(255,255,255,.44));--accent:#b18cff;--purple:var(--accent-deep,#7c4dff);--demo-font:var(--sans,'Alte Haas Grotesk','Helvetica Neue',Helvetica,Arial,system-ui,-apple-system,'Segoe UI',sans-serif);--demo-mono:var(--mono,'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace)}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;background:var(--bg);color:var(--text);font-family:var(--demo-font);-webkit-font-smoothing:antialiased}body{font-size:12px}img{display:block;width:100%;object-fit:cover}svg{display:block;width:18px;height:18px}.symbol-library{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.demo-shell{position:relative;height:100%;overflow:hidden;background:var(--bg)}.app-header{height:57px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #202024;background:var(--bg)}.project-name,.app-header-tools{display:flex;align-items:center;gap:12px}.project-name{font-weight:700;font-size:14px}.brand-mark{width:25px;height:25px}.saved-label{color:var(--demo-quiet);font-size:10px;font-weight:400;margin-left:8px}.search-tool{width:194px;height:27px;border:1px solid #27272c;border-radius:20px;display:flex;align-items:center;gap:8px;padding:0 11px;color:#8e8d97;font-size:10px}.search-tool kbd{margin-left:auto;color:#65646f;font:9px var(--demo-mono)}.header-mode{padding:7px 13px;color:var(--demo-muted);border-radius:20px;font-size:10px}.header-mode.active{background:var(--purple);color:#fff}.avatar{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#33264b;border:1px solid #8c6ac0;color:#dbc7ff;font-size:10px}.studio-view{height:calc(100% - 57px);display:grid;grid-template-columns:31% 1fr;gap:10px;padding:12px}.director-panel{min-height:0;display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);border-radius:11px;overflow:hidden}.panel-heading{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 15px;border-bottom:1px solid var(--line);font-size:11px}.small-logo{width:14px;height:14px;color:var(--accent)}.trailing{margin-left:auto;color:var(--demo-muted);font-size:14px}.director-feed{flex:1;min-height:0;overflow:hidden;padding:17px 14px}.chat-date{display:block;text-align:center;font-size:9px;color:var(--demo-quiet);margin-bottom:22px}.bubble{font-size:12px;line-height:1.55;padding:12px 14px;border-radius:12px;margin-bottom:18px}.bubble.user{margin-left:28px;background:#322155;border:1px solid #49306f;color:var(--text);border-bottom-right-radius:4px}.bubble.assistant{background:#232325;border:1px solid #2b2b2f;border-bottom-left-radius:4px}.step-done{display:flex;align-items:center;gap:8px;color:var(--demo-muted);font-size:10px;margin:0 2px 13px}.step-done:first-letter{color:#b4a9c9}.director-results{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 17px}.result-card{overflow:hidden;border:1px solid #353439;background:#202023;border-radius:8px}.result-card>img{height:90px}.result-card>div{padding:8px}.result-card span{display:block;color:#8c8b98;font-size:8px;text-transform:uppercase;letter-spacing:.06em}.result-card strong{display:block;margin-top:4px;font-size:11px}.composer{margin:0 11px 12px;padding:13px 12px 10px;border:1px solid #3a3a40;border-radius:13px;background:var(--raised)}.composer p{font-size:11px;line-height:1.5;color:var(--demo-quiet);margin:0 0 20px}.composer-bottom{display:flex;align-items:center;gap:7px}.round-tool{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1px solid #4b4b50;background:#303033;font-size:12px;color:#c7c6d0}.pill{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border:1px solid #414146;background:#2b2b2f;border-radius:20px;white-space:nowrap;font-size:9px;line-height:1;color:#d5d4df}.send{margin-left:auto;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--purple);border:1px solid #c0a4f5;box-shadow:0 2px 9px #281a4655;color:#fff}.send svg{width:15px;height:15px}.studio-main{position:relative;min-width:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:11px;background:var(--panel);overflow:hidden}.creator-tabs{display:flex;align-items:center;justify-content:space-around;gap:10px;height:44px;flex-shrink:0;padding:0 18px;border-bottom:1px solid #2a2a2e;color:var(--demo-muted);font-size:10px}.creator-tabs span{height:100%;display:flex;align-items:center;position:relative}.creator-tabs .active{color:#fff;font-weight:700}.creator-tabs .active:after{content:'';position:absolute;bottom:0;left:-10px;right:-10px;height:1px;background:#e7e2f0}.studio-workspace{flex:1;min-height:0;display:grid;grid-template-columns:46% 54%}.script-column{border-right:1px solid #27272d;overflow:hidden}.document-toolbar{display:flex;justify-content:center;align-items:center;gap:18px;color:#a4a3af;font-size:10px;height:38px;border-bottom:1px solid #1e1e22}.document-content{padding:29px 24px}.document-label{font-size:8px;letter-spacing:.16em;color:var(--demo-quiet)}.document-content h1{font-size:31px;letter-spacing:-.05em;margin:11px 0 12px}.script-intro{font-size:12px;color:var(--demo-muted);margin-bottom:24px}.script-line{position:relative;padding:0 0 0 20px;margin-bottom:21px;color:var(--demo-muted);line-height:1.85;font-size:11px}.script-line p{margin:0}.scene-number{position:absolute;left:0;top:2px;color:#797581;font-size:8px}.script-line.selected p{background:#302641;box-shadow:4px 0 #302641,-4px 0 #302641;color:var(--text)}.script-line.selected .scene-number{color:var(--accent)}.mention{display:inline-block;padding:1px 5px;border-radius:10px;line-height:1.2;background:#67409c50;border:1px solid #82629f66;color:#d1b8f5;white-space:nowrap}.script-caret{display:block;width:1px;height:17px;background:var(--accent);margin-left:20px}.scene-column{padding:17px 15px;overflow:hidden}.scene-title{display:flex;align-items:center;gap:12px;font-size:11px;margin:0 0 13px}.scene-title>.pill{margin-left:auto}.scene-title>span:last-child{color:var(--demo-muted)}.scene-preview{position:relative;overflow:hidden;border-radius:8px;border:1px solid #36323e}.scene-preview>img{aspect-ratio:16/10;transition:filter .4s ease,opacity .3s}.scene-preview:after{content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#0009)}.image-caption{position:absolute;bottom:12px;left:12px;font-size:9px;z-index:1;color:#ece7f2}.preview-play{position:absolute;left:calc(50% - 18px);top:calc(50% - 18px);width:36px;height:36px;border:1px solid #ffffff65;background:#0004;backdrop-filter:blur(4px);border-radius:50%;display:grid;place-items:center;font-size:11px;z-index:2}.shot-prompt{padding:13px 0 12px}.shot-prompt>div:first-child{display:flex;align-items:center}.eyebrow{font-size:8px;letter-spacing:.09em;font-weight:700;color:var(--demo-quiet)}.shot-prompt p{font-size:10px;line-height:1.6;color:var(--demo-muted);margin:8px 0 12px}.shot-options{display:flex;gap:6px;align-items:center}.mini-send{margin-left:auto;color:#d5bafa;font-size:17px}.scene-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.scene-strip>div{position:relative;border:1px solid #36333c;border-radius:5px;padding:2px;overflow:hidden}.scene-strip>div>img{aspect-ratio:1.4;border-radius:3px}.scene-strip>div>span{position:absolute;left:5px;bottom:4px;color:white;font-size:7px;text-shadow:0 1px 3px #000}.scene-strip .is-selected{border-color:var(--accent)}.studio-bottom{display:flex;align-items:center;gap:13px;height:50px;flex-shrink:0;border-top:1px solid #29272f;padding:0 16px;font-size:9px;color:#c1bdcc}.play-button{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#efedf3;color:#211b2b;font-size:8px}.studio-bottom i{font-style:normal;color:#7e7a89}.progress-track{height:3px;flex:1;background:#39363f;border-radius:5px}.progress-track i{display:block;width:27%;height:3px;background:var(--accent);border-radius:5px}.export-button{padding:7px 12px;border-radius:16px;background:#2e2839;color:#d8c8ec}.export-popover{position:absolute;right:15px;bottom:51px;width:245px;border:1px solid #49434f;border-radius:12px;background:#262329;box-shadow:0 12px 40px #000a;padding:16px;display:none;z-index:5}.export-popover strong{display:block;font-size:13px;margin-bottom:15px}.export-popover>span{display:block;font-size:11px;border-top:1px solid #39333f;padding:11px 0}.export-popover small{float:right;color:#9a90a8;font-size:9px}.export-popover>div{font-size:9px;color:#aca1b9;line-height:1.5}body[data-variant="2"] .studio-view .export-popover{display:block}body[data-variant="1"] .studio-view .script-line.selected p{background:#45315e}body[data-variant="1"] .studio-view .scene-preview{border-color:#a782d4}
body:not([data-demo="studio"]) .app-header{display:none}.compact-view{height:100%;display:flex;flex-direction:column;background:var(--panel)}.compact-view>.panel-heading{height:48px;min-height:48px;padding:0 20px;font-size:13px}.compact-view .small-logo{width:17px;height:17px}.compact-feed{padding:18px 22px 10px;flex:1;min-height:0;overflow:hidden}.compact-feed .chat-date{margin-bottom:17px;font-size:10px}.compact-feed .bubble{font-size:13px;line-height:1.55;padding:11px 14px;margin-bottom:14px}.compact-feed .user{margin-left:52px}.compact-feed .assistant{background:transparent;border:0;padding:0 0 0 2px;margin-bottom:14px}.compact-feed .step-done{font-size:10px;margin-bottom:11px}.generated-result{overflow:hidden;border:1px solid #38343e;border-radius:10px}.generated-result>img{height:132px;object-position:center 40%}.generated-result>div{display:flex;align-items:center;gap:7px;padding:10px;font-size:10px;background:#222127}.generated-result>div>span:last-child{margin-left:auto;font-size:9px;color:#8f8999}.result-dot{width:5px;height:5px;border-radius:50%;background:var(--accent)}.suggestion-row{display:flex;gap:6px;margin-top:12px;font-size:9px;color:#c5bdcf}.suggestion-row>span{padding:6px 9px;background:#29252f;border:1px solid #423749;border-radius:20px}.compact-composer{margin:4px 16px 15px;padding:13px 14px 11px}.compact-composer p{margin-bottom:16px;font-size:12px}.compact-composer .pill{font-size:10px}.compact-composer .send{width:30px;height:30px}.creator-view .creator-tabs{height:45px;font-size:10px}.creator-inner{display:flex;flex-direction:column;flex:1;min-height:0;padding:17px}.asset-heading{display:flex;align-items:center;gap:14px;min-height:26px;margin-bottom:13px}.asset-heading .eyebrow{font-size:9px}.asset-heading strong{padding:7px 12px;background:#0b0b0e;border-radius:16px;font-size:12px;flex:1}.asset-heading>span:last-child{color:#89838f;font-size:14px}.character-previews{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.character-previews figure{height:190px;position:relative;margin:0;border:1px solid #3a353f;border-radius:10px;overflow:hidden;background-color:#17171b;background-image:linear-gradient(45deg,#202025 25%,transparent 25%),linear-gradient(-45deg,#202025 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#202025 75%),linear-gradient(-45deg,transparent 75%,#202025 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.character-previews img{height:100%;width:100%;object-fit:contain;padding:12px 12px 20px;filter:drop-shadow(0 6px 5px #0004)}.character-previews figcaption{position:absolute;bottom:7px;left:0;right:0;text-align:center;color:#9c929f;font-size:8px}.voice-selector{display:flex;align-items:center;gap:11px;margin:11px 0}.voice-selector>span:last-child{display:flex;gap:7px;align-items:center;flex:1;font-size:10px;background:#262328;border:1px solid #3b3540;border-radius:7px;padding:8px}.voice-selector i{width:10px;height:10px;border-radius:50%;background:linear-gradient(145deg,#c2a3ff,#814ddc)}.voice-selector small{margin-left:auto;color:#96899f}.creator-prompt{display:flex;flex-direction:column;flex:1;min-height:153px;border:1px solid #3c3641;border-radius:11px;padding:13px;background:var(--raised)}.creator-prompt>p{font-size:12px;line-height:1.65;margin:0 0 12px;flex:1;color:var(--text)}.reference-row{display:flex;align-items:center;gap:6px;margin-bottom:12px}.reference-row img{width:32px;height:27px;border-radius:9px;border:1px solid #655475}.reference-row span{color:#91829f;font-size:9px;margin-left:3px}.character-footer{display:flex;justify-content:space-between;gap:10px;font-size:9px;padding-top:11px;color:#8d818f}.character-footer>span:last-child{color:#ac9bbd}.style-image{position:relative;border:1px solid #4a4052;overflow:hidden;border-radius:10px}.style-image>img{height:199px}.style-image>div{position:absolute;left:11px;right:11px;bottom:11px;display:flex;align-items:center;justify-content:space-between;font-size:9px}.style-chip{background:#17121bd9;backdrop-filter:blur(8px);border:1px solid #bfa2e14d;border-radius:20px;padding:7px 10px;color:#e7d8f7}.style-description{padding:14px 1px 12px}.style-description p{font-size:12px;line-height:1.65;color:var(--demo-muted);margin:8px 0 12px}.color-palette{display:flex;gap:4px;align-items:center}.color-palette i{width:13px;height:13px;border-radius:50%;background:var(--swatch);border:1px solid #ffffff20;flex-shrink:0}.color-palette span{color:#94889e;font-size:9px;margin-left:6px}.style-results{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.style-results img{height:65px;border-radius:7px;border:1px solid #3d3547}.style-bottom{display:flex;gap:6px;align-items:center;margin-top:auto;padding-top:12px}.style-generate{margin-left:auto;font-size:9px;padding:8px 10px;border:1px solid #b79bdd;border-radius:20px;color:white;background:var(--purple)}
.demo-cursor{position:absolute;z-index:10;left:78%;top:77%;opacity:0;filter:drop-shadow(0 2px 3px #0008);transition:top 1s cubic-bezier(.2,.7,.3,1),left 1s cubic-bezier(.2,.7,.3,1),opacity .3s;pointer-events:none}.demo-cursor svg{width:21px;height:25px}body[data-phase="focus"] .demo-cursor{opacity:1;left:87%;top:85%}body[data-demo="studio"][data-phase="focus"] .demo-cursor{left:79%;top:72%}body[data-demo="director"][data-phase="focus"] .demo-cursor{left:84%;top:89%}body[data-demo="characters"][data-phase="focus"] .demo-cursor{left:88%;top:85%}body[data-phase="working"] .result-status,body[data-phase="working"] .compact-feed .step-done,body[data-phase="working"] .character-footer,body[data-phase="working"] .style-bottom{color:var(--accent)}body[data-phase="working"] .scene-preview:before,body[data-phase="working"] .generated-result:before,body[data-phase="working"] .character-previews:before,body[data-phase="working"] .style-image:before{content:'';position:absolute;z-index:4;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 25%,#b18cff15 47%,#d0b0ff30 50%,transparent 75%);background-size:220% 100%;animation:sweep 1.25s ease-in-out infinite}.generated-result,.character-previews{position:relative}.demo-shell [data-paused="true"]{animation-play-state:paused}body.is-paused *,body.is-paused *:before,body.is-paused *:after{animation-play-state:paused!important}.demo-loading-mark{overflow:visible}.demo-loading-mark path{transform-box:fill-box;transform-origin:center}body[data-phase="working"] .demo-loading-mark path{animation:rdrSpin 2.1s cubic-bezier(.62,.06,.34,.95) infinite}@keyframes sweep{from{background-position:170% 0}to{background-position:-60% 0}}@keyframes rdrSpin{0%{transform:rotate(0deg);animation-timing-function:linear}25%{transform:rotate(90deg);animation-timing-function:linear}50%{transform:rotate(180deg);animation-timing-function:linear}75%{transform:rotate(270deg);animation-timing-function:linear}100%{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.demo-cursor{display:none!important}}@media(max-width:850px){body[data-demo="studio"] .search-tool{display:none}.studio-view{grid-template-columns:32% 1fr;padding:8px;gap:7px}.studio-view .document-content{padding:22px 17px}.studio-view .script-line{font-size:10px}.studio-view .scene-column{padding:14px 10px}.studio-view .director-results{grid-template-columns:1fr}.studio-view .result-card:nth-child(2){display:none}.studio-view .bubble{font-size:10px;padding:9px}.studio-view .director-feed{padding:14px 10px}.studio-view .header-mode{padding:5px 7px}.studio-view .pill{padding:4px 6px;font-size:8px}.studio-view .creator-tabs{gap:8px;padding:0 10px;font-size:9px}.studio-view .script-intro{font-size:10px}.studio-view .document-content h1{font-size:26px}.studio-view .shot-prompt p{font-size:9px}}@media(max-height:510px){.compact-feed{padding-top:12px}.compact-feed .chat-date{margin-bottom:10px}.compact-feed .bubble{font-size:11px;margin-bottom:10px}.compact-feed .generated-result>img{height:126px}.character-previews figure{height:158px}.creator-prompt{min-height:135px}.creator-prompt>p{font-size:11px}.style-image>img{height:159px}.style-results img{height:55px}.style-description{padding:11px 1px}.style-description p{font-size:11px}.style-bottom{padding-top:10px}.compact-composer p{margin-bottom:10px}}
/* Small demos focus on one real surface at a time instead of squeezing three
   desktop columns into a phone. The hero leads with the selected shot. */
@media(max-width:650px){
  body[data-demo="studio"] .app-header{height:44px;padding:0 15px}
  body[data-demo="studio"] .project-name{font-size:12px;gap:8px}
  body[data-demo="studio"] .brand-mark{width:21px;height:21px}
  body[data-demo="studio"] .saved-label,body[data-demo="studio"] .header-mode:not(.active),body[data-demo="studio"] .avatar{display:none}
  body[data-demo="studio"] .header-mode.active{padding:6px 9px;font-size:9px}
  .studio-view{height:calc(100% - 44px);grid-template-columns:minmax(0,1fr);padding:7px}
  .studio-view>.director-panel{display:none}
  .studio-view .studio-workspace{grid-template-columns:minmax(0,1fr)}
  .studio-view .script-column{border:0}
  .studio-view .document-content{padding:20px 26px}
  .studio-view .document-content h1{font-size:32px}
  .studio-view .script-intro{font-size:12px;margin-bottom:20px}
  .studio-view .script-line{font-size:12px;margin-bottom:16px}
  .studio-view .scene-column{padding:14px 17px}
  .studio-view .scene-preview>img{aspect-ratio:16/8;max-height:220px}
  .studio-view .shot-prompt p{font-size:11px}
  .studio-view .scene-strip img{max-height:60px}
  .studio-view .studio-bottom{height:41px;gap:10px;padding:0 12px}
  body[data-demo="studio"][data-variant="0"] .scene-column{display:none}
  body[data-demo="studio"]:not([data-variant="0"]) .script-column{display:none}
  body[data-demo="studio"][data-hero="true"] .script-column{display:none}
  body[data-demo="studio"][data-hero="true"] .scene-column{display:block}
  .studio-view .export-popover{bottom:43px;right:10px;max-width:calc(100% - 20px)}
}
@media(max-width:380px){
  .creator-tabs{padding-inline:10px;gap:7px;font-size:9px}
  .creator-inner{padding:12px}
  .character-previews figure{height:165px}
  .character-previews img{padding-inline:5px}
  .creator-prompt{padding:11px}
  .creator-prompt>p{font-size:11px}
  .character-footer{font-size:8px}
  .compact-feed{padding:14px}
  .compact-feed .user{margin-left:23px}
  .compact-feed .bubble{font-size:12px}
  .compact-feed .generated-result>img{height:113px}
  .style-bottom .pill:nth-child(2){display:none}
  .style-image>img{height:173px}
  .studio-view .creator-tabs{font-size:8px;gap:5px}
  .studio-view .document-content{padding:18px}
}

/* Actual uppercase labels use the app's caps face; mixed-case UI stays Alte Haas. */
.eyebrow,.document-label,.result-card span,.avatar{font-family:var(--demo-mono)}
