/* ══════════════════════════════════════════════════
   ASG-BRS — UI System v1.0
   ══════════════════════════════════════════════════ */

:root {
    --at-sidebar-width: 260px;
    --at-navbar-height: 56px;
    --at-sidebar-bg: #0d1b2a;
    --at-sidebar-text: #8a9ab5;
    --at-sidebar-text-active: #ffffff;
    --at-sidebar-accent: #3b82f6;
    --at-sidebar-hover: rgba(255,255,255,.06);
    --at-sidebar-section: #4a5568;
    --at-body-bg: #f0f4f8;
    --at-card-bg: #ffffff;
    --at-border: #e2e8f0;
    --at-text-primary: #1a202c;
    --at-text-muted: #718096;
    --at-transition: 0.22s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    background: var(--at-body-bg);
    color: var(--at-text-primary);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: .875rem;
    margin: 0;
}

/* ── Auth ──────────────────────────────────────────── */
.auth-body {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a3450 55%, #0d1b2a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.auth-container { width: 100%; max-width: 420px; }

.auth-card {
    border: none;
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,.4);
}

.auth-header {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    padding: 2rem;
    text-align: center;
    color: #fff;
}

.auth-logo { font-size: 2.5rem; margin-bottom: .5rem; }
.auth-title { font-size: 1.4rem; font-weight: 800; margin: 0; }
.auth-subtitle { font-size: .82rem; opacity: .85; margin: .25rem 0 0; }
.auth-body-inner { padding: 1.75rem; background: #fff; }
.auth-footer { background: #f8fafc; padding: .85rem 1.75rem; text-align: center; font-size: .75rem; color: #6b7280; }

/* ── Sidebar ───────────────────────────────────────── */
.sidebar {
    position: fixed;
    top: 0; left: 0;
    width: var(--at-sidebar-width);
    height: 100vh;
    background: var(--at-sidebar-bg);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1040;
    transition: transform var(--at-transition);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.1) transparent;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: .3px;
}

.sidebar-brand-icon { font-size: 1.35rem; color: var(--at-sidebar-accent); }

.sidebar-user {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .875rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.sidebar-user-avatar {
    width: 34px; height: 34px;
    background: var(--at-sidebar-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .8rem;
    flex-shrink: 0;
}

.sidebar-user-info { overflow: hidden; }
.sidebar-user-name { font-size: .8rem; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { font-size: .7rem; color: var(--at-sidebar-text); }

.sidebar-nav { list-style: none; padding: .5rem 0; margin: 0; flex: 1; }

.sidebar-section-title {
    font-size: .63rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--at-sidebar-section);
    padding: .9rem 1.125rem .3rem;
    pointer-events: none;
}

.sidebar-item { position: relative; }

.sidebar-link {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .525rem 1.125rem;
    color: var(--at-sidebar-text);
    text-decoration: none;
    font-size: .835rem;
    transition: background var(--at-transition), color var(--at-transition);
    border-left: 3px solid transparent;
}

.sidebar-link i { font-size: .95rem; flex-shrink: 0; width: 16px; text-align: center; }

.sidebar-link:hover {
    color: var(--at-sidebar-text-active);
    background: var(--at-sidebar-hover);
}

.sidebar-item.active .sidebar-link {
    color: var(--at-sidebar-text-active);
    background: rgba(59,130,246,.16);
    border-left-color: var(--at-sidebar-accent);
}

.sidebar-footer {
    padding: .65rem 1.125rem;
    border-top: 1px solid rgba(255,255,255,.06);
    flex-shrink: 0;
}

.sidebar-version { font-size: .68rem; color: var(--at-sidebar-section); }

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1039;
}

/* ── Main Wrapper ──────────────────────────────────── */
.main-wrapper {
    margin-left: var(--at-sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left var(--at-transition);
}

/* ── Navbar ────────────────────────────────────────── */
.at-navbar {
    height: var(--at-navbar-height);
    background: var(--at-card-bg);
    border-bottom: 1px solid var(--at-border);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1030;
    gap: 1rem;
    box-shadow: 0 1px 0 var(--at-border);
}

.at-navbar-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--at-sidebar-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
}

/* ── Page ──────────────────────────────────────────── */
.main-content { flex: 1; }

.breadcrumb-wrapper {
    background: var(--at-card-bg);
    border-bottom: 1px solid var(--at-border);
    padding: .55rem 1.5rem;
}

.breadcrumb-item + .breadcrumb-item::before { color: var(--at-text-muted); }
.breadcrumb-item a { color: var(--at-sidebar-accent); text-decoration: none; }
.breadcrumb-item a:hover { text-decoration: underline; }

.page-header {
    padding: 1.125rem 1.5rem .75rem;
    background: var(--at-card-bg);
    border-bottom: 1px solid var(--at-border);
    margin-bottom: 1.25rem;
}

.page-title { font-size: 1.3rem; font-weight: 700; margin: 0; color: var(--at-text-primary); }
.page-subtitle { font-size: .8rem; margin-top: .2rem; }
.page-body { padding: 0 1.5rem 1.5rem; }

/* ── Cards ─────────────────────────────────────────── */
.card {
    border: 1px solid var(--at-border);
    border-radius: .5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    background: var(--at-card-bg);
}

.card-header {
    background: var(--at-card-bg);
    border-bottom: 1px solid var(--at-border);
    padding: .8rem 1.125rem;
    font-weight: 600;
    font-size: .855rem;
}

/* ── Stat Cards ────────────────────────────────────── */
.stat-card {
    background: var(--at-card-bg);
    border: 1px solid var(--at-border);
    border-radius: .5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: .875rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    transition: box-shadow var(--at-transition), transform var(--at-transition);
}

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

.stat-card-icon {
    width: 44px; height: 44px;
    border-radius: .4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-card-icon.blue   { background: #dbeafe; color: #2563eb; }
.stat-card-icon.green  { background: #d1fae5; color: #059669; }
.stat-card-icon.amber  { background: #fef3c7; color: #d97706; }
.stat-card-icon.red    { background: #fee2e2; color: #dc2626; }
.stat-card-icon.purple { background: #ede9fe; color: #7c3aed; }

.stat-card-value { font-size: 1.65rem; font-weight: 800; line-height: 1; color: var(--at-text-primary); }
.stat-card-label { font-size: .73rem; color: var(--at-text-muted); margin-top: .2rem; }

/* ── Tables ────────────────────────────────────────── */
.table { font-size: .835rem; }

.table th {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--at-text-muted);
    border-bottom-width: 1px;
    white-space: nowrap;
    padding: .65rem .875rem;
}

.table td { padding: .65rem .875rem; vertical-align: middle; }

/* ── Badge Estado ──────────────────────────────────── */
.badge-estado {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .3px;
    padding: .28em .6em;
    border-radius: .3rem;
    text-transform: uppercase;
}

/* ── Timeline ──────────────────────────────────────── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: .7rem;
    top: 0; bottom: 0;
    width: 1px;
    background: var(--at-border);
}

.timeline-item { position: relative; margin-bottom: 1.25rem; }

.timeline-marker {
    position: absolute;
    left: -1.75rem;
    top: .1rem;
    width: 26px; height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
}

.timeline-content {
    background: var(--at-card-bg);
    border: 1px solid var(--at-border);
    border-radius: .4rem;
    padding: .6rem .875rem;
}

/* ── Footer ────────────────────────────────────────── */
.at-footer {
    background: var(--at-card-bg);
    border-top: 1px solid var(--at-border);
    padding: .65rem 1.5rem;
    font-size: .75rem;
    color: var(--at-text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 991.98px) {
    .sidebar { transform: translateX(calc(-1 * var(--at-sidebar-width))); }
    .sidebar.show { transform: translateX(0); }
    .sidebar-overlay.show { display: block; }
    .main-wrapper { margin-left: 0; }
    .page-body { padding: 0 1rem 1rem; }
    .page-header { padding: 1rem; }
    .breadcrumb-wrapper { padding: .5rem 1rem; }
    .at-navbar { padding: 0 1rem; }
}

/* ══════════════════════════════════════════════════
   AeroTrack — Dashboard Experience v2.0
   ══════════════════════════════════════════════════ */

:root {
    --at-ink-950: #09111f;
    --at-ink-900: #0f1b31;
    --at-ink-800: #172742;
    --at-surface-strong: #f7faff;
    --at-surface-soft: rgba(255,255,255,.72);
    --at-primary-500: #2d6cdf;
    --at-primary-600: #1f5bcc;
    --at-sky-500: #15a4d9;
    --at-emerald-500: #18a773;
    --at-amber-500: #f59e0b;
    --at-ruby-500: #df445c;
    --at-indigo-500: #5865f2;
    --at-steel-500: #64748b;
}

body.at-shell {
    background:
        radial-gradient(circle at top right, rgba(45,108,223,.12), transparent 28%),
        radial-gradient(circle at left 18%, rgba(21,164,217,.10), transparent 20%),
        linear-gradient(180deg, #eef4fb 0%, #f6f8fc 38%, #eef2f8 100%);
    font-family: 'Manrope', 'Segoe UI', sans-serif;
}

.at-navbar {
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, .16);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.page-header {
    background: transparent;
    border-bottom: none;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.page-title {
    font-size: 1.6rem;
    letter-spacing: -.04em;
}

.page-subtitle {
    max-width: 72ch;
    color: #64748b !important;
}

.card,
.ops-section-card,
.ops-alert-card,
.dashboard-kpi-card,
.ops-flight-card,
.ops-panel-card,
.ops-flow-card {
    box-shadow: 0 20px 45px rgba(15, 23, 42, .08);
}

.ops-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, .9fr);
    gap: 1.2rem;
    padding: 1.4rem;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, .18), transparent 26%),
        radial-gradient(circle at left bottom, rgba(45, 108, 223, .22), transparent 24%),
        linear-gradient(135deg, var(--at-ink-950) 0%, var(--at-ink-900) 56%, #17365c 100%);
    color: #fff;
}

.ops-hero::after {
    content: '';
    position: absolute;
    inset: auto -10% -38% auto;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(255,255,255,.18), transparent 62%);
    pointer-events: none;
}

.ops-hero__content,
.ops-hero__panel {
    position: relative;
    z-index: 1;
}

.ops-eyebrow,
.ops-section-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ops-eyebrow { color: rgba(255,255,255,.72); }

.ops-hero__title {
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.05em;
    max-width: 14ch;
    margin: .75rem 0;
}

.ops-hero__text {
    max-width: 68ch;
    color: rgba(255,255,255,.76);
    line-height: 1.7;
    margin-bottom: 1.1rem;
}

.ops-hero__meta,
.ops-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.ops-hero__actions { margin-top: 1rem; }

.ops-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .65rem .9rem;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.12);
    color: #f8fbff;
    font-size: .8rem;
    font-weight: 600;
}

.ops-pill--live {
    background: rgba(37, 99, 235, .22);
    border-color: rgba(147, 197, 253, .24);
}

.ops-hero .btn-primary {
    background: linear-gradient(135deg, #3d82ff, #2563eb);
    border-color: transparent;
    box-shadow: 0 16px 28px rgba(37,99,235,.28);
}

.ops-hero .btn-outline-light {
    border-color: rgba(255,255,255,.22);
    color: #fff;
}

.ops-hero .btn-outline-light:hover {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.30);
    color: #fff;
}

.ops-hero__panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ops-panel-card,
.ops-panel-kpi {
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
}

.ops-panel-card { padding: 1.2rem; }
.ops-panel-card__label {
    color: rgba(255,255,255,.62);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .72rem;
    font-weight: 700;
}
.ops-panel-card__value {
    font-size: 3rem;
    line-height: 1;
    font-weight: 800;
    margin: .6rem 0 .35rem;
    letter-spacing: -.06em;
}
.ops-panel-card__hint { color: rgba(255,255,255,.72); font-size: .82rem; }

.ops-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.ops-panel-kpi {
    padding: 1rem;
    min-height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ops-panel-kpi span {
    color: rgba(255,255,255,.65);
    font-size: .78rem;
}

.ops-panel-kpi strong {
    font-size: 1.5rem;
    font-weight: 800;
}

.ops-alert-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.ops-alert-card {
    display: flex;
    align-items: center;
    gap: .95rem;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(226, 232, 240, .92);
    color: var(--at-ink-900);
    transition: transform .22s ease, box-shadow .22s ease;
}

.ops-alert-card:hover { transform: translateY(-2px); }
.ops-alert-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}
.ops-alert-card__title { font-weight: 800; margin-bottom: .15rem; }
.ops-alert-card__text { color: #5b677b; font-size: .84rem; }
.ops-alert-card__arrow { margin-left: auto; color: #94a3b8; }
.ops-alert-card--danger .ops-alert-card__icon { background: rgba(223,68,92,.12); color: var(--at-ruby-500); }
.ops-alert-card--warning .ops-alert-card__icon { background: rgba(245,158,11,.14); color: var(--at-amber-500); }

.dashboard-kpi-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(226,232,240,.92);
    min-height: 120px;
}

.dashboard-kpi-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.dashboard-kpi-card__content span,
.dashboard-kpi-card__content small {
    display: block;
}

.dashboard-kpi-card__content span {
    color: #6b7280;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
}

.dashboard-kpi-card__content strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -.05em;
    margin: .35rem 0;
}

.dashboard-kpi-card__content small { color: #64748b; }
.dashboard-kpi-card--blue .dashboard-kpi-card__icon { background: rgba(45,108,223,.12); color: var(--at-primary-500); }
.dashboard-kpi-card--emerald .dashboard-kpi-card__icon { background: rgba(24,167,115,.12); color: var(--at-emerald-500); }
.dashboard-kpi-card--amber .dashboard-kpi-card__icon { background: rgba(245,158,11,.14); color: var(--at-amber-500); }
.dashboard-kpi-card--ruby .dashboard-kpi-card__icon { background: rgba(223,68,92,.12); color: var(--at-ruby-500); }

.ops-section-card {
    height: 100%;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(226,232,240,.9);
    border-radius: 28px;
    padding: 1.2rem;
    backdrop-filter: blur(14px);
}

.ops-section-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ops-section-card__eyebrow { color: #6b7280; }
.ops-section-card__title {
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -.04em;
    color: var(--at-ink-900);
}

.ops-flight-grid,
.ops-flow-grid {
    display: grid;
    gap: 1rem;
}

.ops-flight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ops-flow-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.ops-flight-card {
    padding: 1.05rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.88));
    border: 1px solid rgba(226,232,240,.92);
}

.ops-flight-card__top,
.ops-radar-row__head,
.ops-activity-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.ops-flight-card__code {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.04em;
}

.ops-flight-card__route { color: #64748b; font-size: .85rem; }
.ops-flight-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    margin: .9rem 0 1rem;
    color: #5b677b;
    font-size: .82rem;
}
.ops-flight-card__meta span,
.ops-activity-item__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.ops-flight-card__link {
    color: var(--at-primary-600);
    font-weight: 700;
    text-decoration: none;
}
.ops-flight-card--warning { border-color: rgba(245,158,11,.28); }
.ops-flight-card--success { border-color: rgba(24,167,115,.25); }
.ops-flight-card--danger { border-color: rgba(223,68,92,.24); }

.ops-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem .75rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ops-status-pill--secondary { background: rgba(100,116,139,.12); color: #475569; }
.ops-status-pill--warning { background: rgba(245,158,11,.14); color: #b45309; }
.ops-status-pill--success { background: rgba(24,167,115,.13); color: #0f8f63; }
.ops-status-pill--danger { background: rgba(223,68,92,.12); color: #be2848; }

.ops-activity-list { display: grid; gap: .85rem; }
.ops-activity-item {
    align-items: center;
    padding: .95rem 1rem;
    border-radius: 18px;
    background: rgba(248,250,252,.86);
    border: 1px solid rgba(226,232,240,.92);
}
.ops-activity-item__marker {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(45,108,223,.10);
    color: var(--at-primary-500);
    flex-shrink: 0;
}
.ops-activity-item__body { flex: 1; }
.ops-activity-item__title { font-weight: 700; margin-bottom: .25rem; }
.ops-activity-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .9rem;
    color: #64748b;
    font-size: .79rem;
}
.ops-activity-item__time {
    color: #94a3b8;
    font-size: .76rem;
    white-space: nowrap;
}

.ops-radar-list { display: grid; gap: 1rem; }
.ops-radar-row__label {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 700;
}
.ops-radar-row__bar,
.ops-flow-card__progress {
    width: 100%;
    height: 11px;
    border-radius: 999px;
    background: #edf2f7;
    overflow: hidden;
    margin-top: .6rem;
}
.ops-radar-row__fill,
.ops-flow-card__progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
}
.ops-radar-row__fill--steel,
.ops-flow-card__progress-fill--steel { background: var(--at-steel-500); }
.ops-radar-row__fill--amber,
.ops-flow-card__progress-fill--amber { background: var(--at-amber-500); }
.ops-radar-row__fill--emerald,
.ops-flow-card__progress-fill--emerald { background: var(--at-emerald-500); }
.ops-radar-row__fill--ruby,
.ops-flow-card__progress-fill--ruby { background: var(--at-ruby-500); }
.ops-radar-row__fill--sky,
.ops-flow-card__progress-fill--sky { background: var(--at-sky-500); }
.ops-radar-row__fill--indigo,
.ops-flow-card__progress-fill--indigo { background: var(--at-indigo-500); }
.text-steel { color: var(--at-steel-500); }
.text-amber { color: var(--at-amber-500); }
.text-emerald { color: var(--at-emerald-500); }
.text-ruby { color: var(--at-ruby-500); }
.text-sky { color: var(--at-sky-500); }
.text-indigo { color: var(--at-indigo-500); }

.ops-flow-card {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.88));
    border: 1px solid rgba(226,232,240,.92);
    border-radius: 20px;
    padding: 1rem;
}
.ops-flow-card__count {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.05em;
}
.ops-flow-card__label { margin: .45rem 0 .6rem; font-weight: 700; }
.ops-flow-card__foot { color: #64748b; font-size: .78rem; margin-top: .55rem; }

.ops-table-wrap {
    border-radius: 20px;
    border: 1px solid rgba(226,232,240,.86);
    overflow: hidden;
}

.ops-table thead th {
    background: #f8fbff;
    border-bottom-color: rgba(203, 213, 225, .75);
}

.ops-route-chip {
    display: inline-flex;
    align-items: center;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: #97a7b6;
    border: 1px solid #e2e8f0;
    font-size: .76rem;
    font-weight: 700;
}

.ops-empty-state {
    min-height: 220px;
    border: 1px dashed #cbd5e1;
    border-radius: 22px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1.5rem;
    color: #64748b;
    background: rgba(248,250,252,.7);
}

.ops-empty-state i {
    font-size: 1.8rem;
    color: #94a3b8;
    margin-bottom: .75rem;
}

.ops-empty-state strong,
.ops-empty-state span { display: block; }
.ops-empty-state strong { color: #334155; margin-bottom: .35rem; }
.ops-empty-state--compact { min-height: 180px; }
.ops-empty-state--inline { min-height: auto; border: none; background: transparent; padding: .5rem; }

@media (max-width: 1399.98px) {
    .ops-flow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1199.98px) {
    .ops-hero { grid-template-columns: 1fr; }
}

@media (max-width: 991.98px) {
    .ops-flight-grid,
    .ops-flow-grid,
    .ops-panel-grid { grid-template-columns: 1fr 1fr; }
    .ops-section-card__header { flex-direction: column; }
}

@media (max-width: 767.98px) {
    .ops-hero,
    .ops-section-card { border-radius: 22px; }
    .ops-flight-grid,
    .ops-flow-grid,
    .ops-panel-grid { grid-template-columns: 1fr; }
    .ops-hero__title { max-width: none; }
    .dashboard-kpi-card { min-height: 108px; }
    .ops-activity-item { flex-wrap: wrap; }
    .ops-activity-item__time { width: 100%; }
}

/* ══════════════════════════════════════════════════
   AeroTrack — Flights Experience v2.0
   ══════════════════════════════════════════════════ */

.ops-page-hero,
.ops-flight-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 1.35rem;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, .16), transparent 26%),
        radial-gradient(circle at left bottom, rgba(59, 130, 246, .22), transparent 24%),
        linear-gradient(135deg, #0b1425 0%, #12223d 54%, #17365c 100%);
}

.ops-page-hero::after,
.ops-flight-hero::after {
    content: '';
    position: absolute;
    inset: auto -8% -38% auto;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,.16), transparent 64%);
    pointer-events: none;
}

.ops-page-hero__content,
.ops-page-hero__stats,
.ops-flight-hero__main,
.ops-flight-hero__side {
    position: relative;
    z-index: 1;
}

.ops-page-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.ops-page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,.72);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ops-page-hero__title {
    margin: .75rem 0;
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.08;
    max-width: 19ch;
}

.ops-page-hero__text,
.ops-flight-hero__text {
    max-width: 68ch;
    color: rgba(255,255,255,.76);
    line-height: 1.7;
    margin-bottom: 0;
}

.ops-page-hero--narrative .ops-page-hero__content {
    max-width: 760px;
}

.ops-page-hero--narrative .ops-page-hero__title {
    max-width: 34ch;
}

.ops-page-hero--narrative .ops-page-hero__text {
    max-width: 62ch;
}

.ops-page-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .85rem;
    align-items: stretch;
}

