:root {
    --bg: #0b0d12;
    --surface: #141820;
    --surface-2: #1a2030;
    --border: #2a3142;
    --text: #e8eaf0;
    --muted: #8b93a8;
    --primary: #5b8def;
    --primary-dim: rgba(91, 141, 239, 0.12);
    --success: #3dd68c;
    --error: #f56565;
    --warning: #ecc94b;
    --radius: 10px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

.sidebar {
    width: 240px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 1.25rem 0;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 100;
}

.nav-links { flex: 1; }

.brand {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0 1.25rem 1.5rem;
    color: var(--primary);
}

.sidebar a {
    display: block;
    padding: 0.65rem 1.25rem;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.15s;
}

.sidebar a:hover, .sidebar a.active {
    color: var(--text);
    background: rgba(79, 140, 255, 0.1);
    border-left: 3px solid var(--primary);
}

.content {
    flex: 1;
    padding: 1.5rem 2rem 3rem;
    overflow-x: auto;
    min-width: 0;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.page-header h1 { margin-bottom: 0.25rem; }

.page-subtitle {
    color: var(--muted);
    font-size: 0.9rem;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.header-row h1 { margin-bottom: 0; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
}

.card-label {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-value {
    font-size: 1.75rem;
    font-weight: 700;
}

.card-value.success { color: var(--success); }
.card-value.error { color: var(--error); }

.status-bar {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.status-ok { background: rgba(61, 214, 140, 0.15); color: var(--success); border: 1px solid rgba(61, 214, 140, 0.3); }
.status-error { background: rgba(245, 101, 101, 0.15); color: var(--error); border: 1px solid rgba(245, 101, 101, 0.3); }

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

th, td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background: rgba(0,0,0,0.2);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.05em;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success, .badge-success { background: rgba(61,214,140,0.2); color: var(--success); }
.badge-error, .badge-error { background: rgba(245,101,101,0.2); color: var(--error); }
.badge-running { background: rgba(236,201,75,0.2); color: var(--warning); }
.badge-inactive { background: rgba(139,144,160,0.2); color: var(--muted); }

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.15s;
}

.btn:hover { border-color: var(--primary); color: var(--primary); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { opacity: 0.9; color: #fff; }
.btn-danger:hover { border-color: var(--error); color: var(--error); }
.btn-sm { padding: 0.3rem 0.5rem; font-size: 0.8rem; }

.btn-label { display: none; }

.header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.action-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.card-wide { grid-column: 1 / -1; }

.url-break {
    word-break: break-all;
    font-size: 0.85rem;
    line-height: 1.4;
}

form.inline { display: inline; }

.form { max-width: 700px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.4rem; color: var(--muted); font-size: 0.875rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
}

.form-group textarea { font-family: 'Consolas', monospace; resize: vertical; }
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }
.form-row .flex-2 { flex: 2; }
.form-group.checkbox label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.form-group.checkbox input { width: auto; }

.alert {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.alert-error { background: rgba(245,101,101,0.15); border: 1px solid rgba(245,101,101,0.3); color: var(--error); }

.help-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--muted);
}

.help-box code { color: var(--primary); }

.muted { color: var(--muted); font-size: 0.85rem; }
.empty { text-align: center; color: var(--muted); padding: 2rem !important; }
.url-cell { max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.error-cell { max-width: 200px; overflow: hidden; text-overflow: ellipsis; color: var(--error); font-size: 0.85rem; }
.actions { white-space: nowrap; }

.filter-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.filter-bar select {
    padding: 0.4rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.response-preview {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
    max-height: 500px;
    font-size: 0.8rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: 'Consolas', 'Segoe UI', sans-serif;
    unicode-bidi: isolate;
}

.health-card {
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.health-ok { border-color: rgba(61,214,140,0.4); }
.health-fail { border-color: rgba(245,101,101,0.4); }

.health-status {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.health-ok .health-status { color: var(--success); }
.health-fail .health-status { color: var(--error); }

.monitor-section { margin-bottom: 2rem; }

.code-block {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

code { font-family: 'Consolas', monospace; color: var(--primary); }
code.small { font-size: 0.75rem; word-break: break-all; }

a { color: var(--primary); }

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg);
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.auth-card h1 { text-align: center; margin-bottom: 0.25rem; }
.auth-subtitle { text-align: center; color: var(--muted); margin-bottom: 1.5rem; }
.btn-block { width: 100%; text-align: center; }

.alert-success {
    background: rgba(61, 214, 140, 0.15);
    border: 1px solid rgba(61, 214, 140, 0.3);
    color: var(--success);
}

.sidebar-footer {
    margin-top: auto;
    padding: 1.25rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
}

.sidebar {
    display: flex;
    flex-direction: column;
}

.logout-link {
    display: block;
    margin-top: 0.5rem;
    color: var(--muted) !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.settings-form h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.1rem; color: var(--text); }
.settings-form h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--muted); }
.section-divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

.action-row { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }

.copy-box {
    display: flex;
    gap: 0.5rem;
    max-width: 100%;
}

.copy-input {
    flex: 1;
    padding: 0.6rem 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-family: 'Consolas', monospace;
    font-size: 0.8rem;
    min-width: 0;
}

.steps-list {
    padding-left: 1.5rem;
    line-height: 1.8;
    color: var(--muted);
}

.steps-list li { margin-bottom: 0.25rem; }
.steps-list strong { color: var(--text); }

/* Toolbar & filters */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.toolbar-search { flex: 1; min-width: 180px; }

.input-search,
.toolbar-select {
    width: 100%;
    padding: 0.55rem 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9rem;
}

.toolbar-select { width: auto; min-width: 140px; }

.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--muted);
}

.btn-ghost:hover { color: var(--text); border-color: var(--border); }

.btn.copied {
    border-color: var(--success);
    color: var(--success);
}

.btn-icon { min-width: 2rem; text-align: center; padding: 0.3rem 0.45rem; }

/* Group panels */
.group-panel {
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.group-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    user-select: none;
}

.group-toggle {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0.2rem;
    transition: transform 0.2s;
}

.group-panel.is-collapsed .group-toggle { transform: rotate(-90deg); }
.group-panel.is-collapsed .group-body { display: none; }

.group-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text);
}

.group-meta {
    font-size: 0.8rem;
    color: var(--muted);
    margin-left: auto;
}

.group-run-form { margin-left: 0.5rem; }

.table-wrap { overflow-x: auto; }

.sort-link {
    color: inherit;
    text-decoration: none;
}

.sort-link:hover { color: var(--primary); }

.cron-code { font-size: 0.8rem; }

.nowrap { white-space: nowrap; font-size: 0.85rem; }

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--muted);
}

