﻿/* =========================================================
   THEME VARIABLES
   ========================================================= */
/* Tendabook (Steve, 2026-11-19; "Tendabook Brand Guide.pdf"): purple #4F4596 (buttons, links, the bar), dark purple
   #2E2760 (dark bands), gold #F2B705 only in the logo and tiny marks (the game-day dot; never text or backgrounds), the green Close button kept.
   --lt-brand-font = Space Grotesk for headings, titles, buttons and amounts only; body text, fields and tables keep the
   system font (it reads better small, and Space Grotesk has no Cyrillic, Greek, Arabic, Asian scripts: those
   languages fall back to the system font anyway). */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/space-grotesk-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/space-grotesk-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/space-grotesk-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
    --bs-primary: #4F4596;
    --bs-primary-rgb: 79,69,150;
    --bs-link-color: #4F4596;
    --bs-link-hover-color: #3F3778;
    --lt-brand-font: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, legend, .btn, .navbar-brand, .nav-link, .breadcrumb,
.lt-pay-card-title, .lt-card-title, .lt-pay-btn, .lt-pay-grand, .lt-pay-line-amount, .lt-row-amount, .lt-stat-value,
.lt-receipt-total, .lt-ticket-totals dd, .lt-pub-brand strong {
    font-family: var(--lt-brand-font);
}

/* =========================================================
   GLOBAL LINKS / BASICS
   ========================================================= */
/* Links styled as buttons (.btn) keep their button look. */
.align-items-start a:not(.btn) {
    color: var(--bs-link-color) !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: var(--lt-body-pt, 10px);
    padding-bottom: 20px;
}

.header-user-info {
    display: var(--lt-nav-header-display, block);
}

/* Wrapping element */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

hr {
    margin: 0;
}

.card-body p {
    min-height: 100px;
}

.red-text {
    color: var(--bs-red);
}

.success-text {
    color: var(--bs-green);
}

.green-text {
    color: green;
}

.purple-text {
    color: purple;
}

.tooltip-target {
    margin-left: 5px;
}

.mh-275 {
    max-height: 275px !important;
}

.h-150p {
    height: 150px !important;
}

.h-45p {
    height: 45px;
}

/* =========================================================
   CHECKBOX + "chk*" LABELS (legacy)
   NOTE: This is the most common source of Bootstrap drift.
   Keep the legacy behavior, but explicitly neutralize it
   inside .form-check (below).
   ========================================================= */
input[type='checkbox'] {
    vertical-align: bottom;
    position: relative;
    *overflow: hidden;
}

/* legacy: labels whose "for" starts with chk */
label[for^='chk'] {
    position: relative;
    left: 5px;
    top: 5px;
}

/* IMPORTANT: neutralize the legacy label shift inside Bootstrap form-check */
.form-check label[for^='chk'] {
    position: static !important;
    left: auto !important;
    top: auto !important;
}

/* =========================================================
   BOOTSTRAP COLOR OVERRIDES
   ========================================================= */
.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
}

.btn-primary {
    --bs-btn-bg: #4F4596;
    --bs-btn-border-color: #4F4596;
    --bs-btn-hover-bg: #3F3778;
    --bs-btn-border-color: #3F3778;
    --bs-btn-active-bg: #3F3778;
    --bs-btn-active-border-color: #3F3778;
    --bs-btn-disabled-bg: #4F4596;
    --bs-btn-disabled-border-color: #4F4596;
}

.btn-info {
    --bs-btn-color: #212529;
    --bs-btn-bg: #A9CF90;
    --bs-btn-border-color: #A9CF90;
    --bs-btn-hover-color: #212529;
    --bs-btn-hover-bg: #A2C489;
    --bs-btn-border-color: #A2C489;
    --bs-btn-active-color: #212529;
    --bs-btn-active-bg: #A2C489;
    --bs-btn-active-border-color: #A2C489;
    --bs-btn-disabled-color: #212529;
    --bs-btn-disabled-bg: #A9CF90;
    --bs-btn-disabled-border-color: #A9CF90;
}

/* =========================================================
   NAVBAR / DROPDOWN
   ========================================================= */
.navbar-dark {
    --bs-navbar-color: var(--bs-white);
    --bs-navbar-hover-color: #fff;
    --bs-navbar-active-color: #fff;
    --bs-navbar-brand-color: #fff;
    --bs-navbar-brand-hover-color: #fff;
    --bs-navbar-toggler-border-color: rgba(255, 255, 255);
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    --bs-navbar-toggler-focus-width: 0;
}

.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link {
    color: var(--bs-navbar-active-color);
}

.nav-link {
    margin: 0 15px;
    padding: 0 5px;
    color: var(--bs-white);
}

    .nav-link:focus,
    .nav-link:hover {
        color: var(--bs-nav-link-hover-color);
    }

/* Hover, keyboard focus, current page and open menu: white (4.67:1 on the purple bar) plus an underline */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible,
.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link {
    color: #fff;
    text-decoration: underline;
}

.navbar-nav .nav-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 var(--bs-navbar-toggler-focus-width);
}

.navbar-toggler:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.dropdown-menu {
    --bs-dropdown-bg: #4F4596;
    --bs-dropdown-border-color: #4F4596;
    --bs-dropdown-border-radius: 0;
    --bs-dropdown-border-width: 1px;
    background-color: var(--bs-dropdown-bg);
    border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
    border-radius: var(--bs-dropdown-border-radius);
}

    .dropdown-menu li {
        position: relative;
    }

    .dropdown-menu .dropdown-submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .dropdown-menu .dropdown-submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu > li:hover > .dropdown-submenu,
    .dropdown-menu > li:focus-within > .dropdown-submenu {
        display: block;
    }

    .dropdown-menu[data-bs-popper] {
        --bs-dropdown-spacer: 0.5rem;
        margin-top: var(--bs-dropdown-spacer);
    }

.dropdown-item {
    --bs-dropdown-link-color: #fff;
    color: var(--bs-dropdown-link-color);
    cursor: pointer !important;
}

    .dropdown-item:focus,
    .dropdown-item:hover {
        --bs-dropdown-link-hover-color: #212529;
        --bs-dropdown-link-hover-bg: #A9CF90;
        color: var(--bs-dropdown-link-hover-color);
        background-color: var(--bs-dropdown-link-hover-bg);
    }

/* =========================================================
   BREADCRUMB
   ========================================================= */
.breadcrumb {
    --bs-breadcrumb-item-color: #4F4596; /* Primary Purple */
    --bs-breadcrumb-divider-color: #212529; /* Default Blackish */
    --bs-breadcrumb-item-active-color: #212529; /* Default Blackish */
    --bs-breadcrumb-font-size: 0.875rem; /* 14px */
    font-size: var(--bs-breadcrumb-font-size);
}

    .breadcrumb a {
        text-decoration: none !important;
        color: var(--bs-breadcrumb-item-color) !important;
        cursor: pointer !important;
    }

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-breadcrumb-divider-color);
    content: var(--bs-breadcrumb-divider, ">");
}

.breadcrumb-item.active {
    color: var(--bs-breadcrumb-item-active-color);
}

.mt-2-label {
    margin-top: 0.125rem !important;
}

/* =========================================================
   DELETE / VIEW LINKS
   ========================================================= */
.btn-delete {
    color: #cc0000 !important;
    text-decoration: none;
    text-transform: uppercase;
}

    .btn-delete:hover {
        color: #0000EE;
        text-decoration: underline;
        text-transform: uppercase;
        cursor: pointer;
    }

.btn-view,
.grid-view {
    color: #1f55b8 !important;
    text-decoration: none;
    text-transform: none;
}

    .btn-view:hover,
    .grid-view:hover {
        text-decoration: underline;
        cursor: pointer;
    }

/* =========================================================
   TABS (Terminal Info page)
   ========================================================= */
.tab-link {
    color: #0a58ca;
    background-color: #fff;
    padding: 7px 24px;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    transition: background-color 0.3s;
    display: block;
}

    .tab-link:hover {
        background-color: rgba(240, 240, 240, 0.7);
        color: #333;
    }

    .tab-link.active {
        color: #333;
        background-color: #fff;
        text-decoration: none;
        border-top: 1px solid #ccc;
        border-right: 1px solid #ccc;
        border-left: 1px solid #ccc;
        border-radius: 4px 4px 0 0;
        padding-top: 11px;
        border-bottom: none;
        padding-bottom: 2px;
        position: relative;
    }

/* Removing color picker's default red-hue */
.custom-color-picker {
    background-color: white !important;
    border-color: rgba(51, 51, 51, 0.4);
}

/* =========================================================
   MEDIA RULES
   ========================================================= */
@media (min-width:1200px) {
    #dashboard .row-cols-md-2 .col {
        width: 450px;
    }
}

@media (min-width:768px) {
    #dashboard .row-cols-md-1 .col {
        width: 450px;
    }
}

/* Allows Serving Line screen to use the majority of viewable screen */
@media (min-width:576px) {
    .container, .container-sm {
        max-width: var(--lt-pos-container-width, 540px) !important
    }
}

@media (min-width:768px) {
    .container, .container-md, .container-sm {
        max-width: var(--lt-pos-container-width, 720px) !important
    }
}

@media (min-width:992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: var(--lt-pos-container-width, 960px) !important
    }
}

@media (min-width:1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: var(--lt-pos-container-width, 1140px) !important
    }
}

@media (min-width:1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: var(--lt-pos-container-width, 1320px) !important
    }
}

/* =========================================================
   TELERIK GRID
   ========================================================= */
/* Telerik Grid Header Settings */
.k-grid th.center-me {
    text-align: center;
}

th.center-me .k-cell-inner > .k-link {
    justify-content: center;
}

.k-grid td {
    color: #302e30;
}

/*.k-grid {
    border-left: none;
    border-right: none;
}*/

/* Telerik Grid header text */
.k-grid thead th,
.k-grid-header .k-header {
    color: #302e30;
}

/* Tighten Telerik Grid row height */
.k-grid tbody td {
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 1.15;
}

.k-grid.slim-row .k-table-tbody td {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

/* Telerik Grid Scrolling */
/*.telerik-grid-wrapper {
    max-height: 400px;
    overflow-y: auto !important;        
}*/

/* allow wrapper to handle scrolling */
/*.telerik-grid-wrapper .k-grid-content {
        overflow-y: visible !important;
    }*/

/* Disable scrolling on your outer wrapper entirely */
/* 1. Set the height constraint on the native grid content container */
/* Apply the constraint directly to the native content viewport */
.telerik-grid-wrapper .k-grid-content {
    max-height: 400px;
}

/* =========================================================
   MISC ALIGNMENT UTILITIES
   ========================================================= */
.checkbox-margin {
    margin-top: -10px;
}

.checkbox-offset-margin {
    margin-top: -7px;
}

.label-margin {
    margin-top: -15px;
}

/* =========================================================
   LT SPECIFIC ITEMS
   ========================================================= */
/* Heading */
.menu-section .menu-heading {
    color: #4F4596;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.1rem;
    line-height: 1.2;
}

/* Links */
.menu-section .menu-link {
    display: block;
    background: none;
    border: 0;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    color: #1f55b8;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.25;
    margin-top: 0;
    padding: 0.1rem 0;
    min-height: 24px;
}

    .menu-section .menu-link:hover {
        color: #1f55b8;
        text-decoration: underline;
    }

    .menu-section .menu-link:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: 2px;
    }

.menu-section {
    margin-bottom: 1rem;
}

.col-sm-6 .menu-section:last-child {
    margin-bottom: 0;
}

.link {
    color: var(--bs-link-color);
    text-decoration: underline;
    cursor: pointer;
}

    .link:hover {
        color: var(--bs-link-hover-color);
    }

/* LT Buttons */
.btn-ltclose {
    --bs-btn-color: #fff;
    --bs-btn-bg: #3f7a52;
    --bs-btn-border-color: #3f7a52;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #356a46;
    --bs-btn-hover-border-color: #356a46;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #2d5f3e;
    --bs-btn-active-border-color: #2d5f3e;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #6a9e79;
    --bs-btn-disabled-border-color: #6a9e79;
    font-weight: 600;
    letter-spacing: 0.02rem;
}

.btn-ltsave {
    --bs-btn-color: #fff;
    --bs-btn-bg: #4F4596;
    --bs-btn-border-color: #4F4596;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #3F3778;
    --bs-btn-hover-border-color: #3F3778;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #3F3778;
    --bs-btn-active-border-color: #3F3778;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #4F4596;
    --bs-btn-disabled-border-color: #4F4596;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-ltsecondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #5a6168;
    --bs-btn-border-color: #5a6168;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #4f565c;
    --bs-btn-hover-border-color: #4f565c;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #454b51;
    --bs-btn-active-border-color: #454b51;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #7a8086;
    --bs-btn-disabled-border-color: #7a8086;
    font-weight: 600;
    letter-spacing: 0.02rem;
}

/* File input styled like ltsecondary */
.lt-file-ltsecondary {
    border: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    font-size: 1rem;
}

    .lt-file-ltsecondary::file-selector-button {
        color: #fff;
        background-color: #5a6168;
        border: 1px solid #5a6168;
        padding: 0.25rem 0.75rem;
        margin-right: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.02rem;
        border-radius: 0.25rem;
        cursor: pointer;
    }

        .lt-file-ltsecondary::file-selector-button:hover {
            background-color: #4f565c;
            border-color: #4f565c;
        }

        .lt-file-ltsecondary::file-selector-button:active {
            background-color: #454b51;
            border-color: #454b51;
        }

    .lt-file-ltsecondary:disabled::file-selector-button {
        background-color: #7a8086;
        border-color: #7a8086;
        cursor: not-allowed;
    }

/* LT text styles - SYNCHRONIZED FOR VERTICAL ALIGNMENT */
/* Added :not(.k-widget):not(.k-input) to ensure Telerik components keep their internal flex layout */
.lt-data-label,
.lt-prompt,
.lt-entry-text:not(.k-widget):not(.k-input),
.lt-heading-label {
    font-size: 1rem;
    line-height: 1.3 !important;
    display: inline-block !important;
    vertical-align: top !important;
    padding-top: 2px !important;
    margin-bottom: 0 !important;
}

.lt-prompt {
    color: #4F4596;
    font-weight: normal;
}

.lt-prompt-link {
    color: #4F4596;
    font-weight: normal;
    text-decoration: underline;
    cursor: pointer;
}

    .lt-prompt-link:hover {
        color: #4F4596;
    }

.lt-data-label,
.lt-entry-text {
    color: #302e30;
    font-weight: normal;
}

/* Specific fix to ensure Telerik Numeric stays horizontal */
.lt-numeric-compact.k-numerictextbox,
.lt-numeric-compact.k-input {
    display: inline-flex !important;
    vertical-align: top !important;
}

.lt-heading-label {
    color: #302e30;
    font-weight: 600;
}

.lt-alert-label {
    color: darkgreen;
    font-weight: 600;
    font-size: 1rem;
    font-style: italic;
}

/* LT Breadcrumb */
.lt-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0.75rem 0;   /* space below the menu bar and above the page heading */
    font-size: 0.875rem;
}

.lt-breadcrumb-item {
    display: flex;
    align-items: center;
    color: #2f6de0;
}

    .lt-breadcrumb-item + .lt-breadcrumb-item::before {
        content: ">";
        margin: 0 0.5rem;
        color: #302e30;
    }

    .lt-breadcrumb-item a {
        color: #2f6de0;
        text-decoration: none;
        cursor: pointer;
    }

        .lt-breadcrumb-item a:hover {
            text-decoration: underline;
        }

    .lt-breadcrumb-item.active,
    .lt-breadcrumb-active {
        color: #302e30;
        cursor: default;
    }

        .lt-breadcrumb-item.active a {
            pointer-events: none;
            color: #302e30;
            text-decoration: none;
        }

/* LT Grid spacing wrapper */
.lt-grid-align {
    padding-left: 15px;
    padding-right: 15px;
}

/* Grid data font */
.lt-grid-data .k-grid tbody td {
    font-size: 1rem;
    color: #302e30;
}

/* Modal close suppression */
.report-modal .blazored-modal-close,
.report-modal .bm-close {
    display: none !important;
}

/* Disabled Controls - Prevent user interaction */
.lt-disabled {
    pointer-events: none;
    opacity: 0.6;
}

/* =========================================================
   LT INPUT COMPACT + WIDTH UTILITIES
   ========================================================= */

/* 1. Global Width Classes - Force them to be the primary authority */
.lt-numeric-20ch, .lt-width-20ch {
    width: 20ch !important;
    min-width: 20ch !important;
    max-width: 20ch !important;
}

.lt-width-30ch {
    width: 30ch !important;
    min-width: 30ch !important;
}

.lt-width-40ch {
    width: 40ch !important;
    min-width: 40ch !important;
}

.lt-width-50ch {
    width: 50ch !important;
    min-width: 50ch !important;
}

/* 2. Target Telerik Numeric specifically (handling hyphenated class names) */
.k-numerictextbox.lt-numeric-20ch,
.k-numeric-textbox.lt-numeric-20ch,
.lt-numeric-compact.lt-numeric-20ch,
.k-input.lt-numeric-20ch {
    width: 20ch !important;
    display: inline-flex !important;
    flex: 0 0 20ch !important; /* Forces Bootstrap flexbox to stop at 20ch */
}

/* 3. Ensure the inner wrapper and input also respect the 20ch */
.lt-numeric-20ch .k-input-inner,
.lt-numeric-20ch .k-numeric-wrap {
    width: 100% !important;
    max-width: 100% !important;
}

/* 4. Keep Numeric Compact logic for when NO specific width is provided (fills 100%) */
.lt-numeric-compact:not(.lt-numeric-20ch):not(.lt-width-20ch) {
    width: 100% !important;
    display: flex !important;
}