.ops-mini-stat {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.12);
}

.ops-mini-stat span {
    display: block;
    color: rgba(255,255,255,.66);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.ops-mini-stat strong {
    display: block;
    margin-top: .35rem;
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.05em;
}

.ops-filter-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1.2fr) auto;
    gap: 1rem;
    align-items: end;
}

.ops-filter-grid__actions {
    display: flex;
    gap: .75rem;
    align-items: center;
}

.ops-flight-list {
    display: grid;
    gap: 1rem;
}

.ops-flight-list-card {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1.1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.05rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.88));
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: 0 16px 34px rgba(15,23,42,.06);
}

.ops-flight-list-card__main,
.ops-flight-list-card__meta {
    display: grid;
    gap: .75rem;
}

.ops-flight-list-card__main { grid-template-columns: minmax(0, 180px) minmax(0, 1fr) minmax(0, 1fr); }
.ops-flight-list-card__code {
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -.04em;
}
.ops-flight-list-card__airline { color: #64748b; font-size: .84rem; }
.ops-flight-list-card__route,
.ops-flight-hero__route,
.ops-flight-hero__meta,
.ops-flight-list-card__schedule {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem .9rem;
}

.ops-flight-list-card__schedule,
.ops-flight-hero__meta {
    color: #5b677b;
    font-size: .82rem;
}

.ops-flight-list-card__schedule span,
.ops-flight-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.ops-flight-list-card__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ops-flight-list-card__meta-item span {
    display: block;
    color: #64748b;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
    margin-bottom: .3rem;
}

.ops-flight-list-card__meta-item strong {
    font-size: .96rem;
    color: #0f172a;
}

.ops-flight-list-card__actions {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.ops-status-pill--primary { background: rgba(88,101,242,.12); color: #454fdb; }
.ops-status-pill--info { background: rgba(21,164,217,.13); color: #0b93c5; }
.ops-status-pill--xl { padding: .65rem .95rem; font-size: .78rem; }

.ops-flight-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, .95fr);
    gap: 1rem;
}

.ops-flight-hero__code {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    letter-spacing: -.07em;
    font-weight: 800;
    margin: 0 0 .7rem;
}

.ops-flight-hero__side {
    padding: 1.1rem;
    border-radius: 22px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
}

.ops-flight-hero__metric span,
.ops-flight-hero__stats span {
    display: block;
    color: rgba(255,255,255,.67);
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.ops-flight-hero__metric strong {
    display: block;
    font-size: 2.4rem;
    line-height: 1;
    letter-spacing: -.06em;
    font-weight: 800;
    margin: .45rem 0 .3rem;
}

.ops-flight-hero__metric small { color: rgba(255,255,255,.72); }
.ops-flight-hero__bar {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    overflow: hidden;
    margin: 1rem 0;
}
.ops-flight-hero__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #60a5fa 0%, #22c55e 100%);
}
.ops-flight-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}
.ops-flight-hero__stats strong {
    display: block;
    margin-top: .25rem;
    font-size: 1.35rem;
    font-weight: 800;
}

.ops-inline-note {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    width: 100%;
    padding: .9rem 1rem;
    border-radius: 18px;
    background: rgba(245,158,11,.08);
    border: 1px solid rgba(245,158,11,.18);
    color: #8a4b07;
}

.password-strength {
    padding: .95rem 1rem;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 8px;
    background: rgba(248, 250, 252, .74);
}

.password-strength__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .75rem;
    color: #475569;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.password-strength__header strong {
    color: #0f172a;
    white-space: nowrap;
}

