/* Brand colours come from each clinic's own static/clinics/<code>/theme.css (loaded after this file).
   Here they are only used, never defined, so one theme file recolours the whole app. */
:root {
    --bs-primary: var(--brand-primary);
    --bs-primary-rgb: var(--brand-primary-rgb);
    --bs-link-color: var(--brand-primary);
    --bs-link-color-rgb: var(--brand-primary-rgb);          /* Bootstrap 5.3 builds link colours from this one */
    --bs-link-hover-color: var(--brand-primary-dark);
    --bs-link-hover-color-rgb: var(--brand-primary-dark-rgb);
}

body {
    background: var(--brand-page-bg);
}

.btn-primary {
    --bs-btn-bg: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);
    --bs-btn-hover-bg: var(--brand-primary-dark);
    --bs-btn-hover-border-color: var(--brand-primary-dark);
    --bs-btn-active-bg: var(--brand-primary-darker);
    --bs-btn-active-border-color: var(--brand-primary-darker);
    --bs-btn-focus-shadow-rgb: var(--brand-primary-rgb);
    --bs-btn-disabled-bg: var(--brand-disabled);
    --bs-btn-disabled-border-color: var(--brand-disabled);
    font-weight: 600;
}

/* Brand-colour focus ring on inputs instead of Bootstrap's blue */
.form-control:focus {
    border-color: var(--brand-focus-border);
    box-shadow: 0 0 0 0.25rem rgba(var(--brand-primary-rgb), 0.15);
}

.brand-name {
    color: var(--brand-primary);
}

/* Login page: centred card on a soft brand-colour background */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background:
        radial-gradient(circle at 15% 20%, rgba(var(--brand-accent-rgb), 0.12), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(var(--brand-secondary-rgb), 0.14), transparent 45%),
        linear-gradient(160deg, var(--brand-tint-light) 0%, var(--brand-tint) 100%);
}

.login-card {
    width: 100%;
    max-width: 420px;
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(var(--brand-primary-darker-rgb), 0.15);
}

/* Thin bar in the three logo colours along the top of the card */
.brand-stripe {
    height: 6px;
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-primary) 50%, var(--brand-secondary));
}

/* The logo is a circle on a white square, so round it off */
.login-logo {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(var(--brand-primary-rgb), 0.25);
}

.brand-tagline {
    color: var(--brand-accent);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Home page */
.app-navbar {
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--brand-accent), var(--brand-primary) 50%, var(--brand-secondary)) 1;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Dashboard tiles, each with a top edge in one logo colour */
.tile {
    border: 0;
    border-top: 4px solid var(--tile-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* A tile that is a link: no underline, lifts slightly on hover */
.tile-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
}

.tile-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(var(--brand-primary-rgb), 0.15);
}

.tile-plum   { --tile-color: var(--brand-primary); }
.tile-navy   { --tile-color: var(--brand-secondary); }
.tile-orange { --tile-color: var(--brand-accent); }

/* Add/edit patient form */
.form-page {
    max-width: 900px;
}

.form-section {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
}

/* Allergies stand out on the form */
.allergy-box {
    background: #fdf1f1;
    border: 1px solid #f3c7c7;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.form-check-input:checked {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

/* Gender buttons: brand colour instead of Bootstrap blue */
.btn-outline-primary {
    --bs-btn-color: var(--brand-primary);
    --bs-btn-border-color: var(--brand-border);
    --bs-btn-hover-bg: var(--brand-tint);
    --bs-btn-hover-color: var(--brand-primary);
    --bs-btn-hover-border-color: var(--brand-primary);
    --bs-btn-active-bg: var(--brand-primary);
    --bs-btn-active-border-color: var(--brand-primary);
}

/* Patient page */
.case-badge {
    background: var(--brand-primary);
    font-size: 0.8rem;
}

.alerts-box {
    border-left: 5px solid #b42318;
}

.alert-badge {
    background: #b42318;
    font-size: 0.85rem;
    font-weight: 500;
}

.condition-badge {
    background: var(--brand-tint);
    color: var(--brand-primary);
    font-weight: 500;
    font-size: 0.85rem;
}

.condition-badge.is-alert {
    background: #fde8e8;
    color: #b42318;
}

/* Treatments table */
.tooth-badge {
    background: #ffffff;
    color: var(--brand-secondary);
    border: 1px solid #c8c0e0;
    font-weight: 600;
}

.status-ongoing {
    background: #fff1e6;
    color: #b24a07;
}

.status-done {
    background: #e7f6ec;
    color: #1d7a3e;
}

/* Money: Total / Paid / Pending */
.money-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2.5rem;
    align-items: flex-end;
}

.money-row > div {
    display: flex;
    flex-direction: column;
}

