/* The familiar item calculator, with a clear inventory and a readable estimate. */
#calculator>.wrap>.intro h2{font-size:clamp(39px,4.2vw,58px)}.calculator-shell{border:1px solid #46617f;border-radius:9px;background:#fff;overflow:hidden;box-shadow:0 24px 65px #071c3330;color:#173350}.calculator-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:29px 32px;border-bottom:1px solid #dfe7f2}.calculator-heading>div>span{display:block;font-size:9px;letter-spacing:.14em;color:#6986a9;font-weight:600;margin-bottom:12px}.calculator-heading h3{font-size:24px;letter-spacing:-.035em}.calculator-heading p{font-size:12px;line-height:1.8;color:#7a90aa;margin:0}.calculator-shell .calc{border:0;grid-template-columns:minmax(0,1fr) 340px;grid-template-rows:auto 1fr;gap:0;align-items:stretch}.calculator-shell .calc-tabs{grid-column:1;grid-row:1;gap:7px;align-content:start;padding:26px 30px 0;flex-wrap:wrap}.calculator-shell .calc-tabs::before{font-size:9px;margin-bottom:9px}.calculator-shell .calc-tabs button{font-size:12px;min-height:43px;padding:10px 13px;border-radius:5px}.calculator-shell #calcGroups{grid-column:1;grid-row:2;padding:24px 30px 28px;min-height:460px}.calculator-shell .calc-group h4{font-size:10px;margin-bottom:13px}.calculator-shell .calc-list{grid-template-columns:1fr;gap:0}.calculator-shell .calc-item{font-size:14px;min-height:66px;padding:12px 0;gap:20px}.calculator-shell .calc-item>span:first-child{max-width:none}.calculator-shell .stepper{gap:7px}.calculator-shell .stepper button{width:42px;height:42px;border-radius:6px;font-size:20px;background:#f3f7fc;border-color:#cddbed;color:#365e91}.calculator-shell .stepper button:hover:not(:disabled){color:#fff;background:#033982;border-color:#033982}.calculator-shell .stepper button:disabled{background:#fafcff;opacity:.3}.calculator-shell .stepper output{width:29px;font-size:14px;font-variant-numeric:tabular-nums}.calculator-shell .calc-out{grid-column:2;grid-row:1/3;background:#eef3fa;border-left:1px solid #dbe5f2;padding:28px 27px;color:#173350}.estimate-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.estimate-heading>span:first-child{font-size:9px;color:#728aab;letter-spacing:.13em;font-weight:600}.estimate-dot{height:6px;width:6px;border-radius:50%;background:#718fb9}.calculator-shell .calc-out .estimate-primary-label{font-size:11px;letter-spacing:0;color:#4c6b90;text-transform:none;font-weight:500}.estimate-primary{font-size:58px;line-height:1.15;letter-spacing:-.055em;color:#033982;margin:12px 0 8px;font-weight:500;font-variant-numeric:tabular-nums}.calculator-shell .calc-out .estimate-start{font-size:11px;color:#7a91ac;margin:0 0 21px}.estimate-size-scale{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin:0 0 22px}.estimate-size-scale>span{border-top:3px solid #d4e0ee;padding-top:7px;color:#96a8bf;font-size:10px;text-align:center;line-height:1.5;font-variant-numeric:tabular-nums}.estimate-size-scale>span.is-suggested{color:#033982;border-color:#033982;font-weight:700}.estimate-size-scale small{font-size:8px}.calculator-shell .calc-out hr{margin:21px 0;border-color:#d7e2ef}.calculator-shell .calc-out h4{font-size:9px;color:#7088a7;letter-spacing:.1em}.calculator-shell .calc-out .figure{font-size:34px;color:#244d82;margin:11px 0 8px}.calculator-shell .calc-out .figure>span{font-size:16px;margin-left:3px}.calculator-shell .calc-out p{font-size:12px;color:#587491;line-height:1.85}.calculator-shell .calc-out .btn{font-size:12px;min-height:48px;white-space:normal}.calculator-shell .selected-inventory{border-block:1px solid #d6e1ef;margin-top:20px;padding:10px 0}.selected-inventory summary{display:flex;justify-content:space-between;align-items:center;gap:15px;list-style:none;font-size:11px;color:#54749b;cursor:pointer;min-height:28px}.selected-inventory summary::-webkit-details-marker{display:none}.selected-inventory summary::after{content:'＋';font-size:13px}.selected-inventory[open] summary::after{content:'−'}.selected-inventory summary span{margin-left:auto;font-size:10px;background:#e0e9f6;color:#496e9d;padding:2px 7px;border-radius:20px}.selected-inventory ul{padding:10px 0 0;list-style:none;max-height:200px;overflow-y:auto;scrollbar-width:thin}.selected-inventory li{font-size:11px;line-height:1.7;color:#7088a5;display:flex;align-items:start;justify-content:space-between;gap:12px;padding:6px 0}.selected-inventory li b{font-weight:500;white-space:nowrap}.calculator-shell .estimate-actions{margin-top:14px}.calculator-shell .estimate-actions button,.calculator-shell .estimate-actions a,.calculator-shell .calc-reset{font-size:11px;min-height:35px}.calculator-shell .planner-coach{padding-top:30px}.calculator-shell .planner-coach p{font-size:11px;color:#728aa7}.calculator-shell .planner-coach b{font-size:12px}.calculator-shell .planner-coach button{font-size:12px;min-height:42px}.bokke-mode .calculator-shell{border-color:#b99744}.bokke-mode .calculator-shell .calc-out{background:#eff5ef}.bokke-mode .calculator-shell .calc-tabs button[aria-pressed=true]{background:#174e37;border-color:#174e37}.bokke-mode .estimate-primary{color:#1b543e}.bokke-mode .estimate-size-scale>span.is-suggested{border-color:#b49334;color:#1b543e}.bokke-mode .stepper button{background:#f4e8b6;border-color:#d5bd62;color:#174e37}
@media(min-width:1300px){.calculator-shell .calc-list{grid-template-columns:1fr 1fr;gap:0 28px}.calculator-shell .calc-item{font-size:12px}.calculator-shell .stepper{gap:3px}.calculator-shell .stepper button{width:36px;height:38px}.calculator-shell #calcGroups{min-height:435px}}
@media(max-width:1000px){.calculator-shell .calc{grid-template-columns:minmax(0,1fr) 310px}.calculator-heading{padding:25px}.calculator-heading h3{font-size:22px}.calculator-shell .calc-tabs{padding:23px 23px 0;gap:5px}.calculator-shell .calc-tabs button{font-size:11px;padding-inline:10px}.calculator-shell #calcGroups{padding:21px 23px}.calculator-shell .calc-out{padding:25px 22px}.calculator-shell .calc-item{font-size:13px}.calculator-shell .stepper{gap:3px}.calculator-shell .stepper button{width:38px;height:40px}}
@media(max-width:760px){#calculator>.wrap>.intro h2{font-size:40px}.calculator-heading{padding:23px 20px;align-items:flex-start}.calculator-heading>div>span{font-size:8px;margin-bottom:10px}.calculator-heading h3{font-size:22px;max-width:19ch}.calculator-heading p{display:none}.calculator-shell .calc{grid-template-columns:1fr;grid-template-rows:auto auto auto}.calculator-shell .calc-tabs{grid-column:1;grid-row:1;padding:19px 17px 9px;flex-wrap:nowrap;overflow-x:auto;gap:6px;scrollbar-width:thin}.calculator-shell .calc-tabs::before{display:none}.calculator-shell .calc-tabs button{font-size:11px;min-height:42px;padding:10px 12px;flex-shrink:0}.calculator-shell #calcGroups{grid-column:1;grid-row:2;padding:18px 20px 24px;min-height:0}.calculator-shell .calc-out{grid-column:1;grid-row:3;padding:26px 23px;border-left:0;border-top:1px solid #d4e0ee}.calculator-shell .calc-item{font-size:13px;min-height:65px;gap:15px}.calculator-shell .stepper{gap:5px}.calculator-shell .stepper button{width:42px;height:42px;font-size:20px}.calculator-shell .stepper output{font-size:14px;width:28px}.calculator-shell .calc-group h4{font-size:9px}.estimate-heading{margin-bottom:22px}.estimate-primary{font-size:57px}.estimate-size-scale{gap:6px;max-width:340px}.estimate-size-scale>span{font-size:11px}.calculator-shell .calc-out .estimate-start{font-size:12px}.calculator-shell .calc-out p{font-size:13px}.calculator-shell .calc-out h4{font-size:9px}.calculator-shell .calc-out .estimate-primary-label{font-size:12px}.calculator-shell .calc-out .btn{font-size:13px;min-height:49px}.selected-inventory summary{font-size:12px;min-height:34px}.selected-inventory li{font-size:12px}.calculator-shell .estimate-actions button,.calculator-shell .estimate-actions a,.calculator-shell .calc-reset{font-size:12px;min-height:40px}.calculator-shell .planner-coach{padding-top:25px;gap:13px}.calculator-shell .planner-coach p{font-size:10px;max-width:25ch}.calculator-shell .planner-coach button{font-size:11px}.saved-note{font-size:10px}}
@media(max-width:380px){#calculator>.wrap>.intro h2{font-size:36px}.calculator-heading h3{font-size:20px}.calculator-shell .calc-tabs{padding-inline:14px}.calculator-shell #calcGroups{padding-inline:17px}.calculator-shell .calc-item{font-size:12px;gap:9px}.calculator-shell .stepper{gap:2px}.calculator-shell .stepper button{width:37px;height:40px}.calculator-shell .stepper output{width:24px}.calculator-shell .calc-out{padding:24px 20px}.calculator-shell .planner-coach{align-items:flex-start}.calculator-shell .planner-coach b{font-size:11px}.calculator-shell .planner-coach button{font-size:10px}}
@media(prefers-reduced-motion:reduce){.calculator-shell *{transition:none!important}}
/* One generous inventory row per item keeps the desktop result and controls balanced. */
@media(min-width:1300px){.calculator-shell .calc-list{grid-template-columns:1fr}.calculator-shell .calc-item{font-size:14px;min-height:66px}.calculator-shell .stepper{gap:7px}.calculator-shell .stepper button{width:42px;height:42px}.calculator-shell #calcGroups{min-height:0}}
