/* Turnover screens in the look of Apple's Calendar (spec section 7).
   Plain CSS: the panel has no Tailwind build for custom views. Loaded on every panel page. */

.cal, .tc, .td, .up, .al, .ps {
    --cal-bg: #ffffff;
    --cal-bg2: #f2f2f7;
    --cal-text: #000000;
    --cal-text2: #6e6e73;
    --cal-text3: #aeaeb2;
    --cal-sep: #e5e5ea;
    --cal-accent: #d70015;
    --cal-tint: #0062cc;
    --cal-tintbg: rgba(0, 122, 255, 0.12);
    --cal-ok: #1e7b34;
    --cal-okbg: rgba(52, 199, 89, 0.16);
    --cal-flip: #9e4400;
    --cal-flipbg: rgba(255, 149, 0, 0.18);
    --cal-seg: #ffffff;
    --cal-hour: 3rem;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
    color: var(--cal-text);
    -webkit-font-smoothing: antialiased;
}

.dark .cal, .dark .tc, .dark .td, .dark .up, .dark .al, .dark .ps {
    --cal-bg: #1c1c1e;
    --cal-bg2: #2c2c2e;
    --cal-text: #ffffff;
    --cal-text2: #98989f;
    --cal-text3: #5a5a5f;
    --cal-sep: #38383a;
    --cal-tint: #4da3ff;
    --cal-tintbg: rgba(10, 132, 255, 0.24);
    --cal-ok: #4cd964;
    --cal-okbg: rgba(48, 209, 88, 0.2);
    --cal-flip: #ffb340;
    --cal-flipbg: rgba(255, 159, 10, 0.22);
    --cal-seg: #636366;
}

/* Zero specificity on purpose, so every component class below wins: the whole selector sits inside :where(),
   because a bare :not(.x) counts as a class. Filament's own buttons are left alone: this file is outside any
   CSS layer, so the reset would otherwise beat Filament's @layer components. */
:where(.cal, .tc, .td, .up) :where(button:not(.fi-btn, .fi-icon-btn)) {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.cal-flip {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.0625rem 0.375rem;
    border-radius: 0.375rem;
    color: var(--cal-flip);
    background: var(--cal-flipbg);
}

.cal-seg { display: flex; flex-wrap: wrap; gap: 2px; padding: 2px; border-radius: 9px; background: var(--cal-bg2); }
.cal-seg > button { flex: 1 1 auto; min-height: 2.25rem; padding: 0 0.875rem; border-radius: 7px; font-size: 0.875rem; }
.cal-seg > button[aria-pressed="true"] { background: var(--cal-seg); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14); font-weight: 600; }
@media (max-width: 767px) { .cal-seg > button { min-height: 2.75rem; } }

.cal-status { flex-shrink: 0; font-size: 0.75rem; font-weight: 600; padding: 0.1875rem 0.5625rem; border-radius: 0.625rem; color: var(--cal-text2); background: var(--cal-bg2); }
.cal-status.is-transferred { color: var(--cal-tint); background: var(--cal-tintbg); }
.cal-status.is-done { color: var(--cal-ok); background: var(--cal-okbg); }
.cal-status.is-cancelled { color: var(--cal-accent); background: rgba(215, 0, 21, 0.1); }

.cal-empty { margin: 0; padding: 1rem; color: var(--cal-text2); }

.tc-dot { width: 0.75rem; height: 0.75rem; border-radius: 50%; flex-shrink: 0; background: var(--ev); }
.tc-facts { margin: 0; display: flex; flex-direction: column; }
.tc-facts > div { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.6875rem 0; border-top: 1px solid var(--cal-sep); font-size: 0.9375rem; }
.tc-facts dt { color: var(--cal-text2); flex-shrink: 0; }
.tc-facts dd { margin: 0; font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.tc-transfer { display: flex; align-items: center; gap: 0.75rem; min-height: 3rem; padding: 0 0.875rem; border-radius: 0.75rem; background: var(--cal-bg2); font-weight: 600; cursor: pointer; }
.tc-transfer input { width: 1.375rem; height: 1.375rem; margin: 0; accent-color: #007aff; }
.tc-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--cal-tint); font-weight: 600; }
.tc-note, .td-locked { margin: 0; color: var(--cal-text2); font-size: 0.875rem; line-height: 1.45; }