.password-strength__track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.password-strength__track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #94a3b8;
    transition: width .18s ease, background-color .18s ease;
}

.password-strength[data-level="weak"] .password-strength__track span {
    background: #ef4444;
}

.password-strength[data-level="medium"] .password-strength__track span {
    background: #f59e0b;
}

.password-strength[data-level="strong"] .password-strength__track span {
    background: #16a34a;
}

.password-strength__requirements {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem .9rem;
    margin-top: .85rem;
}

.password-strength__rule {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #64748b;
    font-size: .82rem;
}

.password-strength__rule i {
    font-size: .86rem;
}

.password-strength__rule.is-valid {
    color: #15803d;
}

.at-confirm-modal .modal-content {
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
}

.at-confirm-modal__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
    padding: 1.35rem 1.5rem .85rem;
    text-align: center;
}

.at-confirm-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 8px;
    background: rgba(245, 158, 11, .14);
    color: #b45309;
    font-size: 1.3rem;
}

.at-confirm-modal__icon--danger {
    background: rgba(239, 68, 68, .12);
    color: #dc2626;
}

.at-confirm-modal__content p {
    margin: .35rem 0 0;
    color: #64748b;
    line-height: 1.45;
    max-width: 390px;
}

.at-confirm-modal .modal-footer {
    justify-content: center;
    border-top: 1px solid rgba(148, 163, 184, .18);
    padding: .85rem 1.25rem 1.15rem;
}

.ops-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .95rem;
}

.ops-detail-grid--manifest-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ops-detail-item {
    padding: .95rem 1rem;
    border-radius: 18px;
    background: rgba(248,250,252,.8);
    border: 1px solid rgba(226,232,240,.92);
}

.ops-detail-item span,
.ops-note-card__label {
    display: block;
    color: #64748b;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
}

.ops-detail-item strong {
    display: block;
    margin-top: .35rem;
    font-size: 1rem;
    color: #0f172a;
}

.ops-note-card {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(248,250,252,.86);
    border: 1px solid rgba(226,232,240,.92);
}

.ops-flight-summary-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.ops-flight-summary-card > div {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(248,250,252,.86);
    border: 1px solid rgba(226,232,240,.92);
}

.ops-flight-summary-card span {
    display: block;
    color: #64748b;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
}

.ops-flight-summary-card strong {
    display: block;
    margin-top: .35rem;
    font-size: 1.6rem;
    line-height: 1;
    font-weight: 800;
    color: #0f172a;
}

@media (max-width: 1199.98px) {
    .ops-page-hero,
    .ops-flight-hero { grid-template-columns: 1fr; }
    .ops-filter-grid { grid-template-columns: 1fr 1fr; }
    .ops-detail-grid--manifest-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ops-flight-list-card,
    .ops-flight-list-card__main,
    .ops-flight-list-card__meta { grid-template-columns: 1fr; }
    .ops-flight-list-card__actions { flex-direction: row; }
}

@media (max-width: 767.98px) {
    .ops-page-hero,
    .ops-flight-hero,
    .ops-flight-list-card,
    .ops-detail-item,
    .ops-mini-stat { border-radius: 22px; }
    .ops-filter-grid,
    .ops-detail-grid,
    .ops-flight-summary-card,
    .ops-flight-hero__stats { grid-template-columns: 1fr; }
    .ops-detail-grid--manifest-summary { grid-template-columns: 1fr; }
    .ops-page-hero__title { max-width: none; }
    .ops-flight-list-card__actions { flex-direction: column; }
}

/* ══════════════════════════════════════════════════
   AeroTrack — Baggage & Traceability Experience v2.0
   ══════════════════════════════════════════════════ */

.ops-filter-grid--compact {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) auto;
}

.ops-filter-grid--trace {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) auto;
}

.ops-activity-list--tablelike .ops-activity-item {
    align-items: center;
}

.ops-activity-item__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 88px;
}

.ops-detail-grid--single {
    grid-template-columns: 1fr;
}

.ops-timeline {
    padding-left: 2.15rem;
}

.ops-timeline .timeline-content {
    background: rgba(248,250,252,.88);
    border: 1px solid rgba(226,232,240,.92);
    border-radius: 18px;
    padding: .9rem 1rem;
}

.ops-timeline .timeline-item:last-child {
    margin-bottom: 0;
}

@media (max-width: 1199.98px) {
    .ops-filter-grid--compact,
    .ops-filter-grid--trace { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767.98px) {
    .ops-filter-grid--compact,
    .ops-filter-grid--trace { grid-template-columns: 1fr; }
    .ops-activity-item__actions {
        align-items: flex-start;
        width: 100%;
    }
}

/* ══════════════════════════════════════════════════
   AeroTrack — Carts Experience v2.0
   ══════════════════════════════════════════════════ */

.ops-asset-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.ops-asset-card {
    padding: 1rem 1.05rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.88));
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: 0 16px 34px rgba(15,23,42,.06);
}

.ops-asset-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .9rem;
    margin-bottom: .9rem;
}

