/* Hearth+ sheet. Neutral charcoal and gold, the same as Home. No brown fills.
   Targets stay at least 48px. The sheet fits a phone, a fold (closed and open),
   a tablet and a laptop without a sideways scroll. */
.hm-layer {
  position: fixed;
  inset: 0;
  z-index: 9400;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(5, 5, 7, .74);
  box-sizing: border-box;
}
.hm-sheet {
  width: min(560px, 100%);
  max-height: min(100%, 100dvh);
  overflow: auto;
  box-sizing: border-box;
  padding: 22px 18px 28px;
  border-radius: 22px 22px 0 0;
  border: 1px solid #34343a;
  background: linear-gradient(180deg, #19191c, #121214);
  color: #e2cba3;
  font: 16px/1.45 Roboto, "Segoe UI", system-ui, sans-serif;
}
.hm-sheet h2, .hm-sheet h3 { color: #f4e6cc; font-family: Georgia, Gelasio, serif; font-weight: 700; margin: 0 0 8px; }
.hm-sheet h2 { font-size: 24px; line-height: 1.2; }
.hm-sheet h3 { font-size: 18px; }
.hm-sheet p { margin: 0 0 12px; }
.hm-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hm-x, .hm-choice, .hm-link {
  box-sizing: border-box;
  min-height: 48px;
  border-radius: 12px;
  font: 700 16px/1.2 Georgia, Gelasio, serif;
  cursor: pointer;
}
.hm-x {
  flex: none;
  padding: 0 14px;
  border: 1px solid #34343a;
  background: linear-gradient(#26262a, #17171a);
  color: #e2cba3;
}
.hm-pair { display: flex; gap: 10px; margin: 12px 0; }
.hm-pair > .hm-choice, .hm-pair > .hm-link { flex: 1 1 0; width: 0; min-width: 0; }
.hm-choice, .hm-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  border: 1px solid #34343a;
  background: linear-gradient(#26262a, #17171a);
  color: #e2cba3;
}
.hm-pri {
  border-color: #e9c06a;
  background: linear-gradient(#e9c06a, #b4863a);
  color: #141416;
}
.hm-choice:disabled { opacity: .55; cursor: not-allowed; }
.hm-choice:focus-visible, .hm-x:focus-visible, .hm-link:focus-visible, .hm-check input:focus-visible {
  outline: 2px solid #e9bd62;
  outline-offset: 2px;
}
.hm-block { margin: 8px 0; }
.hm-price { color: #f4e6cc; font-weight: 700; }
.hm-meta, .hm-legal { color: #b9ad97; font-size: 14px; }
.hm-ai {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid #e9bd62;
  background: #26262a;
  color: #f4e6cc;
  font: 700 13px/1.3 Roboto, "Segoe UI", system-ui, sans-serif;
}
.hm-product, .hm-slot, .hm-reminder, .hm-auto {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #34343a;
}
.hm-reminder { border: 1px solid #e9bd62; border-radius: 12px; padding: 12px; }
.hm-blockers, .hm-items, .hm-receipts { margin: 0 0 12px; padding-left: 18px; }
.hm-check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; min-height: 48px; }
.hm-check input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.hm-sheet input[type="text"], .hm-sheet textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #34343a;
  background: #121214;
  color: #e2cba3;
  font: 16px/1.4 Roboto, "Segoe UI", system-ui, sans-serif;
}
.hm-safety { margin: 12px 0; }
.hm-h { margin-top: 18px; }
@media (max-width: 339.98px) {
  .hm-pair { flex-direction: column; }
  .hm-pair > .hm-choice, .hm-pair > .hm-link { width: 100%; flex: none; }
  .hm-sheet { padding-left: 14px; padding-right: 14px; }
}
@media (min-width: 700px) {
  .hm-layer { align-items: center; }
  .hm-sheet { border-radius: 22px; max-height: min(860px, calc(100dvh - 32px)); }
}
@media (min-width: 700px) and (orientation: landscape) {
  .hm-sheet { max-height: calc(100dvh - 24px); }
}
