/* Inkwell — booking platform for tattoo artists.
   Identity: "soft studio" — cream & blush paper, warm mauve accent, powder-blue eyebrow,
   dusty-rose flash cards. Display + body = Montserrat, script = ElisabethDarlingtonUpright
   (used sparingly for accent flourishes), body = Inter. Modeled on the artist's own site +
   her venue.ink presence: black & white portraiture, hand-drawn line accents, deckle-edge
   paper flash cards, romantic and unhurried — not a traditional-shop poster look. */

@font-face {
  font-family: "ElisabethDarlingtonUpright";
  src: url("/assets/fonts/elisabethdarlingtonupright.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bone: var(--sand);
  --paper: #fffcf8;
  --paper-2: var(--neutral);
  --ink: #2b2420;
  --ink-2: #4a3f37;
  --muted: #8d7d72;
  --line: #ecdcd2;
  --line-2: #ddc5b7;
  --oxblood: #c7a2a2;   /* Emilee's "mauve" — primary accent */
  --oxblood-d: #5e1429; /* Emilee's "drama" — dark accent / dark panel text. Canonical source
                           for this color — --night and --pop below reference it rather than
                           repeating the literal, so a future per-shop theme override only has
                           to change this one value and both follow automatically. */
  --gold: #bfd6db;      /* Emilee's "sky blue" — secondary accent */
  --good: #75906f;      /* soft sage — positive/available state */
  --on-dark: #fbf3ec;   /* text sitting on the dark accent panel */
  --night: var(--oxblood-d);     /* dark accent panel */
  --night-2: #460f1f;

  --blush: #f2ddea;     /* Emilee's "light pink" */
  --butter: #faf1cd;
  --butter-d: #efe3ab;
  --barbie-pink: #eebbd3; /* Emilee's brand palette — a brighter pink accent than blush */
  --electric-green: #dedb57; /* Emilee's brand palette — unexpected accent, use sparingly */
  --sand: #f1e8d8;      /* Emilee's "sand" — page background */
  --neutral: #f7f1e9;   /* Emilee's "neutral" — card/paper surface, distinct from sand */
  --pop: var(--oxblood-d); /* doodle/collage accent — same canonical dark accent as --night */

  --shadow-sm: 0 1px 2px rgba(43,36,32,.05), 0 4px 16px -8px rgba(43,36,32,.22);
  --shadow-lg: 0 24px 60px -26px rgba(43,36,32,.38);

  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --script: "ElisabethDarlingtonUpright", "Brush Script MT", cursive;
  --serif: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --sans: "Avenir Next", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --r: 10px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* faint paper grain, reused behind cream/blush panels */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.17  0 0 0 0 0.14  0 0 0 0 0.12  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bone); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.25rem); }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 700; line-height: .98; letter-spacing: -.019em; }
h1.display { font-size: clamp(2.9rem, 8vw, 5.6rem); }
h2.display { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.script { font-family: var(--script); font-weight: 400; line-height: 1; }
.eyebrow { font-family: var(--serif); font-size: .82rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--oxblood); }
.eyebrow.gold { color: color-mix(in srgb, var(--gold) 60%, var(--ink-2)); }
.eyebrow.script { font-family: var(--script); font-size: 1.5rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--oxblood); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); font-family: var(--serif); }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); }

