:root{color-scheme:dark;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:#050b16;color:#e6f3ff;--line:#24405a;--accent:#67d4ff;--surface:#0b1727}
*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #b5eaff;outline-offset:3px}
button{background:#152a3d;border:1px solid #34536d;border-radius:8px;color:#cde8f9;padding:10px 13px;font-size:12px;font-weight:750;letter-spacing:.04em;transition:background .15s,border-color .15s}
button:hover{border-color:#7ac9f4;background:#1c3b52}button.active,button.primary{background:#1c5c78;border-color:#68d8ff;color:#f4fcff}
a{color:#b6dff7;text-decoration:none}.hidden{display:none!important}
.workspace{height:100dvh;display:flex;flex-direction:column;min-height:500px}
.masthead{height:69px;flex:none;display:flex;align-items:center;gap:24px;padding:0 24px;background:#0b1523;border-bottom:1px solid #28435a;z-index:4}
.back{font-size:11px;border:1px solid #304c61;border-radius:8px;padding:9px 12px;white-space:nowrap}.back:hover{background:#172f42}
.mast-brand{display:flex;flex-direction:column;gap:2px;white-space:nowrap}.mast-brand span{font-size:18px;letter-spacing:.16em;font-weight:900}.mast-brand b{color:#62d0ff}.mast-brand small{font-size:9px;letter-spacing:.18em;color:#718ca4}
.mode-switch{display:flex;gap:8px;margin-left:auto}.mode-switch button{min-width:155px}.local-status{font-size:10px;color:#66daa5;font-weight:850;white-space:nowrap;letter-spacing:.08em}
.main{min-height:0;flex:1;display:grid;grid-template-columns:minmax(225px,270px) minmax(400px,1fr) minmax(250px,305px)}
.sidebar,.inspector{background:linear-gradient(180deg,#0d1b2d,#07111e);padding:19px 16px;display:flex;flex-direction:column;min-height:0;z-index:2}
.sidebar{border-right:1px solid var(--line)}.inspector{border-left:1px solid var(--line);overflow-y:auto}
.side-title{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#e2f3ff;font-size:11px;letter-spacing:.13em;font-weight:900}.side-title span{border:1px solid #315570;color:#81d8fd;background:#12273c;padding:4px 8px;border-radius:5px}
.muted{font-size:12px;line-height:1.6;color:#99b3c8;margin:10px 0 16px}
.filter-group{display:flex;flex-direction:column;gap:7px;margin-bottom:10px}
input[type=search],input[type=text],select{width:100%;background:#071321;border:1px solid #305067;border-radius:7px;color:#e4f5ff;padding:10px;font-size:12px;min-width:0}
select{cursor:pointer}.asset-list{flex:1;min-height:0;overflow-y:auto;scrollbar-color:#34536d transparent;padding-right:3px}
.tier-heading{margin:15px 0 7px;font-size:10px;color:#7bb8d6;font-weight:850;letter-spacing:.14em;border-bottom:1px solid #233d52;padding-bottom:6px}
.asset-card{width:100%;border-radius:8px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:8px;text-align:left;margin-bottom:5px;padding:9px;background:#0e2030;border:1px solid #1d394d;letter-spacing:0}
.asset-card.active{background:#173d55;border-color:#6dd4ff}.asset-card .asset-num{font-size:10px;color:#88b9d3}.asset-card .asset-info{min-width:0;display:flex;flex-direction:column;gap:4px}
.asset-info strong{font-size:11px;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.asset-info small{font-size:10px;font-weight:500;color:#81a8c0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ship-kind{font-size:9px;color:#8fd2f4}
.sidebar-foot{border-top:1px solid var(--line);padding-top:13px;margin-top:12px;display:grid;gap:6px}.sidebar-foot b{color:#7ed2fb;font-size:10px;letter-spacing:.11em}.sidebar-foot span{color:#7898b0;font-size:11px;line-height:1.5}
.stage-wrap{position:relative;min-width:0;min-height:0;background:radial-gradient(ellipse at center,#102740 0,#040915 80%);overflow:hidden}
#assetStage{display:block;width:100%;height:100%;touch-action:none;outline:0}
.stage-heading{position:absolute;top:20px;left:22px;pointer-events:none;display:grid;gap:5px;text-shadow:0 2px 8px #000}
.stage-heading span,.microtag{font-size:10px;color:#60d5fc;font-weight:900;letter-spacing:.17em}.stage-heading strong{font-size:22px;letter-spacing:.08em}.stage-heading small{color:#9db9d0;font-size:11px}
.stage-actions{position:absolute;right:16px;top:18px;display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;max-width:58%}.stage-actions button{background:#0b2539e5;border-color:#386783}
.stage-hint{position:absolute;bottom:15px;left:18px;right:18px;text-align:center;font-size:10px;letter-spacing:.06em;font-weight:750;color:#a6cfe8;pointer-events:none;text-shadow:0 1px 5px #000}
.flight-badge{position:absolute;bottom:51px;left:50%;transform:translateX(-50%);background:#0e4a4aeb;border:1px solid #79ebc1;border-radius:8px;padding:10px 16px;font-size:11px;font-weight:900;color:#b3ffe1;white-space:nowrap;box-shadow:0 4px 25px #0008}
.flight-badge span{font-size:10px;color:#d4fbef;margin-left:10px}
.stage-error{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);max-width:450px;text-align:center;padding:25px;background:#250d1a;border:1px solid #ed8293;color:#fff;border-radius:12px;line-height:1.6}
.inspector h2{font-size:23px;line-height:1.17;margin:6px 0 12px;word-break:break-word}.inspector .microtag{margin-top:20px}
.stats{margin:11px 0 22px}.stats div{border-bottom:1px solid #223a50;padding:11px 0;display:flex;justify-content:space-between;gap:12px}.stats dt{color:#7b9db3;font-size:10px;font-weight:850}.stats dd{font-size:11px;margin:0;font-weight:850;text-align:right}
.segment-title{font-size:10px;letter-spacing:.12em;font-weight:900;margin:0 0 10px}.palette{display:flex;gap:8px}.palette button{flex:1}
.note{font-size:11px;color:#7f9eb3;line-height:1.65;background:#0b1e2e;border:1px solid #1b3a50;padding:13px;border-radius:8px;margin-top:19px}
#creativePanel label{display:block;color:#a6bed0;font-size:10px;letter-spacing:.06em;font-weight:800;margin:14px 0}
#creativePanel input:not([type=range]),#creativePanel select{margin-top:7px}
#creativePanel output{float:right;color:#8ee9ff}
#creativePanel input[type=range]{display:block;width:100%;margin-top:9px;accent-color:#62d4ff}
.creative-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:16px}.creative-actions button:first-child{grid-column:span 2}
.toast{position:fixed;bottom:30px;right:30px;padding:12px 19px;border-radius:9px;background:#0e364c;color:#dffaff;border:1px solid #47a7ca;box-shadow:0 5px 24px #0009;font-size:12px;font-weight:700;z-index:9;opacity:0;pointer-events:none;transition:opacity .2s}.toast.show{opacity:1}
.draft-empty{font-size:12px;line-height:1.6;color:#8fa9bb}
.draft-delete{font-size:10px;padding:7px 9px}
@media(max-width:1100px){.main{grid-template-columns:200px minmax(320px,1fr) 245px}.masthead{gap:10px;padding:0 12px}.local-status{display:none}.stage-actions{top:86px;max-width:75%}}
@media(max-width:830px){body{overflow:auto}.workspace{height:auto;min-height:100dvh}.main{display:flex;flex-direction:column;min-height:0}.masthead{height:auto;flex-wrap:wrap;padding:12px;gap:12px}.mode-switch{width:100%;margin:0}.mode-switch button{flex:1;min-width:0}.sidebar{min-height:230px;max-height:280px;order:2;border-right:0;border-top:1px solid var(--line)}.inspector{order:3;border-left:0;border-top:1px solid var(--line);overflow:visible}.stage-wrap{height:56vh;min-height:390px;order:1}.stage-actions{top:80px;right:10px;max-width:85%}.stage-heading strong{font-size:17px}.stage-hint{font-size:9px}.flight-badge{white-space:normal;width:88%;text-align:center}.flight-badge span{display:block;margin:6px 0 0}}
@media(prefers-reduced-motion:reduce){button,.toast{transition:none}}

/* Creative Zone is a curation/review gallery, not a model parameter editor. */
.creative-review-item{display:flex;flex-direction:column;gap:8px;border:1px solid #48718a;background:linear-gradient(145deg,#13334c,#101e32);border-radius:10px;padding:15px 13px;box-shadow:inset 0 1px #aee8ff14}
.creative-review-item strong{font-size:12px;letter-spacing:.05em;color:#eef9ff}
.creative-review-item small{font-size:11px;color:#9ebed2}
.creative-review-item span{align-self:flex-start;color:#ffcf93;border:1px solid #9b7044;background:#3a2b23;padding:5px 7px;border-radius:4px;font-size:9px;letter-spacing:.09em;font-weight:900}
#creativePanel .side-title{margin-bottom:12px}
#creativePanel h2{margin-top:8px;letter-spacing:.05em}
#creativePanel .stats dt,#creativePanel .stats dd{line-height:1.5}


/* The Creative Zone now holds multiple handcrafted, selectable review models. */
.creative-asset-card{cursor:pointer}
.creative-asset-card.active{background:linear-gradient(135deg,#174b60,#153047);border-color:#74eaff}
#creativeAdvantage{max-width:53%;color:#a1e7ff}
