/* Stonereach: slate, brass, and mountain light. All assets stay local. */
:root{--bg:#12191c;--panel:#1b2429;--border:#35434b;--gold:#e6c487;--ink:#f1f1e9;--muted:#adb9bd;--green:#b8d1bf;--red:#ffb6a5}
body{background:radial-gradient(ellipse at 80% 0,#22303855,transparent 60%),var(--bg);font-size:14px}
aside{background:linear-gradient(160deg,#172126,#10171b);border-color:#35434b;width:246px;padding:27px 16px 18px}
.brand{letter-spacing:2px}.crest{color:var(--gold)}.brand small{color:#a7b4b8}
.sidebar-rule{background:linear-gradient(90deg,#9b8354,#35434b00);margin:23px 10px 18px}
.navlabel{color:#8e9fa5;font-size:8px;margin-bottom:8px}.nav-group{font-size:8px;letter-spacing:1.7px;color:#879aa2;padding:17px 13px 5px;font-weight:600}
nav{gap:3px}nav button{padding:9px 12px;font-size:12px;border-radius:5px;color:#b4c2c8;min-height:36px}nav button.active{background:linear-gradient(90deg,#b99c5c22,#b99c5c0a);color:#f2d8a4;border-color:#927a454d;box-shadow:inset 2px 0 var(--gold)}nav button:hover{background:#2b3a42;color:#fff}nav svg{width:17px;height:17px}.local{font-size:8px;color:#c2d1c6}.local small{color:#8fa3ab}
main{margin-left:246px;padding:28px 34px;max-width:1800px}header{border-color:#35434b;padding-bottom:23px;margin-bottom:26px}header .eyebrow{color:#97a9b1;letter-spacing:1.9px}h1{font-size:30px;letter-spacing:-.7px}h2{font-size:23px}.tag{border-radius:20px;border-color:#3a4c51;color:#b3c4c5;font-size:8px;padding:7px 12px}
.hero{min-height:320px;padding:36px 34px;background:#152126;border-color:#455660;border-radius:10px;margin-bottom:24px;box-shadow:0 16px 45px #0003}.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 48%;z-index:0}.hero:before{background:linear-gradient(90deg,#101c23f5 0%,#101c23dd 26%,#101c2366 57%,#101c2315 100%);z-index:1}.hero:after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 70px #0c151d55;pointer-events:none}.hero-content{max-width:500px}.hero .eyebrow{color:#ddc99f;font-size:8px;letter-spacing:2px}.hero h2{font-size:clamp(34px,3.2vw,48px);line-height:1.08;margin:19px 0 16px;letter-spacing:-1px;text-shadow:0 2px 18px #0005}.hero h2 span{color:#e6c487}.hero p{color:#c7d1d4;font-size:12px;line-height:1.8;margin-bottom:24px}.hero-location{position:absolute;right:22px;bottom:18px;z-index:2;font-size:8px;letter-spacing:1.5px;color:#ece6d5;background:#121d23bb;padding:7px 11px;border:1px solid #8a9c9b66;border-radius:3px}.hero-location-dot{display:inline-block;width:5px;height:5px;background:var(--gold);border-radius:50%;margin-right:6px}.hero .actions button{padding:10px 13px;background:#18252cc9;border-color:#7c939b88;color:#e7eded}.hero .actions button.primary{background:var(--gold);border-color:var(--gold);color:#242119}
.panel{border-radius:8px;background:linear-gradient(150deg,#202c32,#1a2328);padding:25px;border-color:#35464e;box-shadow:0 5px 18px #0000000e}.panel h2{color:#f0eee3}.panel-heading{align-items:center}.panel-heading .eyebrow{color:#8ea5af}.section-label{font-size:8px;color:#b6a37c;letter-spacing:1.7px;margin-bottom:12px}.intro{color:#b1c0c6;line-height:1.9;font-size:13px;max-width:820px}.grid{gap:22px}.gold-total{border-top:1px solid #82704c;border-left:3px solid #c9a96f;background:linear-gradient(110deg,#3b352633,#202c32);padding:24px 28px}.gold-total h2{font-size:32px;margin-bottom:10px}.gold-total .actions{margin-top:18px}.gold-total .eyebrow{color:#dac498}.gold-total p{margin-bottom:8px}
.vault-band{border-radius:8px;background:linear-gradient(110deg,#283039,#1c262c);border-color:#465456;border-left:3px solid #8b9c9b;padding:24px 28px}.vault-band .eyebrow{color:#b8c7cb}.vault-amount strong{font-size:40px}.vault-mark>svg{stroke:#c4ae7f}.funds-breakdown{font-size:11px;gap:7px 22px}.vault-band small{font-size:11px}
.stats{gap:15px}.stat{border-radius:8px;background:linear-gradient(145deg,#222f36,#1a252b);border:1px solid #354951;padding:20px;position:relative}.stat .label{font-size:9px;letter-spacing:1px;color:#a8bec6}.stat .number{font-size:35px;color:#f4e8cd;margin-top:13px}.stat small{font-size:11px;color:#99aeb7}.stat.attention{border-top-color:#8a7551}.stat-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.stat-heading svg{width:20px;height:20px;stroke:#9bb3bc;fill:none;stroke-width:1.3}.stat.attention svg{stroke:#d3b77d}
button,.button{border-radius:5px;background:#2b3c44;border-color:#536a75;color:#e0e9eb;padding:10px 15px;font-size:12px;transition:background .15s,box-shadow .15s,border-color .15s}button:hover,.button:hover{background:#3a505b;border-color:#9bb0b9;box-shadow:0 2px 10px #0002}button.primary,.button.primary{background:#dfc28b;color:#24221c;border-color:#dfc28b}button.primary:hover,.button.primary:hover{background:#f2d7a3;border-color:#f2d7a3}button:disabled{box-shadow:none}.danger-button{background:#432b28;border-color:#9c6558;color:#ffd1c9}.hero .actions button:hover{background:#39505c}.hero .actions button.primary:hover{background:#f2d7a3}
input,select,textarea{background:#121d23;border-color:#49606c;border-radius:5px;padding:11px 13px;min-height:46px;color:#f0f2ee}label{font-size:12px;color:#c3d0d4;margin-bottom:19px}input::placeholder,textarea::placeholder{color:#91a4ad}input:hover,select:hover,textarea:hover{border-color:#7e969f}input:focus,select:focus,textarea:focus{border-color:#c8af7e;outline-offset:2px}textarea{min-height:90px}.fields{gap:0 18px}
.tablewrap{border:1px solid #364950;border-radius:5px}table{font-size:12px}th{background:#162229;color:#b4c8cf;font-size:9px;padding:13px 12px;letter-spacing:1px;border-bottom-color:#48606b}td{padding:16px 12px;border-bottom-color:#33454e}tbody tr:nth-child(even){background:#25333a33}tbody tr:hover{background:#2d424c}td small{color:#a3b8c2;font-size:11px}td button{font-size:11px;padding:6px 11px}td .good,td .bad,td .gold{font-weight:500}.scoreline{border-color:#3a4c55;padding:13px 0}.score{color:#e4c58c}.badge{border-radius:20px;border-color:#8a7850;background:#b59b4910;color:#e8d1a0;padding:6px 12px}.callout{border-radius:0 6px 6px 0;background:#b99a4a12;color:#dfd3b4}.callout.danger{background:#59342d55}.empty-state{padding:22px 0;gap:20px}.empty-state svg{width:42px;height:42px;stroke:#b8a073}.empty{font-size:13px;padding:24px 4px}.principles{border-radius:8px;background:#172229;overflow:hidden}.principles>div{padding:19px 22px}.principles p{font-size:11px;color:#9eb1b9}.principles strong{color:#d2dfe0}.principles svg{stroke:#d4bd89}footer{color:#8da2ac;font-size:8px;border-color:#354851;margin-top:32px}
@media(min-width:1700px){.hero{min-height:350px}}
@media(max-height:850px) and (min-width:761px){aside{padding-top:20px}.sidebar-rule{margin:16px 10px 10px}.nav-group{padding-top:12px}nav button{padding:6px 12px;min-height:32px;font-size:11px}.local{padding-top:15px}}
@media(max-width:1200px){main{padding:24px}.hero{padding:30px}.hero h2{font-size:39px}.hero-content{max-width:440px}.hero .actions{max-width:380px;gap:8px}.hero-location{font-size:7px;right:15px}.vault-band{padding:23px}.gold-total h2{font-size:29px}}
@media(max-width:1050px){aside{width:218px}main{margin-left:218px}.hero:before{background:linear-gradient(90deg,#101c23f5,#101c2388)}.hero-content{max-width:470px}.stats{grid-template-columns:1fr 1fr}.grid{grid-template-columns:1fr}.hero-location{display:none}.vault-band{flex-wrap:wrap}.vault-band>.actions{margin-left:0}.tag{display:none}}
@media(max-width:760px){aside{position:static;width:100%;padding:16px 18px 10px;background:#142026}.brand{font-size:15px}.crest{height:39px;width:39px}.nav-group{display:none}nav{margin-top:15px;gap:5px}nav button{padding:9px 11px;min-height:36px;font-size:11px}.local{display:none}main{margin-left:0;padding:23px 18px}.hero{padding:28px 24px;min-height:310px}.hero h2{font-size:38px}.hero-art{object-position:65% 50%}.hero:before{background:linear-gradient(90deg,#101c23ed,#101c23a6)}.hero .actions{max-width:none}.hero .eyebrow{font-size:7px}.hero p{font-size:12px}.panel{padding:22px}header{margin-bottom:22px}h1{font-size:28px}.vault-band{padding:22px}.vault-amount strong{font-size:35px}.stats{gap:12px}.stat{padding:17px}.stat .number{font-size:30px}.stat-heading svg{width:17px;height:17px}.principles{grid-template-columns:1fr}.principles>div{border-right:0;border-bottom:1px solid var(--border)}.gold-total h2{font-size:27px}.gold-total{padding:22px}footer{flex-direction:column;gap:10px}}
@media(max-width:420px){.hero h2{font-size:33px}.fields{grid-template-columns:1fr}.hero .actions button{font-size:10px;padding:9px 11px}.stat-heading{gap:5px}.stat .label{font-size:8px}.stat small{font-size:10px}.stat-heading svg{display:none}.vault-amount strong{font-size:31px}.vault-amount strong.nugget-value{font-size:26px}h1{font-size:26px}}

/* The approved mountain-vault emblem, preserved as supplied. */
img.crest{object-fit:contain;flex-shrink:0}.inscription-emblem{object-fit:contain}.principle-emblem{object-fit:contain;vertical-align:middle;margin-right:7px}

.rate-charts{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:12px 0 18px}.rate-chart{min-width:0;padding:18px;border:1px solid var(--border);border-radius:6px;background:#142027}.rate-chart h3{font-size:12px;margin:0}.rate-chart svg{width:100%;height:auto}.chart-grid{stroke:#344a54;stroke-width:1;fill:none}.chart-line{stroke:var(--gold);stroke-width:2.5;fill:none}.chart-dot{fill:var(--gold)}.category-forms{margin:25px 0}.rate-chart small{font-size:10px}nav button{flex-shrink:0}.local{flex-shrink:0}@media(max-height:850px) and (min-width:761px){.nav-group{padding-top:9px}nav button{min-height:29px;padding-top:5px;padding-bottom:5px}.local{padding-top:12px}}@media(max-width:1050px){.rate-charts{grid-template-columns:1fr}}

.panel+.stats{margin-top:24px}.brand{position:sticky;top:0;z-index:2;background:#172126;padding-top:5px;padding-bottom:5px}.rate-chart .panel-heading{gap:10px}@media(max-width:760px){.brand{position:static;background:transparent}}

.company-branches{margin-bottom:24px}.company-branches .stats{margin-top:20px}.branch-service{padding:13px 15px;background:#142229;border:1px solid #4d626b;border-radius:6px}.branch-service select{margin-top:7px}.branch-actions{margin-top:20px}.shipment-close{min-width:210px}.shipment-close label{font-size:11px;margin-bottom:10px}.shipment-close input,.shipment-close select{font-size:12px}.shipment-close .check{max-width:240px}.company-branches .panel-heading h2{margin:0}nav button{flex-shrink:0}
