@font-face{font-family:"HH Sans";src:url(/assets/outfit.6c18d579fd87.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap;}
/* Hotelhand client portal, "Console" direction.
   A working tool: one sans family, white cards on a cool neutral canvas, Deep sea navigation.
   Terracotta is kept for the primary action and the attention count. Status is always an icon and a word.
   Colours come from the Hotelhand design system v2 (Deep sea, Terracotta, the three status colours); the neutrals are
   cooled towards Deep sea so the canvas and the navigation read as one surface family. */

.hh-root {
  --canvas: #f3f5f5; --surface: #ffffff; --sunken: #f7f9f9; --hover: #eff3f3;
  --line: #e0e5e6; --line-2: #cdd4d7; --line-control: #7d8a8f;
  --ink: #12242b; --ink-2: #44555c; --ink-3: #5b6a70;
  --side: #16343f; --side-hover: #1f4350; --side-line: #2b4c58; --side-ink: #ffffff; --side-ink-2: #c3d0d4;
  --brand: #b4532e; --brand-hover: #9a4425; --on-brand: #ffffff;
  --link: #0a6682; --link-hover: #074e64; --focus: #0a7fa3;
  --data: #0a7fa3; --data-track: #dcebf0; --data-prev: #9da7ab;
  --done: #4f5f2c; --done-tint: #eaefdc; --warn: #8a5a00; --warn-tint: #fbefd3; --danger: #9a2f1a; --danger-tint: #f8e1da;
  --info: #0a6682; --info-tint: #e2f0f4; --neutral: #44555c; --neutral-tint: #edf0f1;
  --font: "HH Sans", "Helvetica Neue", Arial, sans-serif;
  --r-xs: 4px; --r-sm: 6px; --r-md: 10px; --r-lg: 14px;
  --shadow-pop: 0 14px 36px rgba(18, 36, 43, .18), 0 2px 6px rgba(18, 36, 43, .08);
  --ctl: 44px; --pad: 16px; --bar: 56px;
  --hh-logo-ground: var(--side);
  color-scheme: light;
}
@media (min-width: 1024px) { .hh-root { --pad: 20px; --bar: 60px; } }
@media (min-width: 1024px) and (pointer: fine) { .hh-root { --ctl: 36px; } }

body { margin: 0; background: #f3f5f5; color: #12242b; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: #16343f; }

.hh-root, .hh-root *, .hh-root *::before, .hh-root *::after { box-sizing: border-box; }
.hh-root { font: 400 15px/1.45 var(--font); color: var(--ink); background: var(--canvas); min-height: 100vh; min-height: 100dvh; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
@media (min-width: 1024px) { .hh-root { font-size: 14px; } }
.hh-root :where(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset) { margin: 0; padding: 0; }
.hh-root :where(ul, ol) { list-style: none; }
.hh-root :where(fieldset) { border: 0; min-width: 0; }
.hh-root :where(a) { color: var(--link); text-decoration: none; }
.hh-root :where(a:hover) { text-decoration: underline; }
.hh-root :where(button, input, select, textarea) { font: inherit; color: inherit; }
.hh-root :where(button) { cursor: pointer; }
.hh-root :where(svg) { width: 1.25em; height: 1.25em; flex: none; }
.hh-root :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.hh-root #page-title:focus { outline: none; }
.hh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hh-skip { position: fixed; left: 8px; top: calc(8px + env(safe-area-inset-top, 0px)); z-index: 70; transform: translateY(-200%); background: var(--ink); color: #fff; border: 0; border-radius: var(--r-sm); padding: 10px 14px; }
.hh-skip:focus { transform: none; }
@media (prefers-reduced-motion: reduce) { .hh-root * { transition: none !important; animation: none !important; } }

/* ============ frame ============ */
.hh-side { display: none; }
.hh-bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; align-items: center; gap: 4px; height: var(--bar); padding-left: max(8px, env(safe-area-inset-left, 0px)); padding-right: max(8px, env(safe-area-inset-right, 0px)); background: var(--side); color: var(--side-ink); }
.hh-bar__brand { display: grid; place-items: center; width: 44px; height: 44px; color: var(--side-ink); border-radius: var(--r-sm); }
.hh-mark { width: 24px; height: 28px; }
.hh-bar__prop { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--side-ink); border-radius: var(--r-sm); font-weight: 600; font-size: 16px; }
.hh-bar__prop span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hh-bar__prop svg { width: 14px; height: 14px; color: var(--side-ink-2); }
.hh-bar__gap { flex: 1 1 0; }
.hh-bar .hh-bar__sample, .hh-bar .hh-bar__help, .hh-bar .hh-user, .hh-bar .hh-search { display: none; }
.hh-head__acts--desk { display: none; }
.hh-root abbr { text-decoration: none; }
.hh-bar :focus-visible { outline-color: #fff; }
.hh-iconbtn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: inherit; border-radius: var(--r-sm); }
.hh-iconbtn svg { width: 22px; height: 22px; }
.hh-iconbtn:hover { background: rgba(255, 255, 255, .1); }
.hh-dot { position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 600; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px var(--side); }
.hh-main { padding: 20px max(16px, env(safe-area-inset-right, 0px)) calc(56px + 28px) max(16px, env(safe-area-inset-left, 0px)); }
.hh-page { display: grid; gap: 16px; max-width: 1200px; margin-inline: auto; min-width: 0; }
.hh-page, .hh-stack, .hh-card__body, .hh-form, .hh-dialog__box, .hh-dialog__body { grid-template-columns: minmax(0, 1fr); }
.hh-page--narrow { max-width: 760px; }

.hh-tabs { position: fixed; inset: auto 0 0; z-index: 20; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--surface); border-top: 1px solid var(--line); padding: 0 max(4px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(4px, env(safe-area-inset-left, 0px)); }
.hh-tabs a { position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 56px; font-size: 11px; font-weight: 500; color: var(--ink-3); }
.hh-tabs a:hover { text-decoration: none; }
.hh-tabs a[aria-current="page"] { color: var(--ink); }
.hh-tabs a[aria-current="page"]::before { content: ""; position: absolute; top: -1px; left: 24%; right: 24%; height: 2px; background: var(--brand); border-radius: 0 0 2px 2px; }
.hh-tabs svg { width: 22px; height: 22px; }
.hh-tabs__n { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--brand); color: #fff; font-size: 10.5px; font-weight: 600; line-height: 16px; text-align: center; box-shadow: 0 0 0 2px var(--surface); }

@media (min-width: 1024px) {
  .hh-app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
  .hh-side { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto; padding: 0 12px 12px max(12px, env(safe-area-inset-left, 0px)); background: var(--side); color: var(--side-ink-2); }
  .hh-side :focus-visible { outline-color: #fff; }
  .hh-bar { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); gap: 8px; padding-left: 32px; padding-right: max(32px, env(safe-area-inset-right, 0px)); }
  .hh-bar :focus-visible { outline-color: var(--focus); }
  .hh-bar .hh-bar__brand, .hh-bar .hh-bar__prop, .hh-bar .hh-bar__find { display: none; }
  .hh-bar .hh-bar__sample, .hh-bar .hh-user { display: inline-flex; }
  .hh-bar .hh-bar__help { display: grid; }
  .hh-bar .hh-search { display: block; }
  .hh-head__acts--desk { display: flex; }
  .hh-iconbtn { width: 36px; height: 36px; color: var(--ink-2); }
  .hh-iconbtn svg { width: 20px; height: 20px; }
  .hh-iconbtn:hover { background: var(--hover); color: var(--ink); }
  .hh-dot { top: 2px; right: 0; box-shadow: 0 0 0 2px var(--surface); }
  .hh-main { padding: 28px max(32px, env(safe-area-inset-right, 0px)) 56px 32px; }
  .hh-page { gap: 20px; }
  .hh-tabs { display: none; }
}

/* side navigation */
.hh-side__brand { display: flex; align-items: center; height: 60px; padding: 0 8px; color: var(--side-ink); flex: none; }
.hh-logo { height: 24px; width: auto; display: block; }
.hh-side__prop { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; margin-bottom: 12px; border: 1px solid var(--side-line); border-radius: var(--r-sm); background: rgba(255, 255, 255, .04); color: var(--side-ink); text-align: left; flex: none; }
.hh-side__prop:hover { background: var(--side-hover); }
.hh-side__propicon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r-xs); background: rgba(255, 255, 255, .1); }
.hh-side__propicon svg { width: 18px; height: 18px; }
.hh-side__proptext { display: grid; min-width: 0; flex: 1; line-height: 1.3; }
.hh-side__proptext b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hh-side__proptext small { font-size: 12.5px; color: var(--side-ink-2); }
.hh-side__prop > svg { width: 14px; height: 14px; color: var(--side-ink-2); }
.hh-nav { display: grid; gap: 2px; }
.hh-nav__label { margin: 14px 10px 4px; font-size: 12.5px; font-weight: 500; color: var(--side-ink-2); }
.hh-nav__a { position: relative; display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 0 10px; border-radius: var(--r-sm); color: var(--side-ink-2); font-weight: 500; }
.hh-nav__a svg { width: 18px; height: 18px; }
.hh-nav__a:hover { background: var(--side-hover); color: var(--side-ink); text-decoration: none; }
.hh-nav__a[aria-current="page"] { background: rgba(255, 255, 255, .12); color: var(--side-ink); }
.hh-nav__a[aria-current="page"]::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 2px 2px 0; background: var(--brand); }
.hh-nav__n { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: rgba(255, 255, 255, .16); color: var(--side-ink); font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; }
.hh-nav__n--attn { background: var(--brand); }
.hh-nav__warn { margin-left: auto; display: grid; color: #f0b64d; }
.hh-side__foot { margin-top: auto; padding-top: 16px; display: grid; gap: 2px; }
.hh-side__status { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; border-top: 1px solid var(--side-line); margin-top: 8px; padding-top: 10px; color: var(--side-ink-2); font-size: 13px; }
.hh-side__status:hover { color: var(--side-ink); text-decoration: none; }
.hh-led { width: 8px; height: 8px; border-radius: 50%; background: #b6cc7e; flex: none; margin: 0 5px; }
.hh-led--warn { background: #f0b64d; }
.hh-led--info { background: #8fc7da; }

/* top bar pieces */
.hh-search { position: relative; flex: 0 1 440px; min-width: 0; }
.hh-search > svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-3); pointer-events: none; }
.hh-search__input { width: 100%; height: 36px; padding: 0 36px 0 32px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--sunken); font-size: 14px; appearance: none; -webkit-appearance: none; }
.hh-search__input::placeholder { color: var(--ink-3); opacity: 1; }
.hh-search__input::-webkit-search-cancel-button { display: none; }
.hh-search kbd { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 0 6px; border: 1px solid var(--line-2); border-radius: var(--r-xs); background: var(--surface); font: 500 12px/18px var(--font); color: var(--ink-3); pointer-events: none; }
.hh-search__input:focus ~ kbd, .hh-search__input:not(:placeholder-shown) ~ kbd { display: none; }
.hh-search__pop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; max-height: 60vh; overflow: auto; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-pop); }
.hh-result { display: flex; align-items: center; gap: 10px; min-height: var(--ctl); padding: 6px 10px; border-radius: var(--r-sm); color: var(--ink); }
.hh-result svg { width: 18px; height: 18px; color: var(--ink-3); }
.hh-result span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hh-result small { margin-left: auto; padding-left: 12px; color: var(--ink-3); font-size: 12.5px; white-space: nowrap; }
.hh-result:hover, .hh-result:focus-visible { background: var(--hover); text-decoration: none; }
.hh-search__none { padding: 12px 10px; color: var(--ink-2); }
.hh-chip { align-items: center; gap: 6px; padding: 2px 8px; border: 1px dashed var(--line-control); border-radius: var(--r-xs); font-size: 12.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.hh-user { flex: none; align-items: center; gap: 8px; min-height: 36px; padding: 0 8px 0 4px; margin-left: 4px; border: 0; background: none; border-radius: var(--r-sm); font-weight: 500; color: var(--ink); white-space: nowrap; }
.hh-user:hover { background: var(--hover); }
.hh-user > svg { width: 12px; height: 12px; color: var(--ink-3); }
.hh-avatar { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--neutral-tint); color: var(--ink-2); font-size: 11.5px; font-weight: 600; flex: none; }
.hh-avatar--us { background: var(--side); color: #fff; }
.hh-avatar--us .hh-mark { width: 13px; height: 15px; }
.hh-avatar--wait svg { width: 15px; height: 15px; }

/* ============ page furniture ============ */
.hh-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.hh-head__text { min-width: 0; flex: 1 1 300px; }
.hh-title { font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; overflow-wrap: anywhere; }
@media (min-width: 1024px) { .hh-title { font-size: 24px; } }
.hh-head__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; color: var(--ink-2); }
.hh-head__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.hh-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; margin: -8px 0 2px; font-size: 13px; color: var(--ink-3); }
.hh-crumbs li { display: flex; align-items: center; gap: 6px; }
.hh-crumbs li + li::before { content: "/"; color: var(--line-control); }
.hh-crumbs a, .hh-crumbs span { display: inline-flex; align-items: center; min-height: var(--ctl); }
.hh-crumbs a { min-width: 44px; }
@media (min-width: 1024px) and (pointer: fine) { .hh-crumbs ol { margin-top: 0; margin-bottom: 4px; } .hh-crumbs a, .hh-crumbs span { min-height: 24px; } .hh-crumbs a { min-width: 24px; } }
.hh-sechead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 4px; }
.hh-sechead h2 { font-size: 15px; font-weight: 600; }
.hh-sechead p { color: var(--ink-3); font-size: 13px; }
.hh-sechead a { margin-left: auto; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; min-height: var(--ctl); margin-block: -12px; }
.hh-muted { color: var(--ink-3); }
.hh-small { font-size: 13px; color: var(--ink-3); max-width: 80ch; }
.hh-text { color: var(--ink-2); max-width: 72ch; }
.hh-sample { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.hh-nowrap { white-space: nowrap; }
.hh-narrow { display: block; }
.hh-wide { display: none; }
@media (min-width: 720px) { .hh-narrow { display: none; } .hh-wide { display: block; } }
.hh-copyrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; margin-block: -8px; }
.hh-roles li { padding: 12px var(--pad); border-top: 1px solid var(--line); }
.hh-roles li:first-child { border-top: 0; }
.hh-roles b { display: block; font-weight: 600; }
.hh-roles span { color: var(--ink-2); }

