@font-face {
  font-family: Jakarta;
  src: url("/fonts/PlusJakartaSans-wght.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  font-family: Jakarta, system-ui, sans-serif;
  color: var(--ink);
  background: #f9f5ec;
  font-synthesis: none;
  --ink: #202f26;
  --petrol: #174a3a;
  --action: #255d47;
  --muted: #516155;
  --line: #d9e0d4;
  --field: #748271;
  --paper: #fffdf8;
  --leaf: #e9f0e6;
  --gift: #983a46;
  --soft: #f8e9e7;
  --gold-wash: #f9ecd3;
  --gold-line: #e6d3aa;
  --gold-ink: #76501d;
  accent-color: var(--action);
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
  font-size: 15px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
button {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 17px;
  background: var(--petrol);
  color: white;
  font-weight: 650;
  line-height: 1.4;
}
button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 3px;
}
.secondary {
  background: var(--paper);
  color: var(--petrol);
  border-color: var(--field);
}
.quiet {
  background: var(--leaf);
  color: var(--petrol);
  padding: 8px 12px;
}
.text-button {
  background: transparent;
  color: var(--action);
  padding: 8px 0;
  text-align: left;
}
.danger {
  color: #a52e25;
}
.danger-zone {
  border: 1px solid #e9c6c2;
  padding: 22px;
  border-radius: 16px;
  margin-top: 24px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1120px;
  margin: auto;
  padding: 24px 32px;
  gap: 10px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.brand img {
  border-radius: 13px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 750;
  color: var(--muted);
  display: block;
}
.brand h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.8px;
}
.dot {
  color: var(--gift);
}
.personal {
  font-size: 11px;
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 20px;
  color: var(--muted);
}
.connection {
  border-block: 1px solid var(--line);
  text-align: center;
  background: white;
  padding: 7px 16px;
  font-size: 11px;
  color: var(--muted);
}
main {
  max-width: 1080px;
  margin: auto;
  padding: 28px 32px 32px;
}
h2 {
  font-size: 32px;
  letter-spacing: -1.2px;
  line-height: 1.25;
  margin: 8px 0 12px;
  font-weight: 700;
}
h3 {
  font-size: 18px;
  letter-spacing: -0.4px;
  line-height: 1.4;
  margin: 0 0 8px;
}
p {
  margin: 8px 0;
  color: var(--muted);
}
.page-heading {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.page-heading p {
  max-width: 590px;
}
.page-heading > button {
  flex-shrink: 0;
}
.christmas-heading {
  margin-bottom: 4px;
}
.christmas-heading h2 {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--petrol);
  letter-spacing: -0.05em;
  font-size: clamp(23px, 6.5vw, 32px);
  font-weight: 800;
}
.christmas-title,
.christmas-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.christmas-title button {
  min-width: 44px;
  min-height: 44px;
  padding: 4px;
  font-size: 13px;
}
.christmas-title {
  flex-wrap: nowrap;
  gap: 4px;
  padding-inline: 9px 5px;
  border-radius: 11px;
  background: linear-gradient(105deg, #f3e3bf, #fff4df 60%, #f5e9d0);
  box-shadow: inset 0 0 0 1px var(--gold-line);
}
.christmas-title::after,
.guest-wish header::after {
  content: "";
  flex: 0 0 clamp(37px, 10vw, 50px);
  height: 42px;
  margin-inline-start: auto;
  order: 1;
  background: url("/christmas-vignette.png") center / contain no-repeat;
  pointer-events: none;
}
.christmas-title button {
  order: 2;
  flex-shrink: 0;
  color: var(--gold-ink);
}
.christmas-context {
  margin-bottom: 6px;
}
.christmas-views {
  display: flex;
  gap: 4px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.christmas-views button {
  min-height: 44px;
  padding: 4px 12px;
  background: transparent;
  color: var(--petrol);
  font-size: 13px;
}
.christmas-views button[aria-pressed="true"] {
  background: var(--petrol);
  color: white;
}
.christmas-actions,
.more-links,
.recipient-choices {
  display: grid;
  gap: 8px;
}
.christmas-actions {
  grid-template-columns: 1fr 1fr;
}
.christmas-actions button {
  min-height: 44px;
  padding: 6px 10px;
}
.christmas-actions [data-action="addPresent"] {
  background: var(--gift);
  color: white;
  border-color: var(--gift);
}
.christmas-actions [data-action="christmasPerson"] {
  background: var(--leaf);
  color: var(--petrol);
  border-color: var(--field);
}
#christmas-content:has(.christmas-empty) .christmas-actions:not(.shopping-actions) [data-action="christmasPerson"] {
  background: var(--petrol);
  color: white;
  border-color: var(--petrol);
}
#christmas-content:has(.christmas-empty) .christmas-actions:not(.shopping-actions) [data-action="addPresent"] {
  background: var(--paper);
  color: var(--gift);
}
.christmas-actions.has-planner-wishes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.christmas-actions.has-planner-wishes button {
  padding-inline: 4px;
}
@media (max-width: 360px) {
  .christmas-actions.has-planner-wishes button {
    font-size: 13px;
  }
}
.planner-wish-tabs,
.planner-wish-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.planner-wish-tabs button[aria-pressed="true"] {
  background: var(--petrol);
  color: white;
}
.planner-wishes {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.planner-wish-row {
  display: grid;
  gap: 4px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.planner-wish-row a {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  color: var(--action);
}
.planner-wish-controls button,
.planner-wish-tabs button {
  min-height: 44px;
}
.christmas-context .scope-buttons {
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  background: var(--leaf);
  border-radius: 12px;
}
.christmas-context .scope-buttons button {
  min-height: 44px;
  padding: 4px 10px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.christmas-progress {
  padding: 6px 0 8px;
  font-size: 13px;
  line-height: 1.45;
}
.christmas-progress strong {
  color: var(--petrol);
  font-size: 15px;
}
.christmas-progress p {
  font-size: 12px;
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}
.christmas-figures {
  display: flex;
  flex-wrap: wrap;
  gap: 1px 12px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--muted);
}
.christmas-filters {
  margin-bottom: 8px;
}
.christmas-filters label,
.shopping-actions label {
  margin: 0;
}
.christmas-filters input,
.shopping-actions select {
  min-height: 44px;
  padding-block: 4px;
}
.shopping-actions select {
  font-size: 13px;
  padding-inline: 8px;
}
.christmas-actions.shopping-actions {
  align-items: center;
  grid-template-columns: auto minmax(84px, 1fr) auto;
  gap: 6px;
  margin-bottom: 6px;
}
.shopping-actions button {
  font-size: 13px;
  padding-inline: 9px;
}
.shopping-progress {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  text-align: right;
}
.shopping-progress strong {
  color: var(--petrol);
}
@media (max-width: 360px) {
  .shopping-progress {
    display: grid;
  }
  .shopping-progress [aria-hidden="true"] {
    display: none;
  }
}
.shopping-context {
  gap: 4px;
}
.shopping-context .scope-buttons button,
.shopping-context .christmas-views button {
  padding-inline: 7px;
  font-size: 12px;
}
.christmas-home:has(.shopping-list) header {
  padding-block: calc(10px + env(safe-area-inset-top)) 8px;
}
.christmas-home:has(.shopping-list) main {
  padding-top: 8px;
}
.christmas-home:has(.shopping-list) .christmas-heading h2 {
  font-size: clamp(23px, 6vw, 30px);
}
.christmas-home .christmas-empty {
  padding: 14px;
  background: var(--paper);
  border-color: #bca574;
  box-shadow: inset 3px 0 var(--gold-line);
}
.christmas-empty h3,
.christmas-empty p {
  margin: 0;
}
.christmas-empty h3 {
  color: var(--petrol);
}
.more-links {
  max-width: 520px;
}
.more-links button,
.recipient-choice {
  text-align: left;
}
.recipient-choice {
  overflow-wrap: anywhere;
}
.recipient-choice span,
.present-audience span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.present-audience {
  padding: 10px 12px;
  margin: 0 0 14px;
  border-radius: 10px;
  background: var(--leaf);
  color: var(--petrol);
  overflow-wrap: anywhere;
  box-shadow: inset 3px 0 #b7c9b5;
}
.surprise-audience {
  background: var(--gold-wash);
  color: var(--gold-ink);
  box-shadow: inset 3px 0 var(--gold-line);
}
.surprise-audience span {
  color: inherit;
}
@media (min-width: 650px) {
  .christmas-actions {
    grid-template-columns: auto auto 1fr;
  }
  .christmas-actions.shopping-actions {
    grid-template-columns: auto 128px 1fr;
  }
  .christmas-actions button {
    padding-inline: 18px;
  }
  .christmas-actions.has-planner-wishes {
    grid-template-columns: repeat(3, auto) 1fr;
  }
  .christmas-actions.has-planner-wishes button {
    padding-inline: 18px;
  }
  .christmas-filters {
    max-width: 510px;
  }
}
@media (max-width: 720px) {
  .christmas-home header {
    padding-block: calc(6px + env(safe-area-inset-top)) 6px;
    padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right));
  }
  .christmas-home .brand {
    gap: 7px;
    flex-shrink: 0;
  }
  .christmas-home .brand h1 {
    font-size: 19px;
    white-space: nowrap;
  }
  .christmas-home .brand img {
    width: 34px;
    height: 34px;
  }
  .christmas-home #account {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }
  .christmas-home #account button {
    min-height: 44px;
    padding-inline: 8px;
    white-space: nowrap;
  }
  .christmas-home main {
    padding-top: 4px;
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  }
  .christmas-home:has(.shopping-list) header {
    padding-block: calc(2px + env(safe-area-inset-top)) 2px;
  }
  .christmas-home:has(.shopping-list) main {
    padding-top: 3px;
  }
}
.occasion-bar {
  display: flex;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}
