/*
 * memorials directives — full text in DIRECTIVES.md
 * 1. SSOT — Extend the one that exists. Never a second copy that can disagree.
 * 2. Caveman comments — Shortest technical line that lands. Why, not what.
 * 3. No post-mortems — Code says what is, never what it used to be. Git keeps the history.
 * end directives
 */
/* The family's workflow pages in the console's voice: sans, 8px corners,
 * tight. Loads after site.css on the family's own pages — submit, manage,
 * manage_find, resume, thanks. The published notice keeps the paper serif,
 * because that page is the product and these are the counter you buy it at.
 */

.site { --font-work: "IBM Plex Sans", Helvetica, Arial, sans-serif; }

.page-head { gap: 12px; padding: 48px 0 32px; }
.page-head h1 {
  font-family: var(--font-work); font-weight: 600; font-size: 32px;
  line-height: 1.15; letter-spacing: -.01em;
}
.page-head p { font-family: var(--font-work); font-size: 15px; line-height: 1.6; color: var(--color-muted); }
.hero--message h1 { font-family: var(--font-work); font-weight: 600; font-size: 32px; }
.hero--message .epitaph { font-family: var(--font-work); font-style: normal; font-size: 15px; color: var(--color-muted); }

.memorial--form { gap: 28px; }
.fieldset { gap: 16px; }
.field { font-size: 13px; font-weight: 500; color: var(--color-ink-3); gap: 6px; }
.form__fine { font-weight: 400; }

.input, .form input, .form textarea, .form select {
  border-radius: 8px; padding: 10px 12px;
  /* 16px, never less: iOS zooms into any field it deems too small to read. */
  font-size: 16px;
  font-family: var(--font-work);
}
/* iOS hands date and time inputs a native widget with an intrinsic width
   that width:100% cannot override; only dropping the appearance lets the
   box obey the layout. The picker itself is untouched. */
input[type="date"].input, input[type="time"].input {
  -webkit-appearance: none; appearance: none;
  width: 100%; min-height: 44px;
}
::-webkit-date-and-time-value { text-align: left; }
.input:focus, .form input:focus, .form textarea:focus {
  border-color: var(--color-rule-2); box-shadow: 0 0 0 3px rgba(44, 42, 38, .08);
}

/* base.css draws the button; the counter speaks in the working face. */
.btn { font-family: var(--font-work); font-weight: 500; }
/* Tighter than base.css's: these sit inside a card, beside the field they act on. */
.btn--sm { padding: 9px 16px; font-size: 13px; }

.card, .choice, .panel, .service-row { border-radius: 12px; }
.choice { padding: 16px 18px; }
.choice__name { font-family: var(--font-work); font-size: 15px; font-weight: 600; }
.card__meta { font-size: 13px; }
.choice--pill { display: flex; justify-content: center; border-radius: 8px; padding: 9px 12px; font-size: 14px; gap: 8px; align-items: center; cursor: pointer; background: var(--color-card); border: 1px solid var(--color-rule-2); }
.choice--pill input { margin-top: 0; }
.card__date { font-family: var(--font-work); font-size: 20px; font-weight: 600; }

.panel { padding: 20px 22px; gap: 8px; }
.panel__body { font-size: 13px; }

.row-2, .row-3 { gap: 14px; }
.service-row { padding: 14px 16px; gap: 12px; }

/* ---------- the wizard ---------- */
/* The mockup's centered flow, spoken in the site's tokens: sage is the
 * outlet's accent, wells are paper-alt, 8px controls and 12px cards as above.
 */

.wiz { max-width: 880px; margin: 0 auto; padding-bottom: 88px; display: flex; flex-direction: column; gap: 20px; }
.wiz__head {
  padding: 34px 0 6px; display: flex; flex-direction: column; gap: 26px;
  align-items: center; text-align: center;
}
/* The rail runs a touch wider than the 880px form so it reads as the stage's
 * marquee, not another form row. Each stop is a rounded-square chip. */
