/* Soulpreneurs shell styles. v0.3.0 (Sep 24, 2026).
   Layout, components and pages. Every colour is a token from theme.css, which loads first.
   Headings in Cormorant Garamond, body in DM Sans (var(--serif), var(--sans)). */

:root {
  --page-max: 1080px;
  --x: 24px;
  --band-h: 60px;
  --tabs-h: 60px;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}
@media (max-width: 700px) { :root { --x: 16px; } }
@media (min-width: 900px) { :root { --x: 40px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
}
body.has-tabs { padding-bottom: calc(var(--tabs-h) + var(--sab)); }
@media (min-width: 701px) { body.has-tabs { padding-bottom: 0; } }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(30px, 3.6vw, 40px); }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
p { margin: 0; }
a { color: var(--teal-ink); }
.sub { color: var(--ink-soft); margin-top: 6px; max-width: 56ch; }
.faint { color: var(--ink-faint); }
.small { font-size: 15px; }

button, input, select, textarea { font-family: inherit; font-size: 16px; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ================= Nav band =================
   Two rows. The band: wordmark, SUITE pill, the doors (Community, SoulCast Studios, SoulSoftware),
   the theme button, the avatar. The sub-nav under it: the community switcher, or the SoulCast pages. */
.band {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding-top: var(--sat);
  position: sticky;
  top: 0;
  z-index: 50;
}
.band-in {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 8px var(--x);
  min-height: var(--band-h);
  display: flex;
  align-items: center;
  gap: 10px;
}
.band .brand {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.band .suite {
  display: inline-block;
  background: var(--pill);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.band .doors { display: flex; gap: 2px; align-items: center; margin-left: 8px; }
.band .doors a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
}
.band .doors a:hover { color: var(--ink); background: var(--sage-soft); }
.band .doors a.here { background: var(--sage-soft); color: var(--teal-ink); }
.band .sp { flex: 1 1 auto; }
.tog {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  display: inline-grid;
  place-items: center;
  font-size: 17px;
  line-height: 1;
  flex: none;
  padding: 0;
}
.tog:hover { border-color: var(--teal); color: var(--ink); }
.band .who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 4px 12px 4px 4px;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  max-width: 220px;
  flex: none;
}
.band .who:hover { background: var(--sage-soft); }
.band .who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 860px) {
  .band .doors { display: none; }
}
@media (max-width: 700px) {
  .band .brand { font-size: 24px; }
  .band .who > span:not(.avatar) { display: none; }
  .band .who { padding: 4px; }
}

.subnav {
  background: var(--sage-soft);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: calc(var(--sat) + var(--band-h) + 1px);
  z-index: 49;
}
.subnav-in {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 6px var(--x);
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--teal-ink);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 500;
  font-size: 15px;
}
.subnav a:hover { background: var(--card); }
.subnav a.here { background: var(--card); box-shadow: 0 1px 3px var(--shadow); }
.subnav a small { font-size: 12px; color: var(--ink-faint); }
.subnav a.new { border: 1px dashed var(--teal); color: var(--teal-ink); }
.subnav .grow { flex: 1 1 auto; }
.subnav a.rec { background: var(--card); color: var(--teal-ink); font-weight: 600; border: 1.5px solid var(--sage); padding-top: 6.5px; padding-bottom: 6.5px; }
.subnav a.rec:hover, .subnav a.rec.here { border-color: var(--teal); background: var(--card); }
/* v0.8.0: each area keeps the colour of its Home tile as a dot; Settings and Integrations sit quietly at the right end. */
.subnav a .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; margin-right: 2px; }
.subnav a .dot.sage { background: var(--leaf); }
.subnav a .dot.lav { background: var(--gold); }
.subnav a .dot.dew { background: var(--dew-dot); }
.subnav a .dot.clay { background: var(--clay-dot); }
.subnav a.quiet { font-weight: 400; color: var(--ink-soft); padding-left: 10px; padding-right: 10px; }
.subnav a.quiet svg { width: 16px; height: 16px; flex: none; }
/* v0.11.4: Getting Started, the last item, a lavender ring with the leaf dot. */
.subnav a.gs { border: 1px solid var(--gold); }
.subnav a .dot.leaf { background: var(--leaf); }

/* v0.9.4: the note platform admins see on a community page while the communities are hidden. */
.hidden-note {
  max-width: 1100px; margin: 10px auto 0; padding: 6px 12px; width: calc(100% - 32px);
  font-size: 13px; color: var(--gold-ink); background: var(--gold-soft); border: 1px solid var(--gold);
  border-radius: 10px; text-align: center;
}
/* The SoulCast menu holds ten things (v0.11.4: Getting Started at the end): it runs as wide as the SoulCast pages,
   and on any screen wider than a phone the two quiet links keep their icon and drop their word (the word stays as
   the title and the spoken label), so the last item is not cut off. */
.subnav.sc .subnav-in { max-width: 1120px; gap: 2px; }
.subnav.sc a { padding-left: 12px; padding-right: 12px; }
.subnav.sc a.quiet { padding-left: 6px; padding-right: 6px; }
@media (min-width: 701px) { .subnav.sc a.quiet .lbl { display: none; } }
@media (max-width: 700px) {
  .subnav a { padding: 7px 11px; font-size: 14px; }
  .subnav a small { display: none; }
  .subnav a.rec { padding-top: 5.5px; padding-bottom: 5.5px; }
}

/* v0.12.0: the calm SoulCast nav. SoulCast (home) and the five places on the left, Create, Upload and Record on the
   right. On a narrow screen the places scroll on their own row and the actions sit on the row under them. The
   drop-downs (Create, and the menu under the name) are not inside anything that scrolls, so they are never cut off. */
.subnav.sc .subnav-in { flex-wrap: wrap; overflow: visible; gap: 6px 4px; }
.subnav.sc .sc-home { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); padding: 4px 12px 4px 4px; }
.subnav.sc .sc-home.here { background: none; box-shadow: none; }
.sc-places { display: flex; gap: 2px; align-items: center; min-width: 0; flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sc-places::-webkit-scrollbar { display: none; }
.sc-acts { display: flex; gap: 6px; align-items: center; margin-left: auto; flex: none; }
.subnav .sc-act, .sc-act {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  border-radius: 999px; padding: 7px 15px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; line-height: 1.3;
}
.subnav .sc-act:hover, .subnav .sc-act.here { background: var(--card); border-color: var(--teal); }
.subnav .sc-act.rec { background: var(--teal); border-color: var(--teal); color: var(--btn-ink); }
.subnav .sc-act.rec:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.sc-act .rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #E5584F; flex: none; }
.sc-dd { position: relative; display: inline-flex; }
.nv-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 230px; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px var(--shadow);
  display: grid; gap: 1px;
}
.nv-menu[hidden] { display: none; }
.nv-menu.right { left: auto; right: 0; }
.nv-menu a, .nv-menu button {
  display: grid; gap: 1px; width: 100%; text-align: left; background: none; border: 0; border-radius: 8px; padding: 8px 10px;
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; white-space: normal;
}
.nv-menu a:hover, .nv-menu button:hover, .nv-menu a:focus-visible, .nv-menu button:focus-visible { background: var(--sage-soft); }
.nv-menu button[hidden] { display: none; }
.nv-menu b { font-weight: 600; }
.nv-menu small { font-size: 12.5px; color: var(--ink-soft); font-weight: 400; }
.nv-menu small.em { padding: 4px 10px 6px; overflow-wrap: anywhere; }
.nv-menu hr { border: 0; border-top: 1px solid var(--line); margin: 5px 4px; }
.band button.who { border: 0; background: none; font: inherit; font-weight: 500; font-size: 15px; cursor: pointer; }
.band .who .caret { font-size: 11px; color: var(--ink-soft); }
@media (max-width: 1023px) {   /* v0.12.15: the phone or tablet layout up to 1023px (was 820px) */
  .subnav.sc .sc-places { flex-basis: calc(100% - 110px); }
  .sc-acts { margin-left: 0; width: 100%; }
  .sc-acts .sc-dd, .sc-acts > a { flex: 1 1 0; }
  .sc-acts .sc-act { width: 100%; justify-content: center; }
}
@media (max-width: 700px) { .band .who .caret { display: none; } }
/* v0.12.15: from 1024px up the SoulCast bar is one line: Home, the seven places, then Create, Upload and Record, a
   little tighter and more compact. Record stays the solid green button. */
@media (min-width: 1024px) {
  .subnav.sc .subnav-in { flex-wrap: nowrap; gap: 0 6px; }
  .subnav.sc .sc-home { font-size: 19px; padding: 4px 6px 4px 0; }
  .subnav.sc .sc-places { gap: 0; flex: 1 1 auto; overflow: visible; }
  .subnav.sc .sc-places a { padding: 6px 8px; font-size: 14px; gap: 5px; }
  .subnav.sc .sc-places a .dot { width: 7px; height: 7px; margin-right: 0; }
  .subnav.sc .sc-acts { gap: 4px; margin-left: 4px; }
  .subnav.sc .sc-act { padding: 5px 11px; font-size: 13px; gap: 5px; }
  .subnav.sc .sc-act .rec-dot { width: 7px; height: 7px; }
}

/* ================= Bottom tab bar (phones) ================= */
.tabs {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--card);
  border-top: 1px solid var(--line);
  padding-bottom: var(--sab);
  z-index: 50;
}
.tabs-in { display: flex; }
.tabs a {
  flex: 1 1 0;
  min-width: 0;
  min-height: var(--tabs-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 2px;
}
.tabs a svg { width: 24px; height: 24px; }
.tabs a.here { color: var(--teal-ink); }
@media (max-width: 700px) { .tabs { display: block; } }

/* ================= Avatar ================= */
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--teal-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  overflow: hidden;
  flex: none;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.big { width: 96px; height: 96px; font-size: 32px; }

/* ================= Page and cards ================= */
.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 28px var(--x) 60px;
  width: 100%;
}
.page.narrow { max-width: 640px; }
.top { margin-bottom: 22px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 18px;
}
.card h2 { margin-bottom: 4px; }
.card .sub { margin-bottom: 16px; }
.stack > * + * { margin-top: 14px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 18px 0; }

/* ================= Fields ================= */
.field { display: block; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=tel], textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font-size: 16px;
}
input:focus { border-color: var(--teal); }
input.code {
  font-size: 28px;
  letter-spacing: .3em;
  text-align: center;
  font-family: var(--sans);
  padding: 14px;
}
.hint { font-size: 14px; color: var(--ink-faint); margin-top: 6px; }

/* ================= Buttons ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--teal-ink);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
.btn:hover { background: var(--sage-soft); }
.btn.primary { background: var(--teal); border-color: var(--teal); color: var(--btn-ink); }
.btn.primary:hover { background: var(--teal-deep); }
.btn.quiet { background: transparent; border-color: transparent; }
.btn.quiet:hover { background: var(--sage-soft); }
.btn.gold { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-ink); }
.btn.wide { width: 100%; }
.btn.sm { min-height: 38px; padding: 6px 14px; font-size: 15px; }
.btn[disabled] { opacity: .55; cursor: default; }
.link { background: none; border: 0; padding: 0; color: var(--teal-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: 16px; }

/* ================= Notes, tags, toast ================= */
.note {
  background: var(--sage-soft);
  border: 1px solid var(--sage);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
}
.note.gold { background: var(--gold-soft); border-color: var(--gold); }
.note.plain { background: transparent; border-color: var(--line); }
.tag {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  background: var(--sage);
  color: var(--teal-ink);
}
.tag.gold { background: var(--gold-soft); color: var(--gold-ink); }
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabs-h) + var(--sab) + 18px);
  transform: translateX(-50%);
  background: var(--sage);
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 600;
  box-shadow: 0 12px 40px var(--shadow);
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  max-width: min(420px, calc(100% - 32px));
  text-align: center;
}
@media (min-width: 701px) { .toast { bottom: 28px; } }
.toast.show { opacity: 1; }
.hidden { display: none !important; }

