/* /App.razor.rz.scp.css */
.app-runtime-shell[b-klbhry3v4r] {
    height: 100dvh;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 50%) minmax(0, 50%);
    overflow: hidden;
    background: #121417;
}

.app-route-host[b-klbhry3v4r] {
    min-height: 0;
    overflow: hidden;
}

.app-runtime-shell--study[b-klbhry3v4r] {
    grid-template-rows: minmax(0, 1fr);
}

.app-runtime-shell[b-klbhry3v4r]  .scene-viewport {
    min-height: 0;
}
/* /Components/GrammarGeneratorWorkbench.razor.rz.scp.css */
.grammar-generator[b-a6z2nnxylk]{padding:.75rem;color:#dce7f0;background:#12171c;border:1px solid #303b43;border-radius:.55rem}
.grammar-generator>header[b-a6z2nnxylk]{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:.65rem}
h2[b-a6z2nnxylk]{margin:0;color:#fff;font-size:1.25rem} header p[b-a6z2nnxylk]{display:inline;margin-left:.7rem;color:#9db1c2;font-size:.86rem}
.generator-count[b-a6z2nnxylk]{color:#a8dc72;font-size:.78rem;white-space:nowrap}
.cluster-picker[b-a6z2nnxylk]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin-bottom:.65rem}.cluster-picker button[b-a6z2nnxylk]{display:grid;gap:.1rem;padding:.5rem .65rem;text-align:left;background:#202821;color:#bce58f;border:1px solid #3b483d;border-radius:.45rem}.cluster-picker button.on[b-a6z2nnxylk]{background:#679c25;color:#fff;border-color:#9de354}.cluster-picker b[b-a6z2nnxylk]{font-size:.9rem}.cluster-picker small[b-a6z2nnxylk]{font-size:.7rem;opacity:.8}
.generator-grid[b-a6z2nnxylk]{display:grid;grid-template-columns:1.15fr 1.5fr 1.15fr 1.15fr;gap:.6rem}
.generator-grid>div[b-a6z2nnxylk]{min-width:0;padding:.65rem;background:#171d23;border:1px solid #303b43;border-radius:.45rem}
label[b-a6z2nnxylk],.label[b-a6z2nnxylk]{display:grid;gap:.3rem;color:#a8dc72;font-weight:700} select[b-a6z2nnxylk]{width:100%;padding:.45rem;background:#202a32;color:#fff;border:1px solid #43515b;border-radius:.35rem}
.meaning[b-a6z2nnxylk]{min-height:2.7rem;color:#c2ced7;font-size:.86rem}.generator-grid dl[b-a6z2nnxylk]{display:grid;grid-template-columns:max-content 1fr;gap:.25rem .55rem;margin:.5rem 0 0;font-size:.78rem}.generator-grid dt[b-a6z2nnxylk]{color:#8ea3b2}.generator-grid dd[b-a6z2nnxylk]{margin:0;color:#eef5f8}
.base-rule[b-a6z2nnxylk]{margin:.15rem 0 .45rem;padding:.3rem .4rem;border-left:2px solid #8fc63f;color:#a8b8c3;font-size:.72rem;background:#13191e}
.variant-buttons[b-a6z2nnxylk]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.3rem;margin:.4rem 0}.variant-buttons button[b-a6z2nnxylk]{display:grid;padding:.4rem .25rem;background:#242d25;color:#bce58f;border:1px solid #3c4a3d;border-radius:.35rem}.variant-buttons button.on[b-a6z2nnxylk]{background:#679c25;color:#fff;border-color:#9de354}.variant-buttons small[b-a6z2nnxylk]{font-size:.64rem;white-space:nowrap}
.variant-actions[b-a6z2nnxylk]{display:flex;gap:.35rem;flex-wrap:wrap}.variant-actions button[b-a6z2nnxylk]{padding:.42rem .55rem;border:0;border-radius:.35rem;background:#2a352c;color:#c9ef9d;font-weight:700}.variant-actions .primary[b-a6z2nnxylk]{background:#6ca329;color:#fff}.variant-actions .reject[b-a6z2nnxylk]{color:#ffc2b9}.variant-actions button:disabled[b-a6z2nnxylk]{opacity:.38}
.generator-controls code[b-a6z2nnxylk]{font-size:.68rem;overflow-wrap:anywhere}.generator-verification[b-a6z2nnxylk]{border-left:3px solid #d59b3d!important}.generator-verification.pass[b-a6z2nnxylk]{border-left-color:#82c943!important}.generator-verification strong[b-a6z2nnxylk]{color:#fff}.generator-verification p[b-a6z2nnxylk]{font-size:.78rem;color:#aebdca}.generator-verification .diagnostic[b-a6z2nnxylk]{color:#ffb7a9}
@media(max-width:1000px){.generator-grid[b-a6z2nnxylk]{grid-template-columns:1fr 1fr}}@media(max-width:650px){.cluster-picker[b-a6z2nnxylk]{grid-template-columns:1fr}.generator-grid[b-a6z2nnxylk]{grid-template-columns:1fr}.variant-buttons[b-a6z2nnxylk]{grid-template-columns:repeat(3,1fr)}}
/* /Components/LandscapeReliefWorkbench.razor.rz.scp.css */
.landscape-relief[b-0ngmwxez6z] {
    display: grid;
    gap: .75rem;
    padding: .7rem;
}

.landscape-relief__header[b-0ngmwxez6z] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem;
    border: 1px solid #343b43;
    border-radius: .55rem;
    background: linear-gradient(135deg, #1b211d, #15191d);
}

.landscape-relief__header h2[b-0ngmwxez6z] { margin: .1rem 0 .25rem; color: #e7efdc; }
.landscape-relief__header p[b-0ngmwxez6z] { max-width: 48rem; margin: 0; color: #9ca9a1; }
.landscape-relief__eyebrow[b-0ngmwxez6z] { color: #9fbd6c; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }

.landscape-relief__terrain-state[b-0ngmwxez6z] {
    min-width: 10rem;
    display: grid;
    align-content: center;
    gap: .1rem;
    padding: .55rem .7rem;
    border: 1px solid #43503c;
    border-radius: .45rem;
    background: #20271f;
}

.landscape-relief__terrain-state span[b-0ngmwxez6z],
.landscape-relief__terrain-state small[b-0ngmwxez6z] { color: #8f9b94; }

.landscape-relief__pipeline[b-0ngmwxez6z] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.landscape-relief__pipeline li[b-0ngmwxez6z] {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-height: 2.8rem;
    padding: .45rem .6rem;
    border: 1px solid #343d37;
    border-radius: .4rem;
    background: #1d231f;
    color: #b7c2bb;
}

.landscape-relief__pipeline b[b-0ngmwxez6z] {
    display: grid;
    width: 1.45rem;
    height: 1.45rem;
    place-items: center;
    border-radius: 50%;
    background: #5f8f26;
    color: #fff;
}

.landscape-relief__grid[b-0ngmwxez6z] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.landscape-relief__card[b-0ngmwxez6z] {
    display: grid;
    align-content: start;
    gap: .55rem;
    min-width: 0;
    padding: .75rem;
    border: 1px solid #343b43;
    border-radius: .5rem;
    background: #181d21;
}

.landscape-relief__card label[b-0ngmwxez6z] { display: grid; gap: .25rem; color: #aab5ae; }
.landscape-relief__card textarea[b-0ngmwxez6z] { min-height: 5rem; resize: vertical; }

.landscape-relief__card-title[b-0ngmwxez6z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    color: #e1e8e3;
    font-weight: 700;
}

.landscape-relief__status[b-0ngmwxez6z] {
    padding: .2rem .4rem;
    border: 1px solid #45523f;
    border-radius: 999px;
    background: #222a21;
    color: #a9bc97;
    font-size: .62rem;
    font-weight: 600;
}

.landscape-relief__facts[b-0ngmwxez6z] { display: grid; gap: .35rem; margin: 0; }
.landscape-relief__facts div[b-0ngmwxez6z] { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .3rem; border-bottom: 1px solid #2c3338; }
.landscape-relief__facts dt[b-0ngmwxez6z] { color: #8f9b94; }
.landscape-relief__facts dd[b-0ngmwxez6z] { margin: 0; color: #d7ded9; }
.landscape-relief__pending[b-0ngmwxez6z] { margin: 0; color: #8f9b94; font-size: .76rem; line-height: 1.45; }

.landscape-relief__diagnostic[b-0ngmwxez6z] {
    margin: 0;
    padding: .4rem .5rem;
    border-left: 3px solid #76856f;
    background: #202621;
    color: #b9c2bc;
    font-size: .72rem;
}

.landscape-relief__diagnostic.warning[b-0ngmwxez6z] { border-left-color: #c18e42; }
.landscape-relief__diagnostic.error[b-0ngmwxez6z] { border-left-color: #bd5b55; }

.landscape-relief__code[b-0ngmwxez6z] {
    min-height: 5rem;
    margin: 0;
    padding: .6rem;
    overflow: auto;
    border: 1px solid #2e3831;
    border-radius: .35rem;
    background: #111512;
    color: #b8cf9f;
}

.landscape-relief__advanced[b-0ngmwxez6z] {
    padding: .65rem .75rem;
    border: 1px solid #343b43;
    border-radius: .45rem;
    background: #181d21;
}

.landscape-relief__advanced summary[b-0ngmwxez6z] { cursor: pointer; color: #dbe4dd; font-weight: 700; }
.landscape-relief__advanced summary span[b-0ngmwxez6z] { color: #d4a85f; font-size: .68rem; text-transform: uppercase; }
.landscape-relief__advanced p[b-0ngmwxez6z] { color: #8f9b94; }
.landscape-relief__debug-toggle[b-0ngmwxez6z] { display: flex; align-items: center; gap: .45rem; margin-bottom: .6rem; color: #d4a85f; }
.landscape-relief__advanced-grid[b-0ngmwxez6z] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
.landscape-relief__advanced-grid label[b-0ngmwxez6z] { display: grid; gap: .25rem; color: #89948f; }

.landscape-relief__actions[b-0ngmwxez6z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: #8f9b94;
    font-size: .74rem;
}

@media (max-width: 900px) {
    .landscape-relief__pipeline[b-0ngmwxez6z],
    .landscape-relief__advanced-grid[b-0ngmwxez6z] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .landscape-relief__header[b-0ngmwxez6z],
    .landscape-relief__actions[b-0ngmwxez6z] { align-items: stretch; flex-direction: column; }
    .landscape-relief__grid[b-0ngmwxez6z],
    .landscape-relief__pipeline[b-0ngmwxez6z],
    .landscape-relief__advanced-grid[b-0ngmwxez6z] { grid-template-columns: 1fr; }
}
/* /Components/SharedSceneViewport.razor.rz.scp.css */
.scene-viewport[b-z8mxp010j1] {
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    border-top: 1px solid #30363d;
    background: #0f1215;
}

.scene-viewport-toolbar[b-z8mxp010j1] {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .28rem .7rem;
    background: #111519;
}

.viewport-icons[b-z8mxp010j1] { display: flex; gap: .28rem; }
.viewport-icons button[b-z8mxp010j1] {
    min-width: 34px;
    height: 29px;
    border: 1px solid #354036;
    border-radius: 6px;
    background: #252d25;
    color: #bdd39a;
    cursor: pointer;
    font-weight: 700;
}
.viewport-icons button.on[b-z8mxp010j1] { border-color: #8fc63f; background: #639329; color: white; }
.renderer-backends button[b-z8mxp010j1] {
    min-width: 29px;
    font-size: .66rem;
}
.fixed-lens-modes[b-z8mxp010j1] {
    display: flex;
    align-items: center;
    gap: .2rem;
    padding: .16rem;
    border: 1px solid #354036;
    border-radius: 6px;
    background: #182018;
}
.fixed-lens-modes button[b-z8mxp010j1] {
    height: 24px;
    padding: 0 .42rem;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #9eafa0;
    cursor: pointer;
    font-size: .58rem;
    font-weight: 700;
    white-space: nowrap;
}
.fixed-lens-modes button:hover[b-z8mxp010j1] { color: white; background: #2b3529; }
.fixed-lens-modes button.on[b-z8mxp010j1] { color: white; background: #639329; }
.toolbar-action[b-z8mxp010j1] {
    min-width: 34px;
    height: 29px;
    padding: 0 .45rem;
    border: 1px solid #354036;
    border-radius: 6px;
    background: #252d25;
    color: #bdd39a;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
}
.toolbar-action:hover[b-z8mxp010j1] { border-color: #8fc63f; color: white; }
.toolbar-action.on[b-z8mxp010j1] { border-color: #e0aa4a; background: #59451f; color: white; }
.divider[b-z8mxp010j1] { width: 1px; height: 23px; background: #3a4148; }
.viewport-context[b-z8mxp010j1] { margin-left: .25rem; color: #8f9a93; font-size: .68rem; }
.viewport-fps[b-z8mxp010j1] { margin-left: auto; color: #b8c4bc; font-size: .7rem; white-space: nowrap; }
.viewport-trace[b-z8mxp010j1] { color: #d2a85d; font-size: .62rem; white-space: nowrap; }
.scene-camera-report[b-z8mxp010j1] { padding: .15rem .75rem .28rem; color: #9ba8a0; background: #111519; font-size: .68rem; }
.scene-canvas-stage[b-z8mxp010j1] { min-height: 0; display: flex; align-items: stretch; justify-content: center; overflow: hidden; }
.scene-canvas-stage[b-z8mxp010j1]  .shared-terrain-viewport { height: 100%; }
.scene-canvas-stage[b-z8mxp010j1]  canvas { height: 100%; }

@media (max-width: 720px) {
    .fixed-lens-modes button[b-z8mxp010j1] { width: 25px; overflow: hidden; padding: 0 .3rem; }
}
/* /Components/SharedTerrainViewport.razor.rz.scp.css */
.shared-terrain-viewport[b-40xvoh2v5z] {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shared-terrain-viewport canvas[b-40xvoh2v5z] {
    display: block;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    touch-action: none;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-t66l9h3yjj] {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #121417;
}

.app-nav[b-t66l9h3yjj] {
    flex: 0 0 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    border-bottom: 1px solid #30363d;
    background: #0f1114;
    overflow-x: auto;
}

.app-nav nav[b-t66l9h3yjj] {
    display: flex;
    align-items: stretch;
    height: 100%;
    gap: 4px;
    flex: 0 0 auto;
}

.ui-language[b-t66l9h3yjj] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .25rem;
    padding-left: .45rem;
    color: #b7cf8f;
    font-size: .72rem;
}

.ui-language select[b-t66l9h3yjj] {
    height: 28px;
    border: 1px solid #354036;
    border-radius: 5px;
    background: #202620;
    color: #e6f2d7;
    font-size: .68rem;
    font-weight: 700;
}

.app-nav[b-t66l9h3yjj]  nav a {
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-bottom: 2px solid transparent;
    color: #9ea7b1;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
}

.app-nav[b-t66l9h3yjj]  nav a:hover {
    color: #d7dbe0;
    background: #171a1e;
}

.app-nav[b-t66l9h3yjj]  nav a.active {
    color: #b7cf8f;
    border-bottom-color: #6f9e2f;
}

.scene-workspace[b-t66l9h3yjj] {
    flex: 1 1 auto;
    min-height: 0;
    display: block;
    overflow: hidden;
}

.module-pane[b-t66l9h3yjj] {
    height: 100%;
    min-height: 0;
    overflow: auto;
}

.module-pane[b-t66l9h3yjj]  .lab { height: auto; min-height: 0; display: block; overflow: visible; }
.module-pane[b-t66l9h3yjj]  .lab > .controls { height: auto; min-height: 0; box-sizing: border-box; border-bottom: 0; }
.module-pane[b-t66l9h3yjj]  .lab > .preview { display: none; }
.module-pane[b-t66l9h3yjj]  .spline-lab { height: auto; min-height: 0; overflow: visible; }
.module-pane[b-t66l9h3yjj]  .spline-lab .adaptive-stage { display: block; height: auto; }
.module-pane[b-t66l9h3yjj]  .spline-lab .preview-card { display: none; }
.module-pane[b-t66l9h3yjj]  .biome-lab { height: auto; min-height: 0; display: block; overflow: visible; }
.module-pane[b-t66l9h3yjj]  .biome-tools { overflow: visible; border-bottom: 0; }
.module-pane[b-t66l9h3yjj]  .biome-preview { display: none; }

@media (max-width: 540px) {
    .app-nav[b-t66l9h3yjj] { padding: 0 4px; overflow-x: auto; }
    .app-nav[b-t66l9h3yjj]  nav a { padding: 0 8px; white-space: nowrap; }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-qeyjiqi513] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-qeyjiqi513] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-qeyjiqi513] {
    font-size: 1.1rem;
}

.bi[b-qeyjiqi513] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-qeyjiqi513] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-qeyjiqi513] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-qeyjiqi513] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-qeyjiqi513] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-qeyjiqi513] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-qeyjiqi513] {
        padding-bottom: 1rem;
    }

    .nav-item[b-qeyjiqi513]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-qeyjiqi513]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-qeyjiqi513]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-qeyjiqi513] {
        display: none;
    }

    .collapse[b-qeyjiqi513] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-qeyjiqi513] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/BiomeLab.razor.rz.scp.css */
.biome-lab[b-rigaq40444] {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    display: grid;
    grid-template-rows: minmax(0, 50dvh) minmax(0, 50dvh);
    background: #101512;
    color: #dce6dc;
}

.biome-tools[b-rigaq40444] {
    min-height: 0;
    overflow-y: auto;
    padding: .55rem .8rem;
    border-bottom: 1px solid #3a493e;
    background:
        radial-gradient(circle at 85% 0%, rgba(80, 114, 74, .18), transparent 34%),
        #172019;
}

.module-intro[b-rigaq40444] {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    min-width: 0;
}

h1[b-rigaq40444] { flex: 0 0 auto; margin: 0; font-size: 1.15rem; }
h2[b-rigaq40444] { margin: 0; font-size: .9rem; }
p[b-rigaq40444] { line-height: 1.4; }
.lead[b-rigaq40444] { min-width: 0; margin: 0; overflow: hidden; color: #9eaea0; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.eyebrow[b-rigaq40444] { margin: 0; color: #91c188; text-transform: uppercase; letter-spacing: .12em; font-size: .67rem; }

.biome-fold[b-rigaq40444] {
    margin-top: .45rem;
    border: 1px solid #3b4c40;
    border-radius: .5rem;
    background: rgba(13, 20, 15, .76);
}

.biome-fold > summary[b-rigaq40444] {
    padding: .48rem .65rem;
    cursor: pointer;
    color: #c9dea9;
    font-size: .78rem;
    font-weight: 700;
}

.biome-fold-body[b-rigaq40444] { padding: 0 .65rem .65rem; }

.ownership-grid[b-rigaq40444] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
}

.ownership-grid article[b-rigaq40444] {
    min-width: 0;
    padding: .7rem .8rem;
    border: 1px solid #3a493e;
    border-radius: .55rem;
    background: rgba(12, 18, 14, .58);
}

.ownership-grid article.owns[b-rigaq40444] { border-color: #55715b; }
.ownership-grid p[b-rigaq40444] { margin: .3rem 0 0; color: #aab9ab; font-size: .75rem; }

.descriptor-deck[b-rigaq40444] {
    display: grid;
    grid-template-columns: minmax(330px, .85fr) minmax(0, 1.65fr);
    gap: .8rem;
    margin-top: .65rem;
}

.descriptor-card[b-rigaq40444],
.tool-accordions details[b-rigaq40444] {
    border: 1px solid #3b4c40;
    border-radius: .6rem;
    background: rgba(13, 20, 15, .76);
}

.descriptor-card[b-rigaq40444] { padding: .85rem; }
.section-heading[b-rigaq40444] { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.section-heading h2[b-rigaq40444] { margin-top: .1rem; font-size: 1.05rem; }
.status[b-rigaq40444] { padding: .25rem .45rem; border-radius: 2rem; background: #294631; color: #bce4bd; font-size: .67rem; white-space: nowrap; }

.grammar-line[b-rigaq40444] {
    margin: .65rem 0;
    padding: .55rem .65rem;
    border-left: 3px solid #77a676;
    background: #111914;
    color: #dce8da;
    font-size: .78rem;
}

.grammar-line code[b-rigaq40444] { color: #9bcf93; }
label[b-rigaq40444] { display: grid; gap: .3rem; color: #c9d4ca; font-size: .74rem; }
select[b-rigaq40444] {
    width: 100%;
    min-width: 0;
    padding: .42rem .5rem;
    border: 1px solid #4a5d4e;
    border-radius: .35rem;
    background: #0c130e;
    color: #e3ece1;
}

.note[b-rigaq40444] { margin: .45rem 0 0; color: #91a092; font-size: .68rem; }
.resolved-grid[b-rigaq40444] { display: grid; grid-template-columns: 1fr 1fr; gap: .42rem; margin-top: .65rem; }
.resolved-grid div[b-rigaq40444] { min-width: 0; padding: .45rem .5rem; border-radius: .4rem; background: #18241b; }
.resolved-grid span[b-rigaq40444] { display: block; color: #8fa091; font-size: .62rem; text-transform: uppercase; letter-spacing: .05em; }
.resolved-grid code[b-rigaq40444] { display: block; overflow: hidden; margin-top: .18rem; color: #b8d9b2; font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }

.tool-accordions[b-rigaq40444] { display: grid; align-content: start; gap: .42rem; min-width: 0; }
.tool-accordions details[b-rigaq40444] { padding: .55rem .7rem; }
.tool-accordions summary[b-rigaq40444] { cursor: pointer; color: #dfe9de; font-size: .76rem; font-weight: 650; }
.tool-accordions details[open] summary[b-rigaq40444] { margin-bottom: .55rem; }
.tool-accordions > details > p[b-rigaq40444] { margin: .45rem 0 0; color: #9eaea0; font-size: .72rem; }

.layer-grid[b-rigaq40444] { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: .4rem; }
.layer-binding[b-rigaq40444] { display: grid; grid-template-columns: 7px minmax(0, 1fr); gap: .45rem; min-width: 0; padding: .45rem; border-radius: .4rem; background: #172019; }
.layer-binding > i[b-rigaq40444] { display: block; min-height: 100%; border-radius: 1rem; }
.layer-binding b[b-rigaq40444],
.layer-binding span[b-rigaq40444],
.layer-binding code[b-rigaq40444] { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.layer-binding b[b-rigaq40444] { font-size: .71rem; }
.layer-binding span[b-rigaq40444] { margin-top: .08rem; color: #9eaea0; font-size: .63rem; }
.layer-binding code[b-rigaq40444] { margin-top: .25rem; color: #accaa7; font-size: .61rem; }
.litter[b-rigaq40444] { background: #6a673d; }
.soil[b-rigaq40444] { background: #3f5a2b; }
.green[b-rigaq40444] { background: #24351f; }
.rock[b-rigaq40444] { background: #8b8871; }

.verification-controls[b-rigaq40444] { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(240px, 1.2fr); gap: .65rem; align-items: end; }
.toggle[b-rigaq40444] { grid-template-columns: auto 1fr; align-items: center; justify-content: start; padding-bottom: .45rem; }

.diagnostics[b-rigaq40444] { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.diagnostics article[b-rigaq40444] { min-width: 0; padding: .55rem; border-radius: .4rem; background: #151e17; }
.diagnostics h2[b-rigaq40444] { margin-bottom: .45rem; }
.diagnostics p[b-rigaq40444] { margin: .4rem 0 0; color: #aeb9ae; font-size: .66rem; }
.diagnostics code[b-rigaq40444],
.preview-bar code[b-rigaq40444] { color: #aad19d; }
.weight-row[b-rigaq40444] { display: grid; grid-template-columns: 72px 1fr 42px; align-items: center; gap: .4rem; margin: .22rem 0; font-size: .66rem; }
.weight-row > i[b-rigaq40444] { height: .45rem; overflow: hidden; border-radius: 1rem; background: #283029; }
.weight-row > i > b[b-rigaq40444] { display: block; height: 100%; }

.biome-preview[b-rigaq40444] {
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    background: #111713;
}

.preview-bar[b-rigaq40444] {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem 1rem;
    padding: .55rem 1rem;
    background: #0b100d;
    color: #9eada0;
    font-size: .7rem;
}

.interaction-hint[b-rigaq40444] { margin-left: auto; }
.biome-preview[b-rigaq40444]  .shared-terrain-viewport,
.biome-preview[b-rigaq40444]  .biome-shared-canvas {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    cursor: grab;
}
.biome-preview[b-rigaq40444]  .biome-shared-canvas:active { cursor: grabbing; }
.error[b-rigaq40444] { position: absolute; right: 1rem; bottom: 1rem; max-width: 60vw; margin: 0; padding: .8rem; background: #4a1d1d; color: #ffdede; white-space: pre-wrap; }

@media (max-width: 900px) {
    .descriptor-deck[b-rigaq40444] { grid-template-columns: 1fr; }
    .ownership-grid[b-rigaq40444] { grid-template-columns: 1fr 1fr; }
    .layer-grid[b-rigaq40444] { grid-template-columns: 1fr 1fr; }
    .interaction-hint[b-rigaq40444] { margin-left: 0; }
}

@media (max-width: 560px) {
    .biome-tools[b-rigaq40444] { padding: .8rem; }
    .ownership-grid[b-rigaq40444],
    .resolved-grid[b-rigaq40444],
    .verification-controls[b-rigaq40444],
    .diagnostics[b-rigaq40444] { grid-template-columns: 1fr; }
}
/* /Pages/Diagnostics.razor.rz.scp.css */
.diagnostics-page[b-xiso3pbylc] {
    min-height: 100%;
    padding: 14px 18px 28px;
    color: #dce8f4;
    background: #101418;
    overflow: auto;
}

.diagnostics-header[b-xiso3pbylc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 10px;
}

.diagnostics-header h1[b-xiso3pbylc] { margin: 0; font-size: 1.55rem; }
.diagnostics-header p[b-xiso3pbylc] { margin: 3px 0 0; color: #9db0c4; }
.diagnostics-actions[b-xiso3pbylc] { display: flex; gap: 8px; flex-wrap: wrap; }
.diagnostics-actions button[b-xiso3pbylc] {
    border: 1px solid #4d672f;
    border-radius: 7px;
    padding: 7px 12px;
    color: #d9f5b8;
    background: #263321;
    font-weight: 700;
}
.diagnostics-actions button.danger[b-xiso3pbylc] { border-color: #743f3f; color: #ffd2d2; background: #3b2020; }

.build-note[b-xiso3pbylc], .alert-panel[b-xiso3pbylc], .trace-panel[b-xiso3pbylc], .log-panel[b-xiso3pbylc], .diagnostics-grid article[b-xiso3pbylc] {
    border: 1px solid #303a43;
    border-radius: 8px;
    background: #151b20;
}
.build-note[b-xiso3pbylc] { margin: 0 0 12px; padding: 10px 12px; color: #b9c9d8; }
.diagnostics-grid[b-xiso3pbylc] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.diagnostics-grid article[b-xiso3pbylc] { padding: 10px 12px; min-width: 0; }
.diagnostics-grid h2[b-xiso3pbylc], .log-panel h2[b-xiso3pbylc], .alert-panel h2[b-xiso3pbylc] { margin: 0 0 8px; font-size: 1rem; color: #bce879; }
.diagnostics-grid dl[b-xiso3pbylc] { display: grid; grid-template-columns: 130px minmax(0, 1fr); margin: 0; gap: 5px 10px; }
.diagnostics-grid dt[b-xiso3pbylc] { color: #8ca0b3; }
.diagnostics-grid dd[b-xiso3pbylc] { margin: 0; overflow-wrap: anywhere; font-family: Consolas, monospace; }

.log-panel[b-xiso3pbylc], .alert-panel[b-xiso3pbylc], .trace-panel[b-xiso3pbylc] { margin-top: 10px; padding: 10px 12px; }
.log-panel h2 span[b-xiso3pbylc] { color: #8ca0b3; font-weight: 400; }
.log-entry[b-xiso3pbylc] { border-top: 1px solid #2b343c; }
.log-entry summary[b-xiso3pbylc] { padding: 8px 4px; cursor: pointer; overflow-wrap: anywhere; }
.log-entry time[b-xiso3pbylc] { color: #8ca0b3; font-family: Consolas, monospace; }
.log-entry.warning strong[b-xiso3pbylc] { color: #ffd66b; }
.log-entry.error strong[b-xiso3pbylc] { color: #ff8585; }
pre[b-xiso3pbylc] { margin: 5px 0; padding: 9px; max-height: 280px; overflow: auto; white-space: pre-wrap; color: #cad8e5; background: #0b0f12; }
.empty[b-xiso3pbylc] { margin: 7px 0; color: #8698aa; }
.action-message[b-xiso3pbylc] { position: fixed; right: 16px; bottom: 16px; padding: 8px 12px; border-radius: 6px; background: #638f22; color: white; }

@media (max-width: 760px) {
    .diagnostics-header[b-xiso3pbylc] { align-items: flex-start; flex-direction: column; }
    .diagnostics-grid[b-xiso3pbylc] { grid-template-columns: 1fr; }
}
/* /Pages/Geomorphology.razor.rz.scp.css */
.geomorphology[b-ms151yp6db] {
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    overflow: hidden;
    color: #dce4df;
    background: #111417;
    font-family: Inter, "Segoe UI", sans-serif;
}

.tools[b-ms151yp6db], .scene[b-ms151yp6db] { min-width: 0; min-height: 0; overflow: hidden; }
.tools[b-ms151yp6db] { padding: 10px 14px 8px; border-bottom: 1px solid #344035; background: linear-gradient(180deg, #151b18, #111613); overflow-y: auto; }
.tool-heading[b-ms151yp6db] { display: flex; align-items: end; gap: 20px; margin-bottom: 8px; }
.tool-heading > div[b-ms151yp6db] { flex: 0 0 auto; }
.eyebrow[b-ms151yp6db] { margin: 0 0 2px; color: #87a168; font-size: .58rem; font-weight: 800; letter-spacing: .15em; }
h1[b-ms151yp6db] { margin: 0; color: #f0eee5; font: 700 1.25rem/1 Georgia, serif; }
.tool-heading p:last-child[b-ms151yp6db] { margin: 0 0 1px; color: #92a09a; font-size: .68rem; }

.tool-grid[b-ms151yp6db] { display: grid; grid-template-columns: minmax(150px, 1.2fr) minmax(155px, .9fr) minmax(180px, 1fr) minmax(180px, 1fr); gap: 8px 12px; align-items: end; }
label[b-ms151yp6db] { display: block; margin: 0; color: #a7b3ac; font-size: .67rem; }
label output[b-ms151yp6db] { float: right; color: #dce4d8; font-weight: 700; }
select[b-ms151yp6db], input[type=number][b-ms151yp6db] { width: 100%; box-sizing: border-box; margin-top: 4px; padding: 6px 8px; border: 1px solid #39453f; border-radius: 6px; background: #0d1210; color: #e1e7e2; font-size: .72rem; }
input[type=range][b-ms151yp6db] { width: 100%; margin: 7px 0 1px; accent-color: #78a82d; }
.inline[b-ms151yp6db] { display: flex; gap: 5px; align-items: end; }
.inline input[b-ms151yp6db] { margin-top: 4px; }

button[b-ms151yp6db] { border: 1px solid #38463d; border-radius: 7px; background: #263024; color: #c8df9f; padding: 6px 9px; font-size: .68rem; font-weight: 700; white-space: nowrap; cursor: pointer; }
button:hover[b-ms151yp6db], button.on[b-ms151yp6db] { background: #6c9f22; border-color: #78ac27; color: white; }
button.primary[b-ms151yp6db] { background: #6c9f22; color: white; }

.tool-footer[b-ms151yp6db] { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 8px; }
.metrics[b-ms151yp6db] { display: flex; flex-wrap: wrap; gap: 5px; }
.metrics span[b-ms151yp6db] { padding: 4px 7px; border-radius: 999px; background: #202923; color: #9faea5; font-size: .61rem; }
.metrics b[b-ms151yp6db] { color: #dde5dc; }
.metrics .valid[b-ms151yp6db] { color: #a8d17f; }.metrics .invalid[b-ms151yp6db] { color: #e69a90; }
.actions[b-ms151yp6db] { display: flex; gap: 5px; }
.diagnostics[b-ms151yp6db] { margin-top: 7px; border-top: 1px solid #2b352f; padding-top: 5px; color: #8f9d96; font-size: .62rem; }
.diagnostics summary[b-ms151yp6db] { cursor: pointer; color: #b7ca9e; font-weight: 700; }
.diagnostic-grid[b-ms151yp6db] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.diagnostic-grid ol[b-ms151yp6db] { margin: 5px 0 0; padding-left: 18px; columns: 2; }
.diagnostic-grid li[b-ms151yp6db] { break-inside: avoid; margin-bottom: 2px; }
.diagnostic-grid small[b-ms151yp6db] { color: #748078; }.diagnostic-grid p[b-ms151yp6db] { margin: 5px 0 0; }.diagnostic-grid code[b-ms151yp6db] { color: #748078; }

.scene[b-ms151yp6db] { display: flex; flex-direction: column; background: #0d1110; }
.scene-toolbar[b-ms151yp6db] { flex: 0 0 auto; padding: 6px 12px 5px; border-bottom: 1px solid #29332d; background: #111613; }
.toolbar-row[b-ms151yp6db] { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.toolbar-row + .toolbar-row[b-ms151yp6db] { margin-top: 5px; }
.group-label[b-ms151yp6db] { color: #87958d; font-size: .64rem; margin-right: 2px; }
.geom-label[b-ms151yp6db] { margin-left: 9px; }
.seg[b-ms151yp6db] { padding: 5px 9px; }
.camera-row .seg[b-ms151yp6db] { padding: 5px 8px; }
.lens[b-ms151yp6db] { display: flex; width: 132px; align-items: center; gap: 6px; margin-left: 3px; }
.lens span[b-ms151yp6db] { min-width: 52px; color: #bdd69b; font-weight: 700; }
.lens input[b-ms151yp6db] { margin: 0; }
.scene-status[b-ms151yp6db], .camera-hint[b-ms151yp6db] { display: flex; justify-content: space-between; gap: 10px; color: #9fb0a6; font-size: .62rem; margin-top: 5px; }
.camera-hint[b-ms151yp6db] { color: #71817a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[b-ms151yp6db] .shared-terrain-viewport { flex: 1 1 0; background: #252a2f; }
[b-ms151yp6db] .geomorphology-canvas { width: 100%; height: 100%; max-width: none; max-height: none; border-radius: 0; }

@media (max-width: 820px) {
    .tool-heading p:last-child[b-ms151yp6db] { display: none; }
    .tool-grid[b-ms151yp6db] { grid-template-columns: 1fr 1fr; }
    .tool-footer[b-ms151yp6db] { align-items: flex-start; }
    .metrics[b-ms151yp6db] { max-width: 55%; }
}

@media (max-width: 520px) {
    .tools[b-ms151yp6db] { padding: 7px 8px 5px; }
    .tool-heading[b-ms151yp6db] { margin-bottom: 6px; }
    h1[b-ms151yp6db] { font-size: 1rem; }
    .tool-grid[b-ms151yp6db] { grid-template-columns: 1fr 1fr; gap: 6px; }
    .tool-footer[b-ms151yp6db] { display: block; }
    .metrics[b-ms151yp6db] { max-width: none; }
    .actions[b-ms151yp6db] { margin-top: 5px; }
    .diagnostics[b-ms151yp6db] { display: none; }
    .scene-toolbar[b-ms151yp6db] { padding: 5px 7px 4px; }
    .camera-hint[b-ms151yp6db] { display: none; }
    .scene-status span:first-child[b-ms151yp6db] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* /Pages/PropLab.razor.rz.scp.css */
:global(body)[b-nse9sr7hjx] {
    background: #090d13;
}

.studio-shell[b-nse9sr7hjx] {
    --ink: #f1eee6;
    --muted: #9199a7;
    --line: rgba(255,255,255,.11);
    --panel: #101720;
    --panel-2: #141d28;
    --amber: #f0b54c;
    --amber-soft: rgba(240,181,76,.13);
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 14% 0%, rgba(39,67,91,.24), transparent 31rem),
        linear-gradient(180deg, #0a0f16, #090d13 44rem);
    padding: .45rem clamp(.45rem, 1vw, 1rem) 1.25rem;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.studio-header[b-nse9sr7hjx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1660px;
    margin: 0 auto .38rem;
    min-height: 2rem;
}

.eyebrow[b-nse9sr7hjx], .group-label[b-nse9sr7hjx] {
    margin: 0 0 .2rem;
    color: var(--amber);
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

h1[b-nse9sr7hjx] {
    margin: 0;
    font-size: clamp(1.08rem, 2vw, 1.55rem);
    line-height: 1;
    letter-spacing: -.04em;
    font-weight: 760;
}

.header-actions[b-nse9sr7hjx] {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: var(--muted);
    font-size: .61rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.terrain-link[b-nse9sr7hjx] {
    flex: 0 0 auto;
    color: #ccd4df;
    text-decoration: none;
    border: 1px solid var(--line);
    padding: .3rem .48rem;
    border-radius: .45rem;
    background: rgba(255,255,255,.025);
}

.studio-workspace-tabs[b-nse9sr7hjx] {
    max-width: 1160px;
    margin: 0 auto .38rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    border: 1px solid var(--line);
    background: #0d141d;
}

.workspace-tab[b-nse9sr7hjx] {
    min-width: 0;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    padding: .34rem .45rem;
    color: #929dab;
    background: transparent;
    font-size: .61rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.workspace-tab:last-child[b-nse9sr7hjx] { border-right: 0; }
.workspace-tab.active[b-nse9sr7hjx] { color: #1b1206; background: var(--amber); }
.studio-workspace[b-nse9sr7hjx] { display: none; }
.studio-workspace.active[b-nse9sr7hjx] { display: block; }

.shared-controls[b-nse9sr7hjx] {
    max-width: 1660px;
    margin: 0 auto .38rem;
    display: grid;
    grid-template-columns: minmax(250px, 1.25fr) minmax(220px, .95fr) minmax(240px, 1fr);
    overflow-x: auto;
    border: 1px solid var(--line);
    background: rgba(14,21,30,.92);
    box-shadow: 0 20px 60px rgba(0,0,0,.24);
}

.control-group[b-nse9sr7hjx] {
    min-width: 0;
    padding: .34rem .5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .24rem .38rem;
    align-items: end;
    border-right: 1px solid var(--line);
}

.control-group:last-child[b-nse9sr7hjx] { border-right: 0; }
.control-group .group-label[b-nse9sr7hjx] { grid-column: 1 / -1; }
.conversion-controls .microcopy[b-nse9sr7hjx] { grid-column: 1 / -1; }
.source-controls label:first-of-type[b-nse9sr7hjx],
.common-controls label:last-child[b-nse9sr7hjx],
.conversion-controls label:first-of-type[b-nse9sr7hjx] { grid-column: 1 / -1; }

label[b-nse9sr7hjx] {
    min-width: 0;
    color: #b6bec9;
    font-size: .64rem;
    font-weight: 650;
    letter-spacing: .01em;
}

select[b-nse9sr7hjx], input[type="number"][b-nse9sr7hjx], input[type="file"][b-nse9sr7hjx] {
    width: 100%;
    margin-top: .12rem;
    color: #edf1f5;
    background: #0b1119;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: .32rem;
    padding: .25rem .34rem;
    font: inherit;
}

input[type="range"][b-nse9sr7hjx] {
    width: 100%;
    margin-top: .12rem;
    accent-color: var(--amber);
}

input[type="checkbox"][b-nse9sr7hjx] { accent-color: var(--amber); }

button[b-nse9sr7hjx] {
    color: #dbe1e8;
    background: #17212d;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: .34rem;
    padding: .28rem .42rem;
    font: inherit;
    font-size: .68rem;
    font-weight: 750;
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .15s;
}

button:hover:not(:disabled)[b-nse9sr7hjx] { border-color: rgba(240,181,76,.65); transform: translateY(-1px); }
button:disabled[b-nse9sr7hjx] { opacity: .42; cursor: not-allowed; }

.primary-action[b-nse9sr7hjx] {
    color: #171007;
    background: var(--amber);
    border-color: var(--amber);
}

.secondary-action[b-nse9sr7hjx] { background: #17212d; }
.danger[b-nse9sr7hjx] { color: #ffb0a8; }
.field-button[b-nse9sr7hjx] { width: 100%; margin-top: .32rem; }

.upload-chip[b-nse9sr7hjx]  .hidden-file { display: none; }
.upload-chip[b-nse9sr7hjx] {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 1.55rem;
    padding: .25rem .38rem;
    color: #d8dee6;
    background: #17212d;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: .34rem;
    cursor: pointer;
    text-align: center;
}
.upload-chip:hover[b-nse9sr7hjx] { border-color: rgba(240,181,76,.65); }

.segmented[b-nse9sr7hjx] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-self: stretch;
}

.segment[b-nse9sr7hjx] { border-radius: 0; background: #0b1119; }
.segment:first-child[b-nse9sr7hjx] { border-radius: .34rem 0 0 .34rem; }
.segment:last-child[b-nse9sr7hjx] { border-radius: 0 .34rem .34rem 0; }
.segment.active[b-nse9sr7hjx] { color: #201507; background: var(--amber); border-color: var(--amber); }
.compact[b-nse9sr7hjx] { display: inline-flex; }
.compact .segment[b-nse9sr7hjx] { padding: .28rem .46rem; }
.representation-tabs[b-nse9sr7hjx] { width: min(18rem, 68%); grid-template-columns: repeat(4, minmax(0,1fr)); }
.viewer-heading .representation-tabs[b-nse9sr7hjx] {
    display: grid;
    flex: 1 1 auto;
    width: auto;
    max-width: 18rem;
    gap: 0;
}
.representation-tabs .segment[b-nse9sr7hjx] {
    min-width: 0;
    padding: .27rem .3rem;
    font-size: .62rem;
    line-height: 1.05;
    white-space: nowrap;
}

.inline-field[b-nse9sr7hjx] { display: grid; grid-template-columns: 1fr auto; gap: .35rem; }
.small-action[b-nse9sr7hjx] { margin-top: .32rem; padding-inline: .65rem; }
.check-row[b-nse9sr7hjx] { align-self: center; padding-bottom: .28rem; }
.microcopy[b-nse9sr7hjx] { color: var(--muted); margin: 0; font-size: .68rem; line-height: 1.4; }

.studio-message[b-nse9sr7hjx] {
    max-width: 1660px;
    margin: 0 auto .38rem;
    padding: .32rem .5rem;
    border-left: 3px solid #67bd8a;
    background: rgba(43,115,72,.12);
    color: #b9dfc6;
    font-size: .69rem;
}
.studio-message.error[b-nse9sr7hjx] { border-left-color: #e16a5b; background: rgba(145,50,40,.15); color: #ffc1b9; }

.model-parts[b-nse9sr7hjx] {
    max-width: 1160px;
    margin: 0 auto .38rem;
    padding: .3rem .42rem;
    border: 1px solid var(--line);
    background: rgba(14,21,30,.92);
}

.structure-controls[b-nse9sr7hjx] {
    max-width: 1160px;
    margin: 0 auto .38rem;
    padding: .4rem .48rem;
    display: grid;
    grid-template-columns: minmax(180px,1.25fr) repeat(4,minmax(105px,.72fr));
    gap: .3rem .42rem;
    align-items: end;
    border: 1px solid var(--line);
    background: rgba(14,21,30,.94);
}

.structure-intro[b-nse9sr7hjx] { grid-row: span 2; align-self: center; }
.structure-intro h2[b-nse9sr7hjx] { margin: 0; font-size: .9rem; }
.structure-intro p:not(.eyebrow)[b-nse9sr7hjx] { margin: .2rem 0 0; color: var(--muted); font-size: .58rem; line-height: 1.3; }
.generate-structure[b-nse9sr7hjx] { min-height: 1.55rem; }

.structure-workbench[b-nse9sr7hjx],
.scene-preview-card[b-nse9sr7hjx] {
    max-width: 1160px;
    margin: 0 auto;
    border: 1px solid rgba(240,181,76,.28);
    background: var(--panel);
    box-shadow: 0 28px 80px rgba(0,0,0,.32);
}

.structure-viewer-grid[b-nse9sr7hjx] {
    display: grid;
    grid-template-columns: minmax(0,1fr) 280px;
    border-top: 1px solid var(--line);
}

.structure-viewport[b-nse9sr7hjx],
.scene-viewport[b-nse9sr7hjx] {
    position: relative;
    width: 100%;
    height: min(58vh, 580px);
    min-height: 320px;
    overflow: hidden;
    background: #090e15;
}

.structure-viewer-grid .structure-viewport[b-nse9sr7hjx] { height: min(54vh, 530px); border-right: 1px solid var(--line); }

.bridge-reference-card[b-nse9sr7hjx] {
    min-width: 0;
    padding: .38rem;
    display: grid;
    grid-template-rows: auto auto minmax(170px,1fr) auto;
    gap: .34rem;
    background: #0b1119;
}

.reference-title-row > div[b-nse9sr7hjx] { display: flex; align-items: center; gap: .38rem; font-size: .65rem; }
.bridge-reference-card label[b-nse9sr7hjx] { font-size: .54rem; color: var(--muted); }
.bridge-reference-card select[b-nse9sr7hjx] { margin-top: .18rem; min-height: 1.65rem; }
.bridge-reference-viewport[b-nse9sr7hjx] { position: relative; min-height: 170px; overflow: hidden; border: 1px solid var(--line); background: #080d13; }
.bridge-reference-viewport canvas[b-nse9sr7hjx] { width: 100%; height: 100%; display: block; }
.bridge-reference-meta[b-nse9sr7hjx] { display: grid; gap: .12rem; font-size: .52rem; line-height: 1.25; color: var(--muted); }
.bridge-reference-meta strong[b-nse9sr7hjx] { color: var(--ink); font-size: .59rem; }
.bridge-reference-meta small[b-nse9sr7hjx] { color: #728096; }

.scene-viewport[b-nse9sr7hjx] { height: min(68vh, 680px); }
.structure-viewport canvas[b-nse9sr7hjx],
.scene-viewport canvas[b-nse9sr7hjx] { width: 100%; height: 100%; display: block; }

.structure-footer[b-nse9sr7hjx],
.scene-note[b-nse9sr7hjx] {
    min-height: 2rem;
    padding: .3rem .45rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--muted);
    font-size: .57rem;
    border-top: 1px solid var(--line);
}

.structure-footer > span[b-nse9sr7hjx] { flex: 1 1 auto; font-family: ui-monospace, monospace; }
.material-legend[b-nse9sr7hjx] { display: flex; align-items: center; gap: .2rem; white-space: nowrap; }
.material-legend i[b-nse9sr7hjx] { width: .65rem; height: .65rem; display: inline-block; border-radius: .16rem; }
.material-legend .stone[b-nse9sr7hjx] { background: #757d84; }
.material-legend .deck[b-nse9sr7hjx] { background: #8f5c2e; }
.material-legend .timber[b-nse9sr7hjx] { background: #4d2d18; }
.material-legend .iron[b-nse9sr7hjx] { background: #343e46; }
.material-legend .moss[b-nse9sr7hjx] { background: #2e6629; }

.scene-note strong[b-nse9sr7hjx] { color: var(--ink); }
.scene-note span[b-nse9sr7hjx] { flex: 1 1 auto; }

.parts-heading[b-nse9sr7hjx],
.parts-groups[b-nse9sr7hjx],
.part-group[b-nse9sr7hjx],
.parts-presets[b-nse9sr7hjx] {
    display: flex;
    align-items: center;
}

.parts-heading[b-nse9sr7hjx] {
    justify-content: space-between;
    gap: .45rem;
    color: #aeb7c3;
    font-size: .58rem;
}

.parts-presets[b-nse9sr7hjx] { flex: 0 0 auto; gap: .2rem; }
.parts-presets button[b-nse9sr7hjx],
.delete-model[b-nse9sr7hjx],
.restore-models[b-nse9sr7hjx] {
    min-height: 1.35rem;
    padding: .2rem .35rem;
    font-size: .57rem;
}

.delete-model[b-nse9sr7hjx] {
    color: #ffb8ae;
    border-color: rgba(225,106,91,.42);
    background: rgba(145,50,40,.14);
}

.parts-groups[b-nse9sr7hjx] {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: .28rem .5rem;
    margin-top: .26rem;
}

.part-group[b-nse9sr7hjx] { flex-wrap: wrap; gap: .2rem; }
.part-group > span[b-nse9sr7hjx] {
    color: var(--amber);
    font-size: .5rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.part-chip[b-nse9sr7hjx] {
    display: inline-flex;
    align-items: center;
    gap: .18rem;
    padding: .14rem .24rem;
    color: #cbd2db;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: .25rem;
    background: #0b1119;
    font-size: .54rem;
    line-height: 1;
    white-space: nowrap;
}

.part-chip input[b-nse9sr7hjx] { width: .7rem; height: .7rem; margin: 0; }
.part-chip small[b-nse9sr7hjx] { color: #747f8d; font-size: .46rem; }

.comparison-workbench[b-nse9sr7hjx] {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0,1fr) 1.7rem minmax(0,1fr);
    align-items: center;
}

.viewer[b-nse9sr7hjx] {
    min-width: 0;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 28px 80px rgba(0,0,0,.32);
}

.result-viewer[b-nse9sr7hjx] { border-color: rgba(240,181,76,.28); }

.viewer-heading[b-nse9sr7hjx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .35rem;
    min-height: 2.18rem;
    padding: .3rem .45rem;
    border-bottom: 1px solid var(--line);
}

.viewer-heading > div[b-nse9sr7hjx] { display: flex; align-items: baseline; gap: .38rem; }
.viewer-heading > div:first-child[b-nse9sr7hjx] { flex: 0 1 auto; min-width: 0; }
.viewer-heading h2[b-nse9sr7hjx] { margin: 0; font-size: .84rem; letter-spacing: -.01em; white-space: nowrap; }
.pane-index[b-nse9sr7hjx] { color: var(--amber); font: 800 .55rem ui-monospace, monospace; }
.pane-meta[b-nse9sr7hjx] { overflow: hidden; color: var(--muted); font-size: .6rem; white-space: nowrap; text-overflow: ellipsis; }

.viewport[b-nse9sr7hjx] {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
        #090e15;
    background-size: 32px 32px;
}

.viewport canvas[b-nse9sr7hjx] {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
    box-shadow: none;
}

.source-canvas.plate-hidden[b-nse9sr7hjx] { visibility: hidden; }
.reference-plate[b-nse9sr7hjx] { position: absolute; inset: 0; margin: auto; max-width: 92%; max-height: 92%; object-fit: contain; }
.viewport-badge[b-nse9sr7hjx] {
    position: absolute;
    right: .75rem;
    top: .75rem;
    padding: .26rem .45rem;
    color: #9ca7b4;
    background: rgba(4,8,12,.72);
    border: 1px solid var(--line);
    border-radius: .28rem;
    font: 700 .6rem ui-monospace, monospace;
    text-transform: uppercase;
    letter-spacing: .08em;
    pointer-events: none;
}
.result-badge[b-nse9sr7hjx] { color: var(--amber); border-color: rgba(240,181,76,.3); }

.expand-view[b-nse9sr7hjx], .studio-fps[b-nse9sr7hjx] {
    position: absolute;
    z-index: 4;
    background: rgba(4,8,12,.76);
    border: 1px solid var(--line);
}
.expand-view[b-nse9sr7hjx] { left: .65rem; top: .65rem; padding: .28rem .46rem; font-size: .85rem; }
.studio-fps[b-nse9sr7hjx] {
    right: .65rem;
    bottom: .65rem;
    padding: .22rem .38rem;
    color: #aeb9c6;
    border-radius: .28rem;
    font: 700 .6rem ui-monospace, monospace;
    pointer-events: none;
}

.viewer-modal[b-nse9sr7hjx] {
    position: fixed;
    z-index: 10000;
    inset: .75rem;
    display: grid;
    grid-template-rows: auto minmax(0,1fr) auto;
    background: #0b1119;
    box-shadow: 0 0 0 100vmax rgba(0,0,0,.84), 0 24px 90px #000;
}
.viewer-modal .viewport[b-nse9sr7hjx] { width: 100%; height: 100%; aspect-ratio: auto; }
.modal-close[b-nse9sr7hjx] { margin-left: auto; font-size: 1.1rem; line-height: 1; }
.lowpoly-action[b-nse9sr7hjx] { color: #171007; background: var(--amber); border-color: var(--amber); white-space: nowrap; }

.comparison-arrow[b-nse9sr7hjx] {
    position: relative;
    z-index: 2;
    justify-self: center;
    width: 1.55rem;
    height: 1.55rem;
    display: grid;
    place-items: center;
    color: #191107;
    background: var(--amber);
    border-radius: 50%;
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

.source-actions[b-nse9sr7hjx], .viewer-toolbar[b-nse9sr7hjx] {
    min-height: 2rem;
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .4rem;
    border-top: 1px solid var(--line);
}
.source-actions label[b-nse9sr7hjx] { flex: 1; }
.viewer-toolbar[b-nse9sr7hjx] { justify-content: space-between; color: var(--muted); font-size: .58rem; }
.viewer-toolbar > span[b-nse9sr7hjx] { line-height: 1.15; }

.asset-readout[b-nse9sr7hjx] {
    max-width: 1160px;
    margin: .38rem auto;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    border: 1px solid var(--line);
    background: #0d141d;
}
.asset-readout div[b-nse9sr7hjx] { padding: .32rem .42rem; border-right: 1px solid var(--line); }
.asset-readout div:last-child[b-nse9sr7hjx] { border-right: 0; }
.asset-readout span[b-nse9sr7hjx] { display: block; color: var(--muted); font-size: .54rem; text-transform: uppercase; letter-spacing: .07em; }
.asset-readout strong[b-nse9sr7hjx] { display: block; margin-top: .12rem; font: 750 .76rem ui-monospace, monospace; }

.authoring-deck[b-nse9sr7hjx] {
    max-width: 1660px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    border: 1px solid var(--line);
    background: var(--panel);
}
.deck-column[b-nse9sr7hjx] { min-width: 0; padding: .7rem; border-right: 1px solid var(--line); }
.deck-column:last-child[b-nse9sr7hjx] { border-right: 0; }
.deck-column h2[b-nse9sr7hjx] { margin: 0 0 .28rem; font-size: .88rem; }
.deck-column p:not(.eyebrow)[b-nse9sr7hjx] { color: var(--muted); font-size: .64rem; line-height: 1.32; }
.deck-column > label[b-nse9sr7hjx] { display: block; margin-top: .7rem; }
.two-fields[b-nse9sr7hjx], .three-fields[b-nse9sr7hjx] { display: grid; gap: .55rem; margin-top: .65rem; }
.two-fields[b-nse9sr7hjx] { grid-template-columns: 1fr 1fr; }
.three-fields[b-nse9sr7hjx] { grid-template-columns: repeat(3,1fr); }
.brick-buttons[b-nse9sr7hjx], .palette-presets[b-nse9sr7hjx] { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .7rem; }
.palette-presets button[b-nse9sr7hjx] { flex: 1 1 40%; padding: .4rem; }
.swatches[b-nse9sr7hjx] { display: flex; flex-wrap: wrap; gap: .42rem; margin-top: .75rem; }
.swatch[b-nse9sr7hjx] { width: 1.65rem; height: 1.65rem; padding: 0; border-radius: 50%; }
.swatch.selected[b-nse9sr7hjx] { outline: 2px solid var(--amber); outline-offset: 2px; }
.rig-status[b-nse9sr7hjx] { color: #b9dfc6 !important; }
.rig-warning[b-nse9sr7hjx] { color: #ffc0b6 !important; }

.export-bar[b-nse9sr7hjx] {
    max-width: 1660px;
    margin: .6rem auto 0;
    padding: .55rem .7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(240,181,76,.25);
    background: linear-gradient(90deg, rgba(240,181,76,.07), #101720 40%);
}
.export-bar p[b-nse9sr7hjx] { margin-bottom: .25rem; }
.export-actions[b-nse9sr7hjx] { display: flex; gap: .55rem; }

@media (max-width: 1120px) {
    .asset-readout[b-nse9sr7hjx] { grid-template-columns: repeat(4,1fr); }
    .asset-readout div[b-nse9sr7hjx] { border-bottom: 1px solid var(--line); }
    .authoring-deck[b-nse9sr7hjx] { grid-template-columns: repeat(2,1fr); }
    .deck-column:nth-child(2)[b-nse9sr7hjx] { border-right: 0; }
    .deck-column:nth-child(-n+2)[b-nse9sr7hjx] { border-bottom: 1px solid var(--line); }
    .structure-controls[b-nse9sr7hjx] { grid-template-columns: repeat(4,minmax(110px,1fr)); }
    .structure-intro[b-nse9sr7hjx] { grid-column: 1 / -1; grid-row: auto; }
    .structure-viewer-grid[b-nse9sr7hjx] { grid-template-columns: minmax(0,1fr) 240px; }
}

@media (max-width: 680px) {
    .studio-shell[b-nse9sr7hjx] { padding-inline: .4rem; }
    .header-actions > span[b-nse9sr7hjx] { display: none; }
    .authoring-deck[b-nse9sr7hjx] { display: block; }
    .deck-column[b-nse9sr7hjx] { border-right: 0; border-bottom: 1px solid var(--line); }
    .asset-readout[b-nse9sr7hjx] { grid-template-columns: 1fr 1fr; }
    .asset-readout div[b-nse9sr7hjx] { border-bottom: 1px solid var(--line); }
    .export-bar[b-nse9sr7hjx], .export-actions[b-nse9sr7hjx] { align-items: stretch; flex-direction: column; }
    .parts-heading[b-nse9sr7hjx] { align-items: flex-start; }
    .structure-controls[b-nse9sr7hjx] { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .structure-viewer-grid[b-nse9sr7hjx] { grid-template-columns: 1fr; }
    .structure-viewer-grid .structure-viewport[b-nse9sr7hjx] { border-right: 0; border-bottom: 1px solid var(--line); }
    .bridge-reference-card[b-nse9sr7hjx] { grid-template-rows: auto auto 210px auto; }
    .structure-viewport[b-nse9sr7hjx], .scene-viewport[b-nse9sr7hjx] { min-height: 280px; height: 54vh; }
    .structure-footer[b-nse9sr7hjx], .scene-note[b-nse9sr7hjx] { align-items: stretch; flex-direction: column; }
    .material-legend[b-nse9sr7hjx] { white-space: normal; }
}

@media (max-width: 520px) {
    .shared-controls[b-nse9sr7hjx] { grid-template-columns: 230px 210px 230px; }
    .comparison-workbench[b-nse9sr7hjx] { grid-template-columns: 1fr; gap: .45rem; }
    .comparison-arrow[b-nse9sr7hjx] { transform: rotate(90deg); }
    .viewport[b-nse9sr7hjx] { height: auto; }
}
/* /Pages/SceneDescriptorWorkbench.razor.rz.scp.css */
.semantic-workbench[b-05l8y9zpap] {
    display: grid;
    gap: .72rem;
    padding: .72rem;
    color: #dbe5ef;
}

.semantic-intro[b-05l8y9zpap],
.semantic-actions[b-05l8y9zpap],
.facet-card header[b-05l8y9zpap] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
}

.semantic-intro h2[b-05l8y9zpap],
.facet-card h3[b-05l8y9zpap] {
    margin: 0;
}

.semantic-intro p[b-05l8y9zpap],
.facet-purpose[b-05l8y9zpap],
.facet-question[b-05l8y9zpap],
.facet-evidence[b-05l8y9zpap] {
    margin: .2rem 0 0;
    color: #aebed0;
}

.semantic-status[b-05l8y9zpap] {
    min-width: 9.6rem;
    padding: .45rem .6rem;
    border: 1px solid #526071;
    border-radius: .45rem;
    text-align: right;
}

.semantic-status.valid[b-05l8y9zpap] { border-color: #719f3b; }
.semantic-status.blocked[b-05l8y9zpap] { border-color: #b6655d; }
.semantic-status span[b-05l8y9zpap] { display: block; color: #9eb0c2; font-size: .78rem; }

.semantic-sentence[b-05l8y9zpap] {
    display: grid;
    gap: .3rem;
}

.semantic-sentence textarea[b-05l8y9zpap] {
    box-sizing: border-box;
    width: 100%;
    resize: vertical;
    min-height: 4.6rem;
}

.semantic-sentence small[b-05l8y9zpap],
.semantic-route[b-05l8y9zpap] {
    color: #93a6b9;
}

.semantic-actions[b-05l8y9zpap] {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.semantic-route[b-05l8y9zpap] { margin-left: auto; }

.semantic-diagnostics[b-05l8y9zpap] {
    display: grid;
    gap: .3rem;
}

.diagnostic[b-05l8y9zpap] {
    display: flex;
    gap: .55rem;
    padding: .45rem .55rem;
    border-left: 3px solid #65778a;
    background: #171c22;
}

.diagnostic.warning[b-05l8y9zpap] { border-left-color: #c9953e; }
.diagnostic.error[b-05l8y9zpap] { border-left-color: #c15e55; }

.facet-grid[b-05l8y9zpap] {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: .55rem;
}

.facet-card[b-05l8y9zpap] {
    min-width: 0;
    padding: .62rem;
    border: 1px solid #303943;
    border-left: 3px solid #64758a;
    border-radius: .42rem;
    background: #14191f;
}

.facet-card.explicit[b-05l8y9zpap] { border-left-color: #84b63f; }
.facet-card.inferred[b-05l8y9zpap] { border-left-color: #4e9dc5; }
.facet-card.default[b-05l8y9zpap] { border-left-color: #777f88; }

.facet-card header[b-05l8y9zpap] { align-items: flex-start; }

.facet-order[b-05l8y9zpap] {
    display: grid;
    place-items: center;
    flex: 0 0 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: #252d35;
    color: #a8d66c;
    font-size: .75rem;
}

.facet-card h3[b-05l8y9zpap] { font-size: .95rem; }
.facet-owner[b-05l8y9zpap] { color: #8ea4b9; font-size: .72rem; }

.provenance[b-05l8y9zpap] {
    padding: .12rem .35rem;
    border-radius: .3rem;
    background: #262e37;
    color: #c5d4e2;
    font-size: .68rem;
    text-transform: uppercase;
}

.facet-purpose[b-05l8y9zpap],
.facet-question[b-05l8y9zpap],
.facet-evidence[b-05l8y9zpap],
.facet-card details[b-05l8y9zpap] {
    font-size: .78rem;
}

.facet-question[b-05l8y9zpap] { color: #d0d9e2; font-style: italic; }

.facet-value[b-05l8y9zpap] {
    margin-top: .5rem;
    padding: .42rem .5rem;
    border-radius: .35rem;
    background: #202831;
    color: #cde9a7;
    overflow-wrap: anywhere;
    font-size: .82rem;
}

.facet-evidence[b-05l8y9zpap] { color: #c4a96d; }

.facet-card details[b-05l8y9zpap] { margin-top: .5rem; }
.facet-card dl[b-05l8y9zpap] { margin: .45rem 0 0; }
.facet-card dt[b-05l8y9zpap] { color: #8ea4b9; }
.facet-card dd[b-05l8y9zpap] { margin: 0 0 .4rem; }

.clearing-size-buttons[b-05l8y9zpap] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .25rem;
    margin: .5rem 0 .65rem;
}

.clearing-size-buttons button[b-05l8y9zpap] {
    display: grid;
    gap: .05rem;
    min-width: 0;
    padding: .32rem .15rem;
    border: 1px solid #354036;
    border-radius: .35rem;
    background: #202820;
    color: #bdd39a;
    cursor: pointer;
    font-size: .67rem;
    font-weight: 700;
}

.clearing-size-buttons button small[b-05l8y9zpap] {
    color: #8ea08c;
    font-size: .58rem;
    font-weight: 500;
}

.clearing-size-buttons button.on[b-05l8y9zpap] {
    border-color: #8fc63f;
    background: #639329;
    color: white;
}

.clearing-size-buttons button.on small[b-05l8y9zpap] { color: #e8f4d9; }

.semantic-json pre[b-05l8y9zpap] {
    max-height: 22rem;
    overflow: auto;
    white-space: pre-wrap;
    font-size: .72rem;
}

@media (max-width: 980px) {
    .facet-grid[b-05l8y9zpap] { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}

@media (max-width: 620px) {
    .semantic-intro[b-05l8y9zpap] { align-items: stretch; flex-direction: column; }
    .semantic-status[b-05l8y9zpap] { text-align: left; }
    .semantic-route[b-05l8y9zpap] { width: 100%; margin-left: 0; }
    .facet-grid[b-05l8y9zpap] { grid-template-columns: 1fr; }
}
/* /Pages/SplinesLab.razor.rz.scp.css */
.spline-lab[b-kgenrdvumf] {
    --spline-green: #9be468;
    --spline-green-soft: rgba(155, 228, 104, 0.14);
    --spline-line: rgba(191, 219, 198, 0.18);
    --spline-panel: rgba(13, 24, 20, 0.94);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.35rem;
    height: 100dvh;
    min-height: 0;
    padding: 0.45rem 0.65rem;
    overflow: hidden;
    color: #edf5ee;
    background: #0b120f;
}

.spline-head[b-kgenrdvumf] {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    min-width: 0;
    padding: 0 0.2rem;
}

.eyebrow[b-kgenrdvumf],
.panel-heading p[b-kgenrdvumf],
.preview-heading p[b-kgenrdvumf] {
    margin: 0;
    color: var(--spline-green);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1[b-kgenrdvumf] {
    flex: 0 0 auto;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1;
}

.lede[b-kgenrdvumf] {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #b8c8bc;
    font-size: 0.75rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.boundary-note[b-kgenrdvumf] {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0.08rem 0.6rem;
    min-width: 14rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--spline-line);
    border-radius: 0.7rem;
    background: rgba(18, 30, 25, 0.72);
    font-size: 0.72rem;
}

.boundary-note span[b-kgenrdvumf] {
    color: #82a08a;
}

.boundary-note strong[b-kgenrdvumf] {
    font-weight: 650;
}

.adaptive-stage[b-kgenrdvumf] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 0.35rem;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.spline-fold[b-kgenrdvumf],
.preview-card[b-kgenrdvumf] {
    min-width: 0;
    border: 1px solid var(--spline-line);
    border-radius: 0.9rem;
    background: var(--spline-panel);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
}

.spline-fold > summary[b-kgenrdvumf] {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .65rem;
    cursor: pointer;
    color: #dcebdc;
    font-size: .78rem;
    font-weight: 700;
}

.spline-fold > summary small[b-kgenrdvumf] {
    margin-left: auto;
    color: #83a28b;
    font-size: .66rem;
    font-weight: 500;
}

.semantic-toolbar[b-kgenrdvumf] {
    display: grid;
    grid-template-columns: minmax(15rem, 1.3fr) minmax(11rem, .9fr) minmax(13rem, 1fr) auto auto;
    align-items: center;
    gap: .5rem;
    padding: 0 .65rem .6rem;
}

.semantic-toolbar .error[b-kgenrdvumf] {
    position: absolute;
    right: 0.7rem;
    bottom: 0.7rem;
    z-index: 2;
    max-width: 32rem;
    padding: 0.45rem;
    background: #301412;
}

.preview-heading[b-kgenrdvumf],
.preview-heading > div:first-child[b-kgenrdvumf] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.step[b-kgenrdvumf] {
    color: var(--spline-green);
    font: 700 0.72rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.route-icons[b-kgenrdvumf],
.status-icons[b-kgenrdvumf],
.preview-facts[b-kgenrdvumf] {
    display: flex;
    margin: 0;
}

.route-icons[b-kgenrdvumf] { align-items: center; gap: .28rem; }
.route-node[b-kgenrdvumf] { display: grid; grid-template-columns: 1.5rem auto; grid-template-rows: auto auto; align-items: center; min-width: 0; padding: .3rem .42rem; border: 1px solid var(--spline-line); border-radius: .48rem; background: #14201a; }
.route-node i[b-kgenrdvumf] { grid-row: 1 / 3; color: var(--spline-green); font-style: normal; font-size: 1.05rem; }
.route-node small[b-kgenrdvumf] { color: #83a28b; font-size: .55rem; text-transform: uppercase; }
.route-node b[b-kgenrdvumf] { overflow: hidden; font-size: .69rem; text-overflow: ellipsis; white-space: nowrap; }
.route-arrow[b-kgenrdvumf] { color: #688271; }

dt[b-kgenrdvumf] {
    color: #83a28b;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

dd[b-kgenrdvumf] {
    margin: 0.14rem 0 0;
    font-size: 0.82rem;
    font-weight: 650;
}

.intent-choice[b-kgenrdvumf] {
    display: grid;
    gap: 0.35rem;
    color: #b7c8bb;
    font-size: 0.76rem;
}
.control-label[b-kgenrdvumf] { display: flex; align-items: center; gap: .3rem; font-size: .62rem; }
.control-label i[b-kgenrdvumf] { color: var(--spline-green); font-style: normal; }

select[b-kgenrdvumf],
button[b-kgenrdvumf],
input[b-kgenrdvumf] {
    min-height: 2.1rem;
    border: 1px solid var(--spline-line);
    border-radius: 0.5rem;
    color: #edf5ee;
    background: #17231e;
    font: inherit;
}

.trail-controls[b-kgenrdvumf] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.trail-controls label[b-kgenrdvumf] {
    display: grid;
    gap: 0.18rem;
    color: #afc0b3;
    font-size: 0.68rem;
}

.trail-controls label > span[b-kgenrdvumf] {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
}
.trail-controls label i[b-kgenrdvumf] { color: var(--spline-green); font-style: normal; }

.trail-controls strong[b-kgenrdvumf] {
    color: #edf5ee;
}

.trail-controls input[type="range"][b-kgenrdvumf] {
    width: 100%;
    min-height: 0.9rem;
    accent-color: var(--spline-green);
}

select[b-kgenrdvumf] {
    width: 100%;
    padding: 0 0.7rem;
}

button[b-kgenrdvumf] {
    cursor: pointer;
    padding: 0 0.8rem;
}

button:hover[b-kgenrdvumf],
button.selected[b-kgenrdvumf] {
    border-color: var(--spline-green);
    background: var(--spline-green-soft);
}

.variant-button[b-kgenrdvumf] {
    color: #10170f;
    border-color: var(--spline-green);
    background: var(--spline-green);
    font-weight: 750;
    white-space: nowrap;
}

.variant-button:hover[b-kgenrdvumf] {
    color: #10170f;
    background: #b1f381;
}

.trail-actions[b-kgenrdvumf] {
    display: grid;
    gap: .25rem;
}

.trail-presentation[b-kgenrdvumf] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .2rem;
}

.trail-presentation button[b-kgenrdvumf] {
    min-width: 2rem;
    min-height: 1.65rem;
    padding: 0 .35rem;
    font-size: .82rem;
}

.error[b-kgenrdvumf] {
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.35;
}

.status-icons[b-kgenrdvumf] { align-items: stretch; gap: .25rem; }
.status-icons > span[b-kgenrdvumf] { display: grid; place-items: center; min-width: 2.7rem; padding: .25rem .35rem; border-radius: .48rem; background: rgba(155,228,104,.07); cursor: help; }
.status-icons i[b-kgenrdvumf] { color: var(--spline-green); font-style: normal; font-size: .9rem; }
.status-icons small[b-kgenrdvumf] { color: #91a998; font-size: .52rem; }
.status-icons .boundary-info[b-kgenrdvumf] { min-width: 2rem; border: 1px solid var(--spline-line); background: #17231e; }

.error[b-kgenrdvumf] {
    color: #ffaaa0;
}

.preview-card[b-kgenrdvumf] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.preview-heading[b-kgenrdvumf] {
    justify-content: space-between;
    padding: 0.45rem 0.7rem;
    border-bottom: 1px solid var(--spline-line);
}

.preview-actions[b-kgenrdvumf],
.surface-actions[b-kgenrdvumf] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.preview-actions[b-kgenrdvumf] {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.surface-actions[b-kgenrdvumf] {
    padding-right: 0.35rem;
    border-right: 1px solid var(--spline-line);
}

.surface-actions button[b-kgenrdvumf] {
    min-height: 2rem;
    font-size: 0.72rem;
}

.surface-actions .texture-button[b-kgenrdvumf] {
    color: #d8fbc4;
}

.preview-stage[b-kgenrdvumf] {
    position: relative;
    min-height: 0;
    background: #080d0b;
}

.preview-stage[b-kgenrdvumf]  .shared-terrain-viewport,
.preview-stage[b-kgenrdvumf]  .spline-shared-canvas {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    touch-action: none;
}

.preview-stage > span[b-kgenrdvumf] {
    position: absolute;
    right: 0.7rem;
    bottom: 0.55rem;
    padding: 0.25rem 0.45rem;
    border-radius: 0.35rem;
    color: #c7d3ca;
    background: rgba(5, 10, 7, 0.7);
    font-size: 0.66rem;
    pointer-events: none;
}

.preview-facts[b-kgenrdvumf] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--spline-line);
}

.preview-facts div[b-kgenrdvumf] {
    padding: 0.4rem 0.7rem;
}

.preview-facts div + div[b-kgenrdvumf] {
    border-left: 1px solid var(--spline-line);
}

@media (max-width: 880px) {
    .semantic-toolbar[b-kgenrdvumf] { grid-template-columns: 1fr 1fr; }
    .route-icons[b-kgenrdvumf] { grid-column: 1 / 3; }
    .status-icons[b-kgenrdvumf] { justify-content: flex-end; }
}

@media (max-width: 560px) {
    .spline-lab[b-kgenrdvumf] {
        padding: 0.4rem;
    }

    .lede[b-kgenrdvumf] { display: none; }
    .semantic-toolbar[b-kgenrdvumf] { grid-template-columns: 1fr; }
    .route-icons[b-kgenrdvumf] { grid-column: 1; }
    .status-icons[b-kgenrdvumf] { justify-content: start; }
    .spline-fold > summary small[b-kgenrdvumf] { display: none; }

    .preview-facts dt[b-kgenrdvumf],
    .preview-facts dd[b-kgenrdvumf] {
        font-size: 0.6rem;
    }
}
/* /Pages/Studies.razor.rz.scp.css */
.study-page[b-wnyfwlnx0z] {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    overflow: hidden;
    background: #101418;
    color: #e8f0f8;
}

.study-header[b-wnyfwlnx0z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem 1rem .5rem;
    border-bottom: 1px solid #303942;
}

.study-header h1[b-wnyfwlnx0z] { margin: 0; font-size: 1.35rem; }
.study-header p[b-wnyfwlnx0z] { margin: .15rem 0 0; color: #a9bdcf; }

.study-actions[b-wnyfwlnx0z] { display: flex; gap: .35rem; flex: 0 0 auto; }
.study-actions button[b-wnyfwlnx0z],
.study-actions .study-reconstruct[b-wnyfwlnx0z] {
    border: 1px solid #526331;
    border-radius: .45rem;
    padding: .45rem .7rem;
    background: #26301f;
    color: #c8ed96;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}
.study-actions button.active[b-wnyfwlnx0z] {
    background: #659e22;
    border-color: #8fd143;
    color: #fff;
}

.study-facts[b-wnyfwlnx0z] {
    display: flex;
    gap: 1rem;
    align-items: center;
    min-height: 2.15rem;
    padding: .3rem 1rem;
    background: #171d22;
    color: #a9bdcf;
    font-size: .84rem;
    white-space: nowrap;
    overflow: hidden;
}
.study-facts b[b-wnyfwlnx0z] { color: #d1eda4; }
.study-status[b-wnyfwlnx0z] { margin-left: auto; color: #9fd367; }
.study-status--error[b-wnyfwlnx0z] { color: #ff8b83; }

.study-viewport[b-wnyfwlnx0z] { position: relative; min-height: 0; overflow: hidden; background: #8799aa; }
.study-viewport canvas[b-wnyfwlnx0z] { display: block; width: 100%; height: 100%; outline: none; touch-action: none; }
.study-loading[b-wnyfwlnx0z] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(10, 14, 17, .7);
    color: #d1eda4;
    font-size: 1.05rem;
}

.study-notes[b-wnyfwlnx0z] { padding: .35rem 1rem .5rem; border-top: 1px solid #303942; background: #151a1e; }
.study-notes summary[b-wnyfwlnx0z] { cursor: pointer; color: #c8ed96; font-weight: 700; }
.study-notes p[b-wnyfwlnx0z] { margin: .35rem 0 0; color: #a9bdcf; }

@media (max-width: 760px) {
    .study-header[b-wnyfwlnx0z] { align-items: flex-start; }
    .study-header p[b-wnyfwlnx0z] { display: none; }
    .study-actions button span[b-wnyfwlnx0z] { display: none; }
    .study-facts span:nth-child(1)[b-wnyfwlnx0z], .study-facts span:nth-child(2)[b-wnyfwlnx0z] { display: none; }
}
/* /Pages/SurfaceDecals.razor.rz.scp.css */
.decal-lab[b-xuk0nfsuuq] {
    --ink: #e9eadf;
    --muted: #9fa395;
    --panel: rgba(28, 31, 27, .92);
    --line: #3d4439;
    --moss: #a7c46c;
    min-height: 0;
    box-sizing: border-box;
    padding: .5rem .7rem;
    color: var(--ink);
    background:
        radial-gradient(circle at 72% 12%, rgba(111, 133, 69, .16), transparent 28%),
        linear-gradient(145deg, #111411 0%, #181b17 55%, #101310 100%);
    font-family: Inter, "Segoe UI", sans-serif;
}

header[b-xuk0nfsuuq], main[b-xuk0nfsuuq], footer[b-xuk0nfsuuq] { max-width: 1320px; margin-inline: auto; }

header[b-xuk0nfsuuq] { display: flex; align-items: baseline; gap: .75rem; min-width: 0; margin-bottom: .45rem; }
h1[b-xuk0nfsuuq] { flex: 0 0 auto; margin: 0; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1; }
.eyebrow[b-xuk0nfsuuq], .kicker[b-xuk0nfsuuq] { margin: 0 0 8px; color: var(--moss); text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 750; }
.lede[b-xuk0nfsuuq] { min-width: 0; margin: 0; overflow: hidden; color: var(--muted); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.contract-badge[b-xuk0nfsuuq] { display: grid; padding: 12px 16px; border: 1px solid var(--line); background: #181c17; border-radius: 3px; text-align: right; font-size: .78rem; }
.contract-badge span[b-xuk0nfsuuq] { color: var(--muted); }
.contract-badge strong[b-xuk0nfsuuq] { color: var(--moss); }

.decal-fold[b-xuk0nfsuuq] { border: 1px solid var(--line); border-radius: 5px; background: rgba(24,28,23,.78); }
.decal-fold > summary[b-xuk0nfsuuq] { display: flex; align-items: center; gap: .45rem; padding: .48rem .65rem; cursor: pointer; color: #d9e8bd; font-size: .78rem; font-weight: 750; }
.decal-fold > summary small[b-xuk0nfsuuq] { margin-left: auto; color: var(--muted); font-size: .62rem; font-weight: 500; }
.decal-tools-grid[b-xuk0nfsuuq] { display: block; padding: 0 .65rem .65rem; }
.panel[b-xuk0nfsuuq] { border: 1px solid var(--line); border-radius: 5px; background: var(--panel); box-shadow: 0 24px 80px rgba(0, 0, 0, .28); }
.controls-panel[b-xuk0nfsuuq] { padding: 16px; }
.preview-panel[b-xuk0nfsuuq] { padding: 18px; min-width: 0; }
.section-head[b-xuk0nfsuuq] { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
h2[b-xuk0nfsuuq] { margin: 0; font-size: 1.08rem; letter-spacing: -.015em; }
.v1[b-xuk0nfsuuq] { color: #171a15; background: var(--moss); padding: 4px 7px; font-size: .65rem; font-weight: 800; border-radius: 2px; }

label[b-xuk0nfsuuq] { display: block; margin-bottom: 16px; color: #c5c8bc; font-size: .76rem; font-weight: 650; }
select[b-xuk0nfsuuq], input[type=number][b-xuk0nfsuuq] { width: 100%; margin-top: 6px; box-sizing: border-box; border: 1px solid #4a5144; border-radius: 3px; padding: 9px 10px; background: #131612; color: var(--ink); }
output[b-xuk0nfsuuq] { float: right; color: var(--moss); font-variant-numeric: tabular-nums; }
input[type=range][b-xuk0nfsuuq] { width: 100%; margin-top: 8px; accent-color: var(--moss); }
.preset-strip[b-xuk0nfsuuq] { display: flex; flex-wrap: wrap; gap: 5px; margin: -7px 0 17px; }
.preset-strip button[b-xuk0nfsuuq] { padding: 5px 8px; border-color: #4a5144; background: #171a16; color: #aeb3a5; font-size: .65rem; font-weight: 680; }
.preset-strip button.active[b-xuk0nfsuuq] { border-color: var(--moss); background: #2b3422; color: #dce8c4; }
.control-grid[b-xuk0nfsuuq] { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.seed-row[b-xuk0nfsuuq] { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; }
.seed-row label[b-xuk0nfsuuq] { margin-bottom: 0; }
.render-toggles[b-xuk0nfsuuq] { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 2px; }
.render-toggles label[b-xuk0nfsuuq] { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.render-toggles input[b-xuk0nfsuuq] { accent-color: var(--moss); }
button[b-xuk0nfsuuq] { border: 1px solid var(--moss); border-radius: 3px; padding: 9px 13px; background: var(--moss); color: #151812; font-weight: 780; cursor: pointer; }
button.secondary[b-xuk0nfsuuq] { background: transparent; color: var(--moss); }
button:disabled[b-xuk0nfsuuq] { opacity: .45; cursor: default; }

.facts[b-xuk0nfsuuq] { margin: 22px 0 0; border-top: 1px solid var(--line); }
.facts div[b-xuk0nfsuuq] { display: grid; grid-template-columns: 90px 1fr; padding: 8px 0; border-bottom: 1px solid rgba(61, 68, 57, .65); font-size: .72rem; }
.facts dt[b-xuk0nfsuuq] { color: #747b6d; text-transform: uppercase; letter-spacing: .08em; }
.facts dd[b-xuk0nfsuuq] { margin: 0; color: #d4d7cb; }
code[b-xuk0nfsuuq] { color: var(--moss); font-size: .75rem; letter-spacing: .08em; }

.canvas-frame[b-xuk0nfsuuq] { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid #4b5148; border-radius: 3px; background: #2b3028; }
canvas[b-xuk0nfsuuq] { width: 100%; height: 100%; image-rendering: auto; display: block; }
.north[b-xuk0nfsuuq] { position: absolute; right: 14px; top: 12px; color: rgba(255,255,255,.72); font-size: .66rem; font-weight: 900; }
.north[b-xuk0nfsuuq]::after { content: "↑"; display: block; text-align: center; font-size: 1.1rem; }
.scale[b-xuk0nfsuuq] { position: absolute; left: 14px; bottom: 12px; width: 70px; padding-top: 5px; border-top: 2px solid rgba(255,255,255,.7); color: rgba(255,255,255,.72); font-size: .62rem; }
.preview-footer[b-xuk0nfsuuq] { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; }
.preview-footer p[b-xuk0nfsuuq] { margin: 0; max-width: 580px; color: var(--muted); font-size: .72rem; }
.error[b-xuk0nfsuuq] { color: #ff9e8c; font-size: .78rem; }

footer[b-xuk0nfsuuq] { display: flex; gap: 7px; flex-wrap: wrap; margin: 0; padding: 0 .65rem .65rem; color: #777d72; font-size: .68rem; }
footer strong[b-xuk0nfsuuq] { color: #b6baae; }

@media (max-width: 900px) {
}

@media (max-width: 560px) {
    .decal-lab[b-xuk0nfsuuq] { padding: .4rem; }
    .lede[b-xuk0nfsuuq] { display: none; }
    .decal-fold > summary small[b-xuk0nfsuuq] { display: none; }
    .control-grid[b-xuk0nfsuuq] { grid-template-columns: 1fr; }
    .preview-footer[b-xuk0nfsuuq] { align-items: flex-start; flex-direction: column; }
}
/* /Pages/TerrainLab.razor.rz.scp.css */
.descriptor-shell[b-nhxpxdaknc] {
    padding: .55rem .7rem .7rem;
}

.descriptor-header[b-nhxpxdaknc] {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: .35rem .65rem;
    margin-top: .35rem;
}

.descriptor-modules[b-nhxpxdaknc] {
    display: grid;
    grid-template-columns: repeat(3, minmax(210px, 1fr));
    gap: .45rem;
    margin-top: .55rem;
}

.descriptor-module[b-nhxpxdaknc] {
    min-width: 0;
    margin: 0;
    padding: .5rem;
    border: 1px solid #343b43;
    border-left-width: 4px;
    border-radius: .45rem;
    background: #1b1f24;
}

.descriptor-module.shape[b-nhxpxdaknc] { border-left-color: #b88c5a; }
.descriptor-module.biome[b-nhxpxdaknc] { border-left-color: #70a846; }
.descriptor-module.splines[b-nhxpxdaknc] { border-left-color: #4b9ac7; }
.descriptor-module.geomorphology[b-nhxpxdaknc] { border-left-color: #ad7ac7; }
.descriptor-module.props[b-nhxpxdaknc] { border-left-color: #d09c45; }
.descriptor-module.environment[b-nhxpxdaknc] { border-left-color: #7aa6d8; }

.module-marker[b-nhxpxdaknc] {
    display: block;
    margin-bottom: .3rem;
    color: #e7ebef;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.descriptor-module small[b-nhxpxdaknc] {
    display: block;
    min-height: 2.1em;
    margin-top: .3rem;
    color: #8f99a4;
    line-height: 1.25;
}

.module-link[b-nhxpxdaknc] {
    display: inline-block;
    margin-top: .35rem;
    color: #b9d991;
    font-size: .72rem;
    font-weight: 600;
    text-decoration: none;
}

.module-link:hover[b-nhxpxdaknc] { text-decoration: underline; }

.props-loader-fold > summary[b-nhxpxdaknc] {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.props-loader-fold > summary small[b-nhxpxdaknc] {
    margin-left: auto;
    color: #8fa091;
    font-size: .62rem;
    font-weight: 500;
}

.props-loader-body[b-nhxpxdaknc] { padding: .15rem .65rem .65rem; }
.props-package-facts[b-nhxpxdaknc] {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: .4rem;
}

.props-package-facts > span[b-nhxpxdaknc] {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    min-width: 0;
    padding: .45rem;
    border: 1px solid #354238;
    border-radius: .42rem;
    background: #182019;
    cursor: help;
}

.props-package-facts i[b-nhxpxdaknc] {
    grid-row: 1 / 3;
    color: #9bcf68;
    font-style: normal;
    font-size: 1rem;
}

.props-package-facts b[b-nhxpxdaknc] { font-size: .7rem; }
.props-package-facts small[b-nhxpxdaknc] {
    overflow: hidden;
    color: #8fa091;
    font-size: .59rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.props-loader-actions[b-nhxpxdaknc] {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: .45rem;
}

.props-loader-actions .seg[b-nhxpxdaknc] { padding: .38rem .65rem; font-size: .7rem; text-decoration: none; }

.descriptor-result[b-nhxpxdaknc] {
    margin-top: .55rem;
    padding: .55rem .65rem;
    border: 1px solid #344233;
    border-radius: .45rem;
    background: #151a18;
}

.descriptor-result p[b-nhxpxdaknc] {
    margin: .45rem 0 .25rem;
    color: #cbd2d9;
    font-size: .78rem;
    line-height: 1.45;
}

.descriptor-result small[b-nhxpxdaknc] { color: #8f99a4; }

.terrain-authoring-nav[b-nhxpxdaknc] {
    display: flex;
    align-items: stretch;
    gap: .4rem;
    padding: .45rem .65rem;
    border: 1px solid #343b43;
    border-radius: .45rem;
    background: #15191d;
}

.terrain-authoring-nav button[b-nhxpxdaknc] {
    min-width: 10.5rem;
    display: grid;
    gap: .08rem;
    justify-items: start;
    padding: .45rem .65rem;
    border: 1px solid #3a4438;
    border-radius: .4rem;
    background: #252c24;
    color: #bdd39a;
}

.terrain-authoring-nav button.on[b-nhxpxdaknc] {
    border-color: #7eaf3b;
    background: #5f8f26;
    color: #fff;
}

.terrain-authoring-nav button small[b-nhxpxdaknc] {
    color: inherit;
    font-size: .63rem;
    font-weight: 500;
    opacity: .78;
}

.terrain-authoring-nav > span[b-nhxpxdaknc] {
    align-self: center;
    margin-left: auto;
    color: #89948f;
    font-size: .68rem;
}

.volume-tools-grid[b-nhxpxdaknc] {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: .55rem .75rem;
    padding: .4rem .7rem .65rem;
}

.volume-enabled[b-nhxpxdaknc] { align-self: end; min-height: 2rem; }
.volume-representation[b-nhxpxdaknc] { margin-top: .3rem; gap: .3rem; }

.terrain-volume-metrics[b-nhxpxdaknc] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    padding: 0 .7rem .65rem;
}

.terrain-volume-metrics span[b-nhxpxdaknc] {
    padding: .25rem .45rem;
    border-radius: 999px;
    background: #222b25;
    color: #a9b6ad;
    font-size: .68rem;
}

.terrain-volume-metrics b[b-nhxpxdaknc] { color: #e0e8e1; }

.semantic-markers[b-nhxpxdaknc] {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
}

.semantic-markers span[b-nhxpxdaknc] {
    padding: .18rem .45rem;
    border-radius: 999px;
    background: #2c3827;
    color: #b9d991;
    font-size: .7rem;
    font-weight: 600;
}

.lens-slider[b-nhxpxdaknc] {
    width: 12.5rem;
    padding: 0 .15rem;
}

.lens-slider input[type="range"][b-nhxpxdaknc] {
    display: block;
    width: 100%;
    height: .75rem;
    margin: 0;
    accent-color: #77ad2d;
}

.lens-slider-labels[b-nhxpxdaknc] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: .12rem;
    color: #aab79a;
    font-size: .58rem;
    line-height: 1;
    white-space: nowrap;
}

.lens-slider-labels span:nth-child(2)[b-nhxpxdaknc] { text-align: center; }
.lens-slider-labels span:last-child[b-nhxpxdaknc] { text-align: right; }

.descriptor-viewport-toolbar[b-nhxpxdaknc] {
    position: relative;
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .2rem .35rem;
    border: 1px solid #30363d;
    border-radius: .45rem;
    background: #15191d;
}

.icon-group[b-nhxpxdaknc] {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.viewport-icon[b-nhxpxdaknc],
.viewport-settings summary[b-nhxpxdaknc] {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #394238;
    border-radius: .38rem;
    background: #262d25;
    color: #bdd499;
    font: 700 .78rem/1 system-ui, sans-serif;
    cursor: pointer;
}

.viewport-icon:hover[b-nhxpxdaknc],
.viewport-settings summary:hover[b-nhxpxdaknc] {
    border-color: #82b643;
    background: #303a2c;
    color: #fff;
}

.viewport-icon.on[b-nhxpxdaknc] {
    border-color: #8bc34a;
    background: #6f9e2f;
    color: #fff;
}

.toolbar-divider[b-nhxpxdaknc] {
    width: 1px;
    height: 1.55rem;
    background: #3a4148;
}

.compact-lens[b-nhxpxdaknc] {
    width: 7rem;
    margin-left: .15rem;
}

.viewport-settings[b-nhxpxdaknc] {
    position: relative;
    margin-left: auto;
}

.viewport-settings summary[b-nhxpxdaknc] {
    list-style: none;
}

.viewport-settings summary[b-nhxpxdaknc]::-webkit-details-marker { display: none; }

.settings-popover[b-nhxpxdaknc] {
    position: absolute;
    z-index: 20;
    top: calc(100% + .35rem);
    right: 0;
    width: max-content;
    min-width: 17rem;
    padding: .55rem;
    border: 1px solid #454d55;
    border-radius: .45rem;
    background: #171b20;
    box-shadow: 0 .65rem 1.6rem rgba(0,0,0,.45);
}

.settings-popover fieldset[b-nhxpxdaknc] {
    display: flex;
    gap: .3rem;
    margin: 0 0 .45rem;
    padding: .35rem;
    border: 1px solid #323940;
    border-radius: .35rem;
}

.settings-popover fieldset:last-child[b-nhxpxdaknc] { margin-bottom: 0; }

.settings-popover legend[b-nhxpxdaknc] {
    padding: 0 .25rem;
    color: #9ea7b1;
    font-size: .68rem;
}

.settings-popover .seg[b-nhxpxdaknc] {
    padding: .35rem .55rem;
    border-radius: .35rem;
    background: #2a3126;
    color: #b7cf8f;
    font-size: .72rem;
}

.settings-popover .seg.on[b-nhxpxdaknc] {
    background: #6f9e2f;
    color: #fff;
}

@media (max-width: 880px) {
    .descriptor-modules[b-nhxpxdaknc] { grid-template-columns: repeat(2, minmax(190px, 1fr)); }
    .volume-tools-grid[b-nhxpxdaknc] { grid-template-columns: repeat(2, minmax(145px, 1fr)); }
    .terrain-authoring-nav > span[b-nhxpxdaknc] { display: none; }
    .props-package-facts[b-nhxpxdaknc] { grid-template-columns: repeat(2, minmax(130px, 1fr)); }
}

@media (max-width: 560px) {
    .descriptor-header[b-nhxpxdaknc],
    .descriptor-modules[b-nhxpxdaknc] { grid-template-columns: 1fr; }
    .terrain-authoring-nav button[b-nhxpxdaknc] { min-width: 0; flex: 1 1 0; }
    .volume-tools-grid[b-nhxpxdaknc] { grid-template-columns: 1fr 1fr; }
    .props-package-facts[b-nhxpxdaknc] { grid-template-columns: 1fr 1fr; }
    .descriptor-viewport-toolbar[b-nhxpxdaknc] { gap: .25rem; padding-inline: .2rem; }
    .viewport-icon[b-nhxpxdaknc], .viewport-settings summary[b-nhxpxdaknc] { width: 1.8rem; height: 1.8rem; }
    .compact-lens[b-nhxpxdaknc] { display: none; }
}
.nature-benchmark-strip[b-nhxpxdaknc] {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .45rem .75rem;
    border: 1px solid #465c2f;
    border-radius: .45rem;
    background: #182019;
    color: #b9c9d6;
    font-size: .84rem;
}

.nature-benchmark-strip b[b-nhxpxdaknc] { color: #c8ed96; }
.nature-benchmark-strip a[b-nhxpxdaknc] { margin-left: auto; color: #9fd367; }

.nature-benchmark-findings[b-nhxpxdaknc] { margin-top: .35rem; }
.nature-benchmark-grid[b-nhxpxdaknc] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .35rem;
    padding: .55rem .7rem .65rem;
}
.nature-benchmark-grid span[b-nhxpxdaknc] {
    padding: .38rem .48rem;
    border-radius: .35rem;
    background: #161c21;
    color: #b9c9d6;
    font-size: .76rem;
}
.nature-benchmark-grid .pass b[b-nhxpxdaknc] { color: #9fd367; }
.nature-benchmark-grid .gap b[b-nhxpxdaknc] { color: #ffb46b; }

@media (max-width: 900px) {
    .nature-benchmark-grid[b-nhxpxdaknc] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
