body {
  --accent: #a42c3e;
  --ink: #382e2a;
  --muted: #80716a;
  --line: #e9dfd6;
  --paper: #fffcf7;
  color: var(--ink);
}
.app-header {
  max-width: 1180px;
  margin: auto;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.app-header nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.app-header nav a {
  padding: 9px 0;
}
.app-header nav a[aria-current="page"] {
  border-bottom: 2px solid var(--accent);
}
.local-banner {
  background: #f2e9de;
  border-block: 1px solid var(--line);
  padding: 16px max(30px, calc((100% - 1120px) / 2));
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.local-banner strong {
  font-size: 13px;
  color: #7b3a35;
}
.local-banner label {
  margin-left: auto;
  font-size: 13px;
}
.local-banner select {
  width: 170px;
  padding: 10px;
  border-radius: 9px;
  background: white;
  border: 1px solid #d4c0af;
}
.local-banner p {
  width: 100%;
  font-size: 12px;
  color: #776554;
}
.app-main {
  max-width: 1180px;
  margin: auto;
  padding: 35px 30px 70px;
  min-height: 65vh;
}
.intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 30px;
}
.intro img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 20px;
}
.intro h1,
.page-heading h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 15px;
}
.intro p {
  color: var(--muted);
  max-width: 540px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 10px 0 25px;
  flex-wrap: wrap;
}
.page-heading h1 {
  margin: 0;
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.stack {
  display: grid;
  gap: 24px;
}
.panel {
  padding: 28px;
  border-radius: 18px;
  box-shadow: none;
  min-width: 0;
}
.panel h2,
.panel h3 {
  margin-bottom: 18px;
}
.panel h2 {
  font-size: 26px;
  letter-spacing: -0.5px;
}
.panel p {
  margin: 10px 0;
}
.panel label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
}
.field {
  margin-bottom: 17px;
}
.field input,
.field select {
  width: 100%;
  border: 1px solid #dccfc4;
  padding: 12px 13px;
  border-radius: 10px;
  background: white;
  min-width: 0;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.row .btn {
  flex-shrink: 0;
}
.check-line {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 15px 0 !important;
  font-weight: 400 !important;
  line-height: 1.5;
}
.check-line input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}
.btn:disabled,
button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}
.btn.small {
  font-size: 12px;
  padding: 10px 16px;
}
.note,
.empty {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.empty {
  border: 1px dashed #d9cabd;
  padding: 20px;
  border-radius: 12px;
}
.records {
  list-style: none;
  padding: 0;
  margin: 0;
}
.record {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.record:last-child {
  border-bottom: 0;
}
.record strong {
  display: block;
  overflow-wrap: anywhere;
}
.record small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.6;
}
.record .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.back {
  color: var(--accent);
  font-size: 13px;
  display: inline-block;
  margin-bottom: 20px;
}
.error {
  border-left: 3px solid #a42c3e;
  padding: 12px;
  color: #8c2334;
  background: #fceeee;
  margin: 15px 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.success {
  padding: 14px;
  background: #edf2e8;
  border-radius: 10px;
  margin: 12px 0;
  color: #426440;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.link-output {
  display: grid;
  gap: 9px;
  margin: 15px 0;
  padding: 15px;
  background: #f5eee6;
  border-radius: 12px;
}
.link-output input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d3c4b5;
  border-radius: 8px;
  background: white;
  font-size: 12px;
}
.badge {
  display: inline-block;
  border-radius: 50px;
  padding: 5px 10px;
  background: #f0e7dc;
  font-size: 12px;
}
.event {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 24px;
}
.event h3 {
  font-size: 22px;
}
.result {
  background: #edf2e8;
  padding: 20px;
  border-radius: 12px;
  margin: 15px 0;
}
.result strong {
  display: block;
  font-size: 25px;
  margin-top: 10px;
}
.profile-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.select-person {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  min-width: 130px;
  color: var(--ink);
}
.select-person:hover {
  border-color: var(--accent);
}
.record a {
  overflow-wrap: anywhere;
}
.limit {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 24px;
}
#footer {
  text-align: center;
  border-top: 1px solid var(--line);
  padding: 25px;
  color: var(--muted);
  font-size: 12px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #bca16d;
  outline-offset: 3px;
}
@media (max-width: 720px) {
  .app-header {
    padding: 18px;
    gap: 15px;
  }
  .app-header .brand {
    font-size: 23px;
  }
  .app-header nav {
    order: 3;
    width: 100%;
    margin: 0;
  }
  .app-header .lang {
    margin-left: auto;
  }
  .local-banner {
    padding: 15px 18px;
    gap: 10px;
  }
  .local-banner label {
    margin-left: 0;
  }
  .local-banner select {
    flex: 1;
    min-width: 130px;
  }
  .app-main {
    padding: 25px 18px 50px;
  }
  .columns,
  .intro {
    grid-template-columns: 1fr;
  }
  .intro img {
    height: auto;
    aspect-ratio: 3/2;
    order: -1;
  }
  .panel {
    padding: 20px;
  }
  .record {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .record .actions {
    width: 100%;
  }
  .row {
    align-items: stretch;
  }
  .row .btn {
    white-space: normal;
  }
  .page-heading h1 {
    font-size: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Context-preserving list and draw workspace. */
.app-header {
  padding-block: 22px;
}
.local-banner {
  padding-block: 9px;
  gap: 10px;
}
.local-banner strong {
  font-size: 11px;
  letter-spacing: 0.2px;
}
.local-banner select {
  padding: 7px 10px;
  font-size: 12px;
}
.local-banner label {
  font-size: 12px;
}
.local-banner p {
  display: none;
}
.app-main {
  padding-top: 28px;
}
.workspace-welcome {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
  margin-bottom: 35px;
}
.workspace-welcome h1 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(35px, 4vw, 53px);
  letter-spacing: -1.4px;
  line-height: 1.12;
  margin: 14px 0;
}
.workspace-welcome p {
  font-size: 14px;
  color: var(--muted);
  max-width: 420px;
}
.workspace-welcome img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: 20px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #9b6a56;
  font-weight: 700;
}
.page-heading h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 31px;
  letter-spacing: -0.7px;
}
.page-intro {
  margin: -8px 0 30px;
  color: var(--muted);
  max-width: 650px;
}
.heading-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.list-heading {
  align-items: end;
  margin-bottom: 35px;
}
.list-heading h1 {
  margin: 10px 0;
}
.list-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 20px;
}
.list-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 25px;
  color: var(--ink);
  min-height: 225px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.list-card:hover {
  box-shadow: 0 12px 24px #5c34290a;
  transform: translateY(-2px);
}
.list-card-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f7ebe5;
  color: var(--accent);
  font-size: 26px;
  margin-bottom: 20px;
}
.list-card small {
  font-size: 11px;
  color: var(--muted);
}
.list-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 25px;
  line-height: 1.2;
  margin: 8px 0 25px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.list-card-open {
  margin-top: auto;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.empty-list {
  border-style: dashed;
  justify-content: center;
  background: #fcf7f0;
}
.empty-list > span {
  font-size: 35px;
  color: #b7865e;
}
.empty-list p {
  font-size: 13px;
  color: var(--muted);
}
.workspace-extras {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: start;
  margin-top: 30px;
  flex-wrap: wrap;
}
.workspace-extras details {
  min-width: 250px;
  max-width: 100%;
}
summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #745b4c;
  padding: 12px 0;
  line-height: 1.5;
}
details[open] > summary {
  margin-bottom: 10px;
}
.quiet {
  padding: 8px 0;
  background: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}