/* ---------- top nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bone) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.019em; }
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--oxblood); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.nav-links a:hover, .nav-links a.on { color: var(--oxblood); }
.nav-burger { display: none; background: none; border: none; font-size: 1.5rem; color: var(--ink); cursor: pointer; padding: .3rem .5rem; line-height: 1; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid transparent; border-radius: var(--r-pill); padding: .8rem 1.5rem; font-weight: 600; font-size: .95rem; transition: transform .1s ease, background .15s ease, color .15s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--butter); color: var(--ink); }
.btn-primary:hover { background: var(--butter-d); box-shadow: var(--shadow-sm); }
.btn-dark { background: var(--night); color: var(--on-dark); }
.btn-dark:hover { background: var(--night-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-blush { background: var(--blush); color: var(--oxblood-d); }
.btn-blush:hover { background: color-mix(in srgb, var(--blush) 80%, var(--oxblood)); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .28rem .65rem; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line); }
.chip.open { background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); border-color: color-mix(in srgb, var(--good) 40%, transparent); }
.chip.ox { background: color-mix(in srgb, var(--oxblood) 12%, transparent); color: var(--oxblood-d); border-color: color-mix(in srgb, var(--oxblood) 34%, transparent); }

/* ---------- hero / shop ---------- */
.hero { position: relative; background: linear-gradient(165deg, var(--night), var(--night-2)); color: var(--on-dark); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .5; mix-blend-mode: overlay; pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero .eyebrow { font-family: var(--script); font-size: 1.5rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--butter); }
.hero h1 { margin: .3rem 0 1rem; color: var(--on-dark); font-style: italic; }
.hero p { color: color-mix(in srgb, var(--on-dark) 82%, var(--ink)); max-width: 42ch; }
.hero-cta { display: flex; gap: .8rem; margin-top: 1.8rem; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 2rem; margin-top: 2.4rem; }
.hero-meta .n { font-family: var(--display); font-weight: 600; font-size: 2.1rem; line-height: 1; color: var(--on-dark); }
.hero-meta .l { font-size: .8rem; color: color-mix(in srgb, var(--on-dark) 68%, var(--ink)); }
.avatar-lg { width: 100%; aspect-ratio: 4/5; border-radius: var(--r-lg); border: 1px solid rgba(251,243,236,.22); display: grid; place-items: center; overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.avatar-lg::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(251,243,236,.28); border-radius: calc(var(--r-lg) - 6px); z-index: 2; pointer-events: none; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: sepia(.15) saturate(.85); }
.hero-floral { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: contain; pointer-events: none; mix-blend-mode: screen; opacity: .9; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(43,36,32,.2), rgba(43,36,32,.02) 32%, rgba(43,36,32,.34)); }
.hero-wordmark { position: absolute; z-index: 2; top: 7%; left: 50%; transform: translateX(-50%); font-size: clamp(1.7rem, 6.5vw, 2.3rem); color: var(--on-dark); text-shadow: 0 2px 14px rgba(0,0,0,.4); white-space: nowrap; }
.hero-badge { position: absolute; z-index: 2; width: clamp(84px, 24%, 120px); height: clamp(84px, 24%, 120px); border-radius: 50%; display: grid; place-items: center; text-align: center; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1.35; box-shadow: var(--shadow-lg); border: none; cursor: pointer; transition: transform .15s ease; text-decoration: none; }
.hero-badge:hover { transform: scale(1.05); }
.b-custom { background: var(--blush); color: var(--oxblood-d); top: 23%; left: 6%; }
.b-flash { background: var(--gold); color: var(--ink-2); top: 46%; right: 5%; }
.b-work { background: var(--butter); color: var(--ink-2); bottom: 9%; left: 9%; }

/* about section */
.about-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.2rem; }

section { padding: clamp(3rem, 7vw, 5rem) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.sec-head p { margin: .4rem 0 0; max-width: 48ch; font-family: var(--serif); }

/* ---------- flash collections filter ---------- */
.coll-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0 1.6rem; }
.coll-tab { border: 1px solid var(--line-2); background: var(--paper); color: var(--ink-2); border-radius: var(--r-pill); padding: .5rem 1.05rem; font-weight: 600; font-size: .86rem; }
.coll-tab.on { background: var(--night); color: var(--on-dark); border-color: var(--night); }