/* ================= Lists ================= */
.list { list-style: none; margin: 0; padding: 0; }
.list li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}
.list li:first-child { border-top: 0; }
.list .grow { flex: 1 1 auto; min-width: 0; word-break: break-all; }

/* ================= Login ================= */
.login {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(24px + var(--sat)) var(--x) calc(24px + var(--sab));
}
.login .card { width: 100%; max-width: 440px; padding: 28px; margin: 0; }
.login .wordmark {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  color: var(--teal-ink);
  margin-bottom: 4px;
}
.login .sub { margin-bottom: 22px; }
.foot { margin-top: 26px; font-size: 13px; color: var(--ink-faint); text-align: center; }

/* ===================================================================================
   Phase 1 (v0.2.0): the switcher, the block tree, feeds, reactions, sheets, kinds.
   =================================================================================== */

/* ---- Two-column body: the tree and the main pane ---- */
.body { display: grid; grid-template-columns: 250px 1fr; gap: 0; max-width: var(--page-max); margin: 0 auto; width: 100%; min-height: 60vh; }
.side { border-right: 1px solid var(--line); padding: 22px 14px 40px var(--x); }
.main { padding: 28px var(--x) 60px 28px; min-width: 0; }
@media (max-width: 860px) {
  .body { grid-template-columns: 1fr; }
  .side { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px var(--x); }
  .main { padding: 24px var(--x) 60px; }
  .body.on-channel .side { display: none; }
  .body.on-tree .main { display: none; }
}
@media (min-width: 861px) { .back { display: none; } }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-ink); text-decoration: none; font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.side h4 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); margin: 18px 8px 6px; }
.side h4:first-child { margin-top: 0; }
.ch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  border: 1px solid transparent;
  min-height: 42px;
}
.ch:hover { background: var(--card); }
.ch.here { background: var(--card); border-color: var(--line); }
.ch .k { color: var(--ink-faint); width: 18px; text-align: center; font-size: 14px; flex: none; }
.ch .nm { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch.sub { padding-left: 30px; }
.ch .badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; flex: none; }
.badge.lock { background: var(--gold-soft); color: var(--gold-ink); }
.badge.hidden-block { background: var(--line-soft); color: var(--ink-soft); }
.badge.live { background: var(--rose-soft); color: var(--rose); }
.side .add {
  display: block;
  width: 100%;
  margin-top: 14px;
  border: 1px dashed var(--leaf);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--teal);
  background: transparent;
  font-weight: 600;
  text-align: left;
  font-size: 15px;
}
.side .add:hover { background: var(--card); }

/* ---- Page head inside the main pane ---- */
.head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 2px; }
.head h1 { font-size: clamp(26px, 3vw, 34px); }
.head .sp { flex: 1 1 auto; }
.crumb { color: var(--ink-faint); font-size: 14px; margin-bottom: 4px; }

/* ---- Composer and posts ---- */
.compose {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  margin: 16px 0;
}
.compose textarea {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  resize: none;
  padding: 8px 4px;
  min-height: 44px;
  font-size: 16px;
  color: var(--ink);
  outline: 0;
  line-height: 1.4;
}
.compose .acts { display: flex; gap: 6px; align-items: center; flex: none; }
.compose { flex-wrap: wrap; }
.compose-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.compose-main textarea { width: 100%; }
.compose.drop { border-color: var(--teal); background: var(--sage-soft); }
.btn.round { width: 38px; min-height: 38px; padding: 0; border-radius: 50%; font-size: 22px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }

/* ---- The chip strip: files chosen for a post ---- */
.att-strip { flex: 1 1 100%; display: flex; gap: 8px; flex-wrap: wrap; padding: 2px 2px 10px; }
.att-chip { position: relative; width: 108px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 6px; font-size: 12px; line-height: 1.3; cursor: default; }
.att-chip .thumb { width: 100%; aspect-ratio: 1; border-radius: 8px; background: var(--line-soft); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.att-chip .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.att-chip .glyph { font-size: 26px; color: var(--ink-faint); }
.att-chip .name { margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-soft); }
.att-chip .msg { color: var(--ink-faint); min-height: 15px; }
.att-chip.failed { cursor: pointer; border-color: var(--gold); }
.att-chip.failed .msg, .att-chip.refused .msg { color: var(--gold-ink); white-space: normal; }
.att-chip.refused .thumb { opacity: .4; }
.att-chip .x { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; min-height: 24px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink-soft); font-size: 16px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.att-bar { height: 3px; background: var(--line-soft); border-radius: 2px; margin-top: 5px; overflow: hidden; }
.att-bar i { display: block; height: 100%; width: 0; background: var(--leaf); transition: width .2s; }
.att-bar.moving i { width: 40%; animation: att-slide 1.1s linear infinite; }
.att-chip.done .att-bar i { width: 100% !important; }
.att-chip.refused .att-bar, .att-chip.waiting .att-bar, .att-chip.checking .att-bar { visibility: hidden; }
@keyframes att-slide { from { margin-left: -40%; } to { margin-left: 100%; } }
@media (max-width: 480px) { .att-chip { width: 92px; } }

/* ---- Attachments on a card ---- */
.post img, .post video { max-width: 100%; }
.att-images { margin-top: 8px; }
.att-images .att-img { padding: 0; border: 0; cursor: zoom-in; font: inherit; color: inherit; }
.att-images.one .att-img { display: block; width: 100%; background: var(--paper); border-radius: 12px; overflow: hidden; }
.att-images.one img { display: block; width: 100%; max-height: 70vh; object-fit: contain; }
.att-images.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 12px; overflow: hidden; }
.att-images.grid .att-img { position: relative; aspect-ratio: 1; background: var(--line-soft); overflow: hidden; }
.att-images.grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.att-img.resting img { display: none; }
.att-img .rest { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 120px; padding: 16px; font-size: 15px; color: var(--teal-ink); background: var(--paper); text-align: center; }
.att-images.grid .att-img.resting .rest { position: absolute; inset: 0; min-height: 0; }
.att-img .more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--overlay); color: var(--ink); font-weight: 700; font-size: 22px; isolation: isolate; }
.att-img .more::before { content: ""; position: absolute; width: 64px; height: 64px; border-radius: 50%; background: var(--card); z-index: -1; }
.att-video { margin-top: 8px; border-radius: 12px; overflow: hidden; background: var(--media-bg); }
.att-video video { display: block; width: 100%; max-height: 70vh; background: var(--media-bg); }
.att-wait { display: flex; gap: 10px; align-items: center; justify-content: center; min-height: 140px; padding: 16px; color: var(--teal); font-size: 15px; background-size: cover; background-position: center; text-align: center; }
.att-wait.failed { color: var(--teal-deep); }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--teal); border-right-color: transparent; animation: att-spin .9s linear infinite; flex: none; }
@keyframes att-spin { to { transform: rotate(360deg); } }
.att-docs { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.att-doc { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; background: var(--paper); }
.att-doc .glyph { font-size: 22px; color: var(--teal-ink); flex: none; }
.att-doc .info { flex: 1 1 auto; min-width: 0; }
.att-doc b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; font-size: 15px; }
.att-doc small { color: var(--ink-faint); font-size: 13px; }
.att-doc .btn { flex: none; }
@media (max-width: 480px) { .att-doc { flex-wrap: wrap; } .att-doc .info { flex-basis: calc(100% - 34px); } }
.att-audio { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); min-height: 46px; }
.att-audio .play, .voice-preview .play { width: 34px; height: 34px; min-height: 34px; flex: none; border-radius: 50%; border: 0; background: var(--teal); color: var(--btn-ink); padding: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.att-audio .line, .voice-preview .line { flex: 1 1 60px; height: 3px; background: var(--line-soft); border-radius: 2px; overflow: hidden; cursor: pointer; }
.att-audio .line i, .voice-preview .line i { display: block; height: 100%; width: 0; background: var(--leaf); }
.att-audio .time, .voice-preview .time { font-size: 13px; color: var(--ink-faint); font-variant-numeric: tabular-nums; flex: none; }
.att-audio.processing, .att-audio.failed { color: var(--ink-faint); font-size: 14px; padding-left: 12px; }
.att-audio audio, .voice-preview audio { display: none; }

/* ---- Voice replies: the mic, the recording line, the preview ---- */
.reply-box .mic { flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; touch-action: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.reply-box .mic svg rect { fill: currentColor; }
.reply-box .mic.on { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-ink); }
.voice-rec { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--gold-ink); }
.voice-rec .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); animation: sc-pulse 1s infinite; flex: none; }
.voice-preview { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 8px 6px 6px; border: 1px solid var(--sage); border-radius: 24px; background: var(--sage-soft); flex-wrap: wrap; }
.voice-hint { margin-top: 6px; font-size: 14px; color: var(--ink-faint); }
.lightbox { position: fixed; inset: 0; z-index: 120; background: var(--media-bg); display: flex; align-items: center; justify-content: center; padding: calc(var(--sat) + 8px) 8px calc(var(--sab) + 60px); }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .lb-x, .lightbox .lb-prev, .lightbox .lb-next { position: absolute; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); font-size: 24px; line-height: 1; display: flex; align-items: center; justify-content: center; z-index: 1; }
.lightbox .lb-x { top: calc(var(--sat) + 12px); right: 12px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-bar { position: absolute; left: 0; right: 0; bottom: calc(var(--sab) + 12px); display: flex; gap: 10px; align-items: center; justify-content: center; padding: 0 16px; }
.lightbox .lb-name { color: var(--ink-faint); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
body.no-scroll { overflow: hidden; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; margin-bottom: 12px; }
.post .who { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.post .who b { font-weight: 600; display: block; line-height: 1.2; }
.post .who small { display: block; color: var(--ink-faint); font-size: 13px; }
.post .who .sp { flex: 1 1 auto; }
.post .body { display: block; min-height: 0; white-space: pre-wrap; word-wrap: break-word; }
.post .gif { display: block; max-width: 320px; width: 100%; border-radius: 12px; margin-top: 8px; }
.post .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; color: var(--ink-faint); font-size: 14px; }
.post .meta .sp { flex: 1 1 auto; }
.post .from { font-size: 13px; color: var(--ink-faint); }
.post .from a { color: var(--teal-ink); font-weight: 600; text-decoration: none; }
.post.reply { padding: 12px 14px; margin: 8px 0 0 0; border-radius: 14px; background: var(--card); }
.replies { margin-top: 10px; padding-left: 14px; border-left: 2px solid var(--line-soft); }
.reply-box { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; }
.reply-box textarea { flex: 1 1 auto; min-width: 0; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; resize: none; background: var(--card); color: var(--ink); }

/* ---- Reactions: the heart is an SVG, the rest are emoji ---- */
.react { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 10px; }
.react button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: var(--card);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1;
}
.react button:hover { border-color: var(--sage); }
.react button.on { background: var(--sage-soft); border-color: var(--sage); color: var(--teal-ink); font-weight: 700; }
.react button svg { width: 18px; height: 18px; }
.react button .n { font-size: 13px; font-weight: 700; }
.react button:not(.on) .n:empty { display: none; }
.heart-svg path { fill: none; stroke: var(--sage); stroke-width: 2; }
.on .heart-svg path { fill: var(--leaf); stroke: var(--leaf); }

/* ---- GIF picker ---- */
.gif-pick { margin-top: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.gif-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; margin-top: 8px; max-height: 260px; overflow: auto; }
.gif-grid button { padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--line-soft); aspect-ratio: 1; }
.gif-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gif-picked { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.gif-picked img { height: 72px; border-radius: 8px; }

/* ---- Cards in grids: communities, people, folders, kinds ---- */
.grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.card.tight { padding: 16px 18px; margin: 0; }
.card h3 + .meta, .card .meta { color: var(--ink-faint); font-size: 14px; margin-top: 6px; }
.cardh { display: flex; align-items: center; gap: 10px; }
.cardh .sp { flex: 1 1 auto; }
.person { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.person b { display: block; font-weight: 600; }
.person .tl { color: var(--ink-soft); font-size: 15px; }
.person .links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.person .links a { font-size: 14px; }
.pill { display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); white-space: nowrap; }
.pill.sp { background: var(--gold-soft); color: var(--gold-ink); border-color: transparent; }
.pill.sf { background: var(--sage); color: var(--teal-ink); border-color: transparent; }
.kind { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: left; min-height: 120px; cursor: pointer; font: inherit; color: var(--ink); }
.kind .ico { font-size: 22px; margin-bottom: 6px; color: var(--teal-ink); }
.kind h4 { font-family: var(--serif); font-weight: 500; font-size: 18px; margin: 0 0 4px; }
.kind p { color: var(--ink-soft); font-size: 14px; }
/* v0.12.18: the picked card has its own class. It shared .pick with the bulk-select checkboxes
   (.pick is 20px wide), which shrank the picked card to a narrow strip. Picked is a ring and a
   soft fill only, never a size change. */
.kind.is-picked { border-color: var(--teal); box-shadow: 0 0 0 2px var(--sage); background: var(--sage-soft); }
.kind[disabled] { opacity: .55; cursor: default; border-style: dashed; }
.kind.soon { opacity: .75; }
.kind .soon-tag { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--line-soft); color: var(--ink-soft); }
.block-desc { color: var(--ink-soft); font-size: 15px; margin: 2px 0 10px; }