.wiz__rail { display: flex; align-items: center; justify-content: center; gap: 0; width: min(1000px, 100%); align-self: center; }
.wiz__stop {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 12px; font-family: var(--font-work);
  background: var(--color-card); border: 2px solid var(--color-rule-2); border-radius: 12px;
  padding: 10px 18px 10px 12px;
}
.wiz__stop:has(.wiz__dot--now) { border-color: var(--color-ink); }
.wiz__stop:has(.wiz__dot--done) { border-color: var(--color-accent-rule); background: var(--color-accent); }
.wiz__dot {
  width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 14px; font-weight: 600; font-family: var(--font-work);
  border: 0; color: var(--color-muted); background: var(--color-paper-alt);
}
.wiz__dot--now { background: var(--color-ink); color: var(--color-paper); }
.wiz__dot--done { background: var(--color-card); color: var(--color-accent-ink); }
.wiz__stoplabel { font-size: 15px; font-weight: 500; letter-spacing: .02em; color: var(--color-muted); }
.wiz__stoplabel--now { color: var(--color-ink); font-weight: 600; }
.wiz__stop:has(.wiz__dot--done) .wiz__stoplabel { color: var(--color-accent-ink); }
.wiz__line { flex: 1; max-width: 110px; height: 2px; border-radius: 2px; background: var(--color-rule-2); }
.wiz__title { margin: 0; font-family: var(--font-work); font-weight: 700; font-size: 42px; line-height: 1.12; letter-spacing: -.015em; color: #1b1915; }
.wiz__blurb { margin: 0; max-width: 540px; font-family: var(--font-work); font-size: 16px; line-height: 1.6; color: var(--color-muted); text-wrap: pretty; }

.wiz form, .wiz__step { display: flex; flex-direction: column; gap: 20px; }
.wiz__card {
  background: var(--color-card); border: 1px solid var(--color-rule);
  border-radius: 12px; box-shadow: 0 1px 2px rgba(74, 64, 48, .05);
  padding: 24px 26px; display: flex; flex-direction: column; gap: 18px;
}
.wiz__card--tight { gap: 12px; }
.wiz__card--alert { border-color: var(--color-danger); gap: 8px; }
.wiz__cardhead { display: flex; flex-direction: column; gap: 5px; }
.wiz__cardhead--split { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.wiz__cardname { margin: 0; font-family: var(--font-work); font-weight: 600; font-size: 19px; }
.wiz__sub { margin: 0; font-family: var(--font-work); font-size: 15px; line-height: 1.6; color: var(--color-muted-2); }
.wiz__rule { height: 1px; background: var(--color-rule); }
.wiz__label { font-size: 14px; font-weight: 500; color: var(--color-ink-3); display: inline-flex; align-items: center; gap: 6px; }
.wiz__req { color: var(--color-danger); font-weight: 700; font-size: 1.2em; line-height: 1; }
.wiz__ask { margin: 0; font-family: var(--font-work); font-size: 15px; line-height: 1.6; color: var(--color-ink-3); }

.wiz .input { background: var(--color-paper-alt); border: 1px solid var(--color-rule-2); }
.wiz .input:focus { border-color: var(--color-accent-rule); background: var(--color-card); }
.wiz .input--mono { font-family: var(--font-mono); }

/* Price hero */
.wiz__price { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.wiz__pricecopy { display: flex; flex-direction: column; gap: 4px; flex: 1 1 0; min-width: 0; }
.wiz__pricetag { display: flex; align-items: baseline; gap: 9px; flex: 0 0 auto; }
.wiz__amount { font-family: var(--font-work); font-weight: 600; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; min-width: 108px; text-align: right; }
.wiz__amount--sm { font-size: 20px; min-width: 0; }
/* A small flag on the card's shoulder, riding the rounded edge. */
.wiz__price { position: relative; }
.wiz__once {
  position: absolute; top: -11px; right: 22px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--color-accent-ink); background: var(--color-accent);
  border: 1px solid var(--color-accent-rule); border-radius: 999px; padding: 4px 12px;
}
.wiz__price .wiz__rule, .wiz__price .wiz__types { flex: 1 1 100%; }
.wiz__types { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; }
.wiz__type {
  cursor: pointer; padding: 10px 14px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px;
}
.wiz__type .choice__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.wiz__type .choice__name { font-size: 14px; }
.wiz__type .card__meta { font-size: 12px; line-height: 1.4; }
.wiz__type .choice__price { margin-left: auto; white-space: nowrap; align-self: center; }

.wiz__row-city { display: grid; grid-template-columns: 1fr 120px; gap: 16px; }
.wiz__row-dates { display: grid; grid-template-columns: 1fr 1fr .7fr; gap: 16px; }

/* Obituary card */
.wiz__helpline { display: inline-flex; align-items: center; gap: 9px; }
.wiz__inklink {
  cursor: pointer; border: 0; background: transparent; padding: 0;
  font-family: var(--font-work); font-size: 15px; font-weight: 500;
  color: var(--color-accent-ink); display: inline-flex; align-items: center; gap: 6px;
}
.wiz__banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--color-accent); border: 1px solid var(--color-accent-rule);
  border-radius: 8px; padding: 14px 16px;
}
.wiz__bannertext { font-size: 15px; line-height: 1.5; color: var(--color-accent-ink); min-width: 0; }
.wiz__banneracts { display: flex; gap: 10px; flex: 0 0 auto; }
.wiz__bannerbtn { border: 1px solid var(--color-accent-rule); background: var(--color-card); color: var(--color-accent-ink); }
.wiz__bannerbtn--ghost { background: transparent; }
.wiz__toolrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wiz__toolrow:empty { display: none; }
.wiz__label--split { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.wiz__count { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: var(--color-muted-2); white-space: nowrap; }
.wiz__count.is-over { color: var(--color-danger); }

.wiz__addons { display: flex; align-items: center; gap: 14px; }
.wiz__addons .wiz__reveal { flex: 1; }
/* Once a photo is in, the row settles: thumb on the left, a trim button beside it. */
.wiz__addons:has(.wiz__phpreview:not([hidden])) { justify-content: center; }
.wiz__addons:has(.wiz__phpreview:not([hidden])) .wiz__reveal { flex: 0 1 auto; width: auto; padding: 11px 22px; }
.wiz__phpreview {
  position: relative; flex: 0 0 auto; width: 56px; height: 56px; border-radius: 12px;
  border: 1px solid var(--color-rule-2); box-shadow: 0 1px 3px rgba(44, 42, 38, .12);
  background-size: cover; background-position: center;
}
/* The album: one thumb per photo, in the order the memorial will read them.
   The number is the answer to "which one goes at the top". */
.wiz__phstrip { display: flex; flex-wrap: wrap; gap: 12px; }
.wiz__phstrip:empty { display: none; }
.wiz__phstrip .wiz__phpreview { cursor: grab; }
.wiz__phstrip .wiz__phpreview.is-dragging { opacity: .4; cursor: grabbing; }
.wiz__phstrip .wiz__phpreview.is-over { outline: 2px solid var(--color-accent-rule); outline-offset: 2px; }
.wiz__phno {
  position: absolute; left: -6px; bottom: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; border: 1px solid var(--color-rule-2); background: var(--color-card);
  color: var(--color-muted); font-family: var(--font-mono); font-size: 11px; line-height: 18px;
  text-align: center;
}
.wiz__phorder { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.wiz__phx {
  position: absolute; right: -8px; top: -8px; width: 24px; height: 24px; border-radius: 999px;
  border: 1px solid var(--color-rule-2); background: var(--color-card);
  color: var(--color-muted); font-size: 15px; cursor: pointer; line-height: 1;
  box-shadow: 0 1px 3px rgba(44, 42, 38, .15);
}
.wiz__reveal {
  font-size: 16px; padding: 14px 18px; border: 1px solid var(--color-rule-2);
  background: transparent; color: var(--color-ink);
}
.wiz__reveal.is-on { border-color: var(--color-accent-rule); background: var(--color-accent); }

.wiz__pills { display: flex; gap: 12px; flex-wrap: wrap; }
.wiz__pills--grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.wiz__pill {
  font-size: 15px; padding: 11px 18px; justify-content: center;
  border: 1px solid var(--color-rule-2); background: transparent; color: var(--color-muted);
  font-family: var(--font-work); cursor: pointer;
}
.wiz__pill.is-on, .wiz__pill:has(input:checked) {
  border-color: var(--color-accent-rule); background: var(--color-accent); color: var(--color-accent-ink);
}

.wiz__svcsummary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--color-paper-alt); border-radius: 8px; padding: 16px 18px;
}
.wiz__svcwords { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 16px; }

