/* ============================================================
   TempoMail USA — System Status & Domain Fleet (FIX-5 A1)
   Hook classes (tmu-*) preserved: filterFleet/searchFleet JS
   and the VIP modal depend on them. All values re-tokenized
   to the Design System: pastel-glass, indigo #4f46e5, Jakarta.
   Old cream/stone/Space Grotesk/orange values removed.
   ============================================================ */

.tmu-status-hero {
    padding: 54px 0 10px;
    text-align: center;
    position: relative;
}
.tmu-live-pulse-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px; border-radius: 999px;
    background: #d7f6e6; border: 1px solid rgba(5, 150, 105, .3);
    color: #067647; font-size: 13px; font-weight: 800; margin-bottom: 16px;
}
html[data-theme="dark"] .tmu-live-pulse-badge {
    background: rgba(52, 211, 153, .14); border-color: rgba(52, 211, 153, .4); color: #34d399;
}
.tmu-live-dot {
    width: 9px; height: 9px; border-radius: 50%; background: #10b981;
    box-shadow: 0 0 0 rgba(16, 185, 129, .7);
    animation: tmuPulseGlow 2s infinite;
}
@keyframes tmuPulseGlow {
    0% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, .7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@media (prefers-reduced-motion: reduce) { .tmu-live-dot { animation: none; } }

.dss-h1 {
    font-size: clamp(30px, 4.5vw, 46px); font-weight: 800;
    color: var(--ink); letter-spacing: -.03em; margin: 0 0 12px; line-height: 1.1;
}
.dss-lead { color: var(--muted); font-size: 16px; max-width: 620px; margin: 0 auto; line-height: 1.55; }

/* KPI grid */
.tmu-fleet-section { padding: 28px 0 72px; }
.tmu-kpi-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px; position: relative; z-index: 10;
}
.tmu-kpi-card {
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 18px; padding: 20px 22px;
    box-shadow: 0 14px 30px -18px rgba(76, 64, 180, .25);
    transition: transform .2s ease, box-shadow .2s ease;
}
html[data-theme="dark"] .tmu-kpi-card {
    background: linear-gradient(150deg, rgba(23, 30, 48, .88), rgba(15, 20, 34, .84));
    border-color: rgba(255, 255, 255, .14);
}
.tmu-kpi-card:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -18px rgba(76, 64, 180, .35); }
.tmu-kpi-icon {
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center; font-size: 18px; margin-bottom: 12px;
}
.tmu-kpi-icon.tone-green { background: rgba(16, 185, 129, .12); color: #059669; }
.tmu-kpi-icon.tone-amber { background: rgba(245, 158, 11, .14); color: #d97706; }
.tmu-kpi-icon.tone-blue { background: rgba(59, 130, 246, .12); color: #2563eb; }
.tmu-kpi-icon.tone-violet { background: rgba(99, 102, 241, .13); color: #4f46e5; }
html[data-theme="dark"] .tmu-kpi-icon.tone-violet { color: #a5b4fc; }
.tmu-kpi-val { font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.1; margin-bottom: 4px; }
.tmu-kpi-label { font-size: 13px; color: var(--muted); font-weight: 600; }

/* Fleet table card */
.tmu-table-container {
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 20px;
    box-shadow: 0 18px 38px -20px rgba(76, 64, 180, .28);
    overflow: hidden;
}
html[data-theme="dark"] .tmu-table-container {
    background: linear-gradient(150deg, rgba(23, 30, 48, .88), rgba(15, 20, 34, .84));
    border-color: rgba(255, 255, 255, .14);
}
.tmu-fleet-toolbar {
    padding: 16px 20px; border-bottom: 1px solid var(--ds-line);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px;
    background: rgba(79, 70, 229, .045);
}
html[data-theme="dark"] .tmu-fleet-toolbar { background: rgba(99, 102, 241, .07); }
.tmu-tabs-wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tmu-tab-btn {
    min-height: 44px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--ds-line);
    background: rgba(255, 255, 255, .65);
    color: var(--ink); font-size: 13px; font-weight: 700; font-family: inherit;
    transition: all .15s ease;
}
html[data-theme="dark"] .tmu-tab-btn { background: rgba(255, 255, 255, .06); }
.tmu-tab-btn:hover { border-color: rgba(79, 70, 229, .45); }
.tmu-tab-btn.active {
    background: linear-gradient(135deg, #6366f1, #4338ca);
    color: #fff; border-color: transparent;
    box-shadow: 0 8px 18px -8px rgba(79, 70, 229, .65);
}
.tmu-tab-btn:focus-visible, .tmu-btn-unlock:focus-visible, .tmu-btn-use-free:focus-visible {
    outline: 2px solid #4f46e5; outline-offset: 2px;
}
.dss-crown { color: #f59e0b; }
.tmu-tab-btn.active .dss-crown { color: #fde68a; }

.tmu-search-wrap { position: relative; }
.tmu-search-wrap > i {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--muted); font-size: 13px; pointer-events: none;
}
.tmu-search-input {
    min-height: 44px; min-width: 240px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--ds-line); border-radius: 12px;
    color: var(--ink); -webkit-text-fill-color: var(--ink); caret-color: #4f46e5;
    font-size: 13.5px; font-weight: 600; font-family: inherit;
    padding: 10px 14px 10px 38px; outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
html[data-theme="dark"] .tmu-search-input { background: rgba(255, 255, 255, .06); }
.tmu-search-input:focus { border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79, 70, 229, .18); }

.tmu-table-scroll { max-height: 600px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.tmu-fleet-table { width: 100%; margin-bottom: 0; border-collapse: separate; border-spacing: 0; }
.tmu-fleet-table th {
    padding: 14px 20px; font-size: 11.5px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .06em;
    color: var(--muted); border-bottom: 1px solid var(--ds-line);
    text-align: left; white-space: nowrap;
}
.tmu-fleet-table td {
    padding: 14px 20px; font-size: 13.5px; color: var(--ink);
    border-bottom: 1px solid var(--ds-line); vertical-align: middle;
}
.tmu-fleet-table tr:last-child td { border-bottom: none; }
.tmu-fleet-table tbody tr { transition: background .15s ease; }
.tmu-fleet-table tbody tr:hover td { background: rgba(79, 70, 229, .045); }

.tmu-domain-display { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.tmu-domain-masked { color: var(--ink); letter-spacing: .02em; }
.tmu-domain-free-name { font-weight: 800; color: var(--ink); }
.tmu-engine { font-weight: 600; font-size: 13px; color: var(--muted); white-space: nowrap; }

.tmu-badge-free {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 11px; border-radius: 8px; font-size: 11.5px; font-weight: 800;
    background: #d7f6e6; color: #067647; border: 1px solid rgba(5, 150, 105, .3); white-space: nowrap;
}
html[data-theme="dark"] .tmu-badge-free { background: rgba(52, 211, 153, .14); color: #34d399; }
.tmu-badge-vip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 11px; border-radius: 8px; font-size: 11.5px; font-weight: 800;
    background: linear-gradient(135deg, rgba(245, 158, 11, .16), rgba(217, 119, 6, .22));
    color: #b45309; border: 1px solid rgba(245, 158, 11, .42); white-space: nowrap;
}
html[data-theme="dark"] .tmu-badge-vip { color: #fbbf24; }

.tmu-status-pill {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12.5px; font-weight: 700; color: #059669; white-space: nowrap;
}
.tmu-status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; flex: none; }
.tmu-status-pill.is-degraded { color: #dc2626; }
.tmu-status-pill.is-degraded .dot { background: #dc2626; }
html[data-theme="dark"] .tmu-status-pill { color: #34d399; }
html[data-theme="dark"] .tmu-status-pill.is-degraded { color: #f87171; }
html[data-theme="dark"] .tmu-status-pill.is-degraded .dot { background: #f87171; }

.tmu-lat-badge {
    display: inline-block; padding: 4px 10px; border-radius: 8px;
    background: rgba(12, 18, 34, .05); border: 1px solid var(--ds-line);
    color: var(--ink); font-weight: 700; font-size: 11.5px; white-space: nowrap;
}
html[data-theme="dark"] .tmu-lat-badge { background: rgba(255, 255, 255, .07); }

.tmu-btn-unlock {
    background: linear-gradient(135deg, #6366f1, #4338ca);
    color: #fff !important; border: none; cursor: pointer; text-decoration: none;
    min-height: 44px; padding: 10px 18px; border-radius: 12px;
    font-size: 12.5px; font-weight: 800; font-family: inherit;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    box-shadow: 0 10px 20px -10px rgba(79, 70, 229, .55);
    transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap;
}
.tmu-btn-unlock:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -10px rgba(79, 70, 229, .6); color: #fff !important; }
.tmu-btn-unlock.is-lg { font-size: 14px; min-height: 48px; }
.tmu-btn-use-free {
    background: rgba(255, 255, 255, .65); color: var(--ink) !important;
    border: 1px solid var(--ds-line); cursor: pointer; text-decoration: none;
    min-height: 44px; padding: 10px 18px; border-radius: 12px;
    font-size: 12.5px; font-weight: 700; font-family: inherit;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    transition: background .15s ease, border-color .15s ease; white-space: nowrap;
}
html[data-theme="dark"] .tmu-btn-use-free { background: rgba(255, 255, 255, .06); }
.tmu-btn-use-free:hover { border-color: rgba(79, 70, 229, .45); }

/* Comparison */
.tmu-compare-box {
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 24px; padding: clamp(24px, 4vw, 40px); margin-top: 50px;
    color: #3c4358;
}
html[data-theme="dark"] .tmu-compare-box {
    background: rgba(23, 30, 48, .5); border-color: rgba(255, 255, 255, .14); color: #c3cad9;
}
.dss-soft-badge {
    display: inline-block; padding: 6px 14px; border-radius: 999px; margin-bottom: 10px;
    background: #e6e2ff; color: #4338ca; font-weight: 800; font-size: 12px;
}
html[data-theme="dark"] .dss-soft-badge { background: rgba(99, 102, 241, .2); color: #c7d2fe; }
.dss-h3 { font-size: 26px; font-weight: 800; color: var(--ink); margin: 0 0 8px; letter-spacing: -.02em; }
.dss-sub { color: var(--muted); font-size: 14.5px; margin: 0 auto; max-width: 540px; line-height: 1.6; }
.dss-h4 { font-weight: 800; font-size: 18px; margin: 0; color: var(--ink); }
.dss-h4-vip { color: #b45309; }
html[data-theme="dark"] .dss-h4-vip { color: #fbbf24; }
.dss-std-badge {
    padding: 5px 12px; border-radius: 999px;
    background: rgba(12, 18, 34, .06); color: var(--muted); font-weight: 700; font-size: 12px;
}
html[data-theme="dark"] .dss-std-badge { background: rgba(255, 255, 255, .08); }
.dss-vip-badge {
    padding: 5px 12px; border-radius: 999px;
    background: rgba(245, 158, 11, .16); color: #b45309; font-weight: 800; font-size: 12px;
}
html[data-theme="dark"] .dss-vip-badge { color: #fbbf24; }
.dss-rec-wrap { position: absolute; top: -12px; right: 24px; }
.dss-rec-badge {
    display: inline-block; padding: 6px 14px; border-radius: 999px;
    background: linear-gradient(120deg, #fde68a, #f59e0b); color: #fff;
    font-weight: 800; font-size: 11px; box-shadow: 0 8px 18px -6px rgba(245, 158, 11, .55);
}
.tmu-tier-col {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 20px; padding: 30px;
    display: flex; flex-direction: column; justify-content: space-between; height: 100%;
}
html[data-theme="dark"] .tmu-tier-col {
    background: linear-gradient(150deg, rgba(23, 30, 48, .88), rgba(15, 20, 34, .84));
    border-color: rgba(255, 255, 255, .14);
}
.tmu-tier-col.is-vip {
    border-color: rgba(245, 158, 11, .55);
    box-shadow: 0 12px 36px rgba(245, 158, 11, .15);
    position: relative;
}
.tmu-tier-desc { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 10px 0 0; }
.tmu-perk-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; margin-bottom: 12px; }
.tmu-perk-check i { margin-top: 3px; flex-shrink: 0; }
.tmu-perk-check.is-off { color: var(--muted); }
.tmu-perk-check.is-off span { text-decoration: line-through; }
.dss-cta-row { border-top: 1px solid var(--ds-line); margin-top: 22px; padding-top: 20px; }

/* FAQ accordion (Bootstrap structure, DS skin) */
.dss-faq-h { font-size: 20px; font-weight: 800; color: var(--ink); text-align: center; margin: 0 0 24px; }
#statusFaqAccordion .accordion-item {
    border: 1px solid var(--ds-line); border-radius: 14px !important;
    overflow: hidden; margin-bottom: 10px;
    background: rgba(255, 255, 255, .72);
}
html[data-theme="dark"] #statusFaqAccordion .accordion-item { background: rgba(23, 30, 48, .7); }
#statusFaqAccordion .accordion-button {
    background: transparent; color: var(--ink); font-size: 14px; font-weight: 700;
    min-height: 54px; box-shadow: none !important;
}
#statusFaqAccordion .accordion-button:not(.collapsed) { background: rgba(79, 70, 229, .06); color: var(--ink); }
#statusFaqAccordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(79, 70, 229, .25) !important; border-color: transparent; }
#statusFaqAccordion .accordion-body {
    background: rgba(79, 70, 229, .035); color: var(--muted); font-size: 13.5px; line-height: 1.65;
}
html[data-theme="dark"] #statusFaqAccordion .accordion-body { background: rgba(99, 102, 241, .06); }

@media (max-width: 640px) {
    .tmu-status-hero { padding: 40px 0 6px; }
    .tmu-fleet-toolbar { flex-direction: column; align-items: stretch; }
    .tmu-search-wrap, .tmu-search-input { width: 100%; min-width: 0; }
    .tmu-tier-col { padding: 22px; }
    .tmu-fleet-table th, .tmu-fleet-table td { padding: 12px 14px; }
}
