:root{--hm-paper:#f3efe5;--hm-navy:#0d1b2a;--hm-brass:#b28b4d;--hm-line:rgba(13,27,42,.18);--hm-ink:#1f2933}
.hf-manual-hero{background:var(--hm-navy);color:#fff;padding:clamp(6rem,10vw,9rem) 0 5rem}.hf-manual-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2.5rem,6vw,6rem);align-items:center}.hf-manual-hero .hf-crumb a,.hf-manual-hero .hf-crumb span{color:rgba(255,255,255,.7)}.hf-manual-hero h1{font-size:clamp(3.35rem,7vw,6.45rem);line-height:.92;letter-spacing:-.055em;max-width:11ch;margin:.5rem 0 1.4rem}.hf-manual-hero p{max-width:62ch;line-height:1.75;color:rgba(255,255,255,.78)}.hf-manual-action{display:inline-flex;gap:.7rem;margin-top:1.3rem;padding:.95rem 1.1rem;border:1px solid rgba(255,255,255,.35);color:#fff;text-decoration:none}
.hf-manual-plate{margin:0;border:1px solid rgba(255,255,255,.2);padding:1.2rem}.hf-manual-index{aspect-ratio:4/3;border:1px solid rgba(255,255,255,.14);display:grid;grid-template-rows:repeat(6,1fr);position:relative;background:rgba(255,255,255,.025)}.hf-manual-index span{display:flex;align-items:center;padding-left:1rem;border-bottom:1px solid rgba(255,255,255,.11);font-size:.68rem;letter-spacing:.15em}.hf-manual-index i{position:absolute;right:10%;top:12%;width:34%;height:76%;border:1px solid var(--hm-brass);background:rgba(178,139,77,.07);transform:rotate(5deg)}.hf-manual-plate figcaption{display:flex;justify-content:space-between;gap:1rem;margin-top:1rem;font-size:.64rem;letter-spacing:.13em;color:rgba(255,255,255,.58)}
.hf-manual-principle{display:grid;grid-template-columns:1fr 1.12fr;gap:clamp(2rem,6vw,6rem);padding-top:5rem;padding-bottom:5rem}.hf-manual-principle h2,.hf-manual-head h2,.hf-manual-ledger-head h2,.hf-manual-sources h2{font-size:clamp(2.35rem,5vw,4.45rem);line-height:.98;letter-spacing:-.045em;margin:.3rem 0}.hf-manual-principle p{line-height:1.8;color:#4e565d}
.hf-manual-workshop{background:var(--hm-paper);padding:5rem 0}.hf-manual-head{max-width:880px;margin-bottom:2rem}.hf-manual-head>p:last-child{line-height:1.7}.hf-manual-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:1rem}.hf-manual-editor,.hf-manual-guide{border:1px solid var(--hm-line);background:#fff;padding:1.35rem}.hf-manual-editor{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.hf-manual-dossier{grid-column:1/-1;font-size:.66rem;letter-spacing:.14em;color:#6d7378}.hf-manual-editor label{display:grid;gap:.35rem;font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.hf-manual-editor label.wide{grid-column:1/-1}.hf-manual-editor input,.hf-manual-editor select,.hf-manual-editor textarea{width:100%;min-width:0;border:1px solid var(--hm-line);background:#fbfaf6;padding:.8rem;font:inherit;text-transform:none;letter-spacing:0;color:var(--hm-ink)}.hf-manual-editor-actions{grid-column:1/-1;display:flex;gap:.6rem}.hf-manual-editor-actions[hidden],.hf-manual-tools[hidden]{display:none!important}.hf-manual-editor-actions button,.hf-manual-tools button,.hf-manual-import-label{border:1px solid var(--hm-navy);background:transparent;padding:.76rem .9rem;color:var(--hm-ink);font:inherit;cursor:pointer}.hf-manual-editor-actions button:first-child{background:var(--hm-navy);color:#fff}.hf-manual-status{grid-column:1/-1;min-height:1.3rem}
.hf-manual-guide h3{font-size:2rem;margin:.3rem 0 1rem}.hf-manual-guide dl{margin:0}.hf-manual-guide dl>div{border-top:1px solid var(--hm-line);padding:1rem 0}.hf-manual-guide dt{font-size:.66rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#667078}.hf-manual-guide dd{margin:.45rem 0 0;line-height:1.6;color:#535b62}
.hf-manual-ledger{margin-top:1.2rem;border:1px solid var(--hm-line);background:#fff;padding:1.35rem}.hf-manual-ledger-head{display:flex;justify-content:space-between;gap:1rem;align-items:end}.hf-manual-ledger-head output{font-size:.72rem;letter-spacing:.08em}.hf-manual-tools{display:flex;flex-wrap:wrap;gap:.55rem;margin:1rem 0}.hf-manual-import-label{position:relative;overflow:hidden;display:inline-flex;align-items:center}.hf-manual-import-label input{position:absolute;inset:0;opacity:0;cursor:pointer}.hf-manual-import-note{font-size:.78rem;color:#626970}.hf-manual-records{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1rem}.hf-manual-record{border:1px solid var(--hm-line);padding:1.1rem}.hf-manual-record-kicker{font-size:.62rem;letter-spacing:.13em;color:var(--hm-brass)}.hf-manual-record h3{font-size:1.45rem;margin:.4rem 0}.hf-manual-model{color:#535c63}.hf-manual-record-grid{border-top:1px solid var(--hm-line);border-bottom:1px solid var(--hm-line);margin:.9rem 0}.hf-manual-record-grid>div{padding:.7rem 0;border-bottom:1px solid var(--hm-line)}.hf-manual-record-grid>div:last-child{border-bottom:0}.hf-manual-record-grid span{font-size:.6rem;letter-spacing:.12em;color:#697179}.hf-manual-record-grid p{margin:.3rem 0;line-height:1.5}.hf-manual-record-links{display:flex;flex-wrap:wrap;gap:.8rem;font-size:.85rem}.hf-manual-record-links a{color:inherit}.hf-manual-record-actions{display:flex;gap:.5rem;margin-top:1rem}.hf-manual-record-actions button{border:1px solid var(--hm-line);background:transparent;padding:.55rem .7rem}.hf-manual-export-status{min-height:1.3rem}.hf-manual-empty{color:#626970}
.hf-manual-sources{padding:5rem 0}.hf-manual-sources>div>p{max-width:70ch;line-height:1.7}.hf-manual-source-links{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--hm-line);margin:2rem 0}.hf-manual-source-links a{display:grid;grid-template-columns:1fr auto;gap:.55rem;padding:1.2rem;text-decoration:none;color:inherit;border-right:1px solid var(--hm-line)}.hf-manual-source-links a:last-child{border-right:0}.hf-manual-source-links strong{grid-column:1/-1}.hf-manual-source-links span{color:#626970;line-height:1.5}.hf-manual-related{display:flex;flex-wrap:wrap;gap:1rem;margin:2rem 0}.hf-manual-related a{color:inherit}.hf-manual-sources small{font-size:.65rem;letter-spacing:.08em}
@media(max-width:900px){.hf-manual-hero-grid,.hf-manual-principle,.hf-manual-grid{grid-template-columns:1fr}}
@media(max-width:600px){.hf-manual-editor,.hf-manual-records,.hf-manual-source-links{grid-template-columns:1fr}.hf-manual-editor label,.hf-manual-dossier{grid-column:1/-1}.hf-manual-source-links a{border-right:0;border-bottom:1px solid var(--hm-line)}.hf-manual-source-links a:last-child{border-bottom:0}.hf-manual-ledger-head{align-items:start;flex-direction:column}.hf-manual-plate figcaption{flex-direction:column}}
@media print{header,.hf-manual-hero,.hf-manual-principle,.hf-manual-head,.hf-manual-editor,.hf-manual-guide,.hf-manual-tools,.hf-manual-import-note,.hf-manual-sources,.hf-manual-record-actions,.hf-manual-export-status{display:none!important}.hf-manual-workshop{padding:0;background:#fff}.hf-manual-ledger{border:0}.hf-manual-records{display:block}.hf-manual-record{break-inside:avoid;margin-bottom:1rem}}

/* Keep private records and keyboard controls usable at narrow widths. */
.hf-manual-record{min-width:0;overflow-wrap:anywhere}
.hf-manual-record-actions button{min-height:44px}
.hf-manual-import-label:focus-within{outline:3px solid #a97638;outline-offset:4px}
@media print{.hf-manual-editor:has(.hf-manual-editor-actions[hidden]){display:grid!important}}
