:root {
  --ink: #17110d;
  --muted: #776d64;
  --paper: #fbf6ef;
  --panel: rgba(255, 252, 246, .78);
  --line: rgba(42, 31, 22, .14);
  --accent: #9f5c35;
  --cream: #fff9ef;
  --champagne: #ead7b8;
  --shadow: 0 30px 90px rgba(55, 38, 25, .13);
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius-button: 8px;
  --radius-field: 8px; /* text boxes, same soft corner as buttons */
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% -8%, rgba(195, 132, 74, .22), transparent 28rem),
    linear-gradient(180deg, #fffaf3, #f3eadf 48%, #fffaf3);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.studio-shell { width: 100%; max-width: 1360px; margin: 0 auto; padding: 18px clamp(18px, 3vw, 36px) 64px; }
.studio-nav {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 243, .76);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 46px rgba(55, 38, 25, .08);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand__mark {
  flex: 0 0 auto;
  width: 34px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(55, 38, 25, .08));
}
.brand__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.brand strong { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: .95; }
.brand span, .nav-links a, .eyebrow {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.brand__wide {
  width: 88%;
  display: flex;
  justify-content: space-between;
  gap: 0;
  justify-self: center;
}
.brand__wide span {
  display: inline-block;
  letter-spacing: 0;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 12px; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 12px; border-radius: var(--radius-button); }
.nav-links a[aria-current="page"], .nav-links a:hover { background: var(--ink); color: var(--cream); }
.client-form-pill {
  flex: 0 0 auto;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(23, 17, 13, .04);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero { display: grid; gap: 12px; margin-bottom: 18px; }
.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: 0;
}
.hero p:not(.eyebrow) { max-width: 620px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.home-hero {
  min-height: clamp(300px, 42vh, 460px);
  align-content: end;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 72px);
  margin: 0 0 18px;
  padding: clamp(26px, 6vw, 76px) 0 clamp(28px, 5vw, 62px);
  border-bottom: 1px solid rgba(42, 31, 22, .1);
}
.home-hero__copy {
  display: grid;
  gap: 14px;
  max-width: 960px;
}
.home-hero h1 {
  max-width: 12ch;
  font-size: clamp(50px, 7.6vw, 98px);
  line-height: .9;
}
.home-hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: clamp(14px, 1.45vw, 18px);
  line-height: 1.6;
}
.home-hero__actions {
  align-self: end;
  display: grid;
  gap: 10px;
  min-width: min(280px, 100%);
}
.home-hero__actions .button {
  justify-content: center;
  min-height: 46px;
  box-shadow: 0 18px 42px rgba(23, 17, 13, .12);
}

.product-shelf {
  display: grid;
  grid-template-columns: 1.12fr .94fr .94fr;
  gap: 14px;
  margin: 0 0 22px;
}
.product-card {
  --spot-x: 50%;
  --spot-y: 24%;
  position: relative;
  min-height: clamp(260px, 30vw, 390px);
  display: grid;
  align-content: space-between;
  gap: 26px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.48), rgba(255,255,255,.12)),
    rgba(255, 252, 246, .58);
  box-shadow: 0 26px 70px rgba(55, 38, 25, .09);
  transition: transform .38s var(--ease), border-color .38s var(--ease), box-shadow .38s var(--ease);
  isolation: isolate;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: auto 18px 18px;
  height: 42%;
  border-radius: 24px;
  opacity: .78;
  background-size: cover;
  background-position: center;
  filter: saturate(.86) contrast(.94);
  transform: scale(1);
  transition: transform .6s var(--ease), opacity .4s var(--ease);
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(255, 249, 239, .82), rgba(255, 249, 239, .18) 22%, transparent 43%),
    linear-gradient(180deg, rgba(255,252,246,.78) 0 42%, rgba(255,252,246,.16)),
    radial-gradient(circle at 78% 18%, rgba(159,92,53,.12), transparent 18rem);
  opacity: .92;
  pointer-events: none;
  transition: opacity .38s var(--ease);
  z-index: 0;
}
.product-card--collections::before { background-image: url("../assets/images/sakura/hero.jpg"); }
.product-card--workflow::before { background-image: url("../assets/images/hero.jpg"); }
.product-card--gallery::before { background-image: url("../assets/images/gallery-3.jpg"); }
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(159, 92, 53, .34);
  box-shadow: 0 38px 96px rgba(55, 38, 25, .15), 0 0 0 1px rgba(234, 215, 184, .2) inset;
}
.product-card:hover::before {
  transform: scale(1.035);
  opacity: .92;
}
.product-card:hover::after {
  opacity: 1;
}
.product-card span,
.product-card strong,
.product-card p {
  position: relative;
  z-index: 1;
}
.product-card span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.product-card span,
.product-card strong,
.product-card p {
  transition: transform .38s var(--ease), color .38s var(--ease);
}
.product-card:hover span,
.product-card:hover strong,
.product-card:hover p {
  transform: translateY(-3px);
}
.product-card strong {
  max-width: 9ch;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  line-height: .92;
}
.product-card p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.pipeline small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.collection-browser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 480px);
  gap: 14px;
  align-items: start;
  margin: 0 0 22px;
}
.collection-browser .panel-heading {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}
.collection-browser .panel-heading h2 {
  font-size: clamp(34px, 4.4vw, 54px);
}
.collection-cards {
  display: grid;
  grid-column: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.collection-choice,
.edition-choice {
  display: grid;
  align-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 0;
  height: 92px;
  padding: 14px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.56), rgba(255,255,255,.22)),
    rgba(255, 252, 246, .5);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(55, 38, 25, .07);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.collection-choice:hover,
.edition-choice:hover {
  transform: translateY(-2px);
  border-color: rgba(159, 92, 53, .38);
}
.collection-choice[aria-pressed="true"],
.edition-choice[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  box-shadow: 0 24px 70px rgba(23, 17, 13, .18);
}
.collection-choice span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.collection-choice[aria-pressed="true"] span,
.edition-choice[aria-pressed="true"] small {
  color: rgba(255, 249, 239, .64);
}
.collection-choice strong,
.edition-choice strong {
  min-width: 0;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.collection-choice small,
.edition-choice small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.32;
  overflow-wrap: anywhere;
}
.collection-choice small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.edition-browser {
  display: grid;
  grid-column: 1;
  gap: 8px;
  margin-top: 10px;
}
.edition-browser .eyebrow { margin: 0; }
.edition-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.edition-choice {
  height: 64px;
  min-height: 0;
  align-content: center;
  padding: 12px 16px;
}
.edition-choice strong {
  font-size: clamp(20px, 1.9vw, 26px);
}
.edition-choice small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.live-preview {
  position: sticky;
  top: 92px;
  display: grid;
  grid-column: 2;
  grid-row: 2 / span 2;
  grid-template-columns: minmax(0, .92fr) minmax(156px, 178px);
  gap: 14px;
  align-items: center;
  margin-top: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(23,17,13,.92), rgba(68,42,26,.74)),
    var(--ink);
  color: var(--cream);
  box-shadow: 0 26px 80px rgba(23, 17, 13, .18);
}
.live-preview__copy {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 0;
  padding: 14px 0 14px 14px;
}
.live-preview__copy h3 {
  max-width: 620px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1;
  overflow-wrap: anywhere;
}
.live-preview__copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 249, 239, .68);
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.live-preview__copy .button {
  justify-self: start;
  min-height: 42px;
  padding-inline: 18px;
  white-space: nowrap;
  background: var(--cream);
  color: var(--ink);
}
.live-preview__device {
  justify-self: end;
  width: min(178px, 100%);
  aspect-ratio: 9 / 16;
  min-height: 0;
  max-height: 318px;
  padding: 8px;
  border: 1px solid rgba(255, 249, 239, .12);
  border-radius: 26px;
  background: #070504;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 24px 70px rgba(0,0,0,.32);
  overflow: hidden;
}
.live-preview__device iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 18px;
  background: #080706;
}
.mobile-preview-sheet {
  display: none;
}

.workflow-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: -2px 0 10px;
  padding: 0 8px;
}
.workflow-intro .eyebrow {
  flex: 0 0 auto;
  margin: 0;
}
.workflow-intro p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: right;
}

