:root{--ink:#10274a;--muted:#58677d;--blue:#175ae9;--cream:#faf8f2;--line:#dde3ec;--mint:#e2f2e9;--white:#fff;--shadow:0 12px 35px #10274a08;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid var(--line);background:white;border-radius:10px;padding:10px 16px;text-decoration:none;cursor:pointer;font-size:14px;font-weight:600;transition:background .15s,border-color .15s}button:hover,.button:hover{background:#edf2ff;border-color:#a9bde6}button:disabled{opacity:.55;cursor:wait}button.primary,.button.primary{background:var(--blue);color:white;border-color:var(--blue)}button.primary:hover,.button.primary:hover{background:#1349be}button.text-link,.text-link{border:0;background:transparent;color:var(--blue);padding:6px 0;text-decoration:none;font-size:14px}button.danger{color:#a42c3b}.hidden{display:none!important}:focus-visible{outline:3px solid #e8ad34;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(30px,3.5vw,48px);letter-spacing:-1.8px;line-height:1.13;font-weight:650;margin-bottom:18px}h1 em{font-style:normal;color:var(--blue)}h2{font-size:24px;letter-spacing:-.65px;margin-bottom:12px}h3{font-size:20px;letter-spacing:-.4px;line-height:1.3;margin-bottom:14px}p{line-height:1.65;margin-bottom:16px}small,.fine{font-size:12px;line-height:1.6;color:var(--muted)}.muted{color:var(--muted)}.eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:1.5px;color:var(--blue);margin-bottom:14px}.brand{font-size:32px;font-weight:850;letter-spacing:-2px;text-decoration:none;color:var(--ink);display:inline-flex;align-items:baseline}.brand span{color:var(--blue)}.brand small{font-size:9px;letter-spacing:2px;margin-left:12px;color:var(--muted)}.topbar{height:90px;padding:0 max(28px,calc((100vw - 1180px)/2));border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fffdf8}.topbar nav{display:flex;gap:10px}.topbar nav button{border:0;background:transparent;color:var(--muted)}.topbar nav button[aria-current]{background:#e9effc;color:var(--blue)}.avatar{border-radius:30px;background:var(--mint);max-width:160px;overflow:hidden}.shell{max-width:1180px;margin:auto;padding:0 28px 60px;min-height:70vh}.hero{padding:64px 0 42px;display:flex;align-items:center;justify-content:space-between;gap:30px}.hero p{max-width:480px;color:var(--muted);margin-bottom:0}.hero-mascot{width:230px;height:220px;object-fit:contain;filter:drop-shadow(0 14px 20px #155ae61a)}.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:28px;margin-bottom:22px;box-shadow:var(--shadow)}.panel>:last-child{margin-bottom:0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.section-heading h2,.section-heading h3{margin-bottom:0}.section-heading .eyebrow{margin-bottom:10px}.idea-controls{display:grid;grid-template-columns:1fr 1.4fr auto;gap:18px;align-items:end;margin:24px 0 18px}label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:650;letter-spacing:.1px}input,textarea,select{width:100%;border:1px solid #cdd6e3;border-radius:8px;padding:12px;background:#fcfdff;font-size:15px;font-weight:400;min-width:0}input,select{min-height:46px}textarea{resize:vertical;line-height:1.55}input:focus,textarea:focus,select:focus{border-color:var(--blue);background:white}.check{display:flex;flex-direction:row;align-items:center;gap:9px;font-size:13px;line-height:1.4;font-weight:500;min-height:32px}.check input{width:17px;height:17px;min-height:17px;accent-color:var(--blue);flex-shrink:0}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.idea-results{margin:24px 0 42px;scroll-margin-top:24px}.idea-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;display:flex;flex-direction:column}.idea-card>p{font-size:14px}.idea-card .primary{margin-top:auto}.idea-hook{background:var(--cream);border-radius:10px;padding:16px;margin:0 0 16px}.idea-hook small{font-size:9px;letter-spacing:1px;font-weight:750}.idea-hook p{font-size:14px;margin:8px 0 0}.episode-card{text-align:left;display:block;padding:24px;border-radius:14px;box-shadow:var(--shadow)}.episode-card>div{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.episode-card h3{margin-bottom:8px}.episode-card p{font-size:12px;color:var(--muted);font-weight:400}.pill{display:inline-block;padding:5px 10px;background:var(--mint);border-radius:20px;font-size:10px;font-weight:700}.empty{padding:26px;background:#f0f2f5;border-radius:12px;color:var(--muted);grid-column:1/-1}.site-footer{max-width:1180px;margin:auto;padding:24px 28px 35px;display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.site-footer span{display:flex;gap:25px}.page-heading{padding:54px 0 20px;max-width:720px}.page-heading p{color:var(--muted)}.toolbar{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin-bottom:24px}.grow{flex:1;min-width:180px}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.editor-heading{padding:35px 0 28px;display:flex;justify-content:space-between;align-items:center;gap:24px}.editor-heading h1{font-size:32px;margin-bottom:0;overflow-wrap:anywhere}.editor-heading .eyebrow{margin-top:16px;font-size:9px}.workspace{display:grid;grid-template-columns:210px minmax(0,1fr);gap:32px}.steps{align-self:start;position:sticky;top:24px;display:flex;flex-direction:column;gap:9px}.steps>button{justify-content:flex-start;gap:12px;text-align:left;background:transparent;border-color:transparent;padding:14px 12px}.steps>button b{font-size:11px;background:#e7ebf2;border-radius:8px;padding:8px}.steps>button small{display:block;font-size:10px;font-weight:400;margin-top:4px}.steps>button[aria-current]{background:#e8effe;color:var(--blue)}.steps>button[aria-current] b{background:var(--blue);color:white}.stage-label{margin:24px 12px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.form-grid .wide{grid-column:1/-1}.form-grid label{min-width:0}.character-picks{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}.character-picks label{border:1px solid var(--line);padding:8px 12px;border-radius:10px}.savebar{position:sticky;bottom:12px;z-index:3;border:1px solid #cfdaec;border-radius:12px;background:#fffffff5;box-shadow:0 8px 36px #10274a1a;display:flex;justify-content:space-between;align-items:center;padding:12px 18px;gap:16px;margin-top:26px;font-size:12px}.note{background:#edf3ff;padding:16px 18px;border-radius:10px;font-size:14px}.checks{display:flex;flex-direction:column;gap:10px;margin:20px 0}.mini-refs{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:20px}.mini-refs a{width:135px;color:var(--blue);font-size:12px;text-decoration:none}.mini-refs img{width:135px;height:95px;object-fit:contain;background:var(--cream);border-radius:10px;display:block;margin-bottom:6px}.reference-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.reference-card{margin:0}.reference-card>img{width:100%;height:240px;object-fit:contain;background:var(--cream);border-radius:10px;margin-bottom:20px}.reference-card p{font-size:14px}.reference-card p.fine{font-size:12px}details{margin-top:16px}summary{cursor:pointer;min-height:32px;font-size:14px;font-weight:650}details[open]>summary{margin-bottom:20px}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f5f9;padding:16px;border-radius:8px;font:13px/1.65 inherit}blockquote{border-left:3px solid #b8cbee;padding-left:16px;margin:18px 0;color:var(--muted);white-space:pre-wrap;line-height:1.6}dialog{border:1px solid var(--line);border-radius:18px;max-width:650px;width:calc(100% - 32px);max-height:88vh;padding:28px;color:var(--ink);box-shadow:0 30px 100px #071d4033}dialog::backdrop{background:#071d4066;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.dialog-head h2{margin:0}dialog form{display:flex;flex-direction:column;gap:18px}dialog>label{margin-bottom:20px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:12px;padding:16px 24px;z-index:20;width:max-content;max-width:calc(100% - 32px);box-shadow:var(--shadow);font-size:14px}.error{background:#fff0ed;color:#8b2936;border:1px solid #edc3bb;border-radius:10px;padding:16px;line-height:1.6}.user-row,.history-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.user-row p{margin:6px 0;font-size:13px;overflow-wrap:anywhere}.history-row small{display:block}.blocked{margin-top:60px}.loading{padding:60px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-intro{background:#eef2fc;padding:50px clamp(32px,6vw,90px);display:flex;flex-direction:column;justify-content:space-between;gap:60px}.auth-intro h1{font-size:clamp(40px,4.5vw,64px)}.auth-intro p{color:var(--muted)}.auth-panel{padding:60px 32px;display:flex;align-items:center;justify-content:center;background:#fffdfa}.auth-card{width:100%;max-width:380px}.auth-card h2{font-size:28px}.auth-card form{display:flex;flex-direction:column;gap:20px;margin:30px 0 22px}.auth-card button{width:100%}.ai-box{border-top:1px solid var(--line);padding-top:18px}.ai-box textarea{margin-bottom:12px}
@media(max-width:900px){.topbar{padding:0 24px;gap:12px}.brand small{display:none}.workspace{grid-template-columns:170px minmax(0,1fr);gap:18px}.steps>button{padding:10px 6px}.steps>button small{display:none}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.idea-controls{grid-template-columns:1fr 1fr}.idea-controls>button{grid-column:1/-1}.hero-mascot{width:170px;height:180px}.hero h1{font-size:36px}.panel{padding:22px}.user-row{align-items:flex-start;flex-direction:column}.editor-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.topbar{height:auto;min-height:106px;flex-wrap:wrap;padding:16px 20px 10px;gap:8px}.topbar .brand{font-size:28px}.topbar nav{order:3;width:100%;justify-content:space-between;gap:0}.topbar nav button{padding:9px 12px;font-size:12px;min-height:40px}.avatar{min-height:36px;padding:6px 12px;font-size:12px}.shell{padding:0 18px 35px}.hero{padding:34px 0 28px;gap:8px;align-items:flex-start}.hero h1{font-size:30px;letter-spacing:-1.1px}.hero .eyebrow{font-size:8px;letter-spacing:1px}.hero p{font-size:13px}.hero-mascot{width:85px;height:115px;margin-top:24px}.hero>div{flex:1}.panel{padding:20px;border-radius:12px}.section-heading{align-items:flex-start;flex-direction:column;gap:14px}.section-heading h2{font-size:22px}.idea-controls{grid-template-columns:1fr;gap:14px}.idea-controls>button{grid-column:auto}.cards,.reference-grid{grid-template-columns:1fr}.idea-card{padding:22px}.idea-results{margin-bottom:32px}.page-heading{padding-top:34px}.page-heading h1{font-size:32px}.workspace{display:block}.steps{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:22px;gap:6px}.steps>button{display:flex;flex-direction:column;text-align:center;gap:6px;padding:10px 4px;font-size:12px}.steps>button b{background:transparent;padding:0;font-size:10px}.steps>button[aria-current] b{background:transparent;color:var(--blue)}.stage-label{grid-column:1/-1;margin:12px 0 0;flex-direction:row;align-items:center;gap:15px}.stage-label select{flex:1}.form-grid{grid-template-columns:1fr;gap:18px}.form-grid .wide{grid-column:auto}.editor-heading h1{font-size:28px;letter-spacing:-.8px}.savebar{bottom:8px;flex-wrap:wrap;padding:12px;gap:8px}.savebar>span{width:100%;font-size:11px}.savebar .actions{width:100%}.savebar button{flex:1;font-size:12px;padding:8px}.site-footer{padding:22px 18px;flex-direction:column;gap:8px}.reference-card>img{height:auto;max-height:260px}.toolbar{gap:12px}.toolbar>label,.toolbar>button{width:100%}.toolbar .check{width:auto}.auth-layout{display:block}.auth-intro{padding:24px;gap:30px}.auth-intro>div{display:none}.auth-intro>small{display:none}.auth-panel{padding:42px 24px;min-height:calc(100vh - 84px)}.auth-card h2{font-size:26px}.toast{bottom:18px}.user-row .actions{gap:15px}.user-row .check{min-height:44px}.user-row .actions>button{width:100%}dialog{padding:22px}.dialog-head h2{font-size:22px}.hero .brand{font-size:26px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.video-preview{display:block;width:100%;max-width:420px;max-height:70vh;margin:16px auto;border-radius:16px;background:#08172c} #video-jobs code{overflow-wrap:anywhere} #video-jobs details{overflow-wrap:anywhere}

.video-storyboard{display:block;width:100%;height:auto;margin-top:16px}#video-jobs button{white-space:normal;max-width:100%}

/* Focused idea creation: one primary path, optional settings. */
.idea-page{max-width:1000px;margin:0 auto}.idea-page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:40px 0 24px}.idea-page-heading h1{font-size:clamp(26px,3vw,36px);letter-spacing:-1px;margin-bottom:8px}.idea-page-heading p{color:var(--muted);margin:0}.idea-composer{max-width:760px;margin:0 auto 40px}.idea-composer>label{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.idea-composer>textarea{width:100%;min-height:112px;resize:vertical}.idea-options{margin:16px 0 22px}.idea-options summary{font-size:14px;color:var(--muted);cursor:pointer;min-height:32px}.idea-options-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.idea-submit{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.idea-submit button{min-width:180px}.idea-privacy{font-size:12px;color:var(--muted);margin:16px 0 0}.idea-composer #idea-status:empty{display:none}.idea-composer #idea-status{margin:14px 0 0}.idea-page .idea-card{display:flex;flex-direction:column;gap:14px}.idea-page .idea-card>p,.idea-page .idea-card h3{margin:0}.idea-page .idea-card>button{margin-top:auto}.idea-page .idea-card details{margin-bottom:10px}.idea-page .idea-card summary{cursor:pointer;min-height:44px;font-size:14px}.idea-page .idea-card details p{font-size:14px;overflow-wrap:anywhere}.idea-resume{border-top:1px solid var(--line);padding-top:26px}.idea-resume h2{font-size:20px}
@media(max-width:620px){.idea-page-heading{display:block;padding:28px 0 20px}.idea-page-heading>.text-link{margin-top:12px}.idea-options-grid{grid-template-columns:1fr}.idea-submit{display:block}.idea-submit button{width:100%;margin-bottom:10px}.idea-submit>span{display:block;text-align:center}.idea-composer{margin-bottom:28px}.idea-page-heading p{font-size:14px}}

.idea-spoken{white-space:pre-line;line-height:1.7}

.idea-tags{display:flex;flex-wrap:wrap;gap:6px}.idea-tag{display:inline-block;padding:5px 10px;border-radius:999px;background:color-mix(in srgb,var(--blue) 12%,transparent);border:1px solid color-mix(in srgb,var(--blue) 30%,transparent);color:var(--ink);font-size:12px;font-weight:600;line-height:1.4;max-width:100%;overflow-wrap:anywhere}
.idea-card-actions{display:grid;gap:10px;margin-top:auto}.idea-card-actions button{width:100%}.saved-search{display:grid;gap:10px;margin:24px 0 14px;max-width:560px}.topbar nav{flex-wrap:wrap}@media(max-width:620px){.topbar nav button{padding:9px 8px;min-height:44px}.saved-search{max-width:none}}

.idea-cast-picker{margin:16px 0}.idea-cast-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}.idea-cast-option{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #354e70;border-radius:12px;cursor:pointer;min-height:64px}.idea-cast-option:has(input:checked){background:#18365c;border-color:#83bfff}.idea-cast-option input{width:20px;min-width:20px;height:20px;margin-top:2px;accent-color:#ffe13b}.idea-cast-option small{display:block;line-height:1.5;color:#b9cbe6;font-weight:400;margin-top:4px}.idea-cast-option:focus-within{outline:2px solid #ffe13b;outline-offset:2px}