/* ---------- flash gallery (deckle-edge paper cards) ---------- */
.grid-flash { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
.flash { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; position: relative; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.flash:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.flash-art-trigger { cursor: pointer; display: contents; }
.doodle-sticker { position: absolute; top: .6rem; right: .6rem; width: 34px; height: 34px; pointer-events: none; z-index: 3; filter: drop-shadow(0 1px 2px rgba(43,36,32,.15)); transform: rotate(-8deg); display: none; }
.grid-flash .flash:nth-child(2n) .doodle-sticker { display: block; }
.grid-flash .flash:nth-child(4n) .doodle-sticker { transform: rotate(11deg); }
.flashbook-head { position: relative; }
.flashbook-title { position: relative; display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.flashbook-title .pop { color: var(--pop); font-style: italic; }
.doodle-scribble { width: 90px; height: 18px; color: var(--pop); flex: none; margin-top: .3rem; }
.doodle-star { position: absolute; top: -1.6rem; left: -2.2rem; width: 46px; height: 46px; color: var(--pop); transform: rotate(-12deg); }
@media (max-width: 640px) { .doodle-star { display: none; } }
.flash-preview-art { max-width: 260px; margin: 0 auto 1.2rem; }
.flash-preview-art .flash-art { border-radius: var(--r-lg); overflow: hidden; }
.flash-preview-meta { text-align: center; margin-bottom: 1.2rem; }
.flash-preview-row { display: flex; justify-content: center; gap: 1rem; color: var(--muted); font-size: .92rem; margin-top: .3rem; }
.flash-preview-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.flash-preview-foot .flash-price { font-family: var(--display); font-weight: 600; font-size: 1.8rem; }
/* overflow:hidden clips any image that computes slightly taller than its aspect-ratio box (Safari
   does this in some versions) so a flash photo can never spill down over the title below it. */
.flash-art { aspect-ratio: 1; background: var(--blush); display: grid; place-items: center; position: relative; padding: 14px; overflow: hidden; }
.flash-paper {
  width: 100%; height: 100%; background: var(--paper-2); background-image: var(--grain);
  display: grid; place-items: center; position: relative;
  clip-path: polygon(
    2% 3%, 12% 0%, 27% 2%, 41% 0%, 58% 2%, 73% 0%, 88% 2%, 100% 4%,
    98% 18%, 100% 34%, 97% 50%, 100% 65%, 98% 80%, 100% 96%,
    88% 99%, 74% 97%, 60% 100%, 44% 98%, 29% 100%, 14% 98%, 2% 96%,
    4% 82%, 1% 66%, 3% 50%, 0% 33%, 3% 17%
  );
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 6%, transparent);
}
.flash-ico { width: 58%; height: 58%; color: var(--ink-2); opacity: .82; }
.flash-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; border-radius: calc(var(--r-lg) - 6px); transition: opacity .3s ease; }
.flash-badge { position: absolute; top: .7rem; left: .7rem; background: var(--paper); }
.flash-sold { position: absolute; inset: 14px; background: color-mix(in srgb, var(--ink) 46%, transparent); color: var(--on-dark); display: grid; place-items: center; font-family: var(--display); font-style: italic; font-size: 1.5rem; border-radius: var(--r); }
.flash-body { padding: .95rem 1.05rem 1.15rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.flash-coll { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.flash-title { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.flash-meta { font-size: .82rem; color: var(--muted); display: flex; gap: .8rem; flex-wrap: wrap; }
.flash-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: .5rem; }
.flash-price { font-family: var(--display); font-weight: 600; font-size: 1.4rem; }

/* ---------- generic cards / band ---------- */
.band-dark { position: relative; background: linear-gradient(165deg, var(--night), var(--night-2)); color: var(--on-dark); }
.band-dark::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .45; mix-blend-mode: overlay; pointer-events: none; }
.band-dark > .wrap { position: relative; }
.band-dark .eyebrow { font-family: var(--script); font-size: 1.3rem; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--butter); }
.band-dark h2 { color: var(--on-dark); font-style: italic; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step .n { font-family: var(--script); font-size: 2.6rem; color: var(--butter); line-height: 1; }
.step h3 { margin: .3rem 0 .3rem; font-size: 1.05rem; font-family: var(--serif); }
.step p { margin: 0; font-size: .9rem; color: color-mix(in srgb, var(--on-dark) 74%, var(--ink)); }

.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 1rem; }
.review { position: relative; }
.review .stars { color: var(--oxblood); letter-spacing: .1em; }
.review p { font-family: var(--serif); font-style: italic; font-size: 1.08rem; margin: .5rem 0; }
.review .who { font-size: .82rem; color: var(--muted); font-weight: 600; }

/* ---------- footer ---------- */
footer { position: relative; background: linear-gradient(165deg, var(--night), var(--night-2)); color: color-mix(in srgb, var(--on-dark) 78%, var(--ink)); padding: 3rem 0; }
footer::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .4; mix-blend-mode: overlay; pointer-events: none; }
footer > .wrap { position: relative; }
footer .brand { color: var(--on-dark); }
footer a:hover { color: var(--butter); }
.foot-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }

