:root{--ink:#27222b;--dark:#281f2d;--plum:#514052;--muted:#837b7e;--paper:#f5f3ee;--panel:#fffefa;--line:#e7e2db;--ochre:#b88d53;--sand:#e8d7b5;--good:#547c65;--sans:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--display:'Manrope',system-ui,sans-serif}
*{box-sizing:border-box}html{scroll-behaviour:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ad89b6;outline-offset:3px}button:disabled{opacity:.42;cursor:not-allowed}#app{min-height:100vh}.topbar{height:79px;background:var(--dark);color:white;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,3.4vw,60px);gap:16px}.brand{display:flex;gap:13px;align-items:center}.brand-emblem{height:36px;width:36px;border:1px solid #ac947e;display:grid;place-items:center;border-radius:50%;color:#e4c599;font-size:25px}.brand strong{font:800 17px/1 var(--display);letter-spacing:.17em;display:block}.brand small{display:block;font-size:8px;letter-spacing:.23em;color:#cbbdc7;margin-top:7px}.topbar-middle{display:flex;align-items:center;gap:14px;color:#c8bbc6;font-size:9px;letter-spacing:.25em;font-weight:700;white-space:nowrap}.top-stroke{height:1px;width:45px;background:#665469}.mid-dot{color:#b69d75;padding:0 3px}.top-actions{display:flex;align-items:center;gap:10px;color:#dbc4ad;font-size:9px;font-weight:700;letter-spacing:.14em}.status-dot{height:6px;width:6px;background:#a8c69c;border-radius:50%;box-shadow:0 0 0 4px #8fbd8730}.quiet-action{border:1px solid #66576b;background:transparent;color:white;font-weight:700;font-size:10px;letter-spacing:.1em;padding:11px 14px;margin-left:13px;transition:background .2s}.quiet-action:hover{background:#47364a}.editorial-strip{height:37px;display:flex;gap:16px;align-items:center;border-bottom:1px solid var(--line);padding:0 clamp(18px,3.4vw,60px);font-size:9px;color:#81777f;letter-spacing:.16em;font-weight:700}.editorial-strip .smallcaps{color:#a18058}.strip-separator{opacity:.35}.strip-grow{flex:1}.strip-seed{opacity:.68}.hero{padding:26px clamp(18px,3.4vw,60px) 30px;display:flex;justify-content:space-between;gap:24px;align-items:end}.eyebrow{font-size:10px;color:#9f7c52;letter-spacing:.22em;font-weight:800;margin-bottom:8px}.eyebrow-tick{display:inline-block;width:19px;height:1px;background:#b28b5b;vertical-align:middle;margin-right:10px}.hero h1{font:700 clamp(28px,2.8vw,43px)/1.2 var(--display);letter-spacing:-.052em;margin:0}.hero h1 em{font-style:normal;color:#98764e;font-weight:500}.hero p{font-size:12.5px;color:#847c7d;margin:10px 0 0;max-width:670px;line-height:1.6}.hero-counter{min-width:160px;text-align:right}.hero-counter strong{font:800 39px/1 var(--display);letter-spacing:-.09em;display:block}.hero-slash{font-size:17px;font-weight:500;color:#b7adb2;letter-spacing:0}.hero-counter>span{font-size:9px;font-weight:800;color:#8c8289;letter-spacing:.16em;display:block;margin-top:6px}.hero-progress-line{margin-top:12px;height:3px;background:#e5ddd3}.hero-progress-line i{height:100%;display:block;width:14%;background:#9f7b55;transition:width .3s}.workbench-grid{display:grid;grid-template-columns:minmax(280px,307px) minmax(360px,1fr) minmax(290px,317px);align-items:stretch;gap:12px;padding:0 clamp(16px,3.4vw,60px);max-width:1880px;margin:0 auto}.panel{background:var(--panel);border:1px solid var(--line);min-width:0;padding:22px 22px 20px}.panel-heading{display:flex;justify-content:space-between;gap:10px;align-items:start;margin-bottom:27px}.section-index{font-size:9px;letter-spacing:.2em;color:#9d855f;font-weight:800}.panel h2{font:700 17px/1.25 var(--display);letter-spacing:-.04em;margin:7px 0 0}.heading-glyph{font-size:22px;color:#b9a694}.control-group{margin-bottom:22px}.control-label{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:12px;font-weight:700;color:#4c434c}.control-label output{font-size:11px;color:#aa7d48;white-space:nowrap}.control-hint{font-size:10px;color:#99908e;line-height:1.55;margin:10px 0 0}.scale{display:flex;justify-content:space-between;color:#b8afb0;font-size:8px;font-weight:800;letter-spacing:.12em;margin-top:5px}.control-group input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:4px;border-radius:3px;background:linear-gradient(to right,#9b7150 50%,#e4dfd8 50%);margin:18px 0 0;cursor:pointer}.control-group input[type=range]::-webkit-slider-thumb{appearance:none;width:14px;height:14px;border-radius:50%;background:#fff;border:4px solid #9c7652;box-shadow:0 0 0 2px white,0 1px 3px #0002}.control-group input[type=range]::-moz-range-thumb{width:8px;height:8px;border:4px solid #9c7652;background:white;border-radius:50%}.minor-rule{height:1px;background:var(--line);margin:24px 0 21px}.little-tag{color:#ada5a3;font-size:8px;letter-spacing:.07em;font-weight:600}.selector-group{margin-bottom:22px}.motif-picks{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:13px}.motif{border:1px solid #ebe6df;background:#faf8f4;min-height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;font-size:9px;color:#81757b;padding:8px 3px}.motif.active{background:#f5eee5;border-color:#b49369;box-shadow:inset 0 0 0 1px #b4936944;color:#473a3c;font-weight:800}.motif-icon{width:47px;height:23px;display:block;position:relative;opacity:.85;background-size:16px 10px}.motif-chevron{background-image:linear-gradient(145deg,transparent 43%,#6a5964 44%,#6a5964 55%,transparent 56%),linear-gradient(35deg,transparent 43%,#6a5964 44%,#6a5964 55%,transparent 56%);background-position:0 0,8px 0}.motif-step{background:repeating-linear-gradient(90deg,#79616b 0 7px,transparent 7px 12px);clip-path:polygon(0 80%,26% 80%,26% 50%,51% 50%,51% 20%,100% 20%,100% 40%,67% 40%,67% 70%,44% 70%,44% 98%,0 98%)}.motif-band{background:repeating-linear-gradient(0deg,transparent 0 4px,#79616b 4px 7px,transparent 7px 11px)}.dye-picks{display:flex;gap:6px;margin-top:13px;flex-wrap:wrap}.dye{padding:9px 7px;flex:1 1 auto;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #e7e0db;background:#fbf9f5;color:#796f73;font-size:10px}.dye i{width:11px;height:11px;background:var(--dye);display:inline-block;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #aaa1a0}.dye.active{color:#3c2d36;background:#f5ede4;border-color:#b49369;font-weight:700}select{width:100%;appearance:none;background:#f9f7f2;border:1px solid #e5ddd4;border-radius:0;padding:12px 30px 12px 12px;color:#594d57;font-size:11px;margin-top:11px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23756877' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat}.action-area{margin-top:-4px}.primary-action{background:#322536;color:#fff;border:0;min-height:48px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;width:100%;font-size:11px;font-weight:800;letter-spacing:.14em;transition:background .2s}.primary-action:hover{background:#5d4261}.action-icon{font-size:23px;color:#d0b186}.action-line{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:7px}.secondary-action{padding:13px 7px;border:1px solid #ded6cf;background:#fbf9f6;color:#514653;font-size:10px;font-weight:800;letter-spacing:.05em}.secondary-action:hover{background:#f3ece5}.secondary-action.running{background:#e9dfed;color:#542f61;border-color:#b6a1ba}.text-action{background:transparent;border:0;display:block;margin:14px auto 0;color:#8b7977;font-size:10px;text-decoration:underline;text-underline-offset:3px}.visual-panel{min-width:0;position:relative;background:#e9e2d3;border:1px solid #e7ded2;overflow:hidden;isolation:isolate;min-height:710px}.scene-mount{position:absolute;inset:0;background:radial-gradient(ellipse at 47% 48%,#e9dfce 0%,#d9cbb7 65%,#c5b49d 100%)}canvas{display:block;width:100%;height:100%;touch-action:none}.scene-loading{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#6e5760;background:#e6dccc}.scene-loading .loader-mark{font-size:50px;color:#ba9269;animation:spin 6s linear infinite}.scene-loading strong{font:800 16px var(--display)}.scene-loading small{color:#9b8b7c;font-size:11px}@keyframes spin{to{transform:rotate(360deg)}}.scene-hud-top{position:absolute;top:20px;left:20px;right:20px;display:flex;justify-content:space-between;z-index:1;pointer-events:none}.scene-plate{background:#fcf9f5dd;padding:11px 13px;display:flex;flex-direction:column;gap:4px;box-shadow:0 6px 22px #4f3f3512}.scene-plate-label{font-size:8px;color:#aa8356;font-weight:900;letter-spacing:.18em}.scene-plate-name{font-size:9px;color:#5d4c50;font-weight:900;letter-spacing:.13em}.scene-utility{pointer-events:auto;width:37px;height:37px;border:1px solid #ffffff99;color:#4d4249;background:#fcf9f5cf;font-size:23px}.scene-side-rail{position:absolute;right:18px;top:34%;display:flex;flex-direction:column;gap:5px;z-index:2}.view{padding:11px 9px;border:1px solid #fff9;background:#f9f3e7b9;color:#685c59;font-size:8px;font-weight:800;letter-spacing:.12em;min-width:60px}.view.active{color:#fff;background:#453344;border-color:#453344}.view:hover{background:#72586f;color:white}.scene-stage-label{position:absolute;left:20px;top:84px;display:flex;align-items:center;gap:9px;background:#2f2833d9;color:#f6eee3;padding:11px 12px;font-size:9px;font-weight:800;letter-spacing:.09em;z-index:1}.live-pulse{background:#9dcc9f;width:6px;height:6px;border-radius:50%;box-shadow:0 0 0 3px #8cb28a33}.stage-dash{opacity:.5}.scene-overlay-bottom{position:absolute;left:18px;right:18px;bottom:18px;display:flex;align-items:end;justify-content:space-between;gap:15px;z-index:2}.view-toggles{display:flex;gap:6px;flex-wrap:wrap}.chip-btn{background:#fffcf5ed;border:1px solid #fff;color:#5b4a50;padding:10px;font-size:9px;font-weight:800;letter-spacing:.06em}.chip-btn.active{background:#433545;color:white}.scene-tip{padding:10px;background:#fffcf4cc;font-size:8px;font-weight:800;color:#7e7270;letter-spacing:.12em;text-align:right}.scene-tip span{padding:0 3px;color:#b79c79}.scene-message{position:absolute;left:50%;top:23%;transform:translateX(-50%);z-index:4;background:#302537ea;color:#ffefe0;font-size:12px;padding:12px 17px;opacity:0;pointer-events:none;transition:opacity .28s;text-align:center;max-width:83%}.scene-message.visible{opacity:1}.scene-failure{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;width:82%;background:#fff8f1;padding:22px;box-shadow:0 9px 35px #0002;color:#5d3446}.scene-failure[hidden]{display:none}.scene-failure p{font-size:12px;line-height:1.6}.panel-findings{display:flex;flex-direction:column}.panel-findings .panel-heading{margin-bottom:18px}.score-block{background:#f7f4ee;padding:17px 15px 14px}.score-main{display:flex;justify-content:space-between;align-items:flex-end;gap:9px}.score-main>div>span{display:block;font-weight:800;letter-spacing:.12em;color:#9d8880;font-size:9px}.score-main strong{font:800 47px/1.2 var(--display);letter-spacing:-.09em}.score-main strong span{font-size:16px;color:#b7aca9;letter-spacing:0;font-weight:500}.score-status{border:1px solid #c7b79e;color:#987b57;font-size:8px;font-weight:800;letter-spacing:.1em;padding:8px 6px;white-space:nowrap}.grade-bar{height:4px;background:#e1d9cf;margin:13px 0 10px}.grade-bar i{display:block;height:100%;background:#aa8359;width:97%;transition:width .25s}.score-caption{margin:0;color:#928780;font-size:10px;line-height:1.55}.metric-list{margin:24px 0 20px}.metric-row{display:flex;align-items:center;justify-content:space-between;gap:7px;color:#786e70;font-size:11px;margin-bottom:8px}.metric-row strong{font-size:12px;color:#392d37}.mini-info{background:none;border:0;color:#b1a49e;font-size:12px;padding:0 3px}.mini-bar{height:3px;background:#eee9e2;margin-bottom:17px}.mini-bar i{display:block;height:100%;background:#9d8265;width:0;transition:width .25s}.stat-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-left:1px solid var(--line);margin-top:3px}.stat-grid>div{padding:13px 12px;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}.stat-grid span{display:block;color:#9a8e8c;font-size:8px;font-weight:800;letter-spacing:.12em}.stat-grid strong{display:block;font:750 17px var(--display);margin-top:6px;color:#453844}.objective-card{background:#302535;color:#fbf8f1;padding:20px 16px 15px;margin-top:19px}.objective-title{font-size:9px;letter-spacing:.12em;font-weight:800;color:#e0c8a8;display:flex;align-items:center;gap:8px}.objective-dot{font-size:16px}.objective-card p{font-size:11px;line-height:1.65;color:#dbd2db;margin:12px 0}.objective-card p strong{color:#fff;font-weight:800}.objective-progress{font-size:10px;display:flex;justify-content:space-between;color:#f1e5d9;gap:8px;margin-top:20px}.objective-track{height:3px;background:#756371;margin:10px 0}.objective-track i{background:#d8b580;display:block;height:100%;width:14%}.objective-card .objective-feedback{color:#c9b1c0;font-size:10px;margin:11px 0 0}.record-actions{margin-top:17px}.export-btn{font-size:10px;font-weight:800;letter-spacing:.1em;color:#655366;background:#fff;border:1px solid #ded7d2;width:100%;padding:14px 7px}.export-btn:hover{background:#f2e9ed}.aside-footnote{color:#a39a9a;font-size:9.4px;line-height:1.6;margin-top:14px}.footer{display:flex;justify-content:space-between;gap:45px;align-items:center;padding:28px clamp(18px,3.4vw,60px) 38px;max-width:1880px;margin:auto}.footer>div:first-child{max-width:750px}.footer-heading{font-size:10px;font-weight:900;letter-spacing:.18em;color:#ae906f}.footer p{font-size:11px;color:#8d8383;line-height:1.7;margin:8px 0 0}.footer-end{text-align:right;white-space:nowrap}.footer-end>span{display:block;font-size:9px;letter-spacing:.12em;color:#aaa0a0;font-weight:700}.footer-end strong{font:800 14px var(--display);display:block;margin-top:12px}.footer-end strong span{color:#a59a9d;font-size:10px;font-weight:500}dialog{width:min(765px,calc(100% - 26px));max-height:min(88vh,900px);overflow-y:auto;border:none;padding:30px 33px;background:#fffdfa;color:#332735;box-shadow:0 24px 90px #1d142c66}dialog::backdrop{background:#191421aa;backdrop-filter:blur(6px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;color:#a38358;font-weight:900;letter-spacing:.14em;font-size:10px}.dialog-head button{border:1px solid #ddd4c9;color:#3b3040;background:#fff;min-width:32px;min-height:32px}dialog h2{font:800 28px/1.2 var(--display);letter-spacing:-.045em;margin:20px 0 12px}dialog>p{font-size:13px;color:#807780;line-height:1.7}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.guide-grid article{background:#f8f5ee;padding:19px}.guide-grid article>span{font-size:10px;color:#b0875e;font-weight:900}.guide-grid h3{font:800 15px var(--display);margin:7px 0}.guide-grid p{font-size:11px;color:#827980;line-height:1.65;margin:0}.guide-sources{border-block:1px solid #e6e0d6;padding:15px 0;margin:15px 0 20px;display:grid;gap:9px}.guide-sources strong{font-size:9px;letter-spacing:.13em;color:#a17a56}.guide-sources a{color:#54445a;font-size:11px;line-height:1.4}dialog .primary-action{max-width:340px}.fatal{padding:20px;background:#f9e0dd;color:#832c2c;text-align:center}@media(min-width:1560px){.workbench-grid{grid-template-columns:330px minmax(500px,1fr) 340px}.visual-panel{min-height:760px}.panel{padding:26px}}@media(max-width:1160px){.topbar-middle{display:none}.workbench-grid{grid-template-columns:285px minmax(280px,1fr);gap:11px}.panel-findings{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;column-gap:26px}.panel-findings .panel-heading{grid-column:1/-1}.panel-findings .metric-list{margin-top:0}.panel-findings .score-block,.panel-findings .metric-list,.panel-findings .stat-grid{align-self:start}.panel-findings .objective-card{grid-column:1;grid-row:3;margin-top:20px}.panel-findings .record-actions,.panel-findings .aside-footnote{grid-column:2}.panel-findings .record-actions{grid-row:3;align-self:start;margin-top:20px}.panel-findings .aside-footnote{grid-row:3;align-self:end;margin-bottom:0;padding-bottom:6px}.visual-panel{min-height:700px}.scene-tip{display:none}}@media(max-width:740px){.topbar{height:65px;padding:0 16px}.brand strong{font-size:14px}.brand small{font-size:7px}.brand-emblem{width:32px;height:32px}.status-word,.quiet-action span{display:none}.quiet-action{margin-left:2px;padding:8px 12px;font-size:14px}.editorial-strip{padding:0 17px;font-size:8px;gap:10px}.strip-seed{display:none}.hero{padding:23px 17px;align-items:start}.hero h1{font-size:29px}.hero p{font-size:12px}.hero-counter{min-width:80px;padding-top:29px}.hero-counter strong{font-size:26px}.hero-slash{font-size:12px}.hero-counter>span{font-size:7px}.workbench-grid{grid-template-columns:1fr;padding:0 11px}.visual-panel{grid-row:1;min-height:580px}.panel-controls{grid-row:2}.panel-findings{grid-row:3;display:block}.panel{padding:21px 20px}.panel-findings .metric-list{margin-top:24px}.panel-findings .record-actions{margin-top:15px}.footer{padding:26px 17px;display:block}.footer-end{text-align:left;margin-top:25px}.scene-side-rail{top:35%;right:10px}.scene-hud-top{top:12px;left:12px;right:12px}.scene-stage-label{top:71px;left:12px}.scene-overlay-bottom{left:10px;right:10px;bottom:10px}.scene-tip{display:none}.chip-btn{font-size:8px;padding:9px}.view{min-width:50px;padding:10px 5px;font-size:8px}.hero-counter .hero-progress-line{margin-top:10px}.guide-grid{grid-template-columns:1fr}dialog{padding:19px}}@media(max-width:430px){.visual-panel{min-height:500px}.hero h1{font-size:24px}.hero-counter{min-width:72px}.hero-counter strong{font-size:24px}.hero p{max-width:270px}.scene-stage-label{font-size:8px}.scene-plate-name{font-size:8px}.chip-btn{font-size:8px}.scene-side-rail{right:7px}.footer p{max-width:100%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