.money-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-muted);
}

/* ".table" in front so these win over Bootstrap's own table text colour */
.text-pending,
.table .text-pending {
    color: var(--brand-accent);
}

.text-paid,
.table .text-paid {
    color: #1d7a3e;
}

/* Visits timeline on the patient page */
.visit-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--brand-line);
}

.visit-date {
    flex: 0 0 6.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-primary);
}

.visit-body {
    min-width: 0;
}

.visit-work {
    white-space: pre-line;   /* keep the line breaks she typed */
}

/* Appointment lists (fragments/appointments.html) */
.appt-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 0.65rem 1rem;
    border-top: 1px solid var(--brand-line);
}

.appt-item.is-closed {
    opacity: 0.6;
}

.appt-when {
    flex: 0 0 6.5rem;
}

.appt-day {
    font-size: 0.75rem;
    color: var(--brand-muted);
}

.appt-time {
    font-weight: 700;
    color: var(--brand-primary);
}

.appt-who {
    flex: 1 1 12rem;
    min-width: 0;
}

.appt-actions {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.status-missed,
.text-missed,
.table .text-missed {
    color: #b42318;
}

.status-missed {
    background: #fde8e8;
}

.status-cancelled {
    background: #eeeeee;
    color: #555555;
}

/* Delete buttons sit apart from Save, below a line */
.danger-zone {
    border-top: 1px solid var(--brand-line);
    padding-top: 1rem;
}

/* Expense sheet: compact rows, amounts right-aligned like a spreadsheet */
.expense-sheet td,
.expense-sheet th {
    padding: 0.4rem 0.5rem;
}

.expense-sheet input.amount {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Dashboard: stat tiles */
.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.75rem;
}

.stat-tile {
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
}

.stat-lead .stat-value {
    font-size: 2rem;
}

/* Dashboard chart (static/js/income-chart.js). Colours checked with the dataviz palette validator:
   clear colour-blind separation between neighbours. Profit (aqua) is just under 3:1 on white,
   so the table under the chart carries the same numbers. */
.viz-root {
    --series-income: #2a78d6;
    --series-expenses: #eb6834;
    --series-profit: #1baf7a;
    --chart-grid: #e1e0d9;
    --chart-axis: #c3c2b7;
}

.income-chart {
    position: relative;
    min-height: 260px;
}

.chart-tick {
    font-size: 11px;
    fill: #898781;
    font-variant-numeric: tabular-nums;
}

.chart-hit {
    fill: transparent;
    cursor: default;
    outline: none;
}

.chart-hit:hover,
.chart-hit:focus {
    fill: rgba(11, 11, 11, 0.04);
}

.chart-legend {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #52514e;
}

.chart-swatch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-right: 0.35rem;
    vertical-align: -1px;
}

.chart-tip {
    position: absolute;
    top: 0;
    background: #fff;
    border: 1px solid rgba(11, 11, 11, 0.10);
    border-radius: 0.5rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    pointer-events: none;
    white-space: nowrap;
}

.chart-tip-title {
    color: #52514e;
    margin-bottom: 0.25rem;
}

.chart-tip-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-tip-key {
    width: 12px;
    height: 2px;
    background: transparent;
}

.chart-tip-name {
    color: #52514e;
}

.numbers-table td {
    font-variant-numeric: tabular-nums;
}

/* Tooth chart (static/js/tooth-chart.js) */
.tooth-chart {
    border: 1px solid var(--brand-line);
    border-radius: 0.75rem;
    padding: 0.75rem;
    background: #fff;
}

.tooth-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.tooth-sides {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-muted);
}

.tooth-arches {
    max-width: 640px;
    margin: 0 auto;
}

.tooth-row {
    display: flex;
    gap: 2px;
}

/* the line between upper and lower teeth */
.tooth-row + .tooth-row {
    border-top: 2px solid var(--brand-line);
    margin-top: 4px;
    padding-top: 4px;
}

.tooth {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 2px 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

/* the line between the patient's right and left */
.tooth.midline {
    margin-left: 6px;
    box-shadow: -4px 0 0 -2px var(--brand-line);
}

.tooth svg {
    width: 100%;
    max-width: 34px;
    height: auto;
}

.tooth path {
    fill: #fbf8f2;
    stroke: var(--brand-line-dark);
    stroke-width: 1.5;
    transition: fill 0.12s, stroke 0.12s;
}

.tooth-no {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand-muted-dark);
    font-variant-numeric: tabular-nums;
}

.tooth:hover path {
    fill: var(--brand-tint);
    stroke: var(--brand-primary);
}

.tooth.selected path {
    fill: var(--brand-primary);
    stroke: var(--brand-primary-dark);
}