.ops-asset-card__code {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -.04em;
}

.ops-asset-card__description {
    color: #64748b;
    font-size: .84rem;
    margin-top: .25rem;
}

.ops-asset-card__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
    margin-bottom: 1rem;
}

.ops-asset-card__meta span {
    display: block;
    color: #64748b;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
    margin-bottom: .3rem;
}

.ops-asset-card__meta strong {
    display: block;
    font-size: .95rem;
    color: #0f172a;
}

.ops-asset-card__actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 767.98px) {
    .ops-asset-card__meta {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════
   AeroTrack — Reports Experience v2.0
   ══════════════════════════════════════════════════ */

.ops-report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.ops-report-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.88));
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: 0 16px 34px rgba(15,23,42,.06);
    color: #0f172a;
}

.ops-report-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
    background: rgba(226,232,240,.56);
}

.ops-report-card__title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -.04em;
    margin-bottom: .35rem;
}

.ops-report-card__text {
    color: #64748b;
    line-height: 1.65;
}

.ops-report-card__cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 700;
    color: #1f5bcc;
}

.ops-danger-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(223,68,92,.12), rgba(255,237,213,.28));
    border: 1px solid rgba(223,68,92,.22);
    color: #7f1d1d;
}

.ops-danger-banner__title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: .2rem;
}

.ops-danger-banner__text {
    color: #991b1b;
    font-size: .84rem;
}

.ops-danger-banner i {
    font-size: 1.5rem;
    color: #dc2626;
}

.ops-report-selector__button {
    min-height: 48px;
    border-radius: 14px;
}

.ops-report-selector__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.ops-report-flight-board {
    border-radius: 8px;
}

.ops-report-toolbar {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(150px, 220px) auto;
    align-items: end;
    gap: .65rem;
    padding: .75rem 0;
    border-top: 1px solid #edf2f7;
}

.ops-report-toolbar .form-label {
    margin-bottom: .25rem;
    color: #475569;
}

.ops-report-toolbar__actions {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
}

.ops-report-flight-summary {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .8rem;
}

.ops-report-flight-summary__chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 30px;
    padding: .32rem .55rem;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-size: .78rem;
    font-weight: 700;
}

.ops-report-flight-summary__chip span {
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: .68rem;
}

.ops-report-flight-summary__chip strong {
    color: #111827;
}

.ops-report-flight-table {
    table-layout: fixed;
    min-width: 760px;
}

.ops-report-flight-table th,
.ops-report-flight-table td {
    padding: .6rem .85rem;
}

.ops-report-flight-table__route {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
}

.ops-quick-flight-list {
    display: grid;
    gap: .85rem;
}

.ops-quick-flight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, .9);
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,250,252,.92));
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ops-quick-flight:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, .28);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

.ops-quick-flight__code {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.ops-quick-flight__meta,
.ops-quick-flight__bags {
    color: #64748b;
    font-size: .92rem;
}

@media (max-width: 767.98px) {
    .ops-report-selector__stats {
        grid-template-columns: 1fr;
    }

    .ops-report-toolbar {
        grid-template-columns: 1fr;
    }

    .ops-report-toolbar__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .ops-quick-flight {
        flex-direction: column;
        align-items: flex-start;
    }
}

.ops-hero--compact {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .95fr);
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    align-items: stretch;
}

.ops-hero--compact .ops-hero__content {
    display: flex;
    align-items: stretch;
}

.ops-hero__summary {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.ops-hero__summary-main {
    display: grid;
    gap: .7rem;
}

.ops-hero--compact .ops-hero__title {
    margin: 0;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    max-width: none;
}

.ops-hero--compact .ops-hero__meta {
    gap: .55rem;
}

.ops-hero--compact .ops-pill {
    padding: .5rem .75rem;
    font-size: .76rem;
}

.ops-hero--compact .ops-hero__actions {
    margin-top: 0;
    gap: .55rem;
    justify-content: flex-end;
    align-self: center;
}
.ops-hero--dashboard .ops-hero__summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: .9rem;
}

.ops-hero--dashboard .ops-hero__summary-main {
    width: 100%;
    gap: .6rem;
}

.ops-hero--dashboard .ops-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(136px, 150px));
    gap: .55rem;
    margin-top: .25rem;
    justify-content: flex-start;
    align-self: flex-start;
}

.ops-hero--dashboard .ops-hero__actions .btn {
    width: 100%;
    justify-content: center;
}


.ops-hero__panel--compact {
    gap: .75rem;
}

.ops-panel-card--compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .35rem 1rem;
    align-items: end;
    padding: .95rem 1rem;
}

.ops-panel-card--compact .ops-panel-card__value {
    font-size: 2.4rem;
    margin: .3rem 0 0;
}

.ops-panel-card--compact .ops-panel-card__hint {
    text-align: right;
    font-size: .78rem;
    color: rgba(255,255,255,.72);
}

.ops-panel-grid--compact {
    gap: .65rem;
}

.ops-panel-grid--compact .ops-panel-kpi {
    min-height: 0;
    padding: .85rem .9rem;
}

.ops-panel-grid--compact .ops-panel-kpi span {
    font-size: .74rem;
}

.ops-panel-grid--compact .ops-panel-kpi strong {
    font-size: 1.3rem;
}

@media (max-width: 991.98px) {
    .ops-hero--compact {
        grid-template-columns: 1fr;
    }

    .ops-hero__summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .ops-hero--compact .ops-hero__actions {
        align-self: flex-start;
        justify-content: flex-start;
    }

    .ops-hero--dashboard .ops-hero__actions {
        grid-template-columns: 1fr 1fr;
    }

    .ops-panel-card--compact {
        grid-template-columns: 1fr;
    }

    .ops-panel-card--compact .ops-panel-card__hint {
        text-align: left;
    }
}

/* ══════════════════════════════════════════════════
   Dense Layout Tuning
   Compacta altura y espaciado en componentes compartidos
   ══════════════════════════════════════════════════ */

.dashboard-kpi-card {
    gap: .8rem;
    padding: .82rem .9rem;
    border-radius: 20px;
    min-height: 96px;
}

.dashboard-kpi-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 1.15rem;
}

.dashboard-kpi-card__content span {
    font-size: .72rem;
    letter-spacing: .12em;
}

.dashboard-kpi-card__content strong {
    font-size: 1.7rem;
    margin: .2rem 0;
}

.dashboard-kpi-card__content small {
    font-size: .74rem;
    line-height: 1.35;
}

.ops-section-card {
    border-radius: 24px;
    padding: 1rem;
}

.ops-section-card__header {
    gap: .75rem;
    margin-bottom: .8rem;
}

.ops-section-card__title {
    font-size: 1.05rem;
}

.ops-section-card__eyebrow,
.ops-eyebrow {
    font-size: .68rem;
    letter-spacing: .16em;
}

.ops-page-hero,
.ops-flight-hero {
    gap: .85rem;
    padding: 1.05rem 1.1rem;
    border-radius: 24px;
}

.ops-page-hero__title {
    margin: .45rem 0;
    font-size: clamp(1.3rem, 2.4vw, 1.85rem);
    max-width: 17ch;
}

.ops-page-hero__text,
.ops-flight-hero__text {
    max-width: 58ch;
    font-size: .92rem;
    line-height: 1.5;
}

.ops-page-hero__stats {
    gap: .65rem;
}

.ops-mini-stat {
    padding: .8rem .9rem;
    border-radius: 18px;
}

.ops-mini-stat span {
    font-size: .72rem;
    letter-spacing: .12em;
}

.ops-mini-stat strong {
    margin-top: .25rem;
    font-size: 1.45rem;
}

.ops-alert-strip {
    gap: .85rem;
}

.ops-alert-card {
    gap: .75rem;
    padding: .85rem .9rem;
    border-radius: 18px;
}

.ops-alert-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 1rem;
}

.ops-alert-card__text {
    font-size: .8rem;
    line-height: 1.45;
}

.ops-flight-grid,
.ops-flow-grid {
    gap: .85rem;
}

.ops-flight-card {
    padding: .9rem;
    border-radius: 18px;
}

.ops-flight-card__code {
    font-size: 1.05rem;
}

.ops-flight-card__route {
    font-size: .8rem;
}

.ops-flight-card__meta {
    gap: .55rem .85rem;
    margin: .65rem 0 .75rem;
    font-size: .78rem;
}

.ops-flight-card__link {
    font-size: .88rem;
}

.ops-flow-card {
    padding: .85rem;
    border-radius: 18px;
}

.ops-flow-card__count {
    font-size: 1.45rem;
}

.ops-flow-card__label {
    margin: .3rem 0 .5rem;
    font-size: .92rem;
}

.ops-flow-card__progress {
    height: 9px;
    margin-top: .45rem;
}

.ops-flow-card__foot {
    font-size: .74rem;
    margin-top: .4rem;
}

.ops-report-card {
    gap: .8rem;
    padding: .95rem;
    border-radius: 20px;
}

.ops-report-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 1.2rem;
}

.ops-report-card__title {
    font-size: 1rem;
    margin-bottom: .2rem;
}

.ops-report-card__text {
    font-size: .86rem;
    line-height: 1.5;
}

.ops-route-chip {
    padding: .28rem .5rem;
    font-size: .72rem;
}

.ops-status-pill {
    padding: .38rem .65rem;
    font-size: .68rem;
}

.ops-empty-state {
    min-height: 180px;
    padding: 1.1rem;
}

.ops-empty-state--compact {
    min-height: 140px;
}

.ops-empty-state i {
    font-size: 1.5rem;
    margin-bottom: .5rem;
}

/* ══════════════════════════════════════════════════
   Visual Hierarchy Tuning
   Oculta texto secundario en vistas de lectura rápida
   ══════════════════════════════════════════════════ */

.ops-page-hero--terse .ops-page-hero__text,
.ops-report-card--terse .ops-report-card__text,
.dashboard-kpi-card--minimal .dashboard-kpi-card__content small,
.ops-empty-state--terse span {
    display: none;
}