/* ---- The ••• on each block in the left list (owner only) ---- */
.ch-row { position: relative; display: flex; align-items: center; gap: 2px; }
.ch-row > .ch { flex: 1 1 auto; min-width: 0; }
.ch-more { flex: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-faint); font-size: 16px; letter-spacing: 1px; line-height: 1; }
.ch-more:hover, .ch-more[aria-expanded="true"] { background: var(--card); color: var(--ink); }
.ch-pop { position: absolute; right: 0; top: calc(100% + 4px); z-index: 40; min-width: 230px; max-width: calc(100vw - 32px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 12px 28px var(--shadow); }
.ch-pop[hidden] { display: none; }
.ch-pop button { display: block; width: 100%; text-align: left; background: transparent; border: 0; padding: 11px 12px; border-radius: 9px; color: var(--ink); font-size: 16px; line-height: 1.3; min-height: 44px; }
.ch-pop button:hover, .ch-pop button:focus-visible { background: var(--sage-soft); }
.ch-pop button[disabled] { color: var(--ink-faint); cursor: default; background: transparent; }
.ch-pop hr { border: 0; border-top: 1px solid var(--line-soft); margin: 6px 4px; }
.ch-pop .ask { padding: 8px 10px; font-size: 15px; color: var(--ink); }
.ch-pop .ask .row { margin-top: 10px; }
.ch-pop .ask .row button { width: auto; display: inline-flex; align-items: center; min-height: 40px; }
.folder .files { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.folder .files a, .folder .files button.link { font-size: 15px; text-align: left; }
.folder .files .f { display: flex; gap: 8px; align-items: center; }
.folder .files .f .sp { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dashed { border-style: dashed; display: flex; align-items: center; justify-content: center; color: var(--teal); min-height: 90px; text-align: center; }

/* ---- Toggles ---- */
.toggle { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line-soft); cursor: pointer; }
.toggle:first-child { border-top: 0; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle .sw-ui { width: 42px; height: 24px; border-radius: 999px; background: var(--switch-off); position: relative; flex: none; margin-top: 2px; transition: background .15s; }
.toggle .sw-ui:after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--card); transition: left .15s; }
.toggle input:checked + .sw-ui { background: var(--leaf); }
.toggle input:checked + .sw-ui:after { left: 21px; }
.toggle input:focus-visible + .sw-ui { outline: 2px solid var(--teal); outline-offset: 2px; }
.toggle b { display: block; font-weight: 600; }
.toggle span.d { color: var(--ink-soft); font-size: 15px; }
.toggle.off { opacity: .6; cursor: default; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.seg label { padding: 8px 14px; font-size: 15px; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg input:checked + label { background: var(--teal); color: var(--btn-ink); }

/* ---- Sheet: the block sheet and other inline forms ---- */
.sheet-wrap { position: fixed; inset: 0; background: var(--overlay); z-index: 90; display: flex; align-items: flex-end; justify-content: center; padding: 0; }
@media (min-width: 701px) { .sheet-wrap { align-items: center; padding: 24px; } }
.sheet { background: var(--paper); width: 100%; max-width: 760px; max-height: calc(100dvh - var(--sat)); overflow: auto; border-radius: 22px 22px 0 0; padding: 22px var(--x) calc(24px + var(--sab)); }
@media (min-width: 701px) { .sheet { border-radius: 22px; padding: 28px; } }
.sheet h2 { margin-bottom: 4px; }
select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font-size: 16px; }
input[type=url], input[type=search] { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font-size: 16px; }
textarea.full { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font-size: 16px; min-height: 90px; }
.address { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.address span { padding: 12px 0 12px 14px; color: var(--ink-faint); font-size: 16px; white-space: nowrap; }
.address input { border: 0; border-radius: 0; flex: 1 1 auto; min-width: 0; padding-left: 2px; }
.copybox { display: flex; gap: 8px; align-items: center; }
.copybox input { flex: 1 1 auto; min-width: 0; font-size: 16px; }
.porch-video { width: 100%; border-radius: 18px; background: var(--media-bg); margin-bottom: 18px; max-height: 60vh; }
.empty { color: var(--ink-faint); padding: 18px 0; }
.check { display: flex; gap: 10px; align-items: center; font-size: 16px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--teal); }

/* ===================================================================================
   v0.3.0: SoulCast Studios inside Soulpreneurs. Every class starts with sc- so nothing here
   touches the community pages. Shapes and wording from the approved mockup (v3).
   =================================================================================== */
.sc-page { max-width: 1120px; margin: 0 auto; padding: 32px var(--x) 90px; width: 100%; }
.sc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 28px; margin-bottom: 22px; }
.sc-head h1 { font-size: clamp(36px, 4.2vw, 48px); line-height: 1.05; font-weight: 500; }
.sc-lead { color: var(--ink-soft); margin-top: 6px; max-width: 60ch; }
.sc-page h2 { font-weight: 500; font-size: 28px; margin: 34px 0 12px; }
.sc-page .btn { border-width: 1.5px; }
.sc-btn-solid { background: var(--teal) !important; border-color: var(--teal) !important; color: var(--btn-ink) !important; }
.sc-btn-solid:hover { background: var(--teal-deep) !important; border-color: var(--teal-deep) !important; }
.sc-btn-line { background: var(--card); color: var(--teal-ink); border-color: var(--sage); }
.sc-btn-line:hover { border-color: var(--teal); background: var(--card); }
.sc-btn-soft { background: var(--gold-soft); color: var(--gold-ink); border-color: var(--gold-soft); }
.sc-btn-soft:hover { border-color: var(--teal); background: var(--gold-soft); }

.sc-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.sc-search { flex: 1 1 240px; min-width: 200px; display: flex; align-items: center; gap: 10px; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 16px; }
.sc-search span { color: var(--ink-faint); }
.sc-search input[type=search] { border: 0; outline: 0; background: transparent; flex: 1 1 auto; color: var(--ink); padding: 8px 0; font-size: 16px; min-width: 0; }
.sc-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.sc-chip { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 13px; font-size: 14px; color: var(--ink-soft); min-height: 36px; }
.sc-chip.on { background: var(--ink-soft); color: var(--paper); border-color: var(--ink-soft); }
.sc-chip-select { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 12px; font-size: 16px; color: var(--ink-soft); width: auto; max-width: 220px; min-height: 36px; }
.sc-views { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.sc-views button { border: 0; background: transparent; padding: 8px 14px; color: var(--ink-soft); font-size: 14px; min-height: 36px; }
.sc-views button.on { background: var(--ink-soft); color: var(--paper); }

.sc-tag { display: inline-block; font-size: 13px; padding: 3px 9px; border-radius: 999px; background: var(--sage-soft); color: var(--teal-ink); font-weight: 500; line-height: 1.35; }
.sc-tag.live { background: var(--pill); color: var(--ink-soft); font-family: var(--serif); letter-spacing: .08em; padding: 2px 10px; }
.sc-tag.wait { background: var(--pill); color: var(--ink-soft); }
.sc-tag.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink-faint); }