.hh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--ctl); padding: 0 14px; border: 1px solid transparent; border-radius: var(--r-sm); background: none; color: var(--ink); font-weight: 500; line-height: 1.2; white-space: nowrap; }
.hh-btn:hover { text-decoration: none; }
.hh-btn svg { width: 18px; height: 18px; }
.hh-btn--primary { background: var(--brand); color: var(--on-brand); }
.hh-btn--primary:hover { background: var(--brand-hover); }
.hh-btn--secondary { background: var(--surface); border-color: var(--line-2); }
.hh-btn--secondary:hover { background: var(--hover); border-color: var(--line-control); }
.hh-btn--ghost { color: var(--link); padding-inline: 10px; }
.hh-btn--ghost:hover { background: var(--hover); color: var(--link-hover); }
.hh-btn--danger { background: var(--surface); border-color: var(--line-2); color: var(--danger); }
.hh-btn--danger:hover { background: var(--danger-tint); border-color: var(--danger); }
.hh-btn--wide { width: 100%; }
.hh-btn[disabled] { opacity: .65; cursor: default; }
.hh-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hh-acts--end { justify-content: flex-end; }
.hh-xbtn { display: grid; place-items: center; width: var(--ctl); height: var(--ctl); border: 0; background: none; border-radius: var(--r-sm); color: var(--ink-3); }
.hh-xbtn:hover { background: var(--hover); color: var(--danger); }
.hh-xbtn svg { width: 18px; height: 18px; }

