:root{--ink:#16221f;--muted:#6f7d77;--paper:#f4f2ec;--panel:#fbfaf6;--line:#d9ddd6;--green:#174f40;--green2:#317865;--lime:#b8d36a;--orange:#db7149;--blue:#5e8f99;--shadow:0 12px 35px #19362d18}*{box-sizing:border-box}html,body{height:100%;margin:0}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);overflow:hidden}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:#fbfaf7;border-bottom:1px solid var(--line);position:relative;z-index:5}.brand{display:flex;gap:12px;align-items:center;color:inherit;text-decoration:none}.brand-icon{width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 2px 4px #173d3026)}.brand-title{display:block}.brand strong{font-family:Georgia,serif;font-size:25px;line-height:20px}.brand small{display:block;font-size:9px;letter-spacing:.18em;color:var(--muted);margin-top:5px}.author-credit{display:flex;flex-direction:column;justify-content:center;margin-left:7px;padding-left:16px;border-left:1px solid var(--line);min-width:190px}.author-credit b{font-size:11px;line-height:1.2}.author-credit small{font-size:9px!important;letter-spacing:.06em!important;margin-top:4px!important}.brand-mark{width:34px;height:38px;position:relative;display:block}.brand-mark i{position:absolute;left:0;width:32px;height:8px;border-radius:50%;border-top:3px solid var(--green);transform:rotate(-13deg)}.brand-mark i:nth-child(1){top:4px}.brand-mark i:nth-child(2){top:14px;width:27px;left:5px}.brand-mark i:nth-child(3){top:24px;width:20px;left:10px}.project-actions{display:flex;align-items:center;gap:8px}.button,.icon-button,button{font:inherit}.button{border:1px solid var(--line);background:#fff;color:var(--ink);padding:10px 15px;border-radius:7px;font-size:13px;font-weight:650;cursor:pointer;transition:.2s}.button:hover{border-color:#9aa9a2;transform:translateY(-1px)}.button.primary{color:#fff;background:var(--green);border-color:var(--green)}.button.large{padding:13px 20px}.icon-button{font-size:20px;border:1px solid var(--line);border-radius:7px;padding:5px 11px;cursor:pointer}.workspace{height:calc(100vh - 72px);display:grid;grid-template-columns:260px minmax(420px,1fr) 294px}.sidebar{background:var(--panel);overflow-y:auto;position:relative;z-index:2}.left-panel{border-right:1px solid var(--line);padding:21px 17px}.right-panel{border-left:1px solid var(--line);padding:21px 18px}.sidebar section{padding:0 3px 21px;margin-bottom:21px;border-bottom:1px solid var(--line)}.eyebrow{font-size:10px;line-height:1.2;letter-spacing:.16em;font-weight:800;color:#708079;margin:0 0 9px}.left-panel h1{font-family:Georgia,serif;font-size:22px;margin:0 0 10px}.meta{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.status-dot{width:7px;height:7px;background:#bbc4bf;border-radius:50%}.status-dot.ready{background:#72a35e;box-shadow:0 0 0 3px #72a35e20}.layer{display:grid;grid-template-columns:32px 1fr 24px;align-items:center;padding:9px 7px;border-radius:7px;margin:3px 0}.layer.active{background:#e8eee9}.layer-icon{width:27px;height:27px;border-radius:5px;display:grid;place-items:center;color:#fff}.points{background:var(--green2)}.photos{background:var(--orange)}.planes{background:#8f755b}.horizons{background:var(--blue)}.topography{background:linear-gradient(135deg,#1759c7,#53c9df,#f7f5e8,#f5d547,#d43b2f)}.layer strong,.layer small{display:block}.layer strong{font-size:12px}.layer small{font-size:10px;color:var(--muted);margin-top:2px}.layer button{border:0;background:none;color:#61716a;cursor:pointer}.layer button.off{opacity:.3}.section-title{display:flex;align-items:center;justify-content:space-between}.section-title label,.section-title button{border:0;background:none;color:var(--green);font-weight:700;cursor:pointer}.photo-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.photo-strip img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:5px;border:2px solid transparent;cursor:pointer}.empty-copy{font-size:11px;line-height:1.5;color:var(--muted);grid-column:1/-1}.render-control{display:block;margin:14px 4px 0;padding-top:13px;border-top:1px solid var(--line)}.render-control span{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.render-control b{color:var(--ink)}.render-control input{padding:0;margin-top:8px;accent-color:var(--green)}.help-card{display:flex!important;gap:10px;background:#eef0e8;border:0!important;padding:12px!important;border-radius:8px}.help-card>span{width:22px;height:22px;border-radius:50%;background:var(--green);color:white;display:grid;place-items:center;font-weight:bold}.help-card strong{font-size:11px}.help-card p{font-size:10px;line-height:1.4;color:var(--muted);margin:3px 0}.viewer{position:relative;background:#e9e8e1;overflow:hidden;min-width:0}.viewer:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#29473c0c 1px,transparent 1px),linear-gradient(90deg,#29473c0c 1px,transparent 1px);background-size:36px 36px;pointer-events:none}#meshscene,#glscene,#scene{position:absolute;inset:0;width:100%;height:100%;display:block}#meshscene{display:none;z-index:1}#glscene{z-index:1}#scene{z-index:2;cursor:grab}#scene:active{cursor:grabbing}.viewer-empty{z-index:4;position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:radial-gradient(circle at center,#f8f7f2 0,#e9e8e1 60%);padding:20px}.viewer-empty.hidden{display:none}.viewer-empty h2{font:34px/1.1 Georgia,serif;margin:0 0 12px;max-width:480px}.viewer-empty>p:not(.eyebrow){font-size:13px;color:var(--muted);max-width:430px;line-height:1.55;margin:0 0 23px}.empty-graphic{height:86px;width:150px;position:relative;margin-bottom:5px}.empty-graphic span{position:absolute;left:15px;width:120px;height:45px;border-top:4px solid var(--green);border-radius:50%;transform:rotate(-8deg)}.empty-graphic span:nth-child(1){top:10px}.empty-graphic span:nth-child(2){top:28px;width:105px;left:30px;border-color:var(--green2)}.empty-graphic span:nth-child(3){top:47px;width:75px;left:53px;border-color:var(--lime)}.sample-link{border:0;background:none;color:var(--green);font-size:12px;font-weight:700;margin-top:13px;cursor:pointer}.sample-credit{display:block;margin-top:7px;color:#87938e;font-size:9px}.tool-rail{z-index:5;position:absolute;left:17px;top:17px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:5px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:3px}.tool{border:0;background:transparent;width:48px;height:48px;border-radius:6px;color:#596963;font-size:20px;cursor:pointer}.tool span{display:block;font-size:8px;margin-top:2px}.section-tool-icon{display:block;width:28px;height:18px;margin:0 auto 2px;overflow:visible}.section-tool-icon path{stroke:currentColor;stroke-width:2;fill:none}.section-tool-icon circle{fill:currentColor}.tool.active{background:var(--green);color:#fff}.view-controls{z-index:5;position:absolute;right:17px;top:17px;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:var(--shadow)}.view-controls button{width:44px;height:34px;border:0;border-bottom:1px solid var(--line);background:#fff;cursor:pointer}.vertical-exaggeration{display:grid;justify-items:center;gap:3px;padding:5px 3px 6px;font-size:9px;font-weight:800;color:var(--green)}.vertical-exaggeration-stepper{display:grid;grid-template-columns:26px 38px 26px;align-items:stretch;gap:2px}.view-controls .vertical-exaggeration-stepper button{width:26px;height:29px;padding:0;border:1px solid var(--line);border-radius:5px;background:#f6f7f3;color:var(--green);font-size:18px;font-weight:800;line-height:1;cursor:pointer}.vertical-exaggeration input{width:38px;min-width:0;border:1px solid var(--line);border-radius:4px;padding:3px 1px;text-align:center;font-size:11px;color:var(--ink);background:#fff;-moz-appearance:textfield}.vertical-exaggeration input::-webkit-inner-spin-button,.vertical-exaggeration input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}#axisCompass{position:absolute;z-index:6;right:18px;bottom:39px;width:92px;height:92px;pointer-events:none}.viewer-footer{z-index:5;position:absolute;bottom:0;left:0;right:0;height:30px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;background:#fbfaf6dc;border-top:1px solid var(--line);font:10px ui-monospace,monospace;color:#63716c}.inspector-head{display:flex;align-items:start;justify-content:space-between}.inspector-head h2{font:23px Georgia,serif;margin:0}.inspector-head button{border:0;background:none;font-size:22px;color:var(--muted)}.instruction-card{display:flex;gap:10px;background:#eef1ea;padding:13px!important;border:0!important;border-radius:8px}.step-number{font:18px Georgia,serif;color:var(--green2)}.instruction-card strong{font-size:12px}.instruction-card p{font-size:10px;color:var(--muted);line-height:1.45;margin:4px 0}.color-control{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);margin:7px 0 10px}.color-control input{width:40px;height:28px;padding:2px;border:1px solid var(--line);border-radius:5px;background:#fff}.selection-stats{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:7px;margin:8px 0 10px}.selection-stats div{padding:10px;border-right:1px solid var(--line)}.selection-stats div:last-child{border:0}.selection-stats strong,.selection-stats span{display:block}.selection-stats strong{font:22px Georgia,serif}.selection-stats span{font-size:8px;letter-spacing:.12em;color:var(--muted)}.selected-list{max-height:90px;overflow:auto}.selected-item{display:flex;justify-content:space-between;font:10px ui-monospace,monospace;padding:5px;border-bottom:1px solid #eee}.wide{width:100%;margin-top:9px}.button:disabled{opacity:.4;cursor:not-allowed;transform:none}.orientation{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.orientation div{background:var(--green);color:#fff;padding:12px;border-radius:7px}.orientation span{display:block;font-size:8px;letter-spacing:.12em;opacity:.7}.orientation strong{font:23px Georgia,serif}.result-row{display:flex;justify-content:space-between;font-size:11px;padding:7px 0;border-bottom:1px solid var(--line)}.interpretation-item{padding:10px;border:1px solid var(--line);border-radius:7px;margin:7px 0;background:#fff}.interpretation-item div{display:flex;justify-content:space-between}.interpretation-item strong{font-size:11px;display:flex;align-items:center;gap:6px}.interpretation-color{width:9px;height:9px;border-radius:50%;display:inline-block}.interpretation-item span{font:10px ui-monospace,monospace;color:var(--muted)}.interpretation-item button{border:0;background:none;color:#60726a;cursor:pointer}.interpretation-item button.off{opacity:.35}.interpretation-item button[data-delete]{color:#a95040}.item-actions{display:flex;gap:2px}.export-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:12px}.export-actions .button{padding:8px 5px;font-size:10px}.interpretation-item small{font-size:9px;color:var(--muted)}.surface-smoothing{margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}.surface-smoothing small{display:block;margin-top:8px;font-size:9px;color:var(--muted);text-align:center}.project-panel-actions{display:flex;gap:7px}.project-panel-actions button:first-child{color:#a95040}.project-select{display:grid;gap:5px;font-size:10px;color:var(--muted);margin-bottom:12px}.project-select select{width:100%;padding:8px;border:1px solid var(--line);border-radius:6px;background:#fff}.project-controls{display:grid;gap:8px}.project-controls label{display:grid;gap:3px}.project-controls span{display:flex;justify-content:space-between;font-size:9px;color:var(--muted)}.project-controls input{width:100%;accent-color:var(--green)}.projection-visible{display:flex;align-items:center;gap:7px;margin-top:12px;font-size:10px;color:var(--ink)}.photo-strip img.active{border-color:#dff600;box-shadow:0 0 0 1px #18211e}.measurement-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.measurement-grid div{background:#eef1ea;border-radius:7px;padding:10px}.measurement-grid span{display:block;font-size:8px;letter-spacing:.08em;color:var(--muted);margin-bottom:4px}.measurement-grid strong{font:18px Georgia,serif}.measurement-hint{font-size:10px;line-height:1.4;color:var(--muted);margin:10px 1px 0}#toast{position:fixed;left:50%;bottom:45px;transform:translate(-50%,20px);background:#142b24;color:#fff;padding:11px 16px;border-radius:7px;font-size:12px;opacity:0;pointer-events:none;transition:.25s;z-index:20}#toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:1100px){.author-credit{display:none}}@media(max-width:950px){.workspace{grid-template-columns:210px 1fr}.right-panel{position:absolute;right:0;top:72px;bottom:0;width:290px;box-shadow:-10px 0 30px #12251f22;transform:translateX(100%);transition:.25s}.right-panel.open{transform:none}}@media(max-width:680px){body{overflow:auto}.topbar{height:auto;min-height:68px;padding:12px}.project-actions .button:not(.primary){display:none}.workspace{height:calc(100vh - 68px);grid-template-columns:1fr}.left-panel{display:none}.viewer-empty h2{font-size:28px}.tool-rail{left:8px;top:8px}.view-controls{right:8px;top:8px}}
.line-width-control{display:grid;gap:6px;margin:10px 0;font-size:10px;color:var(--muted)}.line-width-control span{display:flex;justify-content:space-between}.line-width-control input{width:100%;accent-color:var(--green)}.line-properties{display:grid;grid-template-columns:auto 1fr;gap:10px;margin-top:8px;padding-top:7px;border-top:1px solid var(--line)}.line-properties label{display:flex;align-items:center;gap:6px;font-size:9px;color:var(--muted)}.line-properties input[type=color]{width:24px;height:20px;padding:0;border:0;background:transparent}.line-properties input[type=range]{min-width:70px;width:100%;accent-color:var(--green)}.line-properties output{min-width:13px;text-align:right;color:var(--ink)}
.line-style-control{display:grid;gap:6px;margin:10px 0;font-size:10px;color:var(--muted)}.line-style-control select,.line-symbol-property select{width:100%;padding:7px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink)}.line-style-control small{font-size:9px;line-height:1.35}.line-symbol-property{grid-column:1/-1}.line-symbol-property select{padding:4px}
.tool:disabled{opacity:.28;cursor:not-allowed;filter:grayscale(1)}
.topography-controls{margin:4px 7px 12px;padding:10px;background:#eef1ea;border-radius:7px;display:grid;gap:9px}.topography-controls[hidden]{display:none}.topography-controls label{display:grid;gap:4px}.topography-controls label span{display:flex;justify-content:space-between;font-size:9px;color:var(--muted)}.topography-controls input{width:100%;accent-color:var(--green)}.elevation-ramp{height:10px;border-radius:6px;background:linear-gradient(90deg,#1759c7 0%,#55cbe1 25%,#f7f6ef 50%,#f4d33f 72%,#cf372d 100%);border:1px solid #ffffffaa}
.line-symbol-size{grid-column:1/-1}.line-symbol-size input{flex:1}.line-symbol-size output{min-width:38px!important}
.interpretation-item{min-width:0;overflow:hidden}.interpretation-item .line-properties{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;width:100%;min-width:0}.interpretation-item .line-properties label{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:center;gap:7px;width:100%;min-width:0}.interpretation-item .line-properties input[type=range]{width:100%;min-width:0;margin:0}.interpretation-item .line-properties input[type=color]{justify-self:start}.interpretation-item .line-properties output{min-width:38px;text-align:right}.interpretation-item .line-symbol-property,.interpretation-item .line-symbol-size{grid-column:auto}.interpretation-item .line-symbol-property select{grid-column:2/4;width:100%;min-width:0}
.language-control{display:flex;align-items:center;gap:6px;margin-right:5px;font-size:10px;color:var(--muted)}.language-control select{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:6px;padding:7px 24px 7px 8px;font-size:11px}.surface-tool-icon{display:block;width:29px;height:20px;margin:0 auto;overflow:visible}.surface-tool-icon path{fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round}@media(max-width:1200px){.language-control span{display:none}}

.sun-lighting{margin:14px 4px 0;padding-top:13px;border-top:1px solid var(--line)}.sun-lighting-head{display:flex;align-items:center;justify-content:space-between;font-size:10px}.sun-lighting-head button{border:0;background:none;padding:2px;color:var(--green);font-size:9px;font-weight:750;cursor:pointer}.sun-sky{position:relative;width:142px;height:142px;margin:12px auto 8px;border-radius:50%;background:radial-gradient(circle at 38% 32%,#fdfdf8 0,#e8f0e9 58%,#cbd8d0 100%);border:2px solid #82958c;box-shadow:inset 0 0 0 1px #fff,0 4px 12px #19362d12;touch-action:none;cursor:crosshair}.sun-ring{position:absolute;inset:25%;border:1px dashed #92a39b;border-radius:50%;pointer-events:none}.sun-sky>span:not(.sun-ring){position:absolute;font-size:9px;font-weight:800;color:#4f625a;pointer-events:none}.sun-n{left:50%;top:4px;transform:translateX(-50%)}.sun-s{left:50%;bottom:3px;transform:translateX(-50%)}.sun-e{right:6px;top:50%;transform:translateY(-50%)}.sun-w{left:5px;top:50%;transform:translateY(-50%)}.sun-handle{position:absolute;width:20px;height:20px!important;border:3px solid #fff!important;border-radius:50%;padding:0!important;background:#f3c928!important;box-shadow:0 2px 7px #4c3d0c66,0 0 0 1px #ab8610;transform:translate(-50%,-50%);cursor:grab!important}.sun-handle:active{cursor:grabbing!important}.sun-values{display:flex;justify-content:space-between;font-size:9px;color:var(--muted)}.sun-values output{font:10px ui-monospace,monospace;color:var(--ink);margin-left:3px}

.auto-fault-icon{display:block;width:29px;height:20px;margin:0 auto 1px;overflow:visible}.auto-fault-icon path{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#autoInterpretFaults{width:58px}#autoInterpretFaults span{font-size:7px;letter-spacing:-.02em}

.auto-fault-panel{position:fixed;z-index:30;left:50%;top:105px;transform:translateX(-50%);width:330px;padding:0 16px 16px;background:#fbfaf6;border:1px solid #bdc8c1;border-radius:10px;box-shadow:0 18px 55px #102a2260}.auto-fault-panel[hidden]{display:none}.auto-fault-panel header{display:flex;align-items:center;justify-content:space-between;margin:0 -16px 12px;padding:12px 12px 10px 16px;border-bottom:1px solid var(--line);cursor:move;user-select:none}.auto-fault-panel header div{display:grid;gap:2px}.auto-fault-panel header small{font-size:8px;letter-spacing:.15em;color:var(--muted);font-weight:800}.auto-fault-panel header strong{font:19px Georgia,serif}.auto-fault-panel header button{border:0;background:none;color:var(--muted);font-size:22px;cursor:pointer}.auto-fault-panel>p{font-size:10px;line-height:1.45;color:var(--muted);margin:0 0 13px}.auto-fault-panel>label{display:grid;gap:5px;margin:11px 0}.auto-fault-panel>label span{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.auto-fault-panel input[type=range]{width:100%;accent-color:var(--green)}.auto-fault-status{margin:13px 0 11px;padding:9px;border-radius:6px;background:#edf1eb;color:#385148;font-size:10px;text-align:center}.auto-fault-panel footer{display:grid;grid-template-columns:1fr 1fr;gap:8px}.auto-fault-panel footer .button{padding:9px 8px;font-size:11px}
