/* hazuki-r3.css — round 3 of the Hazuki build. Loaded last.
   Rules kept: no box inside a box, 1px all-round lines, one status tag per row, no one-sided colour bands, 44px tap targets,
   no offset "sign" shadow on buttons (it drew a crescent at the rounded corners), reduced motion respected. */

/* ── buttons app-wide: flat, no offset shadow; press = small scale ───────── */
:root { --lpk-button-primary-shadow: none; --lpk-button-primary-shadow-pressed: none; --lpk-shadow-sign: none; --lpk-shadow-sign-pressed: none; }
.btn, .btn-cta, .btn-cta:active, .btn:active { box-shadow: none !important; }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 150ms ease-out, transform 120ms cubic-bezier(.23, 1, .32, 1); }
  .btn:active:not([disabled]) { transform: scale(.97); }
}
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }
.btn-sm { min-height: 44px; }
.tap-link, .hq-journey, #hq-history-link { min-height: 44px; min-width: 44px; }
.hq-journey { padding-block: 10px; }

/* ── Home: AI summary ───────────────────────────────────────────────────── */
.hqa-queue { gap: var(--lpk-space-4); }
.hqa-ai { display: grid; gap: 8px; padding: 0 0 var(--lpk-space-4); border-bottom: 1px solid var(--lpk-color-border-divider); }
.hqa-ai-k { margin: 0; display: flex; align-items: center; gap: 8px; font: var(--lpk-type-small); font-weight: 700; color: var(--lpk-color-text-secondary); }
.hqa-ai-mark { display: inline-grid; place-items: center; min-width: 28px; height: 22px; padding: 0 6px; border: 1px solid currentColor; border-radius: var(--lpk-radius-sm); font: var(--lpk-type-label); letter-spacing: .04em; color: var(--lpk-color-text-primary); }
.hqa-ai-line { margin: 0; font: var(--lpk-type-title); line-height: 1.45; color: var(--lpk-color-text-primary); text-wrap: pretty; overflow-wrap: anywhere; }
@media (min-width: 768px) { .hqa-ai-line { font: var(--lpk-type-title); } }
.hqa-ai-why { margin: 0; font: var(--lpk-type-body); color: var(--lpk-color-text-primary); }
.hqa-ai-acts { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }

/* stat band: keep the big numbers; short label; note on its own small line */
.hqa-queue .hq-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hqa-queue .hq-count { flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; }
.hqa-queue .hq-count dd { order: -1; }
.hqa-queue .hq-label { font: var(--lpk-type-small); font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hqa-queue .hq-label .hq-note { display: block; font: var(--lpk-type-label); font-weight: 400; line-height: 1.3; white-space: normal; color: var(--lpk-color-text-supporting); }
.hqa-queue .hq-num { font: var(--lpk-type-display); font-weight: 800; line-height: 1; }
@media (min-width: 768px) { .hqa-queue .hq-num { font: var(--lpk-type-score); line-height: 1; } .hqa-queue .hq-label { font-size: 1rem; } .hqa-queue .hq-count { padding: 16px 20px; } }
.hqa-queue .hq-practice { padding: 10px 12px; }

/* ── Home: one line per item + accordion ───────────────────────────────── */
.hqa-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--lpk-color-border-card); background: var(--lpk-card-bg); }
.hqa { border-top: 1px solid var(--lpk-color-border-divider); min-width: 0; }
.hqa:first-child { border-top: 0; }
.hqa.is-open { background: var(--lpk-color-bg-sunken); }
.hqa.is-linked { outline: 2px solid var(--lpk-color-text-primary); outline-offset: -2px; }
.hqa-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 4px 12px 4px 0; }
.hqa-open { appearance: none; background: transparent; border: 0; margin: 0; padding: 10px 28px 10px 12px; text-align: left; font: inherit; color: inherit; cursor: pointer;
  display: grid; gap: 2px; min-height: 56px; min-width: 0; position: relative; border-radius: 0; }