.hh-badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 6px; border-radius: var(--r-xs); background: var(--neutral-tint); color: var(--neutral); font-size: 12.5px; font-weight: 500; line-height: 18px; white-space: nowrap; }
.hh-badge svg { width: 14px; height: 14px; }
.hh-badge--done { background: var(--done-tint); color: var(--done); }
.hh-badge--warn { background: var(--warn-tint); color: var(--warn); }
.hh-badge--danger { background: var(--danger-tint); color: var(--danger); }
.hh-badge--info { background: var(--info-tint); color: var(--info); }
.hh-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--neutral-tint); color: var(--ink-2); font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; }
.hh-you { margin-left: 6px; padding: 1px 6px; border-radius: var(--r-xs); background: var(--neutral-tint); color: var(--ink-2); font-size: 12px; font-weight: 500; }

.hh-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); min-width: 0; }
.hh-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-height: 52px; padding: 8px var(--pad); border-bottom: 1px solid var(--line); }
.hh-card__title { font-size: 15px; font-weight: 600; }
.hh-card__tools { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.hh-card__body { padding: var(--pad); display: grid; gap: 14px; min-width: 0; }
.hh-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; min-height: 44px; padding: 6px var(--pad); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.hh-card__foot a { font-weight: 500; display: inline-flex; align-items: center; justify-content: flex-end; min-width: 44px; min-height: var(--ctl); }
.hh-card--attn > .hh-card__head { background: var(--warn-tint); border-bottom-color: #ecd9ab; border-radius: var(--r-md) var(--r-md) 0 0; color: #6b4500; }
.hh-card--attn > .hh-card__head svg { width: 18px; height: 18px; color: var(--warn); }
.hh-card--attn .hh-count { background: var(--brand); color: #fff; }
.hh-cols { display: grid; gap: 16px; align-items: start; }
.hh-stack { display: grid; gap: 16px; min-width: 0; align-content: start; }
@media (min-width: 1100px) { .hh-cols { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; } .hh-stack { gap: 20px; } }
.hh-grid2 { display: grid; gap: 16px; align-items: start; }
@media (min-width: 720px) { .hh-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hh-grid2 { gap: 20px; } }

.hh-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--neutral-tint); color: var(--ink-2); }
.hh-note svg { width: 18px; height: 18px; margin-top: 1px; color: var(--ink-3); }
.hh-note b { color: var(--ink); font-weight: 600; }
.hh-note--done { background: var(--done-tint); color: #3a4720; }
.hh-note--done svg { color: var(--done); }
.hh-note--warn { background: var(--warn-tint); color: #6b4500; }
.hh-note--warn svg { color: var(--warn); }
.hh-note--info { background: var(--info-tint); color: #0b4a5e; }
.hh-note--info svg { color: var(--info); }

/* attention queue */
.hh-attn__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 16px; padding: 14px var(--pad); border-top: 1px solid var(--line); }
.hh-attn__row:first-child { border-top: 0; }
.hh-attn__body { display: grid; gap: 2px; min-width: 0; }
.hh-attn__body h3 { font-size: 15px; font-weight: 600; }
.hh-attn__body p { color: var(--ink-2); max-width: 76ch; }
.hh-attn__body .hh-attn__meta { color: var(--ink-3); font-size: 13px; }
.hh-attn__row .hh-btn { justify-self: start; }
@media (min-width: 720px) { .hh-attn__row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.hh-clear { display: flex; align-items: center; gap: 12px; padding: 16px var(--pad); }
.hh-clear > svg { width: 22px; height: 22px; color: var(--done); }
.hh-clear b { display: block; font-weight: 600; }
.hh-clear span { color: var(--ink-2); }

/* stat tiles */
.hh-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .hh-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .hh-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hh-tiles { gap: 20px; } }
.hh-tile { display: grid; align-content: start; gap: 4px; min-width: 0; padding: 14px var(--pad); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); }
a.hh-tile:hover { border-color: var(--line-control); text-decoration: none; }
.hh-tile__label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.hh-tile__value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
.hh-tile__value small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.hh-tile__sub { font-size: 13px; color: var(--ink-3); }
.hh-tile__plot { height: 28px; margin: 6px 0 2px; display: flex; align-items: center; }
.hh-spark { width: 129px; height: 28px; display: block; }
.hh-delta { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--done); white-space: nowrap; }
.hh-delta svg { width: 14px; height: 14px; }
.hh-meter { display: block; width: 100%; height: 8px; border-radius: 4px; background: var(--data-track); overflow: hidden; }
.hh-meter > i { display: block; height: 100%; border-radius: 4px; background: var(--data); }
.hh-small + .hh-meter { margin-top: 6px; }

/* tables */
.hh-tablewrap { position: relative; overflow-x: auto; border-radius: 0 0 var(--r-md) var(--r-md); } /* relative: the hidden header texts stay inside the scrolling box */
.hh-card__head + .hh-tablewrap, .hh-filter + .hh-tablewrap { border-radius: 0 0 var(--r-md) var(--r-md); }
.hh-table { width: 100%; border-collapse: collapse; }
.hh-table th { padding: 9px var(--pad); background: var(--sunken); border-bottom: 1px solid var(--line); text-align: left; font-size: 12.5px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.hh-table td { padding: 12px var(--pad); border-bottom: 1px solid var(--line); vertical-align: top; }
.hh-table tbody tr:last-child td { border-bottom: 0; }
.hh-table tfoot td { border-top: 1px solid var(--line-2); border-bottom: 0; background: var(--sunken); font-weight: 600; }
.hh-table tr[data-href] { cursor: pointer; }
.hh-table tr[data-href]:hover td { background: var(--sunken); }
.hh-table .c-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hh-table .c-when { white-space: nowrap; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hh-table .c-id { white-space: nowrap; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hh-table .c-state, .hh-table .c-nowrap { white-space: nowrap; }
.hh-table .c-act { text-align: right; white-space: nowrap; padding-block: 6px; vertical-align: middle; }
.hh-table .c-mid { vertical-align: middle; }
.hh-table td.c-go { width: 1%; padding-left: 0; color: var(--ink-3); vertical-align: middle; }
.hh-table td.c-go svg { width: 14px; height: 14px; display: block; }
.hh-rowlink { display: inline-block; min-width: 44px; padding: 12px 0; margin: -12px 0; color: var(--ink); font-weight: 500; }
.hh-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hh-cell > svg { width: 18px; height: 18px; color: var(--ink-3); }
.hh-cell__text { display: grid; min-width: 0; }
.hh-cell__note { display: block; color: var(--ink-3); font-size: 13px; font-weight: 400; }
.hh-databar { display: inline-block; width: 72px; height: 8px; margin-right: 10px; vertical-align: middle; border-radius: 0 4px 4px 0; background: transparent; }
.hh-databar > i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--data); }
.hh-numw { display: inline-block; min-width: 3ch; text-align: right; }
.hh-filter { display: flex; gap: 4px 18px; padding: 0 var(--pad); border-bottom: 1px solid var(--line); overflow-x: auto; }
.hh-filter button { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: var(--ctl); padding: 0 2px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.hh-filter button:hover { color: var(--ink); }
.hh-filter button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--brand); }
@media (min-width: 1024px) and (pointer: fine) { .hh-filter button { min-height: 42px; } }
@media (max-width: 719.98px) {
  .hh-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hh-table--stack, .hh-table--stack tbody, .hh-table--stack tfoot { display: block; }
  .hh-table--stack tr { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 13px var(--pad); border-bottom: 1px solid var(--line); }
  .hh-table--stack tbody tr:last-child { border-bottom: 0; }
  .hh-table--stack tr[data-href]:hover td { background: none; }
  .hh-table--stack td, .hh-table--stack tfoot td { display: block; grid-column: 1 / -1; padding: 0; border: 0; background: none; text-align: left; font-size: 14px; color: var(--ink-2); white-space: normal; }
  .hh-table--stack td.c-main { grid-column: 1; grid-row: 1; font-size: 15px; color: var(--ink); }
  .hh-table--stack td.c-state { grid-column: 2; grid-row: 1; justify-self: end; }
  .hh-table--stack td[data-label]:not(.c-main):not(.c-state):not(.c-act)::before { content: attr(data-label) ": "; color: var(--ink-3); }
  .hh-table--stack td.c-num, .hh-table--stack td.c-act { text-align: left; }
  .hh-table--stack td.c-x, .hh-table--stack td.c-go { display: none; }
  .hh-table--stack td.c-act { margin-top: 6px; }
  .hh-table--stack tfoot tr { background: var(--sunken); border-top: 1px solid var(--line-2); border-bottom: 0; }
  .hh-table--stack tfoot td { font-weight: 500; }
  .hh-table--stack tfoot td.c-main { font-weight: 600; }
  .hh-table--stack tr[data-href] .hh-rowlink::after { content: ""; position: absolute; inset: 0; }
  .hh-table--stack td.c-act > *, .hh-table--stack td select, .hh-table--stack td button { position: relative; z-index: 1; }
  .hh-databar { display: none; }
  .hh-table--keep th, .hh-table--keep td { padding-inline: 6px; }
  .hh-table--keep th:first-child, .hh-table--keep td:first-child { padding-left: var(--pad); }
  .hh-table--keep th:last-child, .hh-table--keep td:last-child { padding-right: var(--pad); }
  .hh-table--keep .c-x { display: none; }
  .hh-table--keep .hh-numw { min-width: 0; }
}
.hh-short { display: none; }
@media (max-width: 719.98px) { .hh-long { display: none; } .hh-short { display: inline; } }

/* small lists inside cards */
.hh-mini li + li { border-top: 1px solid var(--line); }
.hh-mini__a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px var(--pad); color: var(--ink); }
.hh-mini__a:hover { background: var(--sunken); text-decoration: none; }
.hh-mini__a > svg { width: 18px; height: 18px; color: var(--ink-3); }
.hh-mini__a > span:first-of-type { flex: 1; min-width: 0; font-weight: 500; }
.hh-props > div { display: grid; grid-template-columns: minmax(96px, 40%) minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.hh-props > div:first-child { border-top: 0; padding-top: 0; }
.hh-props > div:last-child { padding-bottom: 0; }
.hh-props dt { color: var(--ink-3); }
.hh-props dd { font-weight: 500; overflow-wrap: anywhere; }
.hh-props dd small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.hh-points { display: grid; gap: 8px; }
.hh-points li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; color: var(--ink-2); }
.hh-points svg { width: 18px; height: 18px; margin-top: 1px; color: var(--done); }
.hh-points .is-no svg { color: var(--ink-3); }
.hh-points--cols { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 24px; }
.hh-steps { counter-reset: step; display: grid; gap: 14px; }
.hh-steps > li { counter-increment: step; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.hh-steps > li::before { content: counter(step); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--neutral-tint); color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.hh-steps b { display: block; font-weight: 600; }
.hh-steps li > div > span { display: block; color: var(--ink-2); }
/* a heading inside a card (portal 0.23.0, Your systems): a few words and, at most, a badge */
.hh-subtitle { font-size: 15px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.hh-steps li > div > span.hh-acts { display: flex; }
.hh-steps .hh-btn { margin-top: 8px; }
/* the report address (portal 0.25.0): an address to copy, and the senders it takes reports from */
.hh-mono, .hh-input--mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; overflow-wrap: anywhere; }
.hh-senders { display: grid; }
.hh-sender { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 10px; }
.hh-sender + .hh-sender { border-top: 1px solid var(--line); }
.hh-sender > div:first-child { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.hh-sender b { font-weight: 600; }
.hh-log li { display: grid; grid-template-columns: minmax(104px, 30%) minmax(0, 1fr); gap: 12px; padding: 9px var(--pad); border-top: 1px solid var(--line); }
.hh-log li:first-child { border-top: 0; }
.hh-log span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.hh-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hh-kpis dt { font-size: 12.5px; color: var(--ink-3); }
.hh-kpis dd { font-size: 18px; font-weight: 600; line-height: 1.25; }
.hh-kpis dd .hh-delta { display: flex; font-size: 12.5px; }

/* setup */
.hh-setup > li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 12px; padding: 14px var(--pad); border-top: 1px solid var(--line); }
.hh-setup > li:first-child { border-top: 0; }
.hh-setup__dot { grid-row: 1 / span 2; display: grid; }
.hh-setup__dot svg { width: 22px; height: 22px; color: var(--line-control); }
.hh-setup .is-done .hh-setup__dot svg { color: var(--done); }
.hh-setup .is-you .hh-setup__dot svg { color: var(--warn); }
.hh-setup h3 { font-size: 15px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.hh-setup .is-next h3 { color: var(--ink-2); font-weight: 500; }
.hh-setup p { grid-column: 2; color: var(--ink-2); }
.hh-setup .hh-btn { grid-column: 2; justify-self: start; margin-top: 8px; }

/* conversation */
.hh-thread { display: grid; gap: 12px; }
.hh-msg { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.hh-msg__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); border-radius: var(--r-md) var(--r-md) 0 0; }
.hh-msg--us .hh-msg__head { background: var(--sunken); }
.hh-msg__head b { font-weight: 600; }
.hh-msg__head time { margin-left: auto; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.hh-msg__body { display: grid; gap: 8px; padding: 12px 14px; max-width: 76ch; }
.hh-ev { display: flex; align-items: center; gap: 8px; padding-left: 14px; font-size: 13px; color: var(--ink-3); }
.hh-ev svg { width: 14px; height: 14px; }
.hh-file { display: inline-flex; align-items: center; gap: 10px; min-height: var(--ctl); padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); text-align: left; justify-self: start; }
.hh-file:hover { background: var(--hover); }
.hh-file svg { width: 20px; height: 20px; color: var(--ink-3); }
.hh-file b { display: block; font-weight: 500; }
.hh-file small { display: block; font-size: 12.5px; color: var(--ink-3); }
.hh-quote { display: grid; gap: 10px; }
.hh-quote blockquote { padding-left: 14px; border-left: 3px solid var(--line-2); color: var(--ink); max-width: 72ch; }
.hh-mail { border: 1px solid var(--line); border-radius: var(--r-sm); }
.hh-mail__head { padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--sunken); border-radius: var(--r-sm) var(--r-sm) 0 0; display: grid; gap: 2px; font-size: 13px; }
.hh-mail__head div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
.hh-mail__head dt { color: var(--ink-3); }
.hh-mail__head dd { overflow-wrap: anywhere; }
.hh-mail__body { display: grid; gap: 10px; padding: 14px; max-width: 72ch; }
.hh-doc { display: grid; gap: 18px; }
.hh-doc h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.hh-doc ul { display: grid; gap: 4px; color: var(--ink-2); }
.hh-doc li { padding-left: 14px; position: relative; }
.hh-doc li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--line-control); }