/* Read-back */
.wiz__readhead { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 8px 0 2px; }
.wiz__readportrait {
  width: 108px; height: 108px; border-radius: 999px; --ph-step: 9px;
  background-size: cover; background-position: center;
}
.wiz__readname { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: 32px; }
.wiz__readdates { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: var(--color-muted); }
.wiz__readbody { font-family: var(--font-serif); font-size: 18px; line-height: 1.75; color: var(--color-ink-2); text-wrap: pretty; display: flex; flex-direction: column; gap: 14px; }
.wiz__readbody p { margin: 0; }

.wiz__table { margin: 0; display: flex; flex-direction: column; }
.wiz__table > div {
  display: flex; justify-content: space-between; gap: 20px; padding: 11px 0;
  border-bottom: 1px solid var(--color-rule); font-size: 15px;
}
.wiz__table > div:last-child { border-bottom: 0; }
.wiz__table dt { color: var(--color-muted-2); margin: 0; }
.wiz__table dd { margin: 0; color: var(--color-ink); text-align: right; }

/* Payment */
.wiz__totalrow {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding-top: 12px; border-top: 1px solid var(--color-rule-2); font-size: 15px; font-weight: 500;
}
.wiz__assure { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.wiz__assure li { display: flex; gap: 10px; font-size: 15px; line-height: 1.55; color: var(--color-muted); }
.wiz__tick { color: var(--color-accent-ink); flex: 0 0 auto; }

/* Nav */
/* Centre-weighted at every width: the act, then the reassurance, then the
   way back — one column, middle of the page. */
.wiz__nav { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 4px 0 0; }
.wiz__nav .wiz__next { min-width: min(320px, 100%); justify-content: center; }
.wiz__next { font-size: 16px; padding: 14px 22px; }
.wiz__hint { font-family: var(--font-work); font-size: 14px; color: var(--color-muted-2); }
.wiz__backbtn { margin-left: 0; }

/* ---------- right-side flyouts: the Inkwell and service details ---------- */
.flyout { position: fixed; inset: 0; z-index: 60; }
/* html as well as body, or iOS keeps scrolling the wizard under the panel. */
html:has(.flyout:not([hidden])), body:has(.flyout:not([hidden])) { overflow: hidden; }
.flyout__veil { position: absolute; inset: 0; background: rgba(44, 42, 38, .28); touch-action: none; }
.flyout__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 94vw);
  background: var(--color-card); border-left: 1px solid var(--color-rule);
  box-shadow: -18px 0 40px rgba(44, 42, 38, .12);
  display: flex; flex-direction: column;
  animation: flyout-in .32s cubic-bezier(.4, 0, .2, 1);
  font-family: var(--font-work);
}
@keyframes flyout-in { from { transform: translateX(102%); } to { transform: translateX(0); } }
.flyout__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 22px 24px 16px; border-bottom: 1px solid var(--color-rule);
}
.flyout__title { display: flex; flex-direction: column; gap: 6px; }
.flyout__x {
  border: 0; background: transparent; cursor: pointer; font-size: 22px; line-height: 1;
  color: var(--color-muted); padding: 2px 6px;
}
.flyout__tonebar {
  display: flex; align-items: center; gap: 14px; padding: 14px 24px;
  border-bottom: 1px solid var(--color-rule); background: var(--color-paper-alt);
}
.flyout__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.flyout__intro { display: flex; flex-direction: column; gap: 7px; padding-bottom: 4px; }
.flyout__choice {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  border: 1px solid var(--color-rule-2); background: transparent; border-radius: 12px;
  padding: 16px 18px; margin-top: 12px; font-family: var(--font-work);
}
.flyout__choice:hover { border-color: var(--color-accent-rule); background: var(--color-accent); }
.flyout__glyph {
  width: 40px; height: 40px; border-radius: 8px; background: var(--color-paper-alt);
  display: flex; align-items: center; justify-content: center; font-size: 17px; flex: 0 0 auto;
}
.flyout__glyph--mono { font-family: var(--font-mono); font-size: 13px; }
.flyout__choicetext { display: flex; flex-direction: column; gap: 3px; }
textarea.input.flyout__notes { width: 100%; min-height: 380px; resize: vertical; line-height: 1.6; }
.flyout__stepnote { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 4px; }
.flyout__stepno { font-family: var(--font-mono); font-size: 13px; color: var(--color-accent-ink); padding-top: 2px; }
.flyout__steptext { display: flex; flex-direction: column; gap: 4px; }
.flyout__section { border: 1px solid var(--color-rule); border-radius: 8px; overflow: hidden; }
.flyout__sectionhead {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 0; background: var(--color-paper-alt); cursor: pointer; padding: 13px 16px;
  font-family: var(--font-work);
}
.flyout__chev { color: var(--color-muted-2); transition: transform .25s ease; }
.flyout__section.is-open .flyout__chev { transform: rotate(180deg); }
.flyout__sectionbody { display: none; flex-direction: column; gap: 14px; padding: 14px 16px; }
.flyout__section.is-open .flyout__sectionbody { display: flex; }
.flyout__tip {
  position: relative; width: 16px; height: 16px; border-radius: 999px;
  border: 1px solid var(--color-rule-2); color: var(--color-muted-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; cursor: default;
}
.flyout__tip:hover::after {
  content: attr(data-tip); position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  width: 210px; background: var(--color-ink); color: var(--color-paper);
  font-size: 12px; line-height: 1.5; padding: 8px 10px; border-radius: 8px; z-index: 5;
}
.flyout__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 24px; border-top: 1px solid var(--color-rule);
}
.flyout__foot > :only-child { margin-left: auto; }

