/* Cost calculator: scoped styles, shared with its admin data fields. */
.calculator-main{padding-left:0;padding-right:0}
.cost-calculator{--cost-accent:#007f76;--cost-ink:#193c40;width:100%;max-width:none;margin:0}
.cost-calculator [hidden]{display:none!important}
.cost-calculator h1,.cost-calculator h2,.cost-calculator h3,.cost-calculator p{margin-top:0}
.cost-intro{display:grid;grid-template-columns:1fr 320px;gap:50px;align-items:center;padding:32px 0 36px}
.cost-eyebrow{color:var(--cost-accent);font-size:13px;font-weight:800;letter-spacing:.16em}
.cost-intro h1{font-size:clamp(32px,3.3vw,52px);font-weight:800;line-height:1.22;letter-spacing:-.04em;margin:15px 0 18px;color:var(--cost-ink)}
.cost-intro>div>p{color:#637b80;max-width:560px;font-size:15px;line-height:1.9;margin-bottom:0}
.cost-reference{border-left:2px solid #92c9c0;padding:6px 0 6px 28px;color:#557277}
.cost-reference>span{font-size:13px}.cost-reference strong{display:block;font-size:56px;line-height:1.3;font-weight:650;font-variant-numeric:tabular-nums;color:var(--cost-accent);margin:8px 0}
.cost-reference strong small{font-size:17px;font-weight:500}.cost-reference p{font-size:12px;line-height:1.8;max-width:260px;margin-bottom:0}
.cost-panel,.cost-card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 28px rgba(25,64,64,.035)}
.cost-panel{padding:26px 28px}
.cost-section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.cost-section-title>div:first-child{display:flex;align-items:center;gap:12px}
.cost-step{font-size:12px;letter-spacing:.08em;color:var(--cost-accent);border:1px solid #cce4df;padding:7px 9px;border-radius:8px;font-variant-numeric:tabular-nums}
.cost-section-title h2{font-size:20px;margin:0;white-space:nowrap}.cost-section-title>p{font-size:12px;color:#73878d;margin:0}
.cost-picker{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(180px,1.2fr) auto;gap:14px;align-items:end}
.cost-picker label,.cost-field{display:grid;gap:9px;font-size:12px;color:#4d686e;min-width:0}
.cost-calculator input:not([type=checkbox]),.cost-calculator select{height:44px;width:100%;min-width:0;border:1px solid #d9e7e4;background:#fff;border-radius:9px;padding:0 12px;color:#193c40;outline:none;font-size:14px}
.cost-calculator input:focus-visible,.cost-calculator select:focus-visible{border-color:#008f84;box-shadow:0 0 0 3px #008f8412}
.cost-calculator button:focus-visible,.cost-calculator summary:focus-visible,.cost-table-scroll:focus-visible{outline:2px solid #007f76;outline-offset:3px}
.cost-button{height:44px;border:1px solid var(--cost-accent);border-radius:9px;padding:0 18px;background:var(--cost-accent);color:#fff;font-size:13px;font-weight:700;white-space:nowrap;transition:background .16s ease}
.cost-button:hover{background:#006c64}.cost-button:disabled{opacity:.45;cursor:not-allowed}.cost-secondary{background:#fff;color:var(--cost-accent);border-color:#d6e6e2}.cost-secondary:hover{background:#f0f8f5}
.cost-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}.cost-actions .cost-button{height:38px;font-size:12px}.cost-actions [role=status]{color:#5a7479;font-size:12px}
.cost-input-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:30px 0 16px}.cost-input-heading h2{font-size:18px;margin:0}.cost-input-heading>span{font-size:12px;color:#75898d}
.cost-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.cost-card{padding:24px;min-width:0;position:relative;border-top:3px solid #72b5aa}
.cost-card-cigarette{border-top-color:#9bafa6;background:#fdfefd}
.cost-card-header{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:22px}
.cost-card-index{font-size:11px;letter-spacing:.08em;color:#6d898b}.cost-card-header h3{font-size:19px;line-height:1.45;margin:7px 0 0;overflow-wrap:anywhere;color:var(--cost-ink)}
.cost-remove{flex:0 0 auto;width:30px;height:30px;background:#f4f8f7;border:0;border-radius:50%;color:#597375;font-size:21px;line-height:1}.cost-remove:hover{background:#e3efeb}
.cost-card>.cost-field{margin-bottom:16px}.cost-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 14px}
.cost-field>span:first-child{display:flex;justify-content:space-between;align-items:center;gap:6px;line-height:1.5}.cost-field small{font-size:10px;color:#8c9c9f;font-weight:400}
.cost-input-wrap{position:relative;min-width:0}.cost-calculator .cost-input-wrap input{padding-right:65px;font-size:17px;font-variant-numeric:tabular-nums}
.cost-input-wrap>span{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#819397;font-size:11px;pointer-events:none}
.cost-days-note{font-size:12px;color:#007f76;line-height:1.7;background:#eff8f4;border-radius:8px;padding:10px 12px;margin:18px 0 10px}
.cost-source{font-size:11px;color:#7a8e93;line-height:1.8;margin-bottom:12px;overflow-wrap:anywhere}
.cost-device{border-top:1px solid #edf2ef;padding-top:12px;margin-top:12px}.cost-device summary{font-size:12px;color:#526f72;cursor:pointer}.cost-device[open] summary{margin-bottom:14px}.cost-device p{font-size:11px;line-height:1.8;color:#7c8e92;margin:10px 0 0}
.cost-card-error{font-size:11px;line-height:1.8;color:#a35d39;margin:12px 0 0}.cost-card-error:empty{display:none}
.cost-results{margin-top:28px}.cost-period{display:flex;align-items:center;gap:10px;font-size:12px;color:#597378}.cost-calculator .cost-period select{width:100px;height:36px;font-size:12px}.cost-custom-period{display:flex;align-items:center;gap:8px}.cost-calculator .cost-custom-period input{width:95px;height:36px;font-size:12px}
.cost-result-summary{font-size:12px;line-height:1.8;color:#5a7479;margin-bottom:16px}
.cost-table-scroll{overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #e1ebe7;border-radius:10px}
.cost-table{width:100%;min-width:calc(160px + var(--cost-columns,2)*190px);border-collapse:separate;border-spacing:0;text-align:left;table-layout:fixed;font-variant-numeric:tabular-nums}
.cost-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.cost-table th,.cost-table td{padding:16px 18px;border-right:1px solid #edf2ef;border-bottom:1px solid #edf2ef;font-size:13px;line-height:1.6;overflow-wrap:anywhere;background:#fff}
.cost-table thead th{background:#f1f7f4;color:#24494a;vertical-align:top;font-weight:700;font-size:14px}.cost-table thead th small{display:block;font-size:11px;color:#6c8487;font-weight:400;margin-top:8px}
.cost-table th:first-child{position:sticky;left:0;width:180px;z-index:1;background:#fbfdfb;font-size:12px;color:#5b7577;font-weight:500}.cost-table thead th:first-child{background:#f1f7f4;z-index:2}
.cost-table tr>:last-child{border-right:0}.cost-table tbody tr:last-child>*{border-bottom:0}
.cost-table .cost-main-metric>*{background:#eef8f3;color:#007f76;font-weight:700}.cost-table .cost-main-metric td{font-size:21px}.cost-table .cost-main-metric th:first-child{background:#e8f4ed;color:#007f76;font-weight:700}
.cost-caption{font-size:11px;color:#7d9093;line-height:1.9;margin:18px 0 0}
.cost-bottom{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:20px 0;font-size:12px;color:#5c767b}.cost-bottom label{display:flex;align-items:center;gap:7px}.cost-bottom input{accent-color:#007f76}.cost-bottom p{flex-basis:100%;margin:0;font-size:11px;color:#7c9092}.cost-bottom p:empty{display:none}
.cost-text-button{border:0;background:none;color:#6c8589;font-size:12px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.cost-formulas{font-size:12px;color:#6c8487;line-height:1.9;border-top:1px solid #e0ebe5;padding-top:20px}.cost-formulas summary{cursor:pointer;color:#375d60}.cost-formulas[open] summary{margin-bottom:12px}
.calculator-detail-link{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;margin:14px 0 20px;color:var(--jade);background:#f1f9f5;border:1px solid #d4e8df;border-radius:10px;font-size:14px;font-weight:700}
.spec-calculator{grid-column:1 / -1;min-width:0;padding-top:10px;border-top:1px solid #e4eeeb}.spec-calculator summary{cursor:pointer;color:#39776f;font-size:13px}.spec-calculator[open] summary{margin-bottom:12px}.spec-calculator .admin-form input{width:100%;min-width:0}
.product-editor-v2>.editor-calculator{grid-column:1 / 3}
@media(min-width:901px){.topbar-inner{gap:20px}.topbar-inner nav{gap:clamp(10px,1.4vw,24px);flex:0 0 auto;width:auto;order:0}.topbar-inner nav a{white-space:nowrap;flex-shrink:0}.topbar-inner>.search{flex:1 1 160px;min-width:120px;width:auto}.topbar-inner>.brand{min-width:242px;flex:0 0 242px}.product-editor-v2>.editor-main-image{grid-row:1}}
@media(min-width:901px) and (max-width:1200px){.topbar-inner>.safe{display:none}}
@media(min-width:1201px){.cost-cards:has(>.cost-card:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.cost-intro{grid-template-columns:1fr 240px;gap:24px;padding:22px 0 28px}.cost-reference{padding-left:20px}.cost-reference strong{font-size:44px}.cost-panel{padding:22px}.cost-section-title{align-items:start}.cost-section-title>p{max-width:180px;line-height:1.7}.product-editor-v2>.editor-calculator{grid-column:1}}
@media(max-width:600px){.cost-intro{grid-template-columns:1fr;gap:22px}.cost-intro h1{font-size:36px;margin:12px 0}.cost-intro>div>p{font-size:13px}.cost-reference{display:grid;grid-template-columns:1fr auto;gap:2px 16px;background:#edf6ef;border:1px solid #d8e9de;border-radius:12px;padding:16px 18px}.cost-reference strong{grid-column:2;grid-row:1 / 3;font-size:36px;margin:0;align-self:center}.cost-reference p{font-size:10px;max-width:none}.cost-reference>span{font-size:12px}.cost-panel{padding:18px 16px;border-radius:14px}.cost-section-title{display:block;margin-bottom:18px}.cost-section-title h2{font-size:18px}.cost-section-title>p{max-width:none;margin-top:10px}.cost-picker{grid-template-columns:1fr}.cost-picker .cost-button{width:100%}.cost-actions{gap:8px}.cost-actions .cost-button{padding:0 12px}.cost-input-heading{align-items:start;flex-direction:column;gap:7px;margin-top:24px}.cost-input-heading>span{font-size:11px;line-height:1.7}.cost-cards{grid-template-columns:1fr;gap:14px}.cost-card{padding:20px 18px;border-radius:14px}.cost-period{margin-top:16px;flex-wrap:wrap}.cost-table th:first-child{width:130px}.cost-table th,.cost-table td{padding:13px 12px}.cost-table{min-width:calc(130px + var(--cost-columns,2)*180px)}.cost-results{margin-top:22px}.cost-table .cost-main-metric td{font-size:18px}}
@media(prefers-reduced-motion:reduce){.cost-calculator *{transition:none!important}}