.command-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  margin: -2px 0 22px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 11%, rgba(42, 31, 22, .14) 11%, rgba(42, 31, 22, .14) 89%, transparent 89%) center 24px / 100% 1px no-repeat,
    rgba(255, 252, 246, .58);
  box-shadow: 0 14px 40px rgba(55, 38, 25, .06);
}
.command-strip article {
  position: relative;
  min-height: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 8px;
  background: transparent;
}
.command-strip span, .status-pill {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.command-strip span {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(159, 92, 53, .3);
  background: var(--cream);
  box-shadow: 0 0 0 5px rgba(255, 252, 246, .92);
}
.command-strip strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.command-strip p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.studio-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 22px; align-items: start; }
.pipeline-panel { margin-bottom: 22px; }
.action-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -4px 0 14px;
  padding: 16px 18px;
  border: 1px solid rgba(159, 92, 53, .16);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.5), rgba(255,255,255,.18)),
    rgba(159, 92, 53, .07);
}
.action-alert div {
  display: grid;
  gap: 5px;
}
.action-alert span,
.project-list em {
  width: fit-content;
  border-radius: 999px;
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.action-alert span {
  padding: 6px 9px;
  border: 1px solid rgba(159, 92, 53, .2);
  color: var(--accent);
  background: rgba(255, 249, 239, .58);
}
.action-alert strong {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  line-height: 1;
}
.action-alert p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.action-alert a,
.action-alert button {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius-button);
  padding: 0 15px;
  background: var(--ink);
  color: var(--cream);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.studio-shell .action-alert .action-alert__alt { margin-top: 6px; }
/* "Or fill in the details yourself in Studio Edit." A plain text link, not a button. */
.studio-shell .action-alert .action-alert__alt a {
  display: inline;
  min-height: 0;
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #8a4f2d;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.action-alert[data-tone="ready"],
.action-alert[data-tone="complete"] {
  border-color: rgba(63, 113, 79, .18);
  background: rgba(63, 113, 79, .065);
}
.action-alert[data-tone="ready"] span,
.action-alert[data-tone="complete"] span {
  border-color: rgba(63, 113, 79, .22);
  color: #3f714f;
}
.action-alert[data-tone="waiting"] {
  background: rgba(190, 170, 135, .12);
}
.action-alert[data-tone="urgent"] {
  border-color: rgba(159, 92, 53, .28);
  box-shadow: inset 0 0 0 1px rgba(159, 92, 53, .08), 0 18px 46px rgba(159, 92, 53, .08);
}
.pipeline-release {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 22px;
}
.pipeline-release p {
  margin: 0;
}
.pipeline-release p:not(.eyebrow) {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.pipeline-release .link-copy {
  display: block;
  margin-top: 8px;
}
.pipeline-release .button-row {
  flex: 0 0 auto;
  margin-top: 0;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-pad { padding: clamp(18px, 3vw, 28px); }
.panel h2, .panel h3 { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(30px, 4vw, 48px); font-weight: 400; }
.panel h3 { font-size: 26px; }
.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.panel-heading h2 { margin-bottom: 0; }
.panel-heading .eyebrow { margin: 0 0 8px; }
.panel-note {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.status-pill {
  flex: 0 0 auto;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(23, 17, 13, .04);
  color: var(--muted);
}
.status-pill[data-state="ready"] {
  border-color: rgba(63, 113, 79, .28);
  background: rgba(63, 113, 79, .1);
  color: #3f714f;
}
.status-pill[data-state="needs-work"] {
  border-color: rgba(159, 92, 53, .28);
  background: rgba(159, 92, 53, .1);
  color: var(--accent);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(300px, .62fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}
.studio-grid--home {
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
}
.home-priority-card {
  background:
    radial-gradient(circle at 86% 8%, rgba(159, 92, 53, .08), transparent 22rem),
    var(--panel);
}
.home-priority-card .panel-heading h2 {
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: .94;
}
.home-selected-card {
  display: grid;
  align-content: space-between;
}
.home-selected-card .panel-heading {
  display: grid;
}
.home-selected-card h2 {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0;
  font-size: clamp(32px, 3.7vw, 50px);
  line-height: 1;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.home-selected-card .panel-note {
  margin-top: 4px;
}
.home-selected-card .button-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.priority-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.priority-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.38);
}
.priority-list article:first-child {
  min-height: 164px;
  grid-column: 1 / -1;
  padding: 20px;
  border-color: rgba(23, 17, 13, .88);
  background:
    linear-gradient(135deg, rgba(23,17,13,.94), rgba(77,43,26,.86)),
    var(--ink);
  color: var(--cream);
}
.priority-list article:first-child[data-tone] {
  border-color: rgba(23, 17, 13, .88);
  background:
    linear-gradient(135deg, rgba(23,17,13,.94), rgba(77,43,26,.86)),
    var(--ink);
}
.priority-list article:first-child span {
  border-color: rgba(255, 249, 239, .16);
  color: rgba(255, 249, 239, .72);
  background: rgba(255, 249, 239, .08);
}
.priority-list article:first-child strong {
  max-width: min(760px, 78%);
  color: var(--cream);
  font-size: clamp(32px, 4.2vw, 54px);
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.priority-list article:first-child p {
  color: rgba(255, 249, 239, .62);
}
.priority-list article:first-child a {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--ink);
}
.priority-list article[data-tone="urgent"],
.priority-list article[data-tone="draft"] {
  border-color: rgba(159, 92, 53, .24);
  background: rgba(159, 92, 53, .07);
}
.priority-list article[data-tone="ready"],
.priority-list article[data-tone="complete"] {
  border-color: rgba(63, 113, 79, .2);
  background: rgba(63, 113, 79, .065);
}
.priority-list span {
  grid-column: 1 / -1;
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid rgba(159, 92, 53, .16);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 252, 246, .5);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.priority-list strong {
  min-width: 0;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.priority-list p {
  grid-column: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.priority-list a {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: center;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius-button);
  padding: 0 14px;
  background: var(--ink);
  color: var(--cream);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.home-actions {
  margin-top: 24px;
}
.room-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.room-grid a {
  min-width: 0;
  min-height: 126px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.5), rgba(255,255,255,.18)),
    rgba(255, 252, 246, .44);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.room-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(159, 92, 53, .34);
  background: rgba(159, 92, 53, .07);
}
.room-grid span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.room-grid strong {
  min-width: 0;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1;
  overflow-wrap: anywhere;
}
.room-grid small {
  max-width: 260px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.home-shortcuts-panel .panel-heading {
  margin-bottom: 14px;
}
.home-shortcuts-panel .panel-heading h2 {
  font-size: clamp(34px, 4vw, 50px);
}
.collection-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.collection-context h2 {
  margin: 0;
}
.collection-context .panel-note {
  margin-top: 8px;
}
.collection-project-picker {
  flex: 0 0 min(420px, 42%);
  display: grid;
  gap: 12px;
  justify-items: end;
}
.collection-project-picker label {
  width: 100%;
}
.collection-project-picker select {
  min-height: 48px;
  background: rgba(255, 252, 246, .72);
}
.gallery-status-panel {
  margin-bottom: 22px;
}
.gallery-status-grid {
  display: grid;
  grid-template-columns: minmax(150px, .58fr) repeat(2, minmax(0, 1fr)) minmax(230px, .82fr);
  gap: 12px;
}
.gallery-status-summary,
.gallery-status-card {
  min-width: 0;
  min-height: 176px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.48), rgba(255,255,255,.18)),
    rgba(255, 252, 246, .42);
}
.gallery-status-summary {
  background: rgba(23, 17, 13, .92);
  color: var(--cream);
}
.gallery-status-summary span,
.gallery-status-card span {
  width: fit-content;
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.gallery-status-summary span {
  color: rgba(255, 249, 239, .62);
}
.gallery-status-summary strong,
.gallery-status-card strong {
  min-width: 0;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 400;
  line-height: .98;
  text-overflow: ellipsis;
  overflow-wrap: anywhere;
}
.gallery-status-card strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.gallery-status-summary strong {
  font-size: clamp(44px, 5vw, 68px);
  display: block;
  white-space: nowrap;
}
.gallery-status-summary small,
.gallery-status-card small,
.gallery-status-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.gallery-status-summary small {
  color: rgba(255, 249, 239, .58);
}
.gallery-status-card[data-tone="complete"] {
  border-color: rgba(63, 113, 79, .2);
  background: rgba(63, 113, 79, .055);
}
.gallery-status-card[data-tone="draft"] {
  border-color: rgba(159, 92, 53, .2);
  background: rgba(159, 92, 53, .055);
}
.gallery-status-card--action {
  border-style: dashed;
}
.gallery-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gallery-status-actions a {
  min-height: 44px;
  min-width: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  padding: 0 10px;
  color: var(--ink);
  background: rgba(255, 252, 246, .5);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gallery-status-card--action .gallery-status-actions a {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
}
.pipeline li {
  min-height: 124px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, .42);
  transition: background .45s ease, box-shadow .45s ease;
}
.pipeline-marker {
  width: fit-content;
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(110, 101, 90, .22);
  border-radius: 999px;
  background: rgba(255, 252, 246, .55);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
}
.pipeline li[data-active="true"] .pipeline-marker {
  min-width: 62px;
  padding: 0 10px;
  border-color: rgba(159, 92, 53, .24);
  background: rgba(159, 92, 53, .1);
  color: var(--accent);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pipeline li[data-complete="true"] .pipeline-marker {
  border-color: rgba(63, 113, 79, .22);
  background: rgba(63, 113, 79, .1);
  color: #3f714f;
}
.pipeline li[data-active="true"] .pipeline-marker {
  min-width: 62px;
  padding: 0 10px;
  border-color: rgba(159, 92, 53, .24);
  background: rgba(159, 92, 53, .1);
  color: var(--accent);
}
.pipeline strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}
.pipeline li[data-complete="true"] {
  background: rgba(63, 113, 79, .055);
}
.pipeline li[data-active="true"] {
  background: rgba(255, 252, 246, .74);
  box-shadow: inset 0 0 0 1px rgba(159, 92, 53, .2);
}
.pipeline li[data-active="true"] strong {
  color: var(--ink);
}
.pipeline li[data-active="true"] small {
  color: var(--accent);
}
.pipeline li[data-terminal="true"] {
  background: rgba(63, 113, 79, .095);
  box-shadow: inset 0 0 0 1px rgba(63, 113, 79, .24);
}
.pipeline li[data-terminal="true"] .pipeline-marker {
  min-width: 24px;
  padding: 0;
  border-color: rgba(63, 113, 79, .28);
  background: rgba(63, 113, 79, .13);
  color: #3f714f;
  font-size: 11px;
  letter-spacing: .02em;
  text-transform: none;
}
.pipeline li[data-terminal="true"] small {
  color: #3f714f;
}

[data-sync-status] { margin: 6px 0 14px; }
[data-sync-status] a { color: inherit; text-decoration: underline; }
[data-sync-move] { margin: -6px 0 14px; }
[data-sync-move] button { min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--accent); font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
a.login-link { display: inline-flex; align-items: center; }
.project-list { display: grid; gap: 10px; }
.project-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}
.project-list button {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  width: 100%;
  padding: 16px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.38);
}
.project-list button[aria-pressed="true"] { border-color: rgba(159,92,53,.42); background: rgba(159,92,53,.1); }
.project-list .project-delete {
  width: auto;
  min-width: 74px;
  padding: 0 12px;
  justify-items: center;
  align-content: center;
  border-color: rgba(159, 92, 53, .22);
  color: var(--accent);
  background: rgba(159, 92, 53, .055);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}
.project-list .project-delete:hover {
  border-color: rgba(159, 92, 53, .38);
  background: rgba(159, 92, 53, .12);
}
.project-list span {
  min-width: 0;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-list small {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  letter-spacing: .08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.project-list em {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  padding: 7px 9px;
  border: 1px solid rgba(110, 101, 90, .16);
  color: var(--muted);
  background: rgba(255, 252, 246, .56);
  white-space: nowrap;
}
.project-list em[data-tone="urgent"],
.project-list em[data-tone="draft"] {
  border-color: rgba(159, 92, 53, .24);
  color: var(--accent);
  background: rgba(159, 92, 53, .08);
}
.project-list em[data-tone="ready"],
.project-list em[data-tone="complete"] {
  border-color: rgba(63, 113, 79, .22);
  color: #3f714f;
  background: rgba(63, 113, 79, .08);
}
.empty-state {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px dashed rgba(159, 92, 53, .24);
  border-radius: 20px;
  background: rgba(159, 92, 53, .045);
}
.empty-state .eyebrow {
  margin: 0;
}
.empty-state strong {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1;
}
.empty-state small {
  overflow: visible;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.55;
  text-overflow: clip;
  text-transform: none;
  white-space: normal;
}
.collection-empty {
  min-height: 120px;
  align-content: center;
}
.collection-cards .collection-empty,
.edition-cards .collection-empty {
  grid-column: 1 / -1;
}
.panel[data-empty="true"] form,
.panel[data-empty="true"] .story-link-card,
.panel[data-empty="true"] .project-actions {
  opacity: .45;
  pointer-events: none;
}

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.settings-socials { grid-column: 1 / -1; min-width: 0; }
.settings-socials__title { margin: 0 0 8px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.settings-socials [data-social-list] { display: grid; gap: 14px; }
.settings-socials__row {
  /* Label (FACEBOOK / TIKTOK) + Remove on one line, the link box right under it (Oct 22, Jay). */
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "hint remove" "input input" "error error";
  align-items: center; column-gap: 12px; min-width: 0;
}
.settings-socials__fields { display: contents; }
.settings-socials__fields input { grid-area: input; min-width: 0; font-size: inherit; }
.settings-socials__fields button { grid-area: remove; justify-self: end; font-size: 12px; }
.settings-socials__text-button { border: 0; padding: 6px 0; background: none; color: var(--accent); font: inherit; font-size: 13px; cursor: pointer; text-align: left; letter-spacing: 0; text-transform: none; }
.settings-socials__text-button:hover { text-decoration: underline; }
.settings-socials__text-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.settings-socials__hint { grid-area: hint; margin: 0 0 6px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; overflow-wrap: anywhere; }
.settings-socials__hint[data-kind="error"] { grid-area: error; margin: 6px 0 0; color: #7a3f1f; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.settings-website__hint { display: block; margin: 6px 0 0; color: #7a3f1f; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.settings-socials { font-size: 10px; }
.settings-socials__title { font-size: 10px; }
.gallery-branding-locked { color: var(--muted); }
.gallery-branding-locked span { display: inline-flex; align-items: center; gap: 6px; }
.gallery-branding-locked select { cursor: not-allowed; opacity: .6; }
.gallery-branding-locked small { font-size: 11px; font-weight: 400; letter-spacing: 0; line-height: 1.4; text-transform: none; }
.studio-logo[data-locked="true"] { color: var(--muted); }
.studio-logo__lock { display: inline-flex; align-items: center; gap: 7px; margin: 12px 0; font-size: 12px; }
.studio-logo__upload { position: relative; overflow: hidden; }
.studio-logo__upload input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.studio-logo__upload:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.studio-logo__upload input:disabled { cursor: not-allowed; }
.studio-logo [data-logo-preview] { display: block; max-width: min(240px, 100%); max-height: 110px; margin: 18px 0; object-fit: contain; }
.studio-logo [data-logo-preview][hidden] { display: none; }
.full { grid-column: 1 / -1; }
.story-message-field { display: grid; gap: 8px; min-width: 0; }
.story-suggestions { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.story-suggestions:empty { display: none; }
.story-suggestions button {
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, .58);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}
.story-suggestions button:hover { border-color: var(--accent); color: var(--ink); }
body:not([data-event-type="birthday"]) .birthday-only { display: none; }
/* Nov 12 (Jay): a birthday has one name only (the celebrant). */
body[data-event-type="birthday"] .not-birthday { display: none; }
label { display: grid; gap: 8px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  background: rgba(255,255,255,.58);
  color: var(--ink);
  padding: 14px 14px;
  outline: 0;
  letter-spacing: 0;
  text-transform: none;
}
textarea { resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { border-color: rgba(159,92,53,.62); box-shadow: 0 0 0 4px rgba(159,92,53,.1); }
input[type="file"] {
  padding: 12px;
  cursor: pointer;
}
input[type="file"]::file-selector-button {
  margin-right: 12px;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-button);
  background: var(--ink);
  color: var(--cream);
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.upload-summary {
  padding: 16px;
  border: 1px solid rgba(159, 92, 53, .14);
  border-radius: 18px;
  background: rgba(159, 92, 53, .055);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.upload-summary strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}
.upload-summary ul {
  margin: 0;
  padding-left: 18px;
}

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.story-actions {
  justify-content: flex-end;
  margin-top: clamp(20px, 4vw, 36px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.story-actions button {
  min-width: 150px;
}
.button, button.primary {
  position: relative;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius-button);
  padding: 0 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 38%),
    var(--ink);
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(23, 17, 13, .1);
  transform: translateY(0);
  transition: transform .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease), color .28s var(--ease), box-shadow .28s var(--ease);
}
.button::before,
button.primary::before {
  content: "";
  position: absolute;
  inset: -1px auto -1px -42%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 249, 239, .42), transparent);
  transform: skewX(-16deg);
  opacity: 0;
  pointer-events: none;
}
.button:hover,
button.primary:hover {
  transform: translateY(-2px);
  border-color: rgba(234, 215, 184, .92);
  box-shadow: 0 18px 44px rgba(23, 17, 13, .16), 0 0 0 1px rgba(234, 215, 184, .18) inset;
}
.button:hover::before,
button.primary:hover::before {
  opacity: 1;
  animation: button-sheen .82s var(--ease) both;
}
.button:active,
button.primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(23, 17, 13, .12);
}
.button.secondary, button.secondary {
  border-color: rgba(42, 31, 22, .16);
  background:
    linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.2)),
    rgba(255, 252, 246, .42);
  color: var(--ink);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 14px 34px rgba(55, 38, 25, .07), 0 1px 0 rgba(255,255,255,.8) inset;
}
.button.secondary:hover,
button.secondary:hover {
  border-color: rgba(159, 92, 53, .36);
  background:
    linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.28)),
    rgba(255, 249, 239, .56);
  color: var(--ink);
  box-shadow: 0 20px 48px rgba(55, 38, 25, .11), 0 0 0 1px rgba(234, 215, 184, .22) inset;
}
@keyframes button-sheen {
  from { left: -42%; }
  to { left: 112%; }
}
@media (prefers-reduced-motion: reduce) {
  .button,
  button.primary,
  .button::before,
  button.primary::before,
  .product-card,
  .product-card::before,
  .product-card::after,
  .product-card span,
  .product-card strong,
  .product-card p {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .button:hover,
  button.primary:hover,
  .product-card:hover,
  .product-card:hover span,
  .product-card:hover strong,
  .product-card:hover p {
    transform: none;
  }
}
.button.secondary.primary-link {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}
.button[aria-disabled="true"], button:disabled { opacity: .45; pointer-events: none; }
.quiet-action {
  background: rgba(255, 252, 246, .48);
  color: var(--muted);
}
.quiet-action:hover {
  color: var(--ink);
  border-color: rgba(159, 92, 53, .38);
}

.status-card { display: grid; gap: 16px; margin-top: 18px; padding: 18px; border-radius: 20px; background: rgba(23,17,13,.04); }
.status-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.story-link-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(159, 92, 53, .14);
  border-radius: 18px;
  background: rgba(255, 252, 246, .56);
}
.story-link-card div {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.story-link-card strong {
  color: var(--ink);
}
.story-link-card button {
  min-height: 38px;
  white-space: nowrap;
}
.story-link-card[data-client-link],
.story-link-card[data-guest-link],
.story-link-card[data-invitation-photos] {
  grid-template-columns: 1fr;
}
.story-link-card .photo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}
.photo-thumb {
  display: grid;
  gap: 6px;
  width: 104px;
  margin: 0;
}
.photo-thumb img {
  width: 104px;
  height: 104px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(23, 17, 13, .06);
}
/* The buttons on the Photos section (js/invitation-photos.js): the same
   quiet outline buttons as the rows on the Overview, so nothing here
   shouts. The first button to press (Choose hero photo) only gets a
   darker outline. "Remove" under each photo is smaller and softer still. */