.tooth.selected .tooth-no {
    color: var(--brand-primary);
}

.tooth:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 1px;
}

.tooth-picked {
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

.coming-soon {
    background: var(--brand-tint);
    color: var(--brand-primary);
    font-weight: 500;
}

/* Phones: a wide table becomes a list of small cards, one per row, so nothing scrolls sideways.
   Usage: <table class="table table-stack">, and on each cell data-label="Phone" (the label shown before it).
   Cells without data-label show just their value; "stack-inline" cells sit side by side (case no. + name).
   Above 576px it is an ordinary table. */
@media (max-width: 575.98px) {
    .table-stack thead {
        display: none;
    }

    .table-stack,
    .table-stack tbody,
    .table-stack tfoot,
    .table-stack tr,
    .table-stack td,
    .table-stack th {
        display: block;
        width: 100%;
    }

    .table-stack tr {
        padding: 0.6rem 0.9rem;
        border-bottom: 1px solid var(--bs-border-color);
    }

    .table-stack td,
    .table-stack th {
        border: 0;
        padding: 0.1rem 0;
        text-align: left !important;
    }

    .table-stack td:empty {
        display: none;
    }

    .table-stack td.stack-inline,
    .table-stack th.stack-inline {
        display: inline-block;
        width: auto;
        margin-right: 0.5rem;
        font-size: 1.05rem;
    }

    /* A box (amount, note, dropdown) sits on the same line as its label */
    .table-stack td[data-label]:has(input, select) {
        display: flex;
        align-items: center;
    }

    /* A list on its own (the table is the only thing in its .card): each row its own rounded card, with a gap.
       Tables inside a bigger card (patient page, month page) keep plain rows. */
    .card:has(> .table-stack) {
        background: transparent;
        border: 0;
        box-shadow: none;
        overflow: visible;
    }

    .card > .table-stack tr {
        background: #fff;
        border: 0;
        border-radius: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
        margin-bottom: 0.75rem;
        padding: 0.8rem 1rem;
    }

    /* Bootstrap paints each cell (and the hover); let the row's white show through */
    .card > .table-stack td,
    .card > .table-stack th {
        background: transparent;
        box-shadow: none;
    }

    .table-stack [data-label]::before {
        content: attr(data-label);
        display: inline-block;
        min-width: 7rem;
        color: #6c757d;
        font-size: 0.8rem;
        font-weight: normal;
    }
}

/* Home page (home.html): patient search, three pastel count tiles, today's appointments */
.home-search {
    position: relative;
}

.home-search svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    fill: var(--brand-muted);
    pointer-events: none;
}

.home-search .form-control {
    min-height: 48px;
    padding-left: 2.75rem;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.stat-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.count-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 104px;
    padding: 0.75rem 0.25rem;
    border-radius: 1rem;
    background: var(--tile-bg);
    color: var(--tile-ink);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.15s;
}

.count-tile:hover {
    color: var(--tile-ink);
    transform: translateY(-2px);
}

