/* /hmo-floor-plans: the photo-real sample house (pre-rendered frames with a vector overlay) and the room
   checker. S2F tokens (DESIGN.md): brand #1a3d2b, accent #2e7d52, highlight #d4a020, highlight-text #8a6914,
   ink #0d2b1a, muted #4a6b56; the stage cream #f3ede2 is the backdrop every render is composited onto.
   Motion: transform and opacity only outside the render layer; reduced motion gets a still page. */
.hmo {
  --hmo-stage: #f3ede2;
  --hmo-line: #e4ddd0;
  --hmo-ink: #0d2b1a;
  --hmo-muted: #4a6b56;
  --hmo-brand: #1a3d2b;
  --hmo-accent: #2e7d52;
  --hmo-gold: #d4a020;
  --hmo-gold-text: #8a6914;
  --hmo-double: #2e7d52;
  --hmo-single: #4a9e6a;
  --hmo-flag: #c0392b;
  --hmo-communal: #e8bc4e;
  --hmo-wet: #94a3b8;
  --hmo-circulation: #d3d1c7;
  --hmo-route: #16a34a;
  --hmo-ease: cubic-bezier(0.4, 0, 0.2, 1);
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- hero ---------- */
.hmo-hero {
  background: radial-gradient(1200px 520px at 78% -10%, rgba(46, 125, 82, 0.35), transparent 70%), var(--hmo-brand);
  padding: 7.25rem 0 4rem;
  color: #fff;
  overflow: hidden;
}
.hmo-hero .container { overflow: visible !important; }
/* the site's catch-all rules pad every <section> AND every .container on phones and tablets (16 / 40 px),
   doubling the gutter around the house; the hero keeps only the container's. overflow: clip (not hidden)
   so the sticky stage column still sticks. */
main.hmo > section.hmo-hero { padding-left: 0 !important; padding-right: 0 !important; overflow: clip !important; }
/* 1152-1280 px: the site's top bar sits on an 80 px column (section 40 + container 40); keep the hero on it (UWB 33) */
@media (min-width: 1152px) and (max-width: 1280px) { main.hmo > section.hmo-hero { padding-left: 40px !important; padding-right: 40px !important; } }
.hmo-hero__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hmo-hero__label { margin: 0 !important; color: var(--hmo-gold) !important; }
.hmo-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 100px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.14); }
.hmo-tab { border: 0; background: transparent; color: rgba(255, 255, 255, 0.86); font: 600 0.9375rem/1 var(--font-body); padding: 0.75rem 1.25rem; border-radius: 100px; cursor: pointer; min-height: 44px; transition: background-color 0.25s var(--hmo-ease), color 0.25s var(--hmo-ease), transform 0.15s var(--hmo-ease); }
.hmo-tab[aria-selected="true"] { background: var(--hmo-gold); color: var(--hmo-brand); }
.hmo-tab:hover:not([aria-selected="true"]) { color: #fff; background: rgba(255, 255, 255, 0.08); }
.hmo-tab:active { transform: scale(0.97); }

.hmo-view[hidden] { display: none !important; }
.hmo-views--switched > .hmo-view { animation: hmo-rise 0.5s var(--hmo-ease) both; }
@keyframes hmo-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- viewer ---------- */
.hmo-viewer { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
/* wide screens: the house takes most of the width (up to 1440 px), wider than the text column, with a slim
   panel beside it; marked data-uwb-bleed in the page (a picture meant to run wider than the column) */
@media (min-width: 1180px) {
  .hmo-viewer { position: relative; width: min(1440px, 100vw - 48px); left: 50%; transform: translateX(-50%); }
}
.hmo-viewer__stage-col { background: var(--hmo-stage); border-radius: 24px; padding: 14px; color: var(--hmo-ink); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.55); position: sticky; top: 88px; }
/* the stage is 4:3 like the renders, as wide as the screen's height allows (the controls stay in view below) */
.hmo-stage-wrap { position: relative; width: min(100%, max(560px, (100svh - 250px) * 4 / 3)); margin: 0 auto; }
.hmo-stage { position: relative; aspect-ratio: 4 / 3; width: 100%; border-radius: 16px; overflow: hidden; background: var(--hmo-stage); touch-action: pan-y; cursor: grab; outline-offset: 4px; user-select: none; -webkit-user-select: none; }
.hmo-stage:active { cursor: grabbing; }
.hmo-stage.is-zoomed { touch-action: none; cursor: move; }
/* zoom: + and - on the stage, a clear way back, a hint when the wheel is used before clicking in */
.hmo-zoom { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; }
.hmo-zoom__btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--hmo-line); border-radius: 12px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 4px 14px -6px rgba(26, 61, 43, 0.35); cursor: pointer; transition: background-color 0.2s, transform 0.12s var(--hmo-ease), opacity 0.2s; }
.hmo-zoom__btn svg { width: 20px; height: 20px; fill: none; stroke: var(--hmo-ink); stroke-width: 2.4; stroke-linecap: round; }
.hmo-zoom__btn:hover:not(:disabled) { background: #fff; }
.hmo-zoom__btn:active:not(:disabled) { transform: scale(0.94); }
.hmo-zoom__btn:disabled { opacity: 0.45; cursor: default; }
.hmo-zoom__back { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); border: 0; border-radius: 100px; padding: 0.7rem 1.25rem; min-height: 44px; background: var(--hmo-brand); color: #fff; font: 700 0.9375rem/1.2 var(--font-body); box-shadow: 0 10px 26px -10px rgba(13, 43, 26, 0.6); cursor: pointer; animation: hmo-rise 0.3s var(--hmo-ease) both; white-space: nowrap; }
.hmo-zoom__back:hover { background: var(--hmo-accent); }
.hmo-zoom__back[hidden], .hmo-stage__hint[hidden] { display: none; }
.hmo-stage__hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; padding: 0.7rem 1.1rem; border-radius: 12px; background: rgba(13, 43, 26, 0.86); color: #fff; font-size: 0.9375rem; font-weight: 600; pointer-events: none; text-align: center; }
.hmo-stage[data-mode="plan"] { cursor: default; touch-action: auto; }
.hmo-stage__still, .hmo-stage__still img, .hmo-stage__canvas, .hmo-stage__video, .hmo-stage__plan, .hmo-stage__overlay { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; }
.hmo-stage__still img { object-fit: cover; }
/* the renders' backdrop is the stage colour; a soft edge hides any one- or two-level colour difference of
   the compressed frames and video against the page */
.hmo-stage__still, .hmo-stage__canvas, .hmo-stage__video, .hmo-stage__plan {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 97%, transparent);
  mask-composite: intersect;
}
/* zoomed in, the picture fills the stage edge to edge: no soft edge (it would read as blur) */
.hmo-stage.is-zoomed .hmo-stage__canvas { -webkit-mask-image: none; mask-image: none; }
.hmo-stage__canvas { opacity: 0; transition: opacity 0.35s var(--hmo-ease); }
.hmo-stage.is-live .hmo-stage__canvas { opacity: 1; }
.hmo-stage__video { opacity: 0; object-fit: cover; pointer-events: none; }
.hmo-stage__video.is-playing { opacity: 1; }
.hmo-stage__plan { object-fit: contain; background: var(--hmo-stage); }
.hmo-stage__plan[hidden] { display: none; }
.hmo-stage__overlay { pointer-events: none; overflow: visible; }
.hmo-stage__labels { position: absolute; inset: 0; pointer-events: none; }
.hmo-stage__sample { position: absolute; left: 12px; top: 12px; margin: 0; padding: 6px 12px; border-radius: 100px; background: rgba(255, 255, 255, 0.86); color: var(--hmo-ink); font-size: 0.8125rem; font-weight: 600; line-height: 1.2; box-shadow: 0 2px 8px rgba(26, 61, 43, 0.12); max-width: calc(100% - 24px); }
/* announced to screen readers only: on screen the pressed buttons already say what is showing, and a
   visible note would cover labels on the house */