/* Studios */
.sc-studios { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.sc-studio { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sc-studio.pinned { border-color: var(--teal); box-shadow: 0 0 0 3px var(--sage-soft); }
.sc-studio .nm { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; word-break: break-word; }
.sc-studio .addr { color: var(--ink-faint); font-size: 14px; margin-top: 2px; word-break: break-all; }
.sc-studio .meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--ink-soft); }
.sc-studio .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; align-items: center; }
.sc-studio .acts .sc-enter { flex: 1 1 auto; }
.sc-studio .inline { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.sc-studio .inline .row { gap: 8px; }
.sc-newcard { border: 1.5px dashed var(--sage); background: transparent; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; color: var(--teal-ink); min-height: 220px; text-decoration: none; }
.sc-newcard .nm { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.sc-newcard p { color: var(--ink-soft); font-size: 15px; max-width: 30ch; }
.sc-strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.sc-strip .sc-studio { min-width: 270px; max-width: 300px; padding: 18px; flex: none; }
.sc-strip .sc-studio .nm { font-size: 21px; }

/* Menus: a button and a pop list under it. Closed by a tap anywhere else or Escape. */
.sc-menu { position: relative; display: inline-block; }
.sc-menu .pop { display: none; position: absolute; right: 0; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px; min-width: 240px; box-shadow: 0 12px 28px var(--shadow); z-index: 40; }
.sc-menu.left .pop { right: auto; left: 0; }
.sc-menu.open .pop { display: block; }
.sc-menu .pop button, .sc-menu .pop a { display: block; width: 100%; text-align: left; background: transparent; border: 0; padding: 10px 12px; border-radius: 9px; color: var(--ink); font-size: 16px; text-decoration: none; line-height: 1.3; }
.sc-menu .pop button:hover, .sc-menu .pop a:hover { background: var(--sage-soft); }
.sc-menu .pop button[disabled] { color: var(--ink-faint); cursor: default; background: transparent; }
.sc-menu .pop hr { border: 0; border-top: 1px solid var(--line-soft); margin: 6px 4px; }
.sc-menu .pop small { display: block; color: var(--ink-faint); font-size: 13px; margin-top: 1px; }

/* Library rows */
.sc-rows { display: flex; flex-direction: column; gap: 12px; }
.sc-row { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; align-items: center; }
.sc-row.pending { border-color: var(--sage); }
.sc-row.nudge { border-color: var(--gold); }
.sc-tag.nudge { background: var(--gold-soft); color: var(--gold-ink); }
/* v0.8.0: select several in the Recording Library's Needs a nudge list */
.sc-row.picking { grid-template-columns: auto minmax(0, 1fr) auto; }
.sc-row .pick { display: flex; align-items: center; justify-content: center; align-self: stretch; padding: 0 2px; cursor: pointer; }
.sc-row .pick input { width: 22px; height: 22px; accent-color: var(--teal); }
.sc-bulk { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; background: var(--gold-soft); color: var(--ink); border-radius: 14px; padding: 10px 14px; margin-bottom: 14px; font-size: 15px; }
.sc-bulk .grow { flex: 1 1 auto; }
.sc-bulk[hidden] { display: none; }
/* v0.10.1 (Release 4.2): the count, the dates beside the studio, the Undo in the toast, a row in Trash */
.sc-bulk .cnt { font-weight: 600; }
.sc-dates { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--ink-soft); font-size: 14px; }
.sc-dates label { display: inline-flex; gap: 6px; align-items: center; }
.sc-dates input[type=date] { border: 1.5px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: 16px; min-height: 36px; width: auto; }
.toast.act { pointer-events: auto; display: inline-flex; gap: 12px; align-items: center; }
.toast .undo { border: 0; background: transparent; color: var(--teal-ink); font: inherit; font-weight: 700; text-decoration: underline; padding: 4px 2px; cursor: pointer; min-height: 32px; }
.sc-row.trashed .t { color: var(--ink-soft); }
.sc-chip b { font-weight: 600; }
.sc-chip.quiet { border-style: dashed; }
.sc-row.pending .t { color: var(--ink-soft); }
.sc-row .lbl { font-size: 12px; color: var(--ink-faint); letter-spacing: .02em; margin-bottom: 2px; }
.sc-row .t { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.15; word-break: break-word; }
.sc-row .t.rn { cursor: text; position: relative; display: inline-block; padding: 0 70px 0 0; font-family: var(--serif); font-weight: 600; font-size: 25px; border: 0; border-bottom: 1px dashed transparent; background: transparent; color: inherit; text-align: left; }
.sc-row .t.rn:hover { border-bottom-color: var(--sage); }
.sc-row .t.rn:hover::after { content: 'Rename'; position: absolute; right: 0; top: 9px; font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--teal-ink); }
.sc-row .rename { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sc-row .rename input[type=text] { font-family: var(--serif); font-size: 22px; font-weight: 600; max-width: 480px; flex: 1 1 240px; }
.sc-row .w { color: var(--ink-soft); font-size: 15px; margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.sc-row .w .st { color: var(--ink-faint); }
.sc-row .who { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.sc-row .who span { background: var(--sage-soft); border-radius: 999px; padding: 3px 10px; font-size: 14px; color: var(--teal-ink); word-break: break-all; }
.sc-row .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.sc-row .status { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); padding-top: 12px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 15px; color: var(--ink-soft); }
.sc-row .status .right { margin-left: auto; }
/* v0.7.0: sharing. The Shared by chip is the one lavender mark on a row; Co-hosted studio is the plain tag. */
.sc-tag.via { background: var(--gold-soft); color: var(--gold-ink); }
.sc-row .share { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); padding-top: 14px; display: grid; gap: 10px; }
.sc-row .share .hd b { display: block; font-weight: 600; }
.sc-row .share .hd span { color: var(--ink-soft); font-size: 15px; }
.sc-row .share .chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sc-row .share .chip { display: inline-flex; align-items: center; gap: 6px; background: var(--sage-soft); border-radius: 999px; padding: 4px 6px 4px 12px; font-size: 14px; color: var(--teal-ink); }
.sc-row .share .chip.ask { background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 3px 6px 3px 12px; }
.sc-row .share .chip .pill { font-size: 12px; padding: 1px 8px; }
.sc-row .share .chip > button:not(.btn) { border: 0; background: transparent; color: inherit; font-size: 18px; line-height: 1; padding: 0 4px; min-height: 24px; cursor: pointer; }
.sc-row .share .addline { display: flex; gap: 8px; flex-wrap: wrap; }
.sc-row .share .addline input { flex: 1 1 240px; max-width: 420px; }
.sc-row .share .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sc-row .share .note { color: var(--ink-soft); font-size: 14px; }
.sc-invite { background: var(--gold-soft); border-radius: 18px; padding: 18px 20px; margin-bottom: 18px; color: var(--ink); }
.sc-invite b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.sc-invite p { margin: 0 0 10px; color: var(--ink-soft); max-width: 60ch; }
.sc-row .preview { grid-column: 1 / -1; color: var(--ink-soft); font-size: 15px; font-style: italic; }
.sc-takes { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.sc-takes .sc-row { border-radius: 14px; padding: 12px 14px; }
.sc-takes .sc-row .t { font-size: 20px; }
.sc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); display: inline-block; margin-right: 6px; animation: sc-pulse 1.4s ease-in-out infinite; }
@keyframes sc-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sc-dot { animation: none; } }
.sc-more { display: flex; justify-content: center; margin-top: 16px; }

/* Guests */
.sc-guests { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.sc-guest { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; min-width: 0; }
.sc-guest .top2 { display: flex; gap: 14px; align-items: center; }
.sc-guest .ini { width: 48px; height: 48px; border-radius: 50%; background: var(--pill); color: var(--ink-soft); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; flex: none; }
.sc-guest .nm { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.1; word-break: break-word; }
.sc-guest .em { color: var(--ink-soft); font-size: 15px; word-break: break-all; }
.sc-guest ul { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.sc-guest li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.sc-guest li .d { color: var(--ink-faint); white-space: nowrap; }
.sc-guest li a { text-decoration: none; font-weight: 600; color: var(--teal-ink); }
.sc-guest .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.sc-soon { font-size: 13px; color: var(--ink-faint); padding: 8px 0 0; }
.sc-sheetwrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
table.sc-gt { width: 100%; border-collapse: collapse; min-width: 820px; font-size: 15px; }
table.sc-gt th { text-align: left; font-weight: 600; color: var(--ink-soft); font-size: 13px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--sage-soft); }
table.sc-gt td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.sc-gt tr:last-child td { border-bottom: 0; }
table.sc-gt .nm { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.1; }
table.sc-gt .dates span { display: inline-block; background: var(--sage-soft); color: var(--teal-ink); border-radius: 999px; padding: 2px 9px; font-size: 13px; margin: 2px 4px 2px 0; }
table.sc-gt .links .ln { display: block; white-space: nowrap; font-size: 14px; line-height: 1.7; }
table.sc-gt .links a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--teal-ink); }
table.sc-gt .links a small { font-weight: 400; color: var(--ink-faint); }