.dashboard-kpi-card--minimal .dashboard-kpi-card__content strong {
    margin-bottom: 0;
}

.ops-page-hero--terse .ops-page-hero__title {
    max-width: 14ch;
    margin-bottom: 0;
}

.ops-report-card--terse {
    justify-content: space-between;
}

.ops-report-card--terse .ops-report-card__body {
    min-height: auto;
}

.ops-empty-state--terse {
    min-height: 120px;
}





/* ══════════════════════════════════════════════════
   AeroTrack — Adaptive Sidebar v2.0
   Sidebar colapsable en desktop y off-canvas en móvil.
   ══════════════════════════════════════════════════ */

:root {
    --at-sidebar-collapsed-width: 84px;
}

body {
    font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.sidebar {
    border-right: 1px solid rgba(255,255,255,.06);
    box-shadow: 18px 0 45px rgba(6, 16, 32, .18);
    background:
        linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)),
        linear-gradient(180deg, #0c1828 0%, #0b1726 100%);
}

.sidebar-header,
.sidebar-user,
.sidebar-footer {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
}

.sidebar-header {
    padding-top: 1.2rem;
    padding-bottom: 1rem;
}

.sidebar-brand {
    gap: .72rem;
    font-size: 1.16rem;
    font-weight: 800;
}

.sidebar-brand-icon {
    font-size: 1.45rem;
}

.sidebar-user {
    margin: .75rem .8rem 0;
    padding: .8rem .9rem;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px;
    background: rgba(255,255,255,.03);
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    box-shadow: 0 12px 25px rgba(59,130,246,.24);
}

.sidebar-user-name {
    font-size: .86rem;
}

.sidebar-user-role {
    font-size: .72rem;
}

.sidebar-nav {
    padding: .9rem .8rem 1rem;
}

.sidebar-section-title {
    padding: 1rem .95rem .45rem;
    font-size: .66rem;
    letter-spacing: .18em;
}

.sidebar-link {
    gap: .72rem;
    padding: .74rem .95rem;
    margin-bottom: .22rem;
    border-left: 0;
    border-radius: 16px;
    font-size: .88rem;
}

.sidebar-link i {
    width: 18px;
    font-size: 1rem;
}

.sidebar-link span {
    white-space: nowrap;
}

.sidebar-link:hover {
    background: rgba(255,255,255,.08);
}

.sidebar-item.active .sidebar-link {
    background: linear-gradient(135deg, rgba(59,130,246,.26), rgba(59,130,246,.12));
    box-shadow: inset 0 0 0 1px rgba(96,165,250,.18);
}

.sidebar-item.active .sidebar-link::before {
    content: '';
    position: absolute;
    left: .55rem;
    top: .7rem;
    bottom: .7rem;
    width: 3px;
    border-radius: 999px;
    background: var(--at-sidebar-accent);
}

.sidebar-footer {
    margin: .35rem .8rem .8rem;
    padding: .8rem .9rem;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 18px;
    background: rgba(255,255,255,.02);
}

.sidebar-version {
    letter-spacing: .08em;
}

.main-wrapper {
    transition: margin-left var(--at-transition);
}

.at-navbar {
    backdrop-filter: blur(14px);
}

.at-navbar__leading {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.at-shell-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--at-border);
    border-radius: 14px;
    background: #fff;
    color: #334155;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
    transition: transform var(--at-transition), box-shadow var(--at-transition), border-color var(--at-transition), background var(--at-transition);
}

.at-shell-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(59,130,246,.28);
    background: #f8fbff;
    box-shadow: 0 14px 28px rgba(59,130,246,.12);
}

.at-shell-toggle i {
    font-size: 1rem;
}

body.at-sidebar-collapsed .sidebar {
    width: var(--at-sidebar-collapsed-width);
}

body.at-sidebar-collapsed .main-wrapper {
    margin-left: var(--at-sidebar-collapsed-width);
}

body.at-sidebar-collapsed .sidebar-header,
body.at-sidebar-collapsed .sidebar-footer {
    padding-left: .75rem;
    padding-right: .75rem;
}

body.at-sidebar-collapsed .sidebar-header {
    justify-content: center;
}

body.at-sidebar-collapsed .sidebar-brand {
    justify-content: center;
}

body.at-sidebar-collapsed .sidebar-brand-text,
body.at-sidebar-collapsed .sidebar-user-info,
body.at-sidebar-collapsed .sidebar-section-title,
body.at-sidebar-collapsed .sidebar-version,
body.at-sidebar-collapsed .sidebar-link span {
    display: none;
}

body.at-sidebar-collapsed .sidebar-user {
    justify-content: center;
    margin-left: .55rem;
    margin-right: .55rem;
    padding-left: .5rem;
    padding-right: .5rem;
}

body.at-sidebar-collapsed .sidebar-nav {
    padding-left: .55rem;
    padding-right: .55rem;
}

body.at-sidebar-collapsed .sidebar-link {
    justify-content: center;
    padding-left: .75rem;
    padding-right: .75rem;
}

body.at-sidebar-collapsed .sidebar-link i {
    width: auto;
}

body.at-sidebar-collapsed .sidebar-item.active .sidebar-link::before {
    left: .35rem;
}

body.at-sidebar-collapsed .sidebar-footer {
    display: flex;
    justify-content: center;
}

body.at-sidebar-collapsed .at-shell-toggle i {
    transform: rotate(180deg);
}

@media (max-width: 991.98px) {
    .sidebar {
        box-shadow: 22px 0 48px rgba(0, 0, 0, .28);
    }

    .at-navbar__leading {
        gap: .5rem;
    }
}

.at-sidebar-tooltip .tooltip-inner {
    background: rgba(9, 17, 31, .96);
    color: #f8fbff;
    border: 1px solid rgba(96, 165, 250, .22);
    border-radius: 12px;
    padding: .48rem .68rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 12px 24px rgba(6, 16, 32, .22);
}

.at-sidebar-tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: rgba(9, 17, 31, .96);
}

.ops-diagnostic-card {
    padding: 1rem 1.1rem;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.86));
    box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
}

.ops-diagnostic-card--compact {
    padding: .9rem 1rem;
    border-radius: 18px;
}

.ops-diagnostic-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .8rem;
}

.ops-diagnostic-list {
    display: grid;
    gap: .65rem;
}

.ops-diagnostic-item {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .78rem .88rem;
    border-radius: 16px;
    font-size: .88rem;
    line-height: 1.45;
}

.ops-diagnostic-item i {
    margin-top: .08rem;
    font-size: .95rem;
}

.ops-diagnostic-item--issue {
    background: rgba(239, 68, 68, .08);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, .14);
}

.ops-diagnostic-item--warning {
    background: rgba(245, 158, 11, .10);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, .18);
}

/* Branding settings module */
.auth-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.75rem;
    height: 4.75rem;
    margin: 0 auto .75rem;
}

.auth-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.14));
}

.sidebar-brand-mark {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .9rem;
    background: rgba(59, 130, 246, 0.12);
    flex-shrink: 0;
}

.sidebar-brand-logo {
    width: 1.65rem;
    height: 1.65rem;
    object-fit: contain;
}

.sidebar-brand-logo--icon {
    width: 1.85rem;
    height: 1.85rem;
}

body.at-sidebar-collapsed .sidebar-brand-mark {
    margin-inline: auto;
}

.platform-logo-preview {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.9));
}

.platform-logo-preview__label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
}

.platform-logo-preview__frame {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    border: 1px dashed rgba(148, 163, 184, 0.45);
    background: rgba(255, 255, 255, 0.82);
    padding: 1.25rem;
}

.platform-logo-preview__frame img {
    max-width: 100%;
    max-height: 132px;
    object-fit: contain;
}

.platform-logo-preview__image {
    width: min(180px, 72%);
    height: 132px;
    object-fit: contain;
}

.platform-logo-preview__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    color: #64748b;
}

.platform-logo-preview__placeholder i {
    font-size: 2rem;
    color: #2563eb;
}

.platform-config-note-section {
    position: relative;
    z-index: 1;
    flex-basis: 100%;
    margin-top: 1.25rem;
    padding-top: 1.5rem;
}

.platform-config-note {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, .9), rgba(241, 245, 249, .78));
    border: 1px solid rgba(37, 99, 235, 0.16);
}

.platform-config-note i {
    font-size: 1.1rem;
    color: #2563eb;
}

.platform-config-note strong,
.platform-option-card h3 {
    display: block;
    margin-bottom: .2rem;
}

.platform-config-note span {
    display: block;
    color: #64748b;
    font-size: .92rem;
}

.platform-option-card {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.96));
}

.platform-option-card h3 {
    font-size: .96rem;
    font-weight: 700;
    margin: 0 0 .65rem;
}

.platform-option-card ul {
    margin: 0;
    padding-left: 1rem;
    color: #64748b;
    font-size: .92rem;
}

.platform-option-card li + li {
    margin-top: .35rem;
}

/* Branding settings module - visual extension */
.platform-color-picker {
    width: 3.5rem;
    min-width: 3.5rem;
    height: 3rem;
    padding: .25rem;
    border-radius: .85rem;
}

.platform-logo-preview__frame--favicon {
    min-height: 180px;
}

.platform-favicon-preview {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
}

.platform-theme-swatch {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--platform-primary) 24%, white) 0%, color-mix(in srgb, var(--platform-secondary) 26%, white) 100%);
}

.platform-theme-swatch::before,
.platform-theme-swatch::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    inset: auto;
    opacity: .8;
}

.platform-theme-swatch::before {
    width: 74px;
    height: 74px;
    right: 20px;
    top: 16px;
    background: color-mix(in srgb, var(--platform-primary) 65%, white);
}

.platform-theme-swatch::after {
    width: 56px;
    height: 56px;
    right: 68px;
    bottom: 14px;
    background: color-mix(in srgb, var(--platform-secondary) 62%, white);
}

.platform-theme-swatch > div {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.platform-theme-swatch__label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #475569;
}