/* forms */
.hh-form { display: grid; gap: 16px; min-width: 0; }
.hh-form > * { min-width: 0; }
.hh-field { display: grid; gap: 6px; min-width: 0; }
.hh-field > label, .hh-legend { font-weight: 500; }
.hh-legend { margin-bottom: 8px; }
.hh-opt { font-weight: 400; color: var(--ink-3); }
.hh-input, .hh-select { width: 100%; min-width: 0; min-height: var(--ctl); padding: 8px 12px; border: 1px solid var(--line-control); border-radius: var(--r-sm); background: var(--surface); font-size: 16px; line-height: 1.4; }
@media (min-width: 1024px) and (pointer: fine) { .hh-input, .hh-select { font-size: 14px; padding-block: 6px; } }
textarea.hh-input { min-height: 104px; resize: vertical; }
.hh-select { appearance: none; -webkit-appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%2344555c'%3E%3Cpath d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 14px; }
.hh-select--inline { width: auto; min-width: 132px; }
.hh-input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.hh-field__hint { font-size: 13px; color: var(--ink-3); }
.hh-field__err { font-size: 13px; font-weight: 500; color: var(--danger); }
.hh-fileinput { width: 100%; min-width: 0; min-height: var(--ctl); font-size: 14px; color: var(--ink-2); }
.hh-fileinput::file-selector-button { min-height: var(--ctl); margin-right: 12px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); font: inherit; font-weight: 500; color: var(--ink); cursor: pointer; }
.hh-choices { display: grid; gap: 8px; }
@media (min-width: 720px) { .hh-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hh-choice { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; padding: 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; }
.hh-choice input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--side); }
.hh-choice b { display: block; font-weight: 600; }
.hh-choice small { display: block; font-size: 13px; color: var(--ink-3); }
.hh-choice:has(input:checked) { border-color: var(--side); box-shadow: 0 0 0 1px var(--side); }
.hh-choice:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.hh-switchrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--pad); border-top: 1px solid var(--line); }
.hh-switchrow:first-child { border-top: 0; }
.hh-switchrow b { display: block; font-weight: 500; }
.hh-switchrow small { display: block; font-size: 13px; color: var(--ink-3); }
.hh-switch { display: grid; place-items: center; width: 52px; height: 44px; padding: 0; border: 0; background: none; border-radius: var(--r-sm); flex: none; }
.hh-switch span { position: relative; width: 40px; height: 24px; border-radius: 12px; border: 1px solid var(--line-control); background: var(--surface); transition: background .15s; }
.hh-switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--line-control); transition: transform .15s; }
.hh-switch[aria-checked="true"] span { background: var(--side); border-color: var(--side); }
.hh-switch[aria-checked="true"] span::after { transform: translateX(16px); background: #fff; }

/* charts */
.hh-legend-row { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--ink-2); }
.hh-legend-row span { display: inline-flex; align-items: center; gap: 6px; }
.hh-legend-row i { width: 10px; height: 10px; border-radius: 2px; background: var(--data); }
.hh-legend-row i.is-prev { background: var(--data-prev); }
.hh-chart { position: relative; padding-top: 22px; }
.hh-chart__plot { position: relative; height: 200px; margin-left: 40px; }
.hh-chart__grid { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(4, 1fr); }
.hh-chart__grid i { position: relative; border-top: 1px solid var(--line); }
.hh-chart__grid i:last-child { border-bottom: 1px solid var(--line-2); }
.hh-chart__grid span { position: absolute; right: 100%; margin-right: 8px; top: -8px; font-style: normal; font-size: 11.5px; line-height: 16px; color: var(--ink-3); white-space: nowrap; }
.hh-chart__grid span.is-zero { top: auto; bottom: -8px; }
.hh-chart__cols { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.hh-chart__grp { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 100%; min-width: 0; padding: 0; border: 0; border-radius: var(--r-xs) var(--r-xs) 0 0; background: none; cursor: default; }
.hh-chart__grp:hover, .hh-chart__grp:focus-visible { background: rgba(10, 127, 163, .07); }
.hh-chart__grp:focus-visible { outline-offset: -2px; }
.hh-chart__col { position: relative; width: min(24px, 34%); border-radius: 4px 4px 0 0; background: var(--data); }
.hh-chart__col--prev { background: var(--data-prev); }
.hh-chart__grp--thin .hh-chart__col { width: min(24px, 64%); }
.hh-chart__grp.is-weekstart { border-left: 1px solid var(--line); border-radius: 0; }
.hh-chart__col em { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding-bottom: 3px; font-style: normal; font-size: 11.5px; font-weight: 500; line-height: 14px; color: var(--ink-2); }
.hh-chart__x { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 6px 0 0 40px; text-align: center; font-size: 12.5px; line-height: 1.3; color: var(--ink-2); }
.hh-chart__x small { display: block; font-size: 11.5px; color: var(--ink-3); }
.hh-tip { position: absolute; z-index: 5; left: 0; top: 0; padding: 8px 10px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-size: 12.5px; line-height: 1.45; white-space: nowrap; pointer-events: none; }
.hh-tip b { display: block; font-weight: 600; }
.hh-tip span { display: block; }
.hh-rank { display: grid; gap: 12px; }
.hh-rank li { display: grid; grid-template-columns: minmax(84px, 36%) minmax(0, 1fr) 82px; align-items: center; gap: 12px; }
.hh-rank.has-you li:not(.is-you) .hh-meter > i { background: var(--data-prev); }
.hh-rank li.is-you > span:first-child { font-weight: 600; }
.hh-rank .hh-meter { height: 10px; border-radius: 0 4px 4px 0; }
.hh-rank .hh-meter > i { border-radius: 0 4px 4px 0; }
.hh-rank b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hh-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.hh-big small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }

/* overlays */
.hh-pop { position: fixed; z-index: 50; left: 0; top: 0; width: max-content; min-width: 248px; max-width: min(380px, calc(100vw - 16px)); max-height: min(560px, calc(100vh - 24px)); overflow: auto; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-pop); }
.hh-menu { display: grid; gap: 2px; }
.hh-menu__item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: var(--ctl); padding: 6px 10px; border: 0; border-radius: var(--r-sm); background: none; color: var(--ink); text-align: left; }
.hh-menu__item:hover, .hh-menu__item:focus-visible { background: var(--hover); text-decoration: none; }
.hh-menu__item > svg { width: 18px; height: 18px; color: var(--ink-3); }
.hh-menu__item > span { flex: 1; min-width: 0; }
.hh-menu__item b { display: block; font-weight: 600; }
.hh-menu__item small { display: block; font-size: 12.5px; color: var(--ink-3); }
.hh-menu__item[aria-checked="true"] > svg:last-child { color: var(--link); }
.hh-menu__sep { height: 1px; margin: 4px -6px; background: var(--line); }
.hh-menu__head { padding: 8px 10px 10px; line-height: 1.35; }
.hh-menu__head b { display: block; font-weight: 600; }
.hh-menu__head small { font-size: 12.5px; color: var(--ink-3); overflow-wrap: anywhere; }
.hh-pop__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 4px 6px 10px; }
.hh-pop__head h2 { font-size: 15px; font-weight: 600; }
.hh-notes { display: grid; gap: 2px; width: min(360px, calc(100vw - 30px)); }
.hh-notes__a { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 10px; padding: 9px 10px; border-radius: var(--r-sm); color: var(--ink); }
.hh-notes__a:hover, .hh-notes__a:focus-visible { background: var(--hover); text-decoration: none; }
.hh-notes__a i { width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; }
.hh-notes__a.is-unread i { background: var(--brand); }
.hh-notes__a.is-unread b { font-weight: 600; }
.hh-notes__a b { display: block; font-weight: 400; }
.hh-notes__a small { display: block; font-size: 12.5px; color: var(--ink-3); }
.hh-dialog { width: min(480px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-pop); }
.hh-dialog::backdrop { background: rgba(18, 36, 43, .5); }
.hh-dialog__box { display: grid; gap: 14px; padding: 20px; }
.hh-dialog__title { font-size: 17px; font-weight: 600; }
.hh-dialog__body { display: grid; gap: 12px; color: var(--ink-2); }
.hh-dialog__acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 4px; }
@media (max-width: 719.98px) {
  .hh-dialog { width: 100%; max-width: none; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .hh-dialog__box { padding: 20px max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .hh-dialog__acts { flex-direction: column-reverse; }
  .hh-dialog__acts .hh-btn { width: 100%; }
}
.hh-toast { position: fixed; z-index: 60; left: 50%; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); width: max-content; max-width: min(520px, calc(100vw - 32px)); padding: 10px 14px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-size: 14px; box-shadow: var(--shadow-pop); opacity: 0; transform: translate(-50%, 8px); transition: opacity .16s, transform .16s; pointer-events: none; }
.hh-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1024px) { .hh-toast { bottom: 24px; } }