.td { display: flex; flex-direction: column; gap: 1.25rem; max-width: 40rem; }
.td-back { display: inline-flex; align-items: center; gap: 0.25rem; align-self: flex-start; min-height: 2.75rem; padding-right: 0.5rem; margin: -0.5rem 0 -0.5rem -0.25rem; color: var(--cal-tint); font-weight: 600; }
.td-back-icon { width: 1.25rem; height: 1.25rem; }
.td-head { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.td-names { flex: 1; min-width: 0; }
.td-listing { margin: 0; font-size: 1.5rem; font-weight: 700; }
.td-sub { margin: 0; color: var(--cal-text2); }
.td-notes { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; }
.td-notes label { font-weight: 600; }
.td-notes textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--cal-sep); border-radius: 0.625rem; padding: 0.625rem 0.75rem; font: inherit; color: inherit; background: var(--cal-bg); }
.td-error { margin: 0; color: var(--cal-accent); font-size: 0.875rem; }
.td-history h3 { margin: 0 0 0.5rem; font-size: 1.0625rem; }
.td-entry { padding: 0.625rem 0; border-top: 1px solid var(--cal-sep); }
.td-entry-text { margin: 0; overflow-wrap: anywhere; }
.td-entry-meta { margin: 0.125rem 0 0; font-size: 0.8125rem; color: var(--cal-text2); }

/* Turnover card */
.tc { display: flex; flex-direction: column; gap: 0.875rem; }
.tc-head { display: flex; align-items: center; gap: 0.625rem; }
.tc-listing { flex: 1; min-width: 0; font-weight: 600; }
.tc-chip { font-size: 0.75rem; color: var(--cal-text2); padding: 0.125rem 0.5rem; border-radius: 0.5rem; background: var(--cal-bg2); }
.tc-title { margin: 0; font-size: 1.625rem; font-weight: 700; letter-spacing: -0.01em; }
.tc-date { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; color: var(--cal-text2); }
.tc-close { flex-shrink: 0; width: 2.75rem; height: 2.75rem; margin: -0.5rem -0.5rem -0.5rem 0; }

