@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');
:root{--ink:#1c302a;--muted:#6b7773;--green:#245c47;--lime:#d7f781;--border:#dde3de;--paper:#f4f6f3;--white:#fff;--shadow:0 3px 14px #1c302a04;font-family:'DM Sans','Noto Sans JP',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:16px}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #759c36;outline-offset:4px}button:disabled{cursor:not-allowed;opacity:.45}button svg, i svg{height:20px;width:20px;flex:none;stroke:currentColor;vertical-align:middle}i{display:inline-flex;font-style:normal}.skip{position:absolute;top:-100px;z-index:100;background:white;padding:15px}.skip:focus{top:0}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:#152723;color:#dbe4db;padding:32px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;padding:0 11px;font-size:29px;letter-spacing:1.5px;font-weight:700;color:white}.brand-symbol{background:var(--lime);color:#152723;height:39px;width:34px;border-radius:8px;text-align:center;line-height:36px;font-size:41px}.brand-sub{display:block;font-size:8px;letter-spacing:1.25px;line-height:2.4;color:#97a89e}.side-label{font-size:10px;letter-spacing:1.7px;color:#81958b;margin:47px 13px 18px}.side-label.second{margin-top:33px}.nav-item{display:flex;width:100%;gap:12px;align-items:center;border:0;background:transparent;color:#acbdb2;padding:14px 12px;font-size:14px;text-align:left;border-radius:7px;min-height:49px;margin:3px 0}.nav-item.active{background:#d7f781;color:#233326;font-weight:600}.nav-item:not(.active):hover{background:#203a31;color:white}.nav-num{margin-left:auto;font-size:11px;opacity:.6}.sidebar-bottom{margin-top:auto;padding:25px 13px 0}.side-mark{font-size:16px;line-height:1.6;font-weight:600;letter-spacing:.8px}.side-mark span{color:#d7f781}.sidebar-bottom p{font-size:12px;color:#98aba0;margin:20px 0 35px}.version{font-size:11px;color:#6f877a}.shell{margin-left:230px}.topbar{height:76px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:#fcfdfb}.breadcrumb{font-size:13px;color:#7b8981}.breadcrumb span{margin:0 13px;color:#a9b1ac}.breadcrumb b{color:#394b41;font-weight:500}.top-actions{display:flex;align-items:center;gap:24px}.free-label{font-size:10px;letter-spacing:1.4px;background:#edf2e8;color:#667454;padding:6px 9px;border-radius:4px}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;min-height:42px;min-width:42px}.icon-button:hover{background:#e9ede7;border-radius:5px}main{max-width:1500px;margin:auto;padding:34px 36px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px}.eyebrow{font-size:10px;letter-spacing:1.7px;color:#718875;font-weight:600}h1{font-size:30px;font-weight:600;letter-spacing:-.7px;margin:9px 0 9px;line-height:1.5}.page-heading p{font-size:14px;color:var(--muted);margin:0;line-height:1.8}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border-radius:6px;border:1px solid transparent;font-size:14px;font-weight:500;padding:10px 16px}.secondary{border-color:#ced7cf;background:#fff;white-space:nowrap}.secondary:hover{background:#edf2e9}.primary{background:#245c47;color:#fff}.primary:hover{background:#184633}.workspace{display:grid;grid-template-columns:320px minmax(0,1fr);gap:24px;align-items:start}.panel{border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #e8ece7;gap:8px}.panel-heading h2,.result-heading h2{font-size:16px;font-weight:600;margin:0;display:flex;gap:10px;align-items:center}.step{font-size:11px;color:#809082;font-weight:500;border:1px solid #d9e2d6;border-radius:50%;height:23px;width:23px;display:inline-flex;align-items:center;justify-content:center}.text-button{border:0;background:none;color:#6b7b6c;font-size:12px;padding:8px 0}.text-button:hover{color:var(--green);text-decoration:underline}form{padding:20px}.preset-label{font-size:12px;color:#718073;margin:0 0 10px}.presets{display:flex;gap:5px;margin-bottom:21px}.presets button{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;font-size:12px;background:white;border:1px solid #dfe5de;border-radius:5px;padding:9px 3px}.presets button i svg{width:14px;height:14px}.presets .selected{border-color:#90a879;background:#f2f6e8;color:#355630}.field{display:block;font-size:13px;font-weight:500;margin:0 0 16px}.field input,.field select{width:100%;min-width:0;border:1px solid #d9e1d9;background:#fff;border-radius:5px;min-height:43px;padding:8px 11px;color:#2c3c33;margin-top:7px;outline:none;font-size:15px}.field input:focus,.field select:focus{border-color:#789457;box-shadow:0 0 0 3px #85a73c1a}.field input[readonly]{background:#f1f4ed}.field input:disabled{background:#f3f3ef;color:#969f96}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.unit-input{display:flex;position:relative;align-items:center}.unit-input input{padding-right:39px}.unit-input>span{position:absolute;right:12px;top:19px;color:#8a938c;font-size:12px;font-weight:400}.unit-input select{position:absolute;right:4px;top:9px;width:58px;border:0;background:transparent;min-height:34px;margin:0;padding:4px;font-size:12px;box-shadow:none}.unit-input:has(select) input{padding-right:66px}.live-current{display:flex;justify-content:space-between;align-items:center;background:#f1f5ea;padding:12px 14px;border:1px solid #e5ecda;border-radius:6px;margin:6px 0 16px;font-size:13px}.live-current span small{margin-left:4px;color:#83957d;font-style:italic}.live-current strong{font-size:24px;font-weight:600}.live-current strong small{font-size:13px;color:#687a60}.advanced{font-size:13px}.advanced summary{cursor:pointer;display:flex;justify-content:space-between;list-style:none;padding:4px 0 17px;align-items:center}.advanced summary:after{content:'＋';color:#74916b}.advanced[open] summary:after{content:'−'}.advanced summary span{margin-left:auto;margin-right:8px;color:#83917e;font-size:11px}.advanced .field-note{margin:2px 0 16px}.field-note{font-size:12px;line-height:1.8;color:#7b867d}.calculate{width:100%;margin-top:3px;height:47px}.input-note{font-size:11px;color:#8d968d;text-align:center;margin:12px 0 0}.result-heading{display:flex;align-items:center;justify-content:space-between;margin:2px 0 17px}.status-badge{font-size:11px;background:#e8eee1;color:#657951;padding:5px 9px;border:1px solid #dce6d4;border-radius:5px}.status-badge.stale{background:#fff5df;color:#95651c;border-color:#efdbad}.summary-band{display:flex;justify-content:space-between;align-items:center;background:#203e32;color:#f0f6eb;border-radius:9px;padding:22px 25px;position:relative;overflow:hidden;border:1px solid #234335;gap:15px}.summary-band:after{content:'';position:absolute;width:220px;height:220px;border:1px solid #ffffff09;border-radius:50%;top:-122px;right:26px;box-shadow:0 0 0 30px #ffffff03,0 0 0 60px #ffffff02;pointer-events:none}.summary-eyebrow{font-size:9px;letter-spacing:1.7px;color:#9ab89a}.summary-band h3{font-weight:500;font-size:18px;margin:9px 0 7px;overflow-wrap:anywhere}.summary-band p{font-size:12px;color:#a9bdae;margin:0;line-height:1.7}.summary-current{display:flex;flex-direction:column;align-items:flex-end;flex:none}.summary-current strong{font-size:42px;font-weight:500;color:#d7f781;line-height:1.2;letter-spacing:-1px}.summary-current span{font-size:11px;color:#a8bdae;margin-top:6px}.result-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:16px 0}.result-card{border:1px solid var(--border);border-radius:9px;background:white;padding:18px 20px 0;overflow:hidden}.card-label{font-size:12px;color:#5c6a60;display:flex;align-items:center;gap:8px}.card-label i{color:#69845a}.card-label i svg{height:17px;width:17px}.card-label>span{margin-left:auto;color:#b7c1b4;font-size:11px}.result-card h3{font-size:31px;font-weight:600;letter-spacing:-1px;margin:13px 0 2px;line-height:1.3}.result-card h3 small{font-size:14px;font-weight:400;color:#63755e;letter-spacing:0;margin-left:3px}.result-card p{margin:0 0 16px;color:#788572;font-size:12px}.card-bottom{font-size:11px;border-top:1px solid #edf0e9;padding:11px 0;display:flex;justify-content:space-between;gap:6px;color:#657460}.mini-badge{font-size:10px;color:#6d8544;background:#f1f5e9;padding:2px 6px;border-radius:3px}.diagram-panel .panel-heading{padding:17px 21px}.diagram-panel .panel-heading h2{font-size:14px}.subtle{font-size:11px;color:#849080}.circuit-preview{display:flex;align-items:center;padding:28px 23px 30px;gap:11px;font-size:11px;text-align:center;min-height:118px}.circuit-preview>span:not(.wire){flex:none;line-height:1.8}.circuit-preview b{font-size:12px;font-weight:500}.circuit-preview .wire{height:1px;background:#7c9670;flex:1;min-width:12px;position:relative}.wire:before,.wire:after{content:'';position:absolute;height:4px;width:4px;background:#7c9670;border-radius:50%;top:-1.5px}.wire:after{right:0}.circuit-preview i svg{height:28px;width:28px;color:#4f6e3e}.load-node{border:1px solid #dce5d7;padding:5px 12px;border-radius:5px;background:#f5f8ef}.check-panel{margin-top:16px}.check-title{display:flex;align-items:center;gap:8px;margin:0 0 15px;font-size:14px}.check-panel-inner{padding:20px}.check-row{display:flex;align-items:center;justify-content:space-between;font-size:13px;padding:10px 0;border-bottom:1px solid #edf0e9;gap:14px}.check-row:last-child{border-bottom:0}.check-row .result-math{color:#6a7a62;font-family:'DM Sans',sans-serif;font-size:12px;text-align:right}.good{color:#3a713d}.notice{padding:14px 16px;background:#f6f1e5;border:1px solid #e9ddc7;border-radius:7px;color:#817044;font-size:12px;line-height:1.9;margin-top:16px}.notice strong{display:block;font-weight:500;color:#75623e;margin-bottom:3px}.details-box{border:1px solid var(--border);border-radius:7px;background:#fff;margin-top:13px}.details-box summary{padding:15px 18px;font-size:13px;cursor:pointer}.details-content{padding:0 18px 18px;font-size:13px;line-height:1.9;color:#5d6b60}.details-content code{display:block;white-space:normal;background:#f5f7f2;padding:12px;margin:12px 0;color:#294a33;font-family:'DM Sans',sans-serif}.details-content a{color:#416e3b;text-underline-offset:3px}.learning{margin-top:48px;border-top:1px solid #dce2d8;padding-top:28px}.learning-heading h2{font-size:19px;font-weight:500;margin:9px 0 24px}.note-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.note-num{font-size:10px;letter-spacing:1.5px;color:#8a977f}.note-grid h3{font-size:14px;font-weight:500;margin:14px 0 9px}.note-grid p{font-size:13px;line-height:1.9;margin:0;color:#788270}.ad-section{margin:48px 0 32px;border-top:1px solid #e1e6dc;padding-top:18px;color:#a1a99a;font-size:10px;text-align:center}.ad-slot{max-width:800px;margin:12px auto 0;min-height:98px;border:1px dashed #d6ddcf;border-radius:5px;background:#eef1e9;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#969f8d;font-size:12px}.ad-caption{font-size:9px;letter-spacing:2px}footer{display:flex;align-items:center;flex-wrap:wrap;gap:20px;border-top:1px solid #dbe2d6;padding:25px 0;color:#89937f;font-size:11px}footer p{margin:0;flex:1;font-size:11px}.footer-brand{text-decoration:none;font-size:19px;font-weight:700;color:#3e5840}footer button{border:0;background:none;font-size:11px;color:#75836b;padding:8px}footer>span{font-size:10px}.mobile-nav{display:none}#form-error{color:#9f492b;font-size:13px;line-height:1.6;border:1px solid #efd0bf;background:#fff5ee;padding:11px;border-radius:5px;margin-bottom:12px}dialog{border:1px solid var(--border);border-radius:13px;padding:0;width:min(680px,calc(100% - 32px));max-height:85vh;color:var(--ink);box-shadow:0 20px 90px #14291e38}dialog::backdrop{background:#0c211c80;backdrop-filter:blur(3px)}.dialog-heading{position:sticky;top:0;background:white;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);padding:16px 24px;z-index:1}.dialog-heading h2{font-size:18px;margin:0}#dialog-body{padding:10px 26px 30px;font-size:14px;line-height:1.9}#dialog-body h3{font-size:16px;margin-top:24px}#dialog-body a{color:#35643b;overflow-wrap:anywhere}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);border-radius:7px;background:#203e32;color:#fff;padding:13px 22px;font-size:14px;box-shadow:0 8px 30px #203e3230;z-index:100}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th,td{border-bottom:1px solid #e4eadf;padding:11px 9px;white-space:nowrap}th{font-weight:500;color:#7c8b70;background:#f7f9f3}tr.chosen{background:#f0f7e3}.route-row{background:#f4f7ef;border:1px solid #e0e6d8;border-radius:6px;padding:11px;margin:10px 0}.route-row-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;font-size:12px}.route-row .field{margin:0}.route-row .field-grid{gap:9px}.route-row label{font-size:11px}.route-row .icon-button{min-height:28px;min-width:28px;font-size:18px}.route-row .unit-input input{padding-right:26px}.route-row .unit-input>span{right:9px}.route-summary{margin:0 0 17px;font-size:13px;line-height:1.8;color:#788372}.add-row{width:100%;margin:2px 0 18px;font-size:12px}.route-visual{padding:25px;text-align:center}.route-visual svg{width:100%;max-height:205px;height:auto}.route-visual p{font-size:12px;color:#839076}.large-result h3{font-size:43px}.result-tools{display:flex;gap:10px;margin-top:15px;flex-wrap:wrap}.result-tools button{font-size:12px}.print-head{display:none}[hidden]{display:none!important}
@media(min-width:1500px){.workspace{grid-template-columns:360px minmax(0,1fr)}.result-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.result-card{padding:18px 16px 0}.result-card h3{font-size:30px}.card-label{font-size:12px}.sidebar{width:244px}.shell{margin-left:244px}main{padding:38px 44px 0}.summary-band{min-height:135px}.circuit-preview{min-height:150px}.check-panel-inner{padding:25px}}
@media(max-width:1150px){.sidebar{width:195px;padding:26px 13px}.shell{margin-left:195px}.brand{font-size:24px;padding:0 8px}.brand-sub{font-size:7px}.brand-symbol{width:28px;height:35px;font-size:37px;line-height:32px}.nav-item{font-size:12px;gap:9px;padding:12px 10px}.side-label{font-size:9px}.sidebar-bottom{padding:20px 10px 0}.side-mark{font-size:13px}main{padding:28px 24px 0}.topbar{padding:0 24px}.workspace{grid-template-columns:290px minmax(0,1fr);gap:18px}form{padding:17px}.panel-heading{padding:18px}.page-heading{align-items:flex-start}h1{font-size:27px}.print-button{font-size:12px;padding:8px 11px;margin-top:15px}.summary-band{padding:19px}.summary-current strong{font-size:34px}.summary-band h3{font-size:16px}.result-card{padding:15px 15px 0}.card-bottom{font-size:10px}.circuit-preview{padding:24px 14px;gap:7px}.circuit-preview b{font-size:10px}.subtle{font-size:10px}.note-grid{gap:20px}.check-row{font-size:12px}}
@media(max-width:930px){.sidebar{width:75px;padding:24px 10px}.brand{padding:0;justify-content:center}.brand>span:nth-child(2){display:none}.nav-item{justify-content:center;font-size:0;padding:14px 0;margin:9px 0}.nav-item i svg{width:21px;height:21px}.nav-num,.side-label,.sidebar-bottom{display:none}.sidebar nav{margin-top:34px}.shell{margin-left:75px}.workspace{grid-template-columns:285px minmax(0,1fr)}.note-grid h3{line-height:1.8}.summary-band{gap:6px}.summary-current strong{font-size:30px}.summary-band p{font-size:11px}.circuit-preview>span:not(.wire){max-width:100px}.check-row{align-items:flex-start;flex-direction:column;gap:5px}}
@media(max-width:720px){.sidebar{position:static;width:auto;height:66px;display:block;padding:15px 20px}.brand{justify-content:flex-start;font-size:23px;gap:9px}.brand>span:nth-child(2){display:block}.brand-symbol{width:28px;height:32px;line-height:29px;font-size:34px}.brand-sub{display:none}.sidebar nav,.sidebar>.nav-item{display:none}.shell{margin-left:0}.topbar{position:absolute;top:0;right:9px;border:0;background:transparent;padding:0;height:66px}.breadcrumb{display:none}.top-actions{gap:8px}.free-label{background:#284435;color:#c0d19c;font-size:9px}.top-actions .icon-button{color:#b2c7b7}.top-actions .icon-button:hover{background:#30463a}main{padding:25px 18px 0}.page-heading{margin-bottom:20px;gap:5px}.eyebrow{font-size:8px;letter-spacing:1.1px}h1{font-size:24px;margin:9px 0 8px;letter-spacing:-.7px}.page-heading p{font-size:12px;max-width:290px}.print-button{min-width:40px;min-height:40px;font-size:0;padding:8px;margin:14px 0 0;gap:0}.print-button i svg{width:18px}.mobile-nav{display:flex;gap:4px;border-bottom:1px solid #d8e0d1;margin-bottom:21px;overflow-x:auto}.mobile-nav button{background:none;border:0;padding:13px 9px;font-size:12px;white-space:nowrap;color:#7c8a70;border-bottom:2px solid transparent;flex:1}.mobile-nav button.active{color:#2c5936;border-bottom-color:#416f33;font-weight:600}.workspace{grid-template-columns:minmax(0,1fr);gap:26px}.panel-heading{padding:17px 20px}form{padding:20px}.field{font-size:14px}.field input,.field select{font-size:16px;min-height:46px}.unit-input select{font-size:13px;min-height:34px}.presets button{font-size:13px;padding:12px 5px}.presets button i svg{width:16px;height:16px}.input-note{font-size:12px}.calculate{height:50px;font-size:15px}.advanced summary{padding-bottom:18px;font-size:14px}.result-heading{margin-bottom:14px}.summary-band{padding:22px}.summary-current strong{font-size:40px}.summary-band h3{font-size:17px}.summary-band p{font-size:12px}.result-cards{gap:12px;margin:14px 0}.result-card{padding:17px 16px 0}.result-card h3{font-size:33px}.result-card p{font-size:12px}.card-label{font-size:12px}.card-bottom{font-size:11px;flex-wrap:wrap}.circuit-preview{padding:24px 18px;min-height:130px}.circuit-preview b{font-size:11px}.check-row{flex-direction:row;align-items:center;font-size:13px}.check-row .result-math{font-size:11px}.notice{font-size:12px}.learning{margin-top:33px;padding-top:25px}.learning-heading h2{font-size:17px}.note-grid{grid-template-columns:1fr;gap:24px}.note-grid article{padding-bottom:23px;border-bottom:1px solid #e0e6d9}.note-grid article:last-child{border-bottom:0}.note-grid h3{font-size:15px;margin-top:8px}.note-grid p{font-size:14px}.ad-section{margin-top:32px}.ad-slot{min-height:200px}footer{gap:14px;font-size:12px}footer p{flex-basis:65%;font-size:11px}footer div{width:100%;display:flex;justify-content:space-between}footer button{font-size:12px;padding:10px 0}footer>span{width:100%}#toast{width:calc(100% - 36px);text-align:center;font-size:13px}.route-row .field-grid{grid-template-columns:1fr 1fr}.route-row label{font-size:13px}.subtle{font-size:11px}.dialog-heading{padding:14px 18px}.dialog-heading h2{font-size:16px}#dialog-body{padding:7px 20px 25px}.route-visual{padding:20px}.route-summary{font-size:14px}}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s,border-color .15s}.result-cards{animation:appear .25s ease-out}@keyframes appear{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}}
@media print{.sidebar,.topbar,.page-heading,.mobile-nav,.input-panel,.learning,.ad-section,footer,.result-tools,dialog,.details-box, .input-note,#toast{display:none!important}.shell{margin:0}main{padding:0;max-width:none}.workspace{display:block}.results{width:100%}.result-cards{grid-template-columns:repeat(4,1fr)}.summary-band{color:#122d20;background:white;border:1px solid #becfbc}.summary-current strong{color:#234f30}.summary-band p,.summary-eyebrow,.summary-current span{color:#526849}.result-card,.panel,.notice{break-inside:avoid}.print-head{display:block}.notice{background:white;color:#54472d}.check-row{font-size:12px}body{background:white}*{print-color-adjust:exact}}
.earth-strip{display:flex;align-items:center;gap:12px;background:#eef3e5;border:1px solid #d8e3cb;border-radius:7px;padding:14px 17px;margin:0 0 16px}.earth-strip>i{color:#6f8b47}.earth-strip>div{flex:1}.earth-strip b{font-size:12px;display:block;margin-bottom:5px;font-weight:500}.earth-strip span{font-size:12px;color:#6a7d57;line-height:1.7}.earth-strip button{white-space:nowrap}.earth-reason{font-size:14px;line-height:1.9;color:#67755e}.is-stale{opacity:.58}.is-stale [data-route],.is-stale [data-earth-from-circuit]{pointer-events:none}.mobile-nav{scrollbar-width:none}@media(max-width:720px){.mobile-nav button{padding:13px 8px;font-size:12px;flex:none}.earth-strip{flex-wrap:wrap;padding:13px}.earth-strip span{font-size:12px}.earth-strip .text-button{margin-left:auto}.earth-reason{font-size:14px}}
.field{font-size:14px}.card-label{font-size:14px}.field-note,.input-note{font-size:12px}.brand-sub{white-space:nowrap;font-size:7px}.side-mark{font-size:14px}.result-cards:has(.result-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.print-head{font-size:12px;line-height:1.8}@media(max-width:720px){.card-label{font-size:13px}.brand-sub{display:none}}@media(max-width:350px){.result-cards{grid-template-columns:1fr!important}.field-grid{gap:10px}.summary-band{padding:18px}.summary-current strong{font-size:34px}}

.input-terms{font-size:12px;line-height:1.8;text-align:center;color:#667268;margin:14px 0 0}.input-terms .text-button{font-size:12px;min-height:40px;text-decoration:underline;text-underline-offset:3px}.liability-note{margin-top:20px;padding:18px 20px;border:1px solid #d7dfd4;border-radius:8px;background:#eef2e9;color:#53624f;font-size:12px;line-height:1.9}.liability-note strong{font-size:13px;color:#35472e}.liability-note p{margin:6px 0 2px}.liability-note .text-button{min-height:42px;font-size:12px;text-decoration:underline;text-underline-offset:3px}.terms-updated{color:#6b7773;font-size:12px}@media print{.liability-note{break-inside:avoid;background:white;border-color:#999}.liability-note .text-button{display:none}}

.with-guide{min-width:0}.field-hint{font-size:12px;font-weight:400;line-height:1.75;color:#687763;margin:8px 0 2px}.guide-button{display:inline-flex;align-items:center;min-height:40px;padding:5px 0;background:none;border:0;font-size:13px;color:#245c47;text-decoration:underline;text-underline-offset:4px}.guide-button:hover{color:#142f23}.input-guide{font-size:14px;line-height:1.9;overflow-wrap:anywhere}.input-guide .guide-lead{font-size:15px}.guide-cards{margin:16px 0}.guide-cards>div{padding:16px 0;border-bottom:1px solid #dce3d7}.guide-cards dt{font-weight:600}.guide-cards dt b{display:block;color:#245c47;font-size:17px;margin-top:4px}.guide-cards dd{margin:8px 0 0}.guide-cards small{display:block;font-size:12px;color:#65715f;margin-top:7px}.guide-callout{padding:14px 16px;border-left:3px solid #8aa34a;background:#f0f4e9}.guide-table{width:100%;min-width:0;border-collapse:collapse;font-size:14px}.guide-table caption{text-align:left;color:#65715f;font-size:12px;padding-bottom:8px}.guide-table th,.guide-table td{white-space:normal;text-align:left;padding:10px 8px;border-bottom:1px solid #e1e7db;line-height:1.7}.guide-table thead{background:#eff4e8}.guide-table tbody th{font-weight:400}.guide-source{font-size:12px;color:#6b7773}@media(max-width:400px){.guide-table{font-size:12px}.guide-table th,.guide-table td{padding:8px 4px}}

.route-row .field{font-size:14px;margin-bottom:12px;min-width:0}.route-row .field-grid .field{margin-bottom:0}.route-specs{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);gap:9px}.route-row select{padding-left:8px;padding-right:3px}.auto-tag{font-size:11px;font-weight:400;background:#dfeacc;color:#46642e;border-radius:3px;padding:2px 5px;margin-left:6px}.route-dimension-note{font-size:12px;line-height:1.8;color:#64735e;margin:10px 0 2px;overflow-wrap:anywhere}.route-dimension-note a{display:inline-block;color:#35643b;text-underline-offset:3px;padding:4px 0}.route-table-note{display:block;white-space:normal;min-width:150px;max-width:300px;font-size:12px;line-height:1.6;color:#667660;margin-top:6px}.route-row .icon-button{min-height:40px;min-width:40px}.route-row .field-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.model-specs{grid-template-columns:minmax(0,1fr)}.route-row select{max-width:100%}.breaker-modes{display:flex;gap:5px;padding:5px;background:#e8ede3;border-radius:8px;width:fit-content;margin:0 0 23px}.breaker-modes button{border:0;border-radius:5px;padding:12px 16px;font-size:13px;background:transparent;color:#66765e;min-height:44px}.breaker-modes button.active{background:white;color:#245c47;box-shadow:0 2px 7px #2333260b;font-weight:600}.main-workspace{grid-template-columns:380px minmax(0,1fr)}.main-presets{display:flex;gap:8px;margin-bottom:20px}.main-presets button{flex:1;font-size:12px;padding:10px 5px}.branch-section-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:24px 0 8px;font-size:14px}.branch-section-heading span{font-size:11px;color:#788372}.branch-row{background:#f4f7ef;border:1px solid #e0e6d8;border-radius:8px;padding:13px;margin:14px 0}.branch-row .field{font-size:13px;margin-bottom:11px;min-width:0}.branch-row .route-row-head{font-size:11px;letter-spacing:1px;color:#6b7f5f}.branch-row .icon-button{min-height:40px;min-width:40px;font-size:22px}.branch-row .field-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.branch-row input,.branch-row select{width:100%;min-width:0}.branch-row .unit-input input{padding-right:46px}.branch-row .field-grid:last-child .field{margin-bottom:0}.branch-hint{font-size:11px;line-height:1.8;color:#71826a;margin:22px 0 0}.field textarea{display:block;width:100%;min-height:84px;resize:vertical;margin-top:8px;border:1px solid #d8e0d3;border-radius:5px;padding:12px;font:inherit;font-size:13px;line-height:1.8;color:var(--ink);background:#fff}.field textarea:focus{outline:2px solid #8aa965;outline-offset:1px}.main-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.main-phase-body{padding:20px 24px}.phase-meter{margin-bottom:18px}.phase-meter>div:first-child{display:flex;justify-content:space-between;font-size:14px;margin-bottom:8px}.phase-meter b{font-weight:600}.phase-track{height:9px;border-radius:10px;background:#edf2e6;overflow:hidden}.phase-track>span{display:block;height:100%;background:#82a358;border-radius:10px}.phase-meter:first-child .phase-track>span{background:#315e47}.phase-meter small{display:block;margin-top:5px;font-size:11px;color:#7a8870}.main-tree{padding:22px}.main-tree-head{display:flex;align-items:center;gap:12px;font-size:15px;padding:15px;background:#eff4e6;border:1px solid #d9e5cb;border-radius:6px}.main-tree-head svg{width:24px;height:24px;stroke:currentColor}.main-tree-branches{margin:0 0 0 24px;border-left:1px solid #bdccb0;padding:12px 0 0 18px}.main-tree-branch{display:flex;gap:10px;align-items:center;padding:15px 0;position:relative;border-bottom:1px solid #e9eee4}.main-tree-branch:before{content:'';position:absolute;left:-19px;top:30px;width:13px;border-top:1px solid #bdccb0}.branch-index{font-size:10px;color:#8a997c}.main-tree-branch>div{flex:1;min-width:0}.main-tree-branch b{font-size:13px;font-weight:500;overflow-wrap:anywhere}.main-tree-branch small{display:block;font-size:11px;line-height:1.8;color:#7b8871;margin-top:4px}.main-tree-branch>strong{font-size:21px;font-weight:500;text-align:right;flex:none}.main-tree-branch>strong small{font-size:9px;font-weight:400}.main-tree-branch:last-child{border-bottom:0}.main-workspace .check-row{flex-wrap:wrap}.main-workspace .summary-band{align-items:center}.main-workspace .summary-current strong{font-size:42px}.sidebar{overflow-y:auto}.sidebar-bottom{min-height:200px}
@media(min-width:1550px){.main-workspace{grid-template-columns:420px minmax(0,1fr)}}
@media(max-width:1200px) and (min-width:1051px){.main-workspace{grid-template-columns:340px minmax(0,1fr)}.main-workspace .summary-band{padding:18px}.main-workspace .summary-current strong{font-size:34px}.main-tree{padding:16px}.main-tree-branches{margin-left:12px;padding-left:14px}}
@media(max-width:1050px){.main-workspace{grid-template-columns:minmax(0,1fr)}.main-workspace #route-inputs{max-width:600px;margin:auto}.main-workspace form>.calculate{max-width:600px;display:flex;margin:12px auto 0}}
@media(max-width:720px){.breaker-modes{width:100%;gap:2px}.breaker-modes button{flex:1;font-size:12px;padding:12px 6px}.branch-row{padding:12px}.branch-row .field{font-size:13px}.branch-row .field select,.branch-row .field input,.field textarea{font-size:16px}.branch-row .field-grid{gap:9px}.main-tree{padding:16px}.main-tree-branches{margin-left:8px;padding-left:16px}.main-tree-branch{gap:7px}.main-tree-branch>strong{font-size:18px}.main-tree-branch small{font-size:10px}.main-tree-branch .branch-index{display:none}.main-phase-body{padding:20px}.main-workspace .summary-band{padding:20px}.main-workspace .summary-current strong{font-size:38px}}
@media print{.breaker-modes{display:none!important}.main-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.main-tree-branch{break-inside:avoid}.main-workspace .main-phase-panel{break-inside:avoid}.main-workspace .check-panel:has(.main-tree){break-inside:auto}}
.pipe-type-panel{padding-bottom:20px;margin-bottom:23px;border-bottom:1px solid #dfe6d9;min-width:0}.pipe-type-panel .field{margin-bottom:10px}.pipe-type-panel select{max-width:100%;font-size:14px;padding-left:9px;padding-right:3px}.pipe-product{font-size:12px;line-height:1.8;color:#3f5e36;margin:10px 0}.pipe-product span{display:block;color:#728167;font-size:11px}.pipe-type-panel .field-note{margin:8px 0;color:#66765f}.pipe-source{display:inline-flex;align-items:center;min-height:40px;font-size:12px;color:#245c47;text-underline-offset:4px}.fep-fields{background:#f0f5e8;border:1px solid #dce7ce;border-radius:7px;padding:13px;margin-top:13px}.fep-fields .field{font-size:12px}.fep-fields .field-note{font-size:11px}.pipe-result-note{background:#eef4e6;border:1px solid #dce5d1;border-radius:8px;padding:16px 20px;margin:0 0 18px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.pipe-result-note b{font-size:14px;color:#345631}.pipe-result-note p{margin:5px 0;color:#607454}.pipe-result-note a{display:inline-block;color:#35643b;text-underline-offset:3px;padding:6px 0;min-height:34px}
@media(max-width:720px){.pipe-type-panel select{font-size:16px}.pipe-result-note{padding:16px}.pipe-product,.pipe-source{font-size:13px}.pipe-type-panel .field-note{font-size:12px}.fep-fields .field{font-size:13px}.fep-fields .field-note{font-size:12px}}
@media print{.pipe-result-note{break-inside:avoid;background:white;border-color:#999}.pipe-result-note a{font-size:10px}}
