/* Novus MDM Admin Console — Novus EdTech design system */
:root { --adm-primary: #00BCD4; --adm-border: #e8edf2; --adm-surface: #f8fafc; }

/* Page banner */
.adm-page { background:#fff;border:1px solid var(--adm-border);border-radius:14px;padding:1.25rem 1.5rem;margin-bottom:1.5rem;box-shadow:0 1px 3px rgba(0,0,0,.04); }
.adm-page__breadcrumb { font-size:.8125rem;color:#6c757d;margin-bottom:.35rem; }
.adm-page__breadcrumb a { color:var(--adm-primary);text-decoration:none; }
.adm-page__title { font-size:1.375rem;font-weight:700;margin:0; }
.adm-page__subtitle { font-size:.875rem;color:#6c757d;margin:.25rem 0 0; }

/* Hero aliases */
.adm-hero { background:linear-gradient(135deg,#00BCD4 0%,#00ACC1 55%,#2196F3 100%);border-radius:16px;color:#fff;padding:1.5rem 1.75rem;margin-bottom:1.5rem;box-shadow:0 4px 20px rgba(0,188,212,.25); }
.adm-hero__breadcrumb { font-size:.8125rem;opacity:.85;margin-bottom:.75rem; }
.adm-hero__breadcrumb a { color:rgba(255,255,255,.9);text-decoration:none; }
.adm-hero__icon { width:56px;height:56px;border-radius:14px;background:rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;font-size:1.75rem;flex-shrink:0; }
.adm-hero__title { font-size:1.5rem;font-weight:700;margin:0;line-height:1.3; }
.adm-hero__meta { font-family:ui-monospace,monospace;font-size:.8125rem;background:rgba(0,0,0,.2);padding:.25rem .5rem;border-radius:6px;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block; }
.adm-hero__badges { display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem; }
.adm-hero__badge { display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .65rem;border-radius:999px;font-size:.75rem;font-weight:600;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.25); }
.adm-hero__actions .btn { border-color:rgba(255,255,255,.4);color:#fff;background:rgba(255,255,255,.1); }
.adm-hero__actions .btn:hover { background:rgba(255,255,255,.22);color:#fff; }

/* Stat aliases */
.adm-stat-grid { margin-bottom:1.5rem; }
.adm-stat-card { background:#fff;border:1px solid var(--adm-border);border-radius:12px;padding:1rem 1.15rem;height:100%;box-shadow:0 1px 3px rgba(0,0,0,.05);transition:box-shadow .2s,transform .2s;text-decoration:none;color:inherit;display:block; }
a.adm-stat-card:hover { box-shadow:0 4px 12px rgba(0,188,212,.08);transform:translateY(-1px);color:inherit; }
.adm-stat-card__icon { width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.25rem;flex-shrink:0; }
.adm-stat-card__icon--primary { background:#cfe2ff;color:#084298; }
.adm-stat-card__icon--success { background:#d1e7dd;color:#0f5132; }
.adm-stat-card__icon--warning { background:#fff3cd;color:#664d03; }
.adm-stat-card__icon--danger { background:#f8d7da;color:#842029; }
.adm-stat-card__icon--info { background:#cff4fc;color:#055160; }
.adm-stat-card__icon--purple { background:#e2d9f3;color:#432874; }
.adm-stat-card__icon--secondary { background:#e9ecef;color:#495057; }
.adm-stat-card__label { font-size:.75rem;color:#6c757d;text-transform:uppercase;letter-spacing:.03em;font-weight:600;margin-bottom:.15rem; }
.adm-stat-card__value { font-size:1.125rem;font-weight:700;color:#212529; }
.adm-stat-card__sub { font-size:.75rem;color:#6c757d;margin-top:.15rem; }
.adm-stat-card__bar { height:4px;border-radius:2px;background:#e9ecef;margin-top:.5rem;overflow:hidden; }
.adm-stat-card__bar-fill { height:100%;border-radius:2px; }
.adm-stat-card__bar-fill--success { background:#198754; }
.adm-stat-card__bar-fill--warning { background:#ffc107; }
.adm-stat-card__bar-fill--danger { background:#dc3545; }

/* Tabs aliases */
.adm-tabs { border-bottom:2px solid var(--adm-border);margin-bottom:0;gap:.25rem; }
.adm-tabs .nav-link { border:none;border-bottom:2px solid transparent;margin-bottom:-2px;color:#6c757d;font-weight:600;font-size:.875rem;padding:.75rem 1rem;border-radius:8px 8px 0 0;display:inline-flex;align-items:center;gap:.4rem; }
.adm-tabs .nav-link:hover { color:var(--adm-primary);background:var(--adm-surface); }
.adm-tabs .nav-link.active { color:var(--adm-primary);border-bottom-color:var(--adm-primary); }
.adm-tab-badge { font-size:.65rem;padding:.15rem .45rem;border-radius:999px;background:var(--adm-primary);color:#fff;font-weight:700; }
.adm-tab-content { background:#fff;border:1px solid var(--adm-border);border-top:none;border-radius:0 0 12px 12px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 1px 3px rgba(0,0,0,.04); }

/* Panels */
.adm-panel { background:#fff;border:1px solid var(--adm-border);border-radius:12px;margin-bottom:1.5rem;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.04); }
.adm-panel__header { padding:1rem 1.25rem;border-bottom:1px solid #f1f5f9;background:var(--adm-surface);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem; }
.adm-panel__title { font-size:1rem;font-weight:600;margin:0; }
.adm-panel__title::before { content:'';width:4px;height:18px;background:var(--adm-primary);border-radius:2px;display:inline-block;margin-right:8px;vertical-align:middle; }
.adm-panel__subtitle { font-size:.8125rem;color:#6c757d;margin:.15rem 0 0; }
.adm-panel__body { padding:1.25rem; }

/* Sidebar, tables, empty, danger, toast */
.adm-sidebar { position:sticky;top:1rem; }
.adm-table-wrap .table thead th { font-size:.75rem;text-transform:uppercase;letter-spacing:.03em;color:#6c757d;font-weight:600;background:var(--adm-surface); }
.adm-table-wrap .table tbody tr:hover { background:#f8fafc; }
.adm-empty { text-align:center;padding:3rem 1.5rem;color:#6c757d; }
.adm-empty__icon { font-size:2.5rem;opacity:.4;display:block;margin-bottom:.75rem; }
.adm-danger { border:1px solid #f5c2c7;border-radius:12px;overflow:hidden;margin-top:1rem; }
.adm-danger__header { background:#f8d7da;padding:.85rem 1.15rem;border-bottom:1px solid #f5c2c7; }
.adm-danger__body { padding:1.15rem;background:#fff; }
.adm-toast { position:fixed;bottom:1.5rem;right:1.5rem;z-index:1080;background:#212529;color:#fff;padding:.65rem 1rem;border-radius:8px;font-size:.875rem;box-shadow:0 4px 16px rgba(0,0,0,.2);opacity:0;transform:translateY(10px);transition:opacity .25s,transform .25s;pointer-events:none; }
.adm-toast.show { opacity:1;transform:translateY(0); }
.adm-alert-banner { border-radius:10px;border:1px solid #ffc107;background:linear-gradient(135deg,#fff9e6 0%,#fff3cd 100%);padding:1rem 1.25rem;margin-bottom:1.5rem;display:flex;align-items:flex-start;gap:.75rem; }
.adm-qr-card { border:1px solid var(--adm-border);border-radius:12px;overflow:hidden;height:100%; }
.adm-qr-card__header { padding:1rem 1.25rem;border-bottom:1px solid #f1f5f9;background:var(--adm-surface);display:flex;justify-content:space-between;align-items:center; }
.adm-qr-card__body { padding:1.25rem; }
.adm-login-split { display:flex;min-height:100vh; }
.adm-login-brand { flex:1;background:linear-gradient(135deg,#00BCD4 0%,#00ACC1 60%,#2196F3 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;color:#fff;text-align:center; }
.adm-login-brand__logo { max-width:180px;margin-bottom:2rem; }
.adm-login-brand__title { font-size:1.75rem;font-weight:700;margin-bottom:.5rem; }
.adm-login-brand__tagline { opacity:.85;font-size:1rem;max-width:320px; }
.adm-login-form-wrap { flex:1;display:flex;align-items:center;justify-content:center;padding:2rem;background:#f8fafc; }
.adm-login-card { background:#fff;border-radius:16px;padding:2.5rem;width:100%;max-width:420px;box-shadow:0 4px 24px rgba(0,0,0,.08);border:1px solid var(--adm-border); }
.sidebar-menu a.active { color:var(--adm-primary)!important;font-weight:600;background:rgba(0,188,212,.06);border-radius:8px; }
.adm-flash { border-radius:10px;border:none;display:flex;align-items:center;gap:.75rem; }
.page-wrapper .content { max-width:1600px; }
.adm-flag-badge { font-size:.7rem;padding:.2rem .5rem;border-radius:4px;font-weight:600; }
.adm-flag-badge--required { background:#cfe2ff;color:#084298; }
.adm-flag-badge--kiosk { background:#e2d9f3;color:#432874; }
.adm-flag-badge--hidden { background:#e9ecef;color:#495057; }
.adm-flag-badge--block { background:#f8d7da;color:#842029; }
.adm-activity-item { padding:.75rem 0;border-bottom:1px solid #f1f5f9;display:flex;align-items:flex-start;gap:.75rem; }
.adm-activity-item:last-child { border-bottom:none; }
.adm-mini-bar { height:4px;border-radius:2px;background:#e9ecef;width:60px;display:inline-block;vertical-align:middle; }
.adm-mini-bar__fill { height:100%;border-radius:2px; }
.adm-cmd-chips { display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.75rem; }
.adm-cmd-chip { font-size:.75rem;padding:.3rem .65rem;border-radius:999px;border:1px solid #dee2e6;background:var(--adm-surface);color:#495057;cursor:pointer; }
.adm-cmd-chip:hover { border-color:var(--adm-primary);background:#e8f0f8;color:var(--adm-primary); }
.adm-cmd-chip.active { border-color:var(--adm-primary);background:var(--adm-primary);color:#fff; }

/* Device detail page — scoped MDM console styles */

.device-detail-hero {
    background: linear-gradient(135deg, #00BCD4 0%, #00ACC1 55%, #2196F3 100%);
    border-radius: 16px;
    color: #fff;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.25);
}

.device-detail-hero__breadcrumb {
    font-size: 0.8125rem;
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.device-detail-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.device-detail-hero__breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.device-detail-hero__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.device-detail-hero__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.device-detail-hero__key {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8125rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

.device-detail-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.device-detail-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.device-detail-hero__badge--online {
    background: rgba(25, 135, 84, 0.35);
    border-color: rgba(25, 135, 84, 0.5);
}

.device-detail-hero__badge--offline {
    background: rgba(108, 117, 125, 0.35);
}

.device-detail-hero__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #75e0a7;
    animation: device-pulse 2s ease-in-out infinite;
}

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

.device-detail-hero__actions .btn {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.device-detail-hero__actions .btn:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

/* KPI stat cards */
.device-stat-grid {
    margin-bottom: 1.5rem;
}

.device-stat-card {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.device-stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.08);
    transform: translateY(-1px);
}

.device-stat-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.device-stat-card__icon--online { background: #d1e7dd; color: #0f5132; }
.device-stat-card__icon--battery { background: #fff3cd; color: #664d03; }
.device-stat-card__icon--storage { background: #cfe2ff; color: #084298; }
.device-stat-card__icon--agent { background: #e2d9f3; color: #432874; }
.device-stat-card__icon--commands { background: #f8d7da; color: #842029; }

.device-stat-card__label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.device-stat-card__value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
}

.device-stat-card__sub {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.15rem;
}

.device-stat-card__bar {
    height: 4px;
    border-radius: 2px;
    background: #e9ecef;
    margin-top: 0.5rem;
    overflow: hidden;
}

.device-stat-card__bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.device-stat-card__bar-fill--success { background: #198754; }
.device-stat-card__bar-fill--warning { background: #ffc107; }
.device-stat-card__bar-fill--danger { background: #dc3545; }

/* Tabs */
.device-detail-tabs {
    border-bottom: 2px solid #e8edf2;
    margin-bottom: 0;
    gap: 0.25rem;
}

.device-detail-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    color: #6c757d;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    border-radius: 8px 8px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.device-detail-tabs .nav-link:hover {
    color: #00BCD4;
    background: #f8fafc;
}

.device-detail-tabs .nav-link.active {
    color: #00BCD4;
    border-bottom-color: #00BCD4;
    background: transparent;
}

.device-detail-tab-badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: #00BCD4;
    color: #fff;
    font-weight: 700;
}

.device-detail-tab-content {
    background: #fff;
    border: 1px solid #e8edf2;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Sticky sidebar */
.device-detail-sidebar {
    position: sticky;
    top: 1rem;
}

/* Overview grid */
.device-overview-grid .detail-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: block;
}

.device-overview-grid .detail-value {
    font-size: 0.9375rem;
    color: #212529;
}

/* Apps tab */
.device-apps-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.device-apps-hint {
    font-size: 0.8125rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pkg-draggable {
    cursor: grab;
    color: #00BCD4;
}

.pkg-draggable:hover {
    text-decoration: underline;
}

.pkg-draggable.dragging {
    opacity: 0.5;
}

.app-row-protected {
    opacity: 0.75;
}

.app-row-protected code {
    color: #6c757d;
}

.app-protected-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #6c757d;
}

/* Payload drop zone */
.payload-drop-zone.payload-drop-active {
    border: 2px dashed var(--bs-primary) !important;
    background-color: var(--bs-primary-bg-subtle) !important;
}

.payload-drop-zone.payload-filled {
    animation: payload-fill-pulse 0.6s ease;
}

@keyframes payload-fill-pulse {
    0%, 100% { background-color: transparent; }
    50% { background-color: var(--bs-primary-bg-subtle); }
}

/* Command payload builder */
.cmd-payload-dropzone {
    border: 2px dashed #ced4da;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cmd-payload-dropzone:hover,
.cmd-payload-dropzone:focus {
    border-color: #00BCD4;
    background: #eef4fa;
    outline: none;
}

.cmd-payload-dropzone__icon {
    font-size: 1.5rem;
    color: #6c757d;
    display: block;
    margin-bottom: 0.35rem;
}

.cmd-payload-dropzone__hint {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.4;
}

.cmd-payload-builder .cmd-payload-panel:not(.is-active) {
    display: none !important;
}

.cmd-payload-builder .cmd-payload-panel.is-active {
    display: block !important;
}

.cmd-payload-builder .cmd-payload-dropzone.is-hidden {
    display: none !important;
}

.cmd-payload-preview__img {
    max-width: 100%;
    max-height: 120px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    object-fit: contain;
    background: #fff;
}

.cmd-payload-wallpaper-picker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Command chips */
.device-cmd-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.device-cmd-chip {
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    border: 1px solid #dee2e6;
    background: #f8fafc;
    color: #495057;
    cursor: pointer;
    transition: all 0.15s ease;
}

.device-cmd-chip:hover {
    border-color: #00BCD4;
    background: #e8f0f8;
    color: #00BCD4;
}

.device-cmd-chip.active {
    border-color: #00BCD4;
    background: #00BCD4;
    color: #fff;
}

/* Danger zone */
.device-danger-zone {
    border: 1px solid #f5c2c7;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1rem;
}

.device-danger-zone__header {
    background: #f8d7da;
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid #f5c2c7;
}

.device-danger-zone__body {
    padding: 1.15rem;
    background: #fff;
}

/* Compliance events */
.device-compliance-event {
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.device-compliance-event:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Copy toast */
.device-copy-toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1080;
    background: #212529;
    color: #fff;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.device-copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Agent upgrade banner */
.device-agent-upgrade {
    border-radius: 10px;
    border: 1px solid #ffc107;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
}

@media (max-width: 991.98px) {
    .device-detail-sidebar {
        position: static;
        margin-top: 1rem;
    }

    .device-detail-hero__actions {
        margin-top: 1rem;
        width: 100%;
    }

    .device-detail-hero__key {
        max-width: 100%;
    }
}

/* Fleet Dashboard widgets */
.adm-dash-hero {
    background: linear-gradient(135deg, #00BCD4 0%, #00ACC1 55%, #2196F3 100%);
    border-radius: 16px;
    color: #fff;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.25);
}

.adm-dash-hero__eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.8;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.adm-dash-hero__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.adm-dash-hero__subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.adm-dash-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.adm-dash-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.adm-dash-hero__badge--success { background: rgba(25, 135, 84, 0.35); }
.adm-dash-hero__badge--warning { background: rgba(255, 193, 7, 0.3); }
.adm-dash-hero__badge--danger { background: rgba(220, 53, 69, 0.35); }

.adm-dash-hero__actions .btn-light {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.adm-dash-hero__actions .btn-light:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.adm-dash-health-ring {
    --score: 0;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: conic-gradient(
        rgba(255, 255, 255, 0.95) calc(var(--score) * 1%),
        rgba(255, 255, 255, 0.2) 0
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.adm-dash-health-ring--warning {
    background: conic-gradient(
        #ffc107 calc(var(--score) * 1%),
        rgba(255, 255, 255, 0.2) 0
    );
}

.adm-dash-health-ring--danger {
    background: conic-gradient(
        #dc3545 calc(var(--score) * 1%),
        rgba(255, 255, 255, 0.2) 0
    );
}

.adm-dash-health-ring__inner {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(0, 51, 102, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.adm-dash-health-ring__value {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
}

.adm-dash-health-ring__label {
    font-size: 0.65rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.adm-dash-kpi--primary .adm-stat-card__value {
    font-size: 1.5rem;
}

.adm-dash-kpi--primary {
    padding: 1.15rem 1.25rem;
}

.adm-dash-chart {
    min-height: 280px;
}

.adm-attention-strip {
    background: #fff;
    border: 1px solid var(--adm-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.adm-attention-strip__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.adm-attention-strip__items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex: 1;
}

.adm-attention-alert {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--adm-border);
    background: var(--adm-surface);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

.adm-attention-alert:hover {
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.08);
    transform: translateY(-1px);
    color: inherit;
}

.adm-attention-alert--warning { border-color: #ffe69c; background: #fff9e6; }
.adm-attention-alert--danger { border-color: #f5c2c7; background: #fff5f5; }

.adm-attention-alert__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: #fff;
}

.adm-attention-alert--warning .adm-attention-alert__icon { color: #664d03; }
.adm-attention-alert--danger .adm-attention-alert__icon { color: #842029; }

.adm-attention-alert__count {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.1;
}

.adm-attention-alert__label {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
}

.adm-attention-alert__arrow {
    color: #adb5bd;
    font-size: 0.9rem;
}

.adm-timeline {
    position: relative;
    padding-left: 0.25rem;
}

.adm-timeline__item {
    display: flex;
    gap: 0.85rem;
    padding-bottom: 1rem;
    position: relative;
}

.adm-timeline__item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 36px;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.adm-timeline__marker {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    z-index: 1;
}

.adm-timeline__marker--primary { background: #cfe2ff; color: #084298; }
.adm-timeline__marker--success { background: #d1e7dd; color: #0f5132; }
.adm-timeline__marker--warning { background: #fff3cd; color: #664d03; }
.adm-timeline__marker--danger { background: #f8d7da; color: #842029; }

.adm-timeline__content {
    flex: 1;
    min-width: 0;
    padding-top: 0.15rem;
}

.adm-timeline__title {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: capitalize;
}

.adm-timeline__meta {
    font-size: 0.8125rem;
    color: #6c757d;
    margin-top: 0.15rem;
}

.adm-timeline__meta a {
    color: var(--adm-primary);
    text-decoration: none;
}

.adm-timeline__time {
    font-size: 0.75rem;
    color: #adb5bd;
    margin-top: 0.25rem;
}

@media (max-width: 767.98px) {
    .adm-attention-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .adm-dash-hero__title {
        font-size: 1.25rem;
    }
}