.story-link-card[data-invitation-photos] button {
  min-height: 40px;
  width: auto;
  padding: 0 14px;
  border: 1px solid rgba(42, 31, 22, .22);
  border-radius: 10px;
  background: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
}
.story-link-card[data-invitation-photos] button::before { display: none; }
.story-link-card[data-invitation-photos] button:hover {
  border-color: var(--ink);
  background: none;
  box-shadow: none;
  transform: none;
}
.story-link-card[data-invitation-photos] button.primary { border-color: var(--ink); font-weight: 500; }
.story-link-card[data-invitation-photos] button.primary:hover { background: rgba(42, 31, 22, .06); }
.story-link-card[data-invitation-photos] .photo-thumb button {
  min-height: 30px;
  width: 100%;
  padding: 0 8px;
  border-color: rgba(42, 31, 22, .12);
  color: var(--muted);
  font-size: 13px;
}
.story-link-card[data-invitation-photos] .photo-thumb button:hover { border-color: rgba(42, 31, 22, .4); color: var(--ink); }
/* Room between Hero photo, Hero photo for phones and Gallery photos. */
.story-link-card[data-invitation-photos] .eyebrow { margin-top: 18px; }
.story-link-card[data-invitation-photos] [data-invitation-photos-hero] > .eyebrow:first-child { margin-top: 4px; }
.story-link-card[data-invitation-photos] .photo-row { margin-top: 2px; }
/* One box, not three. On the Photos section the grey box and the
   bordered box around the photos are taken away, so only the white card
   of the page is left and the photos get its full width. The Overview
   keeps its boxes. */
[data-active-tab="photos"] .status-card {
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  background: none;
}
[data-active-tab="photos"] .story-link-card[data-invitation-photos] {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
/* Gallery photos in even columns that fill the width: 3 on a phone,
   more on a computer. The "Add gallery photos" button sits on its own
   line under them. */
.story-link-card[data-invitation-photos] [data-invitation-photos-gallery] .photo-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  align-items: start;
}
.story-link-card[data-invitation-photos] [data-invitation-photos-gallery] .photo-thumb { width: auto; }
.story-link-card[data-invitation-photos] [data-invitation-photos-gallery] .photo-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.story-link-card[data-invitation-photos] [data-invitation-photos-gallery] .photo-row > button {
  grid-column: 1 / -1;
  justify-self: start;
}
.story-link-card[data-guest-link] {
  margin-top: 10px;
}
.story-link-card [data-client-link-actions],
.story-link-card [data-guest-link-actions] {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.story-link-card .panel-note {
  margin-top: 0;
}
.project-actions {
  margin-top: 2px;
}
.release-card {
  border: 1px solid rgba(63, 113, 79, .16);
  background: rgba(63, 113, 79, .055);
}
.release-card[data-state="locked"] {
  border-color: rgba(23, 17, 13, .08);
  background: rgba(23, 17, 13, .035);
}
.release-card[data-state="locked"] .release-actions {
  display: none;
}
.release-card .button-row {
  margin-top: 0;
}
.release-actions {
  align-items: center;
}
.review-actions {
  padding-top: 4px;
}
.review-actions .primary-link {
  order: -1;
}
.review-actions[data-complete="incomplete"] [data-approve],
.review-actions[data-release="released"] [data-approve],
.review-actions[data-release="released"] [data-request-changes] {
  display: none;
}
.studio-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(23, 17, 13, .38);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s var(--ease);
}
.studio-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
/* The confirm dialog (Delete project on the Workspace).
   Quiet like the rest of the Studio: a cream card, the brand serif for the
   question, one clear red action and a plain Cancel. */