/* Calendar page */
.cal { display: flex; gap: 1.5rem; align-items: flex-start; }
.cal-side { width: 14rem; flex-shrink: 0; display: none; flex-direction: column; gap: 1.75rem; position: sticky; top: 5rem; }
.cal-main { flex: 1; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--cal-sep); border-radius: 0.875rem; background: var(--cal-bg); overflow: hidden; }
.cal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding: 0.875rem 1rem; border-bottom: 1px solid var(--cal-sep); }
.cal-title { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
.cal-title span { font-weight: 400; color: var(--cal-text2); }
.cal-nav { display: flex; align-items: center; gap: 0.25rem; }
.cal-nav > button { min-width: 2.75rem; min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 0.5rem; }
.cal-nav-icon { width: 1.25rem; height: 1.25rem; }
.cal-nav > .cal-today { min-height: 2.25rem; padding: 0 0.875rem; border: 1px solid var(--cal-sep); font-size: 0.875rem; font-weight: 600; }
.cal-nav > .cal-listings-btn { color: var(--cal-accent); font-weight: 600; padding: 0 0.5rem; }
.cal-key { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; padding: 0.5rem 1rem; border-bottom: 1px solid var(--cal-sep); font-size: 0.8125rem; color: var(--cal-text2); }
.cal-key > span { display: inline-flex; align-items: center; gap: 0.375rem; }
.cal-filter-note { margin: 0; padding: 0.5rem 1rem; font-size: 0.875rem; background: var(--cal-flipbg); }
.cal-filter-note button { margin-left: 0.5rem; color: var(--cal-tint); font-weight: 600; }
.cal-body { touch-action: pan-y pinch-zoom; }
.cal.cal-sheet { display: block; }

@media (min-width: 1024px) {
    .cal-side { display: flex; }
    .cal-nav > .cal-listings-btn { display: none; }
}

/* Items: a soft tint of the listing's color, darker text for contrast */
.cal-ev { display: flex; align-items: center; gap: 0.25rem; width: 100%; min-width: 0; padding: 0.125rem 0.375rem; border-radius: 0.3125rem; font-size: 0.75rem; line-height: 1.125rem; text-align: left; background: color-mix(in srgb, var(--ev) 16%, transparent); color: color-mix(in srgb, var(--ev) 52%, black); }
.dark .cal-ev { background: color-mix(in srgb, var(--ev) 32%, transparent); color: color-mix(in srgb, var(--ev) 50%, white); }
/* Turnovers (cleanings) get a darker outline of the listing color, so they stand out from stay bars. */
.cal-ev.is-turnover { border: 2px solid color-mix(in srgb, var(--ev) 70%, black); }
.dark .cal-ev.is-turnover { border-color: color-mix(in srgb, var(--ev) 85%, white); }
.cal-ev.is-done, .cal-row.is-done { opacity: 0.55; }
.cal-ev.is-cancelled { opacity: 0.7; }
.cal-ev.is-cancelled .cal-ev-name, .cal-row.is-cancelled .cal-row-name { text-decoration: line-through; }
.cal-ev-icon { width: 0.75rem; height: 0.75rem; flex-shrink: 0; }
.cal-ev-time { font-weight: 600; white-space: nowrap; }
.cal-ev-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-ev .cal-flip { font-size: 0.5625rem; padding: 0 0.25rem; }

/* Month */
.cal-wd { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-wd > span { text-align: right; padding: 0.5rem 0.625rem 0.375rem; font-size: 0.75rem; font-weight: 600; color: var(--cal-text2); text-transform: uppercase; }
.cal-wd-short { display: none; }
.cal-weeks { border-top: 1px solid var(--cal-sep); }
/* Each week is one grid: day cells span every row; numbers, stay lanes and cleanings sit on top of them. */
.cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); min-height: 7.5rem; }
.cal-day { grid-row: 1 / -1; min-width: 0; border-right: 1px solid var(--cal-sep); border-bottom: 1px solid var(--cal-sep); }
.cal-day:nth-child(7) { border-right: 0; }
.cal-day.is-out { background: var(--cal-bg2); }
.cal-num.is-out:not(.is-today) { color: var(--cal-text3); }
.cal-num { align-self: flex-end; min-width: 1.75rem; height: 1.75rem; padding: 0 0.4375rem; border-radius: 999px; font-size: 0.875rem; display: inline-flex; align-items: center; justify-content: center; }
.cal-week > .cal-num { grid-row: 1; align-self: start; justify-self: end; margin: 0.25rem 0.375rem 0.125rem; }
.cal-num.is-today { background: var(--cal-accent); color: #ffffff; font-weight: 600; }
.cal-pills { display: flex; flex-direction: column; gap: 0.125rem; min-width: 0; padding: 0.125rem 0.375rem 0.375rem; }
.cal-dots, .cal-dayagenda { display: none; }


/* List */
.cal-agenda-day h3 { margin: 0; padding: 1.125rem 1rem 0.375rem; font-size: 0.8125rem; font-weight: 600; color: var(--cal-text2); text-transform: uppercase; letter-spacing: 0.03em; }
.cal-agenda-today { margin-left: 0.5rem; color: var(--cal-accent); }
.cal-row { display: flex; align-items: center; gap: 0.75rem; width: 100%; min-height: 3.75rem; padding: 0.625rem 1rem; border-top: 1px solid var(--cal-sep); text-align: left; }
.cal-row-time { width: 4rem; flex-shrink: 0; font-size: 0.875rem; color: var(--cal-text2); font-variant-numeric: tabular-nums; }
.cal-row-dot { width: 0.625rem; height: 0.625rem; border-radius: 50%; flex-shrink: 0; background: var(--ev); }
.cal-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.1875rem; }
.cal-row-name { font-size: 1rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-row-detail { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.375rem; font-size: 0.8125rem; color: var(--cal-text2); }

/* Week and day */
.cal-grid-head { display: flex; border-bottom: 1px solid var(--cal-sep); }
.cal-gutter { flex: 0 0 3.5rem; position: relative; }
.cal-gutter > span { position: absolute; right: 0.375rem; transform: translateY(-50%); font-size: 0.6875rem; color: var(--cal-text2); white-space: nowrap; }
.cal-colhead { flex: 1; min-width: 0; min-height: 2.75rem; display: flex; flex-direction: column; align-items: center; gap: 0.125rem; padding: 0.375rem 0; }
.cal-colhead-dy { font-size: 0.6875rem; color: var(--cal-text2); text-transform: uppercase; }
.cal-colhead .cal-num { align-self: center; }
.cal-grid-scroll { max-height: 70vh; overflow-y: auto; }
.cal-grid-body { display: flex; position: relative; height: calc(var(--cal-hour) * 14); }
.cal-col { flex: 1; min-width: 0; position: relative; border-left: 1px solid var(--cal-sep); background-image: repeating-linear-gradient(to bottom, var(--cal-sep) 0, var(--cal-sep) 1px, transparent 1px, transparent var(--cal-hour)); }
.cal-now { position: absolute; left: 0; right: 0; height: 2px; background: var(--cal-accent); z-index: 2; }
.cal-ev.is-block { position: absolute; flex-direction: column; align-items: flex-start; gap: 0.125rem; padding: 0.25rem 0.3125rem; border-radius: 0.375rem; overflow: hidden; line-height: 1.25; }
.cal-ev.is-block .cal-ev-name { flex: none; width: 100%; }

/* Listings panel and mini month */
.cal-listings { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.125rem; min-width: 0; }
.cal-listings legend { font-weight: 600; padding: 0 0 0.5rem; }
.cal-listings label { display: flex; align-items: center; gap: 0.625rem; min-height: 2.75rem; padding: 0.25rem 0; box-sizing: border-box; font-size: 0.875rem; line-height: 1.3; cursor: pointer; }
.cal-listings input { width: 1.125rem; height: 1.125rem; margin: 0; flex-shrink: 0; }
.cal-listings-all { font-weight: 600; }
.cal-listings-dot { width: 0.625rem; height: 0.625rem; border-radius: 50%; flex-shrink: 0; background: var(--ev); }
/* Long listing names wrap onto a second line instead of being cut off. */
.cal-listings-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cal-listings-note, .cal-listings-hint { font-size: 0.75rem; color: var(--cal-text2); }
.cal-listings-hint { margin: 0.5rem 0 0; }
.cal-mini-title { margin: 0 0 0.5rem; font-weight: 600; font-size: 0.875rem; }
.cal-mini-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.cal-mini-wd { font-size: 0.625rem; font-weight: 600; color: var(--cal-text2); }
.cal-mini-day { height: 1.625rem; border-radius: 999px; font-size: 0.75rem; }
.cal-mini-day.is-out { color: var(--cal-text3); }
.cal-mini-day.is-today { background: var(--cal-accent); color: #ffffff; font-weight: 600; }

/* Phones */
@media (max-width: 767px) {
    .cal { display: block; }
    .cal-main { border-left: 0; border-right: 0; border-radius: 0; }
    .cal-bar > .cal-seg { order: 3; flex-basis: 100%; }
    .cal-seg > button { min-height: 2.75rem; }
    .cal-wd > span { text-align: center; padding: 0.25rem 0; font-size: 0.6875rem; }
    .cal-wd-long { display: none; }
    .cal-wd-short { display: inline; }
    .cal-weeks { border-top: 0; }
    .cal-week { min-height: 3.5rem; }
    .cal-day, .cal-day.is-out { border: 0; background: none; }
    .cal-week > .is-out { opacity: 0.45; }
    .cal-num { align-self: center; width: 2.75rem; height: 2.75rem; min-width: 0; padding: 0; font-size: 1.0625rem; }
    .cal-week > .cal-num { justify-self: center; margin: 0.125rem 0 0; }
    /* The phone month shows dots instead of tiles; tapping a day lists it under the grid. */
    .cal-week > .cal-dots { justify-self: center; }
    /* The button stays a 44px tap target; the circle is drawn as a gradient so it stays round when a narrow column is under 44px wide. */
    .cal-week .cal-num { max-width: 100%; }
    .cal-week .cal-num.is-today { background: radial-gradient(circle closest-side, var(--cal-accent) 98%, transparent 100%); }
    .cal-num.is-selected:not(.is-today) { background: radial-gradient(circle closest-side, var(--cal-text) 98%, transparent 100%); color: var(--cal-bg); font-weight: 600; }
    .cal-colhead .cal-num { width: 2rem; height: 2rem; }
    .cal-nav > .cal-today { min-height: 2.75rem; }
    .cal-filter-note button { min-height: 2.75rem; display: inline-flex; align-items: center; }
    .cal-pills { display: none; }
    .cal-dots { display: flex; gap: 2px; height: 6px; }
    .cal-dots > span { width: 6px; height: 6px; border-radius: 50%; background: var(--ev); }
    .cal-dayagenda { display: block; border-top: 1px solid var(--cal-sep); }
    .cal-month + .cal-dayagenda .cal-agenda-day h3 { padding-top: 0.75rem; }
    .cal { --cal-hour: 2.5rem; }
    .cal-gutter { flex-basis: 2.5rem; }
    .cal-grid-scroll { max-height: none; }
    .cal-grid:not(.is-day) .cal-ev.is-block { padding: 0.25rem 0.125rem; align-items: center; }
    .cal-grid:not(.is-day) .cal-ev.is-block .cal-ev-time,
    .cal-grid:not(.is-day) .cal-ev.is-block .cal-ev-name,
    .cal-grid:not(.is-day) .cal-ev.is-block .cal-flip { display: none; }
}

/* Upcoming (home) */
.up { display: flex; flex-direction: column; gap: 1.5rem; }
.up-day h2 { margin: 0 0 0.625rem; font-size: 0.8125rem; font-weight: 600; color: var(--cal-text2); text-transform: uppercase; letter-spacing: 0.03em; }
.up-day h2 span { margin-left: 0.5rem; color: var(--cal-accent); }
.up-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 0.75rem; }
.up-card { display: flex; flex-direction: column; gap: 0.75rem; padding: 1rem; border: 1px solid var(--cal-sep); border-radius: 0.875rem; background: var(--cal-bg); }
.up-card > header { display: flex; align-items: center; gap: 0.625rem; }
.up-card h3 { margin: 0; flex: 1; min-width: 0; font-size: 1.0625rem; font-weight: 600; }
.up-card.is-cancelled { opacity: 0.75; }
.up-card.is-cancelled h3 { text-decoration: line-through; }
.up-card > .cal-flip { align-self: flex-start; }
.up-status { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; font-weight: 600; }
.up-status select { min-height: 2.75rem; padding: 0 0.75rem; border: 1px solid var(--cal-sep); border-radius: 0.625rem; font: inherit; color: inherit; background: var(--cal-bg); }

/* Alerts inbox */
.al { display: flex; flex-direction: column; gap: 1.5rem; max-width: 48rem; }
.al-list { display: flex; flex-direction: column; gap: 0.75rem; }
.al-h { margin: 0; font-size: 0.8125rem; font-weight: 600; color: var(--cal-text2); text-transform: uppercase; letter-spacing: 0.03em; }
.al-item { display: flex; flex-direction: column; gap: 0.375rem; padding: 0.875rem 1rem; border: 1px solid var(--cal-sep); border-radius: 0.875rem; background: var(--cal-bg); }
.al-item.is-urgent.is-open { border: 2px solid var(--cal-accent); }
.al-item > header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; font-size: 0.8125rem; color: var(--cal-text2); }
.al-item h3 { margin: 0; font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.al-item p { margin: 0; line-height: 1.45; overflow-wrap: anywhere; }
.al-status { font-size: 0.8125rem; color: var(--cal-text2); }
.al-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.al-ack { min-height: 2.75rem; padding: 0 1rem; border-radius: 0.625rem; font-weight: 600; color: #ffffff; background: var(--cal-tint); }
.dark .al-ack { color: #000000; }

/* Notifications setup */
.ps { display: flex; flex-direction: column; gap: 1rem; max-width: 40rem; }
.ps-card { display: flex; flex-direction: column; gap: 0.75rem; padding: 1rem; border: 1px solid var(--cal-sep); border-radius: 0.875rem; background: var(--cal-bg); }
.ps-card h2 { margin: 0; font-size: 1.0625rem; font-weight: 600; }
.ps-card p { margin: 0; line-height: 1.45; overflow-wrap: anywhere; }
.ps-steps { display: flex; flex-direction: column; gap: 0.625rem; }
.ps-steps ol { margin: 0; padding-left: 1.25rem; list-style: decimal; line-height: 1.6; }
.ps-btn { align-self: flex-start; flex-shrink: 0; min-height: 2.75rem; padding: 0 1rem; border-radius: 0.625rem; font-weight: 600; color: #ffffff; background: var(--cal-tint); }
.ps-btn.is-secondary { color: var(--cal-tint); background: var(--cal-tintbg); }
.dark .ps-btn:not(.is-secondary) { color: #000000; }
.ps-btn:disabled { opacity: 0.5; }
.ps-note { font-size: 0.8125rem; color: var(--cal-text2); }
.ps-note a { color: var(--cal-tint); text-decoration: underline; }
.ps-error { color: var(--cal-accent); }
.ps-device { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 0.625rem; border-top: 1px solid var(--cal-sep); }
.ps-label { font-weight: 600; }
.ps-input { width: 100%; max-width: 16rem; min-height: 2.75rem; padding: 0 0.75rem; border: 1px solid var(--cal-sep); border-radius: 0.625rem; font: inherit; color: var(--cal-text); background: var(--cal-bg); }
.ps-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ps-grid { width: 100%; border-collapse: collapse; }
.ps-grid th, .ps-grid td { padding: 0 0.25rem; border-top: 1px solid var(--cal-sep); text-align: center; }
.ps-grid thead th { border-top: 0; padding-bottom: 0.25rem; font-size: 0.8125rem; font-weight: 600; color: var(--cal-text2); }
.ps-grid thead th:first-child, .ps-grid tbody th { text-align: left; }
.ps-grid tbody th { padding: 0.375rem 0.25rem 0.375rem 0; font-weight: 400; font-size: 0.9375rem; line-height: 1.3; }
.ps-grid td { width: 3rem; }
.ps-cell { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; cursor: pointer; }
.ps-cell input { width: 1.25rem; height: 1.25rem; accent-color: var(--cal-tint); }

/* How to use page: readable lines and real bullets inside Filament sections. */
.howto { display: flex; flex-direction: column; gap: 1.5rem; max-width: 48rem; line-height: 1.6; }
.howto p + p { margin-top: 0.75rem; }
.howto ul { list-style: disc; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.howto ul ul { list-style: circle; margin: 0.5rem 0; gap: 0.25rem; }