@media (max-width: 720px) {
  .wiz__title { font-size: 32px; }
  .wiz__stop { padding: 8px 10px; }
  .wiz__stoplabel { display: none; }
  .wiz__stoplabel--now { display: block; font-size: 14px; padding-right: 6px; }
  .wiz__line { max-width: 40px; }
  .wiz__types { grid-auto-flow: row; grid-auto-columns: auto; }
  .wiz__types, .wiz__addons, .row-3, .wiz__row-dates,
  .wiz__row-city, .wiz__pills--grid { grid-template-columns: 1fr; }

  /* A phone reads down the middle: headings and standing copy center, and the
     fields beneath them keep their left edge for the eye that is filling
     them in. */
  .wiz__cardname, .wiz__cardhead .wiz__sub, .wiz__blurb, .wiz__ask,
  .wiz__pricecopy, .wiz__helpline, .wiz__hint,
  .wiz__addons ~ .wiz__sub, .wiz__assure { text-align: center; }
  .wiz__cardhead--split { flex-direction: column; align-items: center; gap: 8px; }
  .wiz__pricecopy { align-items: center; }
  .wiz__price { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
  .wiz__pricetag { justify-content: center; }
  .wiz__once { right: 50%; transform: translateX(50%); }
  .wiz__amount { min-width: 0; text-align: center; }
  .wiz__assure { list-style-position: inside; padding-left: 0; }

  /* On a phone the flyout is the screen: no sliver of wizard left showing,
     and the close is a thumb-sized target. */
  .flyout__panel { width: 100%; border-left: 0; box-shadow: none; }
  /* iOS date and time inputs never shrink below their intrinsic width, so
     side by side they paint over each other. One per row on a phone. */
  .flyout .row-2, .flyout .row-3 { grid-template-columns: 1fr; }
  .flyout__x { font-size: 26px; padding: 8px 12px; margin: -8px -8px 0 0; }
  .flyout__head { padding-top: max(22px, env(safe-area-inset-top)); }
  .flyout__foot { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}

/* Step four: the confirmation. */
.wiz__done { align-items: center; text-align: center; gap: 12px; padding: 40px 28px; }
.wiz__donemark {
  width: 52px; height: 52px; border-radius: 999px; background: var(--color-accent);
  color: var(--color-accent-ink); display: flex; align-items: center; justify-content: center;
  font-size: 22px; border: 1px solid var(--color-accent-rule);
}
.wiz__done .wiz__sub { max-width: 480px; }
.wiz__doneacts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; padding-top: 8px; }

/* A flyout field fills the panel; a browser-default textarea width reads as
   broken beside them. */
.flyout__body .input { width: 100%; box-sizing: border-box; }

/* The pill is the control; its radio stays focusable for the browser's own
   "choose one" message, just not visible. */
.wiz__pill input[type="radio"] {
  position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none;
}
.wiz__pill { position: relative; }
.wiz__pill:has(input:focus-visible) { outline: 2px solid var(--color-accent-rule); outline-offset: 2px; }

/* Flyout rhythm. The view wrappers had no layout of their own, so fields sat
   on each other; and three date columns never fit a 460px panel. */
[data-ink-view] { display: flex; flex-direction: column; gap: 16px; }
.flyout__body .field { min-width: 0; gap: 8px; }
.flyout__body textarea.input:not(.flyout__notes) { min-height: 76px; line-height: 1.6; }
.flyout .service-row { padding: 16px; gap: 14px; }
.flyout .row-2 { grid-template-columns: 1fr 1fr; }
.flyout .row-3 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.flyout .row-3 > :first-child { grid-column: 1 / -1; }
.flyout .input { min-width: 0; }

/* The saved gatherings, one row each, on the card. */
.wiz__svclist { display: flex; flex-direction: column; gap: 10px; }

/* ---------- submit-page conversion scope ---------- */
/* The counter page earns a stronger stage: a sage wash behind white cards.
 * Contrast is carried by value, not chroma — the hue stays in the brand's
 * sage/greige family so the lift never reads clinical. Scoped here because
 * the rest of the site keeps its quiet paper. */
.page-submit {
  background: linear-gradient(180deg, #b9c9b2 0%, #d9e1d2 55%, #e9ede4 100%) fixed;
  --color-muted: #5f5a50;
  --color-muted-2: #736d61;
  --color-ink-3: #433e37;
  --color-rule-2: #c2bbab;
  --color-accent-ink-2: #4e5849;
}
.page-submit .panel { background: var(--color-card); }
.page-submit .panel--outline { background: var(--color-card); border-color: var(--color-rule-2); }
.page-submit .masthead { background: var(--color-card); }
.page-submit .wiz .input:focus { box-shadow: 0 0 0 3px rgba(44, 42, 38, .16); }

/* Computed, not asked: the age field reads as an answer, not a question. */
.wiz .input[readonly] { color: var(--color-muted); cursor: default; }
.wiz .input[readonly]:focus { border-color: var(--color-rule-2); box-shadow: none; background: var(--color-paper-alt); }

/* The brief kinds: no life-story helpers, and the box stays announcement-sized. */
form.is-brief [data-ink-only] { display: none !important; }
form.is-brief textarea[name=body_html] { min-height: 0; height: 120px; }
.wiz__upgrade {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--color-accent); border: 1px solid var(--color-accent-rule);
  border-radius: 10px; padding: 14px 18px; font-family: var(--font-work);
}
.wiz__upgradetext { font-size: 14px; line-height: 1.5; color: var(--color-accent-ink); flex: 1 1 300px; }
.wiz__upgradebtn { background: var(--color-card); border: 1px solid var(--color-accent-rule); color: var(--color-accent-ink); }