/* === Bootstrap-like styling for TelerikNumericTextBox === */
.lt-numeric-compact.k-numerictextbox,
.lt-numeric-compact.k-numeric-textbox,
.lt-numeric-compact.k-input {
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    background-color: #fff !important;
    height: 31px !important; /* Matching your compact select/date height */
    align-items: center !important;
}

.lt-numeric-compact .k-input-inner {
    padding: 0.25rem 0.5rem !important;
    line-height: 1.3 !important;
    font-size: 1rem;
    color: #302e30;
    height: 100% !important;
}

/* DatePicker wrapper sizing */
/* =========================================================
   TELERIK DATEPICKER COMPACT FIX (31px Height / 30ch Width)
   ========================================================= */

/* 1. The Main Wrapper Component */
.lt-datepicker.k-datepicker,
.lt-datepicker.k-date-picker,
.lt-datepicker .k-datepicker,
.lt-datepicker .k-date-picker {
    height: 31px !important;
    width: 20ch !important;
    display: inline-flex !important;
    align-items: stretch !important;
    padding: 0 !important;
    vertical-align: middle;
    flex: 0 0 auto !important;
}

/* 2. Target the text input area inside the picker */
.lt-datepicker .k-input-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 100% !important;
    line-height: 1.3 !important;
    display: flex;
    align-items: center;
    width: 100% !important; /* Fills the 30ch wrapper */
}

/* 3. Target the calendar icon button */
.lt-datepicker .k-input-button,
.lt-datepicker .k-picker-button {
    height: 100% !important;
    padding: 0 8px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 4. Ensure the outer container doesn't force a weird width */
.lt-datepicker {
    display: inline-block !important;
    width: auto !important;
    vertical-align: top;
}

/* =========================================================
   TELERIK DATEPICKER COMPACT FIX (31px Height / 30ch Width)
   ========================================================= */

/* 1. The Main Wrapper Component */
.lt-datepicker-wide.k-datepicker,
.lt-datepicker-wide.k-date-picker,
.lt-datepicker-wide .k-datepicker,
.lt-datepicker-wide .k-date-picker {
    height: 31px !important;
    width: 30ch !important;
    display: inline-flex !important;
    align-items: stretch !important;
    padding: 0 !important;
    vertical-align: middle;
    flex: 0 0 auto !important;
}

/* 2. Target the text input area inside the picker */
.lt-datepicker-wide .k-input-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 100% !important;
    line-height: 1.3 !important;
    display: flex;
    align-items: center;
    width: 100% !important; /* Fills the 30ch wrapper */
}

/* 3. Target the calendar icon button */
.lt-datepicker-wide .k-input-button,
.lt-datepicker-wide .k-picker-button {
    height: 100% !important;
    padding: 0 8px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 4. Ensure the outer container doesn't force a weird width */
.lt-datepicker-wide {
    display: inline-block !important;
    width: auto !important;
    vertical-align: top;
}


/* =========================================================
   TELERIK TIMEPICKER COMPACT FIX
   ========================================================= */

.lt-timepicker.k-timepicker {
    height: 31px !important;
    width: 20ch !important;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    vertical-align: middle;
}

/* Main input wrapper */
.lt-timepicker .k-input-inner-wrapper {
    display: flex !important;
    flex: 1 1 auto;
    min-width: 0;
}

/* Text input */
.lt-timepicker .k-input-inner {
    height: 100% !important;
    line-height: 31px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: block !important;
}

/* Clock button */
.lt-timepicker .k-input-button,
.lt-timepicker .k-picker-button {
    flex: 0 0 31px !important;
    width: 31px !important;
    height: 31px !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/* NumericTextBox compact */
.lt-numeric-compact .k-input-inner {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    line-height: 1.3;
    font-size: 1rem;
    color: #302e30;
}

.lt-numeric-compact .k-input,
.lt-numeric-compact .k-numerictextbox {
    align-items: center;
}

/* Explicit width utilities */
.lt-width-20ch,
.lt-width-30ch,
.lt-width-40ch,
.lt-width-50ch,
.lt-width-100ch {
    display: inline-block !important;
    flex: 0 0 auto !important;
}

.lt-width-20ch {
    width: 20ch !important;
}

.lt-width-30ch {
    width: 30ch !important;
}

.lt-width-40ch {
    width: 40ch !important;
}

.lt-width-50ch {
    width: 50ch !important;
}

.lt-width-100ch {
    width: 100ch !important;
}

/* Numeric 20ch helper (covers different Telerik markup cases) */
.lt-numeric-20ch {
    display: inline-block;
}

    .lt-numeric-20ch .k-numerictextbox,
    .lt-numeric-20ch .k-input,
    .lt-numeric-20ch .k-input-inner {
        width: 20ch !important;
    }

    .lt-numeric-20ch .k-input-spinner,
    .lt-numeric-20ch .k-spinner {
        flex: 0 0 auto;
    }

.k-numerictextbox.lt-numeric-20ch,
.k-input.lt-numeric-20ch {
    width: 20ch !important;
    display: inline-flex !important;
}

    .k-numerictextbox.lt-numeric-20ch .k-input-inner,
    .lt-numeric-20ch .k-input-inner {
        width: 100% !important;
        box-sizing: border-box;
    }

/* Tiny checkbox vertical tweak (optional) */
.lt-check-align {
    position: relative;
    top: 1px;
}

/* =========================================================
   LT FORM NORMALIZATION (single merged system)
   ========================================================= */
/* Bootstrap col-form-label adds top padding; normalize it for LT prompt labels */
label.col-form-label.lt-prompt {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.3;
}

/* form-control-plaintext padding removal for alignment */
.form-control-plaintext.lt-data-label {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Readonly / display text alignment */
.lt-data-label {
    line-height: 1.3;
    display: inline-flex;
    align-items: center;
}

/* consistent form-group spacing */
.form-group {
    margin-bottom: 0.5rem;
}

    .form-group.align-items-center {
        min-height: 2rem;
    }

.form-check {
    margin-bottom: 0;
}

/* === LT Form Row System ====================================== */
.lt-form-row {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start !important; /* Lock to top */
}

    /* left label column */
    .lt-form-row .lt-form-label {
        padding-top: 2px !important; /* Precise nudge to match the right side text */
        margin-bottom: 0 !important;
        line-height: 1.3;
        display: block !important;
        position: static !important; /* Kill legacy top/left */
    }

    /* right content column wrapper */
    .lt-form-row .lt-form-field {
        display: flex;
        align-items: center;
        min-height: 2rem;
    }

    /* for multi-line content */
    .lt-form-row .lt-form-field-top {
        display: block;
        min-height: 0;
    }

    /* normalize readonly/value text */
    .lt-form-row .lt-form-value {
        line-height: 1.3;
    }

    /* kill bootstrap form-check indentation when inside your aligned grid */
    .lt-form-row .form-check {
        margin: 0;
        padding-left: 0;
    }

    .lt-form-row .form-check-input {
        margin: 0;
    }

    /* optional: right align labels when .text-end is used */
    .lt-form-row .lt-form-label.text-end {
        text-align: right;
    }

/* shared checkbox/radio row alignment */
.lt-check-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding-left: 0;
}

    .lt-check-row .form-check-input {
        margin-top: 0;
    }

/* =========================================================
   LT multi-line form rows (radio groups, stacked content)
   ========================================================= */

/* Default LT rows stay vertically centered */
.lt-form-row {
    align-items: center;
}

/* Rows that contain multi-line right-side content */
.lt-form-row-top {
    align-items: flex-start !important; /* overrides lt-form-row */
}

    /* Top-align the label to the first entry on the right */
    .lt-form-row-top .lt-form-label {
        align-items: flex-start !important;
        padding-top: 0.25rem; /* visual alignment with first radio */
    }

/* Tighter vertical spacing for stacked checkbox rows */
.lt-form-row-tight {
    margin-bottom: 0.15rem !important;
}

/* =========================================================
   Tight stacked checkbox groups
   ========================================================= */

/* Reduce vertical spacing between stacked rows */
.lt-form-row-tight {
    margin-bottom: 0.15rem !important; /* tighten row gap */
}

    /* Remove the "stabilizer" height used for normal single-line form rows */
    .lt-form-row-tight .lt-form-field {
        min-height: 0 !important; /* THIS is the real fix */
    }

    /* Also remove any Bootstrap form-check spacing */
    .lt-form-row-tight .form-check {
        margin-bottom: 0 !important;
    }

    /* Optional: slightly tighter gap between checkbox and label */
    .lt-form-row-tight .lt-check-row {
        gap: 0.35rem; /* default is 0.5rem */
    }

/* optional: right align labels when .text-end is used */
.lt-form-row .lt-form-label.text-end {
    text-align: right;
}

.lt-form-row .lt-form-label.text-end {
    justify-content: flex-end; /* THIS makes the text move right */
    text-align: right; /* harmless, keeps semantics */
}

/* Force underline hover for your "link-style" actions inside Telerik Grid */
.k-grid .btn-view,
.k-grid .btn-delete,
.k-grid .grid-view {
    text-decoration: none !important;
}

    .k-grid .btn-view:hover,
    .k-grid .btn-delete:hover,
    .k-grid .grid-view:hover {
        text-decoration: underline !important;
    }

/* make numeric control fill container like form-control */
.lt-numeric-compact .k-numerictextbox,
.lt-numeric-compact .k-input {
    width: 100% !important;
}

/* === Bootstrap-like styling for TelerikNumericTextBox when wrapped with .lt-numeric-compact === */
.lt-numeric-compact.k-numerictextbox,
.lt-numeric-compact .k-numerictextbox,
.lt-numeric-compact.k-input,
.lt-numeric-compact .k-input {
    width: 100% !important;
}

/* the actual input */
.lt-numeric-compact .k-input-inner {
    padding: 0.25rem 0.5rem !important; /* match your lt-input-compact feel */
    line-height: 1.3 !important;
    font-size: 1rem;
    color: #302e30;
}

/* border/background to match .form-control */
.lt-numeric-compact.k-numerictextbox,
.lt-numeric-compact .k-numerictextbox,
.lt-numeric-compact.k-input,
.lt-numeric-compact .k-input {
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    background-color: #fff !important;
    box-shadow: none !important;
}

    /* optional: match focus ring behavior */
    .lt-numeric-compact.k-numerictextbox:focus-within,
    .lt-numeric-compact .k-numerictextbox:focus-within,
    .lt-numeric-compact.k-input:focus-within,
    .lt-numeric-compact .k-input:focus-within {
        border-color: #3F3778 !important;
        box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25) !important;
    }

/* Label used when label is ABOVE a control */
.lt-stacked-label {
    display: block !important;
    position: static !important; /* Kills the style="top: 0" inline requirement */
    margin-bottom: 2px !important;
    line-height: 1.3;
}

/* Specific fix for checkbox labels that start with 'chk' 
   to override your global label[for^='chk'] rule */
label.lt-stacked-label[for^='chk'] {
    left: 0 !important;
    top: 0 !important;
    position: relative; /* Overrides the legacy relative position */
}

/* Ensure stacked-field columns truly start at the top */
.lt-form-field-top {
    padding-top: 0 !important;
}

    /* Force stacked labels to sit at the exact top */
    .lt-form-field-top > label.lt-stacked-label {
        margin-top: 0 !important;
        padding-top: 0 !important;
        line-height: 1.3;
        position: relative;
        top: -1px; /* <-- adjust: try -1px, then -2px if needed */
    }

    .lt-form-field-top .form-check-input {
        margin-top: -6px !important; /* Pulls the checkbox up closer to the static label */
        display: block; /* Ensures it honors the margin-top correctly */
    }

.lt-nudge-up {
    margin-top: -10px !important;
}

.lt-date-stacked {
    align-self: flex-start !important;
}

/* --- 1. STACKED FIELD LOGIC (Label Top, Checkbox Bottom) --- */

.lt-form-field-top {
    padding-top: 0 !important;
}

/* Specific fix for checkbox labels that start with 'chk' */
label.lt-stacked-label,
label.lt-stacked-label[for^='chk'] {
    display: block !important;
    position: static !important; /* Neutralizes the legacy drift */
    left: 0 !important;
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 2px !important; /* Visual gap between label and box */
    line-height: 1.3;
}

/* The "Prior Year" Checkbox Fix */
/* Targets checkboxes directly under a label in a stacked field */
.lt-form-field-top > .form-check-input {
    margin: 0 !important;
    margin-top: 4px !important; /* Matches your 'perfect' inline style */
    display: block !important;
    position: static !important;
}

/* --- 2. UNIVERSAL HORIZONTAL CONTAINER (Scenario A & B) --- */

.lt-checkbox-container {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px;
    padding-top: 2px !important;
}

    .lt-checkbox-container label,
    .lt-checkbox-container label.lt-data-label {
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.3 !important;
        cursor: pointer;
        display: inline-block;
    }

        .lt-checkbox-container label[disabled] {
            cursor: default !important;
        }

    .lt-checkbox-container .form-check-input {
        margin: 0 !important;
        margin-top: 3px !important; /* Goldilocks for [Box] [Label] */
        flex-shrink: 0;
        position: static !important;
    }

    /* Ethnicity Fix: [Label] [Box] */
    .lt-checkbox-container label + .form-check-input {
        margin-top: 2px !important;
    }

/* --- 3. UTILITY & LEGACY NEUTRALIZERS --- */

.lt-nudge-up {
    margin-top: -10px !important;
}

.lt-date-stacked {
    align-self: flex-start !important;
}

/* Disarm legacy nudge classes to prevent them from breaking the logic above */
.lt-checkbox-nudge,
.d-flex.flex-wrap .lt-checkbox-nudge,
.lt-checkbox-container label + .lt-checkbox-nudge {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Ensure the left-side label is clean */
.lt-label-aligned {
    margin-bottom: 0 !important;
    display: block !important;
    width: 100%;
}

/* Specialized Radio Row to stop the margin-hacking */
.lt-radio-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2px; /* Tight vertical spacing */
}

    /* The Label part of the radio row */
    .lt-radio-row .lt-radio-label {
        width: 50%; /* Takes up the left half */
        text-align: right;
        padding-right: 12px; /* Space between text and radio dot */
        color: #302e30;
    }

    /* The Input part */
    .lt-radio-row .form-check-input {
        margin: 0 !important; /* Reset all bootstrap/legacy margins */
        flex-shrink: 0;
        cursor: pointer;
    }

/* --- Tighten and align radio button grid rows --- */
.lt-grid-row.align-items-center {
    display: flex !important;
    align-items: center !important; /* Centers radio circle with text baseline */
    margin-left: -5px !important;
    margin-right: -5px !important;
    margin-bottom: 2px !important;
    min-height: 24px; /* Matches the vertical feel of compact inputs */
}

.lt-grid-row > [class^="col-"] {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.lt-grid-row .lt-data-label {
    white-space: nowrap !important; /* Forces "Medicaid" to stay on one line */
    cursor: pointer;
    line-height: 1;
}

.lt-grid-row .form-check-input {
    margin-top: 0 !important;
    transform: translateY(-0.8px); /* Nudges it UP by half a pixel */
    cursor: pointer;
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
}

/* =========================================================
   COMPACT SELECT (31px Height)
   ========================================================= */

/* 1. Standard HTML Select */
select.lt-select-compact,
.lt-select-compact.form-select {
    height: 31px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 31px !important;
    font-size: 1rem;
    display: inline-block;
    vertical-align: middle;
}

/* 2. Telerik DropDownList / Select wrapper */
.lt-select-compact.k-dropdownlist,
.lt-select-compact.k-dropdown,
.lt-select-compact .k-dropdownlist,
.lt-select-compact .k-dropdown {
    height: 31px !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* 3. Telerik Inner Text Alignment */
.lt-select-compact .k-input-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 100% !important;
    display: flex;
    align-items: center;
}

/* 4. Telerik Button/Arrow Alignment */
.lt-select-compact .k-input-button {
    height: 100% !important;
}

/* Align button to the baseline of a labeled input */
.lt-btn-bottom-align {
    margin-top: 23px !important; /* This is the height of your label + its margin */
    height: 31px !important; /* Matches your compact input height */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: inline-block; /* Prevents the button from stretching to 100% width */
    width: auto; /* Keeps button size based on text */
    vertical-align: bottom;
}

/* Tight baseline alignment with compact vertical spacing */
.lt-check-row {
    display: flex !important;
    align-items: flex-end !important;
    gap: 8px;
    min-height: 20px; /* Reduced from 24px to pull entries closer */
    margin-bottom: 1px !important; /* Tightens the gap between rows */
    padding-top: 2px;
}

    .lt-check-row .form-check-input {
        margin-bottom: 2.5px !important; /* Dropped from 3px to bring it down slightly */
        margin-top: 0 !important;
        transform: none !important;
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    .lt-check-row .lt-data-label {
        margin-bottom: 1.5px !important; /* Raised from 1px to bring it up slightly */
        line-height: 1.1 !important;
        cursor: pointer;
    }


/* =========================================
   NAVBAR DROPDOWN OPEN ON HOVER (Desktop)
   ========================================= */

@media (min-width: 992px) { /* Only desktop (lg breakpoint) */

    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0; /* prevents jump */
    }

    .navbar .dropdown > .dropdown-toggle:active {
        pointer-events: none; /* prevents click override */
    }
}

/* Telerik UI for Blazor updates */
/* =========================================================
   RESTORE OLD GRID SPACING (post-upgrade fix)
   ========================================================= */

/* Restore LEFT/RIGHT padding (this fixes the “glued” text) */
.k-grid .k-table td,
.k-grid .k-table th {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

/* Fine-tune row height (slightly smaller than before) */
.k-grid .k-table-tbody td {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    line-height: 1.25 !important;
}

/* Header spacing (not too tall, not cramped) */
.k-grid .k-table-th {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* Ensure checkbox column has width */
.k-grid .k-selection-cell {
    width: 40px !important;
    min-width: 40px !important;
}

    /* Center checkbox properly */
    .k-grid .k-selection-cell .k-checkbox-wrap {
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

/* Make sure checkbox is visible */
.k-grid .k-checkbox {
    opacity: 1 !important;
    visibility: visible !important;
}

.no-window-frame .k-window-titlebar {
    display: none !important;
}

.no-window-frame .k-window {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.lt-report-window .k-window-titlebar {
    display: none !important;
}

.trv-report-page {
    margin: 0 auto !important;
}

.page-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white; /* or match your theme */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   TELERIK TIMEPICKER COMPACT FIX
   ========================================================= */

.lt-timepicker.k-timepicker,
.lt-timepicker.k-time-picker,
.lt-timepicker .k-timepicker,
.lt-timepicker .k-time-picker {
    height: 31px !important;
    width: 20ch !important;
    display: inline-flex !important;
    align-items: stretch !important;
    padding: 0 !important;
    vertical-align: middle;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

.lt-timepicker .k-input-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 100% !important;
    line-height: 1.3 !important;
    display: flex;
    align-items: center;
    width: 100% !important;
    white-space: nowrap !important;
}

.lt-timepicker .k-input-button,
.lt-timepicker .k-picker-button {
    height: 100% !important;
    padding: 0 8px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0 !important;
}

.lt-window-content {
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 16px;
    padding-right: 16px;
}

/* =========================================================
   LT DISABLED INPUT (matches Bootstrap disabled controls) -- Telerik Numeric Text boxes
   ========================================================= */

.lt-disabled-input.k-disabled,
.lt-disabled-input.k-disabled .k-input-inner,
.lt-disabled-input.k-disabled input,
.lt-disabled-input.k-disabled .k-input-value-text {
    background-color: #e9ecef !important;
    border-color: #ced4da !important;
    color: #495057 !important;
    opacity: 1 !important;
}

/* =========================================================
   GAP SPACING
   ========================================================= */
.gap-5p {
    gap: 5px !important;
}

.gap-10p {
    gap: 10px !important;
}

.gap-25p {
    gap: 25px !important;
}

/* =========================================================
   POINT OF SALE BUTTONS
   ========================================================= */
.btn-active-tab, .btn-active-tab:hover {
    background-color: purple;
    color: white;
}

.btn-inactive-tab, .btn-inactive-tab:hover {
    background-color: orange;
    color: black;
}

button.btn-pospatron {
    height: 40px;
    width: 100px;
}

.btn-pos, .btn-pos:hover {
    font-weight: bold;
    border: lightgray 1px solid;
}

.btn-pos, .btn-tab, .btn-item {
    padding-left: 0;
    padding-right: 0;
}

    .btn-pos:hover, .btn-tab:hover, .btn-item:hover {
        opacity: 0.75;
    }

.btn-posblack, .btn-posblack:hover {
    background-color: black;
    color: white;
}

.btn-posblue, .btn-posblue:hover {
    background-color: blue;
    color: white;
}

.btn-posdarkgray, .btn-posdarkgray:hover {
    background-color: darkgray;
    color: black;
}

.btn-posdodger, .btn-posdodger:hover {
    background-color: dodgerblue;
    color: black;
}

.btn-posgreen, .btn-posgreen:hover {
    background-color: green;
    color: white;
}

.btn-posgreenyellow, .btn-posgreenyellow:hover {
    background-color: greenyellow;
    color: black;
}

.btn-posnavy, .btn-posnavy:hover {
    background-color: navy;
    color: white;
}

.btn-posorange, .btn-posorange:hover {
    background-color: orange;
    color: black;
}

.btn-pospalegreen, .btn-pospalegreen:hover {
    background-color: palegreen;
    color: black;
}

.btn-pospeach, .btn-pospeach:hover {
    background-color: peachpuff;
    color: black;
}

.btn-pospink, .btn-pospink:hover {
    background-color: pink;
    color: black;
}

.btn-pospurple, .btn-pospurple:hover {
    background-color: purple;
    color: white;
    --bs-btn-disabled-color: white;
    --bs-btn-bg: purple;
    --bs-btn-border-color: purple;
    --bs-btn-hover-bg: #3F3778;
    --bs-btn-border-color: purple;
    --bs-btn-active-bg: #3F3778;
    --bs-btn-active-border-color: #3F3778;
    --bs-btn-disabled-bg: purple;
    --bs-btn-disabled-border-color: purple;
}

.btn-posred, .btn-posred:hover {
    background-color: red;
    color: black;
}

/* =========================================================
   NEEDS SORTED
   ========================================================= */
.k-numerictextbox.text-end input {
    text-align: right !important;
}

.k-numerictextbox.text-center input {
    text-align: center !important;
}

.k-numerictextbox.p-0 input {
    padding: 0 !important;
}

.pe-20p {
    padding-right: 20px !important;
}

.c-navy {
    color: navy;
}

.list-item-row > * {
    width: calc(var(--lt-row-width, 100%) / var(--row-item-count));
}

.hidden {
    visibility: hidden;
}

button.hidden {
    pointer-events: none;
    cursor: default;
}

.lt-collapsible-content-head {
    display: flex;
    align-items: center;
    margin-bottom: .25rem;
    gap: .25rem;
    cursor: pointer;
}

    .lt-collapsible-content-head .lt-collapsible-content-title {
        margin-bottom: 0 !important;
    }

    .lt-collapsible-content-head .lt-collapsible-content-arrow {
        font-size: 12px;
    }

.lt-loading-window.k-window {
    z-index: 100000 !important;
}

/* ADA Compliance */
h1[tabindex="-1"]:focus {
    outline: none;
}

main[tabindex="-1"]:focus {
    outline: none;
}

#blazor-error-ui .dismiss {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    cursor: pointer;
}


/* Grid/row action links that were <a @onclick> and are now <button> */
button.btn-view,
button.btn-delete,
button.grid-view,
button.lt-icon-btn {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

/* Icon-only buttons (move up / move down arrows) */
button.lt-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
}

/* Visible keyboard focus for all of the above */
.btn-view:focus-visible,
.btn-delete:focus-visible,
.grid-view:focus-visible,
.lt-icon-btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Tab strip buttons (Terminal Info and similar pages) */
button.tab-link {
    border: 0;
    border-bottom: 1px solid #ccc;
    font: inherit;
    cursor: pointer;
}

.tab-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -2px;
}
/* END ADA Compliance */

/* =========================================================
   END
   ========================================================= */

/* =========================================================
   ONLINE FREE/REDUCED ADDITIONS
   (styles that were inline in LunchTime components, plus parent-site needs)
   ========================================================= */

/* Text-style button (Log Out in the header) */
button.link {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
}

    button.link:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: 2px;
    }

/* Dialogs (ConfirmPrompt / InformationPrompt) */
.lt-dialog-body {
    padding: 25px 30px;
}

.lt-dialog-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 0.5rem;
}

/* Windows without a visible title keep it for screen readers */
.lt-window-untitled .k-window-titlebar {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

/* Loading overlay */
.lt-loading-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 69, 150, 0.15);
    backdrop-filter: blur(2px);
    z-index: 99999;
}

.lt-spinner {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
    color: #4F4596;
}

/* Unhandled error notice (shown by Blazor) */
#blazor-error-ui {
    display: none;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    padding: 0.6rem 2.5rem 0.7rem 1.25rem;
    background: lightyellow;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        position: absolute;
        top: 0.5rem;
        inset-inline-end: 0.75rem;
    }