.hqa-open.is-static { cursor: default; padding-right: 12px; }
.hqa-open:focus-visible { outline: 2px solid var(--lpk-color-text-primary); outline-offset: -2px; }
.hqa-title { font-weight: 700; font-size: 1rem; line-height: 1.35; color: var(--lpk-color-text-primary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.hqa-sub { font: var(--lpk-type-small); font-weight: 400; line-height: 1.4; color: var(--lpk-color-text-supporting); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.hqa-impact { color: var(--lpk-color-text-primary); }
.hqa-chev { position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6; }
.hqa.is-open > .hqa-line .hqa-chev { transform: rotate(-135deg); margin-top: -2px; }
@media (prefers-reduced-motion: no-preference) { .hqa-chev { transition: transform 200ms cubic-bezier(.23, 1, .32, 1); } }
.hqa-approve { min-width: 88px; justify-content: center; white-space: nowrap; }
.hqa-batch { min-width: 0; }
@media (max-width: 420px) { .hqa-batch { padding-inline: 12px; } }

.hqa-detail { display: grid; grid-template-rows: 0fr; }
.hqa.is-open > .hqa-detail { grid-template-rows: 1fr; }
@media (prefers-reduced-motion: no-preference) { .hqa-detail { transition: grid-template-rows 200ms cubic-bezier(.23, 1, .32, 1); } }
.hqa-inner { overflow: hidden; min-height: 0; display: grid; gap: 12px; padding: 0 12px; }
.hqa.is-open > .hqa-detail > .hqa-inner { padding: 4px 12px 16px; }

/* before / after: two stacked rows, only the changed words marked (no grey strikethrough) */
.hqa-diff { display: grid; border: 1px solid var(--lpk-color-border-card); background: var(--lpk-card-bg); }
.hqa-dline { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 10px 12px; align-items: baseline; }
.hqa-dline + .hqa-dline { border-top: 1px solid var(--lpk-color-border-divider); }
.hqa-dk { font: var(--lpk-type-label); color: var(--lpk-color-text-secondary); }
.hqa-dv { font: var(--lpk-type-small); font-weight: 400; line-height: 1.5; color: var(--lpk-color-text-primary); overflow-wrap: anywhere; white-space: pre-line; }
.hqa-mark { background: transparent; color: inherit; padding: 0 2px; border-radius: var(--lpk-radius-xs); }
.is-before .hqa-mark { background: var(--lpk-color-bg-sunken); outline: 1px solid var(--lpk-color-border-default); }
.is-after .hqa-mark { background: var(--lpk-tag-good-bg); font-weight: 700; }
.hqa-meta { margin: 0; display: grid; gap: 8px; }
.hqa-meta > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; }
.hqa-meta dt { font: var(--lpk-type-label); color: var(--lpk-color-text-secondary); }
.hqa-meta dd { margin: 0; font: var(--lpk-type-small); font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.hqa-conf.is-sure { background: var(--lpk-tag-good-bg); border-color: transparent; } .hqa-conf.is-sure::before { background: var(--lpk-tag-good-dot); }
.hqa-conf.is-check { background: var(--lpk-alert-warning-bg); border-color: transparent; } .hqa-conf.is-check::before { background: var(--lpk-color-warning-text); }
.hqa-why { margin: 0; font: var(--lpk-type-small); font-weight: 400; line-height: 1.5; }
.hqa-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.hqa-acts[hidden] { display: none; }
.hqa-members { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lpk-color-border-divider); }
.hqa-member { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--lpk-color-border-divider); }
.hqa-member:first-child { border-top: 0; }
.hqa-member .hqa-diff { border: 0; background: transparent; }
.hqa-member .hqa-dline { padding: 4px 0; grid-template-columns: 48px minmax(0, 1fr); }
.hqa-member .hqa-dline + .hqa-dline { border-top: 0; }
.hqa-mtop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.hqa-members > .hqa { border-top: 1px solid var(--lpk-color-border-divider); }
.hqa.is-decided .undo-bar { margin: 0 12px 12px; }
@media (min-width: 900px) {
  .hqa-line { padding-right: 16px; }
  .hqa-open { padding-left: 16px; }
  .hqa-inner, .hqa.is-open > .hqa-detail > .hqa-inner { padding-inline: 16px; }
  .hqa.is-open > .hqa-detail > .hqa-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; column-gap: 24px; }
  .hqa.is-open > .hqa-detail > .hqa-inner > .hqa-diff, .hqa.is-open > .hqa-detail > .hqa-inner > .hqa-members { grid-row: span 3; }
}

/* undo bar: the track shrinks with transform (not width) */
.ub-track { overflow: hidden; }
.ub-fill { width: 100% !important; transform-origin: left center; }

