@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#393447;background:#f7f5fb;font-synthesis:none;--violet:#7956a8;--line:#e5ddee;--muted:#93869f}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button,.file-button{border:1px solid #e3d9ed;border-radius:12px;background:#fff;color:#745590;padding:10px 14px;cursor:pointer;font-size:12px;transition:background .15s,box-shadow .15s}button:hover:enabled,.file-button:hover{background:#f1eafa;box-shadow:0 3px 12px #9275ac12}button:disabled{opacity:.4;cursor:default}.primary{color:#fff;background:#8261ac;border-color:#8261ac;box-shadow:0 5px 13px #8c66b326}.primary:hover:enabled{background:#73509d}a{color:#7956a8;text-decoration:none}input,textarea,select{color:#51445f;border:1px solid #e1d6eb;border-radius:10px;background:white;padding:9px;min-width:0}label{font-size:11px;color:#84738f}small{font-size:11px;color:#9788a1;line-height:1.6}:focus-visible{outline:3px solid #79cdd5;outline-offset:3px}.studio-shell{max-width:1920px;margin:auto}.studio-header{display:flex;align-items:center;gap:24px;background:#ffffffd9;padding:20px 28px;border-bottom:1px solid var(--line)}.identity{display:flex;align-items:center;gap:24px}.account{font-size:11px;border-radius:22px;background:#f2ebf9;white-space:nowrap}.brand{display:flex;align-items:center;gap:9px;color:#765199;font-family:Poppins,sans-serif;font-size:26px;font-weight:700;letter-spacing:-1px}.brand svg{width:35px;fill:#9c7cc0}.brand small{display:block;font-size:7px;letter-spacing:1.4px;font-weight:500}.light{font-weight:400}.project-name{margin:auto;display:grid;text-align:center;gap:3px}.project-name input{background:transparent;border:none;text-align:center;font-size:13px;padding:3px;width:180px}.project-name span{font-size:9px;color:#a08eaa}.header-actions{display:flex;gap:7px;align-items:center}.file-button{position:relative;display:inline-flex;align-items:center}.file-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.studio-subhead{display:flex;justify-content:space-between;padding:11px 29px;background:#f0ebf7;color:#8b739f;font-size:10px;letter-spacing:.2px}.crumb{color:#a596b0}.live-dot,.agent-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#89c8be;margin-right:6px}.editor{display:grid;grid-template-columns:340px minmax(0,1fr);min-height:calc(100vh - 190px)}.agent{padding:24px 22px 10px;border-right:1px solid var(--line);background:linear-gradient(145deg,#ecfbfb,#fffdf2 60%,#fbf0fa);display:flex;flex-direction:column;min-width:0}.agent-head{display:flex;align-items:center;gap:10px;padding-bottom:20px;border-bottom:1px solid #e7e2ec}.orb{width:44px;height:44px;border-radius:50%;background:radial-gradient(circle at 30% 15%,#fff9,transparent 50%),linear-gradient(140deg,#b8ecf2,#d5c2f1,#ffdbdb);box-shadow:0 3px 13px #b8a7c42a;display:grid;place-items:center}.orb svg{width:27px;fill:#997bb5}h1{font-size:14px;margin:0 0 3px;font-weight:700}.agent-head small{font-size:10px}.agent-dot{margin-left:auto;background:#79d0d3;box-shadow:0 0 8px #99e5e2}.messages{flex:1;overflow:auto;max-height:52vh;min-height:280px;padding:20px 0;scrollbar-width:thin;scrollbar-color:#ded0eb transparent}.reply{border:1px solid #d9e9ee;background:#f6feffb8;border-radius:4px 19px 19px;padding:18px;margin:0 0 15px;font-size:13px;line-height:1.85;overflow-wrap:anywhere}.reply p{margin:7px 0}.reply .subtle{color:#96899f;font-size:11px}.reply.user{margin-left:28px;border-radius:19px 4px 19px 19px;background:#f1e8fa;border-color:#e4d7ef}.speaker{font-size:8px;color:#a08bad;letter-spacing:1.3px;font-weight:700}.suggestions{display:flex;flex-wrap:wrap;gap:6px}.suggestions button{font-size:10px;padding:7px 10px;border-radius:20px;background:#fffc}.composer{background:#ffffffb8;border:1px solid #e3d6ee;border-radius:21px;padding:14px;box-shadow:0 5px 20px #997eb20a}.composer>label{font-weight:600;font-size:11px}.composer textarea{display:block;width:100%;border:none;background:transparent;font-size:12px;line-height:1.7;padding:12px 0;resize:vertical;min-height:85px}.composer-actions{display:flex;align-items:center;gap:8px}.composer-actions small{font-size:9px;margin-left:auto}.send{width:42px;height:42px;padding:0;border-radius:50%;background:radial-gradient(ellipse at 25% 15%,#fffffff2,transparent 55%),conic-gradient(from 220deg,#bbf2ee,#ead8ff,#ffd5e0,#fff3b4,#bbf2ee);box-shadow:inset 0 0 0 2px #ffffffb0,0 4px 12px #9f83c32a;color:#745393;font-size:28px;border:1px solid #fff;flex-shrink:0}.attach-button{font-size:11px;cursor:pointer;color:#8f729f;list-style:none}.attach-button::-webkit-details-marker{display:none}#attach-menu{position:relative}.attach-options{display:grid;gap:6px;position:absolute;bottom:28px;width:200px;background:white;border:1px solid var(--line);padding:8px;border-radius:15px;z-index:10;box-shadow:0 5px 30px #69507924}.agent-note{font-size:9px;color:#a597ad;line-height:1.6;margin:12px 5px}.thinking{display:flex;align-items:center;gap:8px;font-size:10px;color:#a198aa;padding:8px}.processing-mark{width:40px;height:40px;overflow:visible}.processing-mark circle{fill:#bab5be;animation:pip-work 1.5s ease-in-out infinite}.processing-mark circle:nth-child(2){animation-delay:.25s}.processing-mark circle:nth-child(3){animation-delay:.5s}@keyframes pip-work{0%,65%,100%{fill:#bbb5c0;transform:translateY(0)}25%{fill:#c9a7ed;transform:translateY(-5px);filter:drop-shadow(0 0 5px #d5b4f7)}}.attachments{display:flex;gap:7px;flex-wrap:wrap;padding:4px 0}.reference{position:relative}.reference img{width:46px;height:46px;object-fit:cover;border-radius:8px;border:1px solid #dccfe8}.reference button{position:absolute;right:-5px;top:-7px;font-size:10px;padding:1px 4px;border-radius:50%}.workspace{padding:21px 30px;min-width:0}.preview-bar{display:flex;align-items:center;justify-content:space-between;margin:0 0 15px;gap:12px}.preview-title{display:grid;gap:5px}.eyebrow{font-size:8px;letter-spacing:1.7px;color:#aa94ba;font-weight:600}.preview-title strong{font-size:13px;font-weight:500;color:#8d799c}.preview-tools{display:flex;align-items:center;gap:7px}.circle-tool{width:34px;height:34px;padding:0;border-radius:50%;font-size:20px;background:#fffd}.preview-tools>button:not(.circle-tool){border:none;background:transparent;font-size:20px;padding:4px 7px}.tool-divider{width:1px;height:20px;background:var(--line);margin:0 5px}.tool-panel{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:15px;background:#fff;border:1px solid var(--line);border-radius:16px;margin-bottom:12px}.tool-panel strong{font-size:12px;flex-basis:100%}.tool-panel p{font-size:11px;color:#95859f;flex-basis:100%;margin:0}.tool-panel label{display:flex;align-items:center;gap:5px}.tool-panel input[type=number]{width:83px}.tool-panel input[type=range]{width:100px;accent-color:#ab8bc4}.tool-panel output{width:35px;font-size:10px}.preview{position:relative;display:grid;place-items:center;height:clamp(280px,36vw,535px);border-radius:24px;overflow:hidden;background:radial-gradient(ellipse at 85% 85%,#f6dde880,transparent 50%),radial-gradient(ellipse at 20% 100%,#d7f2f2,transparent 60%),linear-gradient(130deg,#e9e0ef,#e5e8ef);box-shadow:inset 0 0 0 1px #ffffff60}.preview video{width:100%;height:100%;object-fit:contain;background:#201a29}.preview video:not([src]){display:none}#empty{text-align:center;padding:25px}.empty-art{height:100px;margin-bottom:18px;display:grid;place-items:center}.empty-art svg{width:78px;fill:#b6a1ca;filter:drop-shadow(0 8px 20px #c3aedb66)}#empty h2{font-family:Poppins,sans-serif;font-size:clamp(22px,2.3vw,34px);font-weight:500;letter-spacing:-1px;color:#8a729f;margin:12px 0}#empty p{font-size:12px;color:#a18cad;margin:8px 0 22px}#empty small{display:block;margin-top:14px;font-size:9px}#empty button{border-radius:24px;font-size:11px;padding:12px 20px}.transport{display:flex;align-items:center;gap:14px;padding:15px 0 20px}.play{background:#eee5f7;border:0;border-radius:50%;width:33px;height:33px;padding:0;font-size:12px}.transport output{font-size:10px;font-variant-numeric:tabular-nums;color:#96829f}.scrub-label{flex:1;font-size:0}.scrub-label input{width:100%;padding:0;accent-color:#b99cd3;height:3px}.preview-quality{font-size:8px;color:#b2a1bb}.timeline-card{border:1px solid #e7dfef;background:#ffffffa0;border-radius:20px;padding:17px 18px 12px}.timeline-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.timeline-head h2{font-size:13px;margin:0 0 3px;color:#776283}.timeline-head h2 span{font-size:9px;font-weight:400;color:#ad9aba;margin-left:7px}.timeline-head small{font-size:9px;color:#ae9abb}.timeline-actions{display:flex;gap:6px}.timeline-actions button{font-size:9px;padding:7px 9px}.timeline-scroll{overflow:auto;padding:5px 0;scrollbar-width:thin;scrollbar-color:#d9cae7 transparent}.ruler{display:flex;justify-content:space-between;min-width:100%;color:#b4a5bf;font-size:8px;padding:9px 0 5px;border-bottom:1px solid #eee7f5}.timeline{display:flex;align-items:stretch;gap:7px;min-height:87px;padding:9px 0 7px;min-width:100%;width:max-content}.timeline-empty{width:100%;min-width:250px;border:1px dashed #e7dfef;padding:18px;border-radius:12px;color:#b2a4bc;text-align:center;font-size:11px}.clip{position:relative;min-width:145px;flex-shrink:0;text-align:left;padding:12px 17px;border:2px solid transparent;border-radius:12px;background:linear-gradient(125deg,#e1d5f0,#dff0ed);overflow:hidden;color:#7d6391;touch-action:pan-y}.clip:nth-child(3n+2){background:linear-gradient(125deg,#e0e9f4,#e9e0f3)}.clip:nth-child(3n){background:linear-gradient(125deg,#f4dee9,#f4ebd9)}.clip[aria-pressed=true]{border-color:#aa86c8;box-shadow:0 0 0 2px #d5c0e830}.clip b{font-size:10px;font-weight:500;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}.clip small{display:block;font-size:8px;color:#a48bb6;margin-top:8px}.clip .handle{position:absolute;top:0;bottom:0;width:10px;background:#ab87c6;opacity:0;cursor:ew-resize;touch-action:none;display:grid;place-items:center;color:#fff;font-size:11px}.clip[aria-pressed=true] .handle{opacity:1}.handle.left{left:0}.handle.right{right:0}.clip.dragging{cursor:ew-resize}.inspector{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:10px;border-top:1px solid #eee7f5}.inspector strong{font-size:9px;color:#a28bb0;margin-right:auto;overflow-wrap:anywhere;max-width:250px}.inspector label{font-size:9px;display:flex;align-items:center;gap:5px}.inspector input{width:68px;padding:5px;font-size:10px}.inspector button{padding:6px 9px;font-size:9px}#status{font-size:10px;line-height:1.8;color:#a18eae;min-height:18px;overflow-wrap:anywhere}.workspace-foot{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;font-size:9px;color:#b3a2bc}.workspace-foot a{color:#9f86af}.job{position:absolute;inset:0;z-index:5;background:#f7f3faf2;backdrop-filter:blur(8px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;text-align:center;padding:30px}.job .processing-mark{width:95px;height:95px}.job strong{color:#8d6ca7;font-size:17px}.job span{color:#a28cb1;font-size:12px}.job progress{width:min(260px,80%);height:5px;accent-color:#b596d1}.job button{font-size:10px}dialog{border:1px solid #e3d5ef;border-radius:24px;padding:30px;max-width:440px;width:calc(100% - 32px);background:#fffafefa;color:#695577}dialog::backdrop{background:#30213d55;backdrop-filter:blur(5px)}dialog form{display:grid;gap:14px}dialog h2{margin:0;font-size:23px}dialog p{font-size:12px;line-height:1.8;color:#a18aaf}dialog label{display:grid;gap:7px}.dialog-close{position:absolute;right:12px;top:9px;border:0;font-size:22px;padding:0 8px}#pop-account-status{display:none!important}#pop-spacepapes-credit{display:none!important}.pop-network-footer{margin:15px auto!important}#popnav2{position:relative!important;top:0!important}#popnav2 .popfeed-header-context{right:700px!important}.account-active{background:#e6f3ef;color:#658c7d}@media(min-width:1500px){.editor{grid-template-columns:390px minmax(0,1fr)}.workspace{padding:25px 40px}.agent{padding:28px}}@media(max-width:1150px){.studio-header{gap:12px;flex-wrap:wrap;padding:16px 20px}.identity{gap:14px}.project-name{margin-left:auto;margin-right:0}.header-actions{width:100%;justify-content:flex-end}.editor{grid-template-columns:300px minmax(0,1fr)}.workspace{padding:18px}.studio-subhead>span:last-child{display:none}.preview-quality{display:none}.timeline-head{flex-wrap:wrap}}@media(max-width:780px){.editor{display:flex;flex-direction:column-reverse}.agent{border:0;border-top:1px solid var(--line);padding:20px}.messages{max-height:300px;min-height:150px}.preview{height:52vw;min-height:260px}.workspace{padding:15px}.identity{gap:10px}.brand{font-size:22px}.brand svg{width:27px}.account{font-size:10px;padding:8px}.project-name{display:none}.header-actions{justify-content:flex-start;gap:5px}.header-actions button,.header-actions .file-button{font-size:10px;padding:8px 10px}.studio-subhead{padding:10px 17px}.workspace-foot{font-size:8px}.tool-panel{gap:9px}.inspector strong{width:100%;max-width:none}.transport{gap:9px}.timeline-card{padding:13px}.preview-title strong{font-size:11px}.eyebrow{font-size:7px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.processing-mark circle{animation:none;fill:#c5b4d5}}