/* Footer spacing (replaces the stacked <br> tags in the old master pages) */
.lt-footer {
    margin-top: 3rem;
    padding-bottom: 1rem;
}

/* On phones the signed-in line sits above the logo instead of floating beside it */
@media (max-width: 575.98px) {
    .lt-signed-in {
        float: none !important;
        margin-bottom: 0.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lt-loading-overlay {
        backdrop-filter: none;
    }

    .spinner-border {
        animation-duration: 2s;
    }
}

/* Forms: required marker, error summary */
.lt-required {
    color: #b00020;
}

.lt-error-summary:focus {
    outline: 3px solid #842029;
    outline-offset: 2px;
}

.lt-error-summary a {
    color: #842029;
    text-decoration: underline;
}

/* Account pages: centered card (login, codes) */
.lt-account-card {
    max-width: 30rem;
    margin: 0 auto 1.5rem;
}

.lt-account-card .card-header h1 {
    margin: 0;
}

.lt-code-input {
    font-size: 1.5rem;
    letter-spacing: 0.3em;
    max-width: 12ch;
}

.lt-language-picker {
    max-width: 26rem;
    text-align: start;
}

.lt-qr-code {
    max-width: 100%;
    image-rendering: pixelated;
    border: 8px solid #fff;
}

.lt-setup-code {
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    overflow-wrap: anywhere;
}

/* Parent portal home: links with descriptions */
.lt-portal-links h2 a {
    text-decoration: underline;
}

.lt-table th[scope="row"] {
    font-weight: normal;
}

.lt-empty img {
    vertical-align: -2px;
}

/* Application status text (the words are always shown; color is only a hint) */
.lt-status-good {
    color: #146c2e;
    font-weight: 600;
}

.lt-status-bad {
    color: #b00020;
    font-weight: 600;
}

/* Eligibility letter */
.lt-letter {
    max-width: 50rem;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #212529;
}

.lt-letter-image {
    max-width: 100%;
    height: auto;
}

@media print {
    header, nav, footer, .navbar, .visually-hidden-focusable {
        display: none !important;
    }

    .lt-letter {
        border: 0;
        padding: 0;
        max-width: none;
    }
}

/* Groups of related checkboxes / radios */
.lt-fieldset {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
}

.lt-fieldset legend {
    float: none;
    width: auto;
    padding: 0 0.25rem;
    margin-bottom: 0.25rem;
}

/* Read-only review (application summary) */
.lt-summary dt {
    font-weight: 600;
}

.lt-summary dd {
    margin-bottom: 0.5rem;
}

/* Long policy text stored with line breaks */
.lt-preserve-lines {
    white-space: pre-line;
}

/* === Form fields with more than one item ===================================
   .lt-form-field lays its content out in a row (label-height alignment for a single input). When a field holds
   more than one item - a hint above the input, an error under it, or a group of radio buttons / checkboxes -
   stack them instead, so hints sit above their box and each option is on its own line. */
.lt-form-row .lt-form-field:has(> :nth-child(2)) {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

    .lt-form-row .lt-form-field:has(> :nth-child(2)) > .form-control,
    .lt-form-row .lt-form-field:has(> :nth-child(2)) > .form-select {
        align-self: stretch;
    }

    .lt-form-row .lt-form-field:has(> :nth-child(2)) > .form-text {
        margin: 0;
    }

/* Checkbox / radio with its label: a small gap between them, and any hint on its own line under the label. */
.lt-form-row .form-check {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 0.5rem;
}

    .lt-form-row .form-check .form-check-input {
        float: none;
        flex-shrink: 0;
    }

    .lt-form-row .form-check .form-text {
        flex-basis: 100%;
        margin: 0.1rem 0 0 1.5rem;
    }

/* Landing page: keeps the email notice to a comfortable line length, centred. */
.lt-measure {
    max-width: 70ch;
}

/* Remove links everywhere (parent tables, admin grids): red so they stand out from the other links
   (contrast 7:1 on white and on striped rows). !important because the LunchTime grid link styles
   (.btn-view / .grid-view) force their blue with !important. */
.lt-link-remove,
.btn-link.lt-link-remove,
.btn-view.lt-link-remove,
.grid-view.lt-link-remove,
.k-grid .lt-link-remove {
    color: #b00020 !important;
}

    .lt-link-remove:hover,
    .lt-link-remove:focus,
    .btn-link.lt-link-remove:hover,
    .btn-link.lt-link-remove:focus,
    .btn-view.lt-link-remove:hover,
    .btn-view.lt-link-remove:focus,
    .grid-view.lt-link-remove:hover,
    .grid-view.lt-link-remove:focus,
    .k-grid .lt-link-remove:hover,
    .k-grid .lt-link-remove:focus {
        color: #7f0017 !important;
    }

/* Income guideline tables (Free / Reduced / Alternate): same fixed column widths in every table so they line up
   top to bottom, and the five amount columns share the space evenly. */
.lt-guideline-table {
    table-layout: fixed;
    width: 100%;
    min-width: 46rem;   /* below this the wrapper scrolls sideways instead of squeezing the amounts */
}

    .lt-guideline-table .lt-guideline-size {
        width: 16%;
    }

    .lt-guideline-table .lt-guideline-amount {
        width: 16.8%;
    }

/* Meal Orders (parent pre-order) */
.lt-meal-week { min-width: 760px; table-layout: fixed; border-collapse: separate; border-spacing: 6px; }
.lt-meal-week th[scope="row"] { width: 110px; vertical-align: top; }
.lt-meal-week td { vertical-align: top; border-radius: 8px; padding: 8px; height: 110px; }
.lt-cell-ordered { background: #e7e5f6; border: 1px solid #4b4593; }
.lt-cell-pending { background: #fff3e0; border: 1px solid #b45309; }
.lt-cell-open { background: #ffffff; border: 1px dashed #6b6880; }
.lt-cell-closed { background: #eceef1; border: 1px solid #9aa0aa; }
.lt-cell-none { background: #f3f3f6; border: 1px solid #dddbe8; color: #4a4858; }
.lt-pending-bar { position: sticky; bottom: 0; z-index: 20; margin-top: 1.5rem; background: #1f1d2b; color: #fff;
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: .75rem;
    align-items: center; justify-content: space-between; border-radius: 8px 8px 0 0; }
.lt-panel-backdrop { position: fixed; inset: 0; z-index: 1050; background: rgba(31, 29, 43, .6); display: flex;
    align-items: flex-start; justify-content: center; overflow-y: auto; padding: 1.5rem .75rem; }
.lt-panel { background: #fff; border-radius: 12px; width: 100%; max-width: 600px; }
/* Meal Orders: the open order panel sits above the loading panel (which hides the page behind it). */
.lt-panel-backdrop.lt-panel-front { z-index: 100001; background: transparent; }
/* A question asked over a page popup (ltDialogs in site.js) gets its own loading panel over the popup, as everywhere
   else; that second panel is invisible otherwise (a question over the page already has the page's panel). */
.lt-loading-window.lt-loading-second { visibility: hidden; }
body.lt-dialog-over-panel .lt-loading-window.lt-loading-second { visibility: visible; }
body.lt-dialog-over-panel .lt-panel-backdrop.lt-panel-front { pointer-events: none; }/* A popup centered on the screen (admin Options & Prices); one taller than the screen starts at the top and scrolls. */
.lt-panel-backdrop.lt-panel-centered { align-items: safe center; }
.lt-stepper { width: 44px; height: 44px; font-size: 1.25rem; padding: 0; }
.lt-qty { min-width: 2rem; text-align: center; font-weight: 700; font-size: 1.1rem; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .lt-panel { background: var(--bs-body-bg, #212529); }
    :root:not([data-theme="light"]) .lt-cell-ordered, :root:not([data-theme="light"]) .lt-cell-pending,
    :root:not([data-theme="light"]) .lt-cell-open, :root:not([data-theme="light"]) .lt-cell-closed { color: #1f1d2b; }
}

/* Page layout (site-wide): space below the menu, one smaller page title, smaller section headings. */
#main-content { padding-top: .5rem; }   /* with the breadcrumb's own top margin: about 1rem below the menu bar */
#main-content h1 { font-size: 1.375rem; font-weight: 600; margin-bottom: .75rem; }
#main-content h2 { font-size: 1.125rem; font-weight: 600; }
#main-content h3 { font-size: 1rem; font-weight: 600; }
#main-content .lt-account-card h1 { font-size: 1.25rem; }
/* Primary actions sit on the right (as in LunchTime and Online Free/Reduced). */
.lt-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; margin-bottom: 1rem; }

/* Money amounts (up to 9999.99) don't need a full-width box. */
.lt-amount-input { max-width: 10rem; }

/* Links in tables that remove an entry (Remove, Delete) are red. */
button.link.lt-link-remove, a.lt-link-remove { color: #b42318; }
button.link.lt-link-remove:hover, a.lt-link-remove:hover { color: #7a1a12; }

/* Parent menu: Account disclosure menu (Blazor-controlled, no Bootstrap dropdown script). */
.navbar-nav .dropdown-toggle.btn-link { text-decoration: none; border: 0; }
.navbar-nav .dropdown-menu .dropdown-item { padding-top: .5rem; padding-bottom: .5rem; }
@media (max-width: 991.98px) { .navbar-nav .dropdown-menu { position: static; } }
/* The parent menu's ticket and cart symbols: always in the bar. On a phone the menu button stays on the left, the
   symbols sit at the right and the opened menu drops below both (Steve, 2026-11-24). */
.navbar .lt-nav-icons { flex-direction: row; align-items: center; }
@media (max-width: 991.98px) {
    .navbar .lt-nav-icons { margin-inline-start: auto; gap: 18px; order: 2; }
    .navbar .navbar-collapse { order: 3; }
}

/* Tendabook logo (Shared/SppLogo.razor): the brand's horizontal logo file, never retyped (brand guide). The file has
   its clear space built in. Minimum 120px wide (brand guide); below that the icon alone (.spp-logo-icon). */
#logo { padding: .5rem 0; }
.spp-logo-link { display: inline-block; text-decoration: none; border-radius: 8px; }
.spp-logo-link:focus-visible { outline: 3px solid var(--bs-primary); outline-offset: 4px; }
.spp-logo { display: inline-flex; align-items: center; }
.spp-logo img { display: block; }
.spp-logo-full { height: 64px; width: auto; }
.spp-logo-icon { display: none !important; height: 48px; width: 48px; }
@media (max-width: 575.98px) {
    .spp-logo-full { height: 52px; }
}

/* Zip / postal code box: about 15 characters. */
.lt-zip-input { max-width: 15ch; }


/* Printing: the loading panel (and any pop-up) shown on screen while the print dialog is open stays out of the printout. */
@media print {
    .k-window, .k-overlay, .k-animation-container, .lt-loading-window, .lt-panel-backdrop { display: none !important; }
}

/* Every button uses the same semibold text as Close and Save (link-style buttons, like the menu's My Account, are
   left as text links). */
.btn:not(.btn-link) { font-weight: 600; }

/* Admin menus: long lists scroll inside the menu instead of running off the screen. */
.lt-admin-menu { max-height: 70vh; overflow-y: auto; }
.lt-admin-links a { display: inline-block; padding: .35rem 0; }

/* ---------------------------------------------------------------- Report viewer window (TelerikReportWindow) */
/* Same as LunchTime's TelerikReportWindow styles. */
.report-window-container { height: 100%; display: flex; flex-direction: column; }
.report-window-viewer { flex: 1 1 auto; min-height: 0; overflow: hidden; }
#reportViewer { height: 100%; width: 100%; }
#reportViewer .trv-report-viewer { height: 100%; }
.report-window-footer { flex: 0 0 auto; padding: 10px; background: #fff; border-top: 1px solid #ddd; }

/* ---------------------------------------------------------------- Telerik grids (admin lists) */
/* Column headings bold. */
.lt-grid-data .k-grid-header .k-header,
.lt-grid-data .k-grid-header .k-column-title,
.lt-grid-data .k-table-th { font-weight: 700; }
/* Links in a grid look like links (blue, underlined) so it's clear the name opens the record. */
.lt-grid-data .k-grid tbody td a,
.lt-grid-data.k-grid tbody td a,
.lt-grid-data .k-table-td a { color: #0d6efd; text-decoration: underline; }
.lt-grid-data .k-grid tbody td a:hover,
.lt-grid-data.k-grid tbody td a:hover,
.lt-grid-data .k-table-td a:hover { color: #0a58ca; }
/* Admin grids grow with their rows (the page scrolls, not the grid), so no inner scrollbar or its header gutter. */
.lt-grid-data.k-grid .k-grid-content { overflow-y: visible; }
.lt-grid-data.k-grid .k-grid-header { padding-inline-end: 0 !important; }
.lt-grid-data.k-grid .k-grid-header-wrap { border-inline-end-width: 0; }

/* Admin: with the District / School line under the menu, the page starts closer to it (that line already gives the
   space below the menu bar). */
.lt-admin-context + .container #main-content { padding-top: .25rem; }
.lt-admin-context + .container #main-content .lt-breadcrumb { margin-top: .75rem; }

/* Grid headings wrap onto two lines rather than being cut off ("Item Amo…"). */
.lt-grid-data .k-grid-header .k-column-title { white-space: normal; }
.lt-grid-data .k-grid-header .k-cell-inner > .k-link { align-items: flex-end; }

/* A grid with many columns (parent Cafeteria Transactions): slightly smaller text so every column fits. */
.lt-grid-compact.k-grid, .lt-grid-compact .k-grid { font-size: .875rem; }
.lt-grid-compact .k-table-td, .lt-grid-compact .k-table-th { padding-inline: .5rem; }

/* ---------------------------------------------------------------- School Store (parent) */
.lt-store-card { display: flex; flex-direction: column; height: 100%; border: 1px solid #E2E0EA; border-radius: 16px; overflow: hidden;
                 background: var(--bs-body-bg, #fff); color: inherit; text-decoration: none; }
.lt-store-card:hover, .lt-store-card:focus-visible { border-color: var(--lt-accent, #4F4596); box-shadow: 0 2px 10px rgba(31, 29, 43, .12); }
.lt-store-card-img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #F6F5FA; }
.lt-store-card-initial { display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 700; color: var(--lt-accent-text, #4F4596); background: var(--lt-accent-tint, #EEEBF8); }
.lt-store-card-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px 16px; }

/* Store inventory: Sold Out badge on the card's picture (dimmed), the stock line under the name, sold-out choices on the
   item page (crossed out), Only N Left, and the cart's notes on lowered / sold-out lines. */
.lt-store-card-media { position: relative; display: block; }
.lt-store-card-badge { position: absolute; top: 10px; left: 10px; }
.lt-store-card-soldout .lt-store-card-img { opacity: .5; }
.lt-store-card-stock { color: #8A5A00; font-weight: 600; }
.lt-badge-low { color: #8A5A00; background: #FBF0D9; }
.lt-stock-low-text { color: #8A5A00; }
.lt-size.lt-soldout { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.lt-swatch.lt-soldout { position: relative; opacity: .6; }
.lt-swatch.lt-soldout::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; border-top: 2px solid #B3261E; transform: rotate(-45deg); pointer-events: none; }
.lt-stock-notice { display: block; font-size: .875rem; padding: 6px 10px; border-radius: 8px; color: #8A5A00; background: #FBF0D9; }
.lt-stock-notice-out { color: #B3261E; background: #FBE5E3; }

/* Public Store (/store/...): the store's own header in its color (--lt-pub-color, set by the district), its logo on a
   white tile (or its first letter), Sign In / the signed-in parent, and the cart with its count. */
.lt-pub-top { background: var(--lt-pub-color, #4F4596); color: var(--lt-pub-ink, #FFFFFF); padding: 12px 0; margin-bottom: 24px; }
.lt-pub-brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-width: 0; }
.lt-pub-brand:hover, .lt-pub-brand:focus-visible { color: inherit; text-decoration: underline; }
.lt-pub-brand strong { font-size: 1.15rem; line-height: 1.2; }
.lt-pub-brand small { opacity: .85; }
.lt-pub-logo { display: inline-flex; align-items: center; background: #FFFFFF; border-radius: 8px; padding: 4px 8px; }
.lt-pub-logo img { display: block; max-height: 48px; max-width: 200px; width: auto; height: auto; }
.lt-pub-crest { width: 44px; height: 44px; border-radius: 10px; background: var(--lt-pub-ink, #FFFFFF); color: var(--lt-pub-color, #4F4596);
                display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; flex: none; }
.lt-pub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lt-pub-actions a, .lt-pub-action-button { color: inherit; background: none; font-weight: 700; text-decoration: none; border: 1px solid currentColor; border-radius: 8px; padding: 6px 12px; min-height: 40px; display: inline-flex; align-items: center; gap: 8px; }
.lt-pub-actions a:hover, .lt-pub-actions a:focus-visible, .lt-pub-action-button:hover, .lt-pub-action-button:focus-visible { background: rgba(255, 255, 255, .15); }
.lt-pub-count { background: var(--lt-pub-ink, #FFFFFF); color: var(--lt-pub-color, #4F4596); border-radius: 999px; min-width: 22px; height: 22px; padding: 0 6px;
                display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; }
.lt-pub-welcome { background: #F6F5FA; border-radius: 10px; padding: 10px 14px; }

/* Page tabs (Bootstrap .nav-tabs, e.g. the Public Store checkout): undo the menu bar's white .nav-link text, which
   made the tabs that aren't selected invisible on white. */
.nav-tabs .nav-link { margin: 0; padding: .5rem 1rem; color: var(--bs-link-color); }
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus-visible { color: var(--bs-link-hover-color); text-decoration: underline; }
.nav-tabs .nav-link.active { color: var(--bs-nav-tabs-link-active-color); text-decoration: none; font-weight: 600; }

/* Public Store checkout: the ways to check out as radio cards; the chosen card is outlined and opens its fields. */
.lt-co-choices { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.lt-co-choices > legend { float: none; margin-bottom: 8px; }
.lt-co-choice { border: 2px solid var(--bs-border-color); border-radius: 8px; background: var(--bs-body-bg); }
.lt-co-choice.lt-co-on { border-color: var(--bs-primary); background: rgba(var(--bs-primary-rgb), .07); }
.lt-co-choice:focus-within { box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .25); }
.lt-co-head { display: grid; grid-template-columns: 1.25rem 1fr; gap: 10px; padding: 12px 14px; margin: 0; cursor: pointer; align-items: start; }
.lt-co-head .form-check-input { margin: .2rem 0 0; width: 1.1rem; height: 1.1rem; }
.lt-co-title { display: block; font-weight: 700; }
.lt-co-desc { display: block; color: var(--bs-secondary-color); white-space: pre-line; }
.lt-co-body { padding: 0 14px 6px 14px; border: 0; margin: 0; min-width: 0; }

/* Public Store payment: numbered sections, the methods as radio cards (lt-co-choice), the order summary on the right. */
.lt-pay-sec { border: 0; margin: 0 0 1.25rem; padding: 0; min-width: 0; }
.lt-pay-sec > legend { float: none; font-size: 1.05rem; font-weight: 700; margin-bottom: .75rem; display: flex; align-items: center; gap: 8px; }
.lt-pay-n { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--bs-primary); color: #fff; font-size: .8rem; }
.lt-pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 10px; }
/* The payment pages (parent Checkout, Public Store Payment), design A (Steve, 2026-11-15): on a soft grey panel, the
   form in white cards on the left (1 Payment Method, 2 card or bank details with the billing address) and the Order
   Summary card beside it (below it on a phone), holding the totals, the confirm box and Close / Pay. The accent is the
   site's primary purple everywhere for now (Steve, 2026-11-15: a store's own colors come later, in a styling pass). */
.lt-pay-page { --lt-pay-accent: var(--bs-primary); --lt-pay-ink: #FFFFFF;
               --lt-pay-tint: color-mix(in srgb, var(--lt-pay-accent) 8%, var(--bs-body-bg));
               width: 100%; background: var(--bs-tertiary-bg); border-radius: 16px; padding: 20px; margin-bottom: 1.5rem; }
.lt-pay-cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.lt-pay-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lt-pay-aside { flex: 1 1 340px; min-width: 0; }
@media (min-width: 992px) { .lt-pay-aside { position: sticky; top: 16px; } }
.lt-pay-free { max-width: 560px; }
.lt-pay-card { background: var(--bs-body-bg); border: 0; border-radius: 14px; margin: 0; padding: 24px; min-width: 0;
               box-shadow: 0 1px 2px rgba(20, 16, 50, .06), 0 4px 16px rgba(20, 16, 50, .05); }
.lt-pay-card > legend { float: left; width: 100%; padding: 0; margin: 0 0 16px; font-size: 1.15rem; font-weight: 700;
                        display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lt-pay-card > legend + * { clear: both; }
.lt-pay-page .lt-pay-n { width: 1.75rem; height: 1.75rem; font-size: .875rem; flex: none; background: var(--lt-pay-accent); color: var(--lt-pay-ink); }
.lt-pay-secure { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 500; color: var(--bs-secondary-color); }
.lt-pay-billing { clear: both; border-top: 1px solid var(--bs-border-color); padding-top: 20px; margin: 8px 0 0; }
/* Method cards: an icon, the name, the fee ("No service fee" in green). */
.lt-pay-method { display: flex; align-items: center; gap: 14px; padding: 16px; margin: 0; border: 2px solid var(--bs-border-color);
                 border-radius: 12px; background: var(--bs-body-bg); cursor: pointer; }
.lt-pay-method.lt-co-on { border-color: var(--lt-pay-accent); background: var(--lt-pay-tint); }
.lt-pay-method:focus-within { box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--lt-pay-accent) 30%, transparent); }
.lt-pay-method .form-check-input { margin: 0; width: 1.25rem; height: 1.25rem; flex: none; }
.lt-pay-page .form-check-input:checked { background-color: var(--lt-pay-accent); border-color: var(--lt-pay-accent); }
.lt-pay-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; flex: none;
               background: var(--bs-tertiary-bg); color: var(--bs-secondary-color); }
.lt-pay-method.lt-co-on .lt-pay-icon { background: var(--bs-body-bg); color: var(--lt-pay-accent); }
.lt-pay-method-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lt-pay-method .lt-co-desc { font-size: .9rem; }
.lt-pay-method .lt-pay-nofee { color: #1B6B3A; font-weight: 600; }
[data-bs-theme=dark] .lt-pay-method .lt-pay-nofee { color: #6FCF97; }
/* The Order Summary card. */
.lt-pay-sum { padding: 0; overflow: hidden; }
.lt-pay-sum-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--bs-border-color); }
.lt-pay-sum-head h2 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.lt-pay-sum-head a { font-size: .9rem; font-weight: 600; }
.lt-pay-lines { list-style: none; margin: 0; padding: 4px 24px; }
.lt-pay-lines li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; }
.lt-pay-lines li + li { border-top: 1px solid var(--bs-border-color); }
.lt-pay-line-icon { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; flex: none;
                    background: var(--lt-pay-tint); color: var(--lt-pay-accent); }
.lt-pay-line-text { flex: 1; min-width: 0; }
.lt-pay-line-name { display: block; font-weight: 600; }
.lt-pay-line-detail { display: block; font-size: .85rem; color: var(--bs-secondary-color); }
.lt-pay-line-amount { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lt-pay-sum-foot { padding: 16px 24px 24px; background: var(--bs-tertiary-bg); border-top: 1px solid var(--bs-border-color); display: flex; flex-direction: column; gap: 14px; }
.lt-pay-totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0; font-variant-numeric: tabular-nums; }
.lt-pay-totals dt { font-weight: 400; color: var(--bs-secondary-color); }
.lt-pay-totals dd { margin: 0; text-align: right; }
.lt-pay-totals .lt-pay-grand { font-weight: 700; font-size: 1.3rem; color: var(--bs-body-color); border-top: 2px solid var(--bs-body-color); padding-top: 10px; margin-top: 4px; }
.lt-pay-paidto { margin: 0; font-size: .85rem; color: var(--bs-secondary-color); }
.lt-pay-confirm { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 10px; padding: 12px 14px 12px 2.6rem; margin: 0; font-size: .95rem; }
.lt-pay-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
/* Pay keeps the site's own purple .btn-primary; only its layout (fills the row beside Close, the lock) is set here. */
.lt-pay-btn { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-weight: 700; }
.lt-pay-lock { flex: none; }
/* Public Store thank-you page (PublicStoreDone): a centred card on the payment pages' grey panel. */
.lt-done { max-width: 640px; margin: 0 auto 1.5rem; background: var(--bs-tertiary-bg); border-radius: 16px; padding: 20px; }
.lt-done-card { background: var(--bs-body-bg); border-radius: 14px; padding: 36px 32px 24px; text-align: center;
                box-shadow: 0 1px 2px rgba(20, 16, 50, .06), 0 4px 16px rgba(20, 16, 50, .05); }
.lt-done-mark { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px;
                background: #E5F4EA; color: #1B6B3A; }
.lt-done-card h1 { font-size: 1.75rem; font-weight: 700; margin: 0 0 24px; }
.lt-done-list { list-style: none; margin: 0 0 20px; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.lt-done-list li { display: flex; gap: 14px; align-items: center; border: 1px solid var(--bs-border-color); border-radius: 12px; padding: 14px 16px; }
.lt-done-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none;
                background: rgba(var(--bs-primary-rgb), .1); color: var(--bs-primary); }
.lt-done-icon.lt-done-warn { background: #FBF0D9; color: #8A5A00; }
.lt-done-tip { text-align: left; font-size: .9rem; color: var(--bs-secondary-color); background: var(--bs-tertiary-bg); border-radius: 10px; padding: 12px 16px; margin: 0 0 24px; }
.lt-done-actions { display: flex; justify-content: flex-end; border-top: 1px solid var(--bs-border-color); padding-top: 20px; }
@media (max-width: 575.98px) { .lt-done { padding: 12px; margin-inline: -12px; border-radius: 0; } .lt-done-card { padding: 28px 18px 20px; } }
@media (max-width: 575.98px) { .lt-pay-page { padding: 12px; margin-inline: -12px; border-radius: 0; } .lt-pay-card { padding: 18px; } .lt-pay-lines, .lt-pay-sum-head, .lt-pay-sum-foot { padding-inline: 18px; } }
/* Checkout's "Save this card for next time": the note under the box's label, then the nickname stacked and indented
   under the label text (not a full-width side-by-side row). */
.lt-pay-save .form-check { margin: 0; }
.lt-pay-save .form-check-label { font-weight: 600; }
.lt-pay-save .form-check .form-text { margin-top: 4px; }
.lt-pay-save-name { margin: 16px 0 0 1.75em; padding-top: 16px; border-top: 1px solid var(--bs-border-color); max-width: 26rem; }
.lt-pay-save-name .mb-3 { margin-bottom: 0 !important; }
/* Parent pages in the payment pages' style (Steve, 2026-11-16: the plain table / label-left pages looked generic): the
   grey lt-pay-page panel holding white lt-pay-card cards (a fieldset with a legend, or a section with an
   .lt-pay-card-title heading), fields with labels above (Stacked) and short ones side by side (row gx-3 / col-sm-*),
   lists as .lt-rows (icon, title + meta, amount / actions on the right), balance tiles as .lt-stats, and Close / the
   primary action in .lt-pay-foot under the cards. New parent pages use these, not plain tables or lt-form-row. */
.lt-pay-cards { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lt-pay-narrow { max-width: 760px; }
.lt-pay-card > .lt-pay-card-title { margin: 0 0 16px; font-size: 1.15rem; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lt-pay-card .lt-pay-intro { color: var(--bs-secondary-color); margin: -8px 0 16px; clear: both; }
.lt-pay-card > legend + .lt-pay-intro { margin-top: 0; }
.lt-pay-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.lt-pay-foot-end { display: flex; flex-wrap: wrap; gap: 10px; }
.lt-pay-empty { background: var(--bs-body-bg); border-radius: 14px; padding: 32px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.lt-pay-card .table-responsive { margin: 0; }
.lt-pay-card .lt-table { margin-bottom: 0; }
.lt-pay-card .lt-table thead th { background: var(--bs-tertiary-bg); font-size: .85rem; font-weight: 600; color: var(--bs-secondary-color); border-bottom: 0; }
.lt-pay-card .lt-table thead th:first-child { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.lt-pay-card .lt-table thead th:last-child { border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
.lt-pay-card .lt-table tbody tr:last-child td, .lt-pay-card .lt-table tbody tr:last-child th { border-bottom: 0; }
/* Rows: a list inside a card, one entry per student / payment / reminder. */
.lt-rows { list-style: none; margin: 0; padding: 0; }
.lt-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--bs-border-color); }
.lt-row:first-child { border-top: 0; padding-top: 0; }
.lt-row:last-child { padding-bottom: 0; }
.lt-row-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lt-row-title { font-weight: 700; overflow-wrap: anywhere; }
.lt-row-title a { font-weight: 700; }
.lt-row-meta { color: var(--bs-secondary-color); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 2px 12px; }
.lt-row-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.lt-row-amount { font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lt-row-amount.lt-row-negative { color: var(--bs-danger); }
.lt-row-actions { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .95rem; margin-top: 4px; }
.lt-row-problem .lt-pay-icon { background: #FBE9EC; color: var(--bs-danger); }
@media (max-width: 575.98px) { .lt-row { flex-wrap: wrap; } .lt-row-side { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; } }
/* A student's photo from LunchTime (Shared/StudentAvatar), or their initials when there isn't one (the photo is laid
   over the initials and removed if it doesn't load). Decorative: the student's name is always next to it. */
.lt-avatar { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
             background: var(--lt-accent-tint, #EEEBF8); color: var(--lt-accent-text, #4F4596); font-weight: 700; font-size: 1rem; line-height: 1; user-select: none; }
.lt-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--bs-body-bg); }
.lt-avatar-sm { width: 32px; height: 32px; font-size: .8rem; }
.lt-avatar-lg { width: 96px; height: 96px; font-size: 2rem; }
.lt-avatar-xl { width: 160px; height: 160px; font-size: 3rem; }
/* Balance tiles (a student's cafeteria balances, a receipt's totals). */
.lt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.lt-stat { background: var(--bs-tertiary-bg); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.lt-stat-label { display: block; font-size: .8rem; font-weight: 600; color: var(--bs-secondary-color); text-transform: uppercase; letter-spacing: .04em; }
.lt-stat-value { display: block; font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.lt-stat-value.lt-row-negative { color: var(--bs-danger); }
/* A choice of two or three big options (card / bank, email / automatic deposit) reuses the payment method cards. */
.lt-pay-page .lt-pay-methods { margin-bottom: 4px; }
/* Payment Methods (Parent/SavedPaymentSources.razor): a wallet of saved cards / bank accounts in the payment pages'
   style (grey lt-pay-page panel, white cards), an Add tile, grouped by school payment account when there are several. */
.lt-wallet-group { font-size: 1rem; font-weight: 400; margin: 4px 0 12px; }
.lt-wallet-group:not(:first-child) { margin-top: 24px; }
.lt-wallet-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.lt-wallet-card { background: var(--bs-body-bg); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; height: 100%;
                  border-top: 4px solid var(--bs-primary); box-shadow: 0 1px 2px rgba(20, 16, 50, .06), 0 4px 16px rgba(20, 16, 50, .05); }
.lt-wallet-card.lt-wallet-problem { border-top-color: var(--bs-danger); }
.lt-wallet-top { display: flex; align-items: center; gap: 10px; color: var(--bs-secondary-color); font-size: .9rem; }
.lt-wallet-top .badge { margin-left: auto; }
.lt-wallet-name { font-size: 1.1rem; font-weight: 700; margin-top: 6px; overflow-wrap: anywhere; }
.lt-wallet-number { font-family: var(--bs-font-monospace); font-size: 1.05rem; letter-spacing: .08em; }
.lt-wallet-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--bs-secondary-color); font-size: .9rem; }
.lt-wallet-actions { display: flex; gap: 18px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--bs-border-color); }
.lt-wallet-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; min-height: 170px;
                 border: 2px dashed var(--bs-border-color); border-radius: 14px; color: var(--bs-primary); font-weight: 600; text-decoration: none;
                 background: color-mix(in srgb, var(--bs-body-bg) 60%, transparent); }
.lt-wallet-add:hover, .lt-wallet-add:focus-visible { border-color: var(--bs-primary); background: var(--bs-body-bg); }
.lt-wallet-plus { font-size: 2rem; line-height: 1; }
.lt-wallet-empty { background: var(--bs-body-bg); border-radius: 14px; padding: 32px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.lt-pay-head { font-size: 1.05rem; font-weight: 700; margin-bottom: .75rem; display: flex; align-items: center; gap: 8px; }
/* Package picker (Shared/PackagePicker.razor): the payment pages' numbered steps and radio cards. */
.lt-pkg-prices { display: grid; gap: 2px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--bs-border-color); font-variant-numeric: tabular-nums; }
.lt-pkg-prices > span { display: flex; justify-content: space-between; gap: 8px; }
.lt-pkg-prices b { font-weight: 600; }
.lt-co-choice.lt-pkg-full { opacity: .65; cursor: not-allowed; }
.lt-pkg-full-note { display: block; margin-top: 6px; color: var(--bs-danger-text-emphasis); font-weight: 600; font-size: .875em; }
.lt-pkg-box { border: 1px solid var(--bs-border-color); border-radius: 8px; background: var(--bs-body-bg); }
.lt-pkg-holder { padding: 10px 14px 0; }
.lt-pkg-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; }
.lt-pkg-row + .lt-pkg-row { border-top: 1px solid var(--bs-border-color); }
.lt-pkg-games { list-style: none; margin: 0; padding: 0; }
.lt-pkg-games li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding: 10px 14px; }
.lt-pkg-games li + li { border-top: 1px solid var(--bs-border-color); }
.lt-pay-subsec > legend { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }

/* Parent home for a store account: a card per Public Store, and the Switch to a Full Account box. */
.lt-home-stores { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 14px; margin: .5rem 0 0; padding: 0; }
.lt-home-store { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; border: 2px solid var(--bs-border-color); border-radius: 10px; padding: 14px; color: var(--bs-body-color); text-decoration: none; background: var(--bs-body-bg); }
.lt-home-store:hover, .lt-home-store:focus-visible { border-color: var(--bs-primary); }
.lt-home-store-tile { width: 56px; height: 56px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.5rem; overflow: hidden; background: #fff; border: 1px solid var(--bs-border-color); }
.lt-home-store-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lt-home-store-title { display: block; font-weight: 700; color: var(--bs-link-color); text-decoration: underline; }
.lt-home-store-desc { display: block; color: var(--bs-secondary-color); font-size: .9rem; }
.lt-home-switch { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; border: 1px dashed rgba(var(--bs-primary-rgb), .5); border-radius: 10px; padding: 14px 16px; background: var(--bs-tertiary-bg); }
.lt-home-switch > div { max-width: 60ch; }
.lt-home-switch a { font-weight: 600; }

/* Switch to a Full Account */
.lt-switch-gets { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 6px 22px; }
.lt-switch-gets li { display: grid; grid-template-columns: 1.4rem 1fr; }
.lt-switch-gets li::before { content: "✓"; color: #3f7a52; font-weight: 700; }
.lt-switch-keeps { border-left: 4px solid #3f7a52; background: var(--bs-tertiary-bg); padding: 10px 14px; border-radius: 0 8px 8px 0; }

/* Admin: Public Store logos and QR code. */
.lt-logo-preview { display: inline-flex; align-items: center; justify-content: center; min-width: 140px; height: 64px; padding: 6px 10px; border: 1px solid #E2E0EA; border-radius: 8px; background: #FFFFFF; }
.lt-logo-preview img { max-height: 52px; max-width: 220px; }

/* Public Store settings → Colors (ColorChoiceSet radio cards, the preview, the accessibility check). */
.lt-bc-set { margin-bottom: 1.25rem; }
.lt-bc-set > legend { font-size: 1rem; float: none; width: auto; }
.lt-bc-cards { padding-top: 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.lt-bc { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; margin: 0; cursor: pointer;
             border: 1px solid var(--bs-border-color); border-radius: 10px; background: var(--bs-body-bg); }
.lt-bc-on { border: 2px solid var(--bs-primary); padding: 9px 11px; background: rgba(var(--bs-primary-rgb), .06); }
.lt-bc:focus-within { box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .25); }
.lt-bc-head { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.lt-bc-name { font-weight: 600; font-size: .9rem; }
.lt-bc-btn { display: block; text-align: center; font-weight: 700; font-size: .875rem; padding: 7px 10px; border-radius: 6px; border: 1px solid rgba(0,0,0,.12); }
.lt-bc-note { font-size: .75rem; color: var(--bs-secondary-color); }
.lt-bc-tag { position: absolute; top: -9px; right: 10px; font-size: .7rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #1B6B3A; color: #FFFFFF; }
.lt-bc-picker { width: 2.5rem; height: 2rem; padding: 2px; flex: none; }
.lt-color-preview { border: 1px solid var(--bs-border-color); border-radius: 10px; overflow: hidden; background: #FFFFFF; color: #212529; }
.lt-color-preview-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; font-size: .9rem; }
.lt-color-preview-body { padding: 14px; }
.lt-color-preview .btn { pointer-events: none; }
.lt-color-preview-btn { font-weight: 700; }
.lt-a11y-list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lt-a11y-list li { display: flex; align-items: center; gap: 10px; border: 1px solid var(--bs-border-color); border-radius: 8px; padding: 8px 10px; font-size: .875rem; }
.lt-a11y-mark { width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700; font-size: .8rem; }
.lt-a11y-ok .lt-a11y-mark { background: #E5F4EA; color: #1B6B3A; }
.lt-a11y-bad { border-color: #E4B4B4 !important; background: #FDF3F3; }
.lt-a11y-bad .lt-a11y-mark { background: #B42318; color: #FFFFFF; }
.lt-a11y-warn .lt-a11y-mark { background: #FBF0D9; color: #8A5A00; }
.lt-a11y-word { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.lt-a11y-ok .lt-a11y-word { color: #1B6B3A; }
.lt-a11y-bad .lt-a11y-word { color: #B42318; }
.lt-a11y-warn .lt-a11y-word { color: #8A5A00; }
.lt-logo-thumb { max-height: 32px; max-width: 120px; border: 1px solid #E2E0EA; border-radius: 4px; background: #FFFFFF; padding: 2px; }
.lt-qr { width: 160px; height: 160px; flex: none; }
.lt-qr svg { width: 100%; height: 100%; }
.lt-store-event { display: flex; gap: 16px; align-items: center; height: 100%; padding: 16px; border: 1px solid #E2E0EA; border-radius: 16px;
                  background: var(--bs-body-bg, #fff); color: inherit; text-decoration: none; }
.lt-store-event:hover, .lt-store-event:focus-visible { border-color: var(--lt-accent, #4F4596); }
.lt-store-date { flex: none; display: flex; flex-direction: column; align-items: center; width: 64px; padding: 8px 0; border-radius: 12px;
                 background: var(--lt-accent-tint, #EEEBF8); color: #1F1D2B; line-height: 1.1; }
.lt-store-date .small:first-child { color: var(--lt-accent-text, #4F4596); }
.lt-store-date-lg { width: 96px; padding: 12px 0; }
.lt-store-main-img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border: 1px solid #E2E0EA; border-radius: 16px; background: #F6F5FA; }
.lt-store-thumb { width: 72px; height: 72px; padding: 0; border: 1px solid #E2E0EA; border-radius: 10px; overflow: hidden; background: #F6F5FA; }
.lt-store-thumb img { width: 100%; height: 100%; object-fit: contain; }
.lt-store-thumb-on { border: 2px solid var(--lt-accent, #4F4596); }
.lt-store-description { white-space: pre-line; }
.lt-swatch { width: 44px; height: 44px; padding: 4px; border-radius: 50%; border: 1px solid #C9C5DA; background: #fff; }
.lt-swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.lt-swatch-on { border: 3px solid var(--lt-accent, #4F4596); }
.lt-swatch:disabled { opacity: .35; }
.lt-size { min-width: 56px; min-height: 44px; }

/* Header cart symbol and count. */
.lt-cart-link { position: relative; display: inline-flex; align-items: center; gap: 4px; }
.lt-cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--lt-accent-text, #4F4596);
                 font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.lt-tickets-today { position: absolute; top: 6px; right: 4px; width: 10px; height: 10px; border-radius: 50%; background: #F2B705; box-shadow: 0 0 0 2px var(--bs-primary); }   /* a ticket for today (gold: the brand's accent) */

/* Store tickets for several students: a row (or card) per child, the name standing out; chosen children outlined. */
.lt-ticket-student { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px;
                     border: 1px solid #E2E0EA; border-radius: 12px; background: var(--bs-body-bg, #fff); }
.lt-ticket-student-on { border: 2px solid var(--lt-accent, #4F4596); }
.lt-ticket-initials { flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
                      font-size: 14px; font-weight: 700; background: var(--lt-accent-tint, #EEEBF8); color: var(--lt-accent-text, #4F4596); }
.lt-ticket-student-on .lt-ticket-initials { background: var(--lt-accent, #4F4596); color: #fff; }
.lt-ticket-student-name { display: block; font-size: 1.05rem; font-weight: 700; color: #2E2760; }

/* School Store: a child's cafeteria card. */
.lt-cafe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 16px; row-gap: 16px; margin: 0; padding: 0; }
/* Each card spans 4 rows of the grid and shares them (subgrid): name, balance, buttons, reminders line up across a row,
   and a row is only as tall as its own cards need (no blank General / Meal line unless a card in that row has one). */
.lt-cafe-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px; padding: 16px; border: 1px solid #E2E0EA;
                border-radius: 16px; background: var(--bs-body-bg, #fff); }
@supports not (grid-template-rows: subgrid) {
    .lt-cafe-card { display: flex; flex-direction: column; gap: 12px; }
}
.lt-cafe-card .btn { min-height: 44px; }

/* A child whose cafeteria deposit is already in the cart (one per child per cart). */
.lt-cafe-in-cart { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px;
                   padding: 8px 12px; border-radius: 8px; background: var(--lt-accent-tint, #EEEBF8); }

/* Store item: arrows on the main picture. */
.lt-store-gallery { position: relative; }
.lt-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 1px solid #C9C5DA;
                    border-radius: 50%; background: rgba(255, 255, 255, .92); color: #1F1D2B; display: flex; align-items: center; justify-content: center;
                    box-shadow: 0 1px 4px rgba(31, 29, 43, .15); }
.lt-gallery-arrow:hover, .lt-gallery-arrow:focus-visible { background: #fff; border-color: var(--lt-accent, #4F4596); }
.lt-gallery-prev { left: 10px; }
.lt-gallery-next { right: 10px; }
.lt-gallery-count { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); padding: 2px 10px; border-radius: 999px;
                    background: rgba(31, 29, 43, .7); color: #fff; font-size: 13px; }

/* Shopping cart: a line per item with its picture, details and amount; totals underneath. */
.lt-cart-line { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border-bottom: 1px solid #EEECF3; }
.lt-cart-line:last-child { border-bottom: 0; }
.lt-cart-thumb { flex: none; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.lt-cart-thumb:has(img) { background: #F6F5FA; }
.lt-cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.lt-cart-thumb .lt-store-card-initial { width: 100%; height: 100%; font-size: 1.6rem; }
.lt-cart-thumb .lt-store-date { width: 100%; height: 100%; justify-content: center; }
.lt-cart-totals { display: grid; grid-template-columns: auto auto; justify-content: end; column-gap: 32px; row-gap: 4px; margin: 16px 16px 4px; }
.lt-cart-totals dt { font-weight: 400; text-align: right; }
.lt-cart-totals dd { margin: 0; text-align: right; min-width: 100px; }

/* Assigned seating: the venue builder (settings on the left, the floor plan on the right). */
.lt-venue-builder { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 991.98px) { .lt-venue-builder { grid-template-columns: 1fr; } }
.lt-venue-panel { display: flex; flex-direction: column; gap: 16px; padding: 16px; border: 1px solid #E2E0EA; border-radius: 16px; background: var(--bs-body-bg, #fff); }
.lt-venue-plan { padding: 12px; border: 1px solid #E2E0EA; border-radius: 16px; background: var(--bs-body-bg, #fff); }
.lt-venue-plan svg { display: block; width: 100%; height: auto; user-select: none; }
.lt-legend { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; }
.lt-nudge { min-width: 36px; }

/* My Tickets: a ticket card with its QR code. */
.lt-ticket-card { display: flex; gap: 16px; align-items: center; height: 100%; padding: 16px; border: 1px solid #E2E0EA; border-radius: 16px; background: #fff; }
.lt-ticket-qr { flex: none; width: 132px; height: 132px; background: #fff; }
.lt-ticket-qr > svg { width: 100%; height: 100%; }
/* A ticket's whole number in groups of 4: the gaps are spacing, not characters (copying gives the number unbroken). */
.lt-code { font-family: var(--bs-font-monospace); letter-spacing: .02em; }
.lt-code > span { display: inline-block; margin-right: .4em; }
.lt-code > span:last-child { margin-right: 0; }
.lt-ticket-void { opacity: .55; }
.lt-ticket-void .lt-ticket-qr { filter: grayscale(1); }
/* My Tickets as a list of events and one event's tickets swiped sideways (Steve, 2026-11-19, as the parent app's
   Tickets / TicketView; the app has its own copies of these as .app-tix-*). */
.lt-tix-intro { margin: 0 0 12px; font-size: .9rem; color: var(--bs-secondary-color); }
#main-content .lt-tix-group { margin: 18px 0 8px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6B6880; }
.lt-tix-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lt-tix-row { display: flex; align-items: center; gap: 12px; padding: 14px; background: #FFFFFF; border: 1px solid #E2DFF0; border-radius: 14px; color: inherit; text-decoration: none; }
.lt-tix-row:hover { border-color: var(--bs-primary); color: inherit; }
.lt-tix-row:focus-visible { outline: 3px solid var(--bs-primary); outline-offset: 2px; }
.lt-tix-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #EEEBF8; color: var(--bs-primary); display: grid; place-items: center; }
.lt-tix-today { border: 2px solid #F2B705; }
.lt-tix-today .lt-tix-ic { background: #2E2760; color: #F2B705; }
.lt-tix-pastrow { opacity: .75; }
.lt-tix-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lt-tix-name { font-family: var(--lt-brand-font); font-weight: 600; color: #2E2760; line-height: 1.25; }
.lt-tix-badge { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: #F2B705; color: #2E2760; font-size: .7rem; font-weight: 700; vertical-align: 1px; }
.lt-tix-meta { font-size: .85rem; color: var(--bs-secondary-color); }
.lt-tix-count { font-size: .8rem; font-weight: 600; color: var(--bs-primary); }
.lt-tix-chev { color: var(--bs-primary); font-size: 1.4rem; }
.lt-tix-past summary, .lt-tix-games summary { margin: 18px 0 10px; color: var(--bs-primary); font-weight: 600; cursor: pointer; }
.lt-tix-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.lt-tix-host { font-size: .85rem; font-weight: 700; color: #3A3550; }
.lt-tix-carousel { max-width: 440px; margin: 0 auto; }
.lt-tix-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 10px; scroll-padding: 0 4px; }
.lt-tix-track::-webkit-scrollbar { display: none; }
.lt-tix-track:focus-visible { outline: 3px solid var(--bs-primary); outline-offset: 2px; border-radius: 20px; }
.lt-tix-slide { flex: 0 0 100%; scroll-snap-align: start; }
.lt-tix-ticket { background: #FFFFFF; border: 1.5px solid #4F4596; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 18px rgba(46, 39, 96, .12); }
.lt-tix-band { background: #2E2760; color: #FFFFFF; display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; }
.lt-tix-band img { height: 20px; width: auto; }
.lt-tix-qr { width: min(280px, 74vw); aspect-ratio: 1; margin: 16px auto 6px; background: #FFFFFF; }
.lt-tix-qr > svg { width: 100%; height: 100%; display: block; }
.lt-tix-void .lt-tix-qr { filter: grayscale(1); opacity: .35; }
.lt-tix-used .lt-tix-qr { opacity: .45; }
.lt-tix-info { padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 3px; text-align: center; }
.lt-tix-seat { font-family: var(--lt-brand-font); font-weight: 700; font-size: 1.2rem; color: #111111; }
.lt-tix-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 12px 0 4px; }
.lt-tix-of { min-width: 110px; text-align: center; font-weight: 600; color: #2E2760; }
.lt-tix-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #E2DFF0; background: #FFFFFF; color: var(--bs-primary); font-size: 1.4rem; line-height: 1; }
.lt-tix-arrow:disabled { opacity: .35; }
.lt-tix-arrow:focus-visible { outline: 3px solid var(--bs-primary); outline-offset: 2px; }
.lt-tix-dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 12px; }
.lt-tix-dots span { width: 7px; height: 7px; border-radius: 50%; background: #C9C5DA; }
.lt-tix-dots span.on { width: 18px; border-radius: 4px; background: var(--bs-primary); }
.lt-tix-awake { text-align: center; font-size: .8rem; color: var(--bs-secondary-color); margin: 0 0 12px; }
/* Add to Google Wallet (MyTickets, GoogleWallet.cs): Google's own badge, unchanged (their brand rules), centred under the buttons. */
.lt-gwallet-row { display: flex; justify-content: center; margin-top: 16px; }
.lt-gwallet-btn { border: 0; padding: 0; background: none; border-radius: 24px; line-height: 0; }
.lt-gwallet-btn img { height: 48px; width: auto; }
.lt-gwallet-btn:focus-visible { outline: 3px solid var(--bs-primary); outline-offset: 3px; }
/* Add to Apple Wallet (AppleWallet.cs): Apple's own badge, unchanged; its corners are squarer than Google's. */
.lt-awallet-btn { border-radius: 8px; }
@media print { .lt-tix-pager, .lt-tix-dots, .lt-tix-awake { display: none; } .lt-tix-track { flex-direction: column; overflow: visible; } }

/* Ticket scanner: the camera, and a big result (green admit, amber re-entry, red refused). */

/* Event Ticket List: the totals across the top. */
.lt-ticket-totals { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.lt-ticket-totals > div { min-width: 120px; padding: 10px 14px; border: 1px solid #E2E0EA; border-radius: 12px; background: #fff; }
.lt-ticket-totals dt { font-weight: 400; font-size: .85rem; color: #5B5868; }
.lt-ticket-totals dd { margin: 0; font-size: 1.5rem; font-weight: 700; }

/* Printing (the seating chart): only the page's content; each level's plan kept on one page. */
@media print {
    .lt-no-print, header, nav, footer, .navbar, .lt-admin-context, .lt-skip-link { display: none !important; }
    body { background: #fff !important; }
    .lt-chart { break-inside: avoid; border: 0 !important; }
    .lt-ticket-totals > div { border-color: #999; }
}

/* Event Seating (admin): price group choices, white cards with the group's color as a bar. */
.lt-group-btn { display: block; padding: 8px 12px; border: 1px solid #E2E0EA; border-left: 6px solid #E2E0EA; border-radius: 10px; background: #fff; color: #1F1D2B; }
.lt-group-btn:hover { border-color: #C9C5DA; }
.lt-group-on { border-top-color: var(--lt-accent, #4F4596); border-right-color: var(--lt-accent, #4F4596); border-bottom-color: var(--lt-accent, #4F4596); box-shadow: 0 0 0 1px var(--lt-accent, #4F4596); }

/* Copy Event: one box per new event. */
.lt-copy-row { padding: 12px 16px 16px; margin-bottom: 16px; border: 1px solid #E2E0EA; border-radius: 12px; background: #fff; }
.lt-copy-row legend { float: none; width: auto; padding: 0 6px; margin-bottom: 4px; font-weight: 600; }
.lt-copy-table th { font-weight: 600; font-size: .9rem; }
.lt-copy-own td { background: #FBFAFD; border-top: 0; }

/* AmountField: the large $ box for a chosen amount (donations, cafeteria deposits), in a bordered box per entry. */
.lt-amount-group { max-width: 16rem; }
.lt-amount-box { border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius); background: var(--bs-body-bg); padding: 1rem; }

/* School Fees page (/my/items) and Item Group pages: groups and fees as cards (like Events & Tickets), and the
   invoice / student fee tables in a rounded panel. */
.lt-fee-card { transition: border-color .15s, box-shadow .15s; }
.lt-fee-card:hover, .lt-fee-card:focus-visible { box-shadow: 0 4px 14px rgba(46, 39, 96, .12); }
.lt-fee-card .lt-store-date { height: 64px; color: var(--lt-accent-text, #4F4596); }
.lt-fee-chevron { flex: none; font-size: 1.75rem; line-height: 1; color: var(--lt-accent, #4F4596); }
.lt-fee-panel { padding: 16px; border: 1px solid #E2E0EA; border-radius: 16px; background: var(--bs-body-bg, #fff); }
.lt-fee-panel .table { margin-bottom: 0; }

/* Team schedules (Events & Tickets in both stores): a tile per team, and the schedule's rows. A row that isn't sold
   (an away game, schedule-only, not on sale yet) isn't a link: no hover, a quieter date tile. */
.lt-team-tile .lt-store-date { height: 64px; justify-content: center; color: var(--lt-accent-text, #4F4596); }
.lt-sched-row-static:hover { border-color: #E2E0EA; }
.lt-sched-row-static .lt-store-date { background: #F3F2F7; }
.lt-sched-badge { background: #F3F2F7; color: #1F1D2B; border: 1px solid #8A84A8; }
/* A game already played (the public schedule shows the whole school year): dimmed date, no link. */
.lt-sched-row-past .lt-store-date { background: #FFFFFF; color: #5C5873; border: 1px dashed #8A84A8; }
.lt-sched-row-past .fw-semibold { color: #4A4760; }
/* Events & Tickets / the schedule page: Fall, Winter, Spring (and Other Events) headings over the sport tiles. */
.lt-season-heading { display: flex; align-items: baseline; gap: 10px; margin: 24px 0 12px; font-size: 1.125rem; font-weight: 700; color: #2E2760; }
.lt-season-heading small { font-size: .875rem; font-weight: 400; color: #5C5873; }
.lt-season-heading:first-child { margin-top: 0; }
/* The Schedule page: a card per sport (round badge, name, n Teams; a row per team with ›) flowing in columns, and
   Today's Games beside them. */
.lt-sport-cols { columns: 1; column-gap: 16px; }
@media (min-width: 768px) { .lt-sport-cols { columns: 2; } }
@media (min-width: 1200px) { .lt-sport-cols { columns: 3; } }
.lt-sport-card { break-inside: avoid; display: inline-block; width: 100%; margin-bottom: 16px; border: 1px solid #E2E0EA; border-radius: 12px; background: #F7F6FA; overflow: hidden; }
.lt-sport-head { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-bottom: 1px solid #E2E0EA; color: #1F1D2B; text-decoration: none; }
.lt-sport-head:hover, .lt-sport-head:focus-visible { background: #EEECF5; }
.lt-sport-name { font-size: 1.125rem; font-weight: 700; line-height: 1.2; }
.lt-sport-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #2E2760; color: #FFFFFF; font-size: 1.25rem; font-weight: 800; }
.lt-sport-icon-other { background: var(--lt-accent, #4F4596); }
.lt-sport-team { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 14px; color: #1F1D2B; text-decoration: none; }
.lt-sport-team .lt-fee-chevron { font-size: 1.375rem; }
.lt-sport-team:hover, .lt-sport-team:focus-visible { background: #EEECF5; text-decoration: underline; }
.lt-today { display: flex; gap: 16px; padding: 16px; border: 1px solid #E2E0EA; border-radius: 12px; background: var(--bs-body-bg, #fff); box-shadow: 0 4px 14px rgba(46, 39, 96, .08); }
.lt-today-date { flex: none; padding-right: 16px; border-right: 1px solid #8A84A8; font-weight: 600; white-space: nowrap; align-self: flex-start; }
.lt-today-list { flex: 1; min-width: 0; }
@media (max-width: 400px) { .lt-today { flex-direction: column; } .lt-today-date { border-right: 0; padding-right: 0; } }

/* Admin Schedule: Add Games needs room for its rows. */
.lt-panel.lt-panel-wide { max-width: 1000px; }

/* The Schedule page's Teams / Calendar tabs. */
.lt-sched-tabs { display: flex; gap: 24px; border-bottom: 1px solid #E2E0EA; }
.lt-sched-tabs a { padding: 8px 4px; color: #1F1D2B; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.lt-sched-tabs a:hover, .lt-sched-tabs a:focus-visible { border-bottom-color: #8A84A8; }
.lt-sched-tabs a.active { border-bottom-color: #2E2760; font-weight: 700; }

/* The calendar (Month Details / Summary, Day): a week per row; home / away / tournament icons; on a phone the month is a
   list of the days that have games. */
.lt-cal-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.lt-cal-nav { display: flex; align-items: center; gap: 4px; }
.lt-cal-nav .btn-link { font-size: 1.375rem; line-height: 1; text-decoration: none; color: #1F1D2B; }
.lt-cal-title { margin: 0 8px; font-size: 1.25rem; font-weight: 700; }
.lt-cal-month { width: auto; font-weight: 700; font-size: 1.125rem; border: 0; background-color: transparent; }
.lt-cal { width: 100%; table-layout: fixed; border-collapse: collapse; border: 1px solid #E2E0EA; }
.lt-cal th { padding: 8px; border: 1px solid #E2E0EA; font-weight: 400; background: var(--bs-body-bg, #fff); }
.lt-cal td { vertical-align: top; padding: 8px; border: 1px solid #E2E0EA; height: 110px; overflow-wrap: anywhere; }
.lt-cal td.lt-cal-out { background: #F7F6FA; }
.lt-cal td.lt-cal-out .lt-cal-day { color: #8A84A8; }
.lt-cal td.lt-cal-today .lt-cal-day > span:first-child { display: inline-block; min-width: 1.75rem; border-radius: 999px; background: #2E2760; color: #FFFFFF; text-align: center; }
.lt-cal-day { display: block; margin-bottom: 6px; font-size: 1.125rem; font-weight: 600; color: #1F1D2B; text-decoration: none; }
.lt-cal-day:hover, .lt-cal-day:focus-visible { text-decoration: underline; }
.lt-cal-wday { display: none; }
.lt-cal-game { margin-bottom: 12px; font-size: .9375rem; line-height: 1.35; }
.lt-cal-time { font-weight: 700; }
.lt-cal-icon { vertical-align: -1px; margin-right: 2px; }
.lt-cal-badge { background: #FDE8E8; color: #8A1C1C; border: 1px solid #C0392B; font-weight: 600; }
.lt-cal-count { margin-bottom: 10px; font-size: .9375rem; }
.lt-cal-count-link { color: inherit; text-decoration: none; border-radius: 4px; padding: 1px 3px; margin-left: -3px; }
.lt-cal-count-link:hover, .lt-cal-count-link:focus-visible { color: #4B3F9A; text-decoration: underline; background: #F1EFF7; }
.lt-cal-summary td { height: 90px; }
.lt-cal-daylist .lt-cal-game { padding: 12px 14px; border: 1px solid #E2E0EA; border-radius: 12px; }
@media (max-width: 767.98px) {
    .lt-cal, .lt-cal tbody, .lt-cal tr, .lt-cal td { display: block; width: 100%; height: auto; border: 0; }
    .lt-cal thead, .lt-cal td.lt-cal-empty, .lt-cal td.lt-cal-out { display: none; }
    .lt-cal td { padding: 10px 0; border-bottom: 1px solid #E2E0EA; }
    .lt-cal-day > span:first-child { display: none; }
    .lt-cal td.lt-cal-today .lt-cal-day > span:first-child { display: none; }
    .lt-cal-wday { display: inline; }
}

/* A package's events: the found events scroll in their own box. */
.lt-pkg-results { max-height: 340px; overflow-y: auto; }
.lt-pkg-table thead th { position: sticky; top: 0; z-index: 1; background: var(--bs-body-bg, #fff); box-shadow: inset 0 -1px 0 #E2E0EA; font-weight: 600; }
.lt-pkg-table td, .lt-pkg-table th { padding-left: .6rem; padding-right: .6rem; }

/* A store's sport tickets page: the link to the sport's full schedule. */
/* Information to Collect (Shared/InfoForm): a card per one bought; the admin's question cards (Items/ItemForm). */
.lt-info-card { border: 1px dashed #CFC9E6; border-radius: 10px; padding: 14px 16px 16px; background: #FCFBFF; min-width: 0; }
.lt-info-title { float: none; width: auto; font-size: 1rem; font-weight: 600; margin-bottom: 10px; padding: 0; }
.lt-info-waiver { max-height: 9rem; overflow-y: auto; border: 1px solid #DEE2E6; border-radius: 6px; padding: 8px 10px; background: #F8F9FA; font-size: .875rem; white-space: pre-line; }
.lt-info-waiver:focus-visible { outline: 2px solid var(--lt-accent, #4F4596); outline-offset: 2px; }
.lt-q-card { border: 1px solid #DEE2E6; border-radius: 10px; padding: 12px 14px; background: #fff; }

/* Admin Schedule: the action bar stays at the top while scrolling; a heading row per day. */
.lt-sched-bar { position: sticky; top: 0; z-index: 5; background: var(--bs-body-bg, #fff); }
.lt-games-table .lt-sched-day > * { background: #F1EFF7; padding-top: .5rem; padding-bottom: .5rem; }
.lt-games-table tbody + tbody { border-top-width: 0; }

.lt-sched-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; border: 1px solid #E2E0EA; border-radius: 12px; background: #F7F6FA; }

/* The team headings on a sport's schedule page. */
.lt-team-heading { margin: 28px 0 12px; padding-bottom: 6px; border-bottom: 2px solid #E2E0EA; font-size: 1.25rem; font-weight: 700; }

/* Demo mode (MyAppSettings:DemoMode): the bar on every page showing the pretend date, and the /demo page. */
.lt-demo-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; padding: 6px 16px; background: #FFF3CD; color: #4D3A02; border-bottom: 1px solid #C9A227; font-size: .9375rem; }
.lt-demo-bar a { color: #2E2760; font-weight: 600; }
/* "School Payment Portal is now Tendabook" (App.razor, SiteMove.cs): the brand's dark purple band, white text. */
.lt-moved-bar { display: flex; align-items: center; justify-content: center; gap: 8px 14px; padding: 8px 16px; background: #2E2760; color: #fff; font-size: .9375rem; }
.lt-moved-bar p { margin: 0; }
.lt-moved-bar strong { font-family: var(--lt-brand-font, inherit); }
.lt-moved-bar img { flex: 0 0 auto; }
@media (max-width: 575.98px) { .lt-moved-bar { flex-wrap: wrap; text-align: center; } }
.lt-demo-page { max-width: 520px; margin: 32px auto; padding: 24px; border: 1px solid #E2E0EA; border-radius: 16px; background: var(--bs-body-bg, #fff); }
.lt-demo-date { max-width: 220px; }

/* Home page (Tendabook, Steve 2026-11-19; mockup D2, the only look since 2026-11-30): a first screen holding only the
   language choice, the stacked logo and the two buttons (.lt-home-stage), then the headline with the Crossed / Dotted /
   Booked panels, Administration and Staff, the app band (MobileApps Band) and the footer strip (HomeLayout). Colors are
   .lt-home-dark's: dark purple first screen, white logo, lavender below, dark panels. Staff cards use .lt-fee-card. */
body:has(.lt-home) { padding-top: 0; padding-bottom: 0; }
.lt-home h1:focus, .lt-home h2:focus { outline: none; }
.lt-home-stage { min-height: clamp(540px, 88vh, 760px); display: flex; flex-direction: column; }
.lt-home-top { display: flex; justify-content: flex-end; padding-top: 16px; padding-bottom: 16px; }
.lt-home-lang { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.lt-home-lang .form-select { width: auto; max-width: 16rem; min-height: 40px; }
.lt-home-lang-btn { min-height: 40px; padding: 0 14px; border-radius: 8px; font-weight: 600; font-size: .9rem; }
.lt-home-welcome { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 44px; padding: 8px 16px 64px; text-align: center; }
.lt-home-welcome h1 { margin: 0; }
.lt-home-logo { display: block; width: 596px; max-width: 82vw; height: auto; }
.lt-home-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.lt-home-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; min-width: 180px; padding: 0 28px; border-radius: 10px; font-size: 1.0625rem; font-weight: 600; border-width: 2px; }
.lt-home-notices { width: 100%; max-width: 640px; }
.lt-home-notices:empty { display: none; }
.lt-home-notices .alert { margin: 0 0 8px; text-align: left; }
.lt-home-why { padding: 72px 0 64px; }
#main-content .lt-home-why h2 { margin: 0 auto 10px; font-size: clamp(1.75rem, 3.4vw, 2.125rem); font-weight: 700; text-align: center; }
.lt-home-lead { margin: 0 auto 36px; max-width: 680px; font-size: 1.0625rem; line-height: 1.6; text-align: center; }
.lt-home-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .lt-home-panels { grid-template-columns: 1fr; } }
.lt-home-panel { border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
#main-content .lt-home-panel h3 { margin: 0; font-size: 1.75rem; font-weight: 700; color: #FFFFFF; }
.lt-home-panel p { margin: 0; font-size: .9375rem; line-height: 1.6; }
.lt-home-panel .lt-home-panel-sub { font-family: var(--lt-brand-font); font-size: 1.0625rem; font-weight: 500; color: #FFFFFF; }
.lt-home-mark { width: 64px; height: 64px; display: grid; place-items: center; }
.lt-home-note { margin: 24px 0 0; text-align: center; font-size: .9375rem; }
.lt-home-staff { padding: 0 0 56px; }
#main-content .lt-home-staff h2 { margin: 0 0 16px; font-size: 1.375rem; font-weight: 600; color: #2E2760; }
.lt-home-apps { padding: 48px 0; }
.lt-home-apps-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
#main-content .lt-home-apps h2 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 700; }
.lt-home-apps-qr { width: 112px; border-radius: 8px; background: #FFFFFF; }
.lt-home-foot { background: #2E2760; color: #E6E2F8; }
.lt-home-foot .lt-footer { margin: 0; padding: 20px 0; color: inherit; }
.lt-home-foot a { color: #FFFFFF; }
.lt-home-foot a:focus-visible { outline: 3px solid #FFD666; outline-offset: 2px; }
/* D2: dark */
.lt-home-dark .lt-home-stage { background: #2E2760; color: #FFFFFF; }
.lt-home-dark .lt-home-lang .form-select { background-color: #2E2760; color: #FFFFFF; border-color: rgba(255, 255, 255, .55);
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.lt-home-dark .lt-home-lang-btn, .lt-home-dark .lt-home-btn-second { background: transparent; border: 2px solid #FFFFFF; color: #FFFFFF; }
.lt-home-dark .lt-home-lang-btn:hover, .lt-home-dark .lt-home-btn-second:hover { background: rgba(255, 255, 255, .14); color: #FFFFFF; border-color: #FFFFFF; }
.lt-home-dark .lt-home-btn-main { background: #FFFFFF; border-color: #FFFFFF; color: #2E2760; }
.lt-home-dark .lt-home-btn-main:hover { background: #EEEBF8; border-color: #EEEBF8; color: #1F1A4D; }
.lt-home-dark .lt-home-stage :focus-visible { outline: 3px solid #FFD666; outline-offset: 2px; box-shadow: none; }
.lt-home-dark .lt-home-why, .lt-home-dark .lt-home-staff { background: #EEEBF8; }
.lt-home-dark .lt-home-why h2 { color: #2E2760; }
.lt-home-dark .lt-home-panel { background: #2E2760; color: #E6E2F8; }
.lt-home-dark .lt-home-apps { background: #4F4596; color: #ECE9FA; }
.lt-home-dark .lt-home-apps h2 { color: #FFFFFF; }
.lt-home-dark .lt-home-apps :focus-visible { outline: 3px solid #FFD666; outline-offset: 2px; }
/* Sign-in pages (SignInLayout, "Card on the Purple Band"): the band with the logo on a white tile and Home; the page's
   tagline on the band and its card overlapping it. */
.lt-signin-band { background: #2E2760; padding-bottom: 140px; }
.lt-signin-logo .spp-logo-full { height: 56px; }
.lt-signin-logo:focus-visible, .lt-signin-home:focus-visible { outline: 3px solid #FFD666; outline-offset: 3px; }
.lt-signin-home { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 8px; color: #FFFFFF; font-weight: 600; text-decoration: none; }
.lt-signin-home:hover { color: #FFFFFF; background: rgba(255, 255, 255, .12); }
.lt-signin-body { margin-top: -132px; }
.lt-signin-tagline { margin: 0 0 1.25rem; text-align: center; font-size: 1.125rem; color: #E6E2F8; }
.lt-signin-card { max-width: 460px; margin: 0 auto 2rem; padding: 36px 32px; border-radius: 20px; background: #FFFFFF; box-shadow: 0 16px 40px rgba(46, 39, 96, .18); }
@media (max-width: 575.98px) { .lt-signin-card { padding: 28px 20px; } }
.lt-signin-head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 1.25rem; text-align: center; }
.lt-signin-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--lt-accent-tint, #EEEBF8); color: #2E2760; }
#main-content .lt-signin-card h1 { margin: 0; font-size: 1.6rem; font-weight: 700; }
.lt-signin-card .form-label { font-weight: 600; }
.lt-signin-card .form-control { min-height: 48px; border-radius: 10px; }
.lt-signin-password { position: relative; }
.lt-signin-password .form-label { padding-right: 10rem; }
.lt-signin-forgot { position: absolute; top: 0; right: 0; max-width: 10rem; padding: 0; border: 0; font-size: .875rem; line-height: 1.5; text-align: right; color: #2E2760; }
.lt-signin-submit { width: 100%; min-height: 52px; border-radius: 10px; font-size: 1.0625rem; font-weight: 700; }
.lt-signin-divider { display: flex; align-items: center; gap: 12px; margin: 1.5rem 0 1rem; font-size: .875rem; color: #5F5C73; text-align: center; }
.lt-signin-divider::before, .lt-signin-divider::after { content: ""; flex: 1; height: 1px; background: #E2E0EA; }
.lt-signin-create { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; border: 2px solid #2E2760; border-radius: 10px; color: #2E2760; font-weight: 700; }
.lt-signin-create:hover, .lt-signin-create:focus-visible { background: var(--lt-accent-tint, #EEEBF8); border-color: #2E2760; color: #1F1A4D; }
/* Create a New Account (Register) on the sign-in card: wider, the password rules ticked as they type. Buttons stay
   purple (green means Close / go back on this site). */
.lt-signin-card-wide { max-width: 560px; }
.lt-signin-icon-new { background: #E4F3EA; color: #1E6B3D; }
.lt-signin-intro { margin: 0; font-size: .9375rem; color: #4A4760; }
.lt-signin-checks { display: flex; flex-direction: column; gap: 8px; margin: 0 0 1rem; padding: 12px 14px; list-style: none; border-radius: 10px; background: #F6F5FA; font-size: .875rem; color: #4A4760; }
.lt-signin-checks li { display: flex; align-items: center; gap: 8px; }
.lt-signin-checks .lt-check-done { color: #1E6B3D; font-weight: 600; }
.lt-signin-switch { margin: 1.25rem 0 0; text-align: center; font-size: .9375rem; color: #4A4760; }
.lt-signin-switch a { font-weight: 700; }
/* The rest of the sign-in flow on SignInLayout: pages with the older card (.lt-account-card: email code, two-factor,
   admin password reset, staff sign-in) take the sign-in card's look; the others are wrapped in .lt-signin-card. */
.lt-signin-body .lt-account-card { max-width: 460px; border: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 16px 40px rgba(46, 39, 96, .18) !important; }
.lt-signin-body .lt-account-card .card-header { padding-top: 32px !important; border-bottom: 0; background: #FFFFFF; }
.lt-signin-body .lt-account-card .card-body { padding: 8px 32px 32px; }
.lt-signin-body #main-content .lt-account-card h1 { font-size: 1.6rem; font-weight: 700; }
.lt-signin-body .lt-account-card .form-control, .lt-signin-card .form-control { min-height: 48px; border-radius: 10px; }
.lt-signin-body .lt-account-card .form-label { font-weight: 600; }
@media (max-width: 575.98px) { .lt-signin-body .lt-account-card .card-body { padding: 8px 20px 24px; } }
#main-content .lt-signin-card h1.lt-signin-title { margin: 0 0 1rem; text-align: center; }
.lt-signin-readonly { margin-bottom: 1rem; }
/* Staff screens (StaffLayout + Shared/StaffBar): the slim purple bar, white panels on a light lavender page. */
.lt-staff-page { min-height: 100vh; background: #F6F5FA; }
.lt-staff-bar { background: #2E2760; color: #FFFFFF; }
.lt-staff-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-top: 10px; padding-bottom: 10px; }
.lt-staff-bar-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
#main-content .lt-staff-bar h1 { margin: 0; font-size: 1.375rem; font-weight: 700; color: #FFFFFF; }
.lt-staff-bar h1:focus { outline: none; }
.lt-staff-logo .spp-logo-full { height: 44px; }
@media (max-width: 575.98px) { .lt-staff-logo .spp-logo-full { display: none !important; } .lt-staff-logo .spp-logo-icon { display: block !important; height: 40px; width: 40px; } }
.lt-staff-bar-side { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .9375rem; }
.lt-staff-bar-detail { color: #E6E2F8; }
.lt-staff-bar-button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #8E86C8; border-radius: 8px; color: #FFFFFF; font-weight: 600; text-decoration: none; }
.lt-staff-bar-button:hover { background: rgba(255, 255, 255, .12); color: #FFFFFF; }
.lt-staff-bar-link { min-height: 40px; padding: 0 4px; border: 0; background: none; color: #FFFFFF; font-weight: 600; text-decoration: underline; }
.lt-staff-bar a:focus-visible, .lt-staff-bar button:focus-visible { outline: 3px solid #FFD666; outline-offset: 2px; }
.lt-staff-main { padding-top: 20px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 16px; }
.lt-staff-panel { padding: 18px 20px; border-radius: 16px; background: #FFFFFF; box-shadow: 0 2px 8px rgba(46, 39, 96, .08); }
.lt-staff-panel .form-control, .lt-staff-panel .form-select { min-height: 48px; border-radius: 10px; }
.lt-staff-saved { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: #E4F3EA; color: #154D2C; font-weight: 600; }
/* Lunch Count: a tile per option or item. */
.lt-count-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.lt-count-tile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid #E2E0EA; border-radius: 12px; }
.lt-count-tile label { font-weight: 600; }
.lt-count-tile .form-control { flex: none; width: 84px; min-height: 44px; text-align: center; }
/* Pre-Order Entry: Grade / Homeroom toggles, the item box, the students table and its selection pills. */
.lt-staff-toggles { display: flex; gap: 8px; }
.lt-staff-toggle { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid #C9C5DA; border-radius: 10px; font-weight: 600; cursor: pointer; }
.lt-staff-toggle-on { border: 2px solid #2E2760; background: #EEEBF8; color: #2E2760; font-weight: 700; }
.lt-staff-toggle:focus-within { outline: 3px solid #4F4596; outline-offset: 2px; }
.lt-staff-assign { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 16px; padding: 16px; border-radius: 12px; background: #F6F5FA; }
.lt-staff-assign .btn { min-height: 48px; }
.lt-staff-table { border: 1px solid #E2E0EA; border-radius: 12px; }
.lt-staff-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--lt-accent-tint, #EEEBF8); color: #2E2760; font-size: .875rem; font-weight: 600; }
/* The door scanner (Shared/TicketScanner): the result in big type on solid colors, the dark camera box. */
.lt-scan-result { display: flex; gap: 18px; align-items: center; padding: 22px 20px; border-radius: 18px; color: #FFFFFF; }
.lt-scan-ok { background: #1E6B3D; }
.lt-scan-reentry { background: #9A4A00; }
.lt-scan-no { background: #B42318; }
.lt-scan-mark { flex: none; width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #FFFFFF; }
.lt-scan-ok .lt-scan-mark { color: #1E6B3D; }
.lt-scan-reentry .lt-scan-mark { color: #9A4A00; }
.lt-scan-no .lt-scan-mark { color: #B42318; }
.lt-scan-title { margin-bottom: 4px; font-size: 2rem; font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.lt-scan-camera { width: 100%; min-height: 220px; border-radius: 16px; overflow: hidden; background: #1F1D2B; }
.lt-scan-camera-button { width: 100%; min-height: 52px; border-radius: 12px; font-weight: 700; font-size: 1.0625rem; }.lt-scan { display: flex; flex-direction: column; gap: 16px; }
.lt-scan > .row { margin-top: 0; }

/* District → Ticketing → Events (Admin/Store/Events.razor): count tiles, tabs, the ticked events' bar, status badges
   (text, not color alone), the sold bar and each row's Actions menu. */
.lt-ev-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 767.98px) { .lt-ev-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lt-ev-tile { text-align: left; padding: 12px 14px; border: 1px solid #d0d7de; border-radius: 10px; background: #fff; color: #1f2328; min-height: 44px; }
.lt-ev-tile:hover { border-color: #6e7781; }
.lt-ev-tile-on { border: 2px solid #1d4f9c; background: #eef4fb; }
.lt-ev-tile-label { display: block; font-size: .85rem; font-weight: 600; color: #57606a; }
.lt-ev-tile-count { display: block; font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.lt-ev-tile-hint { display: block; font-size: .78rem; color: #57606a; }
.lt-ev-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid #d0d7de; }
.lt-ev-tab { min-height: 44px; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; background: none; color: #57606a; }
.lt-ev-tab-on { border-bottom-color: #1d4f9c; color: #1f2328; font-weight: 600; }
.lt-ev-bulk { position: sticky; top: 0; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 12px; background: #eef4fb; border: 1px solid #b6cde8; border-radius: 8px; }
.lt-ev-table { min-width: 900px; }
.lt-ev-table thead th { background: #f6f8fa; }
.lt-ev-table .lt-ev-tick { width: 44px; }
.lt-ev-table .lt-ev-when { width: 130px; }
.lt-ev-table .lt-ev-status { width: 170px; }
.lt-ev-table .lt-ev-sold { width: 150px; }
.lt-ev-table .lt-ev-price { width: 110px; }
.lt-ev-table .lt-ev-act { width: 110px; }
.lt-ev-table tbody + tbody { border-top-width: 0; }
.lt-ev-group > th { background: #fbfcfd; font-size: .85rem; color: #57606a; padding-top: .5rem; padding-bottom: .5rem; }
.lt-ev-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; border: 1px solid; white-space: nowrap; }
.lt-ev-on { background: #e6f4ea; color: #1a5c32; border-color: #9cd3ad; }
.lt-ev-soon { background: #eef4fb; color: #1d4f9c; border-color: #b6cde8; }
.lt-ev-warn { background: #fff4e5; color: #8a4b00; border-color: #f2c48d; }
.lt-ev-out { background: #f3f0ff; color: #5b3fb3; border-color: #c9bdf2; }
.lt-ev-off { background: #f6f8fa; color: #57606a; border-color: #d0d7de; }
.lt-ev-bar { display: block; height: 6px; margin-top: 4px; background: #eaeef2; border-radius: 3px; overflow: hidden; }
.lt-ev-bar > span { display: block; height: 100%; background: #1d4f9c; }
.lt-ev-menu { position: relative; }
.lt-ev-menu > summary { list-style: none; }
.lt-ev-menu > summary::-webkit-details-marker { display: none; }
.lt-ev-menu > summary::after { content: " \25BE"; }
/* Opens in the row (the table scrolls sideways on phones, which would clip a floating menu). */
.lt-ev-menu-list { min-width: 150px; margin-top: 4px; padding: 4px 0; background: #fff; border: 1px solid #d0d7de; border-radius: 8px; }
.lt-ev-menu-list a { display: block; padding: 8px 14px; text-decoration: none; color: #1f2328; }
.lt-ev-menu-list a:hover, .lt-ev-menu-list a:focus { background: #eef4fb; }

/* The item / event page (Admin/Items/Item.razor, design A): cards beside a Setup checklist and a preview; Close /
   Delete / Save pinned to the bottom of the window; the Choose Games popup. */
.lt-item-chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: #f6f8fa; color: #57606a; border: 1px solid #d0d7de; }
.lt-item-chip-warn { background: #fff4e5; color: #8a4b00; border-color: #f2c48d; }
.lt-item-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.lt-item-form { flex: 999 1 600px; min-width: 0; }
.lt-item-aside { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
@media (max-width: 991.98px) { .lt-item-aside { position: static; max-width: none; } }
.lt-card { background: var(--bs-body-bg, #fff); border: 0; border-radius: 14px; padding: 24px; min-width: 0;
           box-shadow: 0 1px 2px rgba(20, 16, 50, .06), 0 4px 16px rgba(20, 16, 50, .05); }
.lt-card-title { font-size: 1.15rem; font-weight: 700; margin: 0 0 16px; }
.lt-kind-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 767.98px) { .lt-kind-cards { grid-template-columns: 1fr; } }
.lt-kind-card { display: block; padding: 14px 16px; border: 1px solid #d0d7de; border-radius: 10px; cursor: pointer; background: #fff; }
.lt-kind-card:hover { border-color: #6e7781; }
.lt-kind-on { border: 2px solid #1d4f9c; background: #eef4fb; }
.lt-kind-hint { display: block; font-size: .82rem; color: #57606a; margin-top: 4px; }
.lt-game-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #d0d7de; border-radius: 8px; background: #f6f8fa; }
.lt-check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 24px; }
.lt-option { padding: 10px 12px; border: 1px solid #eaeef2; border-radius: 8px; }
.lt-option .form-check { margin-bottom: 0; }
.lt-option .form-check-label { font-weight: 600; }
.lt-more-toggle { width: 100%; min-height: 52px; display: flex; align-items: center; gap: 8px; padding: 0 22px; border: 0; background: none; font-size: 1.05rem; font-weight: 700; color: inherit; text-align: left; }
.lt-setup { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lt-setup li { display: flex; align-items: flex-start; gap: 10px; }
.lt-setup-dot { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #afb8c1; color: #57606a; font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.lt-preview { display: flex; gap: 12px; padding: 12px; border: 1px solid #d0d7de; border-radius: 10px; }
.lt-preview-date { flex: 0 0 54px; height: 54px; border-radius: 8px; background: #ece9f6; color: #3d2f7a; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; line-height: 1.1; }
.lt-preview-date span:first-child { font-size: .7rem; }
.lt-preview-date span:last-child { font-size: 1.4rem; }
.lt-item-actions { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: 24px; padding: 12px 0; background: var(--bs-body-bg, #fff); border-top: 1px solid #d0d7de; }
.lt-gp-list { max-height: 24rem; overflow: auto; }
.lt-gp-day { position: sticky; top: 0; z-index: 1; padding: 6px 12px; background: #f1eff7; font-size: .85rem; font-weight: 600; }
.lt-gp-row { display: flex; align-items: flex-start; gap: 10px; padding: 8px 12px; border-top: 1px solid #eaeef2; cursor: pointer; margin: 0; }
.lt-gp-row:hover { background: #f6f8fa; }
.lt-gp-on { background: #eef4fb; }
.lt-gp-time { flex: 0 0 72px; font-weight: 600; }
/* Picker popups (Choose Games / Choose Events / Change Event; Steve: Close and Use were off the bottom): the popup fits
   the window and never scrolls itself; the ticked chips (lt-gp-chips) and the list scroll inside it instead. */
.lt-panel.lt-gp-panel { display: flex; flex-direction: column; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
.lt-gp-panel > * { flex: 0 0 auto; }
.lt-gp-panel > .lt-gp-body { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.lt-gp-panel .lt-gp-list { flex: 1 1 auto; min-height: 8rem; max-height: none; }
/* A window too short for the filters plus 8rem of list (a phone held sideways): the middle scrolls rather than clipping. */
@media (max-height: 560px) { .lt-gp-panel > .lt-gp-body { overflow: auto; } .lt-gp-panel .lt-gp-list { flex: 0 0 auto; max-height: 16rem; } }
/* Design A (Choose Games / Choose Events, Steve 2026-11-12): heading row, small filters, then found (left) and
   Selected (right) side by side, each scrolling; stacked on phones (Selected under the list, shorter). */
.lt-gp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid #dee2e6; }
.lt-gp-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 8px; padding: 8px 16px; background: #f8f9fa; border-bottom: 1px solid #eaeef2; font-size: .8125rem; }
.lt-gp-f { display: flex; flex-direction: column; gap: 2px; flex: 1 1 130px; min-width: 0; }
.lt-gp-f-wide { flex: 2 1 200px; }
.lt-gp-f > label { font-weight: 500; }
.lt-gp-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; width: 100%; }
.lt-gp-links .btn-link { font-size: .8125rem; }
.lt-gp-split { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.lt-gp-split > .lt-gp-list { order: 1; overflow: auto; min-height: 0; max-height: none; border-right: 1px solid #dee2e6; }
.lt-gp-picked { order: 2; display: flex; flex-direction: column; min-height: 0; background: #fbfcfd; }
.lt-gp-picked-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 1px solid #eaeef2; }
.lt-gp-picked-list { list-style: none; margin: 0; padding: 0; overflow: auto; flex: 1 1 auto; min-height: 0; font-size: .875rem; }
.lt-gp-picked-list > li { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-bottom: 1px solid #eef0f2; }
.lt-gp-picked-date { flex: 0 0 68px; color: #495057; }
@media (max-width: 767.98px) {
    .lt-gp-split { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(8rem, 1fr) auto; }
    .lt-gp-split > .lt-gp-list { border-right: 0; border-bottom: 1px solid #dee2e6; }
    .lt-gp-picked-list { max-height: 7.5rem; }
}
@media (max-height: 560px) { .lt-gp-panel { overflow: auto; } .lt-gp-split { flex: 0 0 auto; } .lt-gp-split > .lt-gp-list, .lt-gp-picked-list { max-height: 14rem; } }
/* Package picker: every seating option a box with its own ticket counts (outlined once it has tickets). */
.lt-pkg-opt-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 6px; }
.lt-pkg-box-on { border-color: var(--lt-accent, #4F4596) !important; box-shadow: 0 0 0 1px var(--lt-accent, #4F4596); }
/* Package Prices: each seating option a card like the Seating page's price groups (color edge, name, where), with a
   price per ticket type. */
.lt-pp-card { border: 1px solid #d0d7de; border-left: 6px solid #2E2760; border-radius: 10px; padding: 12px 14px; background: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.lt-pp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 220px; flex: 1 1 260px; }
.lt-pp-prices { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.lt-pp-price { display: flex; flex-direction: column; gap: 2px; width: 9.5rem; }
/* Sell Tickets popup (Schedule): each new event's row, name full width with its date and games under it, location beside. */
.lt-sell-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.4fr); gap: 8px 16px; align-items: start; padding: 10px 12px; border-top: 1px solid #eaeef2; }
.lt-sell-row:first-child { border-top: 0; }
.lt-sell-error { background: #fdecec; }
.lt-sell-copy { height: 16rem; }
/* Its parts keep their full height (Steve: the last new event was cut off); the popup's middle scrolls instead. */
.lt-sell-body > * { flex-shrink: 0; }
@media (max-width: 767.98px) { .lt-sell-row { grid-template-columns: minmax(0, 1fr); } .lt-sell-copy { height: auto; } .lt-sell-copy > .lt-gp-list { max-height: 14rem; } }
.lt-gp-chips { max-height: 5.5rem; overflow: auto; padding: 4px; border: 1px solid #eaeef2; border-radius: 8px; }
.lt-gp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border: 1px solid #b6cde8; border-radius: 999px; background: #eef4fb; font-size: .85rem; }

/* Ticket Lists (Admin/Store/EventTicketList.razor): the event's header and the Change Event popup's rows. */
.lt-tl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #d0d7de; border-radius: 12px; background: #f6f8fa; }
.lt-tl-pick { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 8px 12px; border: 0; border-top: 1px solid #eaeef2; background: #fff; color: inherit; font: inherit; }
.lt-tl-pick:hover, .lt-tl-pick:focus-visible { background: #eef4fb; }

/* Every admin page (Shared/PageHeader, FormCard, PageActions, RelatedLinks; Steve, 2026-11-12): a heading row with the
   page's main buttons on the right; edit pages as cards (fields side by side, labels above) with a side column of
   related pages; lists as one bordered table; Close / Delete / Save pinned to the bottom (lt-item-actions above). */
.lt-page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 1rem; }
.lt-page-intro { color: #57606a; margin: -.5rem 0 1rem; max-width: 70rem; }
.lt-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.lt-card-head .lt-card-title { margin: 0; }
.lt-card-intro { font-size: .9rem; color: #57606a; margin: -6px 0 14px; }
.lt-readonly-value { min-height: 38px; padding: 6px 0; }
.lt-page-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.lt-page-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lt-page-aside { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
@media (max-width: 991.98px) { .lt-page-aside { position: static; max-width: none; } }
.lt-filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 1rem; }
/* Lists: the Telerik grids look like the Events table (header band, rounded border, roomy rows). */
.k-grid.lt-grid-data { border: 1px solid #d0d7de; border-radius: 8px; overflow: hidden; }
.k-grid.lt-grid-data .k-grid-header, .k-grid.lt-grid-data .k-grid-header th, .k-grid.lt-grid-data .k-table-th { background: #f6f8fa; font-weight: 600; color: #1f2328; }
.k-grid.lt-grid-data .k-table-td, .k-grid.lt-grid-data tbody td { padding-top: .55rem; padding-bottom: .55rem; color: #1f2328; font-size: 1rem; }
.k-grid.lt-grid-data .k-table-row:hover { background: #f6f8fa; }
.lt-subsection { padding: 14px 0; border-top: 1px solid #eaeef2; }
.lt-subsection:first-of-type { padding-top: 0; border-top: 0; }
.lt-subsection-title { font-size: 1rem; font-weight: 600; margin: 0 0 8px; }
@media print { .lt-item-actions, .lt-page-aside { display: none !important; } }

/* Home / My Account tiles, Deactivate, Receipt, Verify Email (the card-style parent pages, 2026-11-16). */
.lt-menu-tiles { margin: 0; }
.lt-menu-tiles .lt-store-event { height: 100%; }
.lt-menu-tiles .lt-store-date { height: 56px; width: 56px; flex: none; color: var(--lt-accent-text, #4F4596); }
.lt-pay-card > legend .lt-pay-icon, .lt-pay-card-title .lt-pay-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--bs-tertiary-bg); color: var(--bs-primary); }
.lt-pay-card .lt-row-problem-icon { background: #FBE9EC; color: var(--bs-danger); }
.lt-stat-text { font-size: 1.05rem; overflow-wrap: anywhere; }
.lt-receipt-when { margin-left: auto; font-size: .95rem; font-weight: 400; color: var(--bs-secondary-color); }
.lt-receipt-sub { font-size: .8rem; font-weight: 600; color: var(--bs-secondary-color); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 6px; }
.lt-receipt-facts { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; }
.lt-receipt-facts dt { font-weight: 400; color: var(--bs-secondary-color); }
.lt-receipt-facts dd { margin: 0; overflow-wrap: anywhere; }
.lt-receipt-totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--bs-border-color); font-variant-numeric: tabular-nums; }
.lt-receipt-totals dt { font-weight: 400; text-align: right; }
.lt-receipt-totals dd { margin: 0; text-align: right; }
.lt-receipt-totals .lt-receipt-total { font-weight: 700; font-size: 1.1rem; }
@media print { .lt-pay-page { background: none; padding: 0; } .lt-pay-card { box-shadow: none; border: 1px solid #ccc; } }

/* Fees & Invoices (Parent/Items.razor): invoice / fee rows with the Pay box in front and the amount box on the right. */
.lt-row-check { flex: none; display: flex; align-items: center; min-height: 1.5rem; }
.lt-row-check .form-check-input { margin: 0; width: 1.25rem; height: 1.25rem; }
.lt-row-pay { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
/* A fee's page (Parent/ItemDetail.razor): the Student / School choice's legend as the card's heading. */
.lt-pay-choice > fieldset { margin-bottom: 0 !important; }
.lt-pay-choice > fieldset > legend { font-size: 1.15rem !important; font-weight: 700 !important; margin-bottom: 12px; }
/* Shopping Cart (Parent/Cart.razor): the lines inside a card, the totals in the summary card beside them. */
.lt-cart-lines .lt-cart-line { padding-inline: 0; }
.lt-cart-lines .lt-cart-line:first-child { padding-top: 0; }
.lt-cart-lines .lt-cart-line:last-child { padding-bottom: 0; }
.lt-pay-card .lt-cart-totals { margin: 0; justify-content: space-between; }
.lt-pay-card .lt-cart-totals dt { text-align: left; }
/* Meal Orders (Parent/MealOrders.razor): the week bar and the grid as slimmer cards. */
.lt-pay-card-tight { padding: 12px 16px; }

/* Students / cafeteria pages (the restyle in the payment pages' look, 2026-11-16): a card's title row with a button
   beside it; a StudentChoice / radio fieldset's legend inside a card reads as a heading; a step number floated beside a
   card whose heading is such a legend; two cards side by side (Item Restrictions); a stat label inside a row's side. */
.lt-pay-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.lt-pay-card-head .lt-pay-card-title { margin: 0; }
.lt-pay-card fieldset.mb-3 > legend.fs-6 { font-size: 1.05rem !important; font-weight: 700 !important; margin-bottom: 8px; }
.lt-pay-card > fieldset.mb-3:last-child { margin-bottom: 0 !important; }
.lt-pay-card > .lt-pay-n-float { float: left; margin: 2px 10px 0 0; }
.lt-pay-cols-even > [class*="col-"] > .lt-pay-card { height: 100%; }
.lt-row-side .lt-stat-label { font-size: .72rem; }
.lt-row.align-items-center .lt-row-side { align-self: center; }

/* Admin pages in the parent pages' style (Steve, 2026-11-16): under the PageHeader (and ErrorSummary) everything down to
   PageActions sits in <div class="lt-pay-page lt-admin-page">, the same grey panel; FormCard / .lt-card are the white
   shadowed cards, lists (lt-grid-data), filters (lt-filter-bar, AdminSearchBox, a "row align-items-end" of filters,
   lt-filter-card) and plain tables are white cards too. The pinned Close / Save bar stays under the panel. New admin
   pages wrap their content the same way; anything that isn't a card, grid or filter goes in a FormCard / .lt-card. */
.lt-admin-page { margin-bottom: 0; }
.lt-admin-page > :last-child { margin-bottom: 0; }
.lt-admin-page > .lt-card:not(:last-child), .lt-admin-page > form:not([class]) > .lt-card:not(:last-child) { margin-bottom: 16px; }
.lt-admin-page .k-grid.lt-grid-data { border: 0; border-radius: 14px; box-shadow: 0 1px 2px rgba(20, 16, 50, .06), 0 4px 16px rgba(20, 16, 50, .05); }
.lt-admin-page .lt-card .k-grid.lt-grid-data { border: 1px solid var(--bs-border-color); border-radius: 8px; box-shadow: none; }
.lt-admin-page > .lt-filter-bar, .lt-admin-page > .row.align-items-end, .lt-admin-page > form[role="search"], .lt-filter-card {
    background: var(--bs-body-bg); border-radius: 14px; padding: 16px 20px; margin: 0 0 16px;
    box-shadow: 0 1px 2px rgba(20, 16, 50, .06), 0 4px 16px rgba(20, 16, 50, .05); }
/* A Bootstrap row of filters: its columns' own gutters stay, so less padding at the sides and the top. */
.lt-admin-page > .row.align-items-end, .lt-admin-page > form[role="search"], .row.lt-filter-card { padding: 8px 12px 16px; }
.lt-admin-page > .table-responsive, .lt-admin-page > table.table {
    background: var(--bs-body-bg); border: 0 !important; border-radius: 14px !important; padding: 8px 16px;
    box-shadow: 0 1px 2px rgba(20, 16, 50, .06), 0 4px 16px rgba(20, 16, 50, .05); }
.lt-admin-page > .table-responsive > .table { margin-bottom: 0; }
.lt-admin-page > .table-responsive > .table > :last-child > tr:last-child > * { border-bottom: 0; }
.lt-admin-page .lt-tl-head, .lt-admin-page .lt-ev-tile:not(.lt-ev-tile-on) { background: var(--bs-body-bg); }
.lt-admin-page .lt-tl-head, .lt-admin-page .lt-ev-tile:not(.lt-ev-tile-on), .lt-admin-page .lt-venue-panel, .lt-admin-page .lt-venue-plan,
.lt-admin-page .lt-admin-tiles .lt-store-event { border-color: transparent; box-shadow: 0 1px 2px rgba(20, 16, 50, .06), 0 4px 16px rgba(20, 16, 50, .05); }
.lt-admin-page .lt-card .lt-venue-plan, .lt-admin-page .lt-card .lt-admin-tiles .lt-store-event { border-color: #E2E0EA; box-shadow: none; }
.lt-admin-page .lt-sched-bar { background: var(--bs-body-bg); }
/* Admin menus (Shared/MenuCards): the parent Home page's tiles, without an icon. */
.lt-admin-tiles { padding: 4px 0 8px; }
.lt-admin-tiles .lt-store-event { min-height: 76px; }
.lt-item-actions { margin-top: 16px; }
@media (max-width: 575.98px) { .lt-card { padding: 18px; } }
@media print { .lt-card { box-shadow: none; border: 1px solid #ccc; } .lt-admin-page .k-grid.lt-grid-data { box-shadow: none; border: 1px solid #ccc; } }