.empty-state p { margin-bottom: 1rem; }

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
}

.pagination-info { color: var(--muted); font-size: 0.9rem; }

/* Mobile top bar (hidden on desktop) */
.mobile-topbar {
    display: none;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 90;
    -webkit-tap-highlight-color: transparent;
}

h1 { font-size: 1.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 1.1rem; margin: 1.5rem 0 1rem; color: var(--muted); }

/* ─── Mobile ─── */
@media (max-width: 900px) {
    body {
        flex-direction: column;
        padding-top: calc(3.25rem + env(safe-area-inset-top, 0px));
    }

    .mobile-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 200;
        height: calc(3.25rem + env(safe-area-inset-top, 0px));
        padding: env(safe-area-inset-top, 0px) 0.75rem 0 0.75rem;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .mobile-topbar-brand {
        font-weight: 700;
        font-size: 1rem;
        color: var(--primary);
        flex: 1;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 0.25rem;
    }

    .mobile-topbar-spacer {
        width: 2.75rem;
        flex-shrink: 0;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.75rem;
        height: 2.75rem;
        flex-shrink: 0;
        background: var(--bg);
        border: 1px solid var(--border);
        color: var(--text);
        border-radius: 10px;
        cursor: pointer;
        font-size: 1.2rem;
        -webkit-tap-highlight-color: transparent;
    }

    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: min(280px, 85vw);
        height: 100vh;
        height: 100dvh;
        transform: translateX(-105%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow);
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    body.nav-open .sidebar { transform: translateX(0); }
    body.nav-open .sidebar-overlay { display: block; }

    .sidebar a {
        padding: 0.85rem 1.25rem;
        font-size: 1rem;
    }

    .content {
        padding: 1rem 0.85rem calc(2rem + env(safe-area-inset-bottom, 0px));
        width: 100%;
    }

    h1 { font-size: 1.35rem; margin-bottom: 0.5rem; }

    .page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .page-header .btn,
    .page-header .btn-primary {
        width: 100%;
        text-align: center;
        justify-content: center;
        min-height: 2.75rem;
    }

    .header-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .header-row .btn {
        width: 100%;
        text-align: center;
        min-height: 2.75rem;
    }

    .header-actions {
        flex-direction: column;
    }

    .header-actions .btn {
        width: 100%;
        text-align: center;
        min-height: 2.75rem;
    }

    .status-bar {
        font-size: 0.9rem;
        line-height: 1.5;
        word-break: break-word;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
    }

    .card {
        padding: 1rem;
    }

    .card-value {
        font-size: 1.35rem;
    }

    .card-label {
        font-size: 0.7rem;
    }

    .detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }

    .toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .toolbar-search { min-width: 0; }

    .toolbar .btn,
    .toolbar .btn-ghost {
        width: 100%;
        text-align: center;
        min-height: 2.75rem;
    }

    .toolbar-select { width: 100%; min-width: 0; }

    .input-search,
    .toolbar-select,
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        min-height: 2.75rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form { max-width: none; }

    .group-header {
        flex-wrap: wrap;
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .group-title {
        flex: 1;
        min-width: 0;
        font-size: 0.95rem;
        word-break: break-word;
    }

    .group-meta {
        display: block;
        width: 100%;
        margin-left: 1.5rem;
        font-size: 0.75rem;
    }

    .group-run-form {
        margin-left: 0;
        width: 100%;
    }

    .group-run-form .btn {
        width: 100%;
        min-height: 2.5rem;
    }

    .group-panel .table-wrap {
        padding: 0 0.5rem 0.5rem;
    }

    /* Card layout for tables */
    .data-table {
        border: none;
        background: transparent;
    }

    .data-table thead { display: none; }

    .data-table tbody {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .data-table tr.data-row {
        display: block;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
    }

    .data-table tr.data-row:hover td { background: transparent; }

    .data-table tr.empty-row {
        display: block;
        border: 1px dashed var(--border);
        border-radius: var(--radius);
    }

    .data-table tr.empty-row td {
        display: block;
        border: none;
    }

    .data-table tr.empty-row td::before { display: none; }

    .data-table td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.65rem 0.85rem;
        border-bottom: 1px solid var(--border);
        font-size: 0.9rem;
        text-align: right;
    }

    .data-table td:last-child { border-bottom: none; }

    .data-table td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.7rem;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.04em;
        text-align: left;
        flex-shrink: 0;
        min-width: 5.5rem;
        max-width: 40%;
        padding-top: 0.1rem;
    }

    .data-table td.actions {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .data-table td.actions::before {
        max-width: none;
        margin-bottom: 0.25rem;
    }

    .data-table .url-cell {
        max-width: none;
        white-space: normal;
        word-break: break-all;
        text-align: left;
    }

    .data-table .error-cell {
        max-width: none;
        white-space: normal;
        word-break: break-word;
        text-align: left;
    }

    .data-table .nowrap {
        white-space: normal;
        font-size: 0.85rem;
    }

    .action-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
        width: 100%;
    }

    .action-grid .btn-icon {
        min-height: 2.75rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.15rem;
        padding: 0.4rem 0.25rem;
        font-size: 0.95rem;
    }

    .btn-label {
        display: block;
        font-size: 0.6rem;
        font-weight: 500;
        color: var(--muted);
        line-height: 1;
    }

    .btn-icon:hover .btn-label { color: inherit; }

    .actions { white-space: normal; }

    .pagination {
        flex-direction: column;
        gap: 0.65rem;
    }

    .pagination .btn {
        width: 100%;
        min-height: 2.75rem;
        text-align: center;
    }

    .copy-box {
        flex-direction: column;
    }

    .copy-box .btn {
        width: 100%;
        min-height: 2.75rem;
        text-align: center;
    }

    .action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .action-row .btn,
    .action-row form {
        width: 100%;
    }

    .action-row .btn {
        min-height: 2.75rem;
        text-align: center;
    }

    .help-box {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .help-box code {
        word-break: break-all;
    }

    .response-preview {
        max-height: 60vh;
        font-size: 0.75rem;
        padding: 0.75rem;
        border-radius: var(--radius);
    }

    .code-block {
        overflow-x: auto;
        word-break: break-all;
        white-space: pre-wrap;
        font-size: 0.75rem;
    }

    .auth-card {
        margin: 1rem;
        padding: 1.5rem;
        border-radius: var(--radius);
    }

    .auth-page {
        padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
    }

    .settings-form .btn-primary {
        width: 100%;
        min-height: 2.75rem;
    }

    .job-form .btn-primary,
    .form > .btn-primary {
        width: 100%;
        min-height: 2.75rem;
    }
}

@media (max-width: 380px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tenant-card .btn { margin-top: 0.25rem; }

.success-text { color: var(--success); }
.error-text { color: var(--error); }

.tenant-banner {
    margin: 0 1rem 1rem;
    padding: 0.75rem;
    background: var(--primary-dim);
    border: 1px solid rgba(91, 141, 239, 0.25);
    border-radius: 8px;
    font-size: 0.85rem;
}

.tenant-banner-label {
    display: block;
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.tenant-banner-exit {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
}

.health-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.4rem;
    vertical-align: middle;
}

.health-ok { background: var(--success); }
.health-error { background: var(--error); }
.health-running { background: var(--warning); }
.health-unknown { background: var(--muted); }

.alert-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.alert-section {
    background: rgba(245, 101, 101, 0.08);
    border: 1px solid rgba(245, 101, 101, 0.25);
    border-radius: var(--radius);
    padding: 1rem;
}

.alert-section h2 {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: var(--error);
}

.alert-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.alert-list li {
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.alert-list li:last-child { border-bottom: none; }