.hmo-stage__status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* overlay: room outlines, the selected room's glow, the fire layer */
.hmo-hot { fill: transparent; stroke: transparent; stroke-width: 2; vector-effect: non-scaling-stroke; transition: fill 0.2s, stroke 0.2s; }
.hmo-hot.is-hover { fill: rgba(212, 160, 32, 0.12); stroke: rgba(212, 160, 32, 0.9); }
.hmo-hot.is-sel { fill: rgba(212, 160, 32, 0.16); stroke: var(--hmo-gold); stroke-width: 3; }
.hmo-glow { fill: none; stroke: var(--hmo-gold); stroke-width: 10; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: 0.35; animation: hmo-glow 1.8s ease-in-out infinite; }
@keyframes hmo-glow { 50% { opacity: 0.12; } }
.hmo-plan-fill { stroke: rgba(13, 43, 26, 0.55); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: 0.2; }
.hmo-plan-fill--double { fill: var(--hmo-double); } .hmo-plan-fill--single { fill: var(--hmo-single); } .hmo-plan-fill--flag { fill: var(--hmo-flag); }
.hmo-plan-fill--communal { fill: var(--hmo-communal); } .hmo-plan-fill--wet { fill: var(--hmo-wet); } .hmo-plan-fill--circulation { fill: var(--hmo-circulation); }
.hmo-route { fill: none; stroke: var(--hmo-route); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hmo-route--under { stroke: #fff; stroke-width: 9; opacity: 0.85; }
.hmo-route--ghost { stroke-dasharray: 2 10; opacity: 0.55; }
.hmo-route--draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: hmo-draw 1.1s var(--hmo-ease) forwards; }
@keyframes hmo-draw { to { stroke-dashoffset: 0; } }
.hmo-fire-pop { opacity: 0; animation: hmo-pop 0.4s var(--hmo-ease) forwards; }
@keyframes hmo-pop { to { opacity: 1; } }

/* labels on the house: chips placed so they never overlap or leave the stage */
.hmo-label { position: absolute; left: 0; top: 0; pointer-events: auto; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 4px 9px 4px 7px; border-radius: 8px; background: rgba(255, 255, 255, 0.94); color: var(--hmo-ink); border: 1px solid rgba(13, 43, 26, 0.1); box-shadow: 0 4px 14px -6px rgba(13, 43, 26, 0.45); font-size: 12px; line-height: 1.2; white-space: nowrap; will-change: transform; transition: opacity 0.2s, background-color 0.2s; }
.hmo-label b { font-weight: 700; }
.hmo-label span { color: var(--hmo-muted); font-variant-numeric: tabular-nums; }
.hmo-label .hmo-sw { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.hmo-label--flag { border-color: var(--hmo-flag); }
.hmo-label--flag span { color: var(--hmo-flag); font-weight: 700; }
.hmo-label.is-sel { background: var(--hmo-brand); color: #fff; border-color: var(--hmo-gold); }
.hmo-label.is-sel span { color: #ffd166; }
.hmo-label--compact span { display: none; }
.hmo-label__short { display: none; }
.hmo-label--mini b:not(.hmo-label__short) { display: none; }
.hmo-label--mini .hmo-label__short { display: inline; }
.hmo-leader { stroke: #0d2b1a; stroke-width: 1.25; stroke-opacity: 0.55; vector-effect: non-scaling-stroke; }
.hmo-leader-dot { fill: #fff; stroke: #0d2b1a; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hmo-label--fire { pointer-events: none; background: #fff; font-weight: 700; gap: 5px; }
.hmo-label--exit { background: #2e7d52; color: #fff; border-color: #1a3d2b;   /* S2F green: white text at 5.0:1 (the route green is 3.3:1) */ pointer-events: none; }
.hmo-label--fd30 { background: var(--hmo-gold); color: var(--hmo-brand); border-color: #b8880f; pointer-events: none; font-weight: 700; padding: 2px 6px; font-size: 11px; }
.hmo-label--alarm { width: 22px; height: 22px; padding: 0; justify-content: center; border-radius: 50%; border: 2px solid #dc2626; background: #fff; color: #b00020; font-weight: 700; font-size: 11px; pointer-events: none; }
.hmo-label--blanket { background: #c0392b; color: #fff; border-color: #b00020; pointer-events: none; font-weight: 700; padding: 2px 6px; font-size: 11px; }
/* the shortest form of a fire marker on a crowded small stage: just its key, as in the legend */
.hmo-label--key.hmo-label--fd30, .hmo-label--key.hmo-label--blanket { font-size: 0; padding: 0; gap: 0; }
.hmo-label--key.hmo-label--fd30 { width: 10px; height: 16px; border-radius: 2px; }
.hmo-label--key.hmo-label--blanket { width: 14px; height: 14px; border-radius: 3px; }

/* controls */
.hmo-controls { margin-top: 14px; display: grid; gap: 10px; }
.hmo-controls__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hmo-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--hmo-line); border-radius: 12px; }
.hmo-seg--states { display: flex; }
.hmo-seg__btn { flex: 1 1 auto; border: 0; background: transparent; color: var(--hmo-ink); font: 600 0.875rem/1.2 var(--font-body); padding: 0.625rem 0.875rem; border-radius: 9px; cursor: pointer; min-height: 44px; transition: background-color 0.2s var(--hmo-ease), color 0.2s var(--hmo-ease), transform 0.12s var(--hmo-ease); }
.hmo-seg__btn[aria-pressed="true"] { background: var(--hmo-brand); color: #fff; }
.hmo-seg__btn:hover:not([aria-pressed="true"]) { background: rgba(26, 61, 43, 0.07); }
.hmo-seg__btn:active, .hmo-toggle:active, .hmo-turn__btn:active, .hmo-cta:active { transform: scale(0.97); }
.hmo-seg__btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.hmo-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--hmo-line); background: rgba(255, 255, 255, 0.75); color: var(--hmo-ink); font: 600 0.875rem/1 var(--font-body); padding: 0.625rem 1rem; border-radius: 12px; cursor: pointer; min-height: 44px; transition: background-color 0.2s, color 0.2s, transform 0.12s; }
.hmo-toggle__dot { width: 30px; height: 18px; border-radius: 100px; background: #d3d1c7; position: relative; transition: background-color 0.2s; }
.hmo-toggle__dot::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 0.2s var(--hmo-ease); }
.hmo-toggle[aria-pressed="true"] .hmo-toggle__dot { background: var(--hmo-route); }
.hmo-toggle[aria-pressed="true"] .hmo-toggle__dot::after { transform: translateX(12px); }
.hmo-turn { display: inline-flex; gap: 4px; margin-left: auto; }
.hmo-turn__btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--hmo-line); background: rgba(255, 255, 255, 0.75); cursor: pointer; transition: background-color 0.2s, transform 0.12s; }
.hmo-turn__btn svg { width: 20px; height: 20px; fill: none; stroke: var(--hmo-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hmo-turn__btn:hover { background: #fff; }
.hmo-stage[data-mode="plan"] ~ .hmo-controls .hmo-turn { visibility: hidden; }
.hmo-controls__hint { margin: 0; font-size: 0.875rem; color: var(--hmo-muted); }
.hmo-legend { list-style: none; margin: 12px 0 0; padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; background: rgba(255, 255, 255, 0.6); border-radius: 12px; font-size: 0.875rem; color: var(--hmo-ink); }
.hmo-legend li { display: inline-flex; align-items: center; gap: 8px; }
/* fire keys fade while the layer is off; their words stay at full contrast */
.hmo-legend__fire .hmo-key { opacity: 0.4; transition: opacity 0.3s; }
.hmo.fire-on .hmo-legend__fire .hmo-key { opacity: 1; }
/* each note on its own line: the site's reading-width rule (main li, 34em !important) would keep it beside the last
   keys, so the line lifts it and the text inside keeps a readable measure */
.hmo-legend li.hmo-legend__note { flex-basis: 100%; color: var(--hmo-muted); }
main .hmo-legend li.hmo-legend__note { max-width: none !important; }
.hmo-legend__note span { max-width: 72ch; }
.hmo-key { display: inline-block; width: 13px; height: 13px; border-radius: 4px; flex: none; }
.hmo-key--double, .hmo-sw--double { background: var(--hmo-double); }
.hmo-key--single, .hmo-sw--single { background: var(--hmo-single); }
.hmo-key--flag, .hmo-sw--flag { background: var(--hmo-flag); }
.hmo-key--communal, .hmo-sw--communal { background: var(--hmo-communal); }
.hmo-key--wet, .hmo-sw--wet { background: var(--hmo-wet); }
.hmo-sw--circulation { background: var(--hmo-circulation); }
.hmo-key--route { width: 22px; height: 5px; border-radius: 3px; background: var(--hmo-route); }
.hmo-key--door { background: var(--hmo-gold); border-radius: 2px; width: 9px; height: 15px; }
.hmo-key--alarm { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #dc2626; background: #fff; color: #b00020; font-size: 9px; font-weight: 700; line-height: 12px; text-align: center; }
.hmo-key--blanket { width: 13px; height: 13px; border-radius: 3px; background: #c0392b; }

/* ---------- side panel ---------- */
.hmo-panel { background: #fff; color: var(--hmo-ink); border-radius: 24px; padding: 28px 26px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.55); }
.hmo-panel__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 2.4vw, 2.125rem); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 12px; color: var(--hmo-ink); }
.hmo-panel__lede { color: var(--hmo-muted); margin: 0 0 14px; }
.hmo-panel__h2 { font-size: 1.0625rem; margin: 22px 0 10px; letter-spacing: 0; }
.hmo-swap { display: inline-block; border: 0; background: none; padding: 6px 0; margin: 0 0 16px; font: 700 0.9375rem/1.4 var(--font-body); color: var(--hmo-ink); text-decoration: underline; text-decoration-color: var(--hmo-gold); text-decoration-thickness: 2px; text-underline-offset: 5px; cursor: pointer; text-align: left; }
.hmo-swap:hover { color: var(--hmo-accent); }
.hmo-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #fee2e2; margin-bottom: 18px; }
.hmo-alert__dot { flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--hmo-flag); box-shadow: 0 0 0 5px rgba(192, 57, 43, 0.18); }
.hmo-alert p { margin: 0 0 6px; font-weight: 600; font-size: 0.9375rem; color: var(--hmo-ink); }
.hmo-alert__btn { border: 0; background: none; padding: 4px 0; font: 700 0.9375rem var(--font-body); color: #b00020; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hmo-room { border: 1px solid var(--hmo-line); border-radius: 16px; padding: 16px 18px; margin-bottom: 18px; min-height: 96px; }
.hmo-room__empty { margin: 0; color: var(--hmo-muted); font-size: 0.9375rem; }
.hmo-room__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hmo-room__name { margin: 0; font-size: 1.1875rem; }
.hmo-room__floor { font-size: 0.875rem; color: var(--hmo-muted); }
.hmo-room__area { margin: 8px 0 2px; font-family: var(--font-display); font-size: 2.75rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.hmo-room__area sup { font-size: 0.4em; vertical-align: 0.95em; margin-left: 2px; }
.hmo-room__dims { font-size: 0.9375rem; color: var(--hmo-muted); font-variant-numeric: tabular-nums; }
.hmo-meter { position: relative; height: 10px; border-radius: 100px; background: #eceae4; margin: 18px 0 24px; overflow: visible; }
.hmo-meter__fill { position: absolute; inset: 0; border-radius: 100px; background: var(--hmo-double); transform-origin: left center; transform: scaleX(0); transition: transform 0.7s var(--hmo-ease); }
.hmo-meter__fill--bad { background: var(--hmo-flag); }
.hmo-meter__tick { position: absolute; top: -4px; bottom: -4px; width: 2px; background: rgba(13, 43, 26, 0.55); }
.hmo-meter__tick span { position: absolute; top: 16px; transform: translateX(-50%); font-size: 0.75rem; color: var(--hmo-muted); white-space: nowrap; }
/* the two marks sit close on a narrow card: each label opens away from the other so they never meet */
.hmo-meter__tick--lo span { right: 2px; transform: none; }
.hmo-meter__tick--hi span { left: 2px; transform: none; }
.hmo-chip { display: inline-block; font-size: 0.875rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; margin-top: 10px; }
.hmo-chip--ok, .hmo-chip--double, .hmo-chip--single { background: #dcfce7; color: #15803d; }
.hmo-chip--child { background: #fef3c7; color: #92400e; }
.hmo-chip--bad, .hmo-chip--fail { background: #fee2e2; color: #b00020; }
.hmo-chip--n { background: #f1efe9; color: var(--hmo-muted); }
.hmo-room__verdict { margin: 8px 0 0; font-size: 0.9375rem; }
.hmo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hmo-line); border: 1px solid var(--hmo-line); border-radius: 14px; overflow: hidden; margin: 0 0 6px; }
.hmo-stat { background: #fff; padding: 12px; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.hmo-stat dd { margin: 0; font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; }
.hmo-stat dt { font-size: 0.8125rem; color: var(--hmo-muted); line-height: 1.3; margin-top: 4px; }
.hmo-floor-group { margin-bottom: 14px; }
.hmo-floor-group h3 { font-size: 0.875rem; font-weight: 600; color: var(--hmo-muted); margin: 0 0 4px; letter-spacing: 0; }
.hmo-rlist { list-style: none; margin: 0; padding: 0; }
.hmo-rlist button { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 9px 10px; border-radius: 10px; cursor: pointer; text-align: left; font: 500 0.9375rem/1.3 var(--font-body); color: var(--hmo-ink); min-height: 44px; transition: background-color 0.15s; }
.hmo-rlist button:hover { background: #f3ede2; }
.hmo-rlist button[aria-pressed="true"] { background: #fffbeb; box-shadow: inset 3px 0 0 var(--hmo-gold); }
.hmo-sw { flex: none; width: 11px; height: 11px; border-radius: 3px; }
.hmo-rlist__nm { flex: 1; }
.hmo-rlist__ar { color: var(--hmo-muted); font-variant-numeric: tabular-nums; }
.hmo-rlist__ar--bad { color: #b00020; font-weight: 700; }
.hmo-panel__ctas { display: grid; gap: 8px; margin-top: 18px; }
.hmo-panel__ctas-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hmo-cta { white-space: normal !important; text-align: center; line-height: 1.3; padding: 0.875rem 1rem !important; }
.hmo .btn-outline-dark { color: var(--hmo-brand); }

/* ---------- room checker ---------- */
.hmo-check__intro { max-width: 680px; margin-bottom: 24px; }
.hmo-check__title { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.875rem); line-height: 1.08; color: #fff; margin: 0 0 6px; }
.hmo-view--check .hmo-swap { color: #fff; }
.hmo-view--check .hmo-swap:hover { color: #ffd166; }
.hmo-check__lede { color: rgba(255, 255, 255, 0.9); font-size: 1.0625rem; margin: 0; }
.hmo-check { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.hmo-card { background: #fff; color: var(--hmo-ink); border-radius: 24px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.55); }
.hmo-check__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 22px; border-bottom: 1px solid var(--hmo-line); }
.hmo-check__toolbar h3 { margin: 0; font-size: 1.125rem; }
.hmo-seg--small .hmo-seg__btn { padding: 0.5rem 0.875rem; font-size: 0.875rem; }
.hmo-ck-list { list-style: none; margin: 0; padding: 0; }
.hmo-ck-nojs { padding: 18px 22px; color: var(--hmo-muted); }
.hmo-ck { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--hmo-line); animation: hmo-rise 0.35s var(--hmo-ease) both; }
.hmo-ck__tile { position: relative; width: 88px; height: 88px; border-radius: 14px; border: 1px dashed #d3d1c7; background: #faf8f4; display: grid; place-items: center; overflow: hidden; }
.hmo-ck__tile img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
.hmo-ck__tile svg { display: block; }
.hmo-ck__photo { margin-top: 6px; font-size: 0.8125rem; color: var(--hmo-ink); }
.hmo-ck__photo label { cursor: pointer; text-decoration: underline; text-decoration-color: var(--hmo-gold); text-underline-offset: 3px; font-weight: 600; display: inline-block; padding: 4px 0; }
.hmo-ck__photo input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hmo-ck__photo input:focus-visible + label { outline: 3px solid var(--hmo-gold); outline-offset: 2px; }
.hmo-ck__photo button { border: 0; background: none; color: var(--hmo-muted); text-decoration: underline; cursor: pointer; font-size: 0.8125rem; padding: 4px 0; }
.hmo-ck__fields { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.hmo-ck__fields--ftin { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.2fr) auto; }
.hmo-field label, .hmo-ck legend, .hmo-ck .hmo-lbl { display: block; font-size: 0.8125rem; color: var(--hmo-muted); margin-bottom: 5px; font-weight: 600; }
.hmo-field input, .hmo-field textarea, .hmo-ck input[type="text"], .hmo-ck input[type="number"] { width: 100%; padding: 0.7rem 0.75rem; border: 1px solid #d6cfc2; border-radius: 10px; background: #fff; color: var(--hmo-ink); font: 500 1rem var(--font-body); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.hmo-ck input::-webkit-outer-spin-button, .hmo-ck input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hmo-field input:focus, .hmo-field textarea:focus, .hmo-ck input:focus { border-color: var(--hmo-accent); box-shadow: 0 0 0 3px rgba(46, 125, 82, 0.2); }
.hmo-ck input[aria-invalid="true"] { border-color: #b00020; }
.hmo-ftin { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hmo-ftin span { position: relative; display: block; }
.hmo-ftin span::after { content: attr(data-u); position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 0.8125rem; color: var(--hmo-muted); pointer-events: none; }
.hmo-ftin input { padding-right: 26px !important; }
.hmo-ck__del { width: 44px; height: 44px; border-radius: 10px; border: 1px solid #d6cfc2; background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--hmo-muted); transition: color 0.2s, border-color 0.2s, transform 0.12s; }
.hmo-ck__del:hover { color: #b00020; border-color: #b00020; }
.hmo-ck__del svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.hmo-ck__more { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.875rem; }
.hmo-ck__more label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 0; }
.hmo-ck__more input { width: 24px; height: 24px; flex: none; accent-color: var(--hmo-accent); }
.hmo-ck__extra { grid-column: 2; display: grid; gap: 6px; padding: 12px 14px; background: #faf8f4; border-radius: 12px; }
.hmo-ck__extra[hidden] { display: none; }
.hmo-ck__extra p { margin: 0; font-size: 0.875rem; color: var(--hmo-muted); }
.hmo-ck__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }   /* inputs line up when one label wraps */
.hmo-ck__result { grid-column: 2; display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; min-height: 32px; }
.hmo-ck__area { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hmo-ck__area small { font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; margin-left: 2px; }
.hmo-ck__sqft { font-size: 0.875rem; color: var(--hmo-muted); }
.hmo-ck__result .hmo-chip { margin-top: 0; animation: hmo-settle 0.45s var(--hmo-ease) both; }
@keyframes hmo-settle { from { opacity: 0; transform: translateY(-6px) scale(0.96); } to { opacity: 1; transform: none; } }
.hmo-ck__why { flex-basis: 100%; font-size: 0.9375rem; color: var(--hmo-ink); margin: 2px 0 0; }
.hmo-ck__err { flex-basis: 100%; font-size: 0.9375rem; color: #b00020; margin: 0; }
.hmo-check__add { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 22px; }
.hmo-btn-ghost { background: transparent; border: 2px dashed #9ca3af; color: var(--hmo-ink); }
.hmo-btn-ghost:hover { border-style: solid; border-color: var(--hmo-accent); }
.hmo-btn-quiet { border: 0; background: none; color: var(--hmo-ink); font: 600 0.9375rem var(--font-body); text-decoration: underline; text-decoration-color: var(--hmo-gold); text-underline-offset: 4px; padding: 0.75rem 0.5rem; cursor: pointer; min-height: 44px; }
.hmo-check__summary { padding: 22px; position: sticky; top: 96px; }
.hmo-check__summary h3 { margin: 0 0 12px; font-size: 1.125rem; }
.hmo-sum__start { color: var(--hmo-muted); margin: 0 0 12px; }
.hmo-sum__big { display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px; }
.hmo-sum__big strong { font-family: var(--font-display); font-size: 3.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.hmo-sum__big span { color: var(--hmo-muted); }
.hmo-sum__sub { color: var(--hmo-muted); margin: 0 0 14px; font-size: 0.9375rem; }
.hmo-bars { display: flex; height: 12px; border-radius: 100px; overflow: hidden; background: #eceae4; margin-bottom: 12px; }
.hmo-bars span { display: block; height: 100%; transform-origin: left center; animation: hmo-fill 0.7s var(--hmo-ease) both; }
@keyframes hmo-fill { from { transform: scaleX(0); } to { transform: none; } }
.hmo-bars .is-double { background: var(--hmo-double); } .hmo-bars .is-single { background: var(--hmo-single); } .hmo-bars .is-child { background: #d97706; } .hmo-bars .is-fail { background: var(--hmo-flag); }
.hmo-keys { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; font-size: 0.9375rem; }
.hmo-keys li { display: flex; align-items: center; gap: 8px; }
.hmo-keys b { margin-left: auto; font-variant-numeric: tabular-nums; }
.hmo-keys .is-child { background: #d97706; }
.hmo-occ { padding: 12px 14px; border-radius: 12px; background: #f3ede2; font-size: 0.9375rem; margin: 0 0 12px; }
.hmo-occ strong { font-size: 1.125rem; }
.hmo-sum__notify { font-size: 0.9375rem; padding: 10px 12px; background: #fee2e2; border-radius: 12px; margin: 0 0 12px; }
.hmo-sum__msg { font-size: 0.9375rem; margin: 0; padding-left: 12px; border-left: 3px solid var(--hmo-gold); }
.hmo-print { justify-self: start; }
/* "Your rooms, drawn to scale": an architect's card model of the visitor's own rooms (hmo-yourrooms.js) */
.hmo-yr { margin-top: 24px; padding: 22px 22px 18px; background: #fff; }
.hmo-yr__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 8px; }
.hmo-yr__head h3 { margin: 0 0 4px; font-size: 1.125rem; }
.hmo-yr__head h3 span { font-weight: 500; color: var(--hmo-muted); }
.hmo-yr__lede { margin: 0; color: var(--hmo-muted); font-size: 0.9375rem; max-width: 60ch; }
.hmo-yr__empty { margin: 14px 0; padding: 28px 16px; text-align: center; color: var(--hmo-muted); background: #faf8f4; border: 1px dashed #d3d1c7; border-radius: 14px; }
.hmo-yr__stage { position: relative; margin: 0 -22px; background: linear-gradient(180deg, #fffbeb, #f3ede2); border-top: 1px solid var(--hmo-line); border-bottom: 1px solid var(--hmo-line); }
.hmo-yr__canvas { display: block; width: 100%; touch-action: pan-y; }
.hmo-yr.is-tilted .hmo-yr__canvas { cursor: grab; }
.hmo-yr__drag { position: absolute; right: 12px; top: 10px; margin: 0; font-size: 0.8125rem; color: var(--hmo-muted); opacity: 0; transition: opacity 0.3s var(--hmo-ease); pointer-events: none; }
.hmo-yr.is-tilted .hmo-yr__drag { opacity: 1; }
.hmo-yr__key { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.875rem; color: var(--hmo-ink); }
.hmo-yr__key li { display: flex; align-items: center; gap: 8px; }
.hmo-yr__key .is-child { background: #d97706; }
.hmo-yr__k { flex: none; width: 18px; height: 12px; border-radius: 2px; }
.hmo-yr__k--min { border: 1.6px dashed var(--hmo-ink); }
.hmo-yr__k--low { background: repeating-linear-gradient(135deg, rgba(26, 61, 43, 0.38) 0 1px, rgba(26, 61, 43, 0.12) 1px 4px); }
.hmo-yr__k--bed { border: 1.2px solid rgba(26, 61, 43, 0.55); background: rgba(255, 255, 255, 0.8); box-shadow: inset 0 -4px 0 -2.8px rgba(26, 61, 43, 0.55); }
.hmo-rules { margin-top: 24px; background: #fff; color: var(--hmo-ink); border-radius: 24px; padding: 26px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.55); }
.hmo-rules h3 { margin: 0 0 14px; font-size: 1.125rem; }
.hmo-rules__grid { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hmo-rule { border: 1px solid var(--hmo-line); border-radius: 16px; padding: 16px; }
.hmo-rule strong { display: block; font-family: var(--font-display); font-size: 1.625rem; font-variant-numeric: tabular-nums; }
.hmo-rule span { font-size: 0.9375rem; color: var(--hmo-muted); }
.hmo-rules__notes p { margin: 0 0 10px; font-size: 0.9375rem; }
.hmo-rules__notes a:not(.btn), .hmo-licence a:not(.btn), .hmo-quote a:not(.btn) { color: var(--hmo-accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- sections below ---------- */
.hmo-section { padding: 5rem 0; }
.hmo-section--alt { background: #f4faf6; }
.hmo-section h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.375rem); color: var(--hmo-brand); margin-bottom: 1.25rem; }
.hmo-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; align-items: start; }
.hmo-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.hmo-ticks li { position: relative; padding-left: 2rem; line-height: 1.55; }
.hmo-ticks li::before { content: ""; position: absolute; left: 0; top: 0.15rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #dcfce7; }
.hmo-ticks li::after { content: ""; position: absolute; left: 0.42rem; top: 0.38rem; width: 0.32rem; height: 0.6rem; border-right: 2px solid #15803d; border-bottom: 2px solid #15803d; transform: rotate(45deg); }
.hmo-licence { background: var(--hmo-brand); color: #fff; border-radius: 24px; padding: 2rem; }
.hmo-licence h3 { color: #fff; font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.75rem; }
.hmo-licence p { color: rgba(255, 255, 255, 0.92); margin-bottom: 1.25rem; }
.hmo-licence a:not(.btn) { color: #ffd166; }
.hmo-quote { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.hmo-quote__alt { margin-top: 1rem; }
.hmo-quote__form { padding: 26px; display: grid; gap: 14px; box-shadow: var(--shadow-card); }
.hmo-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hmo-field__opt { font-weight: 400; }
.hmo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hmo-quote__attach { border: 1px solid var(--hmo-line); border-radius: 14px; padding: 12px 16px; margin: 0; }
.hmo-quote__attach[hidden] { display: none; }
.hmo-quote__attach legend { font-weight: 700; font-size: 0.9375rem; padding: 0 6px; }
.hmo-check-opt { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; cursor: pointer; padding: 4px 0; }
.hmo-check-opt[hidden] { display: none; }
.hmo-check-opt input { width: 24px; height: 24px; margin-top: 0; flex: none; accent-color: var(--hmo-accent); }
.hmo-quote__preview { font-size: 0.875rem; color: var(--hmo-muted); margin: 6px 0 0; }
.hmo-quote__preview:empty { display: none; }
.hmo-quote__status { margin: 0; font-weight: 600; }
.hmo-quote__status.is-error { color: #b00020; }
.hmo-quote__status.is-ok { color: #15803d; }

/* content rises gently into view (JavaScript adds .hmo-reveal only when motion is welcome) */
.hmo-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--hmo-ease), transform 0.7s var(--hmo-ease); }
.hmo-reveal.is-in { opacity: 1; transform: none; }

/* ---------- keyboard focus (scripts/check-focus-clear.mjs) ---------- */
/* a focused control is scrolled clear of the fixed nav at the top and of the phone call bar and the corner
   buttons (chat, back to top) at the bottom; hmo.js measures them into these properties, the values here are
   for a visitor without JavaScript */
html { scroll-padding-top: calc(var(--hmo-fixed-top, 99px) + 12px); scroll-padding-bottom: calc(var(--hmo-fixed-bottom, 0px) + 12px); }
@media (max-width: 1024px) { html { scroll-padding-bottom: calc(var(--hmo-fixed-bottom, 79px) + 12px); } }
/* the logo is clipped to a circle, which also clipped its focus ring away: the round edge comes from
   border-radius and overflow while it has focus */
.nav__logo:focus-visible { clip-path: none; }
/* 481-1024 px: the phone call bar shows, but the chat button and back to top stay at their desktop height on
   top of it; lift them above the bar, as the site already does at 480 px and below */
@media (min-width: 481px) and (max-width: 1024px) {
  body .s2f-cb-btn { bottom: 92px; right: 16px; }
  body .back-to-top { bottom: 150px; right: 16px; }
}
/* the footer's last row is the end of the page, so it cannot scroll above the corner buttons: keep it out of
   their column instead (centred on phones and tablets, so both sides there) */
.footer__bottom { padding-right: 48px; }
@media (max-width: 1024px) { .footer__bottom { padding-left: 56px; padding-right: 56px; } }

/* ---------- screens ---------- */
@media (max-width: 1179px) {
  /* the panel goes underneath and the house keeps the full width */
  .hmo-viewer { grid-template-columns: minmax(0, 1fr); }
  .hmo-viewer__stage-col { position: static; }
  .hmo-check { grid-template-columns: minmax(0, 1fr) 340px; }
  .hmo-rules__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  .hmo-hero { padding-top: 6.5rem; }
  .hmo-viewer, .hmo-check { grid-template-columns: minmax(0, 1fr); }
  .hmo-viewer__stage-col, .hmo-check__summary { position: static; }
  .hmo-cols, .hmo-quote { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}
@media (max-width: 640px) {
  .hmo-hero { padding: 6rem 0 2.5rem; }
  .hmo-hero__top { margin-bottom: 1rem; }
  .hmo-tabs { width: 100%; }
  .hmo-tab { flex: 1; padding: 0.75rem 0.5rem; }
  /* phones: the house runs the full width of the screen */
  .hmo-viewer { margin-left: calc(-1 * var(--hmo-gutter, 16px)); margin-right: calc(-1 * var(--hmo-gutter, 16px)); }
  .hmo-viewer__stage-col { padding: 0 0 12px; border-radius: 0; box-shadow: none; }
  .hmo-stage-wrap { width: 100%; }
  .hmo-stage { border-radius: 0; }
  .hmo-controls, .hmo-legend { margin-left: 12px; margin-right: 12px; }
  .hmo-zoom { right: 8px; top: 8px; }
  .hmo-zoom__back { bottom: 10px; font-size: 0.875rem; padding: 0.6rem 1rem; }
  .hmo-stage__sample { font-size: 0.875rem; padding: 5px 10px; left: 8px; top: 8px; }
  /* 14 px minimum for reading text on phones (UWB point 3) */
  .hmo-stat dt, .hmo-field label, .hmo-ck legend, .hmo-ck .hmo-lbl, .hmo-ck__photo, .hmo-ck__photo button { font-size: 0.875rem; }
  .hmo-seg--states .hmo-seg__btn { flex: 1 1 40%; }
  .hmo-turn { margin-left: 0; }
  .hmo-panel { padding: 22px 18px; border-radius: 18px; }
  .hmo-stats { grid-template-columns: 1fr 1fr 1fr; }
  .hmo-stat { padding: 10px 8px; }
  .hmo-stat dd { font-size: 1.125rem; }
  /* phones: one flat grid per room: tile and name, then length, width and remove across the full width */
  .hmo-ck { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 10px; padding: 16px; align-items: end; }
  .hmo-ck__body, .hmo-ck__fields { display: contents; }
  .hmo-ck__tile { width: 64px; height: 64px; grid-column: 1; grid-row: 1; }
  .hmo-ck__fields .hmo-ck__name { grid-column: 1 / -1; grid-row: 1; margin-left: 76px; }
  .hmo-ck__fields > .hmo-field:nth-child(2) { grid-column: 1; grid-row: 2; }
  .hmo-ck__fields > .hmo-field:nth-child(3) { grid-column: 2; grid-row: 2; }
  .hmo-ck__del { grid-column: 3; grid-row: 2; }
  .hmo-ck__photo { grid-column: 1 / -1; grid-row: 3; margin-top: 0; }
  .hmo-ck__more, .hmo-ck__extra, .hmo-ck__result { grid-column: 1 / -1; }
  /* feet and inches: length and width each get a full row so the four boxes never crowd */
  .hmo-ck--ftin .hmo-ck__fields > .hmo-field:nth-child(2) { grid-column: 1 / 3; grid-row: 2; }
  .hmo-ck--ftin .hmo-ck__fields > .hmo-field:nth-child(3) { grid-column: 1 / 3; grid-row: 3; }
  .hmo-ck--ftin .hmo-ck__photo { grid-row: 4; }
  .hmo-ck--ftin .hmo-ck__pair { grid-template-columns: 1fr; }
  .hmo-rules__grid { grid-template-columns: 1fr 1fr; }
  .hmo-rules { padding: 20px 16px; border-radius: 18px; }
  .hmo-field-row { grid-template-columns: 1fr; }
  .hmo-check__toolbar, .hmo-check__add { padding: 14px 16px; }
  .hmo-card { border-radius: 18px; }
  .hmo-yr { padding: 18px 16px 14px; }
  .hmo-yr__stage { margin: 0 -16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hmo-views--switched > .hmo-view, .hmo-ck, .hmo-ck__result .hmo-chip, .hmo-bars span { animation: none !important; }
  .hmo-glow { animation: none; opacity: 0.3; }
  .hmo-route--draw { animation: none; stroke-dashoffset: 0; }
  .hmo-fire-pop { animation: none; opacity: 1; }
  .hmo-meter__fill, .hmo-stage__canvas, .hmo-reveal { transition: none !important; }
  .hmo-reveal { opacity: 1; transform: none; }
}

/* ---------- print: the room checker summary only ---------- */
.hmo-print-sheet { display: none; }
@media print {
  body.hmo-printing > *:not(.hmo-print-sheet) { display: none !important; }
  body.hmo-printing { padding: 0 !important; background: #fff !important; }
  body.hmo-printing .hmo-print-sheet { display: block; color: #000; font: 11pt/1.45 var(--font-body); }
  .hmo-print-sheet h1 { font-family: var(--font-display); font-size: 20pt; margin: 0 0 4pt; }
  .hmo-print-sheet .meta { color: #3a3a3a; margin: 0 0 12pt; }
  .hmo-print-sheet table { width: 100%; border-collapse: collapse; margin: 8pt 0 12pt; }
  .hmo-print-sheet th, .hmo-print-sheet td { text-align: left; padding: 5pt 6pt; border-bottom: 0.5pt solid #999; vertical-align: top; }
  .hmo-print-sheet td.n, .hmo-print-sheet th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .hmo-print-sheet td.nm { min-width: 26mm; }
  .hmo-print-sheet .total { font-weight: 700; }
  .hmo-print-sheet .small { font-size: 9pt; color: #3a3a3a; }
  .hmo-print-sheet img { width: 60pt; height: 60pt; object-fit: cover; }
  .hmo-print-sheet h2 { font-size: 12pt; margin: 12pt 0 4pt; }
  .hmo-print-sheet .drawing { break-inside: avoid; margin: 0 0 4pt; }
  .hmo-print-sheet .drawing svg { display: block; max-height: 150mm; }
}