/* Branding settings module - preview refresh */
.platform-theme-preview {
    --platform-primary: #3B82F6;
    --platform-secondary: #15A4D9;
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(135deg, color-mix(in srgb, var(--platform-primary) 14%, #0f172a) 0%, color-mix(in srgb, var(--platform-secondary) 18%, #ffffff) 100%);
    color: #0f172a;
}

.platform-theme-preview__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.platform-theme-preview__eyebrow,
.platform-theme-preview__label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
}

.platform-theme-preview h3 {
    font-size: 1.05rem;
    margin: .15rem 0 0;
}

.platform-theme-preview__chips {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.platform-theme-preview__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem .7rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
}

.platform-theme-preview__chip--primary {
    background: var(--platform-primary);
}

.platform-theme-preview__chip--secondary {
    background: var(--platform-secondary);
}

.platform-theme-preview__body {
    display: grid;
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
    gap: 1rem;
}

.platform-theme-preview__sidebar,
.platform-theme-preview__content {
    padding: 1rem;
    border-radius: .95rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.platform-theme-preview__menu-item {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1rem;
    margin-top: .75rem;
    border-radius: .85rem;
    background: rgba(15, 23, 42, 0.05);
    color: #475569;
    border-left: 4px solid transparent;
}

.platform-theme-preview__menu-item.is-active {
    background: color-mix(in srgb, var(--platform-primary) 18%, white);
    border-left-color: var(--platform-primary);
    color: #0f172a;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.platform-theme-preview__link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: var(--platform-primary);
    text-decoration: none;
}

.platform-theme-preview__gradient {
    height: 72px;
    border-radius: .95rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--platform-primary) 70%, #0f172a) 0%, var(--platform-secondary) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

@media (max-width: 991.98px) {
    .platform-theme-preview__body {
        grid-template-columns: 1fr;
    }
}

.ops-carretas-board {
    border-radius: 8px;
}

.ops-carretas-board__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: .85rem 1rem .4rem;
}

.ops-carretas-board__meta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #6b7280;
    font-size: .82rem;
    white-space: nowrap;
}

.ops-carretas-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) minmax(130px, .7fr) minmax(145px, .8fr) auto;
    align-items: end;
    gap: .65rem;
    padding: .75rem 1rem;
    border-top: 1px solid #edf2f7;
    background: #fbfdff;
}

.ops-carretas-toolbar .form-label {
    margin-bottom: .25rem;
    color: #475569;
}

.ops-carretas-toolbar__actions {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    justify-content: flex-end;
}

.ops-carretas-table {
    table-layout: fixed;
    min-width: 760px;
}

.ops-carretas-table th,
.ops-carretas-table td {
    padding: .55rem 1rem;
}

.ops-carretas-table__code {
    width: 14%;
}

.ops-carretas-table__description {
    width: 36%;
}

.ops-carretas-table__count {
    width: 14%;
}

.ops-carretas-table__status,
.ops-carretas-table__availability {
    width: 14%;
}

.ops-carretas-table__actions {
    width: 8%;
}

.ops-carretas-table__description-text {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.35;
}

@media (max-width: 1199.98px) {
    .ops-carretas-toolbar {
        grid-template-columns: minmax(220px, 1fr) minmax(130px, 180px) minmax(145px, 190px);
    }

    .ops-carretas-toolbar__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .ops-carretas-board__header {
        flex-direction: column;
        gap: .4rem;
    }

    .ops-carretas-board__meta {
        white-space: normal;
    }

    .ops-carretas-toolbar {
        grid-template-columns: 1fr;
    }

    .ops-carretas-toolbar__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.ops-vuelos-board {
    border-radius: 8px;
}

.ops-vuelos-board__meta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #6b7280;
    font-size: .82rem;
    white-space: nowrap;
}

.ops-vuelos-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) minmax(130px, .75fr) minmax(150px, .75fr) minmax(145px, .75fr) auto;
    align-items: end;
    gap: .65rem;
    padding: .75rem 0;
    border-top: 1px solid #edf2f7;
}

.ops-vuelos-toolbar .form-label {
    margin-bottom: .25rem;
    color: #475569;
}

.ops-vuelos-toolbar__actions {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    justify-content: flex-end;
}

.ops-vuelos-radar {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .8rem;
}

.ops-vuelos-radar__chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 30px;
    padding: .32rem .55rem;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-size: .78rem;
    font-weight: 700;
}

.ops-vuelos-radar__chip strong {
    color: #111827;
}

.ops-vuelos-radar__chip--steel {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.ops-vuelos-radar__chip--amber {
    border-color: #f3d98b;
    background: #fff8df;
}

.ops-vuelos-radar__chip--emerald {
    border-color: #badbcc;
    background: #eefaf3;
}

.ops-vuelos-radar__chip--ruby {
    border-color: #f4c2c2;
    background: #fff1f2;
}

.ops-vuelos-table {
    table-layout: fixed;
    min-width: 900px;
}

.ops-vuelos-table th,
.ops-vuelos-table td {
    padding: .6rem .85rem;
}

.ops-vuelos-table__flight {
    width: 15%;
}

.ops-vuelos-table__route {
    width: 17%;
}

.ops-vuelos-table__schedule {
    width: 14%;
}

.ops-vuelos-table__aircraft {
    width: 16%;
}

.ops-vuelos-table__bags {
    width: 9%;
}

.ops-vuelos-table__status {
    width: 17%;
}

.ops-vuelos-table__actions {
    width: 12%;
}

.ops-vuelos-table__route-line {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    .ops-vuelos-toolbar {
        grid-template-columns: minmax(220px, 1fr) minmax(130px, 180px) minmax(150px, 180px) minmax(145px, 190px);
    }

    .ops-vuelos-toolbar__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .ops-vuelos-board__meta {
        white-space: normal;
    }

    .ops-vuelos-toolbar {
        grid-template-columns: 1fr;
    }

    .ops-vuelos-toolbar__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.ops-maletas-board {
    border-radius: 8px;
}

.ops-maletas-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) minmax(150px, .9fr) minmax(145px, .8fr) auto;
    align-items: end;
    gap: .65rem;
    padding: .75rem 0;
    border-top: 1px solid #edf2f7;
}

.ops-maletas-toolbar .form-label {
    margin-bottom: .25rem;
    color: #475569;
}

.ops-maletas-toolbar__actions {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    justify-content: flex-end;
}

.ops-maletas-radar {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .8rem;
}

.ops-maletas-radar__chip,
.ops-maletas-radar__empty {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 30px;
    padding: .32rem .55rem;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-size: .78rem;
    font-weight: 700;
}

.ops-maletas-radar__chip strong {
    color: #111827;
}

.ops-maletas-radar__chip--steel {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.ops-maletas-radar__chip--sky {
    border-color: #bae6fd;
    background: #f0f9ff;
}

.ops-maletas-radar__chip--indigo {
    border-color: #c7d2fe;
    background: #eef2ff;
}

.ops-maletas-radar__chip--emerald {
    border-color: #badbcc;
    background: #eefaf3;
}

.ops-maletas-radar__chip--ruby {
    border-color: #f4c2c2;
    background: #fff1f2;
}

.ops-maletas-table {
    table-layout: fixed;
    min-width: 980px;
}

.ops-maletas-table th,
.ops-maletas-table td {
    padding: .6rem .85rem;
}

.ops-maletas-table__code {
    width: 15%;
}

.ops-maletas-table__passenger {
    width: 17%;
}

.ops-maletas-table__flight {
    width: 10%;
}

.ops-maletas-table__weight {
    width: 8%;
}

.ops-maletas-table__status {
    width: 14%;
}

.ops-maletas-table__event {
    width: 24%;
}

.ops-maletas-table__actions {
    width: 12%;
}

.ops-maletas-table__text,
.ops-maletas-table__event-text {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 1199.98px) {
    .ops-maletas-toolbar {
        grid-template-columns: minmax(220px, 1fr) minmax(150px, 190px) minmax(145px, 190px);
    }

    .ops-maletas-toolbar__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .ops-maletas-toolbar {
        grid-template-columns: 1fr;
    }

    .ops-maletas-toolbar__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.ops-trace-board {
    border-radius: 8px;
}

.ops-trace-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) minmax(170px, .9fr) minmax(145px, .8fr) auto;
    align-items: end;
    gap: .65rem;
    padding: .75rem 0;
    border-top: 1px solid #edf2f7;
}

.ops-trace-toolbar .form-label {
    margin-bottom: .25rem;
    color: #475569;
}

.ops-trace-toolbar__actions {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    justify-content: flex-end;
}

.ops-trace-radar {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .8rem;
}

.ops-trace-radar__chip,
.ops-trace-radar__empty {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 30px;
    padding: .32rem .55rem;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-size: .78rem;
    font-weight: 700;
}

.ops-trace-radar__chip strong {
    color: #111827;
}