/* empty, loading, error */
.hh-empty { display: grid; justify-items: center; gap: 8px; padding: 40px var(--pad); text-align: center; }
.hh-empty__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--neutral-tint); color: var(--ink-2); }
.hh-empty__icon svg { width: 22px; height: 22px; }
.hh-empty h2 { font-size: 16px; font-weight: 600; }
.hh-empty p { max-width: 52ch; color: var(--ink-2); }
.hh-empty .hh-acts { justify-content: center; margin-top: 8px; }
.hh-skel { display: block; height: 12px; border-radius: 4px; background: linear-gradient(90deg, #e6eaeb 0%, #f1f4f4 50%, #e6eaeb 100%); background-size: 200% 100%; animation: hh-skel 1.3s linear infinite; }
@keyframes hh-skel { to { background-position: -200% 0; } }
.hh-skelrow { display: grid; grid-template-columns: 72px minmax(0, 1fr) 84px; gap: 16px; align-items: center; padding: 16px var(--pad); border-top: 1px solid var(--line); }
.hh-skelrow:first-child { border-top: 0; }

/* sign in */
.hh-auth { display: grid; place-items: center; min-height: 100vh; min-height: 100dvh; padding: 32px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); }
.hh-auth__wrap { width: min(400px, 100%); display: grid; gap: 20px; }
.hh-auth__logo { display: flex; justify-content: center; color: var(--ink); --hh-logo-ground: var(--canvas); }
.hh-auth__logo .hh-logo { height: 26px; }
.hh-auth__card { display: grid; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.hh-auth__card h1 { font-size: 20px; font-weight: 600; line-height: 1.25; }
.hh-auth__foot { text-align: center; font-size: 13px; color: var(--ink-3); }
.hh-proto { display: grid; gap: 10px; padding: 14px; border: 1px dashed var(--line-control); border-radius: var(--r-sm); }

/* ---------- third version: more of the work, and the admin ---------- */
.hh-side__tag { margin-left: 10px; padding: 1px 7px; border: 1px solid var(--side-line); border-radius: var(--r-xs); font-size: 11.5px; font-weight: 600; color: var(--side-ink-2); }
.hh-bar__title { min-width: 0; padding: 0 8px; font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1024px) { .hh-bar .hh-bar__title { display: none; } }
@media (max-width: 899.98px) { .hh-tiles--3 > :first-child { grid-column: 1 / -1; } .hh-tiles--5 > :first-child { grid-column: 1 / -1; } }
@media (min-width: 900px) { .hh-tiles--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.hh-range { position: relative; display: block; width: 100%; height: 16px; }
.hh-range::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 1px; background: var(--line); }
.hh-range__band { position: absolute; top: 5px; height: 6px; border-radius: 3px; background: var(--data-prev); }
.hh-range__mid { position: absolute; top: 1px; width: 2px; height: 14px; margin-left: -1px; background: var(--ink-2); }
.hh-range__you { position: absolute; top: 2px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--data); box-shadow: 0 0 0 2px var(--surface); }
.hh-legend-row i.is-mid { width: 2px; height: 12px; border-radius: 0; background: var(--ink-2); }
.hh-choices--stack { grid-template-columns: minmax(0, 1fr); }
.hh-choice__text { display: block; margin-top: 4px; color: var(--ink-2); }
.hh-read { display: grid; gap: 2px; padding: 10px var(--pad); }
.hh-read p { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; }
.hh-read b { font-weight: 600; }
.hh-read > span { color: var(--ink-2); }
.hh-mini__a--two > span:first-of-type { display: grid; line-height: 1.35; padding-block: 4px; }
.hh-mini__a--two b { font-weight: 600; }
.hh-mini__a--two small { font-size: 13px; font-weight: 400; color: var(--ink-3); }
.hh-mini__a .hh-count { flex: none; }
.hh-mini__a > svg[role="img"] { color: var(--warn); }
.hh-cell__note--wrap { max-width: 26ch; white-space: normal; }
.hh-rowlink--text { font-weight: 400; }
.hh-steps .hh-acts { margin-top: 8px; }
.hh-steps .hh-acts .hh-btn { margin-top: 0; }
.hh-kv { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.hh-due { font-weight: 500; white-space: nowrap; }
.hh-due--late { color: var(--danger); }
.hh-due--soon { color: var(--warn); }
.hh-funnel { display: grid; gap: 10px; }
.hh-funnel li { display: grid; grid-template-columns: minmax(96px, 30%) minmax(0, 1fr) 132px; align-items: center; gap: 12px; }
.hh-funnel .hh-meter { height: 14px; border-radius: 0 4px 4px 0; }
.hh-funnel .hh-meter > i { border-radius: 0 4px 4px 0; }
.hh-funnel b { font-weight: 600; font-variant-numeric: tabular-nums; }
.hh-funnel small { display: block; font-size: 12.5px; color: var(--ink-3); }
.hh-notebox { display: grid; gap: 10px; }
.hh-notebox li { padding: 10px 12px; border-radius: var(--r-sm); background: var(--sunken); border: 1px solid var(--line); }
.hh-notebox time { display: block; font-size: 12.5px; color: var(--ink-3); }
.hh-msg--note { border-style: dashed; }
.hh-msg--note .hh-msg__head { background: var(--warn-tint); }
.hh-check { display: flex; align-items: center; gap: 10px; min-height: var(--ctl); }
.hh-check input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--side); } /* flex: none — a label on two lines does not shrink the box (portal 0.40.1) */
.hh-kpis--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hh-setup--flush > li { padding-inline: 0; }
.hh-setup--flush > li:last-child { padding-bottom: 0; }
.hh-pop__foot { padding: 8px 14px 10px; font-size: 13px; color: var(--ink-3); }
.hh-card__foot .hh-btn { margin-block: -4px; }

