/* Current entry, editable questionnaire and versioned reports. Historical reports retain household-alignment.css. */
.ham-current { color:var(--ink); }
.ham-current .ham-brief-conversation { padding:1.5rem 0; border-bottom:1px solid var(--line); max-width:72ch; }
.ham-current .ham-brief-conversation h4 { margin:1.25rem 0 .4rem; }
.ham-current .ham-brief-common { padding:1.25rem; background:var(--accent-soft); border-radius:12px; margin:1.25rem 0; }
.ham-current .ham-brief-evidence { margin:2rem 0; }
.ham-current .ham-brief-builder { border-top:1px solid var(--line); padding-top:2rem; margin-top:2rem; max-width:72ch; scroll-margin-top:1.5rem; }
.ham-current .ham-brief-builder form { display:grid; gap:.8rem; margin:1.25rem 0 2rem; }
.ham-current .ham-brief-builder fieldset { padding:0; border:0; margin:1rem 0; min-width:0; }
.ham-current .ham-brief-builder legend { font-weight:700; margin-bottom:.75rem; }
.ham-current .ham-brief-builder :is(input[type="date"],select) { width:100%; min-height:44px; }
.ham-current .ham-brief-record dt { font-weight:700; margin-top:1.25rem; }
.ham-current .ham-brief-record dd { margin:.4rem 0 1rem; overflow-wrap:anywhere; }
.ham-current .ham-brief-record ul { padding-left:1.25rem; }
.ham-current .ham-recommend { border-top:1px solid var(--line); padding-top:1.5rem; margin-top:2rem; max-width:72ch; }
.ham-current .ham-recommend textarea { width:100%; box-sizing:border-box; margin:.5rem 0 1rem; }
.ham-current :is(.ham-brief-evidence, .ham-brief-conversation) summary { padding:.8rem 0; cursor:pointer; }
.ham-current :is(.ham-card,.ham-guided-option,.ham-context,.ham-topic-detail) { border-color:var(--line); background:var(--card); }
.ham-current .ham-card { border-radius:16px; }
.ham-current :is(button,a.button) { background:var(--highlight); color:var(--ink); border-color:var(--ink); }
.ham-current :is(button.secondary,button.button.secondary,a.button.secondary) { background:var(--accent-soft); color:var(--ink); border-color:var(--line); }
.ham-current :is(button,a.button):not(:disabled):not([aria-disabled="true"]):hover { background:var(--highlight-soft); color:var(--ink); border-color:var(--ink); }
.ham-current :is(button.secondary,button.button.secondary,a.button.secondary):not(:disabled):hover { background:var(--card); color:var(--accent); border-color:var(--accent); }
.ham-current :is(button:disabled,a.button[aria-disabled="true"]) { background:var(--line); color:var(--muted); border-color:var(--line); cursor:not-allowed; }
.ham-current :focus-visible { outline-color:var(--accent); }
.ham-current :is(input,select,textarea) { accent-color:var(--accent); caret-color:var(--ink); }
.ham-current ::selection { background:var(--highlight-soft); color:var(--ink); }
.ham-current .ham-guided-option:has(input:checked) { background:var(--accent-soft); border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); }
.ham-current .ham-guided-option:has(input:focus-visible) { outline:3px solid var(--accent); outline-offset:3px; }
.ham-current .ham-special-options { border-top:1px solid var(--line); margin-top:1rem; padding-top:1rem; }
.ham-current .ham-special-options>p { margin-top:0; color:var(--muted); }
.ham-current .ham-question-tools { position:static; margin:0; }
.ham-current .ham-question-tools a { border:0; background:transparent; color:var(--accent); text-decoration:underline; text-underline-offset:.2em; }
.ham-current .ham-question-tools .ham-question-exit { border:1px solid var(--control-line); background:var(--card); }
.ham-current .ham-exit a { color:var(--ink); border-color:var(--control-line); }
.ham-current .ham-start-preview { margin-bottom:2rem; }
.ham-current .ham-entry-steps { padding:0; list-style-position:inside; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; }
.ham-current .ham-entry-steps li { padding-top:1rem; border-top:1px solid var(--line); }
.ham-current .ham-entry-steps span { display:block; margin-top:.5rem; color:var(--muted); }
.ham-current .ham-purpose { max-width:75ch; }
.ham-current .ham-purpose>.ham-deliverables { background:var(--accent-soft); border-color:var(--line); }
.ham-current .ham-deliverables dt { color:var(--ink); }
.ham-current .ham-journey { margin:0 0 1.25rem; }
.ham-current .ham-journey ol { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.75rem; list-style:none; padding:0; margin:0; }
.ham-current .ham-journey li { padding:.7rem 0; border-bottom:2px solid var(--line); color:var(--muted); font-size:.9rem; }
.ham-current .ham-journey [aria-current="step"] { border-color:var(--accent); color:var(--ink); font-weight:700; }
.ham-current .ham-current-overview { margin:1.5rem 0 2.5rem; }
.ham-current .ham-current-topic-map { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 1.5rem; list-style:none; padding:0; margin:1.5rem 0; }
.ham-current-topic-map li { display:grid; gap:.4rem; padding:1rem 0; border-bottom:1px solid var(--line); }
.ham-current-topic-map span { color:var(--muted); font-size:.9rem; }
.ham-current-topic-map [data-state="not_compared"],.ham-current-topic-map [data-state="not_relevant"] { border-bottom-style:dashed; }
.ham-current .ham-first-conversation { padding:1.5rem; background:var(--accent-soft); border:1px solid var(--line); border-radius:16px; }
.ham-current .ham-first-conversation h3 { margin-top:0; }
.ham-current .ham-conversation { border-color:var(--line); border-radius:16px; }
.ham-current .ham-conversation:first-of-type { border-top-width:1px; }
.ham-current .ham-conversation-outcome { background:var(--accent-soft); border:0; }
.ham-current .ham-status { background:var(--accent-soft); color:var(--ink); }
.ham-current .ham-sample-topics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem 1.5rem; list-style:none; padding:0; }
.ham-current .ham-sample-topics li { padding:.75rem 0; border-bottom:1px solid var(--line); }
.ham-current .ham-sample-topics a { display:inline-flex; min-height:44px; align-items:center; margin-right:1rem; }
@media(max-width:760px) {
    .ham-current.ham-questionnaire .input-layout__guide { display:block; }
    .ham-current .ham-entry-steps,.ham-current .ham-current-topic-map,.ham-current .ham-sample-topics { grid-template-columns:1fr; }
    .ham-current .ham-journey ol { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.25rem 1rem; }
    .ham-current .ham-question-tools { margin-top:1rem; }
}
