:root{--bg:#070605;--bg2:#110f0d;--surface:#151210;--fg:#f6efe5;--muted:#a69c90;--line:#2a2520;--accent:#ff8a3d;--accent2:#ffd27a;--on-accent:#140c05;--good:#7ed99b;--warn:#ffc154;--bad:#ff6b5b;--font-display:'Sora', system-ui, sans-serif;--font-body:'Manrope', system-ui, sans-serif;--font-mono:'JetBrains Mono', ui-monospace, monospace;--display-weight:600;--display-track:-0.05em}

.hero-glow{background:radial-gradient(closest-side,rgba(255,138,61,.30),rgba(255,210,122,.08) 55%,transparent 72%)}
.art .hz{stroke:#3a322a;stroke-width:2}
.art .arc{stroke:var(--accent2);stroke-width:2.2;stroke-dasharray:2 10;stroke-linecap:round}
.art .mtn{stroke:#5c5045;stroke-width:2.4;stroke-linejoin:round}
.art .frame{stroke:var(--fg);stroke-width:3;stroke-linecap:round}
.art .sun{fill:url(#ff-sun)}
.art .ray{stroke:var(--accent);stroke-width:3;stroke-linecap:round}
.art .label{fill:var(--muted);font:500 14px var(--font-mono);letter-spacing:.1em}
.gh-wrap{grid-column:1/-1}
.gh-chart{width:100%;height:auto;margin-top:.5rem}
.gh-chart text{fill:var(--muted);font:500 13px var(--font-mono)}
.gh-tick{stroke:var(--line);stroke-width:1}
.gh-horizon{stroke:var(--muted);stroke-width:1.5;stroke-dasharray:4 6}
.gh-curve{fill:none;stroke:var(--accent2);stroke-width:3}
.gh-cursor{stroke:var(--fg);stroke-width:1;opacity:.35}
.gh-sun{fill:var(--accent);filter:drop-shadow(0 0 10px var(--accent))}
.range{width:100%;margin:1rem 0 .25rem;accent-color:var(--accent);height:28px}
.gh-legend{display:flex;flex-wrap:wrap;gap:1rem 1.5rem;font-size:.85rem;color:var(--muted);margin-top:.75rem}
.gh-legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:.4rem;vertical-align:-1px}
.gh-now{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin-top:1.25rem}
.gh-now div{padding:1rem;border-radius:16px;background:var(--bg2);border:1px solid var(--line)}
.gh-now dt{font-size:.78rem;color:var(--muted);margin-bottom:.3rem}
.gh-now dd{margin:0;font:600 1.15rem var(--font-display);font-variant-numeric:tabular-nums}
#gh-light[data-light=golden]{color:var(--accent)}
#gh-light[data-light=blue]{color:#8fa6ff}
.dof-viz{position:relative;height:84px;margin-top:1.75rem;border-radius:16px;background:var(--bg2);border:1px solid var(--line);overflow:hidden}
.dof-axis{position:absolute;left:44px;right:14px;top:0;bottom:0}
#dof-zone{position:absolute;top:18px;bottom:18px;left:0;width:0;border-radius:10px;background:linear-gradient(90deg,rgba(255,138,61,.15),rgba(255,138,61,.45),rgba(255,138,61,.15));border:1px solid rgba(255,138,61,.6)}
#dof-subject{position:absolute;top:10px;bottom:10px;width:2px;margin-left:-1px;background:var(--fg)}
#dof-subject::after{content:"subject";position:absolute;top:-2px;left:6px;font:500 11px var(--font-mono);color:var(--fg);white-space:nowrap}
.dof-cam{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:22px;height:16px;border-radius:4px;background:var(--fg)}
.fov-svg{width:100%;height:auto;margin-top:1rem;border-radius:16px;background:var(--bg2);border:1px solid var(--line)}
#fov-cone{fill:rgba(255,138,61,.16);stroke:var(--accent);stroke-width:2}
.sl-head{display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.sl-head .field:first-child{flex:1 1 280px}
.sl-stats{display:flex;flex-wrap:wrap;gap:2rem;margin:1.5rem 0}
.sl-stats p{margin:0}
.sl-stats .result-mid{font-size:1.6rem}
.sl-table{width:100%;border-collapse:collapse;min-width:900px;font-size:.92rem}
.sl-table th{font:600 .72rem var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);text-align:left;padding:.75rem .5rem;border-bottom:1px solid var(--line);background:var(--bg2)}
.sl-table td{padding:.35rem .3rem;border-bottom:1px solid var(--line)}
.sl-table input:not([type=checkbox]),.sl-table select{width:100%;min-height:40px;padding:.4rem .55rem;border-radius:10px;border:1px solid transparent;background:transparent;color:var(--fg);font:500 .92rem var(--font-body)}
.sl-table input:not([type=checkbox]):hover,.sl-table select:hover{border-color:var(--line)}
.sl-table input:focus,.sl-table select:focus{outline:none;border-color:var(--accent);background:var(--bg2)}
.sl-table select option{background:var(--surface)}
.sl-table input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent)}
.sl-narrow{max-width:90px}
.sl-wide{min-width:240px}
.sl-c{text-align:center}
.sl-acts{display:flex;gap:2px;justify-content:center}
.sl-acts button{width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer;font-size:.95rem}
.sl-acts button:hover{background:var(--bg2);color:var(--fg)}
tr.is-done td{opacity:.5}
#sl-print-title{display:none}
@media print{
  .print-area{background:#fff!important;color:#000!important;border:0!important;padding:0!important}
  #sl-print-title{display:block;font:600 20px var(--font-display);margin-bottom:12px;color:#000}
  .sl-table{min-width:0;font-size:10pt}
  .sl-table th{background:#eee!important;color:#333!important}
  .sl-table input,.sl-table select{color:#000!important;border:0!important;padding:0!important;min-height:0!important;-webkit-appearance:none;appearance:none;background:none!important}
  .table-scroll{overflow:visible;border:0}
  .sl-head,.actions{display:none!important}
}