/* Shared calculator stylesheet controls page margins and panel widths. */
.hdd-app [hidden] { display:none !important; }
.hdd-app .card { margin-bottom:16px; }
.hdd-app .info-note,.hdd-app p,.hdd-app li { font-size:12px; line-height:1.7; }
.hdd-app h2,.hdd-app label { line-height:1.5; }
.hdd-app summary { cursor:pointer; font-weight:600; line-height:1.6; }
.hdd-app .form-group { min-width:0; margin-bottom:12px; }
.hdd-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); gap:0 14px; }
.hdd-app input,.hdd-app select,.hdd-app textarea { width:100%; min-width:0; min-height:38px; }
.hdd-app textarea { min-height:76px; }
.hdd-app input[readonly] { background:var(--tint); color:var(--text-muted); }
.hdd-error { color:#a52b20; margin:5px 0; }
.hdd-error:empty { display:none; }
.hdd-app [aria-invalid=true] { outline:1px solid #a52b20; }
.hdd-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; margin:16px 0; }
.hdd-metrics > div { background:var(--tint); padding:14px; border-radius:6px; min-width:0; }
.hdd-metrics span { display:block; font-size:12px; color:var(--text-muted); line-height:1.5; }
.hdd-metrics strong { display:block; font-size:21px; margin-top:6px; color:var(--navy); overflow-wrap:anywhere; }
.hdd-check,.hdd-derived { padding:12px; border-radius:5px; background:var(--tint); }
.hdd-check.is-fail,.hdd-warning { background:#fff0eb; color:#a52b20; padding:12px; }
.hdd-scroll { overflow-x:auto; }
.hdd-table { width:100%; border-collapse:collapse; font-size:12px; line-height:1.6; }
.hdd-table th,.hdd-table td { padding:10px 8px; border-bottom:1px solid var(--border); text-align:right; font-variant-numeric:tabular-nums; vertical-align:top; }
.hdd-table th:first-child,.hdd-table td:first-child { text-align:left; }
.hdd-table th { font-weight:600; }
.hdd-table td { overflow-wrap:anywhere; }
.hdd-scroll .hdd-table { min-width:560px; }
#profileDiagram svg { display:block; width:100%; height:auto; }
.hdd-app details p { overflow-wrap:anywhere; }
.hdd-app [id] { scroll-margin-top:calc(var(--chrome-h) + 20px); }
