/* Look C · Studio Line (chosen 26 Sep). Colours, type and shapes from
   Design/Options_v1/dirC.mjs: deep-teal band, mint ground, Fredoka over
   Nunito Sans, one colour per vertical, pill buttons, dotted dividers. */

:root {
  --band: #0B4F45;
  --ground: #EEF6F3;
  --ink: #16312C;
  --ink2: #36504A;
  --ink3: #536A65;
  --teal: #009D81;
  --teal-d: #00705C;
  --teal-dd: #00574A;
  --line: #DCEBE6;
  --line2: #CFE3DD;
  --mint: #D9F0E9;
  --mint2: #BFE3D9;
  --band-soft: #BCD9D1;
  --band-link: #BFF0E2;
  --warn: #8A2E14;
  --warn-bg: #FDE5DC;
  --warn-row: #FFF7F4;
  --warn-line: #F4C9BA;
  --note: #664500;
  --note-bg: #FFF1CF;
  --muddle: #F2B33D; --muddle-bg: #FFF1CF; --muddle-ink: #664500;
  --mingle: #EF7B5A; --mingle-bg: #FDE5DC; --mingle-ink: #8A2E14;
  --meddle: #8C6BD1; --meddle-bg: #EEE7FB; --meddle-ink: #4B2F8F;
  --display: 'Fredoka', system-ui, sans-serif;
  --body: 'Nunito Sans', system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--ground); -webkit-font-smoothing: antialiased; min-height: 100vh; }
a { color: var(--teal-d); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
[hidden] { display: none !important; }
.d { font-family: var(--display); font-weight: 600; letter-spacing: -0.005em; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink3); }

