/* =====================================================================
   Vision Academies portal — builds on style.css + dashboard.css tokens
   Academy accents: football = violet, padel = court blue, swimming = pool
   ===================================================================== */
.ac-body { --ac-good: #22a396; --ac-warn: #f5a524; --ac-bad: var(--primary); }
.ac-tone--violet { --tone: var(--violet); --tone-2: var(--violet-700); }
.ac-tone--court { --tone: var(--court); --tone-2: var(--court-700); }
.ac-tone--pool { --tone: var(--pool); --tone-2: var(--pool-700); }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); }
html[lang='ar'] .eyebrow { letter-spacing: 0; font-size: .85rem; }
.link { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; font-size: .86rem; }
.link:hover { color: var(--text); }

/* gate spinner + processing */
.ac-spinner { display: inline-block; width: 28px; height: 28px; margin: 14px auto 0; border: 3px solid var(--line-2); border-top-color: var(--primary); border-radius: 50%; animation: ac-spin .8s linear infinite; }
.ac-spinner[hidden] { display: none; }
@keyframes ac-spin { to { transform: rotate(360deg); } }
.ac-processing { display: grid; justify-items: center; gap: 12px; padding: 28px 0; color: var(--text-2); }
.ac-skel { height: 180px; }

/* header bell count */
#acBell { position: relative; }
.ac-bell-n { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; background: var(--primary); color: #fff; font-size: .62rem; font-style: normal; font-weight: 800; animation: pop .4s var(--ease); }

/* status pills not in style.css */
.status--declined, .status--failed, .status--overdue { background: color-mix(in srgb, var(--primary) 16%, transparent); color: var(--primary); }
.status--active, .status--paid, .status--success, .status--published, .status--fulfilled, .status--submitted { background: color-mix(in srgb, #22c55e 18%, transparent); color: #168a41; }
[data-theme='dark'] .status--active, [data-theme='dark'] .status--paid, [data-theme='dark'] .status--success,
[data-theme='dark'] .status--published, [data-theme='dark'] .status--fulfilled, [data-theme='dark'] .status--submitted { color: #5ee08f; }
.status--due, .status--draft, .status--open { background: color-mix(in srgb, #f5a524 18%, transparent); color: #c7830f; }
[data-theme='dark'] .status--due, [data-theme='dark'] .status--draft, [data-theme='dark'] .status--open { color: #ffc75a; }

/* ---------------- onboarding ---------------- */
.ac-choose { display: grid; gap: 14px; }
@media (min-width: 720px) { .ac-choose { grid-template-columns: 1fr 1fr; } }
.ac-choice { display: grid; gap: 8px; justify-items: start; text-align: start; padding: 24px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.ac-choice:hover { transform: translateY(-3px); border-color: var(--text); box-shadow: var(--shadow-lg); }
.ac-choice.is-on { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent); }
.ac-choice .icon { color: var(--primary); }
.ac-choice b { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.2rem; }
.ac-choice span { color: var(--text-2); font-size: .92rem; }
.ac-reg { animation: fadeup .45s var(--ease); }
.field small { font-size: .74rem; }

/* pending / declined */
.ac-state { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 18px 0; }
.ac-state > .icon { color: var(--ac-warn); }
.ac-state--bad > .icon { color: var(--primary); }
.ac-state h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.ac-state p { color: var(--text-2); max-width: 52ch; }

/* ---------------- player hero ---------------- */
.ac-hero { position: relative; overflow: hidden; min-height: 210px; display: flex; align-items: flex-end; color: #fff; background: linear-gradient(135deg, var(--tone, var(--violet)), var(--tone-2, var(--violet-700))); animation: fadeup .5s var(--ease); }
.ac-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; mix-blend-mode: luminosity; }
.ac-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 70%); }
.ac-hero__in { position: relative; z-index: 1; display: grid; gap: 8px; padding: clamp(18px, 3vw, 30px); }
.ac-hero .eyebrow { color: #fff; opacity: .9; }
.ac-hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1; }
.ac-hero p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; }
.ac-kpi--points .kpi__value { color: var(--accent); }

/* child switcher */
.ac-switch { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.ac-switch__kid { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; text-align: start; padding: 10px 14px; border: 1px solid var(--line-2); background: var(--surface); flex-shrink: 0; transition: border-color .2s; }
.ac-switch__kid .icon { grid-row: span 2; color: var(--tone); }
.ac-switch__kid span { font-weight: 800; }
.ac-switch__kid small { color: var(--muted); font-size: .74rem; }
.ac-switch__kid[aria-selected='true'] { border-color: var(--tone); box-shadow: inset 0 -3px 0 var(--tone); }
.ac-empty-hero { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 14px 0; }
.ac-empty-hero p { color: var(--text-2); max-width: 54ch; }

/* streak track */
.ac-track { position: relative; padding: 26px 8px 28px; }
.ac-track__bar { height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.ac-track__bar i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, #f5a524, var(--primary)); border-radius: 4px; transform-origin: left; animation: grow 1s var(--ease) both; }
[dir='rtl'] .ac-track__bar i { transform-origin: right; }
.ac-track__node { position: absolute; top: 12px; inset-inline-start: calc(var(--at) - 15px); display: grid; justify-items: center; gap: 22px; width: 30px; }
.ac-track__node b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--line-2); font-size: .78rem; }
.ac-track__node small { font-size: .68rem; color: var(--muted); font-weight: 700; margin-top: -18px; }
.ac-track__node.is-hit b { background: var(--primary); border-color: var(--primary); color: #fff; animation: pop .5s var(--ease); }
.ac-track__copy { margin-top: 4px; font-size: .88rem; }

.ac-next { display: grid; gap: 4px; padding: 14px; border-inline-start: 4px solid var(--primary); background: var(--surface-2); }
.ac-next b { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; }
.ac-sched { margin-top: 10px; font-size: .86rem; display: flex; gap: 6px; align-items: center; }
.ac-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.6rem; font-weight: 800; letter-spacing: .14em; padding: 10px 14px; background: var(--surface-2); border: 1px dashed var(--line-2); display: inline-block; user-select: all; }
.ac-sub-title { margin: 16px 0 8px; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ac-mini { display: grid; gap: 6px; font-size: .9rem; }
.ac-mini li { display: flex; align-items: center; gap: 6px; }

/* subscription */
.ac-sub { display: grid; gap: 14px; }
.ac-sub__text { margin-top: 6px; font-weight: 700; }
.ac-sub--overdue .ac-sub__text { color: var(--primary); }
.ac-sub-for + .ac-sub-for { margin-top: 4px; }
.ac-subtag { font-size: .8rem; font-weight: 700; white-space: nowrap; }
.ac-subtag--overdue { color: var(--primary); }
.ac-subtag--due { color: #c7830f; }
[data-theme='dark'] .ac-subtag--due { color: #ffc75a; }
.ac-subtag--active { color: var(--ac-good); }
.ac-dl { display: grid; gap: 8px; }
.ac-dl > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.ac-dl dt { color: var(--muted); font-size: .84rem; }
.ac-dl dd { font-weight: 700; text-align: end; overflow-wrap: anywhere; }
.ac-dl--row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.ac-dl--row > div { display: grid; border: 0; padding: 0; }
.ac-dl--row dd { text-align: start; }

/* announcements, notifications */
.ac-ann { display: grid; gap: 12px; }
.ac-ann li { display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ac-ann p { color: var(--text-2); font-size: .92rem; white-space: pre-line; }
.ac-ann small { color: var(--muted); font-size: .76rem; }
.ac-ann .link { justify-self: start; }
.ac-notifs { display: grid; }
.ac-notif { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 12px 26px 12px 0; border-bottom: 1px solid var(--line); cursor: default; }
[dir='rtl'] .ac-notif { padding: 12px 0 12px 26px; }
.ac-notif.is-new { cursor: pointer; }
.ac-notif.is-new p { font-weight: 700; }
.ac-notif p { grid-column: 2; font-size: .92rem; }
.ac-notif time { grid-column: 2; color: var(--muted); font-size: .74rem; }
.ac-notif__cat { grid-row: span 2; align-self: start; padding: 3px 8px; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; border-radius: 10px; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.ac-cat--attendance { background: color-mix(in srgb, var(--ac-good) 18%, transparent); color: var(--ac-good); }
.ac-cat--payment { background: color-mix(in srgb, #f5a524 18%, transparent); color: #c7830f; }
.ac-cat--report { background: color-mix(in srgb, var(--c-rev) 18%, transparent); color: var(--c-rev); }
.ac-cat--store { background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.ac-dot { position: absolute; top: 18px; inset-inline-end: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); }

/* calendar list */
.ac-cal { display: grid; gap: 10px; }
.ac-cal li { display: flex; gap: 14px; align-items: center; }
.ac-cal time { display: grid; justify-items: center; min-width: 54px; padding: 6px; background: var(--surface-2); border: 1px solid var(--line-2); }
.ac-cal time b { font-size: 1.3rem; font-weight: 900; line-height: 1; }
.ac-cal time span { font-size: .7rem; text-transform: uppercase; color: var(--muted); }
.ac-cal div { display: grid; gap: 2px; }
.ac-cal div > span { color: var(--text-2); font-size: .86rem; }

/* attendance chips */
.ac-att, .ac-punc { font-weight: 700; font-size: .84rem; }
.ac-att--present, .ac-punc--onTime { color: var(--ac-good); }
.ac-att--absent, .ac-punc--late { color: var(--primary); }
.ac-att--excused { color: #c7830f; }
.ac-warn { color: var(--primary); font-weight: 700; }
.ac-plus { color: var(--ac-good); }

/* responsive tables → cards on phones */
@media (max-width: 720px) {
  .ac-rtable thead { display: none; }
  .ac-rtable, .ac-rtable tbody, .ac-rtable tr, .ac-rtable td { display: block; width: 100%; }
  .ac-rtable tr { padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
  .ac-rtable td { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border: 0; text-align: end; }
  .ac-rtable td::before { content: attr(data-l); color: var(--muted); font-size: .76rem; text-align: start; flex-shrink: 0; }
  .ac-rtable td.num { text-align: end; }
  .ac-rtable .row-actions { justify-content: flex-end; }
}

/* stats */
.ac-chart { min-height: 200px; }
.ac-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-chips span { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border: 1px solid var(--line-2); font-size: .84rem; background: var(--surface-2); }
.ac-ach { display: grid; gap: 8px; }
.ac-ach small { color: var(--muted); }

/* rewards */
.ac-reward-hero { display: grid; gap: 18px; justify-items: center; text-align: center; padding: 28px 16px; border: 1px solid var(--line-2);
  background: radial-gradient(600px 260px at 50% 0%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 70%), var(--surface); }
@media (min-width: 720px) { .ac-reward-hero { grid-template-columns: auto auto 1fr; text-align: start; justify-items: start; align-items: center; } }
.ac-orb { display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: conic-gradient(from 200deg, var(--primary), #f5a524, var(--primary)); color: #fff; box-shadow: 0 20px 50px -20px var(--primary); animation: pop .7s var(--ease); }
.ac-orb b { font-size: 2.6rem; font-weight: 900; line-height: 1; }
.ac-orb span { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; margin-top: -30px; }
.ac-flame { display: grid; justify-items: center; }
.ac-flame span { font-size: 2.4rem; filter: grayscale(1) opacity(.5); }
.ac-flame.is-hot span { filter: none; animation: ac-flicker 1.6s ease-in-out infinite; }
.ac-flame b { font-size: 1.8rem; font-weight: 900; }
.ac-flame small { color: var(--muted); font-size: .76rem; }
.ac-reward-hero p { color: var(--text-2); max-width: 46ch; }
@keyframes ac-flicker { 0%, 100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.12) rotate(3deg); } }
.ac-badges { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.ac-badge { display: grid; justify-items: center; gap: 6px; padding: 16px 10px; text-align: center; border: 1px dashed var(--line-2); opacity: .45; filter: grayscale(1); }
.ac-badge span { font-size: 1.8rem; }
.ac-badge b { font-size: .8rem; }
.ac-badge.is-won { opacity: 1; filter: none; border-style: solid; border-color: #f5a524; background: color-mix(in srgb, #f5a524 8%, transparent); animation: pop .5s var(--ease); }
.ac-ledger { display: grid; }
.ac-ledger li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.ac-ledger small { color: var(--muted); }
.ac-ledger b { color: var(--ac-good); }

/* reports */
.ac-rep-list { display: grid; gap: 10px; }
.ac-rep-item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line-2); }
.ac-rep-item > div:first-child { display: grid; gap: 4px; }
.ac-rep-item span { color: var(--text-2); font-size: .86rem; display: flex; gap: 6px; align-items: center; }
.ac-rep-teaser { display: grid; gap: 8px; }
.ac-rep-teaser span { color: var(--muted); font-size: .84rem; }
.ac-rep-teaser .btn { justify-self: start; }
.ac-report { display: grid; gap: 16px; color: var(--text); }
.ac-report__head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 3px solid var(--primary); }
.ac-report__head img { width: 48px; height: 48px; object-fit: contain; }
.ac-report__head div { display: grid; }
.ac-report__head b { font-family: var(--font-display); font-weight: 900; letter-spacing: .06em; }
.ac-report__head span { color: var(--muted); font-size: .84rem; }
.ac-report__head h2 { font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase; }
.ac-report h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin-bottom: 4px; }
.ac-report p { white-space: pre-line; }
.ac-report footer { color: var(--muted); font-size: .84rem; border-top: 1px solid var(--line); padding-top: 10px; }

/* store */
.ac-store { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1000px) { .ac-store { grid-template-columns: 1fr 320px; } .ac-cart { position: sticky; top: 90px; } }
.ac-prods { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ac-prod { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line-2); background: var(--surface); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.ac-prod:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ac-prod > img, .ac-prod__art { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ac-prod__art { display: grid; place-items: center; align-content: center; gap: 6px; color: #fff; background: linear-gradient(135deg, var(--tone, var(--violet)), var(--tone-2, var(--violet-700))); }
.ac-prod__art b { font-family: var(--font-display); letter-spacing: .3em; font-size: .8rem; opacity: .8; }
.ac-prod__body { display: grid; gap: 6px; padding: 14px; align-content: start; }
.ac-prod__body h3 { font-weight: 800; }
.ac-prod__body p { font-size: .84rem; }
.ac-prod__price { font-size: 1.2rem; font-weight: 900; }
.ac-prod__buy { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ac-prod__buy select, .ac-prod__buy input { min-height: 40px; padding: 6px 8px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); }
.ac-prod__buy input { width: 64px; }
.ac-cart__lines { display: grid; gap: 8px; margin-bottom: 12px; }
.ac-cart__lines li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: .88rem; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ac-cart__lines .link { justify-self: start; font-size: .76rem; }
.ac-summary { display: grid; gap: 8px; margin: 14px 0; padding: 14px; background: var(--surface-2); }
.ac-summary > div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.ac-summary__total { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; margin: 6px 0 12px; border-top: 1px solid var(--line-2); font-size: 1.05rem; }
.ac-summary__total b { font-weight: 900; }
.ac-orders { display: grid; }
.ac-orders li { display: grid; gap: 6px 14px; grid-template-columns: 1fr auto; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.ac-orders li > div { display: grid; }
.ac-orders li small { color: var(--muted); }
.ac-orders li > span { grid-column: 1 / -1; color: var(--text-2); }
@media (min-width: 900px) { .ac-orders li { grid-template-columns: 220px 1fr auto auto auto; } .ac-orders li > span { grid-column: auto; } }

/* checkout */
.ac-methods { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.ac-methods legend { margin-bottom: 6px; }
.ac-radio { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-2); cursor: pointer; }
.ac-radio:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 7%, transparent); }
.ac-receipt { display: grid; gap: 14px; justify-items: center; text-align: center; }
.ac-receipt .ac-dl { width: 100%; text-align: start; }
.ac-receipt__ok, .ac-receipt__bad { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; animation: pop .5s var(--ease); }
.ac-receipt__ok { background: color-mix(in srgb, #22c55e 18%, transparent); color: #22c55e; }
.ac-receipt__bad { background: color-mix(in srgb, var(--primary) 16%, transparent); color: var(--primary); }

/* parent links + coaches */
.ac-links { display: grid; }
.ac-links li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ac-links li > div { display: grid; flex: 1 1 200px; min-width: 0; }
.ac-links small { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.ac-dotone { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tone, var(--surface-3)); color: #fff; flex-shrink: 0; }
.ac-inline { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 640px) { .ac-inline { grid-template-columns: 1fr auto; } .ac-inline .form__error { grid-column: 1 / -1; } }
.ac-check { display: flex; align-items: center; gap: 8px; font-size: .92rem; cursor: pointer; }
.ac-check input, .ac-sheet__chk input { width: 18px; height: 18px; accent-color: var(--primary); }
.ac-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; border: 0; padding: 0; margin: 0; }

/* coach: attendance sheet (fast entry, big tap targets) */
.ac-sheet { display: grid; gap: 10px; padding-bottom: 80px; }
.ac-sheet__row { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line-2); background: var(--surface); animation: fadeup .35s var(--ease) both; }
@media (min-width: 1100px) { .ac-sheet__row { grid-template-columns: 180px 260px 120px 140px 170px auto; align-items: end; } .ac-sheet__more { grid-column: 1 / -1; } }
.ac-sheet__row.is-locked { border-inline-start: 4px solid var(--ac-good); }
.ac-sheet__name { display: grid; }
.ac-sheet__name small { color: var(--muted); }
.ac-sheet__f { display: grid; gap: 4px; font-size: .7rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ac-sheet__f input, .ac-sheet__f select, .ac-sheet__more input { min-height: 42px; padding: 8px 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-size: .92rem; width: 100%; }
.ac-sheet__f input:disabled, .ac-sheet__f select:disabled { opacity: .5; }
.ac-sheet__chk { display: flex; align-items: center; gap: 8px; min-height: 42px; font-size: .9rem; }
.ac-sheet__more summary { cursor: pointer; color: var(--muted); font-size: .84rem; }
.ac-sheet__more[open] { display: grid; gap: 8px; }
@media (min-width: 720px) { .ac-sheet__more[open] { grid-template-columns: 1fr 1fr; } .ac-sheet__more summary { grid-column: 1 / -1; } }
.ac-seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); }
.ac-seg__b { min-height: 44px; padding: 6px 8px; font-weight: 800; font-size: .8rem; color: var(--muted); transition: background-color .15s, color .15s; }
.ac-seg__b + .ac-seg__b { border-inline-start: 1px solid var(--line-2); }
.ac-seg__b[aria-checked='true'].ac-seg__b--present { background: var(--ac-good); color: #fff; }
.ac-seg__b[aria-checked='true'].ac-seg__b--absent { background: var(--primary); color: #fff; }
.ac-seg__b[aria-checked='true'].ac-seg__b--excused { background: #f5a524; color: #1a1205; }
.ac-seg__b:disabled { cursor: not-allowed; }
.ac-sticky { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: flex-end; padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(0deg, var(--bg) 70%, transparent); }
@media (max-width: 640px) { .ac-sticky .btn { width: 100%; } }
.ac-sessions li > .row-actions { grid-row: 1 / span 2; grid-column: 3; justify-content: flex-end; align-items: center; }
@media (max-width: 560px) { .ac-sessions li > .row-actions { grid-row: auto; grid-column: 1 / -1; justify-content: flex-start; } }

/* modal sizes */
.ac-modal { max-height: calc(100dvh - 32px); overflow-y: auto; }
.modal__card.ac-modal--wide { width: min(980px, 100%); }
.ac-modal .card { margin-top: 14px; }
.ac-modal .kpis { margin-top: 10px; }

/* ---------------- print: only the report ---------------- */
@media print {
  body * { visibility: hidden !important; }
  .print-area, .print-area * { visibility: visible !important; }
  .print-area { position: absolute; inset: 0 auto auto 0; width: 100%; padding: 0; color: #000 !important; background: #fff !important; }
  .print-area .ac-dl dt, .print-area .ac-report__head span, .print-area footer { color: #444 !important; }
  .ac-noprint, .modal__backdrop { display: none !important; }
  .modal, .modal__card { position: static !important; box-shadow: none !important; border: 0 !important; transform: none !important; max-height: none !important; overflow: visible !important; }
}
@media (prefers-reduced-motion: reduce) { .ac-flame.is-hot span, .ac-spinner { animation-duration: 0s; } }

/* =====================================================================
   Facility scheduling (js/schedule.js) — used in dashboard + academy portal
   ===================================================================== */
.sch-tabs { margin-bottom: 0; }
.sch-tabs .badge { display: inline-grid; margin-inline-start: 4px; }
.sch-pane { display: grid; gap: 16px; animation: fadeup .35s var(--ease); }
.sch-ctl { align-items: center; }
.sch-ctl .seg { margin: 0; }
.sch-ctl .icon-btn { font-size: 1.4rem; line-height: 1; }
[dir='rtl'] .sch-ctl [data-sch-step] { transform: scaleX(-1); }
.sch-skel { height: 360px; }
/* status colours (shared by grid, legend, chips, month bars) */
.sch--free { background: var(--surface); }
.sch--booked { background: repeating-linear-gradient(135deg, var(--cell-booked-a) 0 3px, var(--cell-booked-b) 3px 6px); color: var(--text-2); }
.sch--held { background: var(--cell-held); color: var(--cell-held-ink); }
.sch--tour { background: color-mix(in srgb, #e0574d 22%, var(--surface)); color: var(--text); box-shadow: inset 3px 0 0 #e0574d; }
.sch--event { background: color-mix(in srgb, #8b5cf6 20%, var(--surface)); color: var(--text); box-shadow: inset 3px 0 0 #8b5cf6; }
.sch--train { background: color-mix(in srgb, #22a396 22%, var(--surface)); color: var(--text); box-shadow: inset 3px 0 0 #22a396; }
.sch--maint { background: color-mix(in srgb, #f5a524 24%, var(--surface)); color: var(--text); box-shadow: inset 3px 0 0 #f5a524; }
.sch--other { background: color-mix(in srgb, var(--muted) 22%, var(--surface)); color: var(--text); box-shadow: inset 3px 0 0 var(--muted); }
.sch--pend { background: repeating-linear-gradient(45deg, color-mix(in srgb, #22a396 14%, transparent) 0 6px, transparent 6px 12px); color: var(--text-2); box-shadow: inset 0 0 0 1px dashed #22a396; outline: 1px dashed color-mix(in srgb, #22a396 70%, transparent); outline-offset: -2px; }
[dir='rtl'] .sch--tour, [dir='rtl'] .sch--event, [dir='rtl'] .sch--train, [dir='rtl'] .sch--maint, [dir='rtl'] .sch--other { box-shadow: inset -3px 0 0 currentColor; }
.sch-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .78rem; color: var(--text-2); }
.sch-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sch-sw { width: 14px; height: 14px; border: 1px solid var(--line-2); }
.sch-chip { display: inline-block; padding: 3px 8px; border-radius: 10px; font-size: .74rem; font-weight: 700; }
/* day / week grid */
.sch-scroll { overflow: auto; max-height: 70vh; border: 1px solid var(--line-2); background: var(--surface); -webkit-overflow-scrolling: touch; }
.sch-grid { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; font-size: .74rem; }
.sch-grid thead th { position: sticky; top: 0; z-index: 2; padding: 10px 6px; background: var(--surface-2); font-family: var(--font-display); font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; text-align: center; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.sch-grid thead th:first-child, .sch-grid tbody th { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--surface-2); }
.sch-grid thead th:first-child { z-index: 3; }
.sch-grid tbody th { width: 64px; padding: 0 8px; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--muted); text-align: start; border-inline-end: 1px solid var(--line); white-space: nowrap; }
.sch-grid tr.hour td, .sch-grid tr.hour th { border-top: 1px solid var(--line); }
.sch-grid td { padding: 1px 2px; height: 26px; }
.sch-cell { width: 100%; height: 24px; padding: 0 6px; border: 0; font-size: .68rem; font-weight: 700; text-align: start; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; }
.sch-cell.sch--free { box-shadow: inset 0 0 0 1px var(--line); }
.sch-cell.sch--free:hover { background: var(--cell-hover, var(--surface-2)); box-shadow: inset 0 0 0 1.5px var(--accent); }
.sch-cell.is-cont { border-top: 0; }
.sch-cell:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
/* month */
.sch-month-title { font-weight: 800; text-transform: capitalize; }
.sch-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.sch-wd { padding: 6px 4px; font-size: .68rem; font-weight: 800; text-transform: uppercase; color: var(--muted); text-align: center; }
.sch-day { display: flex; flex-direction: column; gap: 3px; min-height: 86px; padding: 6px; border: 1px solid var(--line-2); background: var(--surface); text-align: start; overflow: hidden; transition: border-color .15s; }
.sch-day:hover { border-color: var(--text); }
.sch-day.is-pad { background: transparent; border-style: dashed; opacity: .4; }
.sch-day.is-today { border-color: var(--primary); box-shadow: inset 0 3px 0 var(--primary); }
.sch-day b { font-size: .86rem; }
.sch-bar { display: block; padding: 1px 5px; font-size: .62rem; font-weight: 700; border-radius: 3px; white-space: nowrap; overflow: hidden; }
@media (max-width: 640px) { .sch-day { min-height: 64px; padding: 4px; } .sch-bar { font-size: .55rem; padding: 0 3px; } }
/* forms */
.sch-form { gap: 16px; }
.sch-facs { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.sch-facgroup { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 12px; border: 1px solid var(--line); }
.sch-facgroup b { min-width: 86px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sch-all { font-weight: 700; }
.sch-when { display: grid; gap: 12px; }
.sch-when .seg { margin: 0; }
.sch-when .seg label { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; font-weight: 700; font-size: .78rem; cursor: pointer; }
.sch-when .seg label:has(input:checked) { background: var(--text); color: var(--bg); }
.sch-when .seg input { accent-color: var(--primary); }
.sch-form:not(.is-weekly) .sch-weekly { display: none; }
.sch-days { display: flex; flex-wrap: wrap; gap: 6px 14px; border: 0; padding: 0; margin: 0; }
.sch-conf { padding: 12px 14px; border-inline-start: 4px solid var(--primary); background: color-mix(in srgb, var(--primary) 9%, transparent); font-size: .9rem; display: grid; gap: 6px; }
.sch-conf ul { display: grid; gap: 4px; padding-inline-start: 18px; list-style: disc; }
.sch-conf small { color: var(--text-2); }
.sch-ok { color: #22a396; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.sch-dl { display: grid; gap: 8px; margin: 12px 0; }
.sch-dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.sch-dl dt { color: var(--muted); }
.sch-dl small { color: var(--text-2); }
.sch-modal { width: min(620px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; }
.sch-req td small { font-size: .76rem; }

/* =====================================================================
   Unified registration wizard (register.html)
   ===================================================================== */
.reg-body { min-height: 100dvh; }
.reg-wrap { width: min(860px, 100%); margin: 0 auto; padding: 22px 16px 80px; display: grid; gap: 18px; }
.reg-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: s; }
.reg-steps li { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: .72rem; color: var(--muted); position: relative; }
.reg-steps li::before { content: ''; position: absolute; top: 15px; inset-inline-start: calc(-50% + 18px); width: calc(100% - 36px); height: 2px; background: var(--line-2); }
.reg-steps li:first-child::before { display: none; }
.reg-steps li.is-done::before, .reg-steps li.is-now::before { background: var(--primary); }
.reg-steps b { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg); font-size: .8rem; transition: all .3s var(--ease); }
.reg-steps .is-now b { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.reg-steps .is-done b { background: var(--primary); border-color: var(--primary); color: #fff; }
.reg-steps .is-now span { color: var(--text); font-weight: 700; }
@media (max-width: 480px) { .reg-steps span { display: none; } .reg-steps .is-now span { display: block; position: absolute; top: 38px; white-space: nowrap; } .reg-steps { margin-bottom: 14px; } }
.reg-card { display: grid; gap: 18px; padding: clamp(18px, 4vw, 34px); border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-lg); }
.reg-body { display: grid; gap: 16px; animation: fadeup .35s var(--ease); }
.reg-title { font-size: clamp(1.6rem, 4.6vw, 2.6rem); line-height: 1.02; }
.reg-sub { margin-top: 6px; font-family: var(--font-display); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.reg-types { display: grid; gap: 12px; }
@media (min-width: 640px) { .reg-types { grid-template-columns: 1fr 1fr; } }
.reg-type { display: grid; gap: 6px; justify-items: start; text-align: start; padding: 18px; border: 1px solid var(--line-2); background: var(--surface-2); transition: border-color .2s, transform .25s var(--ease), box-shadow .2s; min-height: 44px; }
.reg-type:hover { transform: translateY(-2px); border-color: var(--text); }
.reg-type.is-on { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent); background: color-mix(in srgb, var(--primary) 6%, var(--surface-2)); }
.reg-type__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.reg-type b { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.05rem; }
html[lang='ar'] .reg-type b { text-transform: none; }
.reg-type span { color: var(--text-2); font-size: .9rem; }
.reg-type small { color: var(--muted); font-size: .78rem; }
.reg-err { color: var(--danger); font-size: .8rem; font-weight: 600; }
.reg-pw { position: relative; display: block; }
.reg-pw input { width: 100%; padding-inline-end: 76px; }
.reg-pw__eye { position: absolute; inset-block: 4px; inset-inline-end: 4px; padding: 0 12px; font-size: .78rem; font-weight: 700; color: var(--text-2); background: var(--surface-3); }
.reg-signed { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--text); font-size: .9rem; }
.reg-small { font-size: .86rem; }
.reg-academies { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .reg-academies { grid-template-columns: 1fr; } }
.reg-ac { position: relative; overflow: hidden; min-height: 120px; display: flex; align-items: flex-end; padding: 12px; color: #fff; background: linear-gradient(135deg, var(--tone), var(--tone-2)); border: 2px solid transparent; text-align: start; }
.reg-ac img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.reg-ac span { position: relative; display: inline-flex; gap: 6px; align-items: center; font-weight: 800; }
.reg-ac.is-on { border-color: var(--acid); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acid) 35%, transparent); }
.reg-review > div { align-items: center; }
.reg-review .link { margin-inline-start: 10px; }
.reg-terms { margin-top: 6px; }
.reg-nav { display: flex; justify-content: space-between; gap: 10px; }
.reg-nav .btn { min-width: 130px; }
@media (max-width: 480px) { .reg-nav { position: sticky; bottom: 0; padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(0deg, var(--surface) 80%, transparent); } .reg-nav .btn { flex: 1; min-width: 0; } }
.reg-spin { width: 16px; height: 16px; margin: 0; border-width: 2px; }
.icon.flip { transform: rotate(180deg); }
[dir='rtl'] .reg-nav .icon:not(.flip) { transform: scaleX(-1); }
.reg-done { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 10px 0; }
.reg-done__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); animation: pop .5s var(--ease); }
.reg-done__icon.is-pending { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.reg-done p { color: var(--text-2); max-width: 52ch; }
.reg-done__cta { justify-content: center; }
.reg-invite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border: 1px solid var(--primary); background: color-mix(in srgb, var(--primary) 8%, var(--surface)); }
.reg-invite > div { display: grid; gap: 2px; }
.reg-invite span { color: var(--text-2); font-size: .88rem; }

/* =====================================================================
   2026-10 redesign: quick actions, messaging, health, after-school
   ===================================================================== */
.ac-verify { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 14px; }
.ac-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 16px 0; }
.ac-quick__item { display: grid; gap: 4px; padding: 16px; min-height: 96px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); text-align: start; transition: border-color .2s, transform .2s; }
.ac-quick__item:hover { border-color: var(--accent); transform: translateY(-2px); }
.ac-quick__item b { font-family: var(--font-display); font-weight: 800; }
.ac-quick__item span:last-child { color: var(--muted); font-size: .86rem; }
.ac-small { font-size: .82rem; }
.ac-pre { white-space: pre-wrap; }
.ac-todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ac-todo li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.ac-todo li div { display: grid; gap: 2px; }
.ac-todo li span { color: var(--muted); font-size: .86rem; }
tr.is-low td { background: color-mix(in srgb, var(--warn, #f5a524) 10%, transparent); }

/* messaging */
.ac-msgs { display: grid; gap: 14px; }
@media (min-width: 860px) { .ac-msgs { grid-template-columns: minmax(240px, 320px) 1fr; align-items: start; } }
.ac-msgs__list { display: grid; gap: 10px; align-content: start; }
.ac-msgs__thread { padding: 0; overflow: hidden; }
@media (max-width: 859.98px) { .ac-msgs.is-open .ac-msgs__list { display: none; } .ac-msgs:not(.is-open) .ac-msgs__thread { display: none; } }
@media (min-width: 860px) { .ac-chat__back { display: none; } }
.ac-threads { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ac-thread { position: relative; width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; text-align: start; color: var(--text); }
.ac-thread:hover, .ac-thread.is-on { background: var(--surface-3); }
.ac-thread > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.ac-thread small { color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-thread .ac-dot { margin-inline-start: auto; }
.ac-chat { display: grid; grid-template-rows: auto 1fr auto auto; min-height: min(70dvh, 640px); }
.ac-chat--empty { display: grid; place-items: center; align-content: center; gap: 8px; color: var(--muted); padding: 40px 16px; }
.ac-chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ac-chat__head div { display: grid; }
.ac-chat__head small { color: var(--muted); font-size: .78rem; }
.ac-chat__list { overflow-y: auto; max-height: 56dvh; padding: 14px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.ac-bubble { max-width: 82%; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface-3); color: var(--text); align-self: flex-start; }
.ac-bubble.is-mine { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--accent); color: var(--accent-ink); }
.ac-bubble p { margin: 0 0 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ac-bubble small { font-size: .72rem; opacity: .78; }
.ac-bubble.is-mine .link { color: inherit; }
.ac-chat__form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); }
.ac-chat__form textarea { flex: 1; resize: none; min-height: 44px; max-height: 140px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--field-bg, var(--surface)); color: var(--text); font: inherit; }
@media (max-width: 480px) { .ac-chat__form .btn span:last-child { display: none; } }
.ac-chat__note { margin: 0; padding: 0 12px 12px; font-size: .74rem; }

/* health */
.ac-health-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .ac-health-grid { grid-template-columns: 1fr 1fr; } }
.ac-health-flag { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700;
  color: var(--info-ink, var(--text)); background: color-mix(in srgb, var(--info, #3d8bfd) 18%, transparent); border: 1px solid color-mix(in srgb, var(--info, #3d8bfd) 45%, transparent); }
td .ac-health-flag { display: flex; width: fit-content; }

/* after-school + tournaments */
.ac-discount { display: grid; gap: 4px; padding: 18px; border-radius: 14px; background: var(--surface-3); margin-bottom: 12px; }
.ac-discount b { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.ac-discount.is-locked { opacity: .55; }
.ac-perks { white-space: pre-wrap; }
.ac-tours { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ac-tour { display: grid; gap: 12px; align-content: space-between; }
.ac-tour h2 { font-size: 1.3rem; margin: 8px 0 4px; }
.ac-joined { display: inline-flex; gap: 6px; align-items: center; color: var(--ok, #2ecc71); font-weight: 700; }
.ac-staff-form .ac-checks { display: flex; flex-wrap: wrap; gap: 8px 16px; border: 0; padding: 0; margin: 10px 0; }
.ac-staff-form[data-role='admin'] .ac-show-acad, .ac-staff-form[data-role='finance'] .ac-show-acad, .ac-staff-form[data-role='worker'] .ac-show-acad,
.ac-staff-form:not([data-role='worker']) .ac-show-flags { display: none; }
@media (prefers-reduced-motion: reduce) { .ac-quick__item { transition: none; } .ac-quick__item:hover { transform: none; } }

/* =====================================================================
   Roll call (coach attendance): one row per player, two big buttons
   ===================================================================== */
.roll__head { align-items: end; }
.roll__sum { display: grid; gap: 12px; margin: 4px 0 14px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.roll__bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-3); }
.roll__bar i { display: block; height: 100%; transition: width .25s ease; }
.roll__bar i.is-present { background: var(--ok); } .roll__bar i.is-absent { background: var(--danger); }
.roll__counts { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.roll__count { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 600; color: var(--text-2); }
.roll__count b { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.roll__count.is-present b { color: var(--ok); } .roll__count.is-absent b { color: var(--danger); } .roll__count.is-unmarked b { color: var(--muted); }
.roll__count small { color: var(--muted); font-weight: 500; }
.roll__hint { margin: 0 0 12px; }
.roll { display: grid; gap: 10px; }
.roll__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; padding: 12px 14px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); border-inline-start: 5px solid var(--line-2); transition: border-color .15s, background-color .15s; }
.roll__row.is-present { border-inline-start-color: var(--ok); background: color-mix(in srgb, var(--ok) 7%, var(--surface)); }
.roll__row.is-absent, .roll__row.is-excused { border-inline-start-color: var(--danger); background: color-mix(in srgb, var(--danger) 7%, var(--surface)); }
.roll__row.is-excused { border-inline-start-color: var(--warn); background: color-mix(in srgb, var(--warn) 8%, var(--surface)); }
.roll__row.is-locked { opacity: .82; }
.roll__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.roll__who b { display: block; font-size: 1.02rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.roll__who small { color: var(--muted); font-size: .8rem; display: inline-flex; gap: 4px; align-items: center; }
.roll__av { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem;
  background: var(--surface-3); color: var(--text); }
.roll__row.is-present .roll__av { background: var(--ok); color: #fff; } .roll__row.is-absent .roll__av { background: var(--danger); color: #fff; }
.roll__row.is-excused .roll__av { background: var(--warn); color: #1b1300; }
.roll__btns { display: flex; gap: 8px; }
.roll__b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 112px; min-height: 48px; padding: 0 16px; border-radius: 12px;
  border: 2px solid var(--line-2); background: transparent; color: var(--text); font-weight: 800; font-size: .95rem; cursor: pointer; transition: background-color .15s, border-color .15s, transform .1s; }
.roll__b:active { transform: scale(.97); }
.roll__b--present[aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: #fff; }
.roll__b--absent[aria-pressed="true"] { background: var(--danger); border-color: var(--danger); color: #fff; }
.roll__b:hover:not(:disabled):not([aria-pressed="true"]) { border-color: var(--text); }
.roll__b:disabled { cursor: default; }
.roll__b:not([aria-pressed="true"]):disabled { opacity: .45; }
.roll__opts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.roll__opts:not(:has(.roll__chip)) .roll__more:not([open]) { margin-inline-start: 0; }
.roll__chip { min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: transparent; color: var(--text-2); font-weight: 700; font-size: .85rem; cursor: pointer; }
.roll__chip[aria-pressed="true"] { background: var(--warn); border-color: var(--warn); color: #1b1300; }
.roll__more { margin-inline-start: auto; }
.roll__more > summary { cursor: pointer; color: var(--muted); font-size: .85rem; font-weight: 600; list-style: none; padding: 6px 2px; }
.roll__more > summary::-webkit-details-marker { display: none; }
.roll__more > summary::after { content: ' ▾'; }
.roll__more[open] { flex-basis: 100%; margin-inline-start: 0; }
.roll__fields { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 8px; }
.roll__save { align-items: center; justify-content: space-between; gap: 14px; }
.roll__save > span { color: var(--muted); font-weight: 600; }
.roll__done { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; margin-bottom: 14px; background: color-mix(in srgb, var(--ok) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); }
.roll__done > svg, .roll__done > [data-icon] { color: var(--ok); flex: none; }
.roll__done div { display: grid; gap: 2px; } .roll__done span { color: var(--text-2); }
@media (max-width: 640px) {
  .roll__row { grid-template-columns: 1fr; }
  .roll__btns { width: 100%; } .roll__b { flex: 1; min-width: 0; }
  .roll__save { flex-direction: column; align-items: stretch; } .roll__save > span { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .roll__bar i, .roll__b, .roll__row { transition: none; } }

/* =====================================================================
   Attendance at a glance (player + parent) and the "My children" page
   ===================================================================== */
.att-card { display: grid; gap: 16px; }
.att-today { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.att-today__ic { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--text); }
.att-today small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.att-today b { font-size: 1.15rem; } .att-today b small { display: inline; font-size: .85rem; font-weight: 500; }
.att-today.is-present .att-today__ic { background: var(--ok); color: #fff; }
.att-today.is-late .att-today__ic { background: var(--warn); color: #1b1300; }
.att-today.is-absent .att-today__ic { background: var(--danger); color: #fff; }
.att-today.is-excused .att-today__ic { background: var(--info); color: #fff; }
.att-today.is-present { border-color: color-mix(in srgb, var(--ok) 45%, transparent); background: color-mix(in srgb, var(--ok) 9%, var(--surface-2)); }
.att-today.is-absent { border-color: color-mix(in srgb, var(--danger) 45%, transparent); background: color-mix(in srgb, var(--danger) 9%, var(--surface-2)); }
.att-today.is-late { border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 10%, var(--surface-2)); }
.att-body { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.att-ring { width: 96px; height: 96px; flex: none; }
.att-ring__bg { fill: none; stroke: var(--surface-3); stroke-width: 9; }
.att-ring__fg { fill: none; stroke: var(--ok); stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset .6s ease; }
.att-ring text { fill: var(--text); font: 800 18px var(--font-display); }
.att-nums { display: grid; grid-template-columns: repeat(4, minmax(64px, 1fr)); gap: 10px; flex: 1; min-width: 240px; }
.att-nums span { display: grid; gap: 2px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.att-nums b { font-family: var(--font-display); font-size: 1.55rem; line-height: 1; color: var(--text); }
.att-nums .is-present b { color: var(--ok); } .att-nums .is-absent b { color: var(--danger); } .att-nums .is-late b { color: var(--warn); }
.att-sub { margin: 0; font-size: .82rem; color: var(--muted); font-weight: 700; }
.att-strip { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.att-strip li { flex: none; display: grid; justify-items: center; gap: 4px; min-width: 52px; }
.att-strip i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--surface-3); font-style: normal; }
.att-strip .is-present i { background: var(--ok); } .att-strip .is-late i { background: var(--warn); color: #1b1300; }
.att-strip .is-absent i { background: var(--danger); } .att-strip .is-excused i { background: var(--info); }
.att-strip span { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.att-card > .btn { justify-self: start; }
.att-badge { position: absolute; top: -6px; inset-inline-end: -6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--surface-3); border: 2px solid var(--bg); font-style: normal; }
.att-badge.is-present { background: var(--ok); } .att-badge.is-absent { background: var(--danger); } .att-badge.is-late { background: var(--warn); color: #1b1300; }
.att-badge.is-excused { background: var(--info); } .att-badge.is-waiting { background: var(--muted); }
.ac-switch__kid { position: relative; }
.att-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.att-pill.is-present { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.att-pill.is-absent { background: color-mix(in srgb, var(--danger) 18%, transparent); color: var(--danger); }
.att-pill.is-late { background: color-mix(in srgb, var(--warn) 22%, transparent); color: var(--warn); }
.att-pill.is-excused { background: color-mix(in srgb, var(--info) 18%, transparent); color: var(--info); }

.kid-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-bottom: 16px; }
.kid-card { display: grid; gap: 16px; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--primary); }
.kid-card.ac-tone--violet { border-top-color: var(--violet); } .kid-card.ac-tone--court { border-top-color: var(--court); } .kid-card.ac-tone--pool { border-top-color: var(--pool); }
.kid-card__top { display: flex; gap: 12px; align-items: center; }
.kid-card__top > div { flex: 1; min-width: 0; display: grid; } .kid-card__top b { font-size: 1.08rem; } .kid-card__top small { color: var(--muted); display: inline-flex; gap: 4px; align-items: center; }
.kid-card__av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 800 1.3rem var(--font-display); background: var(--surface-3); color: var(--text); flex: none; }
.kid-card__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kid-card__nums span { display: grid; gap: 2px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.kid-card__nums b { font: 800 1.3rem var(--font-display); color: var(--text); }
.link-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.link-steps li { position: relative; display: grid; gap: 8px; padding: 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.link-steps li > span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; }
.link-steps li > b { position: absolute; top: 14px; inset-inline-end: 16px; font: 900 1.4rem var(--font-display); color: var(--line-2); }
.link-steps p { margin: 0; color: var(--text-2); font-size: .92rem; line-height: 1.45; }
.link-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.link-code { font: 800 1.35rem/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .18em; text-transform: uppercase; }
@media (max-width: 560px) { .link-form { grid-template-columns: 1fr; } .att-nums { grid-template-columns: repeat(2, 1fr); min-width: 0; } }
@media (prefers-reduced-motion: reduce) { .att-ring__fg { transition: none; } }

/* sticky save bars sit above the phone bottom navigation */
@media (max-width: 999.98px) {
  body.has-bnav .ac-sticky { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); padding-bottom: 10px; }
}
.ac-sticky.roll__save { background: var(--bg); border-top: 1px solid var(--line); padding-inline: 4px; margin-top: 12px; }
.kid-card__top { flex-wrap: wrap; }
.kid-card__top > div { flex: 1 1 140px; }
.kid-card .row-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* coach birth-year groups */
.ac-years { border: 1px solid var(--line, rgba(127,127,127,.25)); border-radius: 12px; padding: .75rem 1rem; margin: .75rem 0; display: grid; gap: .5rem; }
.ac-years__row { display: grid; grid-template-columns: minmax(90px, 1fr) 1fr 1fr; gap: .5rem; align-items: end; }
.ac-years__row b { padding-bottom: .65rem; }
.ac-staff-form:not([data-role='coach']) .ac-show-years { display: none; }
@media (max-width: 480px) { .ac-years__row { grid-template-columns: 1fr 1fr; } .ac-years__row b { grid-column: 1 / -1; padding: 0; } }
.ac-group-chip { display: inline-block; margin: .35rem 0 0; padding: .2rem .7rem; border-radius: 999px; background: var(--brand-soft, rgba(0,160,90,.12)); font-weight: 600; font-size: .9rem; }

/* ---------- training days (admin editor + read-only lists) ---------- */
.td-wrap { margin-top: 28px; }
.td-wrap .section-title { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; margin: 0 0 4px; }
.td-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.td-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; }
.td-item.is-over { opacity: .6; }
.td-item__main { display: grid; gap: 2px; min-width: 0; }
.td-item__main small { color: var(--muted, inherit); }
.td-res { display: inline-flex; align-items: center; gap: 4px; }
.td-list--read .td-item { padding: 8px 10px; }
.td-next { display: flex; align-items: center; gap: 6px; font-weight: 600; margin: 4px 0 0; }
.td-add > summary { list-style: none; cursor: pointer; display: inline-flex; }
.td-add > summary::-webkit-details-marker { display: none; }
.td-add[open] > summary { margin-bottom: 12px; }
.td-days { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0 0 12px; }
.td-days legend { font-weight: 600; margin-bottom: 6px; width: 100%; }
.td-day { position: relative; }
.td-day input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.td-day span { display: inline-block; min-width: 54px; text-align: center; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; }
.td-day input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.td-day input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.td-spaces { border: 0; padding: 0; margin: 8px 0 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.td-spaces legend { font-weight: 600; width: 100%; }
.td-spaces .hint { width: 100%; margin: 0 0 4px; }

/* attendance: one tap for today's planned training */
.att-planned { display: grid; gap: 8px; margin-bottom: 14px; }
.att-planned p { margin: 0; }
.att-planned__btn { justify-content: flex-start; text-align: start; white-space: normal; }

/* coach reminders */
.rm-tpls { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.rm-tpls .chip { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; background: transparent; color: inherit; font: inherit; font-size: .9rem; cursor: pointer; }
.rm-tpls .chip:hover { border-color: var(--text); }
.rm-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.rm-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 12px; }
.rm-list li > div:first-child { display: grid; gap: 2px; }

/* remove player */
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger-ghost { border-color: var(--danger); color: var(--danger); }
.btn--danger-ghost:hover { background: var(--danger); color: #fff; }

/* parent: child at a glance */
.pd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 18px; margin: 0; }
.pd-grid dt { font-size: .8rem; color: var(--muted, inherit); opacity: .8; }
.pd-grid dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Release Center (What's new) ---------- */
.ac-relbell { position: relative; }
.rc-latest { display: grid; gap: 6px; }
.rc-latest__sum { font-size: 1.05rem; font-weight: 600; margin: 0; }
.rc-bar { display: block; height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.rc-bar i { display: block; height: 100%; background: var(--ok, #2e9e5b); border-radius: inherit; transition: width .3s ease; }
.rc-bar--big { height: 10px; }
.rc-filters { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 10px; align-items: end; margin: 14px 0; }
.rc-f { margin: 0; }
@media (max-width: 900px) { .rc-filters { grid-template-columns: 1fr 1fr; } .rc-f--q { grid-column: 1 / -1; } }
.rc-rel { padding: 0; overflow: hidden; margin-bottom: 12px; }
.rc-rel.is-new { border-inline-start: 4px solid var(--primary); }
.rc-rel__head { display: grid; gap: 6px; width: 100%; padding: 16px 18px; text-align: start; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
.rc-rel__head:focus-visible, .rc-change__head:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }
.rc-rel__id { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 1.1rem; }
.rc-rel__sum { line-height: 1.5; }
.rc-rel__meta { font-size: .88rem; opacity: .8; }
.rc-rel__body { padding: 0 18px 18px; display: grid; gap: 12px; }
.rc-new, .rc-live { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.rc-new { background: var(--primary); color: #fff; }
.rc-live { background: color-mix(in srgb, var(--ok, #2e9e5b) 18%, transparent); color: var(--ok, #2e9e5b); }
.rc-bad { color: var(--danger); }
.rc-box { border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 14px; }
.rc-box h4 { margin: 0 0 6px; font-size: .95rem; }
.rc-box ul { margin: 0; padding-inline-start: 18px; display: grid; gap: 4px; }
.rc-box--act { border-color: var(--warn, #c98a00); background: color-mix(in srgb, var(--warn, #c98a00) 8%, transparent); }
.rc-changes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rc-change { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.rc-change__head { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; width: 100%; padding: 12px 14px; background: none; border: 0; color: inherit; font: inherit; text-align: start; cursor: pointer; min-height: 48px; }
.rc-change__head b { flex: 1 1 200px; }
.rc-caret { transition: transform .2s ease; transform: rotate(90deg); }
.rc-change.is-open .rc-caret { transform: rotate(-90deg); }
[dir=rtl] .rc-caret { transform: rotate(90deg) scaleY(-1); }
.rc-change__body { padding: 0 14px 14px; display: grid; gap: 12px; }
.rc-type { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 6px; background: var(--line-2); }
.rc-type--feature { background: color-mix(in srgb, var(--primary) 15%, transparent); color: var(--primary); }
.rc-type--fix { background: color-mix(in srgb, var(--ok, #2e9e5b) 16%, transparent); color: var(--ok, #2e9e5b); }
.rc-type--removal { background: color-mix(in srgb, var(--danger) 15%, transparent); color: var(--danger); }
.rc-st { font-size: .78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
.rc-st--passed { background: color-mix(in srgb, var(--ok, #2e9e5b) 16%, transparent); border-color: transparent; color: var(--ok, #2e9e5b); }
.rc-st--failed { background: color-mix(in srgb, var(--danger) 14%, transparent); border-color: transparent; color: var(--danger); }
.rc-st--blocked { background: color-mix(in srgb, var(--warn, #c98a00) 16%, transparent); border-color: transparent; color: var(--warn, #c98a00); }
.rc-dl { display: grid; gap: 10px; margin: 0; }
.rc-dl dt { font-size: .8rem; font-weight: 700; opacity: .75; }
.rc-dl dd { margin: 2px 0 0; line-height: 1.55; }
.rc-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rc-ba > div { border-radius: 10px; padding: 8px 10px; background: color-mix(in srgb, var(--text) 4%, transparent); }
@media (max-width: 600px) { .rc-ba { grid-template-columns: 1fr; } }
.rc-role { display: inline-block; font-size: .8rem; padding: 2px 8px; margin: 2px 0; border-radius: 999px; border: 1px solid var(--line-2); }
.rc-test { border-top: 1px dashed var(--line-2); padding-top: 10px; }
.rc-test h4, .rc-h { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rc-test ol { margin: 6px 0; padding-inline-start: 22px; display: grid; gap: 4px; }
.rc-checks { margin: 6px 0; padding-inline-start: 18px; }
.rc-env { font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--line-2); }
.rc-env--sandbox { background: color-mix(in srgb, var(--warn, #c98a00) 18%, transparent); }
.rc-env--simulated { background: color-mix(in srgb, var(--info, #3b5bdb) 16%, transparent); }
.rc-result { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px; display: grid; gap: 8px; }
.rc-hist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rc-hist li { border-inline-start: 3px solid var(--line-2); padding-inline-start: 10px; }
.rc-hist p { margin: 4px 0 0; }
.rc-issue { color: var(--danger); }
.rc-sess { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.rc-sess small { display: block; opacity: .75; }
.rc-whatsnew { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.rc-whatsnew.is-new { border-inline-start: 4px solid var(--primary); }
.rc-whatsnew > div { flex: 1 1 260px; }
.rc-whatsnew p { margin: 2px 0; }
.rc-stale { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rc-link code { overflow-wrap: anywhere; }
.rc-steps { padding-inline-start: 22px; display: grid; gap: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .rc-bar i, .rc-caret { transition: none; } }
.rc-filters > *, .rc-filters select, .rc-filters input { min-width: 0; width: 100%; }
.ac-view[data-view="releases"] .view-head { flex-wrap: wrap; gap: 10px; }
.ac-view[data-view="releases"] { min-width: 0; overflow-wrap: anywhere; }

/* ---------- one account page: My bookings ---------- */
.bk2-list { display: grid; gap: 10px; }
.bk2 { border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 14px; display: grid; gap: 6px; background: var(--surface); }
.bk2.needs { border-inline-start: 4px solid var(--primary); }
.bk2__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; align-items: center; }
.bk2__top b { display: inline-flex; gap: 6px; align-items: center; }
.bk2__when, .bk2__ref { margin: 0; }
.bk2__money { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; align-items: center; }
.bk2__pay { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bk2__next { margin: 0; padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, var(--primary) 7%, transparent); display: flex; gap: 6px; align-items: flex-start; }
.bk2 .row-actions .btn--primary { min-height: 44px; }
.bk2-past summary { cursor: pointer; padding: 4px 0; }
.bk2-policy { margin: 0 0 12px; }
.kid-tag { display: inline-block; margin-inline-start: 6px; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .72rem; opacity: .85; }
.desk-links .ac-quick__item { min-height: 88px; }
.reg-kidmode { margin: 6px 0 14px; }
.field-label { font-weight: 600; margin: 12px 0 6px; }
@media (max-width: 600px) { .bk2 .row-actions { display: grid; } .bk2 .row-actions .btn { width: 100%; justify-content: center; } }

/* offers admin: search + status filter */
.of-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.of-tools .input { flex: 1 1 200px; min-width: 0; }
.status--draft { background: #fff1d6; color: #7a4b00; }