.studio-modal__dialog {
  width: min(440px, 100%);
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(23, 17, 13, .22);
  transform: translateY(12px) scale(.98);
  transition: transform .28s var(--ease);
}
.studio-modal[aria-hidden="false"] .studio-modal__dialog {
  transform: translateY(0) scale(1);
}
.studio-modal__dialog .eyebrow {
  margin: 0;
  color: #9b3b2f;
}
.studio-modal__dialog h2 {
  margin: 0;
  font-family: "Cormorant Garamond", var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.05;
  text-wrap: balance;
}
.studio-modal__dialog p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-family: "Jost", var(--sans);
  font-size: 15px;
  line-height: 1.55;
}
.studio-modal__dialog .button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}
/* Both buttons share the same shape here. Root cause of the old grey "Cancel":
   the button shape lived only on button.primary, so a button with just
   class="secondary" fell back to the browser's own button. */
.studio-modal__dialog .button-row button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  background: transparent;
  color: var(--ink);
  font-family: "Jost", var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
  transform: none;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.studio-modal__dialog .button-row button::before { display: none; }
.studio-modal__dialog .button-row button.secondary:hover { border-color: var(--ink); background: rgba(42, 31, 22, .04); }
.studio-modal__dialog .button-row button.danger {
  border-color: #9b3b2f;
  background: #9b3b2f;
  color: #fff9ef;
}
.studio-modal__dialog .button-row button.danger:hover { border-color: #7f2f25; background: #7f2f25; transform: none; }
.studio-modal__dialog .button-row button:focus-visible { outline: 2px solid rgba(42, 31, 22, .3); outline-offset: 3px; }
@media (max-width: 480px) {
  .studio-modal__dialog { padding: 24px 20px; }
  .studio-modal__dialog .button-row button { flex: 1 1 0; }
}
.next-action {
  padding: 14px 16px;
  border: 1px solid rgba(159, 92, 53, .18);
  border-radius: 16px;
  background: rgba(159, 92, 53, .08);
  color: var(--ink) !important;
  font-weight: 700;
}
.missing { margin: 0; padding-left: 18px; color: var(--accent); line-height: 1.8; }
.link-copy { word-break: break-all; color: var(--accent); font-size: 13px; }

.step-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.story-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.readiness-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.readiness-pill[data-state="ready"] {
  border-color: rgba(63, 113, 79, .24);
  padding: 0 12px;
  background: rgba(63, 113, 79, .065);
  color: #3f714f;
}
.progress { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.progress-track {
  width: min(340px, 58vw);
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 17, 13, .08);
}
.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ink), var(--accent));
  transition: width .45s var(--ease);
}
/* Nov 19 (Jay): the step names are plain text now, no boxes and no line.
   The step you are on is a little bigger and glows bronze. */
.stepper {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin: 0 0 30px;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.stepper::-webkit-scrollbar {
  display: none;
}
.stepper li {
  flex: 1 1 0;
  min-width: 0;
}
.stepper button {
  width: 100%;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-button);
  color: var(--muted);
  background: transparent;
  box-shadow: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-inline: 2px;
  cursor: pointer;
  transition: color .3s var(--ease), font-size .3s var(--ease), text-shadow .3s var(--ease);
}
.stepper button:hover {
  color: var(--ink);
}
.stepper button[data-complete="true"] {
  color: var(--ink);
  opacity: .72;
}
.stepper button[aria-current="true"] {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  opacity: 1;
  text-shadow: 0 0 14px rgba(159, 92, 53, .45), 0 0 2px rgba(159, 92, 53, .3);
}
.step { display: grid; gap: 22px; }
.step > h2 {
  margin-bottom: -8px;
}
.step-note {
  max-width: 680px;
  margin: -10px 0 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.repeat-card { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.4); }
.program-list { display: grid; gap: 16px; }
.program-card {
  position: relative;
  z-index: 1;
}
.program-card input,
.program-card textarea {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  cursor: text;
  user-select: text;
  -webkit-user-select: text;
  touch-action: manipulation;
  width: 100%;
}
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.row-actions button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  background: transparent;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 11px;
}
.autosave { color: var(--muted); font-size: 12px; }

