/* Colours come from themes.css, fonts and sizes from fonts.css — this file only uses the variables. */

body {
    min-height: 100vh;
    background:
        radial-gradient(900px 500px at 10% -10%, var(--glow1), transparent 60%),
        radial-gradient(800px 500px at 110% 10%, var(--glow2), transparent 60%),
        var(--bg);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    transition: background-color .3s, color .3s;
}
.hint { color: var(--muted); }
kbd { background: var(--surface); color: var(--text); border: 1px solid var(--line); font-size: .75rem; }
.display { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); }

/* ---------- Buttons ---------- */
.btn { border-radius: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.btn-ghost {
    --bs-btn-color: var(--text);
    --bs-btn-bg: var(--card);
    --bs-btn-border-color: var(--line);
    --bs-btn-hover-bg: var(--surface);
    --bs-btn-hover-border-color: var(--accent);
    --bs-btn-hover-color: var(--text);
    --bs-btn-active-bg: var(--surface);
    --bs-btn-active-border-color: var(--accent);
    --bs-btn-active-color: var(--text);
}
.btn-accent {
    --bs-btn-color: var(--accent-ink);
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-color: var(--accent-ink);
    --bs-btn-hover-bg: var(--accent);
    --bs-btn-hover-border-color: var(--accent);
    --bs-btn-active-color: var(--accent-ink);
    --bs-btn-active-bg: var(--accent);
    --bs-btn-disabled-color: var(--accent-ink);
    --bs-btn-disabled-bg: var(--accent);
    --bs-btn-disabled-border-color: var(--accent);
    box-shadow: 0 8px 20px -10px var(--accent);
}
.btn-accent:hover { filter: brightness(1.08); }
.btn-icon { padding: .45rem .7rem; }

/* ---------- Top bar ---------- */
.topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px var(--line), 0 8px 18px -8px rgba(0, 0, 0, .5); }
.brand-name {
    display: block;
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    font-size: 1.1rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    line-height: 1.1;
}
.brand-sub { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.month-nav { display: flex; gap: 6px; }
.theme-dot {
    width: 14px; height: 14px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 50%, var(--open-text) 50%);
    box-shadow: 0 0 0 2px var(--line);
}

/* ---------- Mode bar ---------- */
.modebar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 6px;
    margin-bottom: 14px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.modebar-label { color: var(--muted); font-size: .85rem; font-weight: 600; padding: 0 8px; }
.modebar input { position: absolute; opacity: 0; pointer-events: none; }
.mode {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 11px;
    border: 1.5px solid transparent;
    font-size: .88rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
    transition: background .12s, color .12s, border-color .12s;
}
.mode:hover { color: var(--text); background: var(--surface); }
.modebar input:focus-visible + .mode { outline: 2px solid var(--accent); outline-offset: 2px; }
.modebar input:checked + .mode.edit   { background: var(--surface); border-color: var(--accent); color: var(--text); }
.modebar input:checked + .mode.open   { background: var(--open-bg2); border-color: var(--open-line); color: var(--open-text); }
.modebar input:checked + .mode.booked { background: var(--booked-bg); border-color: var(--booked-line); color: var(--booked-text); }
.modebar input:checked + .mode.closed { background: var(--closed-bg); border-color: var(--closed-text); border-style: dashed; color: var(--closed-text); }
.mini-stepper { display: inline-flex; align-items: center; gap: 2px; margin-left: 2px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.mini-stepper button { all: unset; cursor: pointer; width: 22px; text-align: center; font-weight: 700; color: inherit; }
.mini-stepper b { min-width: 16px; text-align: center; }

/* ---------- Calendar card ---------- */
.cal-card {
    background: linear-gradient(160deg, var(--card), var(--card2));
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 32px 32px 24px;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
}
.cal-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}
.cal-brand { display: flex; align-items: center; gap: 18px; }
.cal-logo { width: calc(84px * var(--scale)); height: calc(84px * var(--scale)); flex: none; border-radius: 50%; box-shadow: 0 0 0 3px var(--line); }
.cal-company {
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    font-size: calc(.95rem * var(--scale));
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 4px;
}
.hide-logo .cal-logo, .hide-logo .cal-company { display: none; }
.cal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}
.cal-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.cal-title {
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    letter-spacing: var(--display-tracking);
    font-size: calc(clamp(1.9rem, 3.8vw, 2.9rem) * var(--scale));
    line-height: 1;
    margin: 0;
}