/* ---------- booking wizard (modal) ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(43,36,32,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 1rem; }
.sheet { background: var(--bone); width: min(720px, 100%); max-height: 92vh; overflow: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.sheet-head { position: sticky; top: 0; background: var(--bone); border-bottom: 1px solid var(--line); padding: 1.1rem 1.4rem; display: flex; align-items: center; gap: .7rem; justify-content: space-between; z-index: 2; }
.sheet-title { font-family: var(--display); font-weight: 600; font-style: italic; font-size: 1.6rem; margin-right: auto; }
.sheet-body { padding: 1.4rem; }
.iconbtn { border: 1px solid var(--line-2); background: var(--paper); border-radius: var(--r); width: 36px; height: 36px; display: grid; place-items: center; font-size: 1.1rem; }
.wiz-price-chip { font-size: .82rem; font-weight: 700; color: var(--oxblood-d); background: color-mix(in srgb, var(--oxblood) 10%, var(--paper)); border: 1px solid color-mix(in srgb, var(--oxblood) 25%, transparent); border-radius: var(--r-pill); padding: .3rem .8rem; white-space: nowrap; }

.wiz-steps { display: flex; gap: .4rem; padding: 0 1.4rem 1rem; }
.wiz-deposit-note { margin: 0; padding: 0 1.4rem 1rem; font-size: .82rem; color: var(--muted); }
.wiz-dot { flex: 1; height: 4px; border-radius: 2px; background: var(--line-2); }
.wiz-dot.done { background: var(--oxblood); }
.wiz-dot.now { background: var(--gold); }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.field-error { min-height: 1.2rem; font-size: .84rem; color: var(--oxblood-d); margin: -.4rem 0 .6rem; }
.input, .textarea, .select { width: 100%; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); padding: .75rem .85rem; font: inherit; color: var(--ink); }
.textarea { min-height: 96px; resize: vertical; }
.opt-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.opt { border: 1px solid var(--line-2); background: var(--paper); border-radius: var(--r-pill); padding: .55rem .95rem; font-weight: 600; font-size: .9rem; }
.opt.sel { border-color: var(--oxblood); background: color-mix(in srgb, var(--oxblood) 10%, var(--paper)); color: var(--oxblood-d); }
.dropzone { border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); padding: 1.4rem; text-align: center; color: var(--muted); background: var(--paper); }

.pickone { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pickone .opt-card { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 1.1rem; text-align: left; background: var(--paper); }
.pickone .opt-card.sel { border-color: var(--oxblood); box-shadow: 0 0 0 3px color-mix(in srgb, var(--oxblood) 14%, transparent); }
.pickone .opt-card .t { font-weight: 700; font-family: var(--serif); }
.pickone .opt-card .d { font-size: .85rem; color: var(--muted); }

/* calendar — Calendly-style: fixed compact cell size (not stretched to fill the sheet) and a
   side-by-side time-slot column so picking a date never requires scrolling the modal. */
.wiz-cal-wrap { display: flex; gap: 1.6rem; align-items: flex-start; }
.wiz-cal-col { flex: 0 0 auto; }
.wiz-slots-col { flex: 1 1 200px; min-width: 180px; max-height: 19rem; overflow-y: auto; padding-right: .2rem; }
.wiz-next-opening { margin-top: .6rem; font-size: .78rem; padding: .35rem .7rem; }
@media (max-width: 640px) {
  .wiz-cal-wrap { flex-direction: column; gap: .8rem; }
  .wiz-cal-col { align-self: stretch; }
  .wiz-slots-col { max-height: 14rem; width: 100%; }
}
.cal { display: grid; grid-template-columns: repeat(7, 2.5rem); gap: .2rem; }
.cal .dow { width: 2.5rem; text-align: center; font-size: .65rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding-bottom: .25rem; }
.cal .day { position: relative; width: 2.75rem; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); font-weight: 600; font-size: .8rem; color: var(--ink); display: grid; place-items: center; }
.cal .day.empty { border: none; background: transparent; }
.cal .day.off { color: var(--line-2); background: transparent; border-color: transparent; cursor: not-allowed; }
.cal .day.avail:hover { border-color: var(--oxblood); }
.cal .day.sel { background: var(--oxblood); color: var(--on-dark); border-color: var(--oxblood); }
.day-count { position: absolute; bottom: 1px; right: 2px; font-size: .5rem; font-weight: 700; color: var(--oxblood-d); }
.cal .day.sel .day-count { color: var(--on-dark); }
.slots { display: flex; flex-direction: column; gap: .4rem; }
.slot { border: 1px solid var(--line-2); background: var(--paper); border-radius: var(--r-pill); padding: .5rem .9rem; font-weight: 600; font-size: .85rem; text-align: center; }
.slot.sel { background: var(--night); color: var(--on-dark); border-color: var(--night); }
.slot-picked { position: sticky; top: 0; z-index: 1; background: var(--night); color: var(--on-dark); border-radius: var(--r-pill); padding: .45rem .8rem; font-size: .8rem; margin-bottom: .5rem; }

/* summary / deposit */
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem 1.2rem; }
.summary .row { display: flex; justify-content: space-between; padding: .4rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.summary .row:last-child { border-bottom: none; }
.summary .tot { font-weight: 700; font-size: 1.05rem; padding-top: .6rem; }
.trust { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--muted); margin-top: .8rem; }
.confirm-ico { width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 1rem; }