.grow {
  flex: 1;
  min-width: 0;
}
label {
  display: flex;
  flex-direction: column;
  font-weight: 650;
  font-size: 12px;
  gap: 6px;
  margin-bottom: 14px;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--field);
  border-radius: 10px;
  padding: 11px 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 450;
}
select {
  padding-right: 26px;
}
textarea {
  resize: vertical;
}
.occasion-bar label {
  margin: 0;
}
.occasion-picker {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--field);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 450;
}
.occasion-picker::after {
  content: '▾';
}
.occasion-picker:focus-within {
  outline: 2px solid var(--petrol);
  outline-offset: 3px;
}
.occasion-selection {
  overflow-wrap: anywhere;
}
.occasion-picker select {
  position: absolute;
  inset: 0;
  z-index: 1;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.gift-shortcut {
  margin-bottom: 16px;
}
.occasion-bar > button {
  margin-bottom: 1px;
}
.summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  background: #eaf1f3;
  border: 1px solid #d4e2e5;
  border-radius: 22px;
  padding: 26px;
}
.summary h3 {
  font-size: 26px;
  margin-top: 6px;
  letter-spacing: -0.8px;
}
.summary p {
  font-size: 13px;
}
.money-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.money-grid span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.money-grid strong {
  font-size: 20px;
  letter-spacing: -0.5px;
}
.summary > .fine {
  grid-column: 1/-1;
  margin: 0;
}
progress {
  width: 100%;
  height: 8px;
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: #cedee1;
}
progress::-webkit-progress-bar {
  background: #cedee1;
  border-radius: 10px;
}
progress::-webkit-progress-value {
  background: var(--action);
  border-radius: 10px;
}
.backup-nudge {
  font-size: 12px;
  margin: 14px 0;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.backup-nudge button {
  font-size: 12px;
  min-height: 40px;
  padding: 2px 0;
}
.quick {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin: 20px 0;
}
.quick h3 {
  color: var(--gift);
}
#quick-form {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr auto;
  gap: 12px;
  align-items: end;
}
#quick-form label {
  margin: 0;
}
#quick-form button {
  min-height: 48px;
}
.fine {
  font-size: 12px;
  line-height: 1.6;
}
.filters {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 26px 0 18px;
}
.filters label {
  margin: 0;
}
.filters button {
  height: 48px;
}
.recipient {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 18px;
  overflow: hidden;
}
.recipient-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
}
.recipient-top h3 {
  margin: 0;
  font-size: 18px;
}
.recipient-top p {
  font-size: 11px;
  margin: 2px 0 0;
}
.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--soft);
  color: #8d3041;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-weight: 700;
  font-size: 17px;
}
.gift-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 14px 20px;
}
.gift-main {
  min-width: 0;
  flex: 1;
}
.gift-title {
  display: block;
  text-align: left;
  background: transparent;
  color: var(--ink);
  padding: 3px 0;
  min-height: 40px;
  font-weight: 650;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.gift-main p {
  font-size: 12px;
  margin: 0;
  overflow-wrap: anywhere;
}
.status-label {
  margin: 0;
  flex: 0 0 126px;
}
.status-label select {
  font-size: 12px;
  min-height: 44px;
  border-color: var(--field);
  font-weight: 600;
  border-radius: 30px;
}
.status-given {
  background: #eaf7f2;
  color: #1e6f5c;
}
.status-bought,
.status-arrived,
.status-wrapped {
  background: var(--leaf);
}
.status-to-buy {
  background: var(--gold-wash);
  color: var(--gold-ink);
}
.add-gift {
  margin: 6px 20px 12px;
}
.empty-small {
  font-size: 13px;
  padding: 8px 20px;
}
.preferences {
  padding: 0 20px 14px;
  font-size: 13px;
}
.preferences summary {
  font-size: 12px;
  color: var(--action);
  min-height: 40px;
  padding: 8px 0;
}
.christmas-home .recipient {
  position: relative;
  margin-bottom: 8px;
  border-radius: 12px;
}
.christmas-home .recipient:has(.recipient-toggle[aria-expanded="true"]) {
  border-color: #a6bba8;
}
.christmas-home .recipient:has(.recipient-toggle[aria-expanded="true"]) .recipient-top {
  background: var(--leaf);
}
.christmas-home .recipient-top {
  min-height: 48px;
  padding: 2px 68px 2px 10px;
  gap: 6px;
}
.recipient-add {
  min-height: 44px;
  padding: 4px 3px;
  font-size: 13px;
  white-space: nowrap;
}
.christmas-home .recipient-top h3 {
  font-size: 16px;
  overflow-wrap: anywhere;
}
.recipient-toggle {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  width: 100%;
  padding: 2px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  text-align: left;
}
.recipient-toggle:hover {
  background: var(--soft);
}
.recipient-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: var(--action);
  transform: rotate(-45deg);
}
.recipient-toggle[aria-expanded="true"] .recipient-chevron {
  transform: rotate(45deg);
}
.recipient-name,
.recipient-summary {
  display: block;
}
.recipient-summary {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--muted);
}
.christmas-home .linked-recipient .recipient-top { padding-inline-end: 10px; }
.linked-recipient .recipient-tool-buttons { padding-block-start: 4px; }
.linked-items { list-style: none; margin: 0 10px 8px; padding: 0; }
.linked-items li { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 10px; padding-block: 3px; overflow-wrap: anywhere; }
.linked-items li + li { border-top: 1px solid var(--line); }
.linked-items span, .linked-empty { color: var(--muted); font-size: 13px; }
.linked-empty, .linked-surprises h4 { margin: 4px 10px; }
.linked-surprises { margin: 4px 10px 8px; padding: 4px 0; border-radius: 8px; background: var(--gold-wash); }
.linked-surprises h4 { color: var(--gold-ink); font-size: 13px; }
.linked-items button { min-width: 44px; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; }
.recipient-buying {
  margin: 0;
  padding: 0 12px 6px;
  color: var(--muted);
  font-size: 0.8125rem;
  overflow-wrap: anywhere;
}
.recipient-sharing {
  padding-bottom: 0;
}
.christmas-home .gift-row {
  position: relative;
  display: block;
  padding: 4px 10px;
}
.shopping-list {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.shopping-list:has(.christmas-empty) {
  background: transparent;
  border: 0;
}
.shopping-list .gift-row:first-child {
  border-top: 0;
}
.shopping-list .gift-row {
  padding: 2px 8px;
}
.shopping-list .gift-row:nth-of-type(even) {
  background: #f8f8ef;
}
.shopping-list .gift-title {
  width: 100%;
  padding-block: 2px;
  line-height: 1.28;
}
.shopping-wish-title {
  display: grid;
  align-content: center;
}
.shopping-wish-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--action);
  font-size: 13px;
}
.shopping-list .present-tools > summary {
  top: 2px;
}
.shopping-primary {
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 8px;
  font-size: 12px;
}
.wish-link-panel {
  margin-block: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--leaf);
}
.wish-link-panel label { margin-bottom: 6px; }
.wish-picks { margin-block: 12px; }
.wish-picks fieldset {
  min-width: 0;
  margin: 8px 0;
  padding: 2px 10px 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.wish-picks legend { max-width: 100%; overflow-wrap: anywhere; color: var(--petrol); font-weight: 700; }
.wish-picks label { min-height: 44px; margin: 0; }
.wish-picks fieldset:has([data-wish-pick]:not(:checked)) .wish-option { display: none; }
.wish-picks fieldset:has([data-wish-pick]:checked) { border-color: var(--field); background: var(--leaf); }
.wish-intention { margin: 0 0 4px; }
.wish-allocated { font-size: 0.875rem; overflow-wrap: anywhere; }
.wish-allocated summary { min-height: 44px; align-content: center; }
.wish-allocated ul { margin: 0; padding-inline-start: 20px; }
.guest-wish { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.guest-wish header, .guest-wish main {
  max-width: 620px;
  padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
}
.guest-wish header { padding-top: max(10px, env(safe-area-inset-top)); }
.guest-wish header::after { height: 36px; }
.guest-wish .brand-name { margin: 0; color: var(--petrol); font-weight: 750; }
.wish-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding-inline: 9px 5px;
  border-radius: 11px;
  background: var(--gold-wash);
  box-shadow: inset 0 0 0 1px var(--gold-line);
}
.wish-heading h1 { margin: 0; min-width: 0; overflow-wrap: anywhere; font-size: clamp(22px, 6vw, 28px); line-height: 1.2; color: var(--petrol); }
.wish-heading button { flex-shrink: 0; }
#wish-state:empty { display: none; }
.wish-items { margin: 8px 0; padding: 0; list-style: none; }
.wish-items li, #wish-claim {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
#wish-claim { border-color: var(--gold-line); box-shadow: inset 3px 0 var(--gold-line); }
.wish-items li { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin-block: 4px; }
.wish-items li > div { min-width: 0; }
.wish-items h2, #wish-claim h2 { margin: 0; font-size: 16px; letter-spacing: 0; overflow-wrap: anywhere; }
.wish-items p { margin: 0; font-size: 13px; }
.wish-items a { display: inline-flex; align-items: center; min-height: 44px; color: var(--action); font-size: 13px; }
.wish-items button { flex-shrink: 0; }
.wish-taken { color: var(--muted); font-weight: 650; }
#wish-claim h2 { margin-bottom: 8px; }
#wish-claim .dialog-actions { flex-wrap: wrap; }
.christmas-home .gift-row-main {
  padding-right: 48px;
}
.gift-row-main {
  display: flex;
  align-items: center;
  gap: 6px;
}
.christmas-home .gift-title {
  min-height: 44px;
  scroll-margin-bottom: calc(76px + env(safe-area-inset-bottom));
}
.gift-facts {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.christmas-home .status-label {
  flex: 0 0 clamp(88px, 24vw, 116px);
}
.christmas-home .status-label select {
  padding: 4px 4px 4px 8px;
  font-size: 13px;
}
.recipient-tools > summary,
.present-tools > summary {
  position: absolute;
  right: 6px;
  top: 2px;
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 6px;
  color: var(--action);
  font-size: 13px;
  font-weight: 650;
  border-radius: 8px;
  list-style: none;
}
.recipient-tools > summary::-webkit-details-marker,
.present-tools > summary::-webkit-details-marker {
  display: none;
}
.present-tools > summary {
  top: 4px;
  right: 4px;
  font-size: 20px;
}
.recipient-tools[open] > summary,
.present-tools[open] > summary {
  background: var(--leaf);
}
.recipient-tool-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 0 10px 4px;
}
.recipient-tool-buttons button,
.present-tool-buttons button {
  min-height: 44px;
  padding-block: 4px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.present-tool-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  padding: 4px 0 0;
}
.present-tool-buttons button {
  min-width: 44px;
  padding-inline: clamp(6px, 2vw, 12px);
  line-height: 1.2;
}
.christmas-home .preferences {
  padding: 0 10px 4px;
}
.christmas-home .preferences summary {
  min-height: 44px;
}
.christmas-home .empty-small {
  margin: 0;
  padding: 6px 10px;
}
dl {
  margin: 10px 0;
}
dl > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
  margin: 7px 0;
}
dt {
  font-size: 12px;
  color: var(--muted);
}
dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.history-list li {
  padding: 14px 0;
  border-top: 1px solid #edf1f2;
  overflow-wrap: anywhere;
}
.history-list span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.recipient > .history-list,
.recipient > h3 {
  margin: 20px;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.person-card {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  min-width: 0;
}
.person-card h3 {
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.empty {
  background: white;
  border: 1px dashed #9cafb4;
  border-radius: 20px;
  padding: 36px 22px;
  text-align: center;
}
.empty h3 {
  font-size: 22px;
}
.next-year {
  margin: 26px 0;
}
.backup-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  margin: 18px 0;
  max-width: 740px;
}
.backup-card p {
  font-size: 14px;
  margin: 12px 0 18px;
}
.backup-card form {
  max-width: 480px;
}
.backup-card summary {
  font-weight: 700;
  min-height: 44px;
  padding: 8px 0;
}
.backup-card #download-area button {
  margin: 8px 12px 8px 0;
}
nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 16px;
  background: #fffffff5;
  border-top: 1px solid var(--line);
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  z-index: 5;
  backdrop-filter: blur(10px);
}
nav button {
  background: transparent;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-size: 20px;
  width: 120px;
  padding: 4px 10px;
  min-height: 56px;
}
nav span {
  font-size: 11px;
}
nav [aria-current="page"] {
  color: var(--petrol);
  background: var(--leaf);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#error,
#notice,
#update {
  max-width: 1016px;
  margin: 12px auto 0;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
}
#notice:empty {
  display: none;
}
#error {
  background: #fff1f0;
  color: #a52e25;
  border: 1px solid #b65349;
}
#notice {
  background: #eaf7f2;
  color: #1e6f5c;
}
#update {
  background: #fff4e5;
  color: #704400;
}
#update button {
  margin-left: 12px;
}
.undo {
  background: #eaf7f2;
  padding: 8px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.undo button {
  background: transparent;
  color: #1e6f5c;
  text-decoration: underline;
}
dialog {
  max-width: 540px;
  width: calc(100% - 32px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 18px 55px #202f262e;
  max-height: 88dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #202f2666;
  backdrop-filter: blur(2px);
}
.dialog-head {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 16px;
}
.dialog-head h2 {
  font-size: 24px;
  margin: 0;
  color: var(--petrol);
}
.close {
  background: var(--leaf);
  color: var(--petrol);
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  font-size: 26px;
  flex-shrink: 0;
}
.dialog-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 22px;
  position: sticky;
  bottom: -24px;
  background: var(--paper);
  padding: 14px 0 8px;
}
.dialog-actions button {
  min-width: 90px;
}
.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin: 16px 0;
}
.check input {
  width: 24px;
  min-height: 24px;
  height: 24px;
  flex-shrink: 0;
}
dialog details {
  margin: 12px 0;
}
dialog summary {
  min-height: 44px;
  padding: 9px 0;
  color: var(--action);
  font-weight: 650;
  font-size: 13px;
}
#dialog-error {
  color: #a52e25;
}
.loading {
  text-align: center;
  padding: 40px;
}
.recipient h3,
.summary h3 {
  overflow-wrap: anywhere;
}
@media (max-width: 720px) {
  header {
    padding: 18px 18px;
  }
  .brand h1 {
    font-size: 22px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .personal {
    font-size: 9px;
    padding: 4px 7px;
  }
  .eyebrow {
    font-size: 9px;
  }
  main {
    padding: 24px 16px;
  }
  h2 {
    font-size: 27px;
  }
  .page-heading {
    display: block;
    margin-bottom: 22px;
  }
  .page-heading > button {
    margin-top: 8px;
  }
  .page-heading p {
    font-size: 14px;
  }
  .summary {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 18px;
  }
  .summary h3 {
    font-size: 24px;
  }
  .money-grid {
    border-top: 1px solid #cadbdf;
    padding-top: 14px;
    gap: 12px;
  }
  .money-grid strong {
    font-size: 20px;
  }
  .quick {
    padding: 18px;
  }
  #quick-form {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  #quick-form label:nth-child(2) {
    grid-column: 1/-1;
    grid-row: 2;
  }
  #quick-form label:first-child {
    grid-column: 1/-1;
  }
  #quick-form button {
    align-self: end;
  }
  .filters {
    flex-wrap: wrap;
    gap: 10px;
  }
  .filters label:first-child {
    flex-basis: 100%;
  }
  .filters label:nth-child(2) {
    flex: 1;
  }
  .recipient-top {
    padding: 17px 15px 14px;
    gap: 9px;
  }
  .recipient-top .quiet {
    font-size: 11px;
    padding: 8px 10px;
  }
  .recipient-top p {
    font-size: 10px;
  }
  .gift-row {
    padding: 12px 15px;
    gap: 10px;
  }
  .gift-title {
    font-size: 14px;
  }
  .status-label {
    flex-basis: 108px;
  }
  .status-label select {
    font-size: 11px;
    padding-left: 10px;
    padding-right: 20px;
  }
  .preferences {
    padding-inline: 15px;
  }
  .add-gift {
    margin-inline: 15px;
    font-size: 13px;
    max-width: calc(100% - 30px);
    overflow-wrap: anywhere;
  }
  .people-grid {
    grid-template-columns: 1fr;
  }
  .backup-card {
    padding: 20px;
  }
  .backup-card h3 {
    font-size: 18px;
  }
  nav {
    gap: 5px;
    padding-inline: 8px;
  }
  nav button {
    width: 23%;
    padding-inline: 6px;
  }
  #error,
  #notice,
  #update {
    margin-inline: 16px;
  }
  dialog {
    padding: 20px;
    width: calc(100% - 20px);
    border-radius: 20px;
  }
  .two-fields {
    gap: 10px;
  }
  .two-fields label {
    font-size: 11px;
  }
  dialog .dialog-actions {
    bottom: -20px;
  }
  input,
  textarea,
  select {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
.has-plans .page-heading p,
.has-plans .page-heading .eyebrow {
  display: none;
}
.has-plans .page-heading h2 {
  font-size: 24px;
}
.has-plans .page-heading {
  margin-bottom: 18px;
}
.has-plans .page-heading > button {
  margin-top: 0;
}
[hidden] {
  display: none !important;
}
#workspace {
  max-width: 1016px;
  margin: 18px auto 0;
  padding: 16px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
}
#workspace p {
  font-size: 12px;
  margin: 8px 0 0;
}
.scope-buttons {
  display: flex;
  gap: 10px;
}
.scope-buttons button {
  background: var(--leaf);
  color: var(--petrol);
}
.scope-buttons [aria-pressed="true"] {
  background: var(--petrol);
  color: white;
}
.signin {
  max-width: 480px;
  margin: 30px auto;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.signin form {
  margin-top: 24px;
}
.privacy-shield main,
.privacy-shield dialog,
.privacy-shield #workspace {
  visibility: hidden;
}
.audience-note {
  font-size: 12px;
  padding: 12px;
  background: #eaf1f3;
  border-radius: 10px;
}
.reservation {
  font-size: 10px;
  margin: 5px 0;
  line-height: 1.4;
  color: var(--muted);
}
#pending, #recovery {
  padding: 12px;
  background: #fff4e5;
  max-width: 1016px;
  margin: 12px auto;
  border-radius: 12px;
}
#account button {
  font-size: 12px;
}
@media (max-width: 720px) {
  #workspace {
    margin: 16px;
  }
  .signin {
    margin: 12px 0;
    padding: 20px;
  }
}
.status-stack{flex:0 0 126px;display:flex;flex-direction:column;align-items:stretch;min-width:0}.status-stack button{min-height:44px;font-size:12px}.status-stack select{width:100%}.status-stack .reservation{margin:5px 2px;font-size:10px}@media(max-width:720px){.status-stack{flex-basis:108px}}
.signed-name{display:block;max-width:100px;font-size:11px;color:var(--muted);overflow-wrap:anywhere;text-align:right}