/* phones: one line per item (title + store · impact), compact approve; the group's bulk button sits under its title */
@media (max-width: 520px) {
  .hqa-title { -webkit-line-clamp: 1; }
  .hqa-sub { -webkit-line-clamp: 1; }
  .hqa-open { min-height: 52px; padding-block: 8px; }
  .hqa-approve { min-width: 64px; padding-inline: 14px; }
  .hqa-group > .hqa-line { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 12px 12px 0; }
  .hqa-group > .hqa-line > .hqa-batch { margin-left: 12px; justify-self: start; }
  .hqa-ai-line { font: var(--lpk-type-body-lg); font-weight: 700; }
  .hqa-ai-acts .btn { flex: 1 1 0; justify-content: center; }
  .hq-head h2 { font: var(--lpk-type-title); line-height: 28px; }
}

/* ── Connections: one row per brand, square channel marks, the step-by-step flow ── */
.hc-banner { margin: 0; padding: 12px 14px; border: 1px solid var(--lpk-color-border-strong); background: var(--lpk-card-bg); }
.hc-banner ol { margin: 6px 0 0; }
.hc-demo-note { margin: 0; }
.hc-brands { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lpk-color-border-divider); }
.hc-brand { border-bottom: 1px solid var(--lpk-color-border-divider); }
.hc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding: 6px 0; }
.hc-row-open { appearance: none; border: 0; background: transparent; padding: 8px 0; text-align: left; font: inherit; color: inherit; cursor: pointer; display: grid; gap: 2px; min-height: 48px; }
.hc-row-open:focus-visible { outline: 2px solid var(--lpk-color-text-primary); outline-offset: 2px; }
.hc-row-name { font-weight: 700; font-size: 1rem; }
.hc-row-sub { font: var(--lpk-type-small); font-weight: inherit; color: var(--lpk-color-text-supporting); }
.hc-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.hc-badge { display: inline-flex; align-items: center; gap: 4px; }
.hc-badge-k { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 4px; border: 1px solid var(--lpk-color-border-strong); border-radius: 0; font: var(--lpk-type-label); }
.hc-badge .chip { font: var(--lpk-type-label); font-weight: 500; padding: 1px 8px; }
@media (max-width: 520px) { .hc-row { grid-template-columns: minmax(0, 1fr); } .hc-badges { justify-content: flex-start; padding-bottom: 8px; } }
.hc-detail { padding: 0 0 12px; }
.hc-defs { margin: 0; display: grid; gap: 8px; }
.hc-defs > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
.hc-defs dt { font: var(--lpk-type-small); font-weight: 700; color: var(--lpk-color-text-secondary); }
.hc-defs dd { margin: 0; font: var(--lpk-type-small); font-weight: 400; overflow-wrap: anywhere; }
.hc-defs dd p { margin: 0 0 4px; }
.hc-accts { list-style: none; margin: 0; padding: 0; }
.hc-acct { display: grid; gap: 10px; padding: 14px 0; border-top: 1px solid var(--lpk-color-border-divider); }
.hc-acct-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.hc-acct-top p { margin: 0; }
.hc-acct-out:empty { display: none; }
.hc-defs-inline > div { grid-template-columns: 88px minmax(0, 1fr); }
.hc-flow { border-color: var(--lpk-color-border-strong); }
.hc-stepper { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.hc-stepper li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; font: var(--lpk-type-small); font-weight: inherit; color: var(--lpk-color-text-supporting); border: 1px solid var(--lpk-color-border-divider); }
.hc-stepper li .num { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid currentColor; font: var(--lpk-type-label); font-weight: inherit; }
.hc-stepper li[aria-current="step"] { color: var(--lpk-color-text-primary); border-color: var(--lpk-color-text-primary); font-weight: 700; }
.hc-stepper li.is-done { color: var(--lpk-color-text-primary); }
.hc-q { margin: 0; font: var(--lpk-type-body); font-weight: 700; line-height: 1.45; }
.hc-help summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 700; }
.hc-choices { display: grid; gap: 10px; }
@media (min-width: 768px) { .hc-choices { grid-template-columns: 1fr 1fr; } }
.hc-choice { appearance: none; text-align: left; font: inherit; color: inherit; background: var(--lpk-card-bg); border: 1px solid var(--lpk-color-border-strong); padding: 14px; display: grid; gap: 6px; cursor: pointer; min-height: 44px; }
.hc-choice:focus-visible { outline: 2px solid var(--lpk-color-text-primary); outline-offset: 2px; }
.hc-choice-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.hc-pre { margin: 0; padding: 10px 12px; border: 1px solid var(--lpk-color-border-divider); background: var(--lpk-color-bg-sunken); font: var(--lpk-type-label); font-weight: inherit; line-height: 1.5; white-space: pre-wrap; word-break: break-all; }
.hc-demo-form { display: grid; gap: 8px; }
.hc-demo-form input { max-width: 360px; font-size: 1rem; }
.hc-map { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.hc-map legend { font-weight: 700; padding: 0; margin-bottom: 4px; }
.hc-radios { display: grid; gap: 0; border-top: 1px solid var(--lpk-color-border-divider); }
.hc-radio, .hc-check { display: flex; align-items: center; gap: 10px; min-height: 44px; border-bottom: 1px solid var(--lpk-color-border-divider); cursor: pointer; }
.hc-radio input, .hc-check input { width: 20px; height: 20px; flex: none; }
.hc-stores { display: grid; }
.hc-stores > .help { margin: 8px 0 0; }
.hc-done { margin: 0; font: var(--lpk-type-body); font-weight: 700; }
.hc-listings select { min-height: 44px; font-size: 1rem; max-width: 100%; }

/* ── Composer: photo first, brand × place chips, the summary is the confirmation ── */
.hp3 .hp-grid { display: grid; gap: var(--lpk-space-4); align-items: start; }
@media (min-width: 1100px) { .hp3 .hp-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .hp3 .hp-side { position: sticky; top: calc(var(--bar-h) + 16px); } }
.hp3 .hp-side { display: grid; gap: var(--lpk-space-4); min-width: 0; }
.hp3 .hp-action { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--lpk-color-border-strong); background: var(--lpk-card-bg); }
.hp3 .hp-go { width: 100%; justify-content: center; min-height: 52px; font: var(--lpk-type-body); font-weight: 700; }
.hp-group { display: grid; gap: 6px; padding: 10px 0; border-top: 1px solid var(--lpk-color-border-divider); }
.hp-group:first-child { border-top: 0; padding-top: 0; }
.hp-group-k { margin: 0; font: var(--lpk-type-small); font-weight: 700; color: var(--lpk-color-text-secondary); }
.hp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-chip { appearance: none; font: inherit; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 10px 6px 6px;
  background: var(--lpk-card-bg); border: 1px solid var(--lpk-color-border-default); border-radius: 0; text-align: left; max-width: 100%; }
