/* Demorella Studio uses the site's existing palette and locally hosted type. [Codex] */
:root{--ink:#2b1b3d;--muted:#6b5f78;--blue:#4b3566;--paper:#faf5ec;--line:#e4d9c6;--yellow:#d9a441;--green:#10635c;font-family:'Instrument Sans',system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible{outline:3px solid var(--blue)}button{cursor:pointer;border:1px solid #cec2d7;border-radius:7px;background:white;color:var(--ink);padding:10px 15px;font-weight:600}button:hover{border-color:var(--blue)}button:disabled{opacity:.55;cursor:wait}a{color:var(--blue)}button.primary{background:var(--blue);color:white;border-color:var(--blue)}button.quiet{border-color:transparent;background:transparent}button.danger{color:#a32b26}input,textarea,select{width:100%;padding:11px 12px;border:1px solid #cec2d7;border-radius:6px;background:white;color:var(--ink)}textarea{resize:vertical;min-height:95px}label{display:block;font-size:14px;font-weight:600;margin:15px 0 6px}label input,label textarea,label select{display:block;margin-top:7px;font-weight:400}small,.muted{color:var(--muted);font-size:14px}h1{font-size:36px;line-height:1.15;letter-spacing:-1px;margin:0 0 12px;font-weight:600}h2{font-size:23px;line-height:1.25;margin:0 0 12px;font-weight:600}h3{font-size:17px;margin:0 0 8px}p{margin:0 0 15px;max-width:72ch}hr{border:0;border-top:1px solid var(--line);margin:24px 0}[hidden]{display:none!important}.skip{position:absolute;top:-100px;left:20px;z-index:9;background:white;padding:10px}.skip:focus{top:10px}.mark{width:36px;height:36px;border-radius:10px 10px 10px 3px;background:var(--blue);color:white;display:inline-grid;place-items:center;font-size:24px;font-weight:700;position:relative}.mark:after{content:'';width:7px;height:7px;position:absolute;right:5px;bottom:5px;background:var(--yellow);border-radius:2px}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:600;text-decoration:none;color:var(--ink)}.rail{position:fixed;inset:0 auto 0 0;width:228px;background:white;border-right:1px solid var(--line);padding:27px 20px;display:flex;flex-direction:column;gap:24px}.rail .brand{margin-bottom:18px}.rail nav{display:grid;gap:5px}.rail nav button{border:0;background:none;text-align:left;padding:12px;border-radius:7px;font-weight:500}.rail nav button.selected{background:#f0e8f5;color:var(--blue);font-weight:600}.nav-icon{width:23px;display:inline-block;color:var(--muted)}.rail .bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:20px}.product-label{margin-bottom:7px;font-size:14px;color:var(--muted)}.workspace{margin-left:228px}.topbar{height:76px;padding:0 40px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#faf5ec}.crumb{font-size:14px;color:var(--muted)}.crumb strong{color:var(--ink);font-weight:500}.avatar{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#ede3f4;color:var(--blue);margin-left:12px;font-size:14px;font-weight:600}#main{padding:38px 40px;max-width:1480px;margin:auto}.heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:26px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:24px;align-items:start}.surface{background:white;border:1px solid var(--line);border-radius:12px;padding:26px}.surface.flush{padding:0;overflow:hidden}.surface-head{padding:22px 24px;border-bottom:1px solid var(--line)}.stack{display:grid;gap:20px}.intro-note{background:#fff4c3;border-left:3px solid #d1a900;padding:16px 18px;border-radius:3px;margin-bottom:22px}.intro-note p:last-child{margin:0}.checklist{list-style:none;margin:0;padding:0}.checklist li{display:grid;grid-template-columns:34px 1fr auto;gap:14px;align-items:center;padding:22px 24px;border-bottom:1px solid var(--line)}.checklist li:last-child{border:0}.checklist p{font-size:14px;color:var(--muted);margin:4px 0 0}.count{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#faf5ec;font-size:14px}.count.done{background:#e6f3f1;color:var(--green)}.metrics{display:flex;gap:30px;flex-wrap:wrap;margin:26px 0}.metric b{display:block;font-size:30px;font-weight:600;line-height:1.2}.metric span{font-size:14px;color:var(--muted)}.row{padding:19px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.row:last-child{border:0}.row p{margin:4px 0 0;font-size:14px;color:var(--muted)}.tag{display:inline-block;font-size:13px;border:1px solid var(--line);background:#f6f8fb;border-radius:5px;padding:3px 8px;white-space:nowrap}.tag.live{background:#e6f3f1;color:var(--green);border-color:#baded5}.tag.review{background:#fff6cf;border-color:#e6d78b;color:#685600}.empty{padding:45px 26px;text-align:center;max-width:650px;margin:auto}.empty h2{margin-top:15px}.empty p{color:var(--muted)}.empty .symbol{display:inline-grid;place-items:center;width:68px;height:68px;background:#f0e8f5;color:var(--blue);border-radius:18px;font-size:30px}.code{display:block;background:#f5efe5;padding:16px;border-radius:6px;white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.6 'JetBrains Mono',monospace;border:1px solid var(--line);margin:15px 0}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hint{padding:16px;border:1px solid #e0d3e9;background:#f7f1fa;border-radius:8px;font-size:14px}.check{display:flex;gap:10px;align-items:flex-start;font-weight:400}.check input{width:18px;height:18px;flex:none;margin-top:3px}.step{padding:22px;background:white;border:1px solid var(--line);border-radius:9px;margin-bottom:14px}.step-head{display:flex;justify-content:space-between;align-items:center}.step-head strong{font-size:14px;color:var(--muted)}.step-head button{padding:5px 9px}.refs{display:flex;gap:12px;flex-wrap:wrap}.refs label{font-size:13px}.refs input{width:auto;display:inline}.sticky{position:sticky;top:20px}.review-note{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.error{padding:12px 14px;background:#fff0ed;border:1px solid #efbbb1;border-radius:7px;color:#8b2820;margin-bottom:18px}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:var(--ink);color:white;padding:55px 11%;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.auth-story .brand{color:white}.auth-story h1{font-size:48px;max-width:470px}.auth-story p{color:#cfc2dd;font-size:18px}.auth-story .preview{border:1px solid #766487;background:#3a2752;padding:22px;border-radius:12px;max-width:410px;margin:36px 0}.preview .focus{display:inline-block;margin:8px 0;padding:9px 13px;background:white;color:var(--ink);outline:3px solid var(--yellow);border-radius:4px}.auth-form{padding:50px;display:flex;align-items:center;justify-content:center}.auth-form form{max-width:390px;width:100%}.auth-form h1{font-size:32px}.auth-form .primary{width:100%;margin-top:20px}.loading{display:grid;place-items:center;min-height:100vh;align-content:center;gap:15px}.loading p{margin:0}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:8px;padding:14px 22px;z-index:10;box-shadow:0 7px 22px #2b1b3d33;max-width:90vw}.source-list{padding-left:20px}.source-list li{margin-bottom:12px}.controls{font-size:14px;margin:0;padding-left:18px}.controls li{margin:7px 0}.title-button{border:0;background:none;font-size:17px;padding:0;text-align:left}.status-line{display:flex;gap:10px;align-items:center;font-size:14px;color:var(--muted)}.form-footer{margin-top:22px;display:flex;gap:12px;align-items:center}.project-create{max-width:700px;margin:auto}.full{width:100%}details{margin-top:14px}summary{cursor:pointer;font-size:14px;color:var(--muted)}@media(max-width:1000px){.rail{width:190px;padding:22px 15px}.workspace{margin-left:190px}#main{padding:28px 24px}.topbar{padding:0 24px}.grid{grid-template-columns:1fr}.sticky{position:static}.auth-story h1{font-size:38px}}@media(max-width:700px){.rail{position:static;width:100%;padding:16px;gap:12px;border-right:0;border-bottom:1px solid var(--line)}.rail .brand{margin:0}.rail nav{display:flex;overflow:auto;gap:5px}.rail nav button{white-space:nowrap;padding:9px}.nav-icon{display:none}.rail .bottom,.rail .product-label{display:none}.rail select{max-width:100%}.workspace{margin:0}.topbar{height:55px;padding:0 18px}.topbar .account{font-size:14px}#main{padding:25px 18px}.heading{display:block}.heading .actions{margin-top:18px}h1{font-size:29px}.surface{padding:20px}.checklist li{padding:18px;grid-template-columns:30px 1fr}.checklist li button{grid-column:2;justify-self:start}.two{grid-template-columns:1fr}.row{padding:18px;align-items:flex-start;flex-wrap:wrap}.auth{grid-template-columns:1fr}.auth-story{min-height:auto;padding:28px}.auth-story>div:not(:first-child),.auth-story>small{display:none}.auth-form{padding:32px 24px}.auth-form form{max-width:480px}.metrics{gap:22px}.step{padding:16px}.step .actions{gap:4px}.form-footer{align-items:stretch;flex-direction:column}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