.quiet:hover {
  text-decoration: underline;
}
.gift-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 25px;
  border: 1px dashed #decec0;
  border-radius: 20px;
  background: #faf4ed;
}
.gift-empty > span {
  font-size: 48px;
  color: #b38660;
}
.gift-empty h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 15px 0;
}
.gift-empty p {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 24px;
}
.wish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.wish-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 17px;
  overflow: hidden;
  min-width: 0;
}
.wish-art {
  background: #f6f0e8;
  display: grid;
  place-items: center;
  height: 195px;
  font-size: 58px;
  overflow: hidden;
}
.wish-art img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  padding: 15px;
}
.wish-content {
  padding: 22px;
}
.wish-content > small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  line-height: 1.6;
}
.wish-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  margin: 8px 0 15px;
  overflow-wrap: anywhere;
}
.wish-price {
  font-weight: 700;
  margin: 10px 0;
}
.wish-price small {
  font-weight: 400;
  font-size: 10px;
  color: var(--muted);
  margin-left: 7px;
}
.wish-note {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wish-actions {
  margin-top: 17px;
}
.wish-actions .row {
  margin-bottom: 0;
}
.wish-actions input[type="number"] {
  width: 70px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.shared-note {
  margin-bottom: 25px;
}
.member-strip {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 30px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.member-strip > small {
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
}
.member-avatars {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.member-chip {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
}
.member-chip b {
  border-radius: 50%;
  width: 35px;
  height: 35px;
  background: #e6ebdf;
  display: grid;
  place-items: center;
  color: #67715d;
  font-size: 13px;
}
.member-chip:nth-child(3n + 1) b {
  background: #f3e2d9;
  color: #98674b;
}
.member-chip:nth-child(3n) b {
  background: #e5e3ed;
  color: #7d6c94;
}
.draw-progress {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 11px;
  color: #8e7868;
  margin: 28px 0 5px;
  flex-wrap: wrap;
}
.draw-progress i {
  font-style: normal;
  color: #c4ae9a;
}
.event-cards {
  display: grid;
  gap: 18px;
}
.event-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  gap: 22px;
  align-items: center;
}
.event-symbol {
  font-size: 35px;
  color: #b0875d;
  align-self: start;
  margin-top: 7px;
}
.event-copy {
  flex: 1;
  min-width: 0;
}
.event-copy h3 {
  font-family: "Playfair Display", serif;
  font-size: 27px;
  font-weight: 500;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.event-copy .badge {
  font-size: 10px;
}
.event-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: end;
}
.join-card {
  max-width: 550px;
  margin: 30px auto;
}
.join-card > h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
}
.join-card .note {
  margin-block: 20px;
}
.publish-symbol {
  text-align: center;
  font-size: 55px;
  color: #b68c5b;
  margin: 15px 0 25px;
}
.context-panel {
  border: 1px solid #e4d6c9;
  border-radius: 22px;
  width: min(580px, calc(100vw - 30px));
  max-width: calc(100vw - 30px);
  max-height: 90dvh;
  padding: 0;
  background: var(--paper, #fffcf7);
  color: #382e2a;
  box-shadow: 0 25px 100px #40221830;
  overflow: hidden;
}
.context-panel[open] {
  display: flex;
  flex-direction: column;
}
.context-panel::backdrop {
  background: #35231d66;
  backdrop-filter: blur(3px);
}
.context-panel.wide {
  width: min(960px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  border-radius: 22px 0 0 22px;
}
.context-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 28px 20px;
  border-bottom: 1px solid #e9ded3;
  flex-shrink: 0;
  background: #fffcf7;
}
.context-head h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 31px;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-top: 8px;
}
.close-panel {
  border: 1px solid #e3d6c9;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border-radius: 50%;
  background: transparent;
  color: #8e7766;
  font-size: 24px;
  display: grid;
  place-items: center;
}
.context-body {
  overflow: auto;
  padding: 25px 28px 28px;
  overscroll-behavior: contain;
  min-height: 0;
  flex: 1;
}
.context-body p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.context-body .note {
  font-size: 12px;
}
.context-body label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}
.context-body input,
.context-body select {
  border: 1px solid #dfd0c2;
  border-radius: 10px;
  background: white;
  padding: 12px;
  min-width: 0;
  width: 100%;
  color: #382e2a;
}
.context-body input[type="checkbox"] {
  width: 17px;
  padding: 0;
}
.dialog-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 23px;
}
.context-body details {
  margin: 15px 0;
}
.context-body .field {
  margin-bottom: 18px;
}
.context-body .result {
  padding: 30px;
  text-align: center;
  background: #edf1e6;
}
.context-body .result strong {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  font-weight: 500;
}
.pair-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
  align-items: end;
  gap: 12px;
  margin-bottom: 15px;
}
.pair-fields > span {
  align-self: center;
  padding-top: 20px;
  color: #aa8b6d;
}
.couple-rules {
  border-top: 1px solid #e4d7ca;
  padding-top: 12px;
}
.picker-intro {
  font-size: 12px !important;
  color: #857261;
}
.picker-tabs {
  display: flex;
  border-bottom: 1px solid #e2d3c6;
  margin: 0 0 23px;
  gap: 22px;
}
.picker-tabs button {
  background: none;
  padding: 13px 0;
  color: #8d7968;
  font-size: 13px;
  border-bottom: 2px solid transparent;
  text-align: left;
}
.picker-tabs button[aria-selected="true"] {
  color: #a42c3e;
  border-color: #a42c3e;
  font-weight: 700;
}
.gift-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 12px;
}
.search-box {
  display: flex !important;
  align-items: center;
  background: white;
  border: 1px solid #cdb7a5;
  border-radius: 12px;
  padding-left: 13px;
  align-self: end;
  gap: 9px;
}
.search-box > span {
  font-size: 28px;
  color: #967960;
  font-weight: 400;
}
.search-box input {
  border: 0;
  padding: 16px 12px 16px 0;
  font-size: 14px;
}
.search-box input:focus-visible {
  outline-offset: 1px;
}
.budget-filter {
  font-size: 10px !important;
  color: #8d7968;
}
.budget-filter select {
  margin-top: 5px;
  padding-block: 14px;
  font-size: 12px;
}
.search-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.search-suggestions button {
  border: 1px solid #e3d4c6;
  border-radius: 40px;
  background: transparent;
  padding: 6px 12px;
  font-size: 11px;
  color: #816855;
}
.catalog-note {
  font-size: 11px !important;
  color: #93806e;
  line-height: 1.6 !important;
  margin: 17px 0 !important;
}
.search-count {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0 14px;
  font-size: 12px;
  color: #7d6857;
}
.search-count small {
  font-size: 10px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.product-card {
  background: #fff;
  border: 1px solid #e7dbcf;
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.product-art {
  height: 155px;
  background: #f1ebe3;
  display: grid;
  place-items: center;
  font-size: 45px;
  overflow: hidden;
}
.product-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}
.product-info {
  padding: 17px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-info small {
  font-size: 10px;
  color: #93806e;
}
.product-info h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin: 7px 0 14px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.product-price {
  font-size: 13px !important;
  font-weight: 700;
  margin: 0 !important;
}
.price-note {
  font-size: 9px !important;
  color: #a08b79;
  margin: 3px 0 16px !important;
}
.product-info .btn {
  margin-top: auto;
  align-self: start;
}
.product-info .btn:disabled {
  opacity: 1;
  background: #eaf0e3;
  color: #657657;
  cursor: default;
}
.picker-footer {
  position: sticky;
  bottom: -28px;
  background: #fffcf7;
  border-top: 1px solid #e3d6c9;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 30px -28px -28px;
}
.picker-footer p {
  font-size: 11px !important;
  color: #86715d;
  margin: 0 !important;
}
.no-results {
  text-align: center;
  border: 1px dashed #dccaaf;
  border-radius: 14px;
  padding: 30px 20px;
}
.no-results > span {
  font-size: 35px;
  color: #ad7e61;
}
.no-results h3 {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  margin: 13px 0;
  font-weight: 500;
}
.no-results p {
  font-size: 12px;
  color: #8d7968;
}
.context-panel [hidden] {
  display: none !important;
}
#app-toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: #3d4b38;
  color: #fff;
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 13px;
  box-shadow: 0 8px 30px #382b2422;
  max-width: calc(100vw - 30px);
  text-align: center;
}
#app-toast[hidden] {
  display: none;
}
@media (max-width: 1000px) {
  .event-card {
    flex-wrap: wrap;
  }
  .event-actions {
    width: 100%;
    justify-content: start;
  }
  .wish-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .workspace-welcome {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }
  .workspace-welcome img {
    height: auto;
    aspect-ratio: 3/2;
    order: -1;
    max-height: 230px;
  }
  .workspace-welcome h1 {
    font-size: 36px;
  }
  .list-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .list-card {
    padding: 18px;
    min-height: 210px;
  }
  .list-card h3 {
    font-size: 22px;
  }
  .list-card-open {
    font-size: 10px;
  }
  .page-heading h2 {
    font-size: 27px;
  }
  .heading-actions {
    width: 100%;
  }
  .heading-actions .btn {
    flex: 1;
  }
  .wish-grid {
    grid-template-columns: 1fr;
  }
  .wish-art {
    height: 210px;
  }
  .local-banner strong {
    width: 100%;
  }
  .local-banner label {
    margin-left: 0;
  }
  .local-banner select {
    max-width: 190px;
  }
  .context-panel {
    max-height: 94dvh;
  }
  .context-panel.wide {
    border-radius: 0;
  }
  .context-head {
    padding: 20px;
  }
  .context-head h2 {
    font-size: 27px;
  }
  .context-body {
    padding: 20px;
  }
  .gift-search {
    grid-template-columns: minmax(0, 1fr);
  }
  .budget-filter {
    display: flex !important;
    align-items: center;
    gap: 12px;
  }
  .budget-filter select {
    width: 150px;
    margin: 0;
    padding: 9px 12px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .product-art {
    height: 130px;
  }
  .product-info {
    padding: 13px;
  }
  .product-info h3 {
    font-size: 12px;
  }
  .product-price {
    font-size: 12px !important;
  }
  .product-info .btn {
    padding: 9px 13px;
    font-size: 11px;
  }
  .picker-footer {
    bottom: -20px;
    margin: 25px -20px -20px;
    padding: 15px 20px;
  }
  .picker-tabs {
    gap: 20px;
  }
  .picker-tabs button {
    font-size: 12px;
  }
  .member-strip {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
  .member-avatars {
    gap: 12px;
  }
  .event-card {
    padding: 22px;
    gap: 15px;
  }
  .event-copy h3 {
    font-size: 25px;
  }
  .event-actions .btn {
    flex: 1;
  }
  .draw-progress {
    gap: 9px;
    font-size: 10px;
  }
  .workspace-extras {
    gap: 20px;
  }
  .pair-fields {
    gap: 8px;
  }
  .context-body input,
  .context-body select {
    font-size: 16px;
  }
  .search-box input {
    font-size: 16px;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .list-card {
    transition: none;
  }
}

/* Keep search tools available while browsing results. */
.picker-tabs {
  position: sticky;
  top: 0;
  z-index: 6;
  background: #fffcf7;
}
.gift-search {
  position: sticky;
  top: 48px;
  z-index: 5;
  background: #fffcf7;
  padding-top: 8px;
  padding-bottom: 10px;
}