.hp-chip.is-on { border-color: var(--lpk-color-text-primary); box-shadow: inset 0 0 0 1px var(--lpk-color-text-primary); }
.hp-chip[disabled] { cursor: not-allowed; opacity: .65; }
.hp-chip:focus-visible { outline: 2px solid var(--lpk-color-text-primary); outline-offset: 2px; }
.hp-chip-ch { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 4px; font: var(--lpk-type-label); border: 1px solid currentColor; }
.hp-chip.is-on .hp-chip-ch { background: var(--lpk-color-text-primary); color: var(--lpk-color-bg-surface); border-color: var(--lpk-color-text-primary); }
.hp-chip-l { font: var(--lpk-type-small); font-weight: 700; overflow-wrap: anywhere; }
.hp-chip .chip { font: var(--lpk-type-label); font-weight: 500; padding: 1px 8px; }
.hp-chip-wrap { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.hp-summary li { padding-block: 8px; }
.hp-summary:empty { display: none; }
.hp-more summary, .hp-pv-box > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 700; }
.hp-pv-box { border: 1px solid var(--lpk-color-border-card); padding: 0 16px 16px; background: var(--lpk-card-bg); }
.hp-pv-box:not([open]) { padding-bottom: 0; }
.hp3 .hp-previews { display: grid; gap: 16px; }
@media (min-width: 700px) { .hp3 .hp-previews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hp3 .hp-previews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── #/posts list ── */
.hz-post-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: start; }
.hz-post-thumb { width: 56px; height: 56px; object-fit: cover; display: block; background: var(--lpk-color-bg-sunken); }
.hz-posts .hz-k { margin: 0; }
.hz-posts .hz-chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