/* ---------- buttons, fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 800; font-size: 14px; text-decoration: none; border: 0; white-space: nowrap; transition: transform 120ms, background 150ms; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: default; transform: none; }
.btn-p { background: var(--teal-d); color: #fff; } .btn-p:hover:not(:disabled) { background: var(--teal-dd); color: #fff; }
.btn-s { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line2); } .btn-s:hover:not(:disabled) { background: #F4FAF8; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13px; }
.btn-icon { width: 42px; flex: 0 0 42px; padding: 0; }
.btn-warn { background: var(--note-bg); color: var(--note); }
.btn-done { background: var(--mint); color: var(--teal-dd); }
.field { min-height: 44px; border: 2px solid var(--line2); border-radius: 14px; padding: 0 14px; background: #fff; width: 100%; }
textarea.field { padding: 10px 14px; min-height: 80px; resize: vertical; }
.field:focus { border-color: var(--teal); outline: none; }
.lbl { font-size: 13px; font-weight: 800; color: var(--ink2); }
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.err { background: var(--warn-bg); color: var(--warn); border-radius: 14px; padding: 10px 14px; font-weight: 800; font-size: 13px; }
.hint { font-size: 13px; color: var(--ink2); }
.seg { display: inline-flex; gap: 2px; padding: 4px; background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--line2); }
.seg button { border: 0; min-height: 36px; padding: 0 14px; border-radius: 999px; font-family: var(--display); font-weight: 500; font-size: 14px; background: transparent; color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.card { background: #fff; border-radius: 24px; }
.chip { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.v-Muddle { background: var(--muddle-bg); color: var(--muddle-ink); }
.v-Mingle { background: var(--mingle-bg); color: var(--mingle-ink); }
.v-Meddle { background: var(--meddle-bg); color: var(--meddle-ink); }
.v-none { background: #EAEFED; color: #45524F; }

/* ---------- the band ---------- */
.band { background: var(--band); color: #fff; min-height: 84px; display: flex; align-items: center; gap: 24px; padding: 0 32px; }
.band .logo { height: 50px; width: auto; display: block; }
.nav { display: flex; gap: 2px; }
.nv { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; height: 56px; padding: 0 14px; font-family: var(--display); font-weight: 500; font-size: 17px; color: #fff; text-decoration: none; }
.nv:hover { color: var(--band-link); }
.nv.off { cursor: default; color: rgba(188, 217, 209, 0.55); }
.nv .sq { position: absolute; bottom: 4px; }
.band .who { margin-left: auto; font-size: 12px; color: var(--band-soft); text-align: right; line-height: 1.5; }
.band .who button { background: none; border: 0; padding: 0; color: var(--band-link); font-weight: 800; font-size: 12px; text-decoration: underline; }
.tabbar { display: none; }

/* ---------- page ---------- */
main.page { padding: 24px 32px 40px; max-width: 1360px; margin: 0 auto; }
.h1row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.h1row h1 { margin: 0; font-size: 30px; }
.h1row .sub { font-weight: 700; color: var(--ink3); }
.h1row .right { margin-left: auto; }

/* ---------- Today ---------- */
.today { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.daynav { display: inline-flex; align-items: center; gap: 6px; }
.daynav .btn { min-height: 36px; }
.flow { display: flex; flex-direction: column; }
.fi { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 12px; }
.fi > .cls { margin-bottom: 14px; }
.fl { position: relative; }
.fl svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.node { position: absolute; left: 50%; top: calc((100% - 14px) / 2); transform: translate(-50%, -50%); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.node.done { width: 28px; height: 28px; background: var(--teal); color: #fff; }
.node.next { width: 28px; height: 28px; background: #fff; border: 5px solid var(--teal); }
.node.later { width: 22px; height: 22px; background: #fff; border: 5px solid var(--mint2); }
.nowmark { margin: 0 0 8px; }
.nowtag { display: inline-block; background: var(--band); color: #fff; font-family: var(--display); font-size: 12px; font-weight: 500; padding: 2px 10px; border-radius: 999px; }
.cls { min-height: 94px; border: 2px solid var(--line); background: #fff; border-radius: 20px; padding: 12px 18px; display: flex; align-items: center; gap: 16px; color: inherit; text-decoration: none; }
.cls.next { border-color: var(--teal); box-shadow: 0 6px 18px rgba(0, 112, 92, 0.16); }
.cls.done { opacity: 0.62; }
.cls .t { width: 70px; flex-shrink: 0; }
.cls .t .d { font-size: 20px; }
.cls .mid { flex-grow: 1; min-width: 0; }
.cls .mid .d { font-size: 18px; font-weight: 500; }
.cls .meta { display: flex; gap: 8px; align-items: center; margin-top: 4px; flex-wrap: wrap; font-size: 13px; color: var(--ink3); }
.cls .cap { text-align: right; flex-shrink: 0; }
.cls .act { width: 170px; display: flex; justify-content: flex-end; flex-shrink: 0; font-size: 13px; font-weight: 800; text-align: right; }
.empty { padding: 28px; text-align: center; color: var(--ink3); }
.side { display: flex; flex-direction: column; gap: 18px; }
.side .card { padding: 20px 20px 12px; }
.side h2 { margin: 0; font-size: 22px; }
.list-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 2px dotted var(--line); }
.list-row .grow { flex-grow: 1; min-width: 0; }
.list-row .who { font-weight: 800; font-size: 15px; }
.list-row .who span { font-weight: 600; font-size: 13px; color: var(--ink3); }
.list-row .what { font-size: 13px; color: var(--ink2); }
.list-row .amt { font-size: 17px; color: var(--warn); }
.soon .who { opacity: 0.7; }

/* ---------- Leads ---------- */
.funnel { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.funnel::before { content: ''; position: absolute; left: 24px; right: 24px; top: 50%; height: 4px; margin-top: -2px; background: var(--mint2); border-radius: 2px; }
.funnel button { position: relative; min-height: 64px; border: 2px solid var(--line2); background: #fff; color: var(--ink); border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px; }
.funnel button .d { font-size: 22px; line-height: 1; color: var(--teal-d); }
.funnel button span:last-child { font-size: 13px; font-weight: 800; margin-top: 3px; }
.funnel button[aria-pressed="true"] { background: var(--teal-d); border-color: var(--teal-d); color: #fff; }
.funnel button[aria-pressed="true"] .d { color: #fff; }
.filters { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.search { position: relative; display: flex; align-items: center; width: 320px; }
.search svg { position: absolute; left: 14px; color: var(--ink3); }
.search input { padding-left: 40px; border-radius: 999px; }
.filters select.field { width: auto; border-radius: 999px; }
.filters .seg { margin-left: auto; }
.leads { padding: 6px 20px; }
.lead { display: grid; grid-template-columns: 44px minmax(0, 1.5fr) minmax(0, 1.2fr) 150px 110px max-content; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 2px dotted var(--line); }
.lead:last-child { border-bottom: 0; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 15px; font-weight: 500; flex-shrink: 0; }
.lead .name { font-weight: 800; font-size: 15px; }
.lead .name span { font-weight: 600; font-size: 13px; color: var(--ink3); }
.lead .note { font-size: 13px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead .prog { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead .src { font-size: 12px; color: var(--ink3); }
.lead .next { font-size: 14px; font-weight: 600; }
.lead .next.due { color: var(--warn); font-weight: 800; }
.lead .acts { display: flex; gap: 8px; justify-content: flex-end; }
.status { position: relative; display: inline-flex; align-items: center; width: fit-content; }
.status select { appearance: none; -webkit-appearance: none; border: 0; border-radius: 999px; min-height: 34px; padding: 0 30px 0 14px; font-weight: 800; font-size: 13px; }
.status svg { position: absolute; right: 10px; pointer-events: none; }
.st-new { background: #E5ECFB; color: #1F3B73; }
.st-trial_booked { background: var(--mint); color: var(--teal-dd); }
.st-trial_attended { background: #BFE6DA; color: #00463B; }
.st-follow_up { background: var(--note-bg); color: var(--note); }
.st-enrolled { background: var(--teal-d); color: #fff; }
.st-cold { background: #EAEFED; color: #45524F; }
.foot { font-size: 13px; font-weight: 700; color: var(--ink3); margin-top: 12px; }

/* ---------- Class attendance (phone first) ---------- */
.att { max-width: 520px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; background: var(--ground); }
.att-head { background: var(--band); color: #fff; padding: 10px 18px 20px; border-radius: 0 0 28px 28px; }
.att-head a { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; color: var(--band-link); text-decoration: none; font-weight: 800; margin-left: -6px; }
.att-head h1 { margin: 2px 0 0; font-size: 26px; }
.att-head .sub { font-size: 14px; color: var(--band-soft); font-weight: 600; }
.pills { display: flex; gap: 8px; padding: 14px 16px 6px; flex-wrap: wrap; }
.pill { background: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 13px; }
.att-note { padding: 2px 18px 8px; font-size: 13px; color: var(--ink2); }
.banner { margin: 0 16px 8px; padding: 10px 14px; border-radius: 16px; background: var(--note-bg); color: var(--note); font-size: 13px; font-weight: 800; }
.roster { flex-grow: 1; padding: 0 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.kid { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 8px 14px 8px 8px; border: 2px solid var(--line); background: #fff; border-radius: 20px; text-align: left; }
.kid .tick { background: var(--teal-d); color: #fff; }
.kid .nm { display: block; font-weight: 800; font-size: 16px; }
.kid .sb { display: block; font-size: 12px; color: var(--ink3); }
.kid .sb.warn { color: var(--warn); font-weight: 800; }
.kid .state { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--teal-d); color: #fff; }
.kid.absent { background: var(--warn-row); border-color: var(--warn-line); }
.kid.absent .tick, .kid.absent .state { background: var(--warn-bg); color: var(--warn); }
.kid.absent .nm { color: var(--warn); text-decoration: line-through; }
.kid:disabled { cursor: default; }
.bottombar { position: sticky; bottom: 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); display: flex; gap: 10px; background: #fff; border-radius: 28px 28px 0 0; box-shadow: 0 -8px 24px rgba(11, 79, 69, 0.1); }
.bottombar .btn { min-height: 54px; font-size: 15px; }
.closed-box { padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.closed-box img { height: 72px; width: auto; align-self: flex-start; }
.closed-box h2 { margin: 6px 0 0; font-size: 28px; }

/* ---------- Sell ---------- */
.sell { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.sell-form { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pack { border: 2px solid var(--line); background: #fff; color: var(--ink); border-radius: 22px; padding: 14px 12px; text-align: center; }
.pack .d { font-size: 17px; font-weight: 500; }
.pack .pr { font-size: 24px; margin-top: 4px; }
.pack .rt { font-size: 12px; font-weight: 700; opacity: 0.85; }
.pack[aria-pressed="true"] { background: var(--teal-d); border-color: var(--teal-d); color: #fff; }
.pack.other { border-style: dashed; }
.discs { display: flex; gap: 8px; flex-wrap: wrap; }
.discs button { min-height: 42px; padding: 0 18px; border: 2px solid var(--line2); background: #fff; border-radius: 999px; font-weight: 800; font-size: 14px; }
.discs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.oneoff { padding: 16px 18px; display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.oneoff label { display: flex; flex-direction: column; gap: 6px; }
.receipt { position: sticky; top: 16px; background: #fff; border-radius: 24px; padding: 24px 26px; box-shadow: 0 14px 40px rgba(11, 79, 69, 0.14); display: flex; flex-direction: column; gap: 10px; }
.receipt .who { display: flex; align-items: center; gap: 10px; }
.receipt .who img { height: 34px; width: auto; }
.receipt .lines { display: flex; flex-direction: column; gap: 7px; font-size: 14px; margin-top: 6px; }
.receipt .ln { display: flex; justify-content: space-between; gap: 12px; }
.receipt .ln b { font-weight: 800; }
.receipt .cut { position: relative; margin: 10px -26px; border-top: 2px dashed var(--line2); }
.receipt .cut::before, .receipt .cut::after { content: ''; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--ground); }
.receipt .cut::before { left: -12px; } .receipt .cut::after { right: -12px; }
.receipt .total { display: flex; justify-content: space-between; align-items: baseline; }
.receipt .total .d:last-child { font-size: 40px; }
.receipt .small { font-size: 12px; color: var(--ink3); }
.receipt .tag { text-align: center; font-family: var(--display); font-size: 13px; font-weight: 500; color: var(--teal); margin-top: 4px; }

/* ---------- sheets, toast ---------- */
.scrim { position: fixed; inset: 0; background: rgba(11, 79, 69, 0.5); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 20; }
.sheet { background: #fff; border-radius: 28px; padding: 22px; width: 100%; max-width: 480px; max-height: 88vh; overflow: auto; display: flex; flex-direction: column; gap: 12px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet-head h2 { margin: 0; font-size: 22px; }
.sheet-foot { display: flex; gap: 10px; margin-top: 4px; }
.sheet-foot .btn { flex-grow: 1; min-height: 50px; }
.cand { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 2px dotted var(--line); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); max-width: min(680px, calc(100vw - 32px)); background: var(--band); color: #fff; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: 0 10px 28px rgba(11, 79, 69, 0.35); z-index: 30; text-align: center; }

/* ---------- laptop narrower ---------- */
@media (max-width: 1180px) {
  .lead { grid-template-columns: 44px minmax(0, 1.4fr) minmax(0, 1fr) 140px 100px; }
  .lead .acts { grid-column: 2 / -1; justify-content: flex-start; }
  .sell { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
}

/* ---------- sign-in ---------- */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--band); }
.gate-card { background: #fff; border-radius: 28px; padding: 32px 28px; max-width: 420px; width: 100%; text-align: center; }
.gate-card h1 { margin: 12px 0 8px; font-size: 30px; }
.gate-card p { color: var(--ink2); line-height: 1.5; overflow-wrap: anywhere; }
.gate-logo { border-radius: 16px; }
.gate-btn { margin-top: 8px; min-height: 52px; width: 100%; justify-content: center; font-size: 16px; }
.band .who a { color: var(--band-link); font-weight: 800; }
.band .who a[aria-current="page"] { color: #fff; }

/* ---------- people and roles ---------- */
.settings .card { padding: 20px 20px 12px; margin-bottom: 16px; }
.h2row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
.h2row h2 { margin: 0; }
.person-row select.field { min-width: 170px; }
.tag-on, .tag-off { font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.tag-on { background: var(--mint); color: var(--teal-dd); }
.tag-off { background: var(--warn-bg); color: var(--warn); }
details.role summary { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; cursor: pointer; list-style: none; padding-bottom: 8px; }
details.role summary::-webkit-details-marker { display: none; }
details.role summary .d { font-size: 20px; }
details.role[open] summary { border-bottom: 2px dotted var(--line); margin-bottom: 8px; }
.perm-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; flex-wrap: wrap; }
.perm-row.check { justify-content: flex-start; font-weight: 600; }
.perm-row.check input { width: 20px; height: 20px; accent-color: var(--teal); }
.perm-name { font-weight: 700; }
.perm-row .seg { margin-left: auto; }
.seg-sm button { min-height: 32px; padding: 0 12px; font-size: 13px; }
.readonly-note { font-size: 13px; color: var(--ink3); font-weight: 700; }

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .band { min-height: 64px; padding: 0 16px; gap: 12px; }
  .band .logo { height: 38px; }
  .band .nav { display: none; }
  .band .who { font-size: 11px; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--band); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; border-radius: 22px 22px 0 0; }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 52px; justify-content: center; color: var(--band-soft); text-decoration: none; font-family: var(--display); font-size: 13px; font-weight: 500; }
  .tabbar a[aria-current="page"] { color: #fff; }
  .has-tabbar main.page { padding-bottom: 100px; }
  main.page { padding: 16px 16px 40px; }
  .h1row h1 { font-size: 26px; }
  .today { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fi { grid-template-columns: 36px minmax(0, 1fr); column-gap: 8px; }
  .cls { flex-wrap: wrap; padding: 12px 14px; gap: 6px 12px; }
  .cls .t { width: auto; }
  .cls .mid { flex-basis: calc(100% - 90px); }
  .cls .cap { text-align: left; order: 3; }
  .cls .act { width: auto; order: 4; margin-left: auto; }
  .funnel { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
  .funnel::before { display: none; }
  .funnel button { min-width: 88px; min-height: 58px; }
  .search { width: 100%; }
  .filters select.field { flex: 1; min-width: 0; }
  .filters .seg { margin-left: 0; overflow-x: auto; max-width: 100%; }
  .leads { padding: 4px 14px; }
  .lead { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 12px; padding: 14px 0; }
  .lead > :nth-child(n+3) { grid-column: 2; }
  .lead .next:empty { display: none; }
  .lead .acts { justify-content: flex-start; flex-wrap: wrap; }
  .lead { position: relative; }
  .lead .name { padding-right: 48px; }
  .lead .acts .edit-btn { position: absolute; top: 12px; right: 0; margin-left: 0; }
  .sell { grid-template-columns: minmax(0, 1fr); }
  .receipt { position: static; padding: 20px; }
  .receipt .cut { margin: 10px -20px; }
  .receipt .total .d:last-child { font-size: 34px; }
  .row2 { grid-template-columns: 1fr; }
  .scrim { align-items: flex-end; padding: 0; }
  .sheet { border-radius: 28px 28px 0 0; max-width: none; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .toast { bottom: 90px; border-radius: 20px; }
  .person-row { flex-wrap: wrap; }
  .person-row .grow { flex-basis: 100%; }
  .person-row label { flex: 1; }
  .person-row select.field { width: 100%; min-width: 0; }
  .att .toast { bottom: 100px; }
}

/* Staging copy only (made-up data): a band no screen can hide. */
.staging-band { position: sticky; top: 0; z-index: 40; padding: 8px 16px; padding-top: calc(8px + env(safe-area-inset-top)); text-align: center; font-weight: 800; font-size: 15px; letter-spacing: 0.08em; color: #fff; background: repeating-linear-gradient(135deg, #C2410C 0 18px, #9A3412 18px 36px); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); }

/* Edit (pencil) sits at the far right of a row's buttons. */
.acts .edit-btn { margin-left: auto; }

/* A lead row's main button (Book trial / Move trial / Sell): one fixed width, text may wrap to two lines. */
.acts .btn-main { flex: 0 0 78px; width: 78px; padding: 4px 8px; white-space: normal; line-height: 1.1; text-align: center; }

/* "Back" at the top of pages reached from another page (People and roles, Invoices). */
.page-back { display: inline-flex; align-items: center; gap: 2px; font-weight: 800; text-decoration: none; color: var(--ink2); min-height: 36px; margin: -6px 0 4px -4px; }
.page-back:hover { color: var(--ink); }