.tile-sun  { --tile-bg: #fde9a8; --tile-ink: #6b4e00; }
.tile-sky  { --tile-bg: #bfe3fb; --tile-ink: #0b4a73; }
.tile-mint { --tile-bg: #c4f0c8; --tile-ink: #1d5e2a; }

.count-num {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.count-label {
    font-size: 0.85rem;
    font-weight: 600;
}

/* The chosen button: brand colour, like the picked item in the bottom bar */
.count-tile.is-active {
    --tile-bg: var(--brand-primary);
    --tile-ink: #fff;
    box-shadow: 0 6px 16px rgba(var(--brand-primary-rgb), 0.3);
}

/* Patients / Ongoing lists: one rounded white card per person, with a gap */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.list-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.min-w-0 {
    min-width: 0;
}

/* Initial of the name in a circle */
.avatar {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-tint);
    color: var(--brand-primary);
    font-weight: 700;
    text-transform: uppercase;
}

.avatar-mint {
    background: #c4f0c8;
    color: #1d5e2a;
}

.call-btn {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e7f6ec;
    color: #1d7a3e;
}

.call-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.see-all {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 0.5rem;
    font-weight: 600;
    text-decoration: none;
}

.appt-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.missed-strip {
    display: block;
    padding: 0.7rem 1rem;
    border-radius: 0.75rem;
    background: #fde8e8;
    color: #b42318;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

/* Phone bottom bar (fragments/bottom-nav.html): four sections, icon above label */
.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    background: #fff;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--brand-accent), var(--brand-primary) 50%, var(--brand-secondary)) 1;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    padding-bottom: env(safe-area-inset-bottom);   /* iPhone home bar, 0 elsewhere */
}

.bottom-nav a {
    flex: 1 1 0;
    min-height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 0.7rem;
    color: var(--brand-muted);
    text-decoration: none;
}

.bottom-nav svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.bottom-nav a.active {
    color: var(--brand-primary);
    font-weight: 700;
}

/* Add patient: a raised round brand-colour button in the middle of the bar */
.bottom-add .add-circle {
    width: 48px;
    height: 48px;
    margin-top: -22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.35);
}

.bottom-nav a.bottom-add {
    color: var(--brand-primary);
    font-weight: 600;
}

.more-btn {
    min-height: 44px;
}

@media (max-width: 767.98px) {
    /* room for the bottom bar, so it never covers the last card or a Save button */
    body:has(.bottom-nav) {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    /* Came / Change / Cancel big enough for a thumb */
    .appt-actions .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* ---- Home page animations: short and gentle, so daily work never waits for them ---- */

/* Greeting with the tooth (fragments/mascot.html) */
.hello {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mascot {
    flex: 0 0 auto;
    overflow: visible;
    animation: mascot-bob 2.6s ease-in-out infinite;
}

.mascot-body  { fill: #fff; stroke: var(--brand-primary); stroke-width: 2.5; stroke-linejoin: round; }
.mascot-eye   { fill: var(--brand-primary-darker); }
.mascot-cheek { fill: var(--brand-cheek); opacity: 0.8; }
.mascot-smile { fill: none; stroke: var(--brand-primary-darker); stroke-width: 2.5; stroke-linecap: round; }

.mascot-spark {
    fill: var(--brand-accent);
    transform-box: fill-box;          /* scale around the star itself, not the whole drawing */
    transform-origin: center;
    animation: mascot-twinkle 1.8s ease-in-out infinite;
}

@keyframes mascot-bob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-4px) rotate(-4deg); }
}

@keyframes mascot-twinkle {
    0%, 100% { transform: scale(0.6); opacity: 0.5; }
    50%      { transform: scale(1.15); opacity: 1; }
}

/* Asleep (nothing booked today): no bobbing, the tooth breathes slowly and "z z" float up */
.mascot.is-asleep {
    animation: none;
}

.mascot.is-asleep .mascot-figure {
    transform-box: fill-box;
    transform-origin: bottom center;
    animation: mascot-breathe 3.5s ease-in-out infinite;
}

.mascot-z {
    font: 700 10px sans-serif;
    fill: var(--brand-secondary);
    opacity: 0;
    animation: mascot-z 3s ease-in-out infinite;
}

.mascot-z2 {
    font-size: 8px;
    animation-delay: 1.5s;
}

@keyframes mascot-breathe {
    0%, 100% { transform: scale(1, 1); }
    50%      { transform: scale(1.03, 0.96); }
}

@keyframes mascot-z {
    0%   { opacity: 0; transform: translate(0, 4px); }
    30%  { opacity: 1; }
    100% { opacity: 0; transform: translate(4px, -8px); }
}

/* An empty list: the tooth and a message */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    text-align: center;
    color: #6c757d;
    animation: rise 0.35s ease-out both;
}

/* Cards come up one after another, a little apart. Runs again whenever the list is redrawn (tab, search). */
.card-list > *,
#home-list .appt-item {
    animation: rise 0.3s ease-out both;
}

.card-list > :nth-child(2), #home-list .appt-item:nth-child(2) { animation-delay: 40ms; }
.card-list > :nth-child(3), #home-list .appt-item:nth-child(3) { animation-delay: 80ms; }
.card-list > :nth-child(4), #home-list .appt-item:nth-child(4) { animation-delay: 120ms; }
.card-list > :nth-child(5), #home-list .appt-item:nth-child(5) { animation-delay: 160ms; }
.card-list > :nth-child(6), #home-list .appt-item:nth-child(6) { animation-delay: 200ms; }
.card-list > :nth-child(n+7), #home-list .appt-item:nth-child(n+7) { animation-delay: 240ms; }

@keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

/* Tap feel: buttons and cards press in slightly, like a phone app */
.count-tile,
.list-card,
.bottom-nav a {
    transition: transform 0.12s ease, box-shadow 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.count-tile:active,
.list-card:active,
.bottom-nav a:active {
    transform: scale(0.96);
}

/* "Reduce motion" switched on in the phone: everything stays still */
@media (prefers-reduced-motion: reduce) {
    .mascot,
    .mascot-spark,
    .mascot.is-asleep .mascot-figure,
    .empty-state,
    .card-list > *,
    #home-list .appt-item {
        animation: none;
    }

    .mascot-z {
        animation: none;
        opacity: 1;
    }

    .count-tile:active,
    .list-card:active,
    .bottom-nav a:active {
        transform: none;
    }
}