.summary-grid { display: grid; gap: 16px; }
.summary-grid section, .review-sections section {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.38);
}
dl { display: grid; gap: 12px; margin: 0; }
dt { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
dd { margin: 4px 0 0; color: var(--muted); line-height: 1.65; word-break: break-word; }
.review-sections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
/* Nov 19 (Jay): smaller, calmer "sent" screen (was huge on computers). */
.success-state { text-align: center; padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 56px); }
.success-state h2 { max-width: 15em; margin-inline: auto; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
.success-state > p:not(.eyebrow) { max-width: 34em; margin-inline: auto; }
/* Nov 19 (Jay): Review step. All done = one small green line; missing = a short list. */
.summary-grid .review-ready { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-color: rgba(63, 113, 79, .28); background: #f3f7f1; color: #3f714f; font-size: 14px; }
.review-ready p { margin: 0; }
.review-ready__mark { display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: #3f714f; color: #fff; font-size: 12px; line-height: 1; }
.summary-grid .review-missing h3 { font-size: 20px; margin: 0 0 8px; }
.review-missing ul { margin: 0; padding-left: 18px; color: var(--accent); line-height: 1.7; }
/* Nov 13: "Request changes" on the client's sent screen. */
.change-ask { max-width: 460px; margin: 28px auto 0; text-align: left; }
.change-ask__start { justify-content: center; }
.change-ask__current { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.change-ask__current p:last-child { margin: 6px 0 0; color: var(--ink); line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.change-ask__form { margin-top: 18px; }
.change-ask__form textarea { font-size: 15px; font-weight: 400; }
.change-ask__form .button-row { justify-content: flex-end; }
.change-ask__count { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; text-align: right; }
.change-ask__msg { min-height: 1.4em; margin: 14px 0 0; color: var(--muted); text-align: center; }
.change-ask__msg:empty { display: none; }

.module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
}
.module-card {
  min-height: 430px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 252, 246, .72);
  box-shadow: var(--shadow);
}
.module-card--dark {
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(23,17,13,.94), rgba(80,45,27,.86)),
    #17110d;
}
.module-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 78px);
  font-weight: 400;
  line-height: .98;
}
.module-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.module-card--dark p:not(.eyebrow) { color: rgba(255,249,239,.68); }
.module-note {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.gallery-mini {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: repeat(2, 132px);
  gap: 10px;
}
.gallery-mini span {
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 48px rgba(55, 38, 25, .16);
}
.gallery-mini span:nth-child(1) {
  grid-row: span 2;
  background-image: url("../assets/images/gallery-1.jpg");
}
.gallery-mini span:nth-child(2) { background-image: url("../assets/images/gallery-3.jpg"); }
.gallery-mini span:nth-child(3) { background-image: url("../assets/images/gallery-5.jpg"); }

@media (max-width: 820px) {
  .studio-nav { align-items: flex-start; flex-direction: column; }
  .studio-grid,
  .studio-grid--home,
  .dashboard-grid,
  .gallery-status-grid,
  .form-grid,
  .review-sections,
  .pipeline,
  .collection-cards,
  .edition-cards,
  .live-preview,
  .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-browser {
    display: block;
  }
  .collection-context {
    display: grid;
  }
  .collection-project-picker {
    width: 100%;
    flex-basis: auto;
    justify-items: stretch;
  }
  .hero { margin-bottom: 18px; }
  .home-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 22px;
    padding: 42px 0 34px;
  }
  .home-hero h1 {
    max-width: 11ch;
    font-size: clamp(50px, 11vw, 82px);
  }
  .home-hero__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .product-shelf {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .product-card {
    min-height: 240px;
  }
  .product-card::before {
    left: auto;
    top: 18px;
    right: 18px;
    bottom: 18px;
    width: min(36%, 190px);
    height: auto;
  }
  .product-card::after {
    background: linear-gradient(90deg, rgba(255,252,246,.88) 0 62%, rgba(255,252,246,.22));
  }
  .product-card strong {
    font-size: clamp(40px, 9vw, 62px);
  }
  .panel { border-radius: 22px; }
  .nav-links { width: 100%; }
  .workflow-intro {
    display: block;
    margin: 0 0 10px;
    padding: 0 4px;
  }
  .workflow-intro .eyebrow {
    margin-bottom: 5px;
  }
  .workflow-intro p:not(.eyebrow) {
    max-width: 520px;
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
  }
  .command-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 13px 10px;
    border-radius: 999px;
  }
  .command-strip article {
    min-height: auto;
    gap: 7px;
    padding: 0 4px;
  }
  .command-strip p { display: none; }
  .pipeline li {
    min-height: 0;
    grid-template-columns: 1fr;
    align-content: center;
    align-items: start;
    gap: 4px;
    padding: 8px 5px;
  }
  .pipeline strong {
    min-width: 0;
    overflow: hidden;
    font-size: clamp(9px, 2.55vw, 11px);
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pipeline small {
    grid-column: auto;
    overflow: hidden;
    font-size: clamp(4.2px, 1.25vw, 5px);
    letter-spacing: .045em;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pipeline-marker {
    grid-row: auto;
    width: 13px;
    min-width: 13px;
    height: 13px;
    font-size: 6px;
  }
  .pipeline li[data-active="true"] .pipeline-marker {
    width: 13px;
    min-width: 13px;
    height: 13px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    letter-spacing: 0;
  }
  .action-alert {
    display: grid;
    gap: 12px;
    margin-top: -2px;
    padding: 14px;
  }
  .action-alert a,
  .action-alert button {
    width: 100%;
  }
  .pipeline-release {
    display: grid;
    gap: 12px;
    padding: 14px;
  }
  .story-link-card {
    grid-template-columns: 1fr;
  }
  .story-link-card button {
    width: 100%;
  }
  .pipeline-release .button-row {
    display: grid;
  }
  .priority-list article {
    grid-template-columns: 1fr;
  }
  .priority-list {
    grid-template-columns: 1fr;
  }
  .priority-list article:first-child {
    min-height: 138px;
  }
  .priority-list a {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }
  .room-grid a {
    min-height: 132px;
  }
  .gallery-status-summary,
  .gallery-status-card {
    min-height: 118px;
  }
  .gallery-status-card strong,
  .gallery-status-summary strong {
    white-space: normal;
  }
  .collection-choice,
  .edition-choice { min-height: auto; }
  .live-preview__copy { min-height: auto; }
  .live-preview { display: none; }
  .live-preview__copy .button {
    display: none;
  }
  .live-preview__device {
    display: none;
    aspect-ratio: 9 / 14;
    min-height: 0;
  }
  .live-preview__device iframe {
    min-height: 0;
    height: 100%;
  }
}

@media (max-width: 520px) {
  .studio-shell { padding: 12px 12px 96px; }
  .studio-nav {
    top: 8px;
    gap: 12px;
    margin-bottom: 34px;
    padding: 12px;
    border-radius: 20px;
  }
  .brand { gap: 9px; }
  .brand__mark {
    width: 30px;
    height: 38px;
  }
  .brand strong { font-size: 22px; }
  .brand span { font-size: 9px; letter-spacing: .16em; }
  .nav-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .nav-links a {
    min-width: 0;
    padding: 8px 4px;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 8px;
    letter-spacing: .1em;
  }
  .hero {
    margin-bottom: 16px;
  }
  .home-hero {
    padding: 30px 0 28px;
    margin-bottom: 14px;
  }
  .home-hero h1 {
    max-width: 10ch;
    font-size: clamp(42px, 12.8vw, 56px);
    line-height: .92;
  }
  .home-hero p:not(.eyebrow) {
    max-width: 32ch;
  }
  .home-hero__actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .product-shelf {
    margin-bottom: 14px;
  }
  .product-card {
    min-height: 230px;
    border-radius: 22px;
    padding: 18px;
  }
  .product-card::before {
    inset: auto 12px 12px;
    width: auto;
    height: 42%;
    border-radius: 18px;
    opacity: .58;
  }
  .product-card::after {
    background: linear-gradient(180deg, rgba(255,252,246,.9) 0 58%, rgba(255,252,246,.32));
  }
  .product-card strong {
    max-width: 9ch;
    font-size: clamp(38px, 12vw, 52px);
  }
  .product-card p {
    max-width: 28ch;
    font-size: 12px;
  }
  .hero h1 {
    max-width: 11ch;
    font-size: clamp(40px, 12vw, 52px);
    line-height: .94;
  }
  .hero p:not(.eyebrow) {
    max-width: 34ch;
    font-size: 13px;
    line-height: 1.55;
  }
  .dashboard-grid,
  .studio-grid,
  .studio-grid--home,
  .form-grid,
  .gallery-status-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .studio-grid {
    align-items: stretch;
  }
  .form-grid {
    gap: 12px;
  }
  .home-priority-card .panel-heading h2,
  .home-selected-card h2,
  .home-shortcuts-panel .panel-heading h2 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: .98;
  }
  .home-selected-card {
    min-height: 0;
    align-content: start;
  }
  .home-selected-card h2 {
    display: block;
    overflow: visible;
    -webkit-line-clamp: initial;
    overflow-wrap: anywhere;
  }
  .home-selected-card .panel-heading {
    gap: 12px;
  }
  .home-selected-card .panel-note {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.55;
  }
  .home-actions {
    margin-top: 18px;
  }
  .home-actions .button {
    min-height: 44px;
    justify-content: center;
    font-size: 9px;
    letter-spacing: .13em;
  }
  .priority-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .priority-list article,
  .priority-list article:first-child {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 14px;
  }
  .priority-list article:first-child strong,
  .priority-list strong {
    max-width: none;
    display: block;
    overflow: visible;
    -webkit-line-clamp: initial;
    font-size: clamp(26px, 8.4vw, 34px);
    line-height: 1;
    overflow-wrap: anywhere;
  }
  .priority-list span {
    padding: 5px 8px;
    font-size: 8px;
    letter-spacing: .14em;
  }
  .priority-list p {
    font-size: 12px;
    line-height: 1.4;
  }
  .priority-list p,
  .priority-list a {
    grid-column: 1;
    grid-row: auto;
  }
  .priority-list a {
    width: 100%;
    margin-top: 2px;
    min-height: 36px;
    justify-content: center;
    font-size: 8px;
    letter-spacing: .14em;
  }
  .gallery-status-card strong {
    font-size: clamp(28px, 9vw, 38px);
    line-height: 1;
  }
  .workflow-intro {
    margin-bottom: 8px;
  }
  .workflow-intro p:not(.eyebrow) {
    font-size: 11px;
  }
  .command-strip {
    margin-bottom: 16px;
    padding: 12px 8px;
  }
  .command-strip article {
    gap: 6px;
    padding: 0 2px;
  }
  .command-strip span {
    width: 9px;
    height: 9px;
    box-shadow: 0 0 0 4px rgba(255, 252, 246, .92);
  }
  .command-strip strong {
    font-size: 8px;
    letter-spacing: .08em;
  }
  .collection-cards,
  .edition-cards {
    gap: 7px;
  }
  .collection-choice strong {
    font-size: clamp(21px, 6.4vw, 23px);
    line-height: 1.12;
    transform: translateY(-1px);
  }
  .collection-choice,
  .edition-choice { border-radius: 20px; }
  .collection-choice {
    height: 76px;
    padding: 11px 10px;
  }
  .collection-choice span {
    font-size: 7px;
    letter-spacing: .14em;
  }
  .edition-choice {
    height: 50px;
    padding: 10px 12px;
  }
  .edition-choice strong {
    font-size: clamp(15px, 4.6vw, 18px);
  }
  .live-preview { padding: 12px; border-radius: 22px; }
  .live-preview__copy { padding: 16px; }
  .panel-heading { display: grid; }
  .status-pill { justify-self: start; }
  .step-top { align-items: flex-start; flex-direction: column; }
  .story-status {
    width: 100%;
    justify-content: space-between;
  }
  .progress-track { width: calc(100vw - 72px); }
  .pipeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .stepper {
    gap: 4px;
    margin-bottom: 24px;
    padding-inline: 2px;
    overflow-x: visible;
  }
  .stepper::before {
    left: 8px;
    right: 8px;
  }
  /* Nov 19 (Jay): each step takes the room its word needs, so the bigger
     current step ("PROGRAM") is never cut. No ring around the words. */
  .stepper li {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 30px;
  }
  .stepper button {
    min-height: 44px;
    padding-inline: 2px;
    box-shadow: none;
    font-size: 9px;
    letter-spacing: .06em;
  }
  .stepper button[aria-current="true"] { font-size: 11px; letter-spacing: .06em; }
  .gallery-mini { grid-template-rows: repeat(2, 104px); }
  .button-row { display: flex; }
  .room-grid { grid-template-columns: 1fr; }
  .story-actions {
    gap: 10px;
    margin-top: 30px;
    padding-top: 18px;
  }
  .story-actions button {
    min-width: 0;
  }
  .project-list button {
    grid-template-columns: minmax(0, 1fr);
  }
  .project-list-item {
    grid-template-columns: 1fr;
  }
  .project-list .project-delete {
    min-height: 38px;
  }
  .project-list em {
    grid-column: 1;
    grid-row: auto;
    align-self: start;
    margin-top: 4px;
  }
  .mobile-preview-sheet {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 29;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100vh;
    height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom);
    overflow: hidden;
    border: 1px solid rgba(255, 249, 239, .18);
    border-radius: 0;
    background: #070504;
    color: var(--cream);
    box-shadow: 0 30px 90px rgba(23, 17, 13, .42);
    opacity: 0;
    pointer-events: none;
    /* Fully hidden when closed, not only see-through: on Android Chrome an
       invisible full-screen invitation still took the page's swipes, so the
       Studio page could not scroll (Nov 2, 2026). */
    visibility: hidden;
    transform: translateY(18px) scale(.98);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  body[data-mobile-preview="open"] .mobile-preview-sheet {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
  }
  .mobile-preview-sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: calc(12px + env(safe-area-inset-top)) 12px 12px;
    border-bottom: 1px solid rgba(255, 249, 239, .12);
    background: rgba(23, 17, 13, .92);
  }
  .mobile-preview-sheet__header div {
    min-width: 0;
    display: grid;
    gap: 3px;
  }
  .mobile-preview-sheet__header span {
    color: rgba(255, 249, 239, .52);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .mobile-preview-sheet__header strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
  }
  .mobile-preview-sheet__header button {
    flex: 0 0 auto;
    min-height: 44px;
    border: 1px solid rgba(255, 249, 239, .18);
    border-radius: var(--radius-button);
    background: transparent;
    color: var(--cream);
    padding: 0 12px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .mobile-preview-sheet iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: #080706;
  }
}

@media (max-width: 430px) {
  .studio-shell { padding-inline: 10px; }
  .panel-pad { padding: 18px; }
  .studio-nav { padding: 10px; }
  .nav-links { gap: 5px; }
  .nav-links a { font-size: 7.5px; letter-spacing: .08em; }
  .panel h2,
  .panel h3 { font-size: clamp(30px, 10vw, 40px); }
  .collection-choice strong { font-size: clamp(20px, 6.2vw, 22px); }
  .edition-choice strong { font-size: 15px; }
}

@media (max-width: 360px) {
  .pipeline li {
    padding-inline: 3px;
  }
  .pipeline strong {
    font-size: 8px;
  }
  .pipeline small {
    font-size: 3.8px;
    letter-spacing: .035em;
  }
  .pipeline li[data-active="true"] .pipeline-marker {
    min-width: 28px;
    font-size: 4.4px;
  }
}

/* Login page (login.html) */
.login-main { display: grid; justify-items: center; padding-top: clamp(8px, 4vh, 48px); }
.login-card { width: 100%; max-width: 460px; }
.login-title { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(34px, 8vw, 46px); font-weight: 400; line-height: 1.05; }
.login-form { display: grid; gap: 16px; margin-top: 22px; }
.login-form input[type="email"], .login-form input[type="password"], .login-form input[type="text"] { min-height: 50px; font-size: 16px; }
.login-password-hint { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.login-password-hint[hidden], .login-show[hidden] { display: none; }
.login-show { display: flex; align-items: center; gap: 10px; letter-spacing: .08em; cursor: pointer; }
.login-show input { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--ink); }
.login-submit { justify-self: start; min-height: 50px; }
.login-submit:disabled { opacity: .6; cursor: default; }
.login-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; margin-top: 18px; }
.login-link { min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--accent); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.login-legal { margin: 20px 0 0; font-size: 12px; text-align: center; }
.login-legal .login-link { font-size: 12px; color: inherit; }
/* Messages are plain text with a thin line on the left, not a rounded box.
   A rounded box looked like an input field, so people tried to tap it. */
