.ivd { max-width:820px; margin-inline:auto; color:var(--text); }
.ivd h1 { margin-bottom:8px; overflow-wrap:anywhere; }
.ivd h2 { font-size:1.35rem; line-height:1.25; margin:22px 0 12px; }
.ivd h3 { font-size:1.1rem; line-height:1.3; margin:18px 0 10px; }
.ivd p { line-height:1.5; }
.ivd-lede { margin-top:0; margin-bottom:24px; }
.ivd[data-stage="work"] > .ivd-lede { display:none; }
.ivd-small { color:var(--text-2); font-size:.88rem; }
.ivd :is(p,li,label,button,a,strong) { overflow-wrap:anywhere; }
.ivd-model-form { border-block:1px solid var(--line-strong); padding-block:20px; margin-bottom:18px; }
.ivd label { display:block; font-weight:650; margin-bottom:8px; }
.ivd-model-form p { margin:0 0 12px; }
.ivd-input-row { display:flex; gap:8px; flex-wrap:wrap; }
.ivd input { flex:1 1 180px; min-width:0; width:100%; min-height:48px; border:1px solid var(--line-strong); border-radius:4px; background:var(--surface); color:var(--text); padding:10px 12px; font:inherit; }
.ivd-choice { display:inline-flex; align-items:center; justify-content:flex-start; min-height:48px; max-width:100%; border:1px solid var(--line-strong); border-radius:4px; padding:11px 14px; background:var(--surface); color:var(--text); font:600 1rem/1.35 var(--font); text-align:left; cursor:pointer; white-space:normal; }
.ivd-choice:hover { background:var(--surface-2); border-color:var(--text); }
.ivd-choice[aria-pressed="true"] { background:var(--text); color:var(--surface); border-color:var(--text); }
.ivd-primary { background:var(--primary-btn,var(--primary)); border-color:var(--primary-btn,var(--primary)); color:var(--primary-ink); }
.ivd-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-bottom:16px; }
.ivd-choices > form { grid-column:1/-1; }
.ivd-unit { border-block:1px solid var(--line-strong); padding-block:16px; display:flex; justify-content:space-between; align-items:start; gap:14px; }
.ivd-unit strong { display:block; }
.ivd-unit p { margin:6px 0 0; }
.ivd-unit > .ivd-choice { flex:none; }
.ivd-work-title { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-block:18px; }
.ivd-work-title h2 { margin:0; }
.ivd-answer:not(:empty) { border-left:3px solid var(--primary); padding:1px 16px; background:var(--surface-2); margin-block:18px; }
.ivd-answer h3 { margin-top:12px; }
.ivd-cooling-check { border:0; border-top:1px solid var(--line); padding:12px 0; margin:0; min-width:0; }
.ivd-cooling-check legend { font-weight:650; padding:0 8px 0 0; }
.ivd-check-buttons, .ivd-e1-icons { display:flex; flex-wrap:wrap; gap:8px; }
.ivd-e1-icons p { flex-basis:100%; margin-bottom:0; }
.ivd textarea { display:block; width:100%; min-height:10rem; resize:vertical; border:1px solid var(--line-strong); border-radius:4px; background:var(--surface); color:var(--text); padding:10px 12px; font:inherit; margin-bottom:10px; }
.ivd-temperature-fields label { margin:12px 0; }
.ivd-temperature-fields input { display:block; margin-top:6px; }
.ivd-source { display:block; width:fit-content; max-width:100%; padding-block:10px; min-height:44px; line-height:1.45; }
.ivd-details { border-top:1px solid var(--line); margin-top:16px; }
.ivd summary { min-height:48px; padding-block:14px; font-weight:650; cursor:pointer; }
.ivd li { line-height:1.5; margin-bottom:6px; }
.ivd :is(input,textarea,button,a,summary):focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
.wizard .wiz-reference-help { border-top:1px solid var(--line); margin-top:20px; }
.wizard .wiz-reference-help summary { min-height:48px; padding-block:14px; cursor:pointer; font-weight:650; }
.wizard .wiz-reference-help summary:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
.wizard .wiz-reference-help a { overflow-wrap:anywhere; }
.wizard .result-card.reference { border-color:var(--line-strong); }
.wizard .result-card.reference .result-badge { background:var(--surface-2); color:var(--text); }
.wiz-observation { border-top:1px solid var(--line); margin-top:22px; padding-top:14px; }
.wiz-observation summary { cursor:pointer; min-height:44px; font-weight:650; }
.wiz-observation summary:focus-visible, .wiz-observation textarea:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
.wiz-observation-label { display:grid; gap:8px; font-weight:600; }
.wiz-observation textarea { box-sizing:border-box; width:100%; min-height:110px; padding:12px; font:inherit; color:var(--text); background:var(--surface); border:1px solid var(--line-strong); border-radius:var(--radius-sm); resize:vertical; }
.wiz-observation .wiz-actions { margin-top:12px; }
@media(max-width:520px) {
 body:has(.ivd) .foot-cols { grid-template-columns:minmax(0,1fr); }
 .ivd-choices { grid-template-columns:minmax(0,1fr); }
 .ivd-observations { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .ivd-unit { display:block; }
 .ivd-unit > .ivd-choice { margin-top:12px; }
 .ivd h1 { font-size:1.9rem; }
}
/* One fridge family: power, normal voltage, codes, notes, manual */
.ivd-family { border-top:1px solid var(--line); padding-top:4px; }
.ivd-family h3 { margin-bottom:8px; }
.ivd-family h4 { font-size:1rem; margin:14px 0 6px; }
.ivd-family :is(.ivd-facts,.ivd-codes) { display:grid; grid-template-columns:minmax(4.5rem,max-content) minmax(0,1fr); gap:6px 14px; margin:0 0 10px; }
.ivd-family dt { font-weight:650; overflow-wrap:anywhere; }
.ivd-family dd { margin:0; line-height:1.45; overflow-wrap:anywhere; }
.ivd-family .ivd-codes dt { font-family:var(--mono); }
@media(max-width:520px) { .ivd-family .ivd-facts { grid-template-columns:minmax(0,1fr); gap:2px; } .ivd-family .ivd-facts dd { margin-bottom:8px; } }
