:root {
    --primary: #0b2341;
    --primary-dark: #081a31;
    --primary-soft: #eef3f9;
    --accent: #c89b3c;
    --accent-soft: #f4ead4;

    --app-status-height: 32px;
    --app-navbar-height: 40px;
    --app-footer-height: 26px;
    --app-content-y: 1rem;

    --success: #16a34a;
    --success-soft: #dcfce7;
    --warning: #d97706;
    --warning-soft: #fef3c7;
    --danger: #dc2626;
    --danger-soft: #fee2e2;
    --info: #0284c7;
    --info-soft: #e0f2fe;

    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-soft: #94a3b8;
    --text-inverse: #ffffff;

    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-soft: #f1f5f9;

    --border-light: #e2e8f0;
    --border-mid: #cbd5e1;

    --statusbar-bg: #0b1220;
    --statusbar-text: #ffffff;

    --font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --shadow-xs: 0 1px 1px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 45px rgba(15, 23, 42, 0.12);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    margin: 0;
    font-family: var(--font-main);
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--text-main);
    background:
        radial-gradient(circle at top right, rgba(200, 155, 60, 0.10), transparent 28%),
        radial-gradient(circle at top left, rgba(11, 35, 65, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.system-status-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--app-status-height);
    min-height: var(--app-status-height);
    z-index: 1045;
    background: var(--statusbar-bg);
    color: var(--statusbar-text);
    border-bottom: 2px solid var(--accent);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    min-height: 20px;
    padding: 0 0.55rem;
    white-space: nowrap;
    font-size: 0.76rem;
    line-height: var(--app-status-height);
    vertical-align: middle;
    color: rgba(255,255,255,0.95);
}

.user-role-pill {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.status-separator {
    color: rgba(255,255,255,0.72);
    font-weight: 800;
}

.status-brand-mark {
    font-weight: 900;
    font-size: 0.98rem;
    color: rgba(255,255,255,0.96);
    letter-spacing: 0.3px;
    line-height: 1;
    white-space: nowrap;
}

.status-tenant-logo {
    height: calc(var(--app-status-height) - 10px);
    max-width: 140px;
    object-fit: contain;
    vertical-align: middle;
}

.brand-dot {
    color: var(--accent);
}

.status-brand-link {
    text-decoration: none !important;
}

.status-brand-link:hover,
.status-brand-link:focus {
    color: rgba(255,255,255,0.96) !important;
    text-decoration: none !important;
}

.navbar-fixed {
    position: fixed;
    top: var(--app-status-height);
    left: 0;
    right: 0;
    height: var(--app-navbar-height);
    min-height: var(--app-navbar-height);
    z-index: 1030;
    background: #ffffff !important;
    border-bottom: 1px solid var(--border-light) !important;
    box-shadow: 0 10px 22px rgba(11, 29, 58, 0.08);
}

.navbar-fixed .container-fluid,
.navbar-fixed .navbar-collapse,
.navbar-fixed .navbar-nav {
    height: 100%;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--primary) !important;
    letter-spacing: -0.02em;
}


.navbar .nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--primary) !important;
    border-radius: 0;
    position: relative;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    background: transparent;
    color: var(--primary-dark) !important;
}

.navbar .nav-link.active:not(.dropdown-toggle)::after {
    content: "";
    position: absolute;
    left: 0.55rem;
    right: 0.55rem;
    bottom: -0.18rem;
    height: 2px;
    border-radius: 999px;
    background: var(--accent) !important;
}

.navbar .dropdown-toggle.active::after {
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.navbar .nav-link,
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active,
.navbar .dropdown-toggle,
.navbar .dropdown-toggle:hover,
.navbar .dropdown-toggle:focus,
.navbar .dropdown-toggle.active {
    text-decoration: none !important;
}

.dropdown-item.active,
.dropdown-item:active {
    background: var(--accent-soft);
    color: var(--primary-dark);
    font-weight: 750;
}

.navbar-toggler {
    border-color: rgba(11, 29, 58, 0.18);
    padding: 0.15rem 0.35rem;
    font-size: 0.85rem;
}

.navbar-dark .navbar-toggler-icon {
    filter: invert(13%) sepia(72%) saturate(1052%) hue-rotate(188deg) brightness(91%) contrast(99%);
}

.main-content {
    position: fixed;
    top: calc(var(--app-status-height) + var(--app-navbar-height));
    bottom: var(--app-footer-height);
    left: 0;
    right: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 0;
    padding-bottom: var(--app-content-y);
}

.footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--app-footer-height);
    min-height: var(--app-footer-height);
    z-index: 1020;
    background: #ffffff;
    border-top: 2px solid var(--accent);
}

