/* Kartlegg v0.9 – home nursing tool library. NEWS2 landing layout intentionally unchanged. */
.hc-tool-card{display:flex;flex-direction:column;align-items:flex-start}
.hc-tool-card .hc-launch{margin-top:auto;min-height:44px}
.hc-card-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--accent-bg);color:var(--accent);font-size:19px;font-weight:800;margin-bottom:12px}
.hc-tool-card h3{font-size:16px;line-height:1.3}
.hc-dialog{width:min(660px,calc(100vw - 16px))}
.hc-content{display:flex;flex-direction:column;gap:13px}
.hc-hint{font-size:12px;line-height:1.65;color:var(--muted);margin:2px 0}
.hc-form{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.hc-field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:750}
.hc-field>span{font-size:12px}
.hc-field input,.hc-field select{width:100%;padding:11px 12px;min-height:44px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);font-size:15px}
.hc-form .btn{min-height:44px}
.hc-output{border:1px solid var(--accent-border);border-radius:12px;padding:15px 17px;background:var(--accent-bg);color:var(--ink)}
.hc-output[hidden]{display:none}
.hc-big-result{display:block;font-size:23px;font-weight:850;line-height:1.35;margin:0 0 12px;letter-spacing:-.03em}
.hc-result-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}
.hc-result-row span{color:var(--muted)}
.hc-result-row strong{font-variant-numeric:tabular-nums}
.hc-alert{border:1px solid var(--line);padding:11px 13px;border-radius:10px;background:var(--paper);color:var(--ink);font-size:12px;line-height:1.6;margin:10px 0 0}
.hc-warning{background:#fff3e5;color:#67431c;border-color:#eed5b2}
:root[data-theme=dark] .hc-warning{background:#453424;color:#ffe6c3;border-color:#7b6248}
.hc-source{font-size:11px;font-weight:700;color:var(--accent);text-underline-offset:3px;overflow-wrap:anywhere}
.hc-tug-clock{font-size:clamp(36px,7vw,53px);font-weight:850;letter-spacing:-.045em;font-variant-numeric:tabular-nums;text-align:center;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:18px 10px}
.hc-controls{display:flex;gap:8px}
.hc-controls .btn{flex:1;font-size:12px;padding:10px 7px}
.hc-bp-group{border:1px solid var(--line);border-radius:11px;padding:11px 14px}
.hc-bp-group legend{font-weight:800;font-size:13px;padding:0 4px}
.hc-bp-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hc-esas-list{display:flex;flex-direction:column;gap:10px}
.hc-esas-item{padding:12px;background:var(--bg);border:1px solid var(--line);border-radius:11px}
.hc-esas-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hc-esas-head label{font-size:13px;font-weight:800}
.hc-esas-number{max-width:70px;height:39px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:8px;text-align:center;font-size:16px;font-weight:750}
.hc-esas-range{width:100%;accent-color:var(--accent);min-height:32px;cursor:pointer}
.hc-esas-anchors{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:10px;line-height:1.3}
.hc-esas-anchors span:last-child{text-align:right}
.hc-emergency{padding:16px 17px;background:#fff0f1;color:#92253b;border:2px solid #d65d71;border-radius:12px}
.hc-emergency strong{display:block;font-size:17px}
.hc-emergency p{margin:7px 0 0;font-size:13px;line-height:1.6}
:root[data-theme=dark] .hc-emergency{background:#402633;color:#ffd5df;border-color:#df758b}
.hc-fast-line{display:flex;align-items:start;gap:13px;padding:12px 3px;border-bottom:1px solid var(--line)}
.hc-fast-letter{flex:none;width:44px;height:44px;display:grid;place-items:center;border-radius:11px;background:var(--accent-bg);color:var(--accent);font-size:23px;font-weight:900}
.hc-fast-line strong{font-size:14px}
.hc-fast-line p{font-size:12px;line-height:1.6;color:var(--muted);margin:4px 0 0}
.hc-tabs{display:flex;flex-wrap:wrap;gap:7px}
.hc-tab{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:10px;padding:10px 13px;min-height:43px;font-size:12px;font-weight:750}
.hc-tab[aria-selected=true]{background:var(--accent-bg);color:var(--accent);border-color:var(--accent-border)}
.hc-skuv-panel{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:13px 17px}
.hc-skuv-panel h3{margin:4px 0 12px;font-size:16px}
.hc-skuv-panel ul{padding-left:19px;margin:0}
.hc-skuv-panel li{font-size:12px;line-height:1.7;margin-bottom:8px}
@media(max-width:550px){.hc-content{gap:11px}.hc-bp-grid{grid-template-columns:1fr}.hc-controls .btn{font-size:11px}.hc-tug-clock{padding:12px}.hc-tab{flex:1;padding:9px 8px;min-width:32%}}
@media(prefers-reduced-motion:reduce){.hc-card-icon,.hc-tool-card,.hc-tab,.hc-tug-clock{animation:none!important;transition:none!important}}