/* Home */
.sc-hero { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: center; }
.sc-hero h1 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 500; }
.sc-hero .go { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.sc-hero .go { align-items: center; }
.sc-hero .go .sc-enter-last { font-size: 15px; margin-left: 4px; overflow-wrap: anywhere; }
/* v0.8.0: the four tiles, each area in its own soft colour. Text on a tile is deep green or warm dark only. */
.sc-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sc-quick a { text-decoration: none; color: var(--teal-ink); background: var(--sage-soft); border-radius: 16px; padding: 16px 16px 14px; min-height: 104px; display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.sc-quick a svg { width: 22px; height: 22px; margin-bottom: 4px; flex: none; }
.sc-quick a b { font-weight: 600; font-size: 16px; line-height: 1.25; }
.sc-quick a small { font-weight: 400; color: var(--ink-soft); font-size: 14px; }
.sc-quick a.t-sage { background: var(--sage-soft); color: var(--teal-ink); }
.sc-quick a.t-clay { background: var(--clay); color: var(--clay-ink); }
.sc-quick a.t-dew { background: var(--dew); color: var(--dew-ink); }
.sc-quick a.t-lav { background: var(--gold-soft); color: var(--ink); }
/* The gentle second line: recordings that need a nudge. Lavender, never yellow. */
.sc-nudge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 12px; background: var(--gold-soft); color: var(--gold-ink); padding: 8px 14px; border-radius: 12px; font-size: 15px; }
.sc-nudge a { color: var(--gold-ink); font-weight: 600; text-underline-offset: 3px; }
/* v0.11.4: the welcome card as a first-week guide. Each step wears its tile's colour (--c the mark and ring,
   --wash the soft fill on the next step). The leaf is only the bar and the green step's mark. */
.sc-hero.guide { align-items: start; grid-template-columns: 1fr; }   /* v0.12.0: the guide runs full width; the boxes sit under it */
.sc-gprog { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); margin-top: 14px; }
.sc-gprog .bar { flex: 1; height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.sc-gprog .bar i { display: block; height: 100%; background: var(--leaf); border-radius: 99px; }
.sc-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.sc-steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.sc-steps li:first-child { border-top: 0; }
.sc-steps li.s-clay { --c: var(--clay-dot); --wash: var(--clay); }
.sc-steps li.s-dew { --c: var(--dew-dot); --wash: var(--dew); }
.sc-steps li.s-sage { --c: var(--leaf); --wash: var(--sage-soft); }
.sc-steps li.s-lav { --c: var(--gold); --wash: var(--gold-soft); }
.sc-steps .mark { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--c); display: grid; place-items: center; padding: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.sc-steps button.mark:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; }
.sc-steps button.mark:disabled { cursor: default; }
.sc-steps button.mark:not(:disabled):hover { box-shadow: 0 0 0 4px var(--line-soft); }
.sc-steps .mark svg { width: 12px; height: 12px; opacity: 0; stroke: var(--ink); }
.sc-steps li.done .mark { background: var(--c); }
.sc-steps li.done .mark svg { opacity: 1; }
.sc-steps .t { display: block; font-weight: 500; }
.sc-steps .s { display: block; font-size: 14px; color: var(--ink-soft); }
.sc-steps li.done .t { color: var(--ink-soft); }
.sc-steps li.next { background: var(--wash); border-radius: 14px; padding-left: 10px; padding-right: 10px; margin: 0 -10px; border-top-color: transparent; }
.sc-steps li.next + li { border-top-color: transparent; }
.sc-steps li.skipped .mark { border-style: dashed; background: transparent; }
.sc-steps li.skipped .mark svg { opacity: 0; }
.sc-steps .go-step { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
/* v0.11.8: the How? pop-up card and the Garden at the finish. */
.sc-steps .how, .sc-garden .how { font-size: 13px; }
.sc-steps .how:focus-visible, .sc-garden .how:focus-visible, .sc-steps .t-link:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 2px; border-radius: 4px; }
.sc-garden { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: var(--gold-soft); color: var(--ink); border-radius: 12px; padding: 10px 14px; font-size: 15px; margin: -4px 0 12px; }
.sc-garden p { margin: 0; flex: 1 1 260px; }
.sc-steps .skip { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.sc-steps .btn { white-space: nowrap; }
.sc-glinks { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 14px; font-size: 14px; }
.sc-glinks a { font-weight: 500; color: var(--ink); text-underline-offset: 3px; }
.sc-glinks .play { display: inline-flex; align-items: center; gap: 6px; }
.sc-glinks .play i { width: 18px; height: 18px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; }
.sc-glinks .play svg { width: 8px; height: 9px; fill: var(--btn-ink); margin-left: 1px; }
.sc-glinks .hide { margin-left: auto; font-size: 13px; color: var(--ink-soft); }
.sc-quick a.ring { position: relative; box-shadow: 0 0 0 2px var(--c); }
.sc-quick a.t-sage { --c: var(--leaf); }
.sc-quick a.t-clay { --c: var(--clay-dot); }
.sc-quick a.t-dew { --c: var(--dew-dot); }
.sc-quick a.t-lav { --c: var(--gold); }
.sc-quick a .pill { position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--card); color: var(--ink); border-radius: 999px; padding: 2px 8px; }
.sc-cheer { display: flex; gap: 10px; align-items: center; background: var(--sage-soft); color: var(--ink); border-radius: 12px; padding: 10px 14px; font-size: 15px; margin-bottom: 12px; }
.sc-cheer .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); flex: none; }
/* v0.11.5: How? beside each step, the lavender wait dot on step 4, and the preview band. */
.sc-steps .how { font-size: 13px; color: var(--ink-soft); margin-left: 4px; white-space: nowrap; }
.sc-gwait { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); align-self: center; justify-self: end; margin-right: 8px; animation: sc-pulse 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .sc-gwait { animation: none; } }
.sc-pvband { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; background: var(--gold-soft); color: var(--ink); border: 1px solid var(--gold); border-radius: 12px; padding: 8px 14px; font-size: 14px; margin: 0 0 14px; }
.sc-pvband a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; margin-left: auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sc-steps .mark svg { stroke: var(--paper); } }
:root[data-theme="dark"] .sc-steps .mark svg { stroke: var(--paper); }
@media (max-width: 520px) {
  .sc-steps li { grid-template-columns: 24px minmax(0, 1fr); }
  .sc-steps li .go-step { grid-column: 2; justify-content: flex-start; }
  .sc-steps li .sc-gwait { grid-column: 2; justify-self: start; margin: 2px 0 0; }
}
/* v0.11.9: every step has its action, the title included; Enter my studio's list; the How? help card. */
.sc-steps .t-link { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-align: left; text-decoration: none; cursor: pointer; }
.sc-steps .t-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.sc-steps .btn.sc-btn-small { min-height: 32px; padding: 4px 12px; font-size: 14px; }
.sc-steps .again { font-size: 13px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.sc-pickwrap { position: relative; display: inline-flex; }
.sc-pick { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 200px; max-width: min(300px, calc(100vw - 32px)); display: grid; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px var(--shadow); padding: 6px; }
.sc-pick[hidden] { display: none; }
.sc-pick .h { font-size: 12px; color: var(--ink-soft); padding: 4px 10px; }
.sc-pick a { padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.sc-pick a:hover { background: var(--line-soft); }
.sc-pick a:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: -2px; }
.sc-howscrim { position: fixed; inset: 0; z-index: 59; background: rgba(0, 0, 0, .35); }
.sc-howcard { position: fixed; z-index: 60; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px var(--shadow); padding: 16px 20px 20px; font-size: 15px; line-height: 1.5; overflow: auto; overscroll-behavior: contain; }
.sc-howcard[hidden], .sc-howscrim[hidden] { display: none; }
.sc-howcard:focus { outline: none; }
.sc-howcard :focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 2px; }
.sc-howcard .hc-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.sc-howcard h2 { flex: 1; margin: 4px 0 0; font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; }
.sc-howcard .hc-x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; padding: 0; cursor: pointer; }
.sc-howcard .hc-x:hover { background: var(--line-soft); }
.sc-howcard .hc-x svg { width: 14px; height: 14px; stroke: currentColor; }
.sc-howcard .shot { position: relative; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sc-howcard .shot img, .sc-howcard .shot svg { display: block; width: 100%; height: auto; }
.sc-howcard .shot svg { position: absolute; inset: 0; height: 100%; }
.sc-howcard .marks .m { fill: #A993C9; stroke: #FFFFFF; stroke-width: 3; }
.sc-howcard .marks .n { fill: #FFFFFF; font: 600 22px var(--sans); text-anchor: middle; }
.sc-howcard .marks .lb { fill: #2C2A25; fill-opacity: .88; }
.sc-howcard .marks .lt { fill: #FFFFFF; font: 500 19px var(--sans); }
.sc-howcard .hc-steps { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 6px; }
.sc-howcard p { margin: 0 0 16px; }
.sc-howcard .hc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.sc-howcard .skip { font-size: 14px; color: var(--ink-soft); }
.sc-howcard .sc-pickwrap { display: grid; justify-items: start; }
.sc-howcard .sc-pick { position: static; margin-top: 8px; box-shadow: none; }
.sc-howcard.sheet { left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 85vh; border-radius: 20px 20px 0 0; border-bottom: 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
@media (max-width: 520px) { .sc-pick { right: auto; left: 0; } }
.sc-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sc-sec .link { font-size: 15px; }
/* The plain-words hover: a dotted underline on a garden word, its plain meaning in one small note. */
.gw { border-bottom: 1.5px dotted currentColor; cursor: help; }
.gw:focus { outline: none; }
.gw:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
.gw-tip { position: fixed; z-index: 500; max-width: min(260px, calc(100vw - 16px)); background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.3; padding: 6px 10px; border-radius: 8px; pointer-events: none; box-shadow: 0 6px 16px var(--shadow); }
.gw-tip[hidden] { display: none; }

/* Share sheet (sits in the shell's .sheet-wrap overlay) */
.sc-share h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; }
.sc-share .lnk { display: flex; gap: 8px; margin-top: 14px; }
.sc-share .lnk input { flex: 1 1 auto; min-width: 0; }
.sc-share .lnk .btn { white-space: nowrap; flex: none; }
.sc-share textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; font-family: inherit; font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--card); min-height: 220px; margin-top: 8px; resize: vertical; }
.sc-share .lbl { font-weight: 600; margin-top: 18px; }
.sc-share .foot2 { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 12px; }
.sc-qr { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.sc-qr p { font-size: 14px; color: var(--ink-soft); }
.sc-qr canvas { width: 132px; height: 132px; border-radius: 10px; background: var(--qr-bg); image-rendering: pixelated; }

/* Frames: the rehosted pages, full width under the band */
.sc-frame-host { width: 100%; }
.sc-frame { display: block; width: 100%; border: 0; background: var(--paper); }
.sc-tabs2 { display: flex; gap: 6px; padding: 12px var(--x) 0; max-width: 1120px; margin: 0 auto; }
.sc-wait { max-width: 1120px; margin: 0 auto; padding: 40px var(--x); color: var(--ink-soft); }

/* The session popup (v0.5.2): the Content Manager's sheet over the Library or Home, in a frame that
   covers the screen. The card body is the door; its buttons, menus and links keep their own jobs. */
.sc-row.opens { cursor: pointer; }
.sc-row.opens:focus { outline: none; }
.sc-popup { position: fixed; inset: 0; z-index: 400; }
.sc-popup[hidden] { display: none; }
.sc-popup .frame { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
.sc-popup .wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--overlay); }
.sc-popup .wait[hidden] { display: none; }
.sc-popup .wait > div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; max-width: 360px; width: 100%; text-align: center; box-shadow: 0 12px 28px var(--shadow); }
.sc-popup .wait p { margin: 0 0 12px; color: var(--ink-soft); }
.sc-popup .wait .sc-choose { padding: 0; }
html.sc-popup-open, html.sc-popup-open body { overflow: hidden; }
/* v0.9.2: on a phone the session view fills the screen, so the layer under it is solid. Nothing on the page behind
   (a row's "Your content is in the Content Manager" line, the tab bar) can show through or over the cards. */
@media (max-width: 699px) { .sc-popup { background: var(--paper); } }
.sc-choose { max-width: 560px; margin: 32px auto; padding: 0 var(--x); }

/* One-line errors with Try again, and empty states */
.sc-error { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--ink-soft); }
.sc-empty { color: var(--ink-soft); padding: 18px 0; }
.sc-loading { color: var(--ink-faint); padding: 18px 0; }

@media (max-width: 760px) {
  .sc-hero { grid-template-columns: 1fr; }
  .sc-row { grid-template-columns: 1fr; }
  .sc-row.picking { grid-template-columns: auto minmax(0, 1fr); }
  .sc-row.picking .acts { grid-column: 1 / -1; }
  .sc-row .acts { justify-content: flex-start; }
  .sc-menu .pop { right: auto; left: 0; }
  .sc-row .acts .sc-menu:last-child .pop { left: auto; right: 0; }
}

/* ================= Green season vines (v0.5.0) =================
   Drawn by shared/vines.js. Colours are tokens. The vine sits under the page frame. */

.vines {
  position: fixed; inset: 0; z-index: 300;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s ease;
}
.vines.away { opacity: 0; pointer-events: none; }
.vines svg.field { position: absolute; inset: 0; width: 100%; height: 100%; }
.vines .word { position: relative; text-align: center; font-family: var(--serif); color: var(--teal-ink); }
.vines .word .mark { font-size: clamp(38px, 6vw, 56px); font-weight: 500; letter-spacing: -.01em; line-height: 1; }
.vines .word .step {
  font-family: var(--sans); font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); margin-top: 14px; min-height: 18px;
  transition: opacity .3s;
}
.vines .word .step.swap { opacity: 0; }

.vine path, .vine circle, .vine ellipse {
  fill: none; stroke: var(--vine); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.vines .vine .stem { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset var(--grow, 2.4s) cubic-bezier(.4, 0, .2, 1); }
.vines .vine.on .stem { stroke-dashoffset: 0; }
.vine .bud { opacity: 0; transform: scale(0); transform-box: view-box; transform-origin: 0 0; transition: transform .55s cubic-bezier(.34, 1.4, .64, 1) var(--at, 0s), opacity .2s linear var(--at, 0s); }
.vines .vine.on .bud { opacity: 1; transform: scale(1); }
.vine .petal { fill: var(--petal); }
.vine .solid { fill: var(--vine); }
.vine .thorn { stroke-width: 1.4; }
.vine { transition: opacity .8s; }
.vine.done { opacity: .55; }

.edge {
  position: fixed; left: 0; top: 0; bottom: 0; width: 150px; pointer-events: none; z-index: 0;
  opacity: var(--edge-ink);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 90px, black calc(100% - 220px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, black 90px, black calc(100% - 220px), transparent 100%);
}
.edge svg { width: 100%; height: 100%; overflow: visible; }
.edge .stem { stroke-dasharray: 1; stroke-dashoffset: 1; }
.edge .bud { opacity: 0; transform: scale(0); transform-box: view-box; transform-origin: 0 0; transition: transform .7s cubic-bezier(.34, 1.3, .64, 1), opacity .3s; }
.edge .bud.on { opacity: 1; transform: scale(1); }
.edge.still .bud { transition: none; }
.edge .boll { fill: var(--card); }
.body, .page, .sc-page { position: relative; z-index: 1; }
@media (max-width: 899px) { .edge { display: none; } }

.wisp { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--ink-faint); }
.wisp::before, .wisp::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.wisp svg { width: 72px; height: 22px; flex: none; }
.wisp path { fill: none; stroke: var(--vine); stroke-width: 1.3; stroke-linecap: round; opacity: .75; }
.wisp.left { justify-content: flex-start; }
.wisp.left::before { display: none; }