/* the month as a strip: one row for each setup */
.hh-plan { display: grid; gap: 10px; }
.hh-plan__rows { display: grid; gap: 16px; }
.hh-plan__rows li, .hh-plan__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; }
.hh-plan__name { min-width: 0; }
.hh-plan__name small { display: block; font-size: 13px; color: var(--ink-3); }
.hh-plan__when { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hh-plan__track, .hh-plan__ticks { grid-column: 1 / -1; position: relative; }
.hh-plan__track { height: 14px; border-radius: 4px; background: repeating-linear-gradient(to right, var(--line-2) 0 1px, transparent 1px 25%), var(--sunken); }
.hh-plan__track::after { content: ""; position: absolute; left: var(--today); top: -6px; bottom: -6px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--brand); }
.hh-plan__bar { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--data-prev); overflow: hidden; }
.hh-plan__bar > i { display: block; height: 100%; background: var(--data); }
.hh-plan__ticks { height: 18px; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.hh-plan__ticks span { position: absolute; top: 0; white-space: nowrap; }
.hh-legend-row i.is-today { width: 2px; height: 12px; border-radius: 1px; background: var(--brand); }
@media (min-width: 900px) {
  .hh-plan__rows li, .hh-plan__head { grid-template-columns: 232px minmax(0, 1fr) 84px; }
  .hh-plan__name { grid-column: 1; grid-row: 1; }
  .hh-plan__track, .hh-plan__ticks { grid-column: 2; grid-row: 1; }
  .hh-plan__when { grid-column: 3; grid-row: 1; text-align: right; }
}
.hh-props > div.is-wide { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.hh-rank--tight li { grid-template-columns: minmax(84px, 44%) minmax(0, 1fr) 22px; }
.hh-setup .is-now .hh-setup__dot svg { color: var(--info); }
.hh-setup__now { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; color: var(--ink); }
@media (min-width: 1200px) { .hh-table .c-wide { min-width: 240px; } }
/* between a phone and a wide desk: the less important columns step aside and the cells sit closer */
@media (min-width: 720px) and (max-width: 1199.98px) { .hh-table .c-lg { display: none; } }
@media (min-width: 720px) and (max-width: 1439.98px) {
  .hh-table th, .hh-table td { padding-inline: 12px; }
  .hh-table th:first-child, .hh-table td:first-child { padding-left: var(--pad); }
  .hh-table th:last-child, .hh-table td:last-child { padding-right: var(--pad); }
}
.hh-of { font-size: 13px; color: var(--ink-3); }
.hh-nb { white-space: nowrap; }
.hh-cell__act { display: block; margin-top: 8px; }
.hh-choice__text > span { display: block; }
.hh-choice__text > span + span { margin-top: 6px; }
.hh-clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* Additions for pages drawn on the server. The design itself is console.css, unchanged from the approved prototypes. */
:root { color-scheme: light; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* The skip link is a real link here, not a button. */
a.hh-skip { text-decoration: none; font-weight: 500; }
/* A meter without an inline style: the page allows no inline styles at all. */
svg.hh-meter > rect { fill: var(--data); }
/* Where this copy runs: shown in the top bar on every width, not only on a desk. */
.hh-bar .hh-bar__env { display: inline-flex; border-style: solid; }
.hh-bar__env--test { border-color: var(--warn); background: var(--warn-tint); color: var(--warn); }
/* The signed-in label is not a menu yet. */
span.hh-user { display: none; }
@media (min-width: 1024px) { .hh-bar span.hh-user { display: inline-flex; } span.hh-user:hover { background: none; } }
/* A value to copy by hand (there are no scripts): one click selects all of it. */
code.hh-key { display: block; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--sunken); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
/* A stored document, shown as written. */
pre.hh-pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.6; color: var(--ink); }
/* A form inside a card that already holds a table. */
.hh-card > .hh-tablewrap + .hh-card__body { border-top: 1px solid var(--line); }
/* ---- the portal's sign-in (E3, 13.11.2026): from the approved sign-in prototype ---- */
.hh-alt { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.hh-alt b { color: var(--ink-2); font-weight: 600; }
.hh-check input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.hh-qrbox { display: block; margin: 10px 0; }
.hh-qr { display: block; width: 168px; height: 168px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.hh-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.hh-codes li { padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--sunken); text-align: center; }
.hh-codes code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; letter-spacing: .04em; color: var(--ink); user-select: all; -webkit-user-select: all; }
.hh-auth__card .hh-steps .hh-form { margin-top: 10px; }
.hh-auth__card .hh-acts { justify-content: center; }
.hh-auth__card form.hh-inline { display: inline; }
/* A form-level message under the title: what went wrong, said once, in words. */
.hh-auth__card .hh-note { margin: 0; }
/* A message may carry a long address: it wraps rather than widen a phone's page. */
.hh-note p { overflow-wrap: anywhere; }

/* "Continue with Google": Google's light button for sites (developers.google.com/identity/branding-guidelines,
   checked 13.11.2026): white, 1px #747775 outline, text #1f1f1f 14px medium, the colour "G" at 20px, 12px from the
   words, 4px corners; on hover Google's own shadow and an 8% grey layer, pressed 12%. Never as tall as less than 40px. */
.hh-google{margin:0}
.hh-btn--google{min-height:max(40px,var(--ctl));padding:0 12px;gap:12px;background:#fff;color:#1f1f1f;border:1px solid #747775;border-radius:4px;font-size:14px;letter-spacing:.25px;transition:background-color .218s,box-shadow .218s}
.hh-btn--google:hover{background:#eee;box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}
.hh-btn--google:active{background:#e6e6e6}
.hh-btn__g{display:inline-flex;width:20px;height:20px;flex:none}
.hh-btn .hh-btn__g svg{display:block;width:20px;height:20px}
/* A row with Google's button: the button is taller than a text link, so the row makes room instead of overlapping. */
.hh-copyrow--tall{margin-block:0;row-gap:8px}
.hh-or{display:flex;align-items:center;gap:12px;margin:18px 0 6px;color:#5c6b70;font-size:13px}
.hh-or::before,.hh-or::after{content:"";flex:1;height:1px;background:#d5dcde}
/* ---- Facts and prices (portal 0.4.0): a long document, edited as plain text ---- */
textarea.hh-doc-edit { min-height: 420px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.55; tab-size: 2; }
/* ---- Billing (portal 0.5.0): the price of a level, as large as a tile's number ---- */
.hh-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 2px 0 14px; color: var(--ink-2); }
.hh-price__n { font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
/* ---- Voice card and review (portal 0.6.0): what changed between two versions, line by line ---- */
.hh-diff { margin: 12px 0 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.55; }
.hh-diff li { display: grid; grid-template-columns: 24px minmax(0, 1fr); padding: 1px 10px 1px 0; }
.hh-diff code { min-height: 1.55em; font: inherit; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.hh-diff__m { text-align: center; color: var(--ink-3); }
.hh-diff .is-add { background: var(--done-tint); }
.hh-diff .is-add .hh-diff__m { color: var(--done); font-weight: 600; }
.hh-diff .is-del { background: var(--danger-tint); }
.hh-diff .is-del .hh-diff__m { color: var(--danger); font-weight: 600; }
.hh-diff .is-gap { display: block; padding: 4px 10px 4px 34px; background: var(--sunken); color: var(--ink-3); font-family: var(--font); font-size: 12.5px; }
details.hh-more > summary { display: flex; align-items: center; min-height: var(--ctl); color: var(--info); font-weight: 500; cursor: pointer; }
details.hh-more[open] > summary { margin-bottom: 8px; }
/* ---- Home and Activity (portal 0.7.0): a column per day of the last seven, in the colour of data ---- */
svg.hh-bars { width: 84px; height: 28px; display: block; }
svg.hh-bars rect { fill: var(--data); }
svg.hh-bars rect.is-zero { fill: var(--data-track); }
.hh-points--attn svg { color: var(--warn); }
.hh-filters .hh-btn { min-width: 48px; justify-content: center; }
/* ---- Requests (portal 0.8.0): the text of a message is written in a plain text box ---- */
textarea.hh-msg-edit { min-height: 120px; line-height: 1.5; }
.hh-filters .hh-count { margin-left: 2px; }
/* ---- Drafts (portal 0.9.0): three buttons to rate a draft, side by side ---- */
.hh-rate { display: flex; flex-wrap: wrap; gap: 6px; }
.hh-rate .hh-btn { min-width: 48px; justify-content: center; }
/* ---- Reports (portal 0.11.0): a column per day of the month, as wide as the tile ---- */
svg.hh-bars--month { width: 100%; height: 28px; }

/* A file of a request whose bytes are deleted (portal 0.14.0): its name stays, it is no longer a download. */
.hh-file--gone { color: var(--ink-3); }
.hh-file--gone:hover { background: var(--surface); }
a.hh-file { color: var(--ink); text-decoration: none; }

/* Privacy mode (portal 0.18.0): the eye in the top bar, the strip under it, a hidden block */
.hh-bar__privacy { display: contents; }
.hh-bar .hh-iconbtn, .hh-bar .hh-bar__brand { flex: none; } /* the name of the property gives way, a target never does */
.hh-bar__privacy .hh-iconbtn[aria-pressed="true"] { background: rgba(255, 255, 255, .16); }
.hh-private { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 6px max(16px, env(safe-area-inset-right, 0px)) 6px max(16px, env(safe-area-inset-left, 0px)); background: var(--sunken); border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 13px; font-weight: 500; }
.hh-private svg { width: 16px; height: 16px; flex: none; }
/* portal 0.28.0: the property's time and this device's, only when they differ (tz.js) */
.hh-tz { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 6px max(16px, env(safe-area-inset-right, 0px)) 6px max(16px, env(safe-area-inset-left, 0px)); background: var(--sunken); border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 13px; font-weight: 500; text-align: center; }
.hh-tz[hidden] { display: none; }
.hh-tz svg { width: 16px; height: 16px; flex: none; }
.hh-pii { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border: 1px dashed var(--line-control); border-radius: var(--r-sm); background: var(--sunken); }
.hh-pii__text { margin: 0; color: var(--ink-2); }
@media (min-width: 1024px) { .hh-bar__privacy .hh-iconbtn[aria-pressed="true"] { background: var(--sunken); color: var(--ink); } }
/* A note with an action (portal 0.26.0: Undo after a decision in Reviews): the button sits at the end, or under the
   text on a phone. */
.hh-note--act { align-items: center; flex-wrap: wrap; }
.hh-note--act p { flex: 1 1 12em; margin: 0; }
.hh-note--act form { margin-left: auto; }
/* Search suggestions (portal 0.26.0): the list from the design (.hh-search__pop, .hh-result) under the field of the
   top bar or of the search page; the chosen one is marked like a hover, and a link is at least 44px high on a phone. */
.hh-suggest-host { position: relative; }
.hh-search__pop[hidden] { display: none; }
.hh-search__pop .hh-result { text-decoration: none; }
.hh-search__pop .hh-result[aria-selected="true"] { background: var(--hover); outline: 2px solid var(--line-control); outline-offset: -2px; }
@media (max-width: 1023px) { .hh-search__pop .hh-result { min-height: 44px; } }
/* the agreement's tables (portal 0.34.0): its headers wrap like its text, so a long one never pushes the table sideways */
.hh-table--legal th { white-space: normal; min-width: 10ch; }
.hh-table--legal th[scope="row"] { width: 28%; background: none; font-size: 13px; color: var(--ink-2); vertical-align: top; padding-block: 12px; }
/* the agreement's text (portal 0.34.1): a readable measure, its headings, its lists with plain bullets (not the icon grid of .hh-points) */
.hh-legal { display: grid; gap: 10px; color: var(--ink-2); max-width: 80ch; min-width: 0; }
.hh-legal__h { margin-top: 12px; font-size: 16px; font-weight: 600; color: var(--ink); }
.hh-legal__h:first-child { margin-top: 0; }
.hh-legal__list { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.hh-legal .hh-tablewrap { border: 1px solid var(--line); border-radius: var(--r-sm); }
/* portal 0.35.0: the buttons of an email that waits for a person, inside a table cell */
.hh-acts--row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hh-acts--row form.hh-inline { display: inline-flex; }
.hh-btn--sm { padding: 0 12px; font-size: 13px; gap: 6px; }
