:root {
    --ink: #18211d;
    --paper: #f3f0e7;
    --paper-light: #fbfaf5;
    --field: #1e5b3d;
    --deep: #123a29;
    --sprout: #b8d940;
    --clay: #c96638;
    --muted: #69716c;
    --line: rgba(24,33,29,.15);
}
* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 82% 12%, rgba(184,217,64,.14), transparent 25%),
        repeating-linear-gradient(94deg, transparent 0 54px, rgba(30,91,61,.035) 54px 56px),
        var(--paper);
    font-family: "IBM Plex Sans KR", "Malgun Gothic", sans-serif;
}
.topbar {
    min-height: 76px;
    padding: 0 max(24px, calc((100vw - 1380px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand > span { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--field); font-size: 12px; font-weight: 700; }
.brand b, .brand small { display: block; }
.brand b { font-size: 16px; }
.brand small { color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.top-actions { display: flex; align-items: center; gap: 11px; }
.top-actions a { color: var(--ink); font-size: 11px; font-weight: 700; text-decoration: none; }
.top-actions a:hover { color: var(--field); }
.system-state, .service-badge { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 600; }
.system-state i, .service-badge i { width: 7px; height: 7px; border-radius: 50%; background: #9a7e70; }
.system-state.online i, .service-badge.online i { background: var(--sprout); box-shadow: 0 0 0 4px rgba(184,217,64,.15); }
.system-state.running i, .service-badge.running i,
.tool-live-state.running .live-dot {
    background: #ef9f3d;
    box-shadow: 0 0 0 5px rgba(239,159,61,.16);
    animation: status-pulse 1.2s ease-in-out infinite;
}
main, footer { width: min(1380px, calc(100% - 48px)); margin: 0 auto; }
.hero { min-height: 500px; padding: 80px 0 64px; display: flex; flex-direction: column; justify-content: center; }
.overline { margin: 0 0 22px; color: var(--field); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 8vw; align-items: end; }
.hero h1 { margin: 0; font: 700 clamp(56px, 7vw, 100px)/1.04 "Gowun Batang", serif; letter-spacing: -.065em; }
.hero h1 em { color: var(--field); font-style: normal; }
.hero-grid > div { padding-bottom: 8px; }
.hero-grid > div p { margin: 0 0 24px; color: #4f5a54; font-size: 17px; line-height: 1.8; word-break: keep-all; }
.hero-grid > div span { color: var(--clay); font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.featured { margin-bottom: 80px; box-shadow: 0 28px 80px rgba(23,42,32,.13); }
.featured > a { min-height: 390px; display: grid; grid-template-columns: 1.05fr .95fr; color: white; background: var(--deep); text-decoration: none; overflow: hidden; }
.feature-copy { padding: 54px; display: flex; flex-direction: column; align-items: flex-start; }
.feature-copy .overline { color: var(--sprout); }
.feature-copy h2 { margin: 0; font: 700 clamp(40px, 5vw, 67px)/1.1 "Gowun Batang", serif; letter-spacing: -.04em; }
.feature-copy > p:not(.overline) { max-width: 590px; margin: 22px 0 30px; color: rgba(255,255,255,.65); line-height: 1.75; }
.launch { margin-top: auto; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.5); font-size: 12px; font-weight: 700; }
.launch b { margin-left: 16px; color: var(--sprout); }
.feature-graphic { position: relative; min-height: 390px; overflow: hidden; background: #286348; }
.field-lines { position: absolute; inset: -20%; background: repeating-linear-gradient(104deg, transparent 0 21px, rgba(184,217,64,.22) 22px 25px); transform: rotate(-9deg); }
.field-lines::after { content: ""; position: absolute; inset: 20% 15%; border: 1px solid rgba(255,255,255,.36); transform: rotate(5deg); }
.spectrum { position: absolute; left: 28px; right: 28px; bottom: 28px; display: grid; grid-template-columns: repeat(5, 1fr); box-shadow: 0 14px 40px rgba(0,0,0,.2); }
.spectrum span { height: 50px; display: grid; place-items: center; color: white; font-size: 10px; font-weight: 700; }
.spectrum span:nth-child(1) { background: #4774aa; }
.spectrum span:nth-child(2) { background: #3d8756; }
.spectrum span:nth-child(3) { background: #a94a3f; }
.spectrum span:nth-child(4) { background: #8d6747; }
.spectrum span:nth-child(5) { background: #3a3936; }
.feature-graphic .service-badge { position: absolute; top: 28px; right: 28px; padding: 9px 13px; color: white; background: rgba(18,58,41,.76); backdrop-filter: blur(8px); }
.services { padding-bottom: 90px; }
.section-head { margin-bottom: 24px; padding-bottom: 22px; display: flex; justify-content: space-between; align-items: end; gap: 30px; border-bottom: 1px solid var(--ink); }
.section-head h2 { margin: 0; font: 700 clamp(34px, 4vw, 52px)/1.1 "Gowun Batang", serif; }
.section-head > p { max-width: 530px; margin: 0; color: var(--muted); font-size: 13px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 310px; padding: 25px; display: flex; flex-direction: column; color: var(--ink); background: rgba(251,250,245,.74); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
.service-card:hover { z-index: 2; transform: translateY(-5px); background: var(--paper-light); box-shadow: 0 20px 55px rgba(23,42,32,.12); }
.service-card header { display: flex; justify-content: space-between; color: var(--muted); font: 600 10px/1 monospace; }
.service-card > div { margin: auto 0; }
.service-card small { color: var(--field); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.service-card h3 { margin: 11px 0 12px; font: 700 25px/1.25 "Gowun Batang", serif; }
.service-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.service-card em { color: var(--clay); font-size: 10px; font-style: normal; font-weight: 700; }
.service-card.forest { box-shadow: inset 0 4px 0 #2e7650; }
.service-card.forest-light { box-shadow: inset 0 4px 0 #78a45f; }
.service-card.vision { box-shadow: inset 0 4px 0 #4774aa; }
.service-card.facility { box-shadow: inset 0 4px 0 #c96638; }
.service-card.spatial { box-shadow: inset 0 4px 0 #8d6747; }
.service-card.spatial-light { box-shadow: inset 0 4px 0 #6e6b65; }
footer { padding: 28px 0 44px; display: flex; justify-content: space-between; border-top: 1px solid var(--ink); color: var(--muted); font-size: 10px; }
footer span { color: var(--field); font-weight: 700; letter-spacing: .15em; }
footer p { margin: 0; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .featured > a { grid-template-columns: 1fr; }
    .feature-graphic { min-height: 280px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    main, footer { width: min(100% - 24px, 560px); }
    .topbar { padding: 0 14px; }
    .hero { min-height: 430px; padding: 54px 0; }
    .hero h1 { font-size: clamp(47px, 15vw, 64px); }
    .feature-copy { padding: 32px 24px; }
    .section-head, footer { align-items: flex-start; flex-direction: column; }
    .service-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}

/* Shared analysis workspace */
.back-link {
    padding-bottom: 4px;
    color: var(--field);
    border-bottom: 1px solid var(--field);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}
.tool-main { padding: 54px 0 90px; }
.tool-hero {
    min-height: 270px;
    padding: 54px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: end;
    color: white;
    background:
        linear-gradient(112deg, rgba(255,255,255,.04), transparent 46%),
        var(--deep);
    overflow: hidden;
    position: relative;
}
.tool-hero::after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    right: -170px;
    top: -210px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    box-shadow: 0 0 0 48px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.02);
}
.accent-forest .tool-hero { background-color: #174f35; }
.accent-forest-light .tool-hero { background-color: #496c3d; }
.accent-vision .tool-hero { background-color: #2f547b; }
.accent-facility .tool-hero { background-color: #8b492c; }
.accent-spatial .tool-hero { background-color: #674934; }
.accent-spatial-light .tool-hero { background-color: #545552; }
.tool-hero .overline { color: var(--sprout); }
.tool-hero h1 {
    margin: 0;
    font: 700 clamp(43px, 5vw, 72px)/1.08 "Gowun Batang", serif;
    letter-spacing: -.05em;
}
.tool-hero > div > p:last-child {
    max-width: 720px;
    margin: 20px 0 0;
    color: rgba(255,255,255,.7);
    font-size: 15px;
    line-height: 1.8;
}
.tool-live-state {
    z-index: 1;
    min-width: 260px;
    padding: 17px 19px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(10,30,22,.35);
    backdrop-filter: blur(10px);
}
.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #9a7e70;
}
.tool-live-state.online .live-dot { background: var(--sprout); box-shadow: 0 0 0 5px rgba(184,217,64,.14); }
.tool-live-state b, .tool-live-state small { display: block; }
.tool-live-state b { font-size: 12px; }
.tool-live-state small { margin-top: 4px; color: rgba(255,255,255,.55); font-size: 9px; }
.tool-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    border: 1px solid var(--line);
    border-top: 0;
    background: rgba(251,250,245,.82);
}
.upload-panel, .progress-panel { min-height: 500px; padding: 42px; }
.upload-panel { border-right: 1px solid var(--line); }
.panel-number {
    margin-bottom: 31px;
    color: var(--clay);
    font: 700 9px/1 "IBM Plex Sans KR", sans-serif;
    letter-spacing: .18em;
}
.upload-panel h2, .progress-panel h2, .results-head h2 {
    margin: 0;
    font: 700 31px/1.2 "Gowun Batang", serif;
}
.upload-panel > p {
    max-width: 650px;
    margin: 14px 0 25px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.75;
}
.drop-zone {
    min-height: 166px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--field);
    border: 1px dashed rgba(30,91,61,.5);
    background:
        repeating-linear-gradient(135deg, transparent 0 14px, rgba(30,91,61,.025) 14px 15px),
        rgba(184,217,64,.05);
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.drop-zone:hover { border-color: var(--field); background-color: rgba(184,217,64,.11); }
.drop-zone.is-dragging { border-color: var(--field); background-color: rgba(184,217,64,.18); }
.drop-mark { margin-bottom: 9px; font: 300 30px/1 sans-serif; }
.drop-zone strong { font-size: 13px; }
.drop-zone small { margin-top: 7px; color: var(--muted); font-size: 9px; }
.file-list {
    max-height: 155px;
    margin: 14px 0;
    overflow: auto;
    border-top: 1px solid var(--line);
}
.file-list > span {
    min-height: 37px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    font-size: 10px;
}
.file-list b { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list small { flex: none; }
.inline-error {
    margin: 12px 0;
    padding: 13px 15px;
    color: #882f28;
    border-left: 3px solid #b84b40;
    background: rgba(184,75,64,.08);
    font-size: 11px;
    line-height: 1.6;
}
.primary-action {
    width: 100%;
    min-height: 49px;
    margin-top: 7px;
    color: white;
    border: 0;
    background: var(--field);
    font: 700 11px/1 "IBM Plex Sans KR", sans-serif;
    cursor: pointer;
}
.primary-action:hover { background: var(--deep); }
.primary-action:disabled { cursor: wait; opacity: .5; }
.progress-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.progress-head > span {
    padding: 7px 9px;
    color: var(--muted);
    border: 1px solid var(--line);
    font: 600 9px/1 monospace;
}
.progress-steps { margin: 39px 0 0; padding: 0; list-style: none; }
.progress-steps li {
    min-height: 74px;
    display: grid;
    grid-template-columns: 37px 1fr;
    gap: 15px;
    align-items: start;
    color: #8a918d;
    position: relative;
}
.progress-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 17px;
    top: 34px;
    bottom: 0;
    width: 1px;
    background: var(--line);
}
.progress-steps i {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    font: 700 9px/1 monospace;
    font-style: normal;
}
.progress-steps span { padding-top: 8px; font-size: 11px; line-height: 1.65; }
.progress-steps li.active { color: var(--field); font-weight: 700; }
.progress-steps li.active i { color: white; border-color: var(--field); background: var(--field); animation: status-pulse 1.2s ease-in-out infinite; }
.progress-steps li.done { color: var(--ink); }
.progress-steps li.done i { color: var(--deep); border-color: var(--sprout); background: var(--sprout); }
.progress-steps li.error { color: #a23931; }
.progress-steps li.error i { color: white; border-color: #a23931; background: #a23931; }
.progress-foot {
    margin-top: 8px;
    padding: 15px 0 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 10px;
}
.results-panel {
    margin-top: 40px;
    padding: 42px;
    border: 1px solid var(--line);
    background: rgba(251,250,245,.86);
    scroll-margin-top: 20px;
}
.results-head {
    margin-bottom: 26px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}
.results-head .overline { margin-bottom: 9px; }
.text-action {
    padding: 9px 0 5px;
    color: var(--field);
    border: 0;
    border-bottom: 1px solid var(--field);
    background: transparent;
    font: 700 10px/1 "IBM Plex Sans KR", sans-serif;
    text-decoration: none;
    cursor: pointer;
}
.result-summary {
    margin-bottom: 18px;
    padding: 17px 19px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: white;
    background: var(--deep);
    font-size: 11px;
}
.result-summary span { color: rgba(255,255,255,.65); }
.result-card { margin-top: 18px; padding: 21px; border: 1px solid var(--line); background: var(--paper-light); }
.result-card__head { margin-bottom: 17px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.result-card__head h3 { margin: 3px 0 0; font-size: 13px; }
.result-card__head strong { color: var(--field); font-size: 12px; }
.result-index { color: var(--muted); font-size: 8px; letter-spacing: .12em; }
.image-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.image-pair > div, .image-pair figure { min-width: 0; margin: 0; }
.image-pair h3, .image-pair figcaption {
    min-height: 34px;
    margin: 0;
    padding: 10px 12px;
    color: white;
    background: var(--deep);
    font-size: 10px;
    font-weight: 600;
}
.image-pair img {
    width: 100% !important;
    height: min(420px, 32vw);
    display: block;
    border: 1px solid var(--line);
    object-fit: contain;
    background: #101713;
}
.image-pair ul { font-size: 11px; line-height: 1.8; }
.viewer-shell {
    min-height: 580px;
    position: relative;
    display: block;
    overflow: hidden;
    color: rgba(255,255,255,.5);
    background: #16231d;
    font-size: 11px;
}
.viewer-stage { position: absolute; inset: 0; }
.viewer-stage canvas { width: 100%; height: 100%; display: block; }
.viewer-status {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-content: center;
    gap: 8px;
    text-align: center;
    pointer-events: none;
}
.viewer-status i {
    width: 18px;
    height: 18px;
    margin: 0 auto;
    border: 2px solid rgba(255,255,255,.18);
    border-top-color: var(--sprout);
    border-radius: 50%;
    animation: viewer-spin .8s linear infinite;
}
.viewer-status.error { color: #f0c5bb; }
.viewer-status[hidden] { display: none; }
.viewer-status.error i { display: none; }
.viewer-status small { display: block; color: rgba(255,255,255,.45); }
.viewer-controls {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    min-height: 48px;
    padding: 9px 11px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.76);
    background: rgba(11,25,19,.82);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(9px);
}
.viewer-controls[hidden] { display: none; }
.viewer-metadata { margin-right: auto; font-size: 10px; }
.viewer-controls label { display: flex; align-items: center; gap: 8px; font-size: 9px; white-space: nowrap; }
.viewer-controls input { width: 90px; accent-color: var(--sprout); }
.viewer-controls button {
    padding: 8px 10px;
    color: white;
    border: 1px solid rgba(255,255,255,.22);
    background: transparent;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}
.viewer-controls button:hover { color: var(--deep); background: var(--sprout); border-color: var(--sprout); }
.viewer-error { text-align: center; color: #f0c5bb; }
.viewer-error small { display: block; margin-top: 8px; color: rgba(255,255,255,.45); }

@keyframes viewer-spin { to { transform: rotate(360deg); } }
@keyframes status-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(.78); }
}
@media (max-width: 900px) {
    .tool-hero, .tool-layout { grid-template-columns: 1fr; }
    .tool-live-state { min-width: 0; }
    .upload-panel { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
    .tool-main { padding-top: 18px; }
    .tool-hero, .upload-panel, .progress-panel, .results-panel { padding: 28px 20px; }
    .tool-hero h1 { font-size: 42px; }
    .image-pair { grid-template-columns: 1fr; }
    .image-pair img { height: 300px; }
    .result-summary, .results-head { align-items: flex-start; flex-direction: column; }
    .viewer-shell { min-height: 420px; }
    .viewer-controls { align-items: stretch; flex-wrap: wrap; }
    .viewer-metadata { width: 100%; }
}

/* 2026 interface refresh */
:root {
    --ink: #17211d;
    --paper: #f5f7f5;
    --paper-light: #ffffff;
    --field: #16704a;
    --deep: #102e22;
    --sprout: #73d69d;
    --clay: #d46d45;
    --muted: #6e7b74;
    --line: rgba(17, 38, 28, .10);
    --font-ui: "Noto Sans KR", "Malgun Gothic", sans-serif;
    --font-display: "Manrope", "Noto Sans KR", sans-serif;
    --soft-shadow: 0 20px 60px rgba(20, 53, 36, .08);
}

html { scroll-behavior: smooth; }
body {
    background:
        radial-gradient(circle at 90% 0%, rgba(63, 162, 108, .10), transparent 28rem),
        var(--paper);
    font-family: var(--font-ui);
    line-height: 1.6;
}
button, input, select, textarea { font-family: inherit; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: 70px;
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}
.brand > span {
    border-radius: 11px;
    background: linear-gradient(145deg, #198154, #105d3d);
    box-shadow: 0 8px 20px rgba(22, 112, 74, .18);
}
.brand b { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; }
.brand small { font-family: var(--font-display); }
.top-actions { gap: 18px; }
.top-actions a {
    color: #536159;
    font-size: 11px;
    transition: color .18s ease;
}
.top-actions .admin-link {
    padding: 8px 11px;
    color: #17633f;
    border-radius: 999px;
    background: #edf7f1;
}
.local-only {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #6c7871;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}
.local-only i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #27a867;
    box-shadow: 0 0 0 4px rgba(39, 168, 103, .10);
}
.system-state {
    padding: 8px 11px;
    border: 1px solid rgba(17, 38, 28, .08);
    border-radius: 999px;
    background: #f8faf8;
}

/* Hub */
.hub-main {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}
.hub-hero {
    min-height: 660px;
    padding: 72px 0 82px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 7vw;
    align-items: center;
}
.hero-kicker,
.section-kicker {
    color: #647269;
    font: 700 10px/1 var(--font-display);
    letter-spacing: .12em;
}
.hero-kicker span {
    margin-right: 9px;
    padding: 6px 8px;
    color: white;
    border-radius: 6px;
    background: var(--field);
}
.hub-hero h1 {
    margin: 27px 0 23px;
    font: 800 clamp(50px, 6.2vw, 82px)/1.07 var(--font-display);
    letter-spacing: -.065em;
}
.hub-hero h1 em {
    color: var(--field);
    font-style: normal;
}
.hub-hero__copy > p {
    max-width: 640px;
    margin: 0;
    color: #617068;
    font-size: 16px;
    line-height: 1.85;
    word-break: keep-all;
}
.hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 9px;
}
.primary-cta,
.secondary-cta {
    min-height: 48px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.primary-cta {
    color: white;
    background: var(--field);
    box-shadow: 0 12px 26px rgba(22, 112, 74, .20);
}
.primary-cta:hover { background: #105d3d; }
.secondary-cta {
    color: #304039;
    border: 1px solid var(--line);
    background: white;
}
.hero-facts {
    margin-top: 31px;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: #7b8881;
    font-size: 10px;
}
.hero-facts b {
    margin-right: 5px;
    color: #26352e;
    font: 800 12px var(--font-display);
}
.status-console {
    overflow: hidden;
    color: white;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(115, 214, 157, .17), transparent 15rem),
        #102e22;
    box-shadow: 0 32px 80px rgba(11, 39, 27, .20);
}
.status-console > header {
    min-height: 66px;
    padding: 0 23px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.status-console > header > div { display: flex; align-items: center; gap: 9px; }
.status-console > header b { font: 700 11px var(--font-display); }
.status-console > header small { color: rgba(255,255,255,.45); font-size: 9px; }
.live-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sprout);
    box-shadow: 0 0 0 5px rgba(115, 214, 157, .12);
}
.console-feature { padding: 36px 34px 31px; }
.console-feature > span {
    color: var(--sprout);
    font: 700 9px var(--font-display);
    letter-spacing: .12em;
}
.console-feature h2 {
    margin: 12px 0 13px;
    font: 800 29px/1.25 var(--font-display);
    letter-spacing: -.035em;
}
.console-feature p {
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: 12px;
    line-height: 1.75;
}
.console-feature a {
    margin-top: 27px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}
.console-feature a b { color: var(--sprout); }
.console-services {
    padding: 17px 23px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,.09);
    background: rgba(0,0,0,.09);
}
.console-services span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.48);
    font-size: 9px;
}
.console-services i,
.card-state i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #90786c;
}
.console-services span.online { color: rgba(255,255,255,.82); }
.console-services span.online i,
.card-state.online i { background: var(--sprout); }
.console-services span.running i,
.card-state.running i {
    background: #ffc86d;
    animation: status-pulse 1.2s ease-in-out infinite;
}
.tool-catalog { padding: 26px 0 90px; scroll-margin-top: 84px; }
.catalog-head {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
}
.catalog-head h2 {
    margin: 11px 0 0;
    font: 800 clamp(31px, 4vw, 46px)/1.2 var(--font-display);
    letter-spacing: -.045em;
}
.catalog-head > p {
    max-width: 500px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}
.featured-tool {
    position: relative;
    min-height: 270px;
    padding: 38px;
    display: grid;
    grid-template-columns: 54px 1fr 330px;
    gap: 28px;
    align-items: center;
    color: white;
    border-radius: 22px;
    background: linear-gradient(125deg, #174d37, #0f3426);
    box-shadow: var(--soft-shadow);
    text-decoration: none;
}
.featured-tool__index {
    align-self: start;
    color: var(--sprout);
    font: 700 11px var(--font-display);
}
.featured-tool__copy > span {
    color: var(--sprout);
    font: 700 9px var(--font-display);
    letter-spacing: .12em;
}
.featured-tool__copy h3 {
    margin: 11px 0 12px;
    font: 800 35px/1.2 var(--font-display);
    letter-spacing: -.04em;
}
.featured-tool__copy p {
    max-width: 570px;
    margin: 0;
    color: rgba(255,255,255,.59);
    font-size: 12px;
    line-height: 1.75;
}
.featured-tool__copy > b {
    margin-top: 24px;
    display: block;
    font-size: 11px;
}
.band-visual {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: hidden;
    border-radius: 13px;
    box-shadow: 0 18px 40px rgba(0,0,0,.16);
}
.band-visual span {
    height: 90px;
    display: grid;
    place-items: center;
    font: 700 9px var(--font-display);
}
.band-visual span:nth-child(1) { background: #4779b8; }
.band-visual span:nth-child(2) { background: #398456; }
.band-visual span:nth-child(3) { background: #ad4e46; }
.band-visual span:nth-child(4) { background: #95694b; }
.band-visual span:nth-child(5) { background: #343836; }
.card-state {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #77837d;
    font-size: 9px;
    font-weight: 700;
}
.featured-tool > .card-state {
    position: absolute;
    top: 23px;
    right: 25px;
    color: rgba(255,255,255,.65);
}
.tool-grid {
    margin-top: 13px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}
.tool-card {
    min-height: 300px;
    padding: 23px;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 32px rgba(20, 53, 36, .04);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tool-card:hover {
    transform: translateY(-4px);
    border-color: rgba(22,112,74,.25);
    box-shadow: var(--soft-shadow);
}
.tool-card header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #79857f;
    font: 700 8px var(--font-display);
    letter-spacing: .09em;
}
.tool-icon {
    width: 43px;
    height: 43px;
    margin: auto 0 18px;
    display: grid;
    place-items: center;
    color: #17633f;
    border-radius: 13px;
    background: #e9f5ee;
    font: 800 11px var(--font-display);
}
.tone-vision .tool-icon { color: #315f83; background: #e9f1f8; }
.tone-facility .tool-icon { color: #93502f; background: #f9ece5; }
.tone-spatial .tool-icon,
.tone-point .tool-icon { color: #665b82; background: #f0edf7; }
.tool-card h3 {
    margin: 0 0 10px;
    font: 800 20px/1.3 var(--font-display);
    letter-spacing: -.025em;
}
.tool-card p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}
.tool-card footer {
    margin-top: 23px;
    padding: 0;
    display: flex;
    justify-content: space-between;
    color: #526159;
    border: 0;
    font-size: 10px;
    font-weight: 700;
}
.tool-card footer b { color: var(--field); }
.usage-flow {
    margin-bottom: 84px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: 19px;
    background: rgba(255,255,255,.65);
    overflow: hidden;
}
.usage-flow > div {
    min-height: 160px;
    padding: 27px;
    border-right: 1px solid var(--line);
}
.usage-flow > div:last-child { border-right: 0; }
.usage-flow span {
    color: var(--field);
    font: 700 10px var(--font-display);
}
.usage-flow b {
    margin: 24px 0 7px;
    display: block;
    font-size: 14px;
}
.usage-flow p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.65;
}
.hub-footer {
    width: min(1240px, calc(100% - 48px));
    min-height: 100px;
    margin: 0 auto;
    padding: 24px 0;
    align-items: center;
    border-top: 1px solid var(--line);
}
.hub-footer .brand > span { width: 36px; height: 36px; }

/* Shared tool workspaces */
.tool-page main { width: min(1240px, calc(100% - 48px)); }
.tool-main { padding: 38px 0 82px; }
.tool-hero {
    min-height: 250px;
    padding: 45px;
    border-radius: 21px 21px 0 0;
    background-image: radial-gradient(circle at 92% 0%, rgba(255,255,255,.12), transparent 19rem);
}
.tool-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(39px, 5vw, 62px);
    font-weight: 800;
    letter-spacing: -.05em;
}
.tool-hero > div > p:last-child { font-size: 13px; }
.tool-live-state { border-radius: 13px; }
.tool-layout {
    border-radius: 0 0 21px 21px;
    background: white;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
}
.upload-panel, .progress-panel { min-height: 460px; padding: 38px; }
.progress-panel { background: #f7f9f7; }
.upload-panel h2, .progress-panel h2, .results-head h2 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -.035em;
}
.drop-zone { border-radius: 14px; background-color: #f5faf7; }
.primary-action { border-radius: 11px; transition: background .18s ease, transform .18s ease; }
.primary-action:hover:not(:disabled) { transform: translateY(-1px); }
.progress-steps i { border-radius: 11px; }
.results-panel {
    border-radius: 20px;
    background: white;
    box-shadow: var(--soft-shadow);
}
.result-summary, .result-card, .viewer-shell { border-radius: 13px; }
.back-link { border-bottom: 0; }

@media (max-width: 940px) {
    .hub-hero { grid-template-columns: 1fr; min-height: 0; gap: 50px; }
    .featured-tool { grid-template-columns: 42px 1fr; }
    .band-visual { display: none; }
    .tool-grid { grid-template-columns: repeat(2, 1fr); }
    .catalog-head { align-items: start; flex-direction: column; }
}
@media (max-width: 640px) {
    .topbar { padding: 0 14px; }
    .top-actions > a:not(.admin-link) { display: none; }
    .system-state { padding: 7px 9px; }
    .hub-main, .hub-footer, .tool-page main { width: min(100% - 24px, 560px); }
    .hub-hero { padding: 48px 0 62px; }
    .hub-hero h1 { font-size: clamp(44px, 13vw, 59px); }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-facts { gap: 13px; }
    .console-services { grid-template-columns: repeat(3, 1fr); }
    .featured-tool { padding: 27px 22px; grid-template-columns: 1fr; }
    .featured-tool__index { display: none; }
    .featured-tool__copy h3 { font-size: 29px; }
    .tool-grid, .usage-flow { grid-template-columns: 1fr; }
    .tool-card { min-height: 260px; }
    .usage-flow > div { min-height: 135px; border-right: 0; border-bottom: 1px solid var(--line); }
    .usage-flow > div:last-child { border-bottom: 0; }
    .hub-footer { align-items: flex-start; }
    .tool-hero, .upload-panel, .progress-panel, .results-panel { padding: 27px 20px; }
}
