@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');
:root{--ink:#193633;--muted:#6b7a73;--line:#e3e7df;--paper:#f6f7f2;--accent:#cf6c46;--white:#fff;--soft:#eef3ec}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:14px}button,input,select{font:inherit}button,a,input,select{outline-color:#d47954}.app-shell{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:100vh}.sidebar{background:#193b38;color:#e7f0e8;padding:28px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:700;font-size:21px;letter-spacing:-1px}.brand small{display:block;font-size:7px;letter-spacing:1.35px;font-weight:700;color:#9bb2a7;margin-top:2px}.brand-dot{color:#dd9b74}.brand-mark{width:30px;height:30px;border:1px solid #9ab8a8;display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:5px;transform:skewY(-8deg)}.brand-mark i{border-left:2px solid #bdd0bd;border-right:1px solid #bdd0bd}.nav-label{font-size:9px;letter-spacing:1.5px;color:#8ca79b;font-weight:700;margin:64px 10px 14px}.nav{display:grid;gap:6px}.nav-item{display:flex;align-items:center;gap:11px;color:#c0d0c7;text-decoration:none;padding:12px 11px;border-radius:5px;font-weight:600;font-size:12px}.nav-item.active{background:#31544e;color:#fff}.nav-icon{font-size:19px;line-height:1}.nav-arrow{margin-left:auto}.nav-item.disabled{opacity:.65}.soon{font-size:8px;letter-spacing:.7px;margin-left:auto;color:#b2c3b9}.sidebar-bottom{margin-top:auto;border-top:1px solid #48635a;padding:22px 4px 0;color:#b9cfc0;font-size:12px;line-height:1.6}.sidebar-bottom strong{display:block;color:#fff;margin-top:11px}.sidebar-bottom p{margin:5px 0 24px}.sidebar-bottom>span{font-size:8px;letter-spacing:1.1px}.side-note-icon{font-size:23px;color:#d7a37f}main{min-width:0}.topbar{height:62px;border-bottom:1px solid #e4e8e1;background:#fafbf8;display:flex;justify-content:space-between;align-items:center;padding:0 42px;font-size:11px;font-weight:700}.crumb{color:#9aa79d;letter-spacing:1px;font-size:9px}.crumb-divider{color:#c8d1c8;padding:0 12px}.top-right{display:flex;align-items:center;gap:9px;color:#7d8f83;letter-spacing:.8px;font-size:9px}.status-dot{width:7px;height:7px;border-radius:50%;background:#82a58d}.avatar{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#e6eee5;color:#365e4f;font-size:11px;margin-left:15px}.page{max-width:1660px;margin:auto;padding:42px 42px 60px}.heading-row{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.eyebrow,.kicker{font-size:9px;letter-spacing:1.5px;color:#9aab9f;font-weight:700}.eyebrow{display:flex;align-items:center;gap:9px;color:#a95e44}.eyebrow-line{height:2px;width:20px;background:#cc7451}.heading-row h1{font:400 42px/1.12 'DM Serif Display',Georgia,serif;letter-spacing:-1px;margin:10px 0 8px}.period{color:var(--accent)}.lede,.panel-header p{color:var(--muted);margin:0;font-size:13px}.outline-button{background:#fff;border:1px solid #d5ded5;border-radius:4px;padding:12px 17px;color:var(--ink);font-weight:700;font-size:11px;cursor:pointer;white-space:nowrap}.outline-button:hover{background:#eef4ed}.notice{background:#eef3eb;border:1px solid #dce8db;border-radius:5px;padding:13px 16px;display:flex;gap:12px;color:#586c5c;margin-bottom:21px;line-height:1.55;font-size:11px}.notice p{margin:0}.notice strong{color:#31543e}.notice-icon{display:grid;place-items:center;flex:0 0 18px;height:18px;border:1px solid #8fae96;border-radius:50%;font-weight:700}.workspace{display:grid;grid-template-columns:minmax(320px,390px) minmax(0,1fr);gap:20px;align-items:start}.output-column{display:grid;gap:20px}.panel{background:#fff;border:1px solid #e2e7df;border-radius:7px;box-shadow:0 3px 12px rgba(29,51,40,.025);overflow:hidden}.panel-header{padding:23px 25px 20px}.panel-header.inline{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.panel-header h2{font:400 23px/1.2 'DM Serif Display',Georgia,serif;letter-spacing:-.2px;margin:7px 0 5px}.panel-header p{font-size:11px}.header-icon{float:right}.form-section{padding:20px 25px;border-top:1px solid #edf0eb}.section-title{display:flex;align-items:center;gap:9px;margin-bottom:17px}.section-title span{font-size:9px;color:#c57656;letter-spacing:.6px;font-weight:700}.section-title h3{margin:0;font-size:12px}.form-section label:not(.check-row){display:block;font-size:11px;font-weight:700;margin:15px 0 7px}.form-section label:first-of-type{margin-top:0}.form-section em{font-family:Georgia,serif;font-size:12px;font-weight:400;color:#95a19a;margin-left:4px}.optional{float:right;font-size:8px;letter-spacing:.6px;color:#aebbb0}.form-section input:not([type=checkbox]),select{width:100%;height:39px;border:1px solid #dce3dc;border-radius:4px;background:#fff;padding:0 11px;color:#29473d;font-size:12px}input::placeholder{color:#b3bdb5}.input-unit{display:flex;border:1px solid #dce3dc;border-radius:4px;overflow:hidden}.input-unit input:not([type=checkbox]){border:0;border-radius:0}.input-unit span{display:grid;place-items:center;border-left:1px solid #e8ede7;background:#f7f9f6;padding:0 11px;color:#7f9085;font-size:10px;white-space:nowrap}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-help{color:#91a097;font-size:10px;line-height:1.5;margin:7px 0 0}.arrangement{border:1px solid #9fbaaa;border-radius:4px;background:#f6faf6;display:flex;align-items:center;gap:11px;padding:11px;margin-bottom:20px}.arrangement-icon{color:#557d6c;font-size:12px;white-space:nowrap}.arrangement strong{font-size:10px}.arrangement small{display:block;font-size:9px;color:#87998c;margin-top:3px}.selected-check{margin-left:auto;background:#456e59;color:#fff;border-radius:50%;width:17px;height:17px;text-align:center;font-size:11px}.check-row{display:flex;align-items:flex-start;gap:9px;line-height:1.45;font-weight:700;font-size:11px;margin:16px 0}.check-row input{accent-color:#376a51;margin:1px 0 0}.check-row small{display:block;color:#8b9a90;font-weight:400;margin-top:3px}.check-row a{color:#44735b;text-decoration:underline}.acknowledgement{padding-top:8px;padding-bottom:6px}.primary-button{background:#254d3d;color:#fff;border:0;border-radius:4px;margin:4px 25px 0;width:calc(100% - 50px);padding:14px 16px;text-align:left;font-size:12px;font-weight:700;cursor:pointer}.primary-button:hover{background:#34664d}.primary-button span{float:right}.button-note{text-align:center;color:#a4afa6;font-size:9px;margin:10px 0 24px}.error{color:#a43c26;margin:0 25px;font-size:11px}.schematic{margin:0 25px;background:#f8faf7;border:1px solid #eef2ec;border-radius:4px}.schematic svg{display:block;width:100%;height:auto;max-height:220px}.svg-label,.svg-small,.svg-dim{font-family:'DM Sans',Arial,sans-serif;font-size:10px;font-weight:700;letter-spacing:1px;fill:#bb684b}.svg-small,.svg-dim{fill:#607b6b}.svg-dim{font-size:9px}.drawing-footer{display:flex;gap:24px;align-items:center;padding:15px 25px;color:#99a99c;font-size:8px;font-weight:700;letter-spacing:.7px}.drawing-footer span:last-child{margin-left:auto}.legend-line{display:inline-block;width:16px;height:3px;background:#355b4a;vertical-align:middle;margin-right:5px}.legend-load{font-style:normal;color:#c56b49;font-size:15px}.chip{background:#f0f4ef;color:#809588;border-radius:3px;padding:7px 8px;font-size:8px;font-weight:700;letter-spacing:.9px;white-space:nowrap}.chip.orange{background:#fbf1e9;color:#b67657}.results{padding:0 25px 20px}.empty-results{background:#f8faf7;border:1px dashed #dbe5db;border-radius:4px;padding:22px;display:flex;align-items:center;gap:15px}.empty-icon{display:grid;place-items:center;border-radius:50%;width:37px;height:37px;background:#eaf1e9;color:#73937d;font-size:20px}.empty-results strong{font-size:11px}.empty-results p,.verification-note p{font-size:10px;color:#8a9a8e;margin:5px 0 0}.verification-note{border-top:1px solid #edf0eb;padding:15px 25px;display:flex;gap:9px;color:#9a765b;font-size:10px}.chart-grid{padding:0 25px 20px}.chart{padding:14px 0;border-top:1px solid #eef1ed}.chart-title{display:flex;justify-content:space-between;font-size:11px}.chart-title span{font-size:9px;color:#96a69a}.chart-area{height:88px;display:flex;align-items:center;justify-content:center;color:#b6c2b9;font-size:10px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 27px,#f0f3ee 28px);margin-top:10px}.chart-area svg{width:100%;height:100%}.property-content{padding:0 25px 25px;color:#809186;font-size:11px}.property-content table{width:100%;border-collapse:collapse}.property-content td,.property-content th{padding:8px;border-bottom:1px solid #edf0eb;text-align:left}.terms-panel{color:#87998c;font-size:10px;line-height:1.5;padding:0 4px}.terms-panel p{margin:5px 0}footer{display:flex;justify-content:space-between;gap:10px;color:#a8b5aa;font-size:8px;font-weight:700;letter-spacing:1px;padding:6px 2px}.footer-star{color:#ca7b57;font-size:15px}@media(max-width:1100px){.app-shell{grid-template-columns:170px minmax(0,1fr)}.sidebar{padding:25px 14px}.page{padding:32px 25px}.topbar{padding:0 25px}.workspace{grid-template-columns:minmax(290px,350px) minmax(0,1fr)}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;height:auto;padding:15px 18px;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.brand{font-size:18px}.brand small,.nav-label,.sidebar-bottom,.nav-item.disabled{display:none}.nav-item{padding:8px}.nav-item.active{font-size:10px}.nav-arrow{display:none}.topbar{height:46px;padding:0 18px}.top-right{font-size:0}.page{padding:28px 16px}.heading-row h1{font-size:35px}.heading-row{align-items:flex-start}.outline-button{font-size:10px;padding:10px}.workspace{grid-template-columns:1fr}.panel-header{padding:20px}.form-section{padding-left:20px;padding-right:20px}.output-column{gap:14px}.drawing-footer{gap:12px}.notice{font-size:10px}}@media print{.sidebar,.topbar,.outline-button,.input-panel,footer{display:none!important}.app-shell{display:block}.page{padding:0;max-width:none}.workspace{display:block}.panel{box-shadow:none;break-inside:avoid;margin-bottom:12px}.notice{color:#222}.terms-panel{color:#333}body{background:white;font-size:10pt}@page{size:letter;margin:.65in}}
.result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#edf1eb;border:1px solid #edf1eb;border-radius:4px;overflow:hidden}.result-grid>div{background:#f9fbf8;padding:17px 12px}.result-grid span,.property-content span{display:block;color:#819287;font-size:10px;line-height:1.4}.result-grid strong{display:block;margin-top:8px;color:#244e3e;font-size:21px;letter-spacing:-.5px}.result-grid small,.property-content small{font-size:10px;color:#98a89b;font-weight:500}.calculation-detail{color:#65796c;font-size:11px;line-height:1.7}.calculation-detail h3{color:#274a3c;font-size:12px;margin:20px 0 8px}.calculation-detail p{margin:7px 0}.property-content{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#eaf0e8;padding:1px;margin:0 25px 25px;border:1px solid #eaf0e8}.property-content>div{background:#fafcf9;padding:11px}.property-content strong{display:block;color:#365848;font-size:12px;margin-top:4px}.empty-state{color:#74877a;font-size:11px;line-height:1.5}.schematic svg text,.chart-area svg text{font:10px 'DM Sans',Arial,sans-serif;fill:#718679}.chart-area svg .brace-label{fill:#b96a42}.outline-button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:1100px){.result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.property-content{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:450px){.property-content{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Workshop-inspired calculator skin */
:root{--ink:#263b35;--muted:#6a7569;--line:#d3d0be;--paper:#eee9d9;--accent:#b94c2d;--white:#fbf8ef;--soft:#e6e9db}body{background:var(--paper);color:var(--ink)}.sidebar{background:#243f38}.panel{background:#fbf8ef;border:1px solid #b9b9a5;border-radius:3px;box-shadow:3px 3px 0 #dad6c5}.topbar{background:#f5f0e3;border-color:#d4d0bd}.heading-row h1,.panel-header h2{font-family:Georgia,serif}.page>.drawing-panel{margin:0 0 22px}.notice{background:#e9e6d3;border-color:#c9c7af;color:#4c5c4a}.primary-button{background:#b34f30}.primary-button:hover{background:#923d25}.outline-button{border-color:#8a9985;color:#254638}.arrangement,.empty-results{background:#f2f0e4}.chip{background:#e7e9d9;color:#586f5b}.schematic{background:#f4f1e6;border-color:#dfdfce}.result-grid>div,.property-content>div{background:#f4f2e8}.result-grid{border-color:#d7dbcb;background:#d7dbcb}.chart-area{background:repeating-linear-gradient(to bottom,transparent 0,transparent 27px,#e8e8d9 28px)}.result-grid strong{font-family:Georgia,serif}.brand-dot,.period{color:#ce6a40}@media print{.page>.drawing-panel{margin-bottom:12px}}
.calc-logo{width:34px;height:34px;flex:none}
/* ShipperRadar-inspired 8-bit workspace. */
@font-face{font-family:ScafPixel;src:url('public/fonts/press-start-2p.woff2') format('woff2');font-display:swap}
@font-face{font-family:ScafTerm;src:url('public/fonts/vt323.woff2') format('woff2');font-display:swap}
@media screen{
:root{--ink:#e8ecf4;--muted:#aebbd1;--line:#2a3a5e;--paper:#0b1220;--accent:#ffa41b;--white:#111a2e;--soft:#1e2a44}
body{background:#0b1220;color:#e8ecf4;font-family:Inter,system-ui,sans-serif}.sidebar{background:#070c16;color:#e8ecf4;border-right:2px solid #1e2a44}.brand{color:#e8ecf4;font-family:ScafPixel,monospace;font-size:12px;letter-spacing:0;line-height:1.5;text-transform:uppercase}.brand small{font:16px ScafTerm,monospace;letter-spacing:1px;color:#8a96b0}.brand-dot,.period{color:#ffa41b}.nav-label,.kicker,.eyebrow{color:#3dd9c9;font-family:ScafTerm,monospace;font-size:17px;letter-spacing:.06em}.nav-item{border-radius:0;font-family:ScafTerm,monospace;font-size:19px;color:#aebbd1}.nav-item.active{background:#1e2a44;color:#ffa41b}.sidebar-bottom{color:#aebbd1;border-color:#2a3a5e}.topbar{background:#0b1220;color:#e8ecf4;border-color:#2a3a5e;font-family:ScafTerm,monospace;font-size:18px}.crumb,.top-right{color:#aebbd1;font-size:13px}.avatar{background:#1e2a44;color:#3dd9c9}.status-dot{background:#3dd9c9}.page{background-image:linear-gradient(rgba(42,58,94,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(42,58,94,.14) 1px,transparent 1px);background-size:32px 32px}.heading-row h1{font:400 clamp(20px,2.7vw,34px)/1.6 ScafPixel,monospace;letter-spacing:0;color:#e8ecf4}.lede,.panel-header p{color:#aebbd1;line-height:1.6}.panel{background:#111a2e;border:2px solid #2a3a5e;border-radius:0;box-shadow:5px 5px 0 #070c16}.drawing-panel{border-color:#ffa41b}.panel-header{border-bottom:2px solid #1e2a44}.panel-header h2{font:400 15px/1.65 ScafPixel,monospace;color:#e8ecf4;letter-spacing:0;margin:8px 0}.panel-header p{font-size:12px}.notice{background:#111a2e;border:2px solid #8a5a12;border-radius:0;color:#d8deea;font-size:12px}.notice strong{color:#ffc266}.notice-icon{color:#ffa41b;border-color:#ffa41b}.outline-button,.primary-button{border-radius:0;font-family:ScafPixel,monospace;font-size:9px;line-height:1.7;box-shadow:4px 4px 0 #070c16}.outline-button{background:#1e2a44;color:#e8ecf4;border:2px solid #2a3a5e}.outline-button:hover{background:#2a3a5e}.primary-button{background:#ffa41b;color:#070c16}.primary-button:hover{background:#ffc266}.form-section{border-color:#2a3a5e}.section-title span{font-family:ScafTerm,monospace;color:#3dd9c9;font-size:17px}.section-title h3,.form-section label:not(.check-row){color:#e8ecf4}.form-section em{color:#aebbd1}.field-help,.check-row small,.button-note,.optional{color:#aebbd1}.form-section input:not([type=checkbox]),select{background:#070c16;color:#e8ecf4;border:1px solid #2a3a5e;border-radius:0}.input-unit{border:1px solid #2a3a5e;border-radius:0}.input-unit span{background:#1e2a44;color:#d0d8e6;border-color:#2a3a5e}.check-row input{accent-color:#3dd9c9}.check-row a{color:#3dd9c9}.arrangement,.empty-results{background:#0b1220;border:1px solid #3dd9c9;border-radius:0}.arrangement-icon,.arrangement small,.empty-results p,.verification-note p{color:#aebbd1}.selected-check,.empty-icon{background:#3dd9c9;color:#070c16}.chip,.chip.orange{border-radius:0;background:#1e2a44;color:#3dd9c9;font-family:ScafTerm,monospace;font-size:14px}.chip.orange{color:#ffa41b}.error{color:#ffc266}.results{padding-top:20px}.verification-note{border-color:#2a3a5e;color:#ffc266}.result-grid{background:#2a3a5e;border-color:#2a3a5e;border-radius:0}.result-grid>div,.property-content>div{background:#0b1220}.result-grid span,.property-content span{color:#aebbd1}.result-grid strong{color:#ffa41b;font-family:ScafTerm,monospace;font-size:30px}.result-grid small,.property-content small{color:#aebbd1}.calculation-detail{color:#cbd3e1;font-size:12px}.calculation-detail h3{color:#3dd9c9}.calculation-detail strong{color:#e8ecf4}.chart{border-color:#2a3a5e}.property-content{background:#2a3a5e;border-color:#2a3a5e}.property-content strong{color:#e8ecf4}.terms-panel{color:#aebbd1}.terms-panel strong{color:#3dd9c9}footer{color:#aebbd1}.footer-star{color:#ffa41b}
:focus-visible{outline:2px solid #3dd9c9!important;outline-offset:3px}
}
@media screen and (max-width:760px){.heading-row{display:block}.heading-row .outline-button{margin-top:16px;max-width:100%;white-space:normal}.heading-row h1{font-size:19px;line-height:1.6}.top-right{font-size:0}.calc-logo{width:28px;height:28px}}