.ops-trace-radar__chip--steel {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.ops-trace-radar__chip--emerald {
    border-color: #badbcc;
    background: #eefaf3;
}

.ops-trace-radar__chip--sky {
    border-color: #bae6fd;
    background: #f0f9ff;
}

.ops-trace-radar__chip--indigo {
    border-color: #c7d2fe;
    background: #eef2ff;
}

.ops-trace-radar__chip--amber {
    border-color: #f3d98b;
    background: #fff8df;
}

.ops-trace-radar__chip--ruby {
    border-color: #f4c2c2;
    background: #fff1f2;
}

.ops-trace-table {
    table-layout: fixed;
    min-width: 1100px;
}

.ops-trace-table th,
.ops-trace-table td {
    padding: .6rem .85rem;
}

.ops-trace-table__event {
    width: 29%;
}

.ops-trace-table__type {
    width: 12%;
}

.ops-trace-table__flight {
    width: 10%;
}

.ops-trace-table__bag {
    width: 15%;
}

.ops-trace-table__user {
    width: 14%;
}

.ops-trace-table__device {
    width: 13%;
}

.ops-trace-table__time {
    width: 7%;
}

.ops-trace-table__event-text,
.ops-trace-table__text {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 1199.98px) {
    .ops-trace-toolbar {
        grid-template-columns: minmax(220px, 1fr) minmax(170px, 190px) minmax(145px, 190px);
    }

    .ops-trace-toolbar__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .ops-trace-toolbar {
        grid-template-columns: 1fr;
    }

    .ops-trace-toolbar__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.ops-dashboard-board,
.ops-dashboard-activity {
    border-radius: 8px;
}

.ops-dashboard-activity {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.ops-dashboard-insight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: .85rem;
    padding: .75rem 0 .9rem;
    border-top: 1px solid #edf2f7;
}

.ops-dashboard-insight {
    min-width: 0;
}

.ops-dashboard-insight__label {
    margin-bottom: .45rem;
    color: #6b7280;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ops-dashboard-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.ops-dashboard-chip {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    min-height: 30px;
    padding: .32rem .55rem;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-size: .76rem;
    font-weight: 700;
    white-space: nowrap;
}

.ops-dashboard-chip strong {
    color: #111827;
}

.ops-dashboard-chip small {
    color: #64748b;
    font-size: .7rem;
    font-weight: 800;
}

.ops-dashboard-chip--steel {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.ops-dashboard-chip--amber {
    border-color: #f3d98b;
    background: #fff8df;
}

.ops-dashboard-chip--emerald {
    border-color: #badbcc;
    background: #eefaf3;
}

.ops-dashboard-chip--ruby {
    border-color: #f4c2c2;
    background: #fff1f2;
}

.ops-dashboard-chip--sky {
    border-color: #bae6fd;
    background: #f0f9ff;
}

.ops-dashboard-chip--indigo {
    border-color: #c7d2fe;
    background: #eef2ff;
}

.ops-dashboard-table {
    table-layout: fixed;
    min-width: 900px;
}

.ops-dashboard-table th,
.ops-dashboard-table td {
    padding: .6rem .85rem;
}

.ops-dashboard-table__flight {
    width: 15%;
}

.ops-dashboard-table__airline {
    width: 18%;
}

.ops-dashboard-table__route {
    width: 22%;
}

.ops-dashboard-table__time {
    width: 9%;
}

.ops-dashboard-table__status {
    width: 17%;
}

.ops-dashboard-table__bags {
    width: 10%;
}

.ops-dashboard-table__actions {
    width: 9%;
}

.ops-dashboard-table__text {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ops-dashboard-route {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    white-space: nowrap;
}

.ops-dashboard-activity .ops-activity-list {
    gap: .65rem;
}

.ops-dashboard-activity .ops-activity-item {
    gap: .9rem;
    padding: .75rem 1rem;
}

.ops-dashboard-activity .ops-activity-item__body {
    min-width: 0;
}

.ops-dashboard-activity .ops-activity-item__meta {
    gap: .42rem 1rem;
}

.ops-dashboard-activity .ops-activity-item__time {
    margin-left: .25rem;
    padding-left: .25rem;
}

@media (max-width: 1199.98px) {
    .ops-dashboard-insight-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .ops-dashboard-chip {
        white-space: normal;
    }
}

/* Platform appearance preferences */
.platform-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.platform-choice-card {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    min-height: 88px;
    padding: .85rem;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #fbfdff;
    color: #172033;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.platform-choice-card:hover {
    border-color: rgba(var(--bs-primary-rgb), .45);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.btn-check:checked + .platform-choice-card {
    border-color: var(--at-sidebar-accent);
    background: rgba(var(--bs-primary-rgb), .08);
    box-shadow: inset 0 0 0 1px rgba(var(--bs-primary-rgb), .22);
}

.platform-choice-card__icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(var(--bs-primary-rgb), .1);
    color: var(--at-sidebar-accent);
    flex-shrink: 0;
}

.platform-choice-card strong,
.platform-choice-card small {
    display: block;
}

.platform-choice-card small {
    margin-top: .2rem;
    color: #64748b;
    line-height: 1.35;
}

.platform-theme-preview__table {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 8px;
}

.platform-theme-preview__row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: .75rem;
    align-items: center;
    padding: .55rem .7rem;
    background: rgba(255, 255, 255, .72);
    border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.platform-theme-preview__row:last-child {
    border-bottom: 0;
}

.platform-theme-preview__row span {
    color: #64748b;
}

.platform-theme-preview__row em {
    min-width: 82px;
    padding: .18rem .45rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--platform-primary) 16%, white);
    color: color-mix(in srgb, var(--platform-primary) 70%, #0f172a);
    font-style: normal;
    font-size: .76rem;
    font-weight: 700;
    text-align: center;
}

.platform-theme-preview--dark {
    background: linear-gradient(135deg, #111827 0%, color-mix(in srgb, var(--platform-primary) 26%, #020617) 58%, #0f172a 100%);
    color: #e5edf7;
}

.platform-theme-preview--dark .platform-theme-preview__eyebrow,
.platform-theme-preview--dark .platform-theme-preview__label,
.platform-theme-preview--dark .platform-theme-preview__row span {
    color: #93a4b8;
}

.platform-theme-preview--dark .platform-theme-preview__sidebar,
.platform-theme-preview--dark .platform-theme-preview__content,
.platform-theme-preview--dark .platform-theme-preview__row {
    background: rgba(15, 23, 42, .78);
    border-color: rgba(148, 163, 184, .2);
}

.platform-theme-preview--dark .platform-theme-preview__menu-item {
    background: rgba(255, 255, 255, .06);
    color: #cbd5e1;
}

.platform-theme-preview--dark .platform-theme-preview__menu-item.is-active {
    background: color-mix(in srgb, var(--platform-primary) 28%, #111827);
    color: #f8fafc;
}

.platform-theme-preview--compact {
    padding: .9rem;
}

.platform-theme-preview--compact .platform-theme-preview__body {
    gap: .65rem;
}

.platform-theme-preview--compact .platform-theme-preview__sidebar,
.platform-theme-preview--compact .platform-theme-preview__content {
    padding: .75rem;
}

.platform-theme-preview--compact .platform-theme-preview__menu-item,
.platform-theme-preview--compact .platform-theme-preview__row {
    padding-top: .4rem;
    padding-bottom: .4rem;
}

@media (max-width: 767.98px) {
    .platform-choice-grid {
        grid-template-columns: 1fr;
    }
}

body.at-theme-dark {
    --at-body-bg: #0f172a;
    --at-card-bg: #111827;
    --at-border: rgba(148, 163, 184, .22);
    --at-table-border: rgba(148, 163, 184, .22);
    --at-text-primary: #e5edf7;
    --at-text-muted: #94a3b8;
    --at-sidebar-bg: #020617;
    --at-sidebar-text: #9aa8bd;
    --at-sidebar-hover: rgba(255, 255, 255, .08);
    --at-sidebar-section: #64748b;
    --at-ink-950: #020617;
    --at-ink-900: #0f172a;
    --at-ink-800: #1e293b;
    --at-surface-strong: #111827;
    --at-surface-soft: rgba(15, 23, 42, .82);
    --bs-body-bg: #0f172a;
    --bs-body-color: #e5edf7;
    --bs-border-color: rgba(148, 163, 184, .22);
    --bs-secondary-color: #94a3b8;
    --bs-tertiary-bg: #1e293b;
}

body.at-theme-dark.at-shell {
    background:
        radial-gradient(circle at top right, rgba(var(--bs-primary-rgb), .16), transparent 28%),
        linear-gradient(180deg, #0f172a 0%, #111827 48%, #0b1120 100%);
}

body.at-theme-dark .at-navbar,
body.at-theme-dark .breadcrumb-wrapper,
body.at-theme-dark .page-header,
body.at-theme-dark .at-footer,
body.at-theme-dark .card,
body.at-theme-dark .card-header,
body.at-theme-dark .ops-section-card,
body.at-theme-dark .ops-alert-card,
body.at-theme-dark .dashboard-kpi-card,
body.at-theme-dark .ops-flight-card,
body.at-theme-dark .ops-flow-card,
body.at-theme-dark .timeline-content {
    background: rgba(17, 24, 39, .92);
    border-color: rgba(148, 163, 184, .18);
    color: #e5edf7;
}

body.at-theme-dark .bg-white,
body.at-theme-dark .bg-light {
    background-color: #111827 !important;
}

body.at-theme-dark .text-dark,
body.at-theme-dark .page-title,
body.at-theme-dark .stat-card-value,
body.at-theme-dark .ops-dashboard-chip strong,
body.at-theme-dark .ops-trace-radar__chip strong,
body.at-theme-dark .ops-maletas-radar__chip strong,
body.at-theme-dark .ops-vuelos-radar__chip strong {
    color: #f8fafc !important;
}

body.at-theme-dark .text-muted,
body.at-theme-dark .page-subtitle,
body.at-theme-dark .form-text,
body.at-theme-dark .platform-logo-preview__label,
body.at-theme-dark .platform-config-note span,
body.at-theme-dark .ops-carretas-board__meta,
body.at-theme-dark .ops-vuelos-board__meta {
    color: #94a3b8 !important;
}

body.at-theme-dark .form-control,
body.at-theme-dark .form-select,
body.at-theme-dark .input-group-text,
body.at-theme-dark .dropdown-menu,
body.at-theme-dark .pagination .page-link {
    background-color: #0f172a;
    border-color: rgba(148, 163, 184, .26);
    color: #e5edf7;
}

body.at-theme-dark .form-control::placeholder {
    color: #64748b;
}

body.at-theme-dark .table {
    --bs-table-bg: transparent;
    --bs-table-color: #dbe7f4;
    --bs-table-border-color: var(--at-table-border);
    --bs-table-hover-bg: rgba(59, 130, 246, .08);
    border-color: var(--at-table-border);
}

body.at-theme-dark .table-light {
    --bs-table-bg: #162033;
    --bs-table-color: #aebbd0;
    --bs-table-border-color: var(--at-table-border);
    --bs-table-striped-bg: #1a263a;
    --bs-table-striped-color: #dbe7f4;
    --bs-table-active-bg: #1e2b42;
    --bs-table-active-color: #f8fafc;
    --bs-table-hover-bg: #1d2a40;
    --bs-table-hover-color: #f8fafc;
}

body.at-theme-dark .table thead,
body.at-theme-dark .table thead tr,
body.at-theme-dark .table thead th,
body.at-theme-dark .ops-table thead th {
    background-color: #162033;
    color: #aebbd0;
    border-color: var(--at-table-border);
}

body.at-theme-dark .table > :not(caption) > * > *,
body.at-theme-dark .table tr,
body.at-theme-dark .table th,
body.at-theme-dark .table td,
body.at-theme-dark .ops-table-wrap {
    border-color: var(--at-table-border);
}

body.at-theme-dark .table th {
    color: #9fb0c5;
}

body.at-theme-dark .platform-choice-card,
body.at-theme-dark .platform-logo-preview,
body.at-theme-dark .platform-logo-preview__frame,
body.at-theme-dark .ops-carretas-toolbar,
body.at-theme-dark .ops-vuelos-toolbar,
body.at-theme-dark .ops-maletas-toolbar,
body.at-theme-dark .ops-trace-toolbar {
    background: rgba(15, 23, 42, .78);
    border-color: rgba(148, 163, 184, .2);
    color: #e5edf7;
}

body.at-theme-dark .platform-config-note {
    background:
        linear-gradient(180deg, rgba(var(--bs-primary-rgb), .1), rgba(15, 23, 42, .82));
    border-color: rgba(var(--bs-primary-rgb), .24);
    color: #e5edf7;
}

body.at-theme-dark .platform-choice-card small,
body.at-theme-dark .platform-logo-preview__placeholder,
body.at-theme-dark .ops-dashboard-chip,
body.at-theme-dark .ops-trace-radar__chip,
body.at-theme-dark .ops-trace-radar__empty,
body.at-theme-dark .ops-maletas-radar__chip,
body.at-theme-dark .ops-maletas-radar__empty,
body.at-theme-dark .ops-vuelos-radar__chip,
body.at-theme-dark .ops-report-flight-summary__chip {
    color: #94a3b8;
}

body.at-theme-dark .ops-dashboard-chip,
body.at-theme-dark .ops-trace-radar__chip,
body.at-theme-dark .ops-trace-radar__empty,
body.at-theme-dark .ops-maletas-radar__chip,
body.at-theme-dark .ops-maletas-radar__empty,
body.at-theme-dark .ops-vuelos-radar__chip,
body.at-theme-dark .ops-report-flight-summary__chip {
    background: rgba(15, 23, 42, .82);
    border-color: rgba(148, 163, 184, .22);
}

body.at-theme-dark .ops-report-flight-summary__chip strong {
    color: #f8fafc;
}

body.at-theme-dark .ops-radar-row__bar,
body.at-theme-dark .ops-flow-card__progress {
    background: rgba(148, 163, 184, .16);
    border: 1px solid rgba(148, 163, 184, .12);
    box-sizing: border-box;
    box-shadow: inset 0 1px 2px rgba(2, 6, 23, .42);
}

body.at-theme-dark .ops-radar-row__fill,
body.at-theme-dark .ops-flow-card__progress-fill {
    box-shadow: 0 0 14px rgba(255, 255, 255, .08);
}

body.at-theme-dark .ops-radar-row__fill--steel,
body.at-theme-dark .ops-flow-card__progress-fill--steel {
    background: linear-gradient(90deg, #64748b, #94a3b8);
}

body.at-theme-dark .ops-radar-row__fill--amber,
body.at-theme-dark .ops-flow-card__progress-fill--amber {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

body.at-theme-dark .ops-radar-row__fill--emerald,
body.at-theme-dark .ops-flow-card__progress-fill--emerald {
    background: linear-gradient(90deg, #059669, #34d399);
}

body.at-theme-dark .ops-radar-row__fill--ruby,
body.at-theme-dark .ops-flow-card__progress-fill--ruby {
    background: linear-gradient(90deg, #e11d48, #fb7185);
}

body.at-theme-dark .ops-radar-row__fill--sky,
body.at-theme-dark .ops-flow-card__progress-fill--sky {
    background: linear-gradient(90deg, #0284c7, #38bdf8);
}

body.at-theme-dark .ops-radar-row__fill--indigo,
body.at-theme-dark .ops-flow-card__progress-fill--indigo {
    background: linear-gradient(90deg, #6366f1, #818cf8);
}

body.at-theme-dark .ops-route-chip {
    background: rgba(var(--bs-primary-rgb), .14);
    border-color: rgba(var(--bs-primary-rgb), .28);
    color: #dbeafe;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

body.at-theme-dark .ops-report-flight-table__route i,
body.at-theme-dark .ops-dashboard-route i,
body.at-theme-dark .ops-vuelos-table__route-line i {
    color: #64748b;
}

body.at-theme-dark .ops-report-card {
    background:
        linear-gradient(180deg, rgba(17, 24, 39, .96), rgba(15, 23, 42, .9));
    border-color: rgba(148, 163, 184, .2);
    color: #e5edf7;
    box-shadow: 0 18px 36px rgba(2, 6, 23, .28);
}

body.at-theme-dark .ops-report-card:hover {
    border-color: rgba(var(--bs-primary-rgb), .32);
    background:
        linear-gradient(180deg, rgba(24, 34, 51, .98), rgba(17, 24, 39, .94));
}

body.at-theme-dark .ops-report-card__icon {
    background: rgba(15, 23, 42, .82);
    border: 1px solid rgba(148, 163, 184, .18);
}

body.at-theme-dark .ops-report-card__title {
    color: #f8fafc;
}

body.at-theme-dark .ops-report-card__text {
    color: #94a3b8;
}

body.at-theme-dark .ops-report-card__cta {
    color: #93c5fd;
}

body.at-theme-dark .ops-detail-item {
    background: rgba(15, 23, 42, .82);
    border-color: rgba(148, 163, 184, .2);
    color: #e5edf7;
}

body.at-theme-dark .ops-detail-item span {
    color: #93a4b8;
}

body.at-theme-dark .ops-detail-item strong {
    color: #f8fafc;
}

body.at-theme-dark .ops-detail-grid--manifest-summary .ops-detail-item {
    border-color: rgba(var(--bs-primary-rgb), .18);
}

body.at-theme-dark .ops-note-card {
    background: rgba(15, 23, 42, .82);
    border-color: rgba(var(--bs-primary-rgb), .24);
    color: #cbd5e1;
}

body.at-theme-dark .ops-note-card__label {
    color: #93c5fd;
}

body.at-theme-dark .ops-note-card p,
body.at-theme-dark .ops-note-card span {
    color: #cbd5e1;
}

body.at-theme-dark .ops-inline-note {
    background: rgba(245, 158, 11, .1);
    border-color: rgba(245, 158, 11, .24);
    color: #facc15;
}

body.at-theme-dark .password-strength {
    background: rgba(15, 23, 42, .72);
    border-color: rgba(148, 163, 184, .22);
}

body.at-theme-dark .password-strength__header {
    color: #93a4ba;
}

body.at-theme-dark .password-strength__header strong {
    color: #e5edf7;
}

body.at-theme-dark .password-strength__track {
    background: rgba(148, 163, 184, .2);
}

body.at-theme-dark .password-strength__rule {
    color: #94a3b8;
}

body.at-theme-dark .password-strength__rule.is-valid {
    color: #86efac;
}

body.at-theme-dark .at-confirm-modal .modal-content {
    background: #0f172a;
    border-color: rgba(148, 163, 184, .24);
    color: #e5edf7;
}

body.at-theme-dark .at-confirm-modal__content p {
    color: #94a3b8;
}

body.at-theme-dark .at-confirm-modal .modal-footer {
    border-color: rgba(148, 163, 184, .18);
}

body.at-theme-dark .at-confirm-modal__icon {
    background: rgba(245, 158, 11, .14);
    color: #fbbf24;
}

body.at-theme-dark .at-confirm-modal__icon--danger {
    background: rgba(239, 68, 68, .14);
    color: #f87171;
}

body.at-theme-dark .ops-activity-item {
    background: rgba(15, 23, 42, .82);
    border-color: rgba(148, 163, 184, .18);
}

body.at-theme-dark .auth-body-inner,
body.at-theme-dark .auth-footer {
    background: #111827;
    color: #dbe7f4;
}

body.at-density-compact {
    --at-navbar-height: 50px;
    font-size: .82rem;
}

body.at-density-compact .page-header {
    padding: .8rem 1.25rem .45rem;
    margin-bottom: .85rem;
}

body.at-density-compact .page-body {
    padding: 0 1.25rem 1rem;
}

body.at-density-compact .card-header,
body.at-density-compact .card-body {
    padding: .7rem .9rem;
}

body.at-density-compact .table th,
body.at-density-compact .table td,
body.at-density-compact .ops-carretas-table th,
body.at-density-compact .ops-carretas-table td,
body.at-density-compact .ops-vuelos-table th,
body.at-density-compact .ops-vuelos-table td,
body.at-density-compact .ops-maletas-table th,
body.at-density-compact .ops-maletas-table td,
body.at-density-compact .ops-trace-table th,
body.at-density-compact .ops-trace-table td,
body.at-density-compact .ops-dashboard-table th,
body.at-density-compact .ops-dashboard-table td {
    padding: .42rem .65rem;
}

body.at-density-compact .form-control,
body.at-density-compact .form-select,
body.at-density-compact .btn {
    padding-top: .34rem;
    padding-bottom: .34rem;
}

body.at-density-compact .ops-hero,
body.at-density-compact .ops-page-hero,
body.at-density-compact .ops-section-card {
    padding: 1rem;
}

body.at-density-compact .ops-dashboard-insight-grid,
body.at-density-compact .ops-carretas-toolbar,
body.at-density-compact .ops-vuelos-toolbar,
body.at-density-compact .ops-maletas-toolbar,
body.at-density-compact .ops-trace-toolbar {
    gap: .5rem;
    padding-top: .55rem;
    padding-bottom: .55rem;
}