/* Keep this studio's shared POP navigation in one coherent row. Repeated ID
   specificity overrides the shared widget's later injected layout rules. */
#popnav2#popnav2{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:18px!important;min-height:54px!important;padding:8px 18px 8px 58px!important;background:linear-gradient(110deg,#46325e,#614779 58%,#4b3a68)!important}
#popnav2#popnav2 .popfeed-header-context{position:static!important;inset:auto!important;display:flex!important;align-items:center!important;flex:1 1 0!important;gap:18px!important;min-width:0!important;max-width:none!important;width:auto!important;height:34px!important;margin:0!important;pointer-events:auto!important}
#popnav2#popnav2 .popfeed-nav-line{display:flex!important;flex:0 0 auto!important;align-items:center!important;white-space:nowrap!important;margin:0!important;color:#fff!important;font-size:11px!important}
#popnav2#popnav2 .popfeed-nav-line *,#popnav2#popnav2 .popfeed-news-ticker,#popnav2#popnav2 .popfeed-news-run,#popnav2#popnav2 .popfeed-news-run *,#popnav2#popnav2 .popfeed-news-run span:after,#popnav2#popnav2 .popfeed-news-run a:after{color:#fff!important;-webkit-text-fill-color:#fff!important}
#popnav2#popnav2 .popfeed-news-ticker{display:block!important;flex:1 1 0!important;min-width:0!important;width:auto!important;height:27px!important;font-size:9px!important;line-height:27px!important}
#popnav2#popnav2 .pop-nav-tools{display:flex!important;align-items:center!important;flex:0 0 auto!important;flex-wrap:nowrap!important;gap:7px!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important}
#popnav2#popnav2 .pop-global-search{flex:0 1 155px!important;width:155px!important;min-width:0!important;max-width:155px!important}
#popnav2#popnav2 .pn-brand{top:10px!important;left:12px!important}
#popnav2#popnav2 .pn-brand>summary{color:#fff!important}
#popnav2#popnav2 .pn-brand svg{fill:#fff!important}
@media(max-width:1250px){#popnav2#popnav2{gap:12px!important}#popnav2#popnav2 .popfeed-header-context{gap:12px!important}#popnav2#popnav2 .popfeed-nav-line>i,#popnav2#popnav2 .popfeed-nav-line>span{display:none!important}#popnav2#popnav2 .pop-global-search{width:125px!important;max-width:125px!important}}
@media(max-width:900px){#popnav2#popnav2 .pop-global-search{width:100px!important;max-width:100px!important}#popnav2#popnav2 .pop-nav-tools{gap:5px!important}}
@media(max-width:760px){#popnav2#popnav2{padding:8px 10px 8px 49px!important;gap:7px!important}#popnav2#popnav2 .popfeed-header-context{display:none!important}#popnav2#popnav2 .pop-nav-tools{flex:1 1 auto!important;justify-content:flex-end!important;gap:5px!important}#popnav2#popnav2 .pop-global-search{display:none!important}#popnav2#popnav2 .pop-nav-tools>a,#popnav2#popnav2 .pop-nav-tools>details,#popnav2#popnav2 .pop-nav-tools>details>summary{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;flex:0 0 30px!important;padding:0!important}#popnav2#popnav2 .pn-brand{left:8px!important}}
@media(max-width:390px){#popnav2#popnav2 .pop-nav-tools{gap:3px!important}#popnav2#popnav2 .pop-nav-tools>a,#popnav2#popnav2 .pop-nav-tools>details,#popnav2#popnav2 .pop-nav-tools>details>summary{width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;flex-basis:28px!important}}

/* Pearl-light POPmark with staggered pastel reflections as it turns. */
#popnav2#popnav2 .pn-brand svg{overflow:visible!important;transform-origin:50% 50%!important;animation:pop-cut-mark-turn 18s linear infinite!important;filter:drop-shadow(0 0 3px #fff9) drop-shadow(0 0 7px #c8b8ef66)!important}
#popnav2#popnav2 .pn-brand svg circle{fill:#fff9ff;stroke:none!important;animation:pop-cut-mark-shine 9s ease-in-out infinite!important}
#popnav2#popnav2 .pn-brand svg circle:nth-of-type(2){animation-delay:-3s!important}
#popnav2#popnav2 .pn-brand svg circle:nth-of-type(3){animation-delay:-6s!important}
@keyframes pop-cut-mark-turn{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes pop-cut-mark-shine{0%,100%{fill:#fffaff;filter:drop-shadow(0 0 1px #fff8)}22%{fill:#c9fff3;filter:drop-shadow(0 0 3px #9ffff1bb)}44%{fill:#efdcff;filter:drop-shadow(0 0 3px #ddbcffbb)}66%{fill:#ffdce9;filter:drop-shadow(0 0 3px #ffc2dfbb)}82%{fill:#fff3c9;filter:drop-shadow(0 0 3px #fff0b5aa)}}
@media(prefers-reduced-motion:reduce){#popnav2#popnav2 .pn-brand svg,#popnav2#popnav2 .pn-brand svg circle{animation:none!important}#popnav2#popnav2 .pn-brand svg circle{fill:#fff9ff}}