.stats { display: flex; flex-wrap: wrap; gap: 8px; }
.stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px 9px 10px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
}
.stat .ico {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: 11px;
    font-size: 1rem;
}
.stat b { display: block; font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(1.35rem * var(--scale)); line-height: 1.05; }
.stat span { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stat.open .ico   { background: var(--open-bg2);  color: var(--open-text); }
.stat.open b      { color: var(--open-strong, var(--open-text)) !important; }
.stat.booked .ico { background: var(--booked-bg); color: var(--booked-text); }
.stat.closed .ico { background: var(--closed-bg); color: var(--closed-text); }
.stat.open b   { color: var(--open-text); }
.stat.booked b { color: var(--booked-text); }
.stat.closed b { color: var(--closed-text); }

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}
.cal-weekdays {
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    font-size: calc(.78rem * var(--scale));
    font-weight: 700;
    color: var(--muted);
    letter-spacing: .12em;
}

/* ---------- Day cells ---------- */
.day {
    position: relative;
    min-height: var(--cell-h);
    border: 1.5px solid var(--line);
    border-radius: 18px;
    padding: 9px 11px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform .15s, box-shadow .15s;
    animation: pop .35s both;
}
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.day:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .6); }
.day:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.day.empty { background: transparent; border: 1.5px dashed var(--line); opacity: .35; cursor: default; animation: none; }
.day.empty:hover { transform: none; box-shadow: none; }
.day.past { opacity: .6; }
.day.today { box-shadow: 0 0 0 2px var(--accent), 0 0 24px -6px var(--accent); }
.day.saving { opacity: .6; pointer-events: none; }

.day-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.day-num { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(1.1rem * var(--scale)); color: var(--text); line-height: 1.1; }
.today-tag {
    font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: 2px 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
}
.edit-hint { font-size: .8rem; opacity: 0; transition: opacity .15s; color: var(--muted); }
.day:hover .edit-hint { opacity: 1; }

.day-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2px;
}
.status-icon { font-size: calc(1.35rem * var(--scale)); line-height: 1; margin-bottom: 3px; }
.status-word {
    font-weight: 800;
    font-size: calc(.8rem * var(--scale));
    line-height: 1.2;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.slot-count {
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    font-size: calc(2.5rem * var(--scale));
    line-height: .95;
}
.slot-label { font-size: calc(.64rem * var(--scale)); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.slot-pips { display: flex; gap: 3px; margin-top: 4px; }
.slot-pips i { width: 12px; height: 4px; border-radius: 2px; background: currentColor; opacity: .75; }
.day-note {
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--surface);
    font-size: calc(.68rem * var(--scale));
    text-align: center;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.short { display: none; }

.day.open {
    background: linear-gradient(160deg, var(--open-bg2), var(--open-bg));
    border-color: var(--open-line);
    color: var(--open-text);
}
.day.booked {
    background:
        repeating-linear-gradient(135deg, var(--stripe) 0 8px, transparent 8px 16px),
        var(--booked-bg);
    border-color: var(--booked-line);
    color: var(--booked-text);
}
.day.closed {
    background: var(--closed-bg);
    border-color: var(--closed-line);
    border-style: dashed;
    color: var(--closed-text);
}
.day.closed .day-num { color: var(--closed-text); }
.day.open .day-num { color: var(--open-num, var(--text)); }

/* Brush modes: hovering shows what the click will do */
body[data-mode="open"]   .day[data-date]:hover { box-shadow: 0 0 0 2px var(--open-text); }
body[data-mode="booked"] .day[data-date]:hover { box-shadow: 0 0 0 2px var(--booked-text); }
body[data-mode="closed"] .day[data-date]:hover { box-shadow: 0 0 0 2px var(--closed-text); }
body:not([data-mode="edit"]) .edit-hint { display: none; }

/* Hidden-by-setting parts */
.hide-stats .stats, .hide-legend .cal-legend, .hide-notes .day-note { display: none !important; }

/* ---------- Message + footer ---------- */
.cal-message {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 16px;
    text-align: center;
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    letter-spacing: var(--display-tracking);
    font-size: calc(1.25rem * var(--scale));
    color: var(--accent-ink);
    background: var(--accent);
}
.cal-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.cal-legend { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .85rem; font-weight: 500; }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal-updated { color: var(--muted); font-size: .8rem; margin-left: auto; }
.swatch { display: inline-block; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid; }
.swatch.open   { background: var(--open-bg2); border-color: var(--open-line); }
.swatch.booked { background: var(--booked-bg); border-color: var(--booked-line); }
.swatch.closed { background: var(--closed-bg); border-color: var(--closed-line); border-style: dashed; }

/* ---------- Modals & offcanvas ---------- */
.modal-content, .offcanvas {
    --bs-offcanvas-bg: var(--card);
    --bs-offcanvas-color: var(--text);
    --bs-offcanvas-width: 420px;
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--line);
}
.modal-content { border-radius: 22px; }
.modal-header, .modal-footer { border-color: var(--line); }
.offcanvas-header { border-bottom: 1px solid var(--line); }
.modal-title, .offcanvas-title { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: 1.35rem; }
.panel-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-text { color: var(--muted); }
.form-control, .form-select { background-color: var(--surface); border-color: var(--line); color: var(--text); border-radius: 12px; padding: .55rem .8rem; }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 .2rem var(--glow1); background-color: var(--surface); color: var(--text); }
.form-check-input { background-color: var(--surface); border-color: var(--line); }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.form-check-label { font-size: .9rem; }

