/* FDE Residency pages: landing, join, dashboard, legal. Builds on styles.css tokens. */

[hidden] { display: none !important; }

.btn-xs { --bh: 38px; padding: 0 16px; font-size: .88rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Landing ---------- */
.fde-hero .hero-title { font-size: clamp(2.1rem, 4.8vw, 3.5rem); }
.fde-facts { flex-wrap: wrap; gap: 28px 36px; }
.fde-facts .stat dd { font-size: 1.35rem; }

.fde-clients { position: relative; z-index: 1; display: grid; gap: 16px; width: min(400px, 100%); }
.fde-client {
  display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  border-left: 5px solid var(--accent);
}
.fde-client strong { font-family: var(--display); font-size: 1.08rem; }
.fde-client small { color: var(--muted); font-size: .9rem; }
.fde-client-tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.c-fin  { border-left-color: #6366f1; }
.c-gov  { border-left-color: #0ea5e9; margin-left: 28px; }
.c-hlth { border-left-color: #ec4899; }
.c-gov .fde-client-tag { color: #0284c7; }
.c-hlth .fde-client-tag { color: #db2777; }

.fde-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fde-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.fde-panel h3 { font-size: 1.15rem; margin: 10px 0 8px; }
.fde-panel p { color: var(--ink-soft); font-size: .98rem; }
.fde-num { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--accent); }

.fde-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; }
.fde-h3 { font-size: 1.2rem; }
.fde-note { color: var(--muted); font-size: .92rem; margin-top: 32px; max-width: 720px; }
.fde-note a, .fde-faq a, .legal a, .fde-form a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.fde-steps { list-style: none; counter-reset: s; padding: 0; margin: 36px 0 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fde-steps li { counter-increment: s; position: relative; padding: 24px; padding-top: 64px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.fde-steps li::before {
  content: counter(s); position: absolute; top: 20px; left: 24px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-family: var(--display);
}
.fde-steps h3 { font-size: 1.05rem; margin-bottom: 8px; }
.fde-steps p { color: var(--ink-soft); font-size: .95rem; }

.fde-pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 22px; margin-top: 36px; }
.fde-price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.fde-price-card.is-featured { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: var(--shadow-lg); }
.fde-price { font-family: var(--display); font-weight: 800; font-size: 2.3rem; margin: 10px 0 18px; }
.fde-price span { font-family: var(--font); font-weight: 500; font-size: .95rem; color: var(--muted); }

.fde-faq { max-width: 820px; }
.fde-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.fde-faq details:first-of-type { margin-top: 24px; border-top: 1px solid var(--line); }
.fde-faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.fde-faq summary::-webkit-details-marker { display: none; }
.fde-faq summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.fde-faq details[open] summary::after { content: "–"; }
.fde-faq details p { color: var(--ink-soft); margin-top: 10px; }

/* ---------- App shell (join, dashboard) ---------- */
.app-main { padding: 56px 0 96px; min-height: 70vh; }
.app-narrow { max-width: 680px; }
.app-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.app-card + .app-card { margin-top: 22px; }
.app-card h2 { font-size: 1.35rem; margin-bottom: 8px; }
.app-card .lead { color: var(--ink-soft); margin-bottom: 22px; }
.app-loading { color: var(--muted); padding: 40px 0; text-align: center; }

.auth-buttons { display: grid; gap: 12px; }
.btn-provider { justify-content: center; background: var(--bg); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-provider:hover { border-color: var(--accent); }
.btn-provider svg { flex: none; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 18px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.inapp-note { background: var(--accent-soft); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem; color: var(--ink-soft); margin-bottom: 18px; }

/* Forms */
.fde-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .hint { color: var(--muted); font-size: .85rem; font-weight: 400; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field input[readonly] { background: var(--bg-soft); color: var(--muted); }
.field [aria-invalid="true"] { border-color: #dc2626; }
.field-error { color: #dc2626; font-size: .85rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
fieldset.field { border: 0; padding: 0; margin: 0; }

.nights { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 6px; }
.night { position: relative; }
.night input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.night span {
  display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); transition: all .15s; font-weight: 600;
}
.night span small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.night span::after { content: ""; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--bg); }
.night input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.night input:checked + span::after { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.night input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; justify-self: start; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }

/* Dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.dash-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .88rem; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill[data-tone="muted"] { background: var(--bg-soft); color: var(--muted); }

.timeline { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.timeline li { position: relative; padding-top: 22px; font-size: .9rem; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 6px; background: var(--line); }
.timeline li.is-done::before, .timeline li.is-current::before { background: var(--accent); }
.timeline li.is-current { color: var(--ink); font-weight: 600; }
.timeline strong { display: block; color: inherit; font-size: .95rem; }

.kv { display: grid; grid-template-columns: 180px 1fr; gap: 10px 20px; margin: 0; }
.kv dt { color: var(--muted); font-size: .92rem; }
.kv dd { margin: 0; word-break: break-word; }
.card-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.danger-link { color: #dc2626; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #0f1115; color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg);
  transition: all .2s ease; z-index: 100; max-width: calc(100% - 32px); font-size: .95rem;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast[data-kind="error"] { background: #b91c1c; }
.toast[data-kind="success"] { background: #15803d; }

/* Consent banner */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; margin-inline: auto; max-width: 720px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg);
}
.consent p { font-size: .92rem; color: var(--ink-soft); flex: 1 1 320px; }
.consent a { color: var(--accent); text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; }

/* Legal */
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 32px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .fde-hero .hero-art { order: 0; min-height: 0; }
  .fde-hero { padding-top: 48px; }
  .fde-grid-3 { grid-template-columns: 1fr; }
  .fde-steps { grid-template-columns: repeat(2, 1fr); }
  .fde-split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .fde-steps { grid-template-columns: 1fr; }
  .fde-pricing { grid-template-columns: 1fr; }
  .c-gov { margin-left: 0; }
  .row-2 { grid-template-columns: 1fr; }
  .nights { grid-template-columns: 1fr 1fr; }
  .app-card { padding: 24px 20px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dd { margin-bottom: 10px; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
}

/* ---------- Shared bits for admin + booking ---------- */
.muted { color: var(--muted); }
.small, small.small { font-size: .82rem; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: .75rem; font-weight: 700; background: var(--bg-soft); color: var(--muted); vertical-align: middle; }
.tag-ok { background: #dcfce7; color: #15803d; }
.tag-bad { background: #fee2e2; color: #b91c1c; }
.tag-warn { background: #fef3c7; color: #a16207; }
.card-actions.compact { margin-top: 10px; gap: 8px; align-items: center; }
.icon-btn { background: none; border: 1px solid var(--line); color: var(--muted); width: 28px; height: 28px; border-radius: 8px; cursor: pointer; font-size: 1.1rem; line-height: 1; flex: none; }
.icon-btn:hover { color: #dc2626; border-color: #fca5a5; }
.field input[type=number], .toolbar input, .toolbar select, .inline-form input, .avail input[type=time], .note-form textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 12px;
}
.field input[type=number] { width: 100%; }
.toolbar input:focus, .toolbar select:focus, .inline-form input:focus, .avail input:focus, .note-form textarea:focus, .field input[type=number]:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

/* Status pills (one colour per stage) */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; background: var(--accent-soft); color: var(--accent); }
.pill[data-status="call_booked"] { background: #e0f2fe; color: #0369a1; }
.pill[data-status="shortlisted"] { background: #fef3c7; color: #a16207; }
.pill[data-status="invited"] { background: #f3e8ff; color: #7e22ce; }
.pill[data-status="deposit_paid"], .pill[data-status="enrolled"] { background: #dcfce7; color: #15803d; }
.pill[data-status="withdrawn"], .pill[data-status="declined"] { background: var(--bg-soft); color: var(--muted); }

/* ---------- Admin ---------- */
.admin-container { max-width: 1240px; }
.admin-main { padding-top: 36px; }
.admin-tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--ink); color: var(--bg); padding: 2px 7px; border-radius: 6px; margin-left: 6px; vertical-align: middle; }
body.drawer-open { overflow: hidden; }

.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 26px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat-card strong { display: block; font-family: var(--display); font-size: 1.9rem; line-height: 1.1; }
.stat-card span { color: var(--muted); font-size: .88rem; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tab-count:not(:empty) { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .75rem; line-height: 20px; text-align: center; }

.insights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.app-card.insight { padding: 20px 22px; }
.insights .app-card + .app-card { margin-top: 0; }
.insight h3 { font-size: 1rem; margin-bottom: 12px; }
.insight h3 small { color: var(--muted); font-weight: 400; font-size: .82rem; margin-left: 6px; }
.bars { display: grid; gap: 7px; }
.bar { display: grid; grid-template-columns: 110px 1fr 70px; gap: 10px; align-items: center; font-size: .88rem; }
.bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 8px; background: var(--bg-soft); border-radius: 8px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--accent); border-radius: 8px; }
.bar-val { text-align: right; font-weight: 600; }
.bar-val small { color: var(--muted); font-weight: 400; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.toolbar input[type=search] { flex: 1 1 260px; }
.toolbar-count { color: var(--muted); font-size: .88rem; margin-left: auto; }

.table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tbody tr { cursor: pointer; }
.data-table tbody tr:hover, .data-table tbody tr:focus-visible { background: var(--bg-soft); outline: none; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td small { display: block; color: var(--muted); font-size: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { font-size: .72rem; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--bg-soft); color: var(--ink-soft); }
.empty { padding: 28px; text-align: center; color: var(--muted); }

/* Drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(15,17,21,.4); z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: var(--bg); z-index: 61; box-shadow: -20px 0 60px -20px rgba(0,0,0,.3); display: flex; flex-direction: column; }
.drawer-head { display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.3rem; margin-bottom: 6px; }
.drawer-close { background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 4px; }
.drawer-body { overflow-y: auto; padding: 8px 24px 40px; }
.drawer-body section { padding: 18px 0; border-bottom: 1px solid var(--line); }
.drawer-body section:last-child { border-bottom: 0; }
.drawer-body h3 { font-size: .95rem; margin-bottom: 10px; }
.drawer-body h3 small { font-weight: 400; margin-left: 6px; }
.kv.kv-tight { grid-template-columns: 130px 1fr; gap: 8px 14px; font-size: .92rem; }
.kv a { color: var(--accent); }
.history summary { cursor: pointer; color: var(--muted); font-size: .88rem; font-weight: 600; }
.history ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: .88rem; }
.history .kv { margin-top: 10px; }
.note-form { display: grid; gap: 8px; margin-bottom: 14px; }
.note-form textarea { width: 100%; resize: vertical; }
.note-form .btn { justify-self: start; }
.notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.notes li { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .92rem; }
.notes li.muted { background: none; padding: 0; }
.notes small { color: var(--muted); font-size: .78rem; }

/* Calls tab */
.call-list { display: grid; }
.call-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.call-row:first-child { border-top: 0; }
.call-when strong { display: block; }
.call-when span { color: var(--muted); font-size: .9rem; }
.call-who small { display: block; color: var(--muted); font-size: .82rem; }
.call-row .card-actions { margin: 0; }

/* Settings tab */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.settings-grid .app-card + .app-card { margin-top: 0; }
.tab-panel > .app-card { margin-bottom: 22px; }
.tab-panel > .app-card + .app-card { margin-top: 0; }
.app-card h2 small { font-family: var(--font); font-size: .85rem; font-weight: 400; margin-left: 6px; }
.row-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 42px; height: 24px; border-radius: 999px; background: var(--line); position: relative; transition: background .15s; flex: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.gcal-ok .dot, .gcal-off .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: #16a34a; }
.gcal-off .dot { background: #d97706; }
.avail { display: grid; }
.avail-day { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.avail-day:first-child { border-top: 0; }
.avail-wins { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.avail-window { display: inline-flex; gap: 6px; align-items: center; }
.avail input[type=time] { padding: 6px 8px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.inline-form input[type=text] { flex: 1 1 160px; }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.plain-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .92rem; }
.preview-days { display: grid; gap: 8px; font-size: .9rem; }
.preview-days div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.preview-days span { color: var(--ink-soft); }

/* ---------- Student: intro call booking ---------- */
.slot-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scroll-snap-type: x mandatory; }
.slot-day { flex: none; scroll-snap-align: start; display: grid; gap: 2px; text-align: center; min-width: 82px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); cursor: pointer; font: inherit; color: var(--ink); }
.slot-day strong { font-size: .95rem; }
.slot-day small { color: var(--muted); font-size: .75rem; }
.slot-day[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.slot-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.slot:hover { border-color: var(--accent); }
.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.slot-confirm { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 18px; padding: 14px 16px; background: var(--accent-soft); border-radius: var(--radius-sm); }
.slot-confirm p { margin: 0; flex: 1 1 220px; }
.call-booked { display: flex; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft); }
.call-date { flex: none; width: 66px; text-align: center; border-radius: 12px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.call-date span { display: block; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; padding: 3px 0; }
.call-date strong { display: block; font-family: var(--display); font-size: 1.6rem; padding: 4px 0; }
.call-booked p { margin: 0; }

@media (max-width: 940px) {
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .insights, .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .admin-body .header-inner .card-actions a { display: none; }
  .call-row { grid-template-columns: 1fr; gap: 6px; }
  .avail-day { grid-template-columns: 1fr; gap: 6px; }
  .kv.kv-tight { grid-template-columns: 1fr; gap: 2px; }
  .kv.kv-tight dd { margin-bottom: 8px; }
  .call-booked { align-items: flex-start; }
}