.login-message { margin: 18px 0 0; padding: 2px 0 2px 12px; border: 0; border-left: 3px solid var(--line); border-radius: 0; background: none; font-size: 14px; line-height: 1.5; }
.login-message[data-kind="error"] { border-left-color: #9f5c35; color: #7a3f1f; }
.login-message[data-kind="success"] { border-left-color: #3f714f; color: #2f5b3d; }
.login-signed-in strong { color: var(--ink); overflow-wrap: anywhere; }

/* The bar that says a project is waiting for review (js/review-notice.js). */
.review-notice {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(159, 92, 53, .34);
  border-radius: 18px;
  background: rgba(159, 92, 53, .1);
}
.review-notice strong { color: var(--ink); }
.review-notice ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.review-notice li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.review-notice li span { flex: 1 1 160px; min-width: 0; }
.review-notice li em {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.review-notice .button { min-height: 38px; }

/* Studio Home, quiet version (Oct 2026): short lists instead of big cards.
   Plain words: one line per project or gallery, a status dot, one button. */
.home-quiet { width: 100%; padding: 40px 0 72px; display: grid; gap: 40px; }
.home-today { display: grid; gap: 12px; max-width: 860px; }
.home-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.home-section-head h1, .home-section-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; letter-spacing: 0; }
.home-section-head h2 { font-size: 26px; }
.home-count { color: var(--muted); font-size: 13px; }
.home-head-link { color: var(--accent); font-size: 13px; text-decoration: none; }
.home-head-link:hover { text-decoration: underline; }
.home-today > .panel-note:empty { display: none; }
.home-section-intro { display: grid; gap: 4px; }
.home-section-label { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.home-section-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.home-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.home-row { display: grid; grid-template-columns: 132px minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.home-row:last-child { border-bottom: 0; }
.home-row__status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.home-row__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #a3978a; flex: none; }
.home-row[data-tone="urgent"] .home-row__status { color: var(--accent); font-weight: 600; }
/* Same dot colors as the sidebar: orange = needs attention, green = ready, grey = in progress. */
.home-row[data-tone="urgent"] .home-row__status::before, .home-row[data-tone="waiting"] .home-row__status::before { background: var(--accent); }
.home-row[data-tone="ready"] .home-row__status::before, .home-row[data-tone="complete"] .home-row__status::before { background: #3f714f; }
.home-row__main { min-width: 0; }
.home-row__main strong { display: block; font-size: 15px; font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-row__main small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.home-row__main .sample-label, .studio-sidebar .project-list .sample-label, .gallery-row__title .sample-label { margin-left: 5px; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.home-row__action { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-button); color: var(--ink); background: transparent; font-size: 13px; text-decoration: none; white-space: nowrap; }
.home-row[data-tone="urgent"] .home-row__action { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.home-row__action:hover { border-color: var(--ink); }
.home-empty { padding: 14px 4px; color: var(--muted); font-size: 14px; }
.home-more { padding-top: 6px; }
.home-more button { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--accent); font: inherit; font-size: 14px; cursor: pointer; }
.home-more button:hover { text-decoration: underline; }
.home-more button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 640px) {
  .home-quiet { padding: 20px 0 48px; gap: 32px; }
  .home-section-head h1 { font-size: 28px; }
  .home-row { grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; }
  .home-row__status { grid-column: 1; grid-row: 1; }
  .home-row__main { grid-column: 1; grid-row: 2; }
  .home-row__main strong { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
  .home-row__action { grid-column: 2; grid-row: 1 / span 2; min-height: 44px; }
}

/* Collections page: a short header with the event picker, then photo cards
   grouped for couples and for birthdays, Editions as small pills, and the
   live preview. Replaces the large boxes and the "Use in Workspace" bar. */
.collections-page .collections-main { display: grid; gap: 22px; padding-bottom: 48px; }
.collections-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 24px;
  align-items: end;
  padding-top: 8px;
}
.collections-title h1 { margin: 0; font-family: var(--serif); font-size: clamp(32px, 4vw, 44px); font-weight: 400; line-height: 1.1; }
.collections-title p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.collections-title .collections-title-note { margin-top: 4px; font-size: 12px; }
.collections-event { display: flex; align-items: end; gap: 10px; }
.collections-event label { display: grid; gap: 4px; color: var(--muted); font-size: 12px; }
.collections-event select { min-height: 42px; min-width: 200px; }
.collections-open {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.collections-open:hover { border-color: var(--ink); }
.collections-saved { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; }
.collections-saved:empty { display: none; }
.collections-use-bar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.collections-use-bar[hidden] { display: none; }
.collections-use-bar__prompt { flex: 0 0 100%; margin: 0; line-height: 1.4; overflow-wrap: anywhere; }
.collections-use {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-button);
  background: var(--ink);
  color: var(--cream);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.collections-cancel {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.collections-page .collection-browser { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.collections-page .collection-browser > * { min-width: 0; }
.collections-group-title {
  margin: 14px 0 2px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.collection-card {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 0 0 6px;
  border: 0;
  background: none;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.collection-card__photo {
  display: block;
  aspect-ratio: 4 / 5;
  margin-bottom: 8px;
  border-radius: 12px;
  background: #2a211b center / cover no-repeat;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.collection-card:hover .collection-card__photo { transform: translateY(-2px); }
.collection-card[aria-pressed="true"] .collection-card__photo { box-shadow: 0 0 0 2px var(--ink), 0 0 0 5px var(--cream); }
.collection-card[aria-pressed="true"]::after {
  content: "\2713";
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
}
.collection-card strong { font-family: var(--serif); font-size: 19px; font-weight: 400; line-height: 1.2; }
.collection-card small { color: var(--muted); font-size: 12px; }
.collection-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 12px; }
.collections-page .edition-browser { margin-top: 6px; }
.collections-page .edition-cards { display: flex; flex-wrap: wrap; gap: 8px; }
.edition-pill {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.edition-pill[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--cream); }
@media (max-width: 920px) {
  .collections-page .live-preview { position: static; grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
  .collections-top { grid-template-columns: minmax(0, 1fr); }
  .collections-event { width: 100%; }
  .collections-event label { flex: 1 1 auto; }
  .collections-event select { min-width: 0; width: 100%; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .collection-card strong { font-size: 17px; }
  .collection-card__photo { aspect-ratio: 4 / 3; }
  /* On phones the choice stays in reach at the bottom of the screen. */
  /* One slim line: event name, a quiet "Keep current" link, one "Use" button. */
  .collections-use-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 30;
    align-items: center;
    flex-wrap: nowrap;
    gap: 14px;
    padding: 7px 7px 7px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-button);
    background: #fffcf6;
    box-shadow: 0 10px 30px rgba(23, 17, 13, .14);
  }
  body[data-mobile-preview="open"] .collections-use-bar { display: none; }
  .collections-use-bar__prompt {
    flex: 1 1 auto; min-width: 0; color: var(--muted); font-size: 13px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal;
  }
  .collections-cancel {
    order: 1; flex: 0 0 auto; min-height: 40px; padding: 0 2px; border: 0;
    color: var(--muted); font-size: 13px; white-space: nowrap;
    text-decoration: underline; text-underline-offset: 3px;
  }
  .collections-use { order: 2; flex: 0 0 auto; min-height: 40px; padding: 0 20px; font-size: 14px; white-space: nowrap; }
  .collections-page .collections-main { padding-bottom: 96px; }
}
@media (min-width: 921px) {
  .collections-page .collection-browser { grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); column-gap: 28px; }
  .collections-page .live-preview { grid-row: 1 / span 2; }
}

/* Small muted note under a gallery card (e.g. the AI sample photos note). */
.gallery-row__note { margin: 4px 0 0; color: var(--muted); font-family: inherit; font-size: 12px; line-height: 1.5; }

/* ---- Studio Home "desk" (v3, Oct 21): calm, spacious; only "Needs you" is a card. ---- */
.home-desk { width: 100%; max-width: 720px; padding: 32px 0 64px; display: grid; gap: 44px; color: var(--ink); }
.desk-hello { display: grid; gap: 10px; }
.desk-eyebrow { margin: 0; font-size: 11px; letter-spacing: .2em; color: #6f655c; }
.desk-hello h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 6vw, 42px); line-height: 1.1; letter-spacing: 0; }
.desk-summary { margin: 0; font-size: 15px; line-height: 1.5; color: #5f554d; }
.desk-summary strong { color: #8a4f2d; font-weight: 600; }
.desk-summary .desk-summary__calm { color: #3d6b4a; }
.desk-hello .panel-note:empty { display: none; }
.desk-actions { display: flex; gap: 10px; margin-top: 10px; max-width: 460px; }
.desk-btn { flex: 1; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid rgba(42,31,22,.22); border-radius: var(--radius-button); color: var(--ink); background: transparent; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.desk-btn--dark { background: var(--ink); border-color: var(--ink); color: #fbf6ef; }
.desk-btn:hover { border-color: var(--ink); }
.desk-btn:focus-visible, .desk-link:focus-visible, .desk-more:focus-visible, .desk-need__action:focus-visible, .desk-event:focus-visible, .desk-gallery:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.desk-section { display: grid; gap: 12px; min-width: 0; }
/* Next event: the one dark card on Home (Founder-approved mockup, Nov 14). */
.desk-next { display: grid; gap: 18px; min-width: 0; padding: 24px; border-radius: 14px; background: var(--ink); color: #fbf6ef; }
.desk-next[hidden] { display: none; }
.desk-next__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: rgba(251,246,239,.78); }
.desk-next__top h2 { margin: 0; font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: inherit; }
.desk-next__who { display: grid; gap: 8px; min-width: 0; }
.desk-next__name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 7vw, 44px); line-height: 1.05; overflow-wrap: anywhere; }
.desk-next__meta { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(251,246,239,.78); }
.desk-next .sample-label { color: rgba(251,246,239,.72); }
.desk-next__stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid rgba(251,246,239,.16); border-bottom: 1px solid rgba(251,246,239,.16); }
.desk-next__stats div { display: grid; gap: 4px; padding: 14px 0; }
.desk-next__stats div + div { padding-left: 16px; border-left: 1px solid rgba(251,246,239,.16); }
.desk-next__stats b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; }
.desk-next__stats span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(251,246,239,.72); }
.desk-next__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.desk-next__btn { flex: 1 1 0; min-height: 46px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid rgba(251,246,239,.38); border-radius: var(--radius-button); background: transparent; color: #fbf6ef; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; }
.desk-next__btn--light { background: #fbf6ef; border-color: #fbf6ef; color: var(--ink); }
.desk-next__btn:hover { border-color: #fbf6ef; }
.desk-next__btn:focus-visible { outline: 2px solid #fbf6ef; outline-offset: 2px; }
.desk-next__note { margin: -6px 0 0; font-size: 13px; color: rgba(251,246,239,.78); }
.desk-next__note:empty { display: none; }
@media (min-width: 641px) {
  .desk-next { padding: 32px; }
  .desk-next__btn { flex: 0 1 220px; }
}
.desk-head { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.desk-head h2 { margin: 0; font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.desk-head__note { margin-left: auto; font-size: 12px; color: #6f655c; }
.desk-badge { min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.desk-link { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; color: #8a4f2d; text-decoration: none; }
.desk-link:hover { text-decoration: underline; }
/* No box (Jay, Nov 2): Needs you is a plain list with lines, like "Coming up". */
.desk-card { background: none; border: 0; border-radius: 0; }
.desk-needs { list-style: none; margin: 0; padding: 0; }
.desk-need { display: flex; align-items: center; gap: 14px; padding: 14px 0; }
.desk-need + .desk-need { border-top: 1px solid rgba(42,31,22,.1); }
.desk-need__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #f3e6d8; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.desk-need__text { flex: 1; min-width: 0; display: grid; gap: 3px; }
/* Same quiet serif as the event names under "Coming up" (Jay, Nov 2: the bold sans looked heavy). */
.desk-need__text strong { font-family: var(--serif); font-size: 19px; font-weight: 400; line-height: 1.25; overflow-wrap: anywhere; }
.desk-need__text small { font-size: 13px; color: #645a52; }
.desk-need__action { flex: none; min-height: 44px; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a4f2d; text-decoration: none; }
.desk-more { min-height: 44px; padding: 0 16px; border: 0; background: none; color: #6b6158; font: inherit; font-size: 13px; cursor: pointer; }
.desk-card > .desk-more { width: 100%; padding: 0; text-align: left; border-top: 1px solid rgba(42,31,22,.1); }
.desk-more:hover { color: var(--ink); text-decoration: underline; }
.desk-calm { margin: 0; color: #3d6b4a; font-size: 14px; }
.desk-events { list-style: none; margin: 0; padding: 0; }
.desk-events > li + li { border-top: 1px solid rgba(42,31,22,.1); }
.desk-events .desk-more { padding: 0; }
.desk-event { display: flex; align-items: center; gap: 16px; padding: 14px 0; color: var(--ink); text-decoration: none; }
.desk-date { flex: none; width: 52px; height: 58px; border-radius: 10px; background: #efe5d9; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.desk-date b { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1; }
.desk-date small { font-size: 8.5px; letter-spacing: .06em; white-space: nowrap; }
.desk-date--next { background: var(--ink); color: #fbf6ef; }
.desk-event__text { flex: 1; min-width: 0; display: grid; gap: 4px; }
.desk-event__text strong { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.2; overflow-wrap: anywhere; }
.desk-event__text small { font-size: 13px; color: #645a52; }
.desk-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #645a52; }
.desk-status::before { content: ""; flex: none; width: 7px; height: 7px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid #8b8078; }
.desk-status[data-tone="ready"] { color: #3d6b4a; }
.desk-status[data-tone="ready"]::before { background: #4f8a5e; border-color: #4f8a5e; }
.desk-status[data-tone="urgent"] { color: #8a4f2d; }
.desk-status[data-tone="urgent"]::before { background: var(--accent); border-color: var(--accent); }
.desk-chevron { flex: none; color: #8b8078; }
.desk-event:hover .desk-event__text strong { text-decoration: underline; text-underline-offset: 3px; }
.desk-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; }
.desk-gallery { flex: none; width: 210px; display: grid; gap: 6px; color: var(--ink); text-decoration: none; scroll-snap-align: start; }
.desk-gallery__cover { position: relative; display: block; width: 210px; height: 262px; border-radius: 14px; overflow: hidden; background: #2a211b; margin-bottom: 4px; }
.desk-gallery__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.desk-gallery__badge { position: absolute; left: 10px; top: 10px; padding: 5px 9px; border-radius: 6px; background: rgba(23,17,13,.72); color: #fbf6ef; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.desk-gallery strong { font-family: var(--serif); font-weight: 400; font-size: 19px; }
.desk-gallery small { font-size: 13px; color: #645a52; }
.desk-empty { margin: 0; padding: 6px 0; color: #645a52; font-size: 14px; list-style: none; }
/* "Start here" (Nov 13): first steps for a new photographer. A soft card so it reads as the place to begin. */
.desk-start { gap: 8px; padding: 6px 20px 8px; border: 1px solid rgba(138,79,45,.18); border-radius: 14px; background: #fbf5ee; }
.desk-start__lead { margin: -4px 0 0; font-size: 14px; line-height: 1.5; color: #5f554d; }
.desk-start__steps { list-style: none; margin: 0; padding: 0; }
.desk-start__mark { font-size: 14px; font-weight: 700; }
.desk-start__step[data-done] .desk-start__mark { background: #e3efe5; color: #3d6b4a; }
.desk-start__step[data-done] .desk-need__text strong { color: #6f655c; }
.desk-start__done { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #3d6b4a; }
.desk-start__hide { justify-self: start; padding: 0; }
@media (max-width: 640px) {
  .desk-start { padding: 4px 14px 6px; }
  .desk-start .desk-need { gap: 12px; }
}
.home-desk .sample-label { margin-left: 5px; color: var(--muted); font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 640px) {
  .home-desk { padding: 20px 4px 48px; gap: 40px; }
  .desk-gallery, .desk-gallery__cover { width: 190px; }
  .desk-gallery__cover { height: 238px; }
}

/* Events: the same quiet desk, with room to find any event. */
.events-page .studio-content { min-width: 0; }
.events-topbar { gap: 4px; flex-wrap: nowrap; }
.events-page .account-chip { display: none; }
.events-back, .events-new { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; border-radius: var(--radius-button); }
.events-new { margin-left: auto; font-size: 30px; font-weight: 300; line-height: 1; }
.events-wordmark { font-family: var(--serif); font-size: 17px; letter-spacing: .16em; white-space: nowrap; }
.events-main { box-sizing: border-box; width: 100%; max-width: 720px; padding: 24px 0 64px; min-width: 0; }
.events-main h1 { margin: 0 0 22px; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 7vw, 44px); line-height: 1.1; }
.events-search { box-sizing: border-box; min-height: 50px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border: 1px solid rgba(42,31,22,.23); border-radius: var(--radius-field); color: #6f655c; background: #fffcf7; }
.events-search input { width: 100%; min-width: 0; min-height: 48px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; }
body.studio-glass .events-search input:focus-visible { outline: 0; }
.events-search input::placeholder { color: #827870; }
.events-tabs { display: flex; gap: 26px; min-width: 0; overflow-x: auto; border-bottom: 1px solid rgba(42,31,22,.14); margin: 18px 0 10px; scrollbar-width: thin; }
.events-tabs button { flex: none; min-height: 44px; padding: 0 1px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: #6f655c; font: inherit; font-size: 14px; white-space: nowrap; cursor: pointer; }
.events-tabs button[data-show="needs"] { color: #8a4f2d; }
.events-tabs button[aria-selected="true"] { border-bottom-color: currentColor; font-weight: 600; }
.events-list { min-width: 0; }
.events-month h2 { margin: 28px 0 5px; color: #72675e; font-size: 11px; font-weight: 600; letter-spacing: .2em; }
.events-row { min-height: 72px; box-sizing: border-box; }
.events-row .desk-date { width: 52px; height: 56px; }
.events-row .desk-date b { font-size: 24px; }
.events-row .desk-event__text strong { font-size: 18px; }
.events-row .sample-label { margin-left: 5px; color: var(--muted); font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
/* Events list "⋯" menu (Open, Delete event), Nov 23. */
.events-item { position: relative; display: flex; align-items: center; gap: 4px; }
.events-item > .events-row { flex: 1 1 auto; min-width: 0; }
.events-more { position: relative; flex: none; }
.events-more__button { -webkit-tap-highlight-color: transparent; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: var(--radius-button, 8px); background: transparent; color: #8b8078; cursor: pointer; }
.events-more__button:hover, .events-more__button[aria-expanded="true"] { background: rgba(42,31,22,.08); color: var(--ink); }
.events-more__button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.events-more__menu { position: absolute; top: calc(100% + 4px); right: 0; z-index: 20; display: grid; min-width: 160px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper, #fffcf7); box-shadow: 0 16px 40px rgba(23,17,13,.16); }
.events-more__menu[hidden] { display: none; }
.events-more__menu > a, .events-more__menu > button { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; line-height: 1.4; text-align: left; text-decoration: none; cursor: pointer; }
.events-more__menu > :hover { background: rgba(42,31,22,.06); }
.events-more__menu > .is-danger { color: #9b3b2f; }
.events-more__menu > :focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.events-item[data-menu-open] { z-index: 2; }
.events-past { min-height: 44px; margin-top: 18px; padding: 0; border: 0; border-radius: var(--radius-button); background: none; color: #6b6158; font: inherit; font-size: 13px; cursor: pointer; }
.desk-more--link { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.events-footer { margin-top: 72px; padding-top: 20px; border-top: 1px solid rgba(42,31,22,.12); color: #827870; font-size: 10px; letter-spacing: .19em; }
.events-back:focus-visible, .events-new:focus-visible, .events-search:focus-within, .events-tabs button:focus-visible, .events-past:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) {
  .events-main { padding: 18px 4px 48px; }
  .events-tabs { gap: 22px; }
  .events-wordmark { font-size: 14px; letter-spacing: .09em; }
}

/* Under the Event type field when a birthday Collection locks it. The note makes
   that row taller, so fields in the row keep their own height (no stretched box). */
.form-grid > label { align-content: start; }
.event-type-note { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; line-height: 1.45; text-transform: none; }
/* Nov 13: room between the Details form and the Music card under it. */
[data-project-form] + .story-link-card { margin-top: 24px; }

/* iPhone zooms in when you tap a text field smaller than 16px, and does not
   zoom back out (found in the Nov 3, 2026 iPhone test). On touch screens
   every typing field is 16px; computers keep the design size.
   !important because some fields set their own smaller size. */
@media (hover: none) and (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]),
  select,
  textarea { font-size: 16px !important; }
  /* Typing fields used to take the label's bold; at 16px that looked heavy. */
  label input, label select, label textarea { font-weight: 400; }
}

/* Motif colors (Story Builder): a small rounded square chip + one word per row. */
.motif-field h3 { margin: 0 0 4px; }
.motif-field .step-note { margin: 0 0 12px; }
/* Nov 14 (Jay): the 44px squares looked heavy. Now a small minimal circle. */
.motif-row { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; margin-bottom: 10px; }
.motif-row input[type="color"] {
  -webkit-appearance: none; appearance: none;
  width: 30px; height: 30px; min-height: 0; padding: 0; margin: 0;
  border: 0; border-radius: 50%; background: none; overflow: hidden; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0,0,0,.14);
}
.motif-row input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.motif-row input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.motif-row input[type="color"]::-moz-color-swatch { border: 0; border-radius: 50%; }

/* Nov 12 (Jay): the Story form's big heading was too loud on a phone and
   squeezed to the left (11 characters per line). Calmer size, full width. */
.story-hero h1 { max-width: 20ch; font-size: clamp(30px, 5vw, 52px); line-height: 1.08; }
@media (max-width: 720px) {
  .story-hero h1 { max-width: none; font-size: clamp(28px, 8vw, 34px); line-height: 1.12; }
}

/* Nov 13 (Jay): Family & Entourage in the Story form. Weddings, prenups and
   christenings only. Each group = a name + one person per line. */
body:not([data-event-type="wedding"]):not([data-event-type="prenup"]):not([data-event-type="christening"]):not([data-event-type="birthday"]) .entourage-only { display: none; }
.entourage-field h3 { margin: 0 0 4px; }
.entourage-field .step-note { margin: 0 0 12px; }
.entourage-list { display: grid; gap: 16px; }
.entourage-list:empty { display: none; }
/* Person numbers sit outside the fields; retain the Story Builder palette. */
.entourage-body, [data-person-list] { display: grid; gap: 12px; min-width: 0; }
.entourage-body[hidden] { display: none; }
.entourage-toggle, .person-remove, .entourage-body [data-add-person] { font: inherit; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-button); padding: 9px 12px; background: transparent; }
.person-list-label { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.entourage-card { min-width: 0; }
.entourage-toggle { text-align: left; width: 100%; min-width: 0; min-height: 44px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entourage-person { display: grid; grid-template-columns: 20px minmax(0, 1fr) 44px; gap: 8px; align-items: start; }
.person-number { padding-top: 14px; color: var(--muted); font-size: 13px; }
.person-fields { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; min-width: 0; }
.person-fields:has(> :last-child:nth-child(2)) { grid-template-columns: 2fr 1fr; }
.person-field { min-width: 0; }
.person-field input { width: 100%; min-width: 0; }
.person-remove { min-width: 44px; min-height: 44px; padding: 0; }
/* Claude QC (Nov 16): the header looked like a text box. A small arrow shows it opens/closes. */
.entourage-toggle { position: relative; padding-right: 40px; }
.entourage-toggle::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); opacity: .6; }
.entourage-toggle[aria-expanded="false"]::after { transform: translateY(-50%) rotate(-45deg); }
.person-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 600px) {
  .person-fields, .person-fields:has(> :last-child:nth-child(2)) { grid-template-columns: minmax(0, 1fr); }
  .person-field input { font-size: 16px; }
  /* Claude QC: on phone each person is 2-3 stacked boxes; a line + space between people
     shows where one person ends and the next starts. */
  .entourage-person + .entourage-person { padding-top: 14px; border-top: 1px solid var(--line); }
}
.entourage-suggest { margin-top: 12px; }
.entourage-suggest:empty { display: none; }
.entourage-field .button-row { margin-top: 12px; }

/* Nov 14 (Jay): "See looks →" beside the Collection label. */
.label-with-link { position: relative; }
.label-with-link > a { position: absolute; top: 0; right: 0; line-height: inherit; color: var(--accent, #9f5c35); font-size: 13px; font-weight: 500; letter-spacing: normal; text-transform: none; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Nov 14: "Your Studio is ready" (all 3 first steps done). */
.desk-start[data-ready] { border-color: rgba(61,107,74,.25); background: #f3f7f1; }
.desk-start[data-ready] #desk-start-title { color: #3d6b4a; }

/* Nov 19 (Jay): motif colors from a named library (js/motif-palette.js).
   The 5 real rows stay in the form, hidden; the picker writes into them. */
.motif-field.has-motif-picker .motif-row { display: none; }
.motif-picker { display: grid; gap: 14px; min-width: 0; }
.motif-picker__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.motif-picker__label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.motif-picker__count { font-size: 12px; color: var(--muted); }
.motif-picker__chosen { display: grid; gap: 8px; }
.motif-empty { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.motif-chosen {
  display: grid; grid-template-columns: 34px 1fr 40px; gap: 12px; align-items: center;
  padding: 8px 8px 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-button);
  background: rgba(255, 252, 246, .9);
}
.motif-chosen__dot { width: 34px; height: 34px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.motif-chosen__text { display: grid; gap: 2px; min-width: 0; }
.motif-chosen__text input { width: 100%; min-height: 0; padding: 4px 0; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: transparent; font-size: 15px; box-shadow: none; }
.motif-chosen__text input:focus { outline: none; border-bottom-color: var(--accent); }
.motif-chosen__text input[data-motif-hex] { font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.motif-chosen__text small { font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.motif-chosen__remove { width: 40px; height: 40px; min-height: 0; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.motif-chosen__remove:hover { color: var(--ink); }
.motif-picker__note { margin: 0; font-size: 13px; color: var(--accent); }
.motif-picker__search { width: 100%; }
.motif-picker__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 10px;
  max-height: 300px; overflow-y: auto; padding: 4px 2px; -webkit-overflow-scrolling: touch;
}
.motif-option {
  display: flex; align-items: center; gap: 10px; min-height: 44px; min-width: 0; padding: 6px 8px;
  border: 0; border-radius: var(--radius-button); background: transparent; color: var(--ink);
  font-size: 14px; text-align: left; cursor: pointer;
}
.motif-option span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.motif-option__dot { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.motif-option:hover { background: rgba(42, 31, 22, .04); }
.motif-option[aria-pressed="true"] { background: rgba(159, 92, 53, .08); color: var(--accent); font-weight: 600; }
.motif-option[aria-pressed="true"] .motif-option__dot { box-shadow: 0 0 0 2px #fffaf2, 0 0 0 3px var(--accent); }
.motif-picker__custom {
  justify-self: start; min-height: 40px; padding: 0 14px; border: 1px dashed rgba(42, 31, 22, .3);
  border-radius: var(--radius-button); background: transparent; color: var(--ink); font-size: 13px; cursor: pointer;
}
.motif-picker__palettes summary { cursor: pointer; font-size: 13px; color: var(--ink); padding: 6px 0; }
.motif-picker__palettes summary small { color: var(--muted); }
.motif-picker__palettes [data-motif-palettes] { display: grid; gap: 6px; margin-top: 8px; }
.motif-palette-option {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 10px;
  border: 1px solid var(--line); border-radius: var(--radius-button); background: rgba(255, 252, 246, .9);
  color: var(--ink); font-size: 13px; text-align: left; cursor: pointer;
}
.motif-palette-option__dots { display: flex; flex: 0 0 auto; }
.motif-palette-option__dots span { width: 20px; height: 20px; margin-right: -5px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 2px #fffaf2; }
.motif-palette-option__dots span:last-child { margin-right: 0; }
.motif-picker__hint { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
/* Nov 14: Pro switch for the MOUMEANTS sign-off on invitations. */
.studio-signoff { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin-top: 20px; font-size: 13px; }
/* Nov 15 (Jay): plain small text, not the big all-caps field label. */
.studio-signoff, label.studio-signoff { font-family: inherit; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
.studio-signoff input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; }
.studio-signoff:has(input:disabled) { opacity: .6; }

/* Settings: usage stays beside the account plan, never on Home. */
.settings-usage { margin: 18px 0 4px; padding-top: 16px; min-width: 0; border-top: 1px solid var(--line); }
.settings-usage[hidden] { display: none; }
/* Nov 15 (Jay): small, minimal, all caps title; no box in a box. */
.settings-usage h3 { margin: 0 0 8px; font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.settings-usage__line { margin: 0 0 10px; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.settings-usage__bar { height: 4px; background: var(--line); overflow: hidden; }
.settings-usage__fill { display: block; height: 100%; width: 0; background: var(--accent); }
.settings-usage .panel-note { margin: 12px 0 0; font-size: 12px; }

.test-event-setting { margin-top: 20px; }
.test-event-setting label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.test-event-setting input { width: 16px; height: 16px; min-height: 0; margin: 0; }
.test-event-setting small, .test-event-setting p { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; margin: 6px 0 0; }
.test-event-setting p:empty { display: none; }
.event-test-tag { color: var(--muted); font: 10px/1.4 Jost, sans-serif; letter-spacing: .1em; white-space: nowrap; }
.gallery-editor-page .editor-form .test-event-setting label { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.gallery-editor-page .editor-form .test-event-setting input { width: 16px; min-width: 16px; min-height: 16px; height: 16px; padding: 0; margin: 0; border-radius: 2px; }

/* Nov 19 (Jay): Story form top bar. Full width, stuck to the top (under the
   PREVIEW band when there is one), frosted so the form blurs under it. */
.story-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 249, 243, .82);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(55, 38, 25, .06);
}
body.has-preview-band .story-nav { top: var(--preview-band-height); }
/* "hidden" on the body makes it its own scroll box and breaks sticky;
   "clip" hides sideways overflow the same way without breaking it. */
body:has(.story-nav) { overflow-x: clip; }
.story-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px clamp(18px, 3vw, 36px);
}
@media (max-width: 520px) {
  .story-nav__inner { padding: 10px 14px; }
  .story-nav .brand__mark { width: 26px; height: 32px; }
  .story-nav .brand strong { font-size: 20px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .story-nav { background: rgba(253, 249, 243, .97); }
}

.send-confirmation {
  position: fixed;
  inset: auto;
  top: var(--visible-center, 50%);
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(440px, calc(100vw - 32px));
  max-height: calc(var(--visible-height, 100dvh) - 24px);
  margin: 0;
  overflow: auto;
  padding: 20px;
  border: 1px solid #997240;
  border-left: 3px solid #dfac69;
  border-radius: 8px;
  background: #302219;
  color: #f4e9db;
}
.send-confirmation::backdrop { background: #130e0bb8; }
.send-confirmation h2 { margin: 0 0 8px; color: #f1be7e; font: 500 26px/1.1 var(--serif, Georgia, serif); }
.send-confirmation p { margin: 0; white-space: pre-line; line-height: 1.5; }
.send-confirmation__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.send-confirmation__actions button { padding: 8px 12px; min-height: 44px; border: 1px solid #bc915d; border-radius: 8px; background: transparent; color: inherit; }
.send-confirmation__actions .send-confirmation__primary { background: #dfac69; color: #24170e; }