.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.stepper button { all: unset; cursor: pointer; width: 44px; text-align: center; font-size: 1.3rem; font-weight: 700; color: var(--text); }
.stepper button:hover { background: var(--line); }
.stepper .form-control { width: 72px; border: 0; border-radius: 0; text-align: center; font-size: 1.2rem; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.stepper .form-control::-webkit-inner-spin-button { -webkit-appearance: none; }

.status-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.status-picker input { position: absolute; opacity: 0; pointer-events: none; }
.status-picker label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    height: 100%;
    padding: 14px 8px;
    text-align: center;
    border: 1.5px solid var(--line);
    border-radius: 16px;
    cursor: pointer;
    font-weight: 700;
    font-size: .88rem;
    transition: background .12s, border-color .12s, transform .12s;
}
.status-picker label:hover { transform: translateY(-1px); }
.status-picker label .bi { font-size: 1.4rem; }
.status-picker label small { font-weight: 400; color: var(--muted); font-size: .72rem; }
.status-picker input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.status-picker input[value="open"]:checked + label   { background: var(--open-bg2);  border-color: var(--open-line);   color: var(--open-text); }
.status-picker input[value="booked"]:checked + label { background: var(--booked-bg); border-color: var(--booked-line); color: var(--booked-text); }
.status-picker input[value="closed"]:checked + label { background: var(--closed-bg); border-color: var(--closed-text); border-style: dashed; color: var(--closed-text); }

.day-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.day-toggle label { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .82rem; font-weight: 600; user-select: none; }
.day-toggle input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.day-toggle input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Segmented controls (tabs + text size) */
.seg-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.seg-tabs .nav-link { width: 100%; border-radius: 10px; color: var(--muted); font-weight: 600; padding: .45rem; }
.seg-tabs .nav-link.active { background: var(--accent); color: var(--accent-ink); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; padding: 7px 4px; border-radius: 10px; font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.seg input:checked + label { background: var(--card); color: var(--text); box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--accent); }
.seg input:focus-visible + label { outline: 2px solid var(--accent); }

/* Theme cards: each card carries its own data-theme, so it previews with that palette */
.theme-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.theme-card, .font-card {
    all: unset;
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 16px;
    border: 2px solid var(--line);
    transition: transform .15s, border-color .15s;
}
.theme-card:hover, .font-card:hover { transform: translateY(-2px); }
.theme-card:focus-visible, .font-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-card.active, .font-card.active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow1); }
.theme-card { padding: 10px; background: linear-gradient(160deg, var(--card), var(--card2)); color: var(--text); }
.theme-card .mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 8px; border-radius: 10px; background: var(--bg); }
.theme-card .mini i { height: 22px; border-radius: 5px; border: 1px solid; }
.theme-card .mini .o { background: var(--open-bg2); border-color: var(--open-line); }
.theme-card .mini .b { background: var(--booked-bg); border-color: var(--booked-line); }
.theme-card .mini .c { background: var(--closed-bg); border-color: var(--closed-line); border-style: dashed; }
.theme-card .name { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1rem; }
.theme-card .name small { font-family: var(--font-body); font-weight: 600; font-size: .64rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.theme-card .accent-bar { display: block; height: 4px; border-radius: 2px; margin-top: 6px; background: var(--accent); width: 40%; }

/* Font cards: each card carries its own data-font, so it previews in that font */
.font-list { display: grid; gap: 10px; }
.font-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--surface); color: var(--text); }
.font-card .sample { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: 1.55rem; line-height: 1.1; }
.font-card .meta { font-family: var(--font-body); font-size: .78rem; color: var(--muted); margin-top: 2px; }
.font-card .meta b { color: var(--text); font-weight: 700; }
.font-card .num { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 2rem; color: var(--open-strong, var(--open-text)); line-height: 1; }