/* ---------- dashboard ---------- */
.dash { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.dash-rail { position: relative; background: linear-gradient(165deg, var(--night), var(--night-2)); color: var(--on-dark); padding: 1.4rem 1rem; }
.dash-rail::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .4; mix-blend-mode: overlay; pointer-events: none; }
.dash-rail > * { position: relative; }
.dash-rail .brand { color: var(--on-dark); margin-bottom: 1.6rem; }
.dash-nav a { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: var(--r); color: color-mix(in srgb, var(--on-dark) 78%, var(--ink)); font-weight: 600; font-size: .92rem; margin-bottom: .2rem; position: relative; }
.dash-nav a:hover { background: rgba(251,243,236,.1); color: var(--on-dark); }
.dash-nav a.on { background: rgba(251,243,236,.16); color: var(--on-dark); }
.dash-main { padding: clamp(1.2rem, 3vw, 2.2rem); background: var(--bone); min-width: 0; }
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-bottom: 1.6rem; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem; }
.stat .n { font-family: var(--display); font-weight: 600; font-size: 2.2rem; line-height: 1; }
.stat .l { font-size: .82rem; color: var(--muted); }
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: start; }
.col-h { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; display: flex; justify-content: space-between; }
.bk { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--oxblood); border-radius: var(--r); padding: .75rem .85rem; margin-bottom: .6rem; }
.bk .t { font-weight: 700; font-size: .92rem; font-family: var(--serif); }
.bk .m { font-size: .8rem; color: var(--muted); }
table.rows { width: 100%; border-collapse: collapse; }
table.rows th, table.rows td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
table.rows th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* live calendar management (weekly hours, block time, agenda) */
.cal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.hours-row { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.hours-row:last-of-type { border-bottom: none; }
.hours-day { display: flex; align-items: center; gap: .5rem; width: 84px; flex: none; font-weight: 600; }
.hours-time { width: auto; flex: 1; padding: .4rem .5rem; font-size: .88rem; }
.agenda-row { display: flex; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.agenda-row:last-child { border-bottom: none; }
.agenda-when { width: 130px; flex: none; font-size: .88rem; }
.agenda-title { flex: 1; font-weight: 600; font-family: var(--serif); }
.agenda-row.is-block .agenda-title { color: var(--muted); font-style: italic; font-weight: 500; }
.agenda-row.status-arrived { border-left: 3px solid var(--good); padding-left: .6rem; }
.agenda-row.status-late { border-left: 3px solid var(--butter-d); padding-left: .6rem; }
.agenda-row.status-no-show { border-left: 3px solid var(--oxblood); padding-left: .6rem; }
.day-status-row { display: flex; gap: .35rem; flex: none; }
.day-status-btn { border: 1px solid var(--line-2); background: var(--paper); border-radius: var(--r-pill); padding: .3rem .6rem; font-size: .78rem; white-space: nowrap; }
.day-status-btn.on { background: var(--night); color: var(--on-dark); border-color: var(--night); }
.late-sheet { display: flex; gap: .4rem; flex-wrap: wrap; width: 100%; order: 4; margin-top: .5rem; padding-top: .5rem; border-top: 1px dashed var(--line); }

/* messages */
.chat { display: grid; grid-template-columns: 280px 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; height: 560px; background: var(--paper); }
.chat-list { border-right: 1px solid var(--line); overflow: auto; }
.chat-item { padding: .8rem 1rem; border-bottom: 1px solid var(--line); cursor: pointer; }
.chat-item:hover, .chat-item.on { background: var(--paper-2); }
.chat-item .t { font-weight: 700; font-size: .9rem; }
.chat-item .p { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-main { display: flex; flex-direction: column; }
.chat-thread { flex: 1; overflow: auto; padding: 1rem 1rem .5rem; display: flex; flex-direction: column; gap: 2px; background: var(--bone); }
.bubble { max-width: 76%; padding: 8px 13px; font-size: .98rem; line-height: 1.32; border-radius: 19px; position: relative; word-wrap: break-word; }
.bubble.them { background: #eceae7; color: var(--ink); align-self: flex-start; border-bottom-left-radius: 7px; }
.bubble.me { background: #9b5a64; color: #fff; align-self: flex-end; border-bottom-right-radius: 7px; }
.bubble.me::before { content: ""; position: absolute; bottom: 0; right: -7px; width: 20px; height: 17px; background: #9b5a64; border-bottom-left-radius: 16px; }
.bubble.me::after { content: ""; position: absolute; bottom: 0; right: -13px; width: 13px; height: 17px; background: var(--bone); border-bottom-left-radius: 12px; }
.bubble.them::before { content: ""; position: absolute; bottom: 0; left: -7px; width: 20px; height: 17px; background: #eceae7; border-bottom-right-radius: 16px; }
.bubble.them::after { content: ""; position: absolute; bottom: 0; left: -13px; width: 13px; height: 17px; background: var(--bone); border-bottom-right-radius: 12px; }
.bubble.me:has(+ .bubble.me)::before, .bubble.me:has(+ .bubble.me)::after, .bubble.them:has(+ .bubble.them)::before, .bubble.them:has(+ .bubble.them)::after { content: none; }
.bubble.me + .bubble.them, .bubble.them + .bubble.me { margin-top: 8px; }
.bubble-img { display: block; max-width: 200px; max-height: 200px; width: 100%; height: auto; border-radius: 10px; cursor: zoom-in; object-fit: cover; margin-bottom: .3rem; }
.compose-attach-preview { display: flex; align-items: center; gap: .5rem; padding: .5rem .8rem 0; }
.compose-attach-preview img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.chat-compose { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--line); align-items: center; }
.chat-compose label.iconbtn { flex: none; cursor: pointer; }
.quick-replies { display: flex; flex-wrap: wrap; gap: .4rem; padding: .55rem .8rem 0; }
.qr { font-size: .8rem; padding: .34rem .7rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--blush); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.qr:hover { background: var(--paper-2); }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.chat-head strong { font-size: .95rem; }
.chat-ghl { font-size: .78rem; color: var(--oxblood-d); white-space: nowrap; text-decoration: none; }
.chat-ghl:hover { text-decoration: underline; }
.ch-badge { display: inline-block; font-size: .64rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .12rem .45rem; border-radius: 999px; color: var(--ink-2); background: color-mix(in srgb, var(--ch, #b17d81) 20%, transparent); border: 1px solid color-mix(in srgb, var(--ch, #b17d81) 42%, transparent); vertical-align: middle; }
.rail-dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--good); margin-right: .5rem; vertical-align: middle; }
.rail-sub { display: block; font-size: .78rem; opacity: .82; margin-top: .3rem; }

.notice { background: color-mix(in srgb, var(--gold) 20%, var(--paper)); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); border-radius: var(--r-lg); padding: .8rem 1rem; font-size: .88rem; color: var(--ink-2); display: flex; gap: .6rem; align-items: center; }
/* Sidebar status boxes (connection state, signed-in-as). These are stacked, multi-line content —
   they must NOT use .notice's horizontal flex row, which flung each word/element onto its own line
   and pushed the buttons outside the rail. Plain block flow, so <br>-separated lines stack normally. */
.rail-note { border: 1px solid transparent; border-radius: var(--r-lg); padding: .75rem .9rem; font-size: .85rem; line-height: 1.5; }
.rail-note .loc { display: block; font-size: .72rem; opacity: .7; margin: .15rem 0; word-break: break-all; }
.rail-note .btn { display: block; width: fit-content; margin-top: .55rem; }

/* ---------- responsive ---------- */
/* Studio nav/backdrop/back button only exist for the mobile off-canvas layout — inert on desktop. */
.dash-mobile-bar { display: none; }
.dash-backdrop { display: none; }
.chat-back { display: none; }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; } .avatar-lg { max-width: 320px; margin: 2rem auto 0; }
  .about-in { grid-template-columns: 1fr; } .about-photo { max-width: 320px; margin: 0 auto; }
  .steps, .stat-row, .kanban { grid-template-columns: 1fr 1fr; }
  .cal-grid { grid-template-columns: 1fr; }

  /* Studio dashboard: .dash-rail used to be display:none with nothing to replace it, leaving no
     way to switch tabs on a phone. Now it's an off-canvas drawer opened by a hamburger bar. */
  .dash { grid-template-columns: 1fr; position: relative; }
  .dash-mobile-bar { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; background: var(--night); color: var(--on-dark); position: sticky; top: 0; z-index: 20; }
  .dash-mobile-bar strong { font-family: var(--serif); font-size: 1.1rem; }
  .dash-backdrop.on { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 29; }
  .dash-rail {
    position: fixed; top: 0; left: 0; height: 100%; width: min(78vw, 300px); z-index: 30;
    transform: translateX(-100%); transition: transform .22s ease; overflow-y: auto;
  }
  .dash-rail.open { transform: translateX(0); }

  /* Messages: list and thread can't both fit — toggle between them instead of hiding the list
     with no way back in. */
  .chat { grid-template-columns: 1fr; }
  .chat-list { display: block; }
  .chat-main { display: none; }
  .chat-back { display: block; margin-bottom: .6rem; }
  .chat.thread-open .chat-list { display: none; }
  .chat.thread-open .chat-main { display: flex; flex-direction: column; }

  /* Public nav: a hamburger reveals the links as a dropdown, instead of hiding Book/Flash/Artist
     studio entirely (which left only "Book now" and no way to reach Flash/studio from the nav). */
  .nav-burger { display: block; }
  .nav-links {
    display: none; position: absolute; top: 66px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1rem 1rem;
    background: var(--bone); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem .2rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-links a.nav-cta { margin-top: .6rem; border-bottom: none; text-align: center; }
  .pickone { grid-template-columns: 1fr; }

  /* Clients table: was a literal HTML table pushing Tags/Message off-screen with no scroll
     affordance — a shop owner on her phone had no way to discover she needed to scroll sideways
     to message a client. Reflow into a stacked card per row instead. */
  table.rows thead { display: none; }
  table.rows, table.rows tbody, table.rows tr, table.rows td { display: block; width: 100%; }
  table.rows tr { border-bottom: 1px solid var(--line); padding: .8rem .9rem; }
  table.rows tr:last-child { border-bottom: none; }
  table.rows td { border-bottom: none; padding: .25rem 0; }
  table.rows td[data-label]:not([data-label=""])::before {
    content: attr(data-label); display: block; font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .1rem;
  }
  table.rows td:last-child { margin-top: .4rem; }
}
@media (max-width: 520px) {
  .steps, .stat-row, .kanban { grid-template-columns: 1fr; } .hero-meta { gap: 1.2rem; }
  .hours-row { flex-wrap: wrap; }
  .hours-day { width: 100%; }
  .hours-time { min-width: 0; }
  .agenda-row { flex-wrap: wrap; }
  .agenda-title { min-width: 0; width: 100%; order: 3; }
  /* Confirmed via live mobile QA: the day-status buttons measured ~28px tall, below the
     44px minimum mobile touch target (Apple HIG / Material Design) — real risk of mis-tapping
     an adjacent status on a small screen. Desktop keeps the compact size; only mobile grows. */
  .day-status-row { width: 100%; order: 2; }
  .day-status-btn { min-height: 44px; padding: .6rem .7rem; }
}

.hidden { display: none !important; }

/* Auto-messages tab */
.auto-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin: 1.1rem 0 1.5rem; font-size: .82rem; color: var(--muted); }
.auto-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.pip { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pip.live { background: var(--good); } .pip.paused { background: var(--butter-d); } .pip.off { background: transparent; border: 1.5px dashed var(--line-2); }
.auto-toast { background: color-mix(in srgb, var(--good) 16%, transparent); border: 1px solid color-mix(in srgb, var(--good) 40%, transparent); color: var(--ink-2); border-radius: var(--r); padding: .7rem .9rem; font-size: .9rem; margin-bottom: 1.2rem; }
.auto-group { position: relative; padding-left: 1.9rem; }
.auto-group::before { content: ""; position: absolute; left: 5px; top: 1.5rem; bottom: -.6rem; width: 2px; background: var(--line-2); }
.auto-group:last-child::before { display: none; }
.auto-node { position: absolute; left: 0; top: .3rem; width: 12px; height: 12px; border-radius: 50%; background: var(--night); box-shadow: 0 0 0 4px var(--bone); }
.auto-gtitle { font-family: var(--display); font-size: 1.18rem; font-weight: 500; }
.auto-gsub { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; margin: .05rem 0 .8rem; }
.auto-cards { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.6rem; }
.auto-card { display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1rem; cursor: pointer; font: inherit; color: inherit; box-shadow: var(--shadow-sm); transition: transform .12s ease, border-color .12s ease; }
.auto-card:hover { border-color: var(--line-2); transform: translateY(-1px); }
.auto-card:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 2px; }
.auto-card.ghost { background: transparent; border-style: dashed; box-shadow: none; color: var(--muted); }
.auto-card .c-body { flex: 1; min-width: 0; }
.auto-card .c-title { font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.auto-card .c-when { font-size: .83rem; color: var(--muted); margin-top: .12rem; }
.auto-card .chev { color: var(--line-2); font-size: 1.3rem; line-height: 1; }
.chip.live { background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); border: 1px solid color-mix(in srgb, var(--good) 40%, transparent); }
.chip.paused { background: color-mix(in srgb, var(--butter) 60%, transparent); color: #8a7320; border: 1px solid var(--butter-d); }
.chip.off { background: transparent; color: var(--muted); border: 1px dashed var(--line-2); }
.auto-overlay { position: fixed; inset: 0; background: rgba(43,36,32,.44); display: flex; justify-content: flex-end; z-index: 60; }
.auto-panel { width: min(430px, 94vw); height: 100%; background: var(--bone); border-left: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-lg); }
.auto-phead { display: flex; align-items: center; padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--line); }
.auto-phead b { font-family: var(--display); font-weight: 500; font-size: 1.05rem; }
.auto-phead .iconbtn { margin-left: auto; }
.auto-pbody { padding: 1.2rem; overflow: auto; flex: 1; }
.auto-pbody textarea.input { min-height: 120px; resize: vertical; font: inherit; line-height: 1.5; }
.auto-tags { margin-top: .5rem; font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.auto-tag { background: color-mix(in srgb, var(--gold) 34%, transparent); color: var(--night-2); border: none; border-radius: 6px; padding: .15rem .5rem; font: inherit; font-size: .8rem; cursor: pointer; }
.auto-help { background: var(--blush); border-radius: var(--r); padding: .65rem .8rem; font-size: .84rem; color: var(--ink-2); margin-bottom: 1.1rem; }
.auto-when { display: flex; gap: .6rem; }
.auto-when .input:first-child { max-width: 90px; }
.auto-pfoot { display: flex; gap: .6rem; padding: 1rem 1.2rem; border-top: 1px solid var(--line); }
.auto-pfoot .btn { flex: 1; }

/* Auto-messages editor v2: on/off switch, preview, plain status */
.chip.on { background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); border: 1px solid color-mix(in srgb, var(--good) 40%, transparent); }
.chip.ready { background: color-mix(in srgb, var(--butter) 60%, transparent); color: #8a7320; border: 1px solid var(--butter-d); }
.pip.on { background: var(--good); }
.pip.ready { background: var(--butter-d); }
.auto-switch { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: .85rem 1rem; margin-bottom: 1.3rem; }
.auto-switch-t { font-weight: 500; color: var(--ink); }
.auto-switch-note { font-size: .82rem; margin-top: .15rem; }
.auto-switch-note.on { color: var(--good); }
.auto-switch-note.off { color: var(--muted); }
.auto-switch-note.warn { color: #8a7320; }
.auto-sw { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; cursor: pointer; }
.auto-sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.auto-sw-track { position: absolute; inset: 0; background: var(--line-2); border-radius: var(--r-pill); transition: background .15s ease; }
.auto-sw-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(43,36,32,.25); transition: transform .15s ease; }
.auto-sw input:checked + .auto-sw-track { background: var(--good); }
.auto-sw input:checked + .auto-sw-track::after { transform: translateX(20px); }
.auto-sw input:focus-visible + .auto-sw-track { outline: 2px solid var(--oxblood); outline-offset: 2px; }
.lbl-hint { font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; font-size: .76rem; margin-left: .35rem; }
.auto-tags { margin-top: .5rem; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.auto-tags-l { font-size: .8rem; color: var(--muted); }
.auto-tag { background: color-mix(in srgb, var(--gold) 30%, transparent); color: var(--night-2); border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent); border-radius: var(--r-pill); padding: .22rem .65rem; font: inherit; font-size: .8rem; cursor: pointer; }
.auto-tag:hover { background: color-mix(in srgb, var(--gold) 46%, transparent); }
.auto-preview { background: color-mix(in srgb, var(--night) 7%, transparent); border-radius: var(--r); padding: .8rem .9rem; margin-bottom: 1.3rem; }
.auto-preview-l { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .45rem; }
.auto-preview-bubble { background: #fff; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: .7rem .85rem; font-size: .92rem; line-height: 1.5; color: var(--ink); box-shadow: var(--shadow-sm); }
.auto-preview-bubble .mf { background: color-mix(in srgb, var(--gold) 42%, transparent); border-radius: 5px; padding: 0 .22rem; }
.auto-when-line { font-size: .83rem; color: var(--muted); margin-top: .5rem; }

/* ---------- Requests tab: photo-forward inquiry cards ---------- */
.req-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.req-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.req-card.is-new { border-color: var(--oxblood); box-shadow: 0 0 0 1px var(--oxblood), var(--shadow-sm); }
.req-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); position: relative; }
.req-photos img { width: 100%; height: 130px; object-fit: cover; cursor: zoom-in; }
.req-photos img:only-child { grid-column: span 2; height: 220px; }
.req-photo-more { position: absolute; bottom: 6px; right: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: .75rem; font-weight: 700; padding: .15rem .5rem; border-radius: 999px; }
.req-photos-empty { height: 90px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .82rem; font-style: italic; background: var(--paper-2); }
.req-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .3rem; }
.req-client { font-weight: 700; font-family: var(--serif); font-size: 1.05rem; }
.req-piece { font-size: .88rem; color: var(--ink-2); }
.req-desc { font-size: .85rem; color: var(--muted); margin: .2rem 0 0; line-height: 1.4; }
.req-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; }
.req-when { font-size: .78rem; }
.req-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .7rem; }

.dash-rail { display: flex; flex-direction: column; }
.rail-ghl-link { margin-top: auto; align-self: flex-start; padding-top: 1.4rem; font-size: .78rem; color: color-mix(in srgb, var(--on-dark) 52%, var(--ink)); text-decoration: none; }
.rail-ghl-link:hover { color: var(--on-dark); text-decoration: underline; }
