/* Shed base calculator (shed-base-calculator.php). Builds on garden-tools.css. */
.base-layout{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.base-form{flex:1 1 300px;max-width:380px;display:flex;flex-direction:column;gap:18px}
.base-form h2{margin:0;font-size:1.25rem}
.base-form fieldset{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.base-form legend,.base-form label{font-size:.875rem;font-weight:600;color:var(--slate-700,#334155)}
.base-form label{display:flex;flex-direction:column;gap:6px}
.base-form input[type=number]{padding:10px 12px;border:1px solid var(--slate-400,#94a3b8);border-radius:8px;font:inherit;font-size:1rem;color:var(--slate-800,#1e293b);background:#fff;min-height:44px;box-sizing:border-box;width:100%}
.base-pair{display:flex;gap:12px}.base-pair label{flex:1 1 0;min-width:0}
.base-segs{display:flex;flex-wrap:wrap;gap:8px}
.base-seg{position:relative;display:inline-flex}
.base-seg input{position:absolute;opacity:0;width:1px;height:1px}
.base-seg span{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--slate-400,#94a3b8);border-radius:8px;background:#fff;color:var(--slate-700,#334155);font-weight:600;cursor:pointer}
.base-seg input:checked+span{background:var(--forest-700,#1a5c3a);border-color:var(--forest-700,#1a5c3a);color:#fff}
.base-seg input:focus-visible+span{outline:3px solid var(--forest-400,#4caf7d);outline-offset:2px}
.base-plan{border-top:1px solid var(--slate-200,#e2e8f0);padding-top:16px;display:flex;flex-direction:column;gap:12px}
.base-plan h2{font-size:1.1rem}
.base-error{margin:0;padding:10px 12px;border-radius:8px;background:#fdecea;color:#8a1c12;font-weight:600}
.base-out{flex:999 1 540px;min-width:0;display:flex;flex-direction:column;gap:16px}
.base-summary{background:var(--forest-800,#14402a);color:#fff;border-radius:12px;padding:20px 22px;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between}
.base-summary .base-k,.base-summary .base-sub{color:#e0f4ea}
.base-summary>div{max-width:380px}
.base-k{margin:0;font-size:.8rem;font-weight:600;color:var(--slate-600,#475569)}
.base-big{margin:4px 0 0;font-family:var(--font-display);font-size:1.75rem;font-weight:800}
.base-mid{margin:4px 0 0;font-size:1.25rem;font-weight:700}
.base-sub{margin:2px 0 0;font-size:.875rem;line-height:1.45}
.base-results{display:flex;flex-direction:column;gap:14px}
.base-card{padding:20px 22px}
.base-card.is-best{border:2px solid var(--forest-600,#22754a)}
.base-card-head{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:baseline}
.base-card h3{margin:0;font-size:1.25rem}
.base-badge{background:var(--forest-100,#e0f4ea);color:var(--forest-800,#14402a);font-size:.8rem;font-weight:700;padding:4px 10px;border-radius:999px}
.base-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}
.base-v{margin:2px 0 0;font-size:1.05rem;font-weight:700;color:var(--slate-800,#1e293b)}
.base-ok{color:var(--forest-700,#1a5c3a)}.base-over{color:#b42318}
.base-lines{margin:14px 0 0;padding-left:18px;line-height:1.6;color:var(--slate-700,#334155)}
.base-fit{margin:10px 0 0;font-size:.9rem;line-height:1.5;color:var(--slate-600,#475569)}
.base-fit strong{color:var(--slate-800,#1e293b)}
.base-copy,.base-faq{margin-top:32px}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:640px){.base-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.base-form{max-width:none}}