.toast { background: var(--card); color: var(--text); border: 1px solid var(--line) !important; border-radius: 14px; }
.toast.error { border-color: var(--booked-line) !important; color: var(--booked-text); }

/* ---------- Small screens ---------- */
@media (max-width: 768px) {
    .topbar { justify-content: center; }
    .brand { width: 100%; justify-content: center; }
    .cal-brand { gap: 10px; }
    .cal-logo { width: 54px; height: 54px; }
    .cal-company { font-size: .72rem; letter-spacing: .18em; }
    .modebar { justify-content: center; }
    .modebar-label { width: 100%; text-align: center; }
    .mode { padding: 6px 9px; font-size: .8rem; }
    .cal-card { padding: 18px 10px 14px; border-radius: 20px; }
    .cal-head { margin-bottom: 14px; }
    .stats { width: 100%; }
    .stat { flex: 1; min-width: 0; padding: 6px 8px; gap: 6px; }
    .stat .ico { display: none; }
    .stat b { font-size: 1.05rem; }
    .stat span { font-size: .56rem; letter-spacing: .02em; }
    .cal-grid { gap: 4px; }
    .cal-weekdays { font-size: .62rem; letter-spacing: .02em; margin-bottom: 6px; }
    .day { min-height: 76px; padding: 4px 5px; border-radius: 10px; }
    .day-num { font-size: .8rem; }
    .today-tag, .edit-hint { display: none; }
    .status-icon { font-size: 1rem; margin-bottom: 1px; }
    .status-word { font-size: .52rem; letter-spacing: .02em; }
    .slot-count { font-size: 1.4rem; }
    .slot-label { font-size: .5rem; letter-spacing: .02em; }
    .slot-pips, .day-note { display: none; }
    .short { display: inline; }
    .long { display: none; }
    .cal-message { font-size: 1rem; padding: 10px 12px; }
    .cal-legend { gap: 12px; font-size: .76rem; }
    .status-picker label { font-size: .78rem; padding: 10px 4px; }
}

@media (prefers-reduced-motion: reduce) {
    .day, .theme-card, .font-card, .status-picker label { animation: none; transition: none; }
}

/* Numbers use --font-num so serif styles keep level digits (also in the downloaded image) */
.day-num, .slot-count, .stat b, .font-card .num { font-family: var(--font-num); }
.cal-title, .mini-stepper b { font-variant-numeric: lining-nums; }

/* Calendar font (Customize → Font → Calendar font). Falls back to the heading font. */
.cal-grid { font-family: var(--cell-body, var(--font-body)); }
.cal-grid .day-num,
.cal-grid .slot-count { font-family: var(--cell-num, var(--font-num)); font-weight: var(--cell-weight, var(--display-weight)); }

/* "Show today" switch */
.today-switch {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 11px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
}
.today-switch .form-check-input { margin: 0; float: none; cursor: pointer; width: 2.2em; height: 1.2em; border-color: var(--muted); }
.today-switch:has(input:checked) { color: var(--text); }
.hide-today .day.today { box-shadow: none; }
.hide-today .today-tag { display: none; }
.sub-option { margin-left: 2.5em; }

/* Font tab: heading / calendar sections */
.font-section-title { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 12px; }
.font-section-title h6 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.05rem; }
.font-section-title small { color: var(--muted); font-size: .75rem; }
.cell-font-card .sample-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: none;
    width: 108px;
    padding: 6px 8px;
    border-radius: 12px;
    border: 1.5px solid var(--open-line);
    background: linear-gradient(160deg, var(--open-bg2), var(--open-bg));
    color: var(--open-text);
}
.cell-font-card .sample-cell b { font-family: var(--cell-num, var(--font-num)); font-weight: var(--cell-weight, var(--display-weight)); font-size: 1.9rem; line-height: 1; }
.cell-font-card .sample-cell span { white-space: nowrap; font-family: var(--cell-body, var(--font-body)); font-size: .56rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cell-font-card .sample-text { font-family: var(--cell-body, var(--font-body)); font-size: .95rem; font-weight: 600; }

@media (max-width: 768px) {
    .today-switch { margin-left: 0; }
}
.seg-tabs.seg-tabs-2 { grid-template-columns: repeat(2, 1fr); }