/* ── the 10-second 「元に戻す」 toast, above the bottom nav ── */
.hzt { position: fixed; z-index: 120; left: 12px; right: 12px; bottom: calc(var(--bar-h) + 12px + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; background: var(--lpk-color-text-primary); color: var(--lpk-color-bg-surface); border-radius: 0; }
.hzt-msg { margin: 0; flex: 1; font: var(--lpk-type-small); font-weight: inherit; line-height: 1.4; }
.hzt .btn { flex: none; background: var(--lpk-color-bg-surface); color: var(--lpk-color-text-primary); border-color: var(--lpk-color-bg-surface); }
@media (min-width: 900px) { .hzt { bottom: 24px; } }
@media (prefers-reduced-motion: no-preference) { .hzt { animation: hzt-in 180ms cubic-bezier(.23, 1, .32, 1); } @keyframes hzt-in { from { transform: translateY(8px); opacity: 0; } } }
.hp3 .hp-form { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: var(--lpk-space-4); }
.hp3 .hp-form > * { grid-column: auto !important; }

/* ── Photo map ── */
.hm3 { display: grid; gap: var(--lpk-space-4); }
.hm-bars { display: grid; gap: 8px; }
.hm-chips { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.hm-chip { flex: none; scroll-snap-align: start; min-height: 44px; border-radius: 0; }
.hm-chip.is-on { background: var(--lpk-color-text-primary); color: var(--lpk-color-bg-surface); border-color: var(--lpk-color-text-primary); }
.hm-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 700px) { .hm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } }
@media (min-width: 1100px) { .hm-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.hm-grid-sm { grid-template-columns: repeat(3, 72px) !important; margin-top: 8px; }
.hm-tile { appearance: none; border: 0; padding: 0; margin: 0; display: block; position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--lpk-color-bg-sunken); cursor: pointer; border-radius: 0; }
.hm-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-tile:focus-visible { outline: 3px solid var(--lpk-color-text-primary); outline-offset: 2px; }
.hm-skel .hm-tile { cursor: default; }
@media (prefers-reduced-motion: no-preference) { .hm-skel .hm-tile { animation: hm-pulse 1.2s ease-in-out infinite alternate; } @keyframes hm-pulse { to { opacity: .55; } } }
.hm-strip { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 3px; padding: 18px 4px 4px; background: linear-gradient(to top, var(--lpk-color-scrim), transparent); }
.hm-badge { display: inline-grid; place-items: center; min-width: 26px; height: 20px; padding: 0 4px; font: var(--lpk-type-label); color: var(--lpk-color-text-inverse); background: var(--lpk-color-scrim); border: 1px solid var(--lpk-color-text-inverse); border-radius: 0; }
.hm-badge.is-practice { border-style: dashed; }
.hm-badge.is-none { border-color: color-mix(in srgb, var(--lpk-color-text-inverse) 60%, transparent); font-weight: 400; }
.hm-legend { margin: 8px 0 0; }
.hm-empty { display: grid; gap: 12px; justify-items: start; padding: 20px; border: 1px dashed var(--lpk-color-border-default); }
.hm-empty p { margin: 0; }
.hm-sheet { border: 1px solid var(--lpk-color-border-strong); padding: 16px; width: min(560px, 100vw); max-height: 85vh; overflow: auto; background: var(--lpk-color-bg-surface); color: var(--lpk-color-text-primary); }
.hm-sheet::backdrop { background: var(--lpk-color-scrim); }
@media (max-width: 700px) { .hm-sheet { margin: auto 0 0; max-width: 100vw; width: 100vw; border-width: 1px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: no-preference) and (max-width: 700px) { .hm-sheet[open] { animation: hm-up 220ms cubic-bezier(.32, .72, 0, 1); } @keyframes hm-up { from { transform: translateY(24px); opacity: .6; } } }
.hm-sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hm-sheet-top h2 { margin: 0; font: var(--lpk-type-body-lg); font-weight: 700; }
.hm-sheet-photo { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--lpk-color-border-divider); }
.hm-sheet-photo img { width: 96px; height: 96px; object-fit: cover; }
.hm-sheet-photo p { margin: 0 0 4px; overflow-wrap: anywhere; }
.hm-sheet-k { margin: 12px 0 0; font: var(--lpk-type-small); font-weight: 700; color: var(--lpk-color-text-secondary); }

/* ── Reviews: pre-made draft inline, action bar pinned above the bottom nav ── */
.hz-draft-pre { display: grid; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--lpk-color-border-default); }
.hz-draft-pre[hidden] { display: none; }
.hz-draft-pre .hz-k, .hz-draft-pre p { margin: 0; }
.hz-reply-bar { position: sticky; bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); z-index: 5; background: var(--lpk-color-bg-surface); padding: 8px 0; margin: 0; border-top: 1px solid var(--lpk-color-border-divider); }
@media (min-width: 900px) { .hz-reply-bar { bottom: 0; } }
.hz-store-chips { margin: 0; }
.hm-chips { max-width: 100%; min-width: 0; } .hz-reviews, .hm3, .hm-bars { min-width: 0; max-width: 100%; }
.seg > button, .hz-seg > button { min-height: 44px; }
