/* OC Party Rentals CRM — b.spoke design system (ADR-0013) in OC Party Rentals' own brand colours (ADR-0014).
   View-specific rules go in static/css/views/<view>.css and use only the variables below.
   CSP forbids inline style attributes: use classes, or set el.style.* from JS. */
@font-face { font-family: "DM Sans"; src: url("../vendor/fonts/dm-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../vendor/fonts/dm-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../vendor/fonts/dm-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../vendor/fonts/dm-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../vendor/fonts/source-serif-4-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* Design tokens. Layout and contrast rules from b.spoke ADR-0101/0094 (ADR-0013); colours from
     OC Party Rentals' logo on ocpartyrentals.com (ADR-0014): mauve-taupe #a49490, navy slate #48506c. */
  --paper: #f7f6f5;
  --card: #ffffff;
  --ink: #1c1c1c;
  --ink-soft: #efecea;
  --line: #e4e0de;
  --line-strong: #8c8584;
  --muted: #5b5657;
  --accent: #a49490;        /* brand mauve: fills, charts, highlights, the monogram — never text (2.9:1) */
  --accent-text: #48506c;   /* brand navy: links, primary button, focus ring (8.2:1 on white) */
  --accent-deep: #353b52;   /* navy hover / pressed */
  --accent-soft: #f2eeed;   /* mauve tint: active nav, pending pills, banners */
  --mauve-text: #6f5d59;    /* mauve for text on white or mauve tint (≥5.5:1) */
  --navy-soft: #e8eaf0;
  --success: #2f7a52;
  --success-soft: #e9f3ec;
  --danger: #b3402f;
  --danger-soft: #fbece8;

  /* Legacy names, remapped so earlier view CSS still renders in the light theme. */
  --bg: var(--paper);
  --bg-2: var(--card);
  --surface: var(--card);
  --surface-2: var(--ink-soft);
  --border: var(--line);
  --text: var(--ink);
  --faint: #6e6a64;
  --green: var(--success);
  --green-dim: var(--success-soft);
  --indigo: var(--accent-text);
  --indigo-dim: var(--ink-soft);
  --amber: var(--mauve-text);
  --amber-dim: var(--accent-soft);
  --red: var(--danger);
  --red-dim: var(--danger-soft);
  --sky: var(--muted);
  --sky-dim: var(--ink-soft);

  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Source Serif 4", Georgia, serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: none;
  --sidebar: 232px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.45 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
::selection { background: var(--accent-soft); }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; }
h1 { font-family: var(--font-display); font-size: 28px; letter-spacing: -.005em; }
h2 { font-size: 16px; }
h3 { font-size: 14px; }
.display { font-family: var(--font-display); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 14px; }
.xs { font-size: 12px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.green { color: var(--success); } .red { color: var(--danger); } .amber { color: var(--mauve-text); } .indigo { color: var(--accent-text); }

/* ---------- shell: labelled rail, no top bar on desktop ---------- */
.shell { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
/* The rail's white column runs the full page height, even past the sticky rail. */
@media (min-width: 1025px) { .shell { background: linear-gradient(to right, var(--card) calc(var(--sidebar) - 1px), var(--line) calc(var(--sidebar) - 1px), var(--line) var(--sidebar), transparent var(--sidebar)); } }
.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background: var(--card); border-right: 1px solid var(--line);
  padding: 18px 12px 14px; display: flex; flex-direction: column; gap: 2px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 14px; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand { flex-direction: column; align-items: flex-start; gap: 6px; padding: 4px 8px 16px; }
.brand-logo { display: block; width: 148px; height: auto; }
.brand-sub { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); }
.brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.topbar .brand-mark-img { display: block; height: 22px; width: auto; }
.rail-search { position: relative; margin: 0 0 10px; }
.rail-search input { width: 100%; padding: 8px 10px 8px 34px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper); font: inherit; font-size: 14px; color: var(--ink); min-height: 36px; }
.rail-search input:focus { outline: 2px solid var(--accent-text); outline-offset: 0; }
.rail-search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.nav-group { font-size: 12px; font-weight: 500; color: var(--muted); padding: 12px 10px 4px; }
.nav a {
  display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: var(--radius-sm);
  color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none;
}
.nav a svg { color: var(--muted); flex: none; }
.nav a:hover { background: var(--paper); }
.nav a.active { background: var(--accent-soft); }
.nav a.active svg { color: var(--mauve-text); }
.nav a .dot { width: 7px; height: 7px; border-radius: 50%; margin-left: auto; flex: none; background: transparent; }
.nav a .dot.api { background: var(--line-strong); }
.nav a .dot.ui { background: var(--accent); }
.nav a .count { margin-left: auto; font-size: 12px; font-weight: 600; background: var(--accent-text); color: #fff; border-radius: 999px; padding: 1px 8px; }
.sidebar-foot { margin-top: auto; padding: 12px 6px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.rail-user { display: flex; align-items: center; gap: 10px; }
.rail-user .who { min-width: 0; flex: 1; }
.rail-user .name { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-user .role { font-size: 12px; color: var(--muted); text-transform: capitalize; }
.rail-build { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: none; }
.menu-btn { display: none; }
.live-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px; width: fit-content;
  background: var(--danger-soft); color: var(--danger); font-size: 12px; font-weight: 600; letter-spacing: .05em;
}
.live-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.demo-banner {
  background: var(--accent-soft); color: var(--mauve-text); border-bottom: 1px solid var(--line);
  font-size: 13px; padding: 7px 32px; text-align: center;
}
.content { padding: 28px 32px 48px; max-width: 1440px; width: 100%; margin: 0 auto; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head p, .page-head .sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- building blocks ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h2 { font-size: 16px; font-weight: 600; }
.card-head a, .view-all { font-size: 13px; font-weight: 500; color: var(--ink); }
.card-head a::after, .view-all::after { content: " →"; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-21 { display: grid; gap: 24px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spacer { flex: 1; }

.kpi { display: flex; flex-direction: column; gap: 4px; }
.kpi-label { font-size: 13px; color: var(--muted); }
.kpi-value { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.kpi-delta { font-size: 12px; font-weight: 500; }
.kpi-sub { font-size: 13px; color: var(--muted); }

.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 500; background: var(--ink-soft); color: var(--ink); white-space: nowrap;
}
.badge.green { background: var(--success-soft); color: var(--success); }
.badge.amber { background: var(--accent-soft); color: var(--mauve-text); }
.badge.red { background: var(--danger-soft); color: var(--danger); }
.badge.indigo, .badge.sky { background: var(--ink-soft); color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--card);
  color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; min-height: 38px;
}
.btn:hover { background: var(--paper); text-decoration: none; }
.btn-primary { background: var(--accent-text); border-color: var(--accent-text); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-danger { color: var(--danger); border-color: var(--danger); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--paper); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.input, select.input, textarea.input {
  width: 100%; padding: 8px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--card); color: var(--ink); font: inherit; font-size: 14px; min-height: 38px;
}
.input:focus { outline: 2px solid var(--accent-text); outline-offset: 0; }
/* One select across browsers: WebKit draws its own native select and ignores min-height, so the
   app draws the box and its chevron (the same chevron as packages.css). */
select.input {
  -webkit-appearance: none; appearance: none; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235b5657' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px;
}
@media (forced-colors: active) { select.input { -webkit-appearance: auto; appearance: auto; background-image: none; padding-right: 12px; } }
label.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.form-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar .input { width: auto; flex: 1 1 180px; }

/* Tabs under the page title */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: -6px 0 20px; overflow-x: auto; }
.tabs a, .tabs button { padding: 10px 12px; font: inherit; font-size: 14px; font-weight: 500; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none; }
.tabs .active, .tabs [aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }

/* Tables become stacked cards under 720px: give each <td> a data-label. */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 10px 12px; background: var(--ink-soft); white-space: nowrap; position: sticky; top: 0; }
.table th:first-child { border-top-left-radius: var(--radius-sm); }
.table th:last-child { border-top-right-radius: var(--radius-sm); }
.table td { padding: 10px 12px; height: 44px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:hover { background: var(--paper); }
.table tr.clickable { cursor: pointer; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table .name-cell { display: flex; align-items: center; gap: 10px; }
.table .name-cell .primary { font-weight: 500; color: var(--ink); }
.table .name-cell .secondary { font-size: 12px; color: var(--muted); }

.list { display: flex; flex-direction: column; }
.list-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--ink-soft); color: var(--ink); }
.avatar.lg { width: 64px; height: 64px; font-size: 20px; }
.chart-box { position: relative; height: 260px; }
.chart-box.tall { height: 340px; }
.chart-box.mo-chart-empty { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 14px; color: var(--muted); }
.empty { padding: 32px; text-align: center; color: var(--muted); font-size: 14px; }
.pager { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 12px; font-size: 13px; color: var(--muted); }
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

/* Coming soon placeholder (only while the live build is running) */
.coming-soon { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 40px 24px; text-align: center; background: var(--card); }
.coming-soon h2 { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
.coming-soon .status-line { margin-top: 16px; display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }

.toast-host { position: fixed; right: 16px; bottom: 16px; z-index: 100; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--ink); color: #fff; border-radius: var(--radius-sm); padding: 10px 14px; max-width: 340px; font-size: 14px; }
.toast.error { background: var(--danger); }
.toast.success { background: var(--success); }
/* A toast with one action (ui.js actionToast): Undo and the like. White on ink; the button is a 44 px target. */
.toast-action { display: flex; align-items: center; gap: 12px; padding: 4px 4px 4px 14px; }
.toast-action > span { flex: 1; }
.toast-btn { min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid #fff; border-radius: var(--radius-sm); background: transparent; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.toast-btn:hover { background: var(--accent-deep); }

.modal-back { position: fixed; inset: 0; background: rgba(22,22,22,.35); z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; width: min(560px, 100%); max-height: 90vh; overflow-y: auto; }
.modal h2 { font-family: var(--font-display); font-size: 22px; margin-bottom: 14px; }

.skeleton { background: linear-gradient(90deg, var(--ink-soft) 0%, var(--paper) 50%, var(--ink-soft) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 6px; min-height: 16px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- responsive: drawer under 1024px, 16px gutter under 768px ---------- */
@media (max-width: 1100px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1024px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 40; left: 0; top: 0; width: 264px; transform: translateX(-100%); transition: transform .2s; }
  .sidebar.open { transform: none; box-shadow: 0 0 0 100vmax rgba(22,22,22,.35); }
  .topbar { display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 20; padding: 10px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
  .topbar .menu-btn { display: inline-flex; }
  /* The drawer is a phone control: its links and search are 44 px targets (TD-7). */
  .nav a { min-height: 44px; }
  .rail-search input { min-height: 44px; }
  /* Selects are touch targets on a phone or tablet too (44 px). */
  select.input { min-height: 44px; }
  .topbar .grow { flex: 1; }
  .grid-21 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .content { padding: 18px 16px 40px; }
  .demo-banner { padding: 5px 12px; font-size: 12px; line-height: 1.3; }
}
@media (max-width: 720px) {
  table.table.stack-sm thead { display: none; }
  table.table.stack-sm, .table.stack-sm tbody, .table.stack-sm tr, .table.stack-sm td { display: block; width: 100%; }
  .table.stack-sm tr { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; padding: 6px 4px; background: var(--card); }
  .table.stack-sm td { border: 0; height: auto; padding: 5px 10px; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .table.stack-sm td::before { content: attr(data-label); color: var(--muted); font-size: 12px; text-align: left; }
  h1 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }

/* Rail search results (palette-lite) */
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px; box-shadow: 0 12px 28px rgba(22,22,22,.12); }
.search-hit { display: flex; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.search-hit:hover { background: var(--paper); text-decoration: none; }
.search-hit > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.search-hit .display { font-size: 15px; line-height: 1.2; }
.search-all { display: block; padding: 8px; font-size: 13px; font-weight: 500; color: var(--accent-text); }

/* the "not part of your role" page: its way back is a 44 px target at every width (TD-7) */
[data-testid='no-access'] .btn { min-height: 44px; display: inline-flex; align-items: center; }

/* The package builder's customer view (ADR-0036): the shell steps aside so nothing of the CRM is on screen across the table.
   The demo banner (ADR-0020, ADR-0022) and the toasts stay. The view's own layout is in views/packages.css. */
body.pk-present .shell { grid-template-columns: minmax(0, 1fr); background: none; }
body.pk-present #sidebar, body.pk-present .topbar, body.pk-present #fb-root,
body.pk-present #ap-launcher, body.pk-present #ap-panel, body.pk-present #ap-scrim { display: none !important; }

/* The "Hand this to" menu (ADR-0041, views/_handmenu.js): a popover under its button on a wide screen, a bottom sheet at 1023 px
   and below. Tokens only; mauve is a fill, never text. */
.hm-pop { position: absolute; right: 16px; top: calc(100% - 8px); z-index: 40; width: 280px; max-width: calc(100vw - 32px); padding: 12px 8px 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgb(28 28 28 / .14), 0 2px 6px rgb(28 28 28 / .08); animation: hm-in 120ms ease-out; }
@keyframes hm-in { from { opacity: 0; } to { opacity: 1; } }
.hm-h { margin: 0 8px 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.hm-sub { margin: -4px 8px 8px; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.hm-list { display: grid; gap: 2px; }
.hm-person { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 0 8px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; }
.hm-person:hover, .hm-person:focus-visible { background: var(--accent-soft); }
.hm-person:focus-visible { outline: 2px solid var(--accent-text); outline-offset: -2px; }
.hm-person[aria-current="true"] .hm-name { font-weight: 600; }
.hm-person:disabled { opacity: .5; cursor: default; }
.hm-name { min-width: 0; overflow-wrap: anywhere; }
.hm-role { flex: none; font-size: 13px; color: var(--muted); font-weight: 400; }
.hm-person.is-busy .hm-role { display: none; }
.hm-spin { flex: none; width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--accent-text); border-radius: 50%; animation: hm-spin 700ms linear infinite; }
@keyframes hm-spin { to { transform: rotate(360deg); } }
.hm-wait, .hm-none { margin: 0; padding: 8px; color: var(--muted); font-size: 14px; }
.hm-note { margin: 8px 8px 4px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.hm-ic { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hm-scrim { position: fixed; inset: 0; z-index: 60; background: rgb(28 28 28 / .35); }
.hm-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; display: flex; flex-direction: column; max-height: 70vh; padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); background: var(--card); border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -8px 32px rgb(28 28 28 / .16); }
.hm-sheet .hm-grab { align-self: center; flex: none; width: 40px; height: 4px; margin: 0 0 12px; border-radius: 999px; background: var(--line); }
.hm-sheet .hm-h { margin: 0 0 4px; font-size: 15px; color: var(--ink); }
.hm-sheet .hm-sub { margin: 0 0 8px; }
.hm-sheet .hm-list { overflow-y: auto; min-height: 0; }
.hm-sheet .hm-person { min-height: 48px; }
.hm-sheet .hm-note { margin: 8px 0 0; }
.hm-cancel { flex: none; width: 100%; min-height: 48px; margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .hm-pop { animation: none; } .hm-spin { animation: none; } }