.sprig { width: 58px; height: 58px; flex: none; }
.sprig path { fill: none; stroke: var(--vine); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sprig .petal { fill: var(--petal); stroke: var(--vine); stroke-width: 1.1; }
.login .card { position: relative; overflow: visible; }
.login .sprig { position: absolute; top: -40px; left: -34px; width: 118px; height: 118px; pointer-events: none; }
.login .sprig path, .login .sprig circle { stroke-width: 1.5; }

.empty-mark { display: flex; gap: 16px; align-items: center; padding: 22px 0; color: var(--ink-soft); }
.empty-mark b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); }
.empty-mark p { margin: 4px 0 0; }
.empty-mark .sprig { opacity: .85; }

.grow-spin { width: 44px; height: 44px; display: inline-block; vertical-align: middle; }
.grow-spin path { fill: none; stroke: var(--vine); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: sprout 2.2s ease-in-out infinite; }
.grow-spin .l2 { animation-delay: .35s; }
.grow-spin .l3 { animation-delay: .7s; }
@keyframes sprout { 0% { stroke-dashoffset: 1; } 45%, 75% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .vine .bud, .edge .bud, .vines .vine .stem, .vines, .vines .word .step { transition: none; }
  .grow-spin path { animation: none; stroke-dashoffset: 0; }
}