.footer-fixed .container-fluid {
    height: 100%;
    display: flex;
    align-items: center;
}

.footer-tight-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
}

.footer-left > * + *,
.footer-right > * + * {
    position: relative;
}

.footer-left > * + *::before,
.footer-right > * + *::before {
    content: "|";
    color: #94a3b8;
    font-weight: 500;
    margin-right: 0.3rem;
}

.footer-text,
.footer-muted {
    color: #4b5563;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

.footer-link {
    color: #4b5563;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--primary, #16213E);
    text-decoration: underline;
}

.footer-fixed .badge {
    font-size: 0.52rem;
    line-height: 1;
    padding: 0.12rem 0.34rem;
    border-radius: 999px;
    vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 750;
    letter-spacing: -0.02em;
}

.page-shell {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    /* No max-width — molo-content-wrap controls the outer constraint */
}

/* Content area — expanded width, edge-to-edge feel (matches SACCO reference) */
.molo-content-wrap {
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 1400px) {
    .molo-content-wrap {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 768px) {
    .molo-content-wrap {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

.page-hero {
    border: 1px solid rgba(11, 35, 65, 0.12);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.35rem;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248, 250, 252, 0.96)),
        linear-gradient(135deg, rgba(11,35,65,0.07), rgba(200,155,60,0.07));
    box-shadow: var(--shadow-md);
}

.page-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-title {
    font-size: 1.6rem;
    font-weight: 850;
    color: var(--text-main);
    letter-spacing: -0.035em;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card {
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(200, 155, 60, 0.32);
}

.card-body {
    padding: 1.15rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 750;
    color: var(--text-main);
    margin-bottom: 0.85rem;
}

.dashboard-panel {
    overflow: hidden;
}

.dashboard-panel-header {
    background: rgba(11, 35, 65, 0.035);
    border-bottom: 1px solid rgba(200, 155, 60, 0.32);
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 750;
    padding: 0.65rem 0.9rem;
}

.soft-check-panel {
    background: rgba(200, 155, 60, 0.08);
    border: 1px solid rgba(200, 155, 60, 0.22);
    border-radius: var(--radius-md);
    padding: 0.55rem 0.8rem;
}

.soft-check-panel .form-check {
    display: grid;
    grid-template-columns: 1rem 1fr;
    align-items: start;
    column-gap: 0.55rem;
    margin-bottom: 0.15rem !important;
    min-height: auto;
    padding-left: 0;
}

.soft-check-panel .form-check-input {
    width: 1rem !important;
    height: 1rem !important;
    min-width: 1rem;
    min-height: 1rem;
    margin: 0.18rem 0 0 0;
    padding: 0;
    flex-shrink: 0;
}

.soft-check-panel .form-check-label {
    margin-bottom: 0;
    line-height: 1.25;
}

.soft-check-panel .form-text {
    margin-left: 1.55rem;
}

button,
.btn {
    border-radius: 12px;
    font-weight: 750;
    font-size: 0.9rem;
    padding: 0.58rem 0.95rem;
    box-shadow: none;
}

.btn-primary,
button[type="submit"] {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
button[type="submit"]:hover,
button[type="submit"]:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

.btn-warning {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

label,
label.form-label {
    font-size: 0.88rem;
    font-weight: 750;
    color: var(--text-main);
    margin-bottom: 0.45rem;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea,
.form-control,
.form-select,
textarea.form-control {
    border-radius: 12px;
    border: 1px solid var(--border-mid);
    min-height: 44px;
    font-size: 0.92rem;
    color: var(--text-main);
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
    width: min(100%, 520px);
    padding: 0.55rem 0.75rem;
}

textarea,
textarea.form-control {
    min-height: 110px;
}

.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(200, 155, 60, 0.18);
    outline: none;
}

.table-responsive {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: var(--radius-lg);
    overflow: auto;
    background: #fff;
}

.table,
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    background: transparent;
}

.table > :not(caption) > * > *,
th,
td {
    padding: 0.72rem 0.78rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    font-size: 0.9rem;
    text-align: left;
}

.table thead th,
thead th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 850;
    color: #475569;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    white-space: nowrap;
}

.table-hover tbody tr:hover,
tbody tr:hover {
    background: rgba(200, 155, 60, 0.055);
}

.alert {
    border: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0.9rem;
}

.alert-success {
    background: var(--success-soft);
    color: var(--success);
}

.alert-danger {
    background: var(--danger-soft);
    color: var(--danger);
}

.alert-info {
    background: var(--info-soft);
    color: var(--info);
}

.alert-warning {
    background: var(--warning-soft);
    color: var(--warning);
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.34rem 0.68rem;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid transparent;
}

.badge-soft.approved,
.badge-soft.active,
.badge-soft.paid {
    color: var(--success);
    background: var(--success-soft);
    border-color: rgba(22, 163, 74, 0.14);
}

.badge-soft.pending {
    color: var(--warning);
    background: var(--warning-soft);
    border-color: rgba(217, 119, 6, 0.16);
}

.badge-soft.danger,
.badge-soft.inactive {
    color: var(--danger);
    background: var(--danger-soft);
    border-color: rgba(220, 38, 38, 0.14);
}

.empty-state {
    border: 1px dashed rgba(148, 163, 184, 0.42);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
    color: var(--text-muted);
    background: rgba(248, 250, 252, 0.7);
}

.action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

@media (max-height: 800px) {
    :root {
        --app-status-height: 30px;
        --app-navbar-height: 36px;
        --app-footer-height: 24px;
        --app-content-y: 0.65rem;
    }

    body {
        font-size: 0.88rem;
        line-height: 1.4;
    }

    .system-status-bar {
        font-size: 0.64rem;
    }

    .status-pill {
        padding: 0 0.45rem;
        font-size: 0.72rem;
    }

    .card-body {
        padding: 0.8rem;
    }

    .btn {
        border-radius: 9px;
        font-size: 0.8rem;
        padding: 0.4rem 0.68rem;
    }

    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea,
    .form-control,
    .form-select {
        min-height: 36px;
        border-radius: 9px;
        font-size: 0.84rem;
    }

    .table > :not(caption) > * > *,
    th,
    td {
        padding: 0.46rem 0.55rem;
    }
}

@media (max-width: 991.98px) {
    html,
    body {
        overflow: auto;
    }

    .system-status-bar {
        position: static;
        height: auto;
        min-height: 30px;
        padding: 0.25rem 0;
    }

    .navbar-fixed {
        position: sticky;
        top: 0;
        min-height: auto;
    }

    .main-content {
        position: static;
        padding: 0.65rem 0 0.9rem;
        min-height: calc(100vh - 64px);
        overflow: visible;
    }

    .footer-fixed {
        position: static;
        height: auto;
        min-height: 26px;
        padding: 0.45rem 0;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 0.86rem;
    }

    .navbar-brand {
        font-size: 0.95rem;
        max-width: 58vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .navbar .nav-link {
        padding: 0.48rem 0.65rem;
        font-size: 0.84rem;
        border-radius: 9px;
    }

    .page-hero {
        padding: 0.75rem 0.8rem;
        border-radius: 14px;
    }

    .page-title {
        font-size: 1.12rem;
        line-height: 1.2;
    }

    .card-body {
        padding: 0.75rem;
    }

    .table-responsive {
        border-radius: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table,
    table {
        font-size: 0.78rem;
        min-width: 640px;
    }
}

/* ===== Top bar compact overrides =====
   Neutralize Bootstrap utilities on the status bar so it matches the
   compact Ikapun-style height and text density.
*/
.system-status-bar.bg-dark {
    background: var(--statusbar-bg) !important;
}

.system-status-bar.py-1 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.system-status-bar {
    height: var(--app-status-height) !important;
    min-height: var(--app-status-height) !important;
    line-height: 1 !important;
}

.system-status-bar .status-brand-mark,
.system-status-bar > .fw-bold,
.system-status-bar .fs-5 {
    font-size: 0.98rem !important;
    line-height: 1 !important;
    letter-spacing: 0.3px !important;
}

.system-status-bar .status-pill,
.system-status-bar .user-role-pill {
    font-size: 0.76rem !important;
    min-height: 20px !important;
}

.system-status-bar .text-warning,
.system-status-bar .brand-dot {
    color: var(--accent) !important;
}
.footer-text:hover,
a.footer-text:focus {
    color: var(--primary-dark);
    text-decoration: none;
}
/* Utility classes to avoid inline styles per project coding standards */
.col-checkbox {
    width: 40px;
}

.school-switcher {
    width: auto;
    min-width: 140px;
    max-width: 220px;
    appearance: none;
    -webkit-appearance: none;
    background-color: rgba(255,255,255,0.08) !important;
    background-image: 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 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 12px 12px;
    border: 1px solid rgba(255,255,255,0.14) !important;
    border-radius: 999px !important;
    color: rgba(255,255,255,0.95) !important;
    font-size: 0.76rem !important;
    min-height: 20px;
    line-height: var(--app-status-height);
    padding: 0 1.6rem 0 0.55rem !important;
}

.school-switcher:focus {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3) !important;
    outline: none;
}

.school-switcher option {
    color: #0b2341;
    background-color: #ffffff;
}

.col-score {
    max-width: 140px;
}

.card-narrow {
    max-width: 480px;
}

/* Profile photos */
.profile-photo-thumb {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color, #dee2e6);
}

.profile-photo-avatar {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--border-color, #dee2e6);
}

.profile-photo-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary, #16213E);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.profile-photo-placeholder-lg {
    width: 96px;
    height: 96px;
    border-radius: 8px;
    background: var(--primary, #16213E);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.75rem;
}

.navbar-brand-subtle {
    opacity: .9;
    font-weight: 800;
    font-size: 1.05rem;
}

.navbar-fixed .nav-link i.bi {
    margin-right: 0.4rem;
    font-size: 0.9rem;
}

/* ══════════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS — floating, fixed position, no layout shift
   Matches the SACCO reference: flash messages render as dismissible,
   auto-hiding toasts instead of inline alerts that push page content
   down or leave a phantom empty container consuming layout space.
   ══════════════════════════════════════════════════════════════════ */
.toast-stack {
    position: fixed;
    top: calc(var(--app-status-height) + var(--app-navbar-height) + 0.75rem);
    right: 1rem;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: min(380px, calc(100vw - 2rem));
    pointer-events: none;
}

.app-toast {
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 0.75rem;
    box-shadow: 0 12px 28px rgba(11,29,58,0.18);
    border-left: 4px solid var(--primary, #0b2341);
}

.toast-body-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.65rem 0.7rem;
}

.app-toast-icon {
    font-size: 1.05rem;
    line-height: 1.4;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.app-toast-message {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary, #0b2341);
    line-height: 1.4;
    word-break: break-word;
}

.app-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0.1rem;
    color: var(--text-muted, #64748b);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 0.3rem;
    transition: background 0.15s ease, color 0.15s ease;
}
.app-toast-close:hover {
    background: rgba(11,29,58,0.06);
    color: var(--primary, #0b2341);
}

.app-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2.5px;
    width: 100%;
    background: rgba(11,29,58,0.12);
    transform-origin: left;
    animation: toast-progress-shrink linear forwards;
    animation-duration: inherit;
}

@keyframes toast-progress-shrink {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}

/* Category accents */
.app-toast-success { border-left-color: #15803d; }
.app-toast-success .app-toast-icon { color: #15803d; }
.app-toast-success .app-toast-progress { background: rgba(21,128,61,0.18); }

.app-toast-info { border-left-color: #0369a1; }
.app-toast-info .app-toast-icon { color: #0369a1; }
.app-toast-info .app-toast-progress { background: rgba(3,105,161,0.18); }

.app-toast-warning { border-left-color: var(--accent, #c89b3c); }
.app-toast-warning .app-toast-icon { color: #b88a13; }
.app-toast-warning .app-toast-progress { background: rgba(200,155,60,0.25); }

.app-toast-danger { border-left-color: #dc2626; }
.app-toast-danger .app-toast-icon { color: #dc2626; }
.app-toast-danger .app-toast-progress { background: rgba(220,38,38,0.18); }

@media (max-width: 768px) {
    .toast-stack {
        top: calc(var(--app-status-height) + var(--app-navbar-height) + 0.5rem);
        right: 0.5rem;
        left: 0.5rem;
        width: auto;
    }
}