/* ================= Admin (v0.6.4) ================= */
.page.admin { max-width: 1240px; }
.admin-back { display: inline-flex; margin-bottom: 14px; color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.admin-signed { margin-top: 18px; font-size: 13px; color: var(--ink-soft); }
.admin-counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.admin-counts .card { margin: 0; padding: 16px 18px; }
.admin-counts .k { font-size: 13px; color: var(--ink-soft); }
.admin-counts .n { font-size: 30px; font-weight: 600; line-height: 1.15; }
.admin-counts .n.wait { color: var(--gold-ink); }
@media (min-width: 800px) { .admin-counts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.admin-tools { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; align-items: center; }
.admin-search { flex: 1 1 220px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: var(--ink-soft); }
.admin-search svg { flex: none; }
.admin-search input[type=search] { border: 0; outline: 0; background: transparent; padding: 0; height: 44px; width: 100%; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px; }
.admin-filters button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font-size: 16px; font-weight: 500; }
.admin-filters button[aria-pressed="true"] { background: var(--teal); color: var(--btn-ink); }
.atable { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.ahead, .arow { display: grid; gap: 12px; padding: 14px 20px; align-items: center; }
.ahead { background: var(--paper); font-size: 13px; font-weight: 600; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.arow { border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.arow:last-child { border-bottom: 0; }
/* Admin, the SoulCast membership under Access from (Oct 11): amount, partner code, status. */
.bill-line { display: block; font-size: 13px; color: var(--ink-soft); }
.bill-line.low { color: var(--rose); font-weight: 600; }
.bill-line .badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.people-grid { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(72px, .8fr) minmax(84px, .6fr) auto; }
/* v0.9.5: community preview on Admin > People. The master switch card, the per-person switch, Select and the bulk bar. */
.admin-switch { margin: 16px 0 0; padding: 6px 20px; }
.admin-switch .toggle { border-top: 0; }
.ask { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 0; font-size: 15px; }
.ask.hidden { display: none; }
.toggle.mini { padding: 0; border-top: 0; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.toggle.mini .sw-ui { margin-top: 0; }
.bulk { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 16px; padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.bulk .grow { flex: 1 1 auto; }
.bulk .ask { width: 100%; padding: 4px 0 0; }
.sel-n { font-size: 14px; color: var(--ink-soft); }
.pick-all { gap: 8px; font-size: 15px; }
.pick { width: 20px; height: 20px; flex: none; accent-color: var(--teal); }
.pick-all input { width: 20px; height: 20px; accent-color: var(--teal); }
.comm-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr) minmax(52px, .6fr) minmax(0, 1.15fr) minmax(0, 1.7fr) minmax(0, 1.5fr); }
.arow .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.arow .min { min-width: 0; }
.arow .nm { font-weight: 600; }
.arow .nm a { color: var(--ink); text-decoration: none; }
.arow .em { font-size: 13px; color: var(--ink-soft); overflow-wrap: anywhere; }
.arow .actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.alabel { display: none; }
.pill.wait { background: var(--rose-soft); color: var(--ink); border-color: transparent; }
.pill.on { background: var(--sage-soft); color: var(--teal-ink); border-color: transparent; }
.pill .x { border: 0; background: transparent; color: inherit; font-size: 16px; line-height: 1; padding: 0 0 0 4px; min-height: 24px; }
.switch-pills, .gift { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gift { position: relative; }
.gift-menu { position: absolute; z-index: 4; top: calc(100% + 6px); left: 0; min-width: 220px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 12px 40px var(--shadow); }
.gift-menu button { display: block; width: 100%; text-align: left; background: transparent; border: 0; border-radius: 8px; padding: 8px 10px; color: var(--ink); font-size: 16px; }
.gift-menu button:hover { background: var(--sage-soft); }
.btn.dash { border-style: dashed; border-color: var(--sage); }
.field.tight { margin: 0; }
.field.tight label, .field.tight .alabel { margin-bottom: 0; }
select.tier { width: auto; min-width: 148px; height: 40px; padding: 0 10px; font-size: 16px; }
.person-head { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.person-head .grow { flex: 1 1 240px; min-width: 0; }
.person-head h1 { font-size: clamp(32px, 4vw, 40px); }
.person-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 18px; align-items: start; }
.pair { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.pair:first-child { border-top: 0; padding-top: 0; }
.stack-gap { display: flex; flex-direction: column; gap: 18px; }
.stack-gap .card { margin: 0; }
.kicker { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.quiet-next { color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.tier-legend { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 18px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.tier-legend b { color: var(--ink); }
.act { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .person-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .tier-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .act { grid-template-columns: 180px 140px minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .admin-filters { width: 100%; }
  .admin-filters button { flex: 1 1 calc(50% - 4px); }
  .ahead { display: none; }
  .people-grid, .comm-grid { grid-template-columns: 1fr; gap: 8px; }
  .arow .actions { justify-content: flex-start; }
  .alabel { display: block; font-size: 12px; font-weight: 600; color: var(--ink-faint); }
  .acell { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
  .acell.switches, .comm-grid .acell:last-child { align-items: flex-start; }
}

/* ================= Arrivals (v0.10.0) ================= */
.arr-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.arr-tile { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; color: var(--ink); font: inherit; cursor: pointer; }
.arr-tile b { display: block; font-family: var(--serif); font-size: 34px; line-height: 1; font-weight: 600; }
.arr-tile span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
.arr-tile.ok { background: var(--sage-soft); }
.arr-tile.ok b { color: var(--teal-ink); }
.arr-tile.nudge { background: var(--clay); }
.arr-tile.nudge b, .arr-tile.nudge span { color: var(--clay-ink); }
.arr-tile[aria-pressed="true"] { outline: 2px solid var(--teal); outline-offset: 1px; }
.arr-bar { margin: 4px 0 14px; align-items: center; }
.arr-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-soft); }
.arr-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.arr-legend .arr-c { width: 20px; height: 20px; font-size: 11px; }
.arr-pieces { display: flex; gap: 4px; flex-wrap: nowrap; }
.arr-c { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; line-height: 1; padding: 0; font-style: normal; background: transparent; color: var(--ink-faint); cursor: pointer; }
.arr-c.ok { background: var(--sage-soft); border-color: var(--leaf); color: var(--teal-ink); }
.arr-c.grow { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-ink); }
.arr-c.miss { background: var(--clay); border-color: var(--clay-dot); color: var(--clay-ink); }
.arr-c.na { border-style: dashed; color: var(--ink-faint); }
.arr-c.ring { box-shadow: 0 0 0 2px var(--card), 0 0 0 3.5px var(--leaf); }
.arr-c.old { background: var(--cream); border-color: var(--beige); color: var(--ink-soft); }
.pill.arr-old { background: var(--cream); color: var(--ink-soft); border-color: var(--beige); }
.arr-older { margin: 10px 0; padding: 12px 14px; border-radius: 12px; background: var(--cream); color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.arr-head { grid-template-columns: minmax(0, 1fr) auto; }
.arr-pieces.labels span { width: 30px; font-size: 10px; letter-spacing: -.01em; line-height: 1.15; text-align: center; font-weight: 600; white-space: nowrap; }
.arr-row { grid-template-columns: minmax(0, 1fr) auto; cursor: pointer; }
.arr-row:hover, .arr-member:hover { background: var(--line-soft); }
.arr-row:focus-visible, .arr-member:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.arr-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 6px; }
.pill.arr-nudge { background: var(--clay); color: var(--clay-ink); border-color: transparent; }
.pill.arr-edited { background: var(--gold-soft); color: var(--gold-ink); border-color: transparent; }
.arr-growing { font-size: 13px; color: var(--gold-ink); }
.arr-why { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); overflow-wrap: anywhere; }
.arr-more { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.arr-mgrid { grid-template-columns: minmax(0, 2fr) 90px 130px 190px 90px; }
.arr-member { cursor: pointer; }
.arr-meter { display: inline-block; width: 110px; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; vertical-align: middle; margin-right: 8px; }
.arr-meter i { display: block; height: 100%; background: var(--leaf); }
.sheet.arr-sheet { max-width: 880px; }
.arr-ph { flex-wrap: nowrap; align-items: flex-start; }
.arr-ph .min { flex: 1 1 auto; }
.arr-ph h2 { font-size: clamp(26px, 3vw, 32px); }
.arr-ph .sub { margin-bottom: 4px; }
.arr-sheet .arr-pieces { margin: 14px 0 6px; flex-wrap: wrap; }
.arr-legend-mini { margin: 0 0 14px; }
.arr-stuck { margin: 14px 0; }
.arr-stuck p { overflow-wrap: anywhere; }
.arr-sec { margin-top: 20px; }
.arr-link { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.arr-link a { color: var(--teal-ink); display: block; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arr-lk { font-weight: 600; color: var(--ink-soft); }
.arr-text { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin: 10px 0; padding: 0 14px; }
.arr-text summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.arr-text .arr-body { white-space: pre-wrap; font-size: 15px; line-height: 1.55; max-height: 420px; overflow: auto; padding: 4px 0 12px; overflow-wrap: anywhere; }
.arr-text .btn { margin-bottom: 12px; }
@media (max-width: 899px) {
  .arr-tiles { gap: 8px; }
  .arr-tile { padding: 12px; }
  .arr-tile b { font-size: 28px; }
  .arr-tile span { font-size: 13px; }
  .arr-row { grid-template-columns: 1fr; gap: 10px; }
  .arr-pieces { gap: 3px; }
  .arr-c { width: 27px; height: 27px; font-size: 12px; }
  .arr-row { padding: 14px 16px; }
  .arr-mgrid { grid-template-columns: 1fr; gap: 8px; }
  .arr-link { grid-template-columns: 1fr auto; }
  .arr-lk { grid-column: 1 / -1; }
  .arr-bar { gap: 12px; }
}

/* ================= Billing (v0.11.0) ================= */
.sc-billing { max-width: 1120px; margin: 0 auto; padding: 12px var(--x) 0; }
.sc-billing-row { display: flex; justify-content: flex-end; }
.sc-billing-row .link { font-size: 15px; }
.sc-billing-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.btn.big { width: 100%; justify-content: center; padding: 16px 22px; font-size: 18px; margin-top: 18px; }
.welcome .top h1 { font-size: clamp(36px, 7vw, 52px); line-height: 1.05; }
.welcome-sprig { width: 44px; height: 44px; margin-bottom: 10px; }
.welcome-sprig svg { width: 100%; height: 100%; }
.welcome-steps { margin: 6px 0 0 22px; display: grid; gap: 10px; font-size: 17px; }

/* v0.11.11: Guests by sitting, who was in each recording, and the follow-up panel. */
.sc-tag.unc { background: var(--gold-soft); color: var(--gold-ink); }
.sc-sit { padding: 6px 0 10px; border-bottom: 1px solid var(--line-soft); }
.sc-sit:last-child { border-bottom: 0; }
.sc-sit > .d { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.sc-sit > .d .faint { font-weight: 400; }
.sc-gl { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 3px 0; font-size: 14px; }
.sc-gl.off { opacity: .6; }
.sc-gl .l { flex: 1 1 0; min-width: 0; line-height: 1.7; }
.sc-gl .pcs { display: inline-flex; flex-wrap: wrap; gap: 2px 10px; margin-left: 8px; }
.sc-gl .lnk { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--teal-ink); cursor: pointer; text-align: left; }
.sc-gl .lnk.sm { font-weight: 500; font-size: 13px; }
.sc-gl .lnk:hover, .sc-gl .lnk:focus-visible { text-decoration: underline; }
.sc-gl .sc-glm { flex: none; }
.sc-gl .sc-glm > .btn { padding: 0 8px; min-height: 28px; }
.sc-gl .sc-gpanel { flex-basis: 100%; }
.sc-gl { flex-wrap: wrap; }
.sc-guest .sits { margin-top: 14px; border-top: 1px solid var(--line-soft); padding-top: 6px; }
.sc-gpanel, .sc-fu { width: 100%; border-top: 1px solid var(--line-soft); margin-top: 10px; padding-top: 12px; display: grid; gap: 10px; }
.sc-gpanel .hd b, .sc-fu .hd b { display: block; font-weight: 600; }
.sc-gpanel .hd span, .sc-fu .hd span { color: var(--ink-soft); font-size: 15px; }
.sc-gpanel ul, .sc-fu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc-gpanel li, .sc-fu li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.sc-gpanel li.off .n { color: var(--ink-faint); }
.sc-gpanel li small { display: block; color: var(--ink-faint); font-size: 13px; }
.sc-gpanel li .b { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-gpanel .addline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.sc-gpanel .addline input { flex: 1 1 160px; font-size: 16px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); }
.sc-gpanel .row, .sc-fu .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sc-gpanel .note, .sc-fu .note { color: var(--ink-soft); font-size: 14px; background: none; border: 0; padding: 0; }
.sc-gpanel .note:empty, .sc-fu .note:empty { display: none; }
.sc-fu textarea { width: 100%; font: 16px/1.5 var(--sans); padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); resize: vertical; }
.sc-fu .fu-pick { display: grid; gap: 6px; font-size: 15px; color: var(--ink-soft); }
.sc-fu .fu-pick select { width: 100%; max-width: 100%; font-size: 16px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); }
table.sc-gt .links { min-width: 360px; }
.sc-gl .t { font-weight: 600; color: var(--ink); }

/* v0.12.0: the calm SoulCast home. Welcome back with one status line, four big boxes in the soft area colours, then
   recent recordings as simple cards. */
.sc-hello h1 { font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 1.15; margin: 0; }
.sc-hello .sc-lead { margin: 6px 0 0; }
.sc-boxes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
@media (max-width: 820px) { .sc-boxes { grid-template-columns: 1fr 1fr; } }
.sc-box {
  border-radius: 16px; padding: 20px 18px; min-height: 132px; display: grid; align-content: space-between; gap: 10px;
  text-decoration: none; color: var(--ink); transition: transform .15s; min-width: 0;
}
.sc-box:hover { transform: translateY(-2px); }
.sc-box .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--card); display: grid; place-items: center; }
.sc-box .ic svg { width: 22px; height: 22px; }
.sc-box .tx { display: grid; gap: 2px; }
.sc-box b { font-size: 14px; letter-spacing: .08em; font-weight: 600; }
.sc-box small { font-size: 13px; color: var(--ink-soft); overflow-wrap: anywhere; }
.sc-box.b-green { background: var(--sage-soft); }
.sc-box.b-aqua { background: var(--dew); }
.sc-box.b-lav { background: var(--gold-soft); }
.sc-box.b-peach { background: var(--clay); }
.sc-recents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 820px) { .sc-recents { grid-template-columns: 1fr; } }
.sc-rc { display: grid; text-align: left; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); font: inherit; }
.sc-rc:hover { border-color: var(--sage); }
.sc-rc .th { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--sage-soft), var(--gold-soft)); display: grid; place-items: center; color: var(--ink-soft); }
.sc-rc .th svg { width: 30px; height: 30px; opacity: .7; }
.sc-rc .bd { padding: 12px 14px; display: grid; gap: 4px; justify-items: start; }
.sc-rc .bd b { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.sc-rc .bd small { color: var(--ink-soft); font-size: 13px; }
.sc-tag.lav { background: var(--gold-soft); color: var(--gold-ink); }
@media (prefers-reduced-motion: reduce) { .sc-box { transition: none; } }

/* v0.12.1: the welcome and Your studio is ready. While it shows, the SoulCast bar and the strip step aside. */
.sc-welcoming .subnav.sc, .sc-welcoming #sp-gstrip { display: none; }
.sc-welcome { max-width: 560px; margin: 24px auto 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 36px 32px; text-align: center; display: grid; gap: 16px; box-shadow: 0 12px 32px var(--shadow); }
.sc-welcome h1 { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1.1; margin: 0; }
.sc-welcome p { margin: 0; color: var(--ink-soft); }
.sc-welcome p.small { font-size: 13px; }
.sc-welcome .soft { opacity: .8; }
.sc-welcome .sprig { width: 46px; height: auto; margin: 0 auto; color: var(--teal); }
.sc-welcome .sprig .bud { fill: var(--gold); }
.sc-welcome .fld { display: grid; gap: 6px; text-align: left; }
.sc-welcome .fld span { font-size: 14px; font-weight: 600; color: var(--ink); }
.sc-welcome .fld input { font-size: 17px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.sc-welcome .btn.lg { justify-self: center; padding: 12px 24px; font-size: 16px; }
.sc-wl-err { color: var(--clay-ink) !important; background: var(--clay); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.wl-rooms { display: grid; gap: 8px; text-align: left; }
.wl-room { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--paper); }
.wl-room .star { background: none; border: 0; padding: 0 2px; font-size: 20px; line-height: 1; color: var(--ink-faint); cursor: pointer; }
.wl-room .star.on { color: var(--clay-dot); }
.wl-room .rname { flex: 1; min-width: 0; font: inherit; font-weight: 600; border: 1px dashed transparent; background: transparent; color: var(--ink); padding: 6px 8px; border-radius: 8px; }
.wl-room .rname:hover, .wl-room .rname:focus { border-color: var(--line); background: var(--card); outline: none; }
.wl-room small { color: var(--ink-soft); font-size: 12px; }
.wl-more { display: grid; gap: 8px; }
.wl-more p { font-size: 15px; color: var(--ink); }
.wl-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.wl-chips .chip { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 14px; }
.wl-chips .chip.on { background: var(--dew); border-color: var(--dew-dot); opacity: 1; cursor: default; }
.wl-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wl-doors .door { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--paper); color: var(--ink); text-align: left; display: grid; gap: 4px; text-decoration: none; font: inherit; }
.wl-doors .door b { font-size: 16px; }
.wl-doors .door span { font-size: 13px; color: var(--ink-soft); }
.wl-doors .door.main { background: var(--teal); border-color: var(--teal); color: var(--btn-ink); }
.wl-doors .door.main span { color: var(--btn-ink); opacity: .85; }
@media (max-width: 520px) { .wl-doors { grid-template-columns: 1fr; } .sc-welcome { padding: 28px 20px; } .sc-welcome h1 { font-size: 32px; } }

/* v0.12.1: the slim lavender Getting Started strip on every SoulCast page while the guide is unfinished. */
.sc-gstrip { background: var(--gold-soft); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.sc-gstrip .subnav-in { max-width: 1120px; gap: 6px 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; overflow: visible; }
.sc-gstrip .mini { flex: 0 0 90px; height: 5px; border-radius: 99px; background: var(--line); overflow: hidden; }
.sc-gstrip .mini i { display: block; height: 100%; background: var(--leaf); }
.sc-gstrip a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; padding: 0; }
.sc-previewing #sp-gstrip { display: none; }
/* The small note after a step is saved, with the way to the next step. Above the phone tab bar. */
.sc-gtoast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 80;
  background: var(--ink); color: var(--paper); border-radius: 14px; padding: 10px 12px 10px 18px; display: flex; gap: 14px; align-items: center;
  box-shadow: 0 12px 32px var(--shadow); max-width: calc(100% - 32px); font-size: 15px; }
.sc-gtoast[hidden] { display: none; }
.sc-gtoast button { border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; background: var(--leaf); color: #1E1B19; white-space: nowrap; }
@media (max-width: 700px) { .sc-gtoast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* v0.12.1: on a wide screen the four steps sit side by side as cards. */
.sc-gnote { color: var(--ink-soft); }
@media (min-width: 900px) {
  .sc-hero.guide .sc-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
  .sc-hero.guide .sc-steps li { grid-template-columns: 24px minmax(0, 1fr); align-items: start; align-content: start; border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 0; background: var(--paper); }
  .sc-hero.guide .sc-steps li .go-step { grid-column: 1 / -1; justify-content: flex-start; }
  .sc-hero.guide .sc-steps li.next { margin: 0; padding: 14px; background: var(--wash); border-color: var(--c); }
  .sc-hero.guide .sc-steps li.next + li { border-top-color: var(--line); }
}

/* v0.12.3: the guide card and the step cards, as in the mockup (screen 3). */
.sc-guide, .sc-allset { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; display: grid; gap: 14px; }
.sc-guide .ghead { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: flex-end; justify-content: space-between; }
.sc-guide h2, .sc-allset h2, .sc-hello h1 { font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.15; margin: 0; }
.sc-guide .sub, .sc-allset .sub { color: var(--ink-soft); margin: 2px 0 0; }
.sc-guide .prog { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); min-width: 220px; }
.sc-guide .prog .bar { flex: 1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.sc-guide .prog .bar i { display: block; height: 100%; background: var(--leaf); transition: width .4s; }
.sc-gsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 820px) { .sc-gsteps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .sc-gsteps { grid-template-columns: 1fr; } }
.sc-gsteps li { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 6px; align-content: start; background: var(--paper); position: relative; min-width: 0; }
.sc-gsteps li.s-clay { --c: var(--clay-dot); --tile: var(--clay); }
.sc-gsteps li.s-dew { --c: var(--dew-dot); --tile: var(--dew); }
.sc-gsteps li.s-sage { --c: var(--leaf); --tile: var(--sage-soft); }
.sc-gsteps .n { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); font-weight: 600; letter-spacing: .04em; }
.sc-gsteps .mark { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--c); display: grid; place-items: center; padding: 0; background: transparent; cursor: pointer; flex: none; }
.sc-gsteps .mark:disabled { cursor: default; }
.sc-gsteps .mark svg { width: 11px; height: 11px; opacity: 0; stroke: #fff; }
.sc-gsteps li.done .mark { background: var(--c); }
.sc-gsteps li.done .mark svg { opacity: 1; }
.sc-gsteps li.skipped .mark { border-style: dashed; }
.sc-gsteps .t { font-size: 15px; font-weight: 600; }
.sc-gsteps .t a { color: inherit; text-decoration: none; }
.sc-gsteps .t a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sc-gsteps .s { font-size: 13px; color: var(--ink-soft); }
.sc-gsteps li.next { background: var(--tile); border-color: var(--c); }
.sc-gsteps li.done .t { color: var(--ink-soft); }
.sc-gsteps .go-step { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 4px; }
.sc-gsteps .skip, .sc-gsteps .again { font-size: 12.5px; color: var(--ink-soft); }
.sc-gsteps .how { justify-self: start; font-size: 12px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.sc-guide .gfoot { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; }
.sc-guide .gfoot .gl { display: flex; gap: 14px; flex-wrap: wrap; }
.sc-guide .gfoot a, .sc-guide .gfoot button { color: var(--ink-soft); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; }
.sc-allset .sc-garden { margin: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sc-gsteps .mark svg { stroke: var(--paper); } }
:root[data-theme="dark"] .sc-gsteps .mark svg { stroke: var(--paper); }
/* v0.12.3: a recording card's picture: a real frame from the recording over a soft branded tile. */
.sc-rc .th { position: relative; overflow: hidden; }
.sc-rc .th .tile { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--sage-soft), var(--gold-soft)); color: var(--teal); }
.sc-rc .th .tile svg { width: 34px; height: auto; opacity: .55; }
.sc-rc .th video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; background: transparent; pointer-events: none; }
.sc-rc .th video.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sc-rc .th video, .sc-guide .prog .bar i { transition: none; } }
/* v0.12.3: Your SoulCast email on the Settings page. */
.sc-emailset { max-width: 1120px; margin: 18px auto 0; padding: 0 var(--x); font-size: 15px; color: var(--ink-soft); }
.sc-emailset p { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.sc-emailset[hidden] { display: none; }
/* v0.12.4: the Branding heading, as in the mockup's guided step. */
.sc-brandhead { max-width: 1120px; margin: 0 auto; padding: 26px var(--x) 0; }
.sc-brandhead h1 { font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 1.1; margin: 0; }
.sc-brandhead p { margin: 4px 0 0; color: var(--ink-soft); }

/* ================= v0.12.8: the Library grid, the small windows, thumbnails ================= */
.sc-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.sc-types button { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 14.5px; font-weight: 500; }
.sc-types button.on { background: var(--teal); border-color: var(--teal); color: var(--btn-ink); }
.sc-toolrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sc-toolrow .sc-search { flex: 1 1 260px; }
.sc-filters { display: grid; gap: 10px; margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.sc-filters[hidden] { display: none; }
.sc-ghead { font-family: var(--serif); font-weight: 600; font-size: 24px; margin: 22px 0 10px; }
.sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .sc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sc-grid { grid-template-columns: 1fr; } }
.sc-grid > .sc-span { grid-column: 1 / -1; }
.sc-gnote2, .sc-mcount { color: var(--ink-soft); font-size: 14px; }
.sc-more { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 18px; flex-wrap: wrap; }

.sc-th { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--sage-soft), var(--gold-soft)); }
.sc-th.sq { aspect-ratio: 1; }
.sc-th .tile { position: absolute; inset: 0; display: grid; place-items: center; color: var(--teal); }
.sc-th .tile svg { width: 34px; height: auto; opacity: .55; }
.sc-th .tile b { font-size: 28px; font-weight: 400; color: var(--ink-soft); }
.sc-th video, .sc-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; pointer-events: none; }
.sc-th video.on, .sc-th img.on { opacity: 1; }
.sc-th .qt { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; text-align: center; font-family: var(--serif); font-size: 18px; line-height: 1.25; color: var(--ink); overflow: hidden; }
.sc-th .pen { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #2D2B27; display: grid; place-items: center; opacity: 0; transition: opacity .15s; padding: 0; }
.sc-th .pen svg { width: 16px; height: 16px; }
.sc-card:hover .sc-th .pen, .sc-card:focus-within .sc-th .pen, .sc-th .pen:focus-visible { opacity: 1; }
@media (hover: none) { .sc-th .pen { opacity: 1; } }

.sc-row.sc-card { display: flex; flex-direction: column; align-items: stretch; padding: 0; gap: 0; border-radius: 16px; overflow: visible; }
.sc-row.sc-card .sc-th { border-radius: 16px 16px 0 0; }
.sc-row.sc-card.opens { cursor: pointer; }
.sc-row.sc-card .cb { padding: 12px 14px 4px; }
.sc-row.sc-card .t, .sc-row.sc-card .t.rn { font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.3; padding: 0; border: 0; cursor: inherit; display: block; }
.sc-row.sc-card .t.rn:hover::after { content: none; }
.sc-row.sc-card .w { font-size: 13.5px; gap: 4px 10px; align-items: center; }
.sc-row.sc-card .acts { justify-content: flex-start; padding: 8px 10px 12px; gap: 6px; border-top: 1px solid var(--line-soft); margin-top: 8px; }
.sc-row.sc-card .acts { flex-wrap: nowrap; }
.sc-row.sc-card .acts .btn { min-height: 32px; padding: 4px 9px; font-size: 13px; white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1100px) { .sc-row.sc-card .acts .btn { padding: 4px 7px; font-size: 12.5px; } }
.sc-row.sc-card .acts .sc-menu.dots { margin-left: auto; }
.sc-row.sc-card .sc-menu.narrow { display: none; }
@media (max-width: 420px) {
  .sc-row.sc-card .sc-menu.wide { display: none; }
  .sc-row.sc-card .sc-menu.narrow { display: inline-block; }
}
.sc-row.sc-card .pick { position: absolute; top: 8px; left: 8px; z-index: 2; background: var(--card); border-radius: 8px; padding: 4px; }
.sc-row.sc-card { position: relative; }
.sc-row.sc-card:has(.share), .sc-row.sc-card:has(.rename), .sc-row.sc-card:has(.sc-gpanel) { grid-column: 1 / -1; }
.sc-row.sc-card .share, .sc-row.sc-card .rename { margin: 0 14px 14px; }

.sc-qcard, .sc-piece { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; text-align: left; color: var(--ink); font: inherit; padding: 0; }
.sc-qcard .cb, .sc-piece .cb { padding: 12px 14px 4px; display: grid; gap: 3px; }
.sc-qcard .t, .sc-piece b { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.sc-qcard .w { color: var(--ink-soft); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.sc-piece small { color: var(--ink-soft); font-size: 13.5px; }
.sc-qcard .from { font-size: 13.5px; color: var(--ink-soft); }
.sc-qcard .acts { display: flex; gap: 6px; padding: 8px 10px 12px; flex-wrap: wrap; border-top: 1px solid var(--line-soft); margin-top: 8px; }
.sc-qcard .acts .btn { min-height: 32px; padding: 4px 11px; font-size: 13.5px; }
.sc-qcard .acts .sc-menu { margin-left: auto; }
.sc-piece:hover, .sc-qcard:hover { border-color: var(--sage); }
.sc-piece { cursor: pointer; }
.sc-tag.qm { background: var(--clay); color: var(--clay-ink); }

/* the small windows: Change thumbnail, Which recording? */
.sc-mscrim { position: fixed; inset: 0; background: var(--overlay); z-index: 200; }
.sc-modal { position: fixed; z-index: 201; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100% - 32px)); max-height: calc(100% - 48px); overflow: auto;
  background: var(--card); color: var(--ink); border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 20px 50px var(--shadow); padding: 18px 20px 20px; }
.sc-modal.pick { width: min(760px, calc(100% - 32px)); }
.sc-mhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sc-mhead h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 0; }
.sc-mx { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 22px; line-height: 1; padding: 0; }
.sc-mnote { color: var(--ink-soft); margin: 4px 0 12px; }
.sc-merr { color: var(--clay-ink); background: var(--clay); border-radius: 10px; padding: 8px 12px; font-size: 14px; margin: 10px 0 0; }
.sc-mrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.sc-thpick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sc-thopt { border: 2px solid var(--line); border-radius: 12px; padding: 0; overflow: hidden; background: var(--card); color: var(--ink); text-align: center; }
.sc-thopt:hover, .sc-thopt:focus-visible { border-color: var(--teal); }
.sc-thopt .lb { display: block; padding: 6px; font-size: 14px; font-weight: 600; }
.sc-thopt.up .sc-th { aspect-ratio: 16 / 9; }
.sc-pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
@media (max-width: 560px) { .sc-pgrid { grid-template-columns: 1fr 1fr; } }
.sc-pcard { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); color: var(--ink); text-align: left; padding: 0 0 8px; display: grid; gap: 2px; }
.sc-pcard b { padding: 6px 10px 0; font-size: 14px; line-height: 1.3; }
.sc-pcard small { padding: 0 10px; color: var(--ink-soft); font-size: 12.5px; }
.sc-pcard:hover, .sc-pcard:focus-visible { border-color: var(--teal); }
html.sc-modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .sc-th video, .sc-th img, .sc-th .pen { transition: none; } }
/* v0.12.9: the Editor page's cards */
.sc-ecard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.sc-ecard:hover, .sc-ecard:focus-visible { border-color: var(--teal); }
.sc-ecard .cb { padding: 12px 14px 14px; display: grid; gap: 4px; justify-items: start; }
.sc-ecard b { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.sc-ecard small { color: var(--ink-soft); font-size: 13.5px; }
.sc-empty-box { text-align: center; padding: 28px 0; }

/* v0.12.11: What name do you go by? (profile) and the home's gentle line */
.name-nudge { margin: 0 0 4px; color: var(--ink-soft); }
.field .help { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); }
.name-suggest { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; margin: 4px 0 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; }
.sc-namenudge { margin: 0 0 14px; font-size: 15px; }
.sc-namenudge a { color: var(--ink); }
