:root {
    --bg: #0b1220;
    --bg-deep: #08101d;
    --surface: #111827;
    --surface-2: #182235;
    --surface-3: #1f2a3d;
    --border: #243247;
    --text: #e5edf8;
    --muted: #94a3b8;
    --heading: #f8fafc;
    --accent: #38bdf8;
    --accent-2: #2563eb;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

html,
body {
    min-height: 100%;
}

body {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
    color: var(--text);
}

body.public-page {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 28%),
        radial-gradient(circle at left center, rgba(56, 189, 248, 0.12), transparent 26%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
}

a {
    color: #7dd3fc;
}

a:hover {
    color: #bae6fd;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.card-title,
.fw-semibold,
.fw-bold,
label,
pre,
code {
    color: var(--heading);
}

.text-muted,
.text-body-secondary,
.form-text,
.small.text-muted,
p.text-muted,
.text-secondary {
    color: var(--muted) !important;
    margin-top: 10px;
}

.border-bottom,
.border-top,
hr {
    border-color: var(--border) !important;
}

.navbar,
.app-navbar {
    background: rgba(10, 15, 27, 0.94) !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(14px);
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
}

.navbar-brand,
.navbar .nav-link,
.navbar .navbar-text {
    color: var(--text) !important;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    max-width: 340px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-shell {
    width: 68px;
    height: 68px;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, 0.16);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.92) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 80px;
    box-shadow: 0 10px 24px rgba(2, 8, 23, 0.35);
}

.brand-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.38rem;
}

.brand-logo-fallback {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brand-copy {
    display: inline-flex;
    flex-direction: column;
    min-width: 0;
}

.brand-title {
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.08;
    color: #ffffff;
    white-space: nowrap;
}

.brand-subtitle {
    font-size: 0.77rem;
    color: var(--muted);
    line-height: 1.2;
    white-space: nowrap;
}

.public-nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.public-nav-actions .btn {
    min-width: 104px;
}

#navMain {
    min-width: 0;
}

.app-nav-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.app-nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.35rem;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.app-nav-list .nav-link {
    padding: 0.52rem 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.96rem;
    color: #cbd5e1 !important;
    line-height: 1.15;
    white-space: nowrap;
}

.app-nav-list .nav-link.active,
.app-nav-list .nav-link:hover {
    color: #ffffff !important;
    background: rgba(37, 99, 235, 0.18);
}

.navbar-toggler {
    border-color: rgba(148, 163, 184, 0.35);
    margin-left: auto;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(1) grayscale(1);
}

.app-user-panel {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(36, 50, 71, 0.95);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.76);
    color: var(--text);
    min-width: 0;
}

.app-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.22) 0%, rgba(37, 99, 235, 0.22) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    flex: 0 0 38px;
}

.app-user-copy {
    display: inline-flex;
    flex-direction: column;
    min-width: 0;
}

.app-user-name {
    color: #ffffff;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
}

.app-user-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.app-user-email {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.1;
    white-space: nowrap;
}

.role-badge,
.badge.text-bg-dark {
    background: #1d4ed8 !important;
    color: #eff6ff !important;
    padding: 0.38rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.app-logout-btn {
    white-space: nowrap;
}


.app-page .app-navbar {
    position: sticky;
    top: 0;
    z-index: 1045;
}

.app-page {
    scroll-padding-top: 96px;
}

.app-user-menu {
    position: relative;
    min-width: 0;
}

.app-user-menu summary {
    list-style: none;
}

.app-user-menu summary::-webkit-details-marker {
    display: none;
}

.app-user-menu[open] summary {
    cursor: pointer;
}

.app-user-panel {
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.app-user-menu[open] .app-user-panel,
.app-user-menu:hover .app-user-panel,
.app-user-menu:focus-within .app-user-panel {
    border-color: rgba(59, 130, 246, 0.42);
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 14px 30px rgba(2, 8, 23, 0.22);
}

.app-user-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.app-user-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: #93c5fd;
    flex: 0 0 16px;
    transition: transform .18s ease;
}

.app-user-chevron svg {
    width: 14px;
    height: 14px;
}

.app-user-menu[open] .app-user-chevron {
    transform: rotate(180deg);
}

.app-user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    padding: 0.45rem;
    border-radius: 16px;
    border: 1px solid rgba(36, 50, 71, 0.98);
    background: rgba(9, 15, 28, 0.98);
    box-shadow: 0 22px 48px rgba(2, 8, 23, 0.42);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    z-index: 1060;
}

.app-user-menu[open] .app-user-dropdown,
.app-user-menu:hover .app-user-dropdown,
.app-user-menu:focus-within .app-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.app-user-dropdown-link {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    color: #dbe7ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.94rem;
}

.app-user-dropdown-link:hover,
.app-user-dropdown-link:focus-visible {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.18);
    outline: none;
}

.app-user-dropdown-link.is-logout {
    color: #fca5a5;
}

.app-user-dropdown-link.is-logout:hover,
.app-user-dropdown-link.is-logout:focus-visible {
    color: #fecaca;
    background: rgba(127, 29, 29, 0.3);
}

main {
    position: relative;
}

.hero {
    padding: 94px 0 84px;
}

.hero-badge,
.pill-note {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 999px;
    color: #dbeafe;
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-copy {
    max-width: 700px;
}

.hero-copy .display-4 {
    color: #ffffff;
}

.hero-lead {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 56rem;
}

.hero-copy .display-4 {
    font-size: clamp(2.85rem, 5.3vw, 4.55rem);
    line-height: 1.02;
    max-width: 10.5ch;
}

.public-nav-links {
    gap: 0.25rem;
}

.public-nav-links .nav-link {
    color: #cbd5e1;
    font-weight: 500;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
}

.public-nav-links .nav-link:hover,
.public-nav-links .nav-link:focus {
    color: #ffffff;
}

.card,
.card-soft,
.stat-box,
.bg-soft,
.import-log,
.branding-preview-card,
.section-soft {
    background: linear-gradient(180deg, rgba(24, 34, 53, 0.96) 0%, rgba(17, 24, 39, 0.98) 100%);
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow) !important;
    color: var(--text);
    border-radius: 18px;
}

.card-soft .card-body {
    padding: 1.35rem;
}

.section-pad {
    padding: 25px 0;
}

.section-pad-last {
    padding-bottom: 25px;
}

.section-soft {
    border-radius: 24px;
}

.stat {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading);
}

.table,
.table > :not(caption) > * > * {
    color: var(--text);
    border-color: var(--border);
    background-color: transparent;
    vertical-align: middle;
}

.table thead.table-light,
.table thead.table-light th,
.table thead th {
    background: var(--surface-2) !important;
    color: var(--heading) !important;
    border-color: var(--border) !important;
}

.table tbody tr:hover td {
    background: rgba(56, 189, 248, 0.05);
}

.form-control,
.form-select,
textarea {
    background-color: rgba(15, 23, 42, 0.95) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

.form-control::placeholder,
textarea::placeholder {
    color: #718096;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: rgba(56, 189, 248, 0.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.16) !important;
}

.form-control.is-invalid,
.form-select.is-invalid,
.password-toggle-group .form-control.is-invalid {
    border-color: rgba(239, 68, 68, 0.85) !important;
    box-shadow: 0 0 0 0.18rem rgba(239, 68, 68, 0.14) !important;
}

.invalid-feedback {
    color: #fca5a5;
    font-size: 0.875rem;
    margin-top: 0.45rem;
}

.form-hint {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.btn-primary {
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #1d4ed8;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-color: #2563eb;
}

.btn-light {
    color: #0f172a;
}

.btn-outline-secondary,
.btn-outline-primary,
.btn-outline-danger,
.btn-outline-light {
    border-color: #475569;
    color: var(--text);
}

.btn-outline-secondary:hover,
.btn-outline-primary:hover,
.btn-outline-danger:hover,
.btn-outline-light:hover {
    color: #ffffff;
}

.alert {
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 14px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.14);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.12);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.14);
}

.alert-info {
    background: rgba(56, 189, 248, 0.14);
}

.badge.bg-success {
    background-color: #198754 !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
}

.badge.bg-warning {
    background-color: #d97706 !important;
    color: #fff !important;
}

.badge.bg-secondary {
    background-color: #64748b !important;
}

.badge.bg-info {
    background-color: #0891b2 !important;
    color: #fff !important;
}

.login-wrap {
    min-height: calc(100vh - 96px);
    display: flex;
    align-items: center;
}

.mono-box {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 14px 16px;
    white-space: pre-wrap;
    word-break: break-word;
}

.list-clean,
.list-clean li {
    color: var(--text);
}

.page-intro {
    max-width: 740px;
}

.surface-strip {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.88) 0%, rgba(24, 34, 53, 0.92) 100%);
}

.site-footer {
    position: relative;
    margin-top: 18px;
    padding: 0 0 24px;
}

.site-footer-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(160px, 0.8fr));
    gap: 24px;
    padding: 26px 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94) 0%, rgba(10, 15, 28, 0.98) 100%);
    box-shadow: var(--shadow);
}

.site-footer-brand .brand-lockup {
    margin-bottom: 14px;
}

.site-footer-copy {
    max-width: 480px;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.site-footer-links h3 {
    margin: 0 0 10px;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--heading);
}

.site-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer-links a {
    color: var(--text);
    text-decoration: none;
}

.site-footer-links a:hover,
.site-footer-links a:focus {
    color: #ffffff;
}

.site-footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 8px 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.footer-space {
    height: 0;
}

@media (max-width: 1399.98px) {
    .brand-subtitle {
        display: none;
    }

    .app-user-email {
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 1199.98px) {
    .home-v2 .panel-grid-homepage {
        grid-template-columns: 1fr;
    }
    .home-v2 .panel-grid-homepage .mini-panel-trend {
        grid-column: auto;
    }
    .home-v2 .package-grid {
        grid-template-columns: 1fr;
    }

    .app-nav-shell {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 0.85rem;
    }

    .app-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        margin-top: 1rem;
    }

    .app-nav-list .nav-link {
        display: block;
        width: 100%;
        white-space: normal;
    }

    .app-user-menu {
        width: 100%;
    }

    .app-user-panel {
        justify-content: space-between;
        width: 100%;
    }

    .app-user-dropdown {
        left: 0;
        right: auto;
        min-width: min(100%, 320px);
    }

    .public-nav-actions {
        width: 100%;
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 991.98px) {
    .site-footer-shell {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 22px;
    }

    .site-footer-meta {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 12px;
    }


    .brand-title {
        font-size: 1.12rem;
    }

    .public-nav-links {
        padding-top: 0.75rem;
    }

    .app-nav-list {
        margin-top: 1rem;
    }

    .public-nav-actions {
        width: 100%;
        justify-content: flex-start;
        margin-top: 1rem;
    }

    .login-wrap {
        min-height: auto;
        padding: 40px 0 56px;
    }
}

@media (max-width: 767.98px) {
    .brand-copy {
        max-width: 190px;
    }

    .brand-title,
    .app-user-name,
    .app-user-email {
        white-space: normal;
    }

    .app-user-panel {
        flex-wrap: nowrap;
        align-items: center;
    }

    .app-user-copy {
        flex: 1 1 auto;
    }

    .app-user-meta {
        flex-wrap: wrap;
    }

    .app-user-dropdown {
        min-width: 100%;
    }

    .hero {
        padding: 72px 0 64px;
    }
}


.public-auth-shell {
    position: relative;
    z-index: 2;
}

.auth-card-shell {
    position: relative;
    overflow: hidden;
}

.auth-card-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.10), transparent 34%);
    pointer-events: none;
}

.auth-copy {
    max-width: 38rem;
}

.hero-updated {
    position: relative;
    overflow: clip;
    padding-top: 4rem;
    padding-bottom: 3.25rem;
}

.hero-grid-shell {
    position: relative;
    z-index: 2;
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.75;
    pointer-events: none;
}

.hero-orb-a {
    width: 320px;
    height: 320px;
    top: -80px;
    right: 5%;
    background: rgba(37, 99, 235, 0.16);
}

.hero-orb-b {
    width: 240px;
    height: 240px;
    bottom: 30px;
    left: -60px;
    background: rgba(16, 185, 129, 0.10);
}

.hero-micro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.hero-micro-card {
    border: 1px solid rgba(56, 189, 248, 0.10);
    background: rgba(15, 23, 42, 0.68);
    border-radius: 18px;
    padding: 1rem 1rem 0.95rem;
    box-shadow: 0 14px 30px rgba(2, 8, 23, 0.22);
}

.hero-micro-card strong,
.hero-micro-card small,
.mini-stat-card strong,
.hero-chart-head strong,
.ops-chip strong {
    display: block;
}

.hero-micro-label,
.mini-stat-label {
    display: inline-block;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 0.4rem;
}

.hero-micro-card strong {
    font-size: 0.98rem;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 0.35rem;
}

.hero-micro-card small {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.hero-visual {
    position: relative;
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 28px;
    padding: 1.1rem;
    background:
        linear-gradient(180deg, rgba(10, 15, 27, 0.95) 0%, rgba(11, 18, 32, 0.98) 100%),
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 36%);
    box-shadow: 0 20px 48px rgba(2, 8, 23, 0.4);
}

.hero-visual-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.9rem;
    align-items: center;
    margin-bottom: 1rem;
}

.hero-window-dots {
    display: inline-flex;
    gap: 0.38rem;
}

.hero-window-dots span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    display: inline-block;
    background: rgba(148, 163, 184, 0.42);
}

.hero-window-dots span:nth-child(1) { background: rgba(239, 68, 68, 0.80); }
.hero-window-dots span:nth-child(2) { background: rgba(245, 158, 11, 0.80); }
.hero-window-dots span:nth-child(3) { background: rgba(16, 185, 129, 0.80); }

.hero-visual-title,
.hero-visual-pill {
    font-size: 0.88rem;
    font-weight: 600;
}

.hero-visual-title {
    color: #dbeafe;
}

.hero-visual-pill {
    justify-self: end;
    border: 1px solid rgba(16, 185, 129, 0.26);
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    background: rgba(6, 78, 59, 0.32);
    color: #d1fae5;
}

.hero-visual-body {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1rem;
}

.hero-visual-side {
    display: grid;
    gap: 0.8rem;
}

.mini-stat-card,
.hero-chart-card,
.ops-chip {
    border: 1px solid rgba(36, 50, 71, 0.95);
    background: rgba(15, 23, 42, 0.92);
    border-radius: 20px;
}

.mini-stat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
}

.mini-stat-card strong {
    color: #fff;
    font-size: 0.98rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    display: inline-block;
    position: relative;
    flex: 0 0 12px;
}

.status-dot.success { background: var(--success); }
.status-dot.warning { background: var(--warning); }
.status-dot.danger { background: var(--danger); }

.status-dot.pulse::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: inherit;
    border: 1px solid currentColor;
    opacity: 0.45;
    animation: pulse-ring 2.4s infinite;
}

.status-dot.success,
.status-dot.success::after { color: rgba(16, 185, 129, 0.72); }
.status-dot.warning,
.status-dot.warning::after { color: rgba(245, 158, 11, 0.72); }
.status-dot.danger,
.status-dot.danger::after { color: rgba(239, 68, 68, 0.72); }

@keyframes pulse-ring {
    0% { transform: scale(0.85); opacity: 0.55; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

.hero-chart-card {
    position: relative;
    overflow: hidden;
    padding: 1rem;
    min-height: 100%;
}

.hero-chart-head,
.hero-chart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.chart-pill {
    border: 1px solid rgba(56, 189, 248, 0.18);
    background: rgba(15, 23, 42, 0.8) !important;
}

.chart-bars {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0.45rem;
    align-items: end;
    min-height: 170px;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
}

.chart-bars span {
    display: block;
    border-radius: 999px 999px 10px 10px;
    min-height: 20px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.95) 0%, rgba(37, 99, 235, 0.75) 100%);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.hero-grid-lines {
    position: absolute;
    inset: 62px 1rem 3.1rem;
    background: linear-gradient(to top, rgba(148, 163, 184, 0.10) 1px, transparent 1px);
    background-size: 100% 36px;
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 100%);
    pointer-events: none;
}

.hero-chart-footer {
    font-size: 0.82rem;
    color: var(--muted);
}

.section-stack {
    position: relative;
}

.section-intro {
    max-width: 760px;
}

.feature-card {
    overflow: hidden;
}

.feature-icon-shell {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.18) 0%, rgba(37, 99, 235, 0.18) 100%);
    color: #e0f2fe;
    box-shadow: 0 12px 24px rgba(2, 8, 23, 0.22);
}

.feature-icon-shell svg {
    width: 26px;
    height: 26px;
}

.ops-band {
    border-radius: 26px;
}

.ops-grid {
    display: grid;
    gap: 0.7rem;
}

.ops-chip {
    padding: 1rem 1.1rem;
}

.ops-chip strong {
    color: #fff;
    margin-bottom: 0.25rem;
}

.ops-chip span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.cta-band {
    border-radius: 26px;
    padding: 1.6rem;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 1199.98px) {
    .home-v2 .panel-grid-homepage {
        grid-template-columns: 1fr;
    }
    .home-v2 .panel-grid-homepage .mini-panel-trend {
        grid-column: auto;
    }
    .home-v2 .package-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .hero-updated {
        padding-top: 3.35rem;
        padding-bottom: 2.9rem;
    }

    .hero-micro-grid,
    .cta-band {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .hero-micro-grid {
        gap: 0.75rem;
    }

    .hero-visual {
        padding: 1rem;
        border-radius: 24px;
    }

    .hero-visual-head {
        grid-template-columns: 1fr;
    }

    .hero-visual-pill {
        justify-self: start;
    }

    .chart-bars {
        min-height: 140px;
        gap: 0.3rem;
    }
}

.pricing-card {
    border-radius: 22px;
    position: relative;
}

.pricing-card-featured {
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.3), 0 20px 45px rgba(15, 23, 42, 0.38);
}

.pricing-tier {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.14);
    color: #cbd5e1;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pricing-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
    display: grid;
    gap: 0.45rem;
}

.mono-textarea {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.88rem;
}

.token-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.token-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.75);
    color: #dbe7f3;
    font-size: 0.8rem;
}

.template-preview-shell {
    display: grid;
    gap: 0.9rem;
}

.template-preview-html {
    border-radius: 18px;
    overflow: hidden;
}

.usage-stack {
    display: grid;
    gap: 0.55rem;
    color: #dbe7f3;
}

/* Home */


.home-v2 {
    color: #eef4ff;
}
.home-v2 a { text-decoration: none; }
.home-v2 .home-v2-shell {
    position: relative;
    overflow: hidden;
}
.home-v2 .home-v2-shell::before,
.home-v2 .home-v2-shell::after {
    content: "";
    position: fixed;
    pointer-events: none;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.24;
    z-index: 0;
}
.home-v2 .home-v2-shell::before {
    background: rgba(37, 99, 255, 0.22);
    top: 120px;
    left: -110px;
}
.home-v2 .home-v2-shell::after {
    background: rgba(79, 132, 255, 0.18);
    top: 30px;
    right: -120px;
}
.home-v2 .section-spacer {
    position: relative;
    z-index: 1;
    padding: 34px 0;
}
.home-v2 .eyebrow,
.home-v2 .section-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(93, 134, 212, 0.14);
    background: rgba(43, 85, 171, 0.1);
    color: #bfd1f4;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.home-v2 .hero {
    padding: 58px 0 42px;
}
.home-v2 .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 34px;
    align-items: center;
}
.home-v2 .hero-title {
    margin: 18px 0 0;
    font-size: clamp(40px, 5.6vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    max-width: 680px;
}
.home-v2 .hero-copy p {
    margin: 24px 0 0;
    font-size: 19px;
    line-height: 1.75;
    color: #9fb2cf;
    max-width: 680px;
}
.home-v2 .hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}
.home-v2 .btn-shell,
.home-v2 .btn-shell-ghost,
.home-v2 .btn-shell-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    padding: 13px 18px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 180ms ease, opacity 180ms ease, border-color 180ms ease, background 180ms ease;
    white-space: nowrap;
}
.home-v2 .btn-shell:hover,
.home-v2 .btn-shell-ghost:hover,
.home-v2 .btn-shell-soft:hover { transform: translateY(-1px); }
.home-v2 .btn-shell {
    color: white;
    background: linear-gradient(180deg, #3c85ff, #2568ff);
    box-shadow: 0 12px 32px rgba(53, 125, 255, 0.26);
}
.home-v2 .btn-shell-ghost {
    color: #d6e4ff;
    border-color: rgba(115, 144, 194, 0.2);
    background: rgba(11, 22, 42, 0.56);
}
.home-v2 .btn-shell-soft {
    color: #cfe0ff;
    background: rgba(48, 102, 214, 0.12);
    border-color: rgba(88, 135, 226, 0.18);
}
.home-v2 .trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
    max-width: 780px;
}
.home-v2 .trust-card,
.home-v2 .feature-card,
.home-v2 .ops-chip,
.home-v2 .faq-item,
.home-v2 .contact-point {
    border: 1px solid rgba(120, 152, 202, 0.12);
    border-radius: 20px;
    background: rgba(12, 23, 43, 0.72);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}
.home-v2 .trust-card {
    min-height: 120px;
    padding: 16px;
}
.home-v2 .trust-card small {
    display: block;
    margin-bottom: 10px;
    color: #79abff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.home-v2 .trust-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.3;
}
.home-v2 .trust-card span,
.home-v2 .feature-card p,
.home-v2 .split-copy p,
.home-v2 .contact-copy p,
.home-v2 .faq-head p,
.home-v2 .faq-item p {
    display: block;
    color: #9fb2cf;
    font-size: 14px;
    line-height: 1.7;
}
.home-v2 .hero-panel,
.home-v2 .split-panel,
.home-v2 .cta-band,
.home-v2 .contact-card,
.home-v2 .contact-form {
    background: linear-gradient(180deg, rgba(14, 28, 54, 0.96), rgba(9, 18, 36, 0.96));
    border: 1px solid rgba(118, 147, 200, 0.14);
    border-radius: 30px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}
.home-v2 .hero-panel {
    position: relative;
    padding: 18px;
    overflow: hidden;
}
.home-v2 .hero-panel::before {
    content: "";
    position: absolute;
    inset: -80px auto auto -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(71, 132, 255, 0.18), transparent 70%);
    pointer-events: none;
}
.home-v2 .panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #d5e4ff;
    font-size: 13px;
    margin-bottom: 16px;
}
.home-v2 .window-dots { display: flex; gap: 8px; align-items: center; }
.home-v2 .window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
}
.home-v2 .window-dots span:nth-child(1) { background: #ff6c79; }
.home-v2 .window-dots span:nth-child(2) { background: #f4b34d; }
.home-v2 .window-dots span:nth-child(3) { background: #1dcf83; }
.home-v2 .panel-grid {
    display: grid;
    grid-template-columns: 0.96fr 1.04fr;
    gap: 16px;
}
.home-v2 .panel-grid-homepage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}
.home-v2 .panel-grid-homepage .mini-panel-trend {
    grid-column: 1 / -1;
}
.home-v2 .stack { display: grid; gap: 14px; }
.home-v2 .mini-panel {
    background: linear-gradient(180deg, rgba(20, 35, 65, 0.88), rgba(10, 19, 38, 0.96));
    border: 1px solid rgba(122, 153, 203, 0.12);
    border-radius: 18px;
    padding: 16px;
}
.home-v2 .panel-top-inline { margin-bottom: 14px; }
.home-v2 .mini-panel-health,
.home-v2 .mini-panel-structure { min-height: 236px; }
.home-v2 .mini-panel-trend { min-height: 252px; }
.home-v2 .structure-card {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(118, 149, 201, 0.1);
    background: rgba(8, 18, 36, 0.52);
    margin-bottom: 12px;
}
.home-v2 .structure-card strong {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: #eef4ff;
}
.home-v2 .structure-card span {
    display: block;
    color: #8ea5c8;
    font-size: 12px;
    line-height: 1.55;
}
.home-v2 .workspace-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.home-v2 .workspace-mini-tile {
    min-height: 58px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(118, 149, 201, 0.1);
    background: rgba(8, 18, 36, 0.52);
    color: #d8e6ff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}
.home-v2 .status-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #d9e7ff;
    margin-bottom: 12px;
}
.home-v2 .status-chip i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    background: #18c37c;
    box-shadow: 0 0 0 5px rgba(24, 195, 124, 0.12);
}
.home-v2 .status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(118, 149, 201, 0.08);
}
.home-v2 .status-row:first-of-type { border-top: 0; }
.home-v2 .status-row strong,
.home-v2 .metric-card strong,
.home-v2 .feature-card h3,
.home-v2 .package-card h3,
.home-v2 .contact-point strong,
.home-v2 .faq-item strong,
.home-v2 .step strong,
.home-v2 .control-item strong,
.home-v2 .trust-card strong {
    color: #eef4ff;
}
.home-v2 .status-row strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}
.home-v2 .status-row span,
.home-v2 .metric-card small,
.home-v2 .step span,
.home-v2 .control-item span,
.home-v2 .contact-point span {
    color: #7d94b8;
    font-size: 12px;
}
.home-v2 .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    flex: 0 0 10px;
}
.home-v2 .dot.green { background: #18c37c; }
.home-v2 .dot.amber { background: #f4b34d; }
.home-v2 .dot.red { background: #ff5f7b; }
.home-v2 .pill {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #dff9ec;
    background: rgba(24, 195, 124, 0.14);
    border: 1px solid rgba(24, 195, 124, 0.16);
}
.home-v2 .control-tag {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #dcebff;
    background: rgba(39, 88, 180, 0.16);
    border: 1px solid rgba(84, 129, 207, 0.16);
    white-space: nowrap;
}
.home-v2 .trend-bars {
    display: flex;
    align-items: end;
    gap: 10px;
    height: 120px;
    margin-top: 18px;
}
.home-v2 .trend-bars-wide {
    height: 140px;
    padding: 12px 12px 0;
    margin-top: 0;
    border-radius: 18px;
    border: 1px solid rgba(118, 149, 201, 0.1);
    background: rgba(8, 18, 36, 0.46);
}
.home-v2 .trend-bars span {
    flex: 1;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(180deg, #4ea3ff, rgba(78, 163, 255, 0.24));
    box-shadow: 0 0 18px rgba(78, 163, 255, 0.18);
}
.home-v2 .metric-row,
.home-v2 .feature-grid,
.home-v2 .package-grid,
.home-v2 .form-grid {
    display: grid;
    gap: 18px;
}
.home-v2 .metric-row { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
.home-v2 .metric-row-hero { gap: 12px; }
.home-v2 .metric-card {
    border: 1px solid rgba(118, 149, 201, 0.1);
    border-radius: 16px;
    padding: 14px;
    background: rgba(8, 18, 36, 0.56);
}
.home-v2 .metric-row-hero .metric-card {
    min-height: 86px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    padding: 10px 8px;
}
.home-v2 .metric-row-hero .metric-card small {
    margin-bottom: 10px;
    line-height: 1.25;
    letter-spacing: 0.12em;
    font-size: 10px;
}
.home-v2 .metric-row-hero .metric-card strong {
    font-size: 28px;
}
.home-v2 .metric-card small {
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.home-v2 .metric-card strong { font-size: 18px; line-height: 1; display: block; }
.home-v2 .section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: end;
    margin-bottom: 24px;
}
.home-v2 .section-head h2,
.home-v2 .packages-intro h2,
.home-v2 .split-copy h2,
.home-v2 .contact-copy h2,
.home-v2 .faq-head h2,
.home-v2 .cta-band h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 32px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #eef4ff;
}
.home-v2 .section-head p,
.home-v2 .packages-intro p,
.home-v2 .split-copy p,
.home-v2 .contact-copy p,
.home-v2 .faq-head p,
.home-v2 .cta-band p {
    margin: 16px 0 0;
    color: #9fb2cf;
    font-size: 16px;
    line-height: 1.8;
    max-width: 740px;
}
.home-v2 .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-v2 .feature-card { padding: 22px; }
.home-v2 .feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(52, 125, 255, 0.14);
    border: 1px solid rgba(98, 148, 236, 0.16);
    margin-bottom: 16px;
    color: #dcebff;
    font-weight: 800;
}
.home-v2 .split-panel {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    gap: 18px;
    padding: 26px;
}
.home-v2 .step-list,
.home-v2 .ops-grid,
.home-v2 .faq-grid,
.home-v2 .contact-points {
    display: grid;
    gap: 14px;
}
.home-v2 .step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: start;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(120, 152, 202, 0.1);
    background: rgba(9, 18, 35, 0.44);
}
.home-v2 .step-num {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #d8e7ff;
    background: rgba(53, 125, 255, 0.16);
    border: 1px solid rgba(103, 145, 220, 0.18);
}
.home-v2 .ops-chip,
.home-v2 .contact-point { padding: 16px; }
.home-v2 .ops-chip strong,
.home-v2 .contact-point strong { display: block; font-size: 16px; margin-bottom: 6px; }
.home-v2 .ops-chip span { display: block; color: #9fb2cf; font-size: 14px; line-height: 1.6; }
.home-v2 .packages-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}
.home-v2 .pricing-switch-wrap {
    display: grid;
    gap: 10px;
    justify-items: end;
}
.home-v2 .pricing-switch-label {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8fa6c7;
}
.home-v2 .pricing-switch-note {
    font-size: 13px;
    color: #9fb2cf;
    text-align: right;
}
.home-v2 .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}
.home-v2 .package-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(18, 31, 56, 0.96), rgba(10, 18, 35, 0.98));
    border: 1px solid rgba(122, 153, 203, 0.14);
    border-radius: 28px;
    padding: 24px;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.home-v2 .package-card:hover {
    transform: translateY(-6px);
    border-color: rgba(101, 145, 222, 0.28);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.44);
}
.home-v2 .home-v2-package-featured {
    border-color: rgba(88, 144, 255, 0.34);
    background: linear-gradient(180deg, rgba(22, 38, 70, 0.98), rgba(10, 20, 40, 0.98));
}
.home-v2 .package-art {
    position: relative;
    height: 170px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(140, 169, 219, 0.12);
    background: linear-gradient(180deg, rgba(6, 17, 34, 0.8), rgba(12, 22, 40, 0.95));
    margin-bottom: 22px;
    padding: 14px;
}
.home-v2 .package-art-shell {
    height: 100%;
    border-radius: 18px;
    border: 1px solid rgba(120, 152, 202, 0.14);
    background: rgba(7, 16, 31, 0.54);
    padding: 12px;
    overflow: hidden;
}
.home-v2 .home-v2-package-client .package-art {
    background: radial-gradient(circle at top left, rgba(59,130,246,0.24), transparent 35%), linear-gradient(180deg, rgba(10,18,36,0.98), rgba(11,23,50,0.98));
}
.home-v2 .home-v2-package-agency .package-art {
    background: radial-gradient(circle at top right, rgba(16,185,129,0.18), transparent 35%), linear-gradient(180deg, rgba(8,20,38,0.98), rgba(11,30,26,0.98));
}
.home-v2 .home-v2-package-enterprise .package-art {
    background: radial-gradient(circle at top left, rgba(139,92,246,0.18), transparent 35%), linear-gradient(180deg, rgba(11,19,40,0.98), rgba(19,15,37,0.98));
}
.home-v2 .package-art-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.home-v2 .package-art-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.home-v2 .package-art-title strong {
    color: #eef4ff;
    font-size: 13px;
    line-height: 1.2;
    display: block;
}
.home-v2 .package-art-view {
    color: #8da6cb;
    font-size: 10px;
    text-transform: lowercase;
    white-space: nowrap;
}
.home-v2 .package-art-chart {
    display: flex;
    align-items: end;
    gap: 8px;
    border-radius: 14px;
    border: 1px solid rgba(118, 149, 201, 0.1);
    background: rgba(11, 21, 40, 0.56);
    padding: 10px 12px 12px;
}
.home-v2 .package-art-chart-client {
    height: 58px;
    margin-bottom: 10px;
}
.home-v2 .package-art-chart-client span {
    flex: 1;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(180deg, #7ab6ff, rgba(37, 87, 255, 0.82));
    box-shadow: 0 0 12px rgba(78, 163, 255, 0.16);
}
.home-v2 .package-art-tags {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.home-v2 .package-art-tags span,
.home-v2 .package-agency-workspace-grid span,
.home-v2 .enterprise-ops-row span {
    display: grid;
    place-items: center;
    min-height: 32px;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid rgba(118, 149, 201, 0.1);
    background: rgba(11, 21, 40, 0.56);
    color: #9ab1d4;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}
.home-v2 .package-agency-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 12px;
}
.home-v2 .package-agency-clients {
    display: grid;
    gap: 8px;
}
.home-v2 .package-agency-row {
    min-height: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    border: 1px solid rgba(118, 149, 201, 0.1);
    background: rgba(11, 21, 40, 0.56);
    padding: 0 10px;
}
.home-v2 .package-agency-row .package-art-title strong {
    font-size: 11px;
}
.home-v2 .package-agency-workspaces {
    border-radius: 14px;
    border: 1px solid rgba(118, 149, 201, 0.1);
    background: rgba(11, 21, 40, 0.56);
    padding: 10px;
}
.home-v2 .package-agency-workspaces small {
    display: block;
    margin-bottom: 8px;
    color: #7f97bc;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.home-v2 .package-agency-workspace-grid,
.home-v2 .enterprise-ops-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.home-v2 .mini-bars {
    margin-left: auto;
    display: flex;
    align-items: end;
    gap: 4px;
}
.home-v2 .mini-bars span {
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(30, 195, 125, 0.95), rgba(24, 89, 68, 0.35));
}
.home-v2 .mini-bars .h1 { height: 12px; }
.home-v2 .mini-bars .h2 { height: 22px; }
.home-v2 .mini-bars .h3 { height: 16px; }
.home-v2 .enterprise-policy-tag {
    margin-bottom: 8px;
    border-radius: 12px;
    border: 1px solid rgba(118, 149, 201, 0.1);
    background: rgba(11, 21, 40, 0.56);
    padding: 8px 10px;
    color: #8fa6c8;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.home-v2 .enterprise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}
.home-v2 .enterprise-tile {
    border-radius: 12px;
    border: 1px solid rgba(118, 149, 201, 0.1);
    background: rgba(11, 21, 40, 0.56);
    padding: 8px;
}
.home-v2 .enterprise-tile i {
    display: block;
    width: 28px;
    height: 6px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.home-v2 .enterprise-tile span {
    display: block;
    height: 20px;
    border-radius: 8px;
    border: 1px solid rgba(118, 149, 201, 0.08);
    background: rgba(6, 14, 28, 0.72);
}
.home-v2 .enterprise-tile.blue i { background: rgba(90, 158, 255, 0.9); }
.home-v2 .enterprise-tile.green i { background: rgba(36, 201, 129, 0.9); }
.home-v2 .enterprise-tile.violet i { background: rgba(168, 122, 255, 0.9); }
.home-v2 .enterprise-ops-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.home-v2 .package-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
    margin-bottom: 14px;
}
.home-v2 .audience,
.home-v2 .tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 11px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.home-v2 .audience {
    color: #dae7ff;
    background: rgba(122, 148, 199, 0.12);
    border: 1px solid rgba(122, 148, 199, 0.14);
}
.home-v2 .tag {
    color: #fff6de;
    background: rgba(244, 179, 77, 0.12);
    border: 1px solid rgba(244, 179, 77, 0.16);
}
.home-v2 .package-card h3 {
    margin: 0;
    font-size: 32px;
    line-height: 1.02;
    letter-spacing: -0.05em;
}
.home-v2 .package-card .desc {
    margin: 10px 0 0;
    color: #9fb2cf;
    line-height: 1.68;
    min-height: 86px;
}
.home-v2 .price-row {
    display: flex;
    align-items: end;
    gap: 8px;
    margin: 24px 0 14px;
}
.home-v2 .price {
    font-size: 52px;
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.05em;
}
.home-v2 .per,
.home-v2 .plan-note,
.home-v2 .no-packages-note,
.home-v2 .sandbox-note,
.home-v2 .field-help {
    color: #9fb2cf;
}
.home-v2 .plan-note { margin: 0 0 18px; font-size: 14px; }
.home-v2 .plan-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}
.home-v2 .plan-list li {
    display: flex;
    gap: 12px;
    align-items: start;
    line-height: 1.55;
    color: #dce8fd;
}
.home-v2 .tick {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 13px;
    background: rgba(24, 195, 124, 0.14);
    color: #58e09d;
    border: 1px solid rgba(24, 195, 124, 0.18);
}
.home-v2 .card-actions,
.home-v2 .contact-actions {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    gap: 12px;
    align-items: stretch;
    flex-wrap: wrap;
}
.home-v2 .card-actions .btn-shell,
.home-v2 .card-actions .btn-shell-ghost {
    flex: 1 1 calc(50% - 6px);
    min-height: 52px;
    padding-inline: 16px;
}
.home-v2 .package-details-panel {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(9, 20, 39, 0.72);
    border: 1px solid rgba(110, 148, 214, 0.14);
}
.home-v2 .package-details-panel p {
    margin: 0 0 10px;
    color: #cfe0fb;
    line-height: 1.7;
}
.home-v2 .package-details-panel ul {
    margin: 0;
    padding-left: 18px;
    color: #aabddd;
    display: grid;
    gap: 8px;
}
.home-v2 .package-grid.compare-focus .package-card {
    border-color: rgba(94, 145, 255, 0.3);
    box-shadow: 0 0 0 1px rgba(94, 145, 255, 0.12), 0 28px 90px rgba(0, 0, 0, 0.42);
}
.home-v2 .contact-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 26px;
    align-items: start;
    margin-top: 16px;
}
.home-v2 .contact-card,
.home-v2 .contact-form { padding: 30px; }
.home-v2 .sandbox-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(53, 125, 255, 0.08);
    border: 1px solid rgba(95, 144, 235, 0.14);
    line-height: 1.7;
    font-size: 14px;
}
.home-v2 .contact-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-v2 .contact-copy p { max-width: 34ch; }
.home-v2 .contact-point { padding: 18px; }
.home-v2 .field-help { margin-top: 6px; }
.home-v2 .contact-actions { padding-top: 22px; }
.home-v2 .contact-actions .btn-shell,
.home-v2 .contact-actions .btn-shell-ghost { min-height: 52px; }
.home-v2 .faq-grid { gap: 16px; }
.home-v2 .faq-item {
    padding: 22px 24px 20px;
    display: grid;
    gap: 9px;
    align-content: start;
}
.home-v2 .faq-item strong {
    display: block;
    line-height: 1.35;
    margin: 0;
}
.home-v2 .faq-item p {
    margin: 0;
    line-height: 1.6;
}
.home-v2 .field { display: grid; gap: 8px; }
.home-v2 .field.full { grid-column: 1 / -1; }
.home-v2 label {
    color: #d8e5ff;
    font-size: 13px;
    font-weight: 700;
}
.home-v2 input,
.home-v2 textarea,
.home-v2 select {
    width: 100%;
    border: 1px solid rgba(119, 151, 202, 0.16);
    background: rgba(6, 14, 27, 0.74);
    color: #eef4ff;
    border-radius: 16px;
    padding: 14px 15px;
    outline: 0;
}
.home-v2 textarea { min-height: 150px; resize: vertical; }
.home-v2 input::placeholder,
.home-v2 textarea::placeholder { color: #6f86a9; }
.home-v2 input:focus,
.home-v2 textarea:focus,
.home-v2 select:focus {
    border-color: rgba(95, 144, 235, 0.42);
    box-shadow: 0 0 0 4px rgba(53, 125, 255, 0.08);
}
.home-v2 input.is-invalid,
.home-v2 textarea.is-invalid,
.home-v2 select.is-invalid {
    border-color: rgba(248, 113, 113, 0.65);
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.08);
}
.home-v2 .field-error {
    color: #fca5a5;
    font-size: 12px;
    line-height: 1.45;
    margin-top: -2px;
}
.home-v2 .cta-band {
    margin-top: 20px;
    padding: 26px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
}
@media (max-width: 1100px) {
    .home-v2 .hero-grid,
    .home-v2 .panel-grid,
    .home-v2 .section-head,
    .home-v2 .split-panel,
    .home-v2 .contact-grid,
    .home-v2 .packages-top,
    .home-v2 .trust-grid,
    .home-v2 .feature-grid,
    .home-v2 .package-grid,
    .home-v2 .metric-row,
    .home-v2 .contact-form .form-grid {
        grid-template-columns: 1fr;
    }
    .home-v2 .card-actions .btn-shell,
    .home-v2 .card-actions .btn-shell-ghost,
    .home-v2 .contact-actions .btn-shell,
    .home-v2 .contact-actions .btn-shell-ghost {
        flex: 1 1 100%;
    }
    .home-v2 .step-list-secondary {
        margin-top: 0;
    }
}

.app-ribbon {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    margin-bottom: 20px;
    border-radius: 22px;
    box-shadow: 0 18px 46px rgba(2, 8, 23, 0.16);
}

.app-ribbon--success {
    background: linear-gradient(180deg, #059669 0%, #047857 100%);
    color: #ffffff;
}

.app-ribbon--warning {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    color: #1f1300;
}

.app-ribbon--error {
    background: linear-gradient(180deg, #e11d48 0%, #be123c 100%);
    color: #ffffff;
}

.app-ribbon--info {
    background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
}

.app-ribbon__main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
}

.app-ribbon__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.16);
}

.app-ribbon--warning .app-ribbon__icon {
    background: rgba(255, 255, 255, 0.28);
}

.app-ribbon__icon svg,
.app-toast__icon svg {
    width: 20px;
    height: 20px;
}

.app-ribbon__copy {
    min-width: 0;
}

.app-ribbon__eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.88;
    margin-bottom: 4px;
}

.app-ribbon__title {
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.35;
}

.app-ribbon__body {
    margin-top: 4px;
    line-height: 1.55;
    opacity: 0.94;
}

.app-ribbon__list {
    margin: 8px 0 0;
    padding-left: 18px;
    line-height: 1.55;
}

.app-ribbon__controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.app-ribbon__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    color: inherit;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.app-ribbon__action:hover {
    color: inherit;
    background: rgba(255, 255, 255, 0.24);
}

.app-notice-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    color: inherit;
    cursor: pointer;
}

.app-notice-close:hover {
    background: rgba(255, 255, 255, 0.24);
}

.app-toast-stack {
    position: fixed;
    top: 96px;
    right: 22px;
    z-index: 1080;
    width: min(380px, calc(100vw - 28px));
    pointer-events: none;
}

.app-toast {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 22px;
    background: #020817;
    color: #ffffff;
    box-shadow: 0 26px 56px rgba(2, 8, 23, 0.42);
    pointer-events: auto;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.app-toast.is-closing,
.app-ribbon.is-closing {
    opacity: 0;
    transform: translateY(-8px);
}

.app-toast__main {
    display: flex;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

.app-toast__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
}

.app-toast--success {
    background: #166534;
    color: #ffffff;
    box-shadow: 0 26px 56px rgba(20, 83, 45, 0.38);
}

.app-toast--success .app-toast__icon {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.app-toast--success .app-toast__body {
    color: #dcfce7;
}

.app-toast--success .app-toast__action {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.app-toast--success .app-toast__action:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.app-toast--success .app-notice-close--toast {
    color: #bbf7d0;
}

.app-toast--success .app-notice-close--toast:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.app-toast--warning .app-toast__icon { color: #fbbf24; }
.app-toast--error .app-toast__icon { color: #fb7185; }
.app-toast--info .app-toast__icon { color: #38bdf8; }

.app-toast__copy {
    min-width: 0;
}

.app-toast__title {
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.35;
}

.app-toast__body {
    margin-top: 4px;
    color: #cbd5e1;
    line-height: 1.5;
}

.app-toast__controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.app-toast__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.app-toast__action:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.app-notice-close--toast {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: #94a3b8;
}

.app-notice-close--toast:hover {
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .app-ribbon {
        flex-direction: column;
        padding: 16px;
    }

    .app-ribbon__controls {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .app-toast-stack {
        top: 84px;
        right: 14px;
        width: min(360px, calc(100vw - 20px));
    }
}

/* === Monitor reporting donor layout merge start === */

.monitor-page-shell {
    min-height: calc(100vh - 120px);
}

.monitor-console-page,
.monitor-dashboard-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.monitor-console-hero,
.monitor-dashboard-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
}

.monitor-dashboard-hero {
    background: linear-gradient(180deg, rgba(17, 34, 65, 0.92), rgba(7, 18, 38, 0.96));
    border: 1px solid rgba(56, 189, 248, 0.14);
    border-radius: 1.35rem;
    padding: 2rem;
    box-shadow: 0 24px 44px rgba(2, 6, 23, 0.24);
}

.monitor-dashboard-hero-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.monitor-console-kicker {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

.monitor-console-title {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3rem);
    color: #fff;
    line-height: 1.02;
}

.monitor-console-subtitle {
    margin: 0.75rem 0 0;
    max-width: 62rem;
    color: rgba(226, 232, 240, 0.72);
    font-size: 1rem;
}

.monitor-console-actions,
.monitor-dashboard-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.monitor-console-actions form {
    margin: 0;
}

.monitor-dashboard-actions {
    justify-content: flex-start;
    margin-top: 1.4rem;
}

.monitor-console-summary {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.monitor-console-summary-dashboard {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.monitor-stat-card,
.monitor-panel-card,
.monitor-filter-panel,
.monitor-empty-state,
.monitor-hero-scorecard {
    background: linear-gradient(180deg, rgba(17, 34, 65, 0.92), rgba(7, 18, 38, 0.96));
    border: 1px solid rgba(56, 189, 248, 0.14);
    border-radius: 1.35rem;
    box-shadow: 0 24px 44px rgba(2, 6, 23, 0.24);
}

.monitor-stat-card,
.monitor-hero-scorecard {
    padding: 1.25rem;
}

.monitor-hero-scorecard {
    min-width: 0;
    padding: 1rem 0.95rem;
}

.monitor-dashboard-scorecards {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    flex: 0 0 29rem;
}

.monitor-stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(148, 163, 184, 0.88);
}

.monitor-stat-value,
.monitor-hero-score {
    margin-top: 0.45rem;
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    color: #fff;
}

.monitor-hero-score {
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.monitor-dashboard-scorecards .monitor-stat-label {
    font-size: 0.63rem;
    letter-spacing: 0.14em;
}

.monitor-dashboard-scorecards .monitor-stat-sub {
    font-size: 0.84rem;
    line-height: 1.35;
}

.monitor-stat-sub {
    margin-top: 0.55rem;
    color: rgba(148, 163, 184, 0.82);
    font-size: 0.92rem;
}

.monitor-stat-value.is-up { color: #22c55e; }
.monitor-stat-value.is-down { color: #f87171; }
.monitor-stat-value.is-paused { color: #fbbf24; }

.monitor-filter-panel {
    padding: 1rem 1.05rem;
}

.monitor-filter-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
}

.monitor-filter-label {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 0.92rem;
    color: #fff;
    font-weight: 500;
}

.monitor-filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.monitor-filter-panel .form-select,
.monitor-filter-panel .form-control {
    min-height: 2.7rem;
    border-radius: 0.9rem;
    background: #0a1830;
    border-color: rgba(56, 189, 248, 0.12);
    color: rgba(226, 232, 240, 0.96);
}

.monitor-filter-panel .form-select:focus,
.monitor-filter-panel .form-control:focus {
    background: #0a1830;
    color: rgba(226, 232, 240, 0.98);
    border-color: rgba(96, 165, 250, 0.55);
    box-shadow: 0 0 0 0.22rem rgba(59, 130, 246, 0.18);
}

.monitor-filter-panel .form-control::placeholder {
    color: rgba(148, 163, 184, 0.72);
}

.monitor-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.monitor-card {
    background: linear-gradient(180deg, rgba(10, 25, 50, 0.96), rgba(4, 14, 31, 0.98));
    border: 1px solid rgba(56, 189, 248, 0.14);
    border-radius: 1.35rem;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 24px 44px rgba(2, 6, 23, 0.24);
}

.monitor-card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.55fr) minmax(15rem, 0.84fr) minmax(18rem, 1fr) auto;
    align-items: center;
}

.monitor-card-main {
    display: flex;
    gap: 1rem;
    min-width: 0;
}

.monitor-status-dot {
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #08172c;
    border: 1px solid rgba(56, 189, 248, 0.14);
    margin-top: 0.1rem;
}

.monitor-status-dot::after {
    content: '';
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 999px;
    background: #64748b;
}

.monitor-status-dot.status-up::after {
    background: #4ade80;
    box-shadow: 0 0 18px rgba(74, 222, 128, 0.42);
}

.monitor-status-dot.status-down::after {
    background: #fb7185;
    box-shadow: 0 0 18px rgba(251, 113, 133, 0.34);
}

.monitor-status-dot.status-paused::after {
    background: #fbbf24;
    box-shadow: 0 0 18px rgba(251, 191, 36, 0.28);
}

.monitor-site-name {
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.monitor-group-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: #2e69ff;
    white-space: nowrap;
}

.monitor-meta-line,
.monitor-url-line {
    margin-top: 0.55rem;
    color: rgba(226, 232, 240, 0.74);
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.monitor-url-line {
    color: rgba(148, 163, 184, 0.9);
    overflow-wrap: anywhere;
}

.monitor-meta-separator {
    color: rgba(100, 116, 139, 0.85);
}

.monitor-mini-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.16rem 0.58rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #e2e8f0;
    background: #16366d;
    border: 1px solid rgba(96, 165, 250, 0.1);
}

.monitor-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.monitor-mini-stat {
    background: #08172c;
    border: 1px solid rgba(56, 189, 248, 0.14);
    border-radius: 1rem;
    padding: 0.72rem 0.85rem;
}

.monitor-mini-stat-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(186, 230, 253, 0.82);
}

.monitor-mini-stat-value {
    margin-top: 0.35rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.98rem;
}

.monitor-health-heading {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.6rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(186, 230, 253, 0.82);
}

.monitor-health-sub {
    font-size: 0.82rem;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(226, 232, 240, 0.78);
}

.monitor-health-strip {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 0.2rem;
}

.monitor-health-chip {
    height: 1.1rem;
    border-radius: 0.35rem;
    background: rgba(51, 65, 85, 0.78);
}

.monitor-health-chip.is-up { background: #4ade80; }
.monitor-health-chip.is-down { background: #fb7185; }
.monitor-health-chip.is-empty { background: rgba(51, 65, 85, 0.78); }

.monitor-state-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.7rem;
}

.monitor-state-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.monitor-state-badge.live-up,
.monitor-state-badge.monitor-active {
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
    border-color: rgba(74, 222, 128, 0.22);
}

.monitor-state-badge.live-down,
.monitor-state-badge.monitor-inactive {
    background: rgba(244, 63, 94, 0.14);
    color: #fda4af;
    border-color: rgba(251, 113, 133, 0.22);
}

.monitor-state-badge.live-unknown,
.monitor-state-badge.monitor-paused {
    background: rgba(251, 191, 36, 0.14);
    color: #fcd34d;
    border-color: rgba(251, 191, 36, 0.2);
}

.monitor-actions-menu {
    position: relative;
}

.monitor-actions-menu summary {
    list-style: none;
    width: 2.7rem;
    height: 2.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    user-select: none;
    font-size: 1.15rem;
    line-height: 1;
}

.monitor-actions-menu summary::-webkit-details-marker {
    display: none;
}

.monitor-actions-dropdown {
    position: absolute;
    right: 0;
    top: auto;
    bottom: calc(100% + 0.75rem);
    width: 14rem;
    z-index: 20;
    overflow: hidden;
    border-radius: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #3d434b;
    box-shadow: 0 28px 50px rgba(2, 6, 23, 0.42);
}

.monitor-actions-dropdown a,
.monitor-actions-dropdown button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #fff;
    padding: 0.82rem 1rem;
    text-decoration: none;
    font-size: 0.96rem;
}

.monitor-actions-dropdown form {
    margin: 0;
}

.monitor-actions-dropdown a:hover,
.monitor-actions-dropdown button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.monitor-actions-dropdown .monitor-action-danger {
    color: #fda4af;
    border-top: 1px solid rgba(15, 23, 42, 0.4);
}

.monitor-empty-state,
.monitor-empty-inline {
    padding: 2rem;
    text-align: center;
    color: rgba(148, 163, 184, 0.9);
}

.monitor-empty-inline {
    border-radius: 1rem;
    border: 1px dashed rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.18);
    padding: 1.4rem;
}

.monitor-dashboard-grid {
    display: grid;
    gap: 1rem;
}

.monitor-dashboard-grid-top {
    grid-template-columns: 1.2fr 0.85fr;
}

.monitor-dashboard-grid-bottom {
    grid-template-columns: 1fr 1fr;
}

.monitor-panel-card {
    padding: 1.25rem;
}

.monitor-panel-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.monitor-panel-title {
    margin: 0;
    color: #fff;
    font-size: 1.05rem;
}

.monitor-panel-subtitle {
    margin: 0.4rem 0 0;
    color: rgba(148, 163, 184, 0.82);
    font-size: 0.92rem;
}

.monitor-health-progress-shell {
    display: flex;
    width: 100%;
    height: 0.82rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.54);
    margin: 1.35rem 0;
}

.monitor-health-progress-segment.is-up { background: #22c55e; }
.monitor-health-progress-segment.is-down { background: #ef4444; }
.monitor-health-progress-segment.is-paused { background: #f59e0b; }

.monitor-health-legend-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.monitor-health-legend-item,
.monitor-attention-item {
    display: flex;
    justify-content: space-between;
    gap: 0.85rem;
    align-items: center;
    border-radius: 1rem;
    border: 1px solid rgba(56, 189, 248, 0.1);
    background: rgba(8, 23, 44, 0.72);
    padding: 0.9rem 1rem;
}

.monitor-health-legend-item {
    font-size: 0.92rem;
    color: rgba(226, 232, 240, 0.84);
}

.monitor-health-legend-item strong {
    display: block;
    color: #fff;
    margin-bottom: 0.15rem;
}

.monitor-health-legend-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    display: inline-block;
    flex: 0 0 auto;
}

.monitor-health-legend-dot.is-up { background: #4ade80; }
.monitor-health-legend-dot.is-down { background: #fb7185; }
.monitor-health-legend-dot.is-paused { background: #fbbf24; }

.monitor-attention-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.monitor-attention-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.monitor-attention-title {
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
}

.monitor-attention-meta {
    color: rgba(148, 163, 184, 0.82);
    font-size: 0.85rem;
}

.monitor-attention-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.monitor-table-wrap {
    overflow-x: auto;
}

.monitor-table {
    color: rgba(226, 232, 240, 0.92);
}

.monitor-table thead th {
    border-bottom-color: rgba(56, 189, 248, 0.12);
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.monitor-table tbody td {
    border-bottom-color: rgba(56, 189, 248, 0.08);
    background: transparent;
}


.monitor-breakdown-card {
    padding: 0;
    overflow: hidden;
}

.monitor-breakdown-card .monitor-panel-heading {
    padding: 1.35rem 1.35rem 0;
}

.monitor-breakdown-table thead th,
.monitor-breakdown-table tbody td {
    font-size: 0.96rem;
}

.monitor-breakdown-table thead th:nth-child(n+2),
.monitor-breakdown-table tbody td:nth-child(n+2) {
    white-space: nowrap;
}

.monitor-breakdown-number.is-up {
    color: #22c55e;
}

.monitor-breakdown-number.is-down {
    color: #f87171;
}

@media (max-width: 1399.98px) {
    .monitor-console-summary,
    .monitor-console-summary-dashboard {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .monitor-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .monitor-card-grid,
    .monitor-dashboard-grid-top,
    .monitor-dashboard-grid-bottom {
        grid-template-columns: 1fr;
    }

    .monitor-actions-column {
        justify-content: flex-start;
    }

    .monitor-dashboard-scorecards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        flex: 1 1 auto;
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .monitor-console-hero,
    .monitor-dashboard-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .monitor-console-actions,
    .monitor-dashboard-actions {
        justify-content: flex-start;
    }

    .monitor-filter-grid,
    .monitor-health-legend-grid,
    .monitor-dashboard-scorecards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {
    .monitor-console-summary,
    .monitor-console-summary-dashboard,
    .monitor-filter-grid,
    .monitor-stat-grid,
    .monitor-health-legend-grid,
    .monitor-dashboard-scorecards {
        grid-template-columns: 1fr;
    }

    .monitor-health-heading,
    .monitor-panel-heading,
    .monitor-attention-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .monitor-attention-side {
        align-items: flex-start;
    }

    .monitor-actions-dropdown {
        width: min(14rem, calc(100vw - 3rem));
    }
}

/* === Monitor reporting donor layout merge end === */

/* === Donor incidents / alerts / detail styles pack start === */
.detail-page-head .btn-link {
    color: #93c5fd;
}

.detail-page-head .btn-link:hover {
    color: #dbeafe;
}

.detail-page-actions {
    justify-content: flex-end;
}

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

.detail-summary-card {
    grid-column: span 12;
    background: linear-gradient(180deg, rgba(18, 28, 45, 0.98) 0%, rgba(13, 20, 33, 0.98) 100%);
    border: 1px solid rgba(36, 50, 71, 0.95);
    border-radius: 22px;
    padding: 1.1rem 1.15rem;
    box-shadow: 0 24px 44px rgba(2, 6, 23, 0.24);
}

.detail-summary-label {
    color: var(--bs-secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    margin-bottom: 0.55rem;
}

.detail-summary-value {
    color: #ffffff !important;
    font-size: 1.9rem;
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.detail-summary-meta,
.detail-history-caption,
.detail-subline {
    color: rgb(255 255 255 / 75%);
    font-size: 0.9rem;
}

.response-chart-wrap {
    border-radius: 22px;
    border: 1px solid rgba(36, 50, 71, 0.95);
    background: rgba(11, 18, 32, 0.72);
    padding: 0.85rem;
}

.response-chart-svg {
    width: 100%;
    height: auto;
    display: block;
}

.detail-sidebar {
    position: sticky;
    top: 104px;
}

.detail-side-list {
    display: grid;
    gap: 0.85rem;
}

.detail-side-list > div {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(36, 50, 71, 0.9);
}

.detail-side-list > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.detail-side-list dt {
    color: rgb(255 255 255 / 75%);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
}

.detail-side-list dd {
    margin: 0;
    color: #ffffff;
    font-weight: 500;
}

.detail-notification-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.detail-notification-item {
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    border: 1px solid rgba(36, 50, 71, 0.95);
    background: rgba(11, 18, 32, 0.7);
}

.monitor-health-strip-48 {
    grid-template-columns: repeat(48, minmax(0, 1fr));
    gap: 0.24rem;
}


.ops-page-head,
.monitor-console-page .ops-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 0;
}

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

.ops-summary-card {
    background: linear-gradient(180deg, rgba(17, 34, 65, 0.92), rgba(7, 18, 38, 0.96));
    border: 1px solid rgba(56, 189, 248, 0.14);
    border-radius: 1.35rem;
    padding: 1.25rem;
    box-shadow: 0 24px 44px rgba(2, 6, 23, 0.24);
}

.ops-summary-card-wide {
    grid-column: span 1;
}

.ops-summary-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(148, 163, 184, 0.88);
    margin-bottom: 0.45rem;
}

.ops-summary-value {
    margin-top: 0.45rem;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.ops-summary-meta {
    margin-top: 0.55rem;
    color: rgba(148, 163, 184, 0.82);
    font-size: 0.92rem;
}

.ops-summary-inline-sep {
    color: rgba(148, 163, 184, 0.65);
    margin: 0 0.15rem;
}

.ops-filter-card {
    background: linear-gradient(180deg, rgba(17, 34, 65, 0.92), rgba(7, 18, 38, 0.96));
    border: 1px solid rgba(56, 189, 248, 0.14) !important;
    border-radius: 1.35rem !important;
    box-shadow: 0 24px 44px rgba(2, 6, 23, 0.24) !important;
}

.ops-filter-card .card-body {
    padding: 1rem 1.05rem;
}

.ops-list-shell {
    display: grid;
    gap: 0.95rem;
}

.ops-entry-card {
    position: relative;
    background: linear-gradient(180deg, rgba(17, 34, 65, 0.92), rgba(7, 18, 38, 0.96));
    border: 1px solid rgba(56, 189, 248, 0.14);
    border-radius: 1.35rem;
    padding: 1.05rem 1.1rem;
    box-shadow: 0 24px 44px rgba(2, 6, 23, 0.24);
    overflow: hidden;
}

.ops-entry-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 22px 0 0 22px;
    background: rgba(148, 163, 184, 0.4);
}

.ops-entry-card.is-open::before,
.ops-entry-card.is-down::before,
.ops-entry-card.is-danger::before {
    background: linear-gradient(180deg, rgba(248, 113, 113, 1) 0%, rgba(220, 38, 38, 1) 100%);
}

.ops-entry-card.is-resolved::before,
.ops-entry-card.is-up::before,
.ops-entry-card.is-success::before {
    background: linear-gradient(180deg, rgba(74, 222, 128, 1) 0%, rgba(22, 163, 74, 1) 100%);
}

.ops-entry-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.95rem;
}

.ops-entry-title-wrap {
    min-width: 0;
}

.ops-entry-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.7rem;
}

.ops-state-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.36rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ops-state-pill.success {
    background: rgba(22, 163, 74, 0.18);
    color: #bbf7d0;
}

.ops-state-pill.danger {
    background: rgba(220, 38, 38, 0.18);
    color: #fecaca;
}

.ops-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.34rem 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.16);
    background: rgba(18, 27, 42, 0.78);
    color: #dbeafe;
    font-size: 0.79rem;
    font-weight: 600;
}

.ops-chip.soft {
    color: var(--bs-secondary-color);
    border-color: rgba(100, 116, 139, 0.32);
}

.ops-entry-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--bs-heading-color);
}

.ops-entry-title a {
    color: inherit;
    text-decoration: none;
}

.ops-entry-title a:hover {
    color: #bae6fd;
}

.ops-entry-url {
    color: var(--bs-secondary-color);
    font-size: 0.91rem;
}

.ops-entry-when {
    min-width: 180px;
    display: grid;
    gap: 0.5rem;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.ops-entry-when-label {
    display: block;
    color: var(--bs-secondary-color);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.18rem;
}

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

.ops-keyfact {
    padding: 0.85rem 0.9rem;
    border-radius: 16px;
    background: rgba(10, 18, 31, 0.74);
    border: 1px solid rgba(56, 189, 248, 0.1);
}

.ops-keyfact-label {
    display: block;
    color: var(--bs-secondary-color);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.ops-keyfact-value {
    color: var(--bs-heading-color);
    font-size: 0.98rem;
    font-weight: 600;
}

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

.ops-note-card {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(10, 18, 31, 0.72);
    border: 1px solid rgba(56, 189, 248, 0.1);
}

.ops-note-label {
    color: var(--bs-secondary-color);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.45rem;
}

.ops-note-value {
    color: #e2e8f0;
    font-size: 0.94rem;
    line-height: 1.55;
    word-break: break-word;
}

.ops-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.15rem;
}

@media (min-width: 768px) {
    .detail-summary-card {
        grid-column: span 6;
    }
}

@media (min-width: 1200px) {
    .detail-summary-card {
        grid-column: span 3;
    }
}

@media (max-width: 1199.98px) {
    .home-v2 .panel-grid-homepage {
        grid-template-columns: 1fr;
    }
    .home-v2 .panel-grid-homepage .mini-panel-trend {
        grid-column: auto;
    }
    .home-v2 .package-grid {
        grid-template-columns: 1fr;
    }

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

    .ops-entry-head {
        flex-direction: column;
    }

    .ops-entry-when {
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .detail-summary-grid,
    .ops-summary-grid,
    .ops-keyfacts-grid,
    .ops-note-grid,
    .ops-entry-when {
        grid-template-columns: minmax(0, 1fr);
    }

    .ops-entry-card {
        padding: 0.95rem;
    }

    .ops-summary-value,
    .detail-summary-value {
        font-size: 1.45rem;
    }

    .detail-page-actions .btn {
        width: 100%;
    }
}
/* === Donor incidents / alerts / detail styles pack end === */


/* Donor scheduler + settings */
.donor-report-card {
  background: linear-gradient(180deg, rgba(10, 25, 50, .96), rgba(4, 14, 31, .98));
  border: 1px solid rgba(56, 189, 248, .14);
  border-radius: 1.35rem;
  box-shadow: 0 24px 44px rgba(2, 6, 23, .24);
}
.donor-cron-grid,
.donor-settings-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.55fr) minmax(18rem, .82fr);
}
.donor-cron-layout {
  display: grid;
  gap: 1.2rem;
}
.donor-cron-top-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(20rem, .9fr);
}
.donor-section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.donor-cron-metrics {
  margin-top: 1rem;
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.donor-mini-metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .45rem;
  min-height: 5.2rem;
  background: #08172c;
  border: 1px solid rgba(56, 189, 248, .14);
  border-radius: 1rem;
  padding: .88rem .95rem;
}
.donor-mini-metric-label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, .82);
  line-height: 1.3;
}
.donor-mini-metric-value {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.15;
}
.donor-table-wrap {
  background: rgba(2, 6, 23, .18);
  border: 1px solid rgba(56, 189, 248, .08);
  border-radius: 1rem;
}
.table.donor-table {
  --bs-table-bg: transparent;
  --bs-table-color: rgba(226, 232, 240, .88);
  --bs-table-border-color: rgba(148, 163, 184, .14);
}
.table.donor-table thead th {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(186, 230, 253, .82);
  border-bottom-width: 1px;
  white-space: nowrap;
}
.table.donor-table tbody td {
  color: rgba(226, 232, 240, .86);
}
.donor-mono-box {
  white-space: normal;
  word-break: break-word;
  background: rgba(8, 23, 44, .92);
  border-color: rgba(56, 189, 248, .14);
}
.donor-side-list,
.donor-side-list-bullets { color: rgba(226, 232, 240, .78); }
.donor-side-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: .72rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}
.donor-side-row:last-child { border-bottom: 0; }
.donor-side-label {
  color: rgba(148, 163, 184, .82);
  flex: 0 0 auto;
}
.donor-side-value {
  color: #fff;
  font-weight: 600;
  margin-left: auto;
  text-align: right;
  max-width: 68%;
  overflow-wrap: anywhere;
}
.donor-detail-grid {
  display: grid;
  gap: .75rem;
}
.donor-detail-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.donor-detail-item {
  min-width: 0;
  background: #08172c;
  border: 1px solid rgba(56, 189, 248, .14);
  border-radius: 1rem;
  padding: .88rem .95rem;
}
.donor-detail-item--full {
  grid-column: 1 / -1;
}
.donor-detail-label {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, .82);
  line-height: 1.3;
}
.donor-detail-value {
  margin-top: .45rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.donor-block-title {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(186, 230, 253, .86);
  margin-bottom: -.25rem;
}
.donor-brand-preview {
  background: rgba(8, 23, 44, .92);
  border: 1px solid rgba(56, 189, 248, .14);
  border-radius: 1rem;
  padding: 1rem;
}
.donor-brand-preview-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(186, 230, 253, .82);
  margin-bottom: .75rem;
}
.donor-inline-note {
  color: rgba(148, 163, 184, .82);
  font-size: .92rem;
}
.donor-settings-page .form-control,
.donor-settings-page .form-select {
  border-radius: 1.9rem;
  background: #0a1830;
  border-color: rgba(56, 189, 248, .12);
  color: rgba(226, 232, 240, .96);
}
.donor-settings-page .form-control:focus,
.donor-settings-page .form-select:focus {
  background: #0a1830;
  color: rgba(226, 232, 240, .98);
  border-color: rgba(96, 165, 250, .55);
  box-shadow: 0 0 0 .22rem rgba(59, 130, 246, .18);
}
.donor-settings-page .form-control::placeholder { color: rgba(148, 163, 184, .72); }
@media (max-width: 1399.98px) {
  .donor-cron-grid,
  .donor-settings-grid,
  .donor-cron-top-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 991.98px) {
  .donor-cron-metrics,
  .donor-detail-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .donor-cron-metrics,
  .donor-detail-grid--2 {
    grid-template-columns: 1fr;
  }
  .donor-side-value {
    max-width: 100%;
  }
}


/* === Donor admin management polish start === */
.donor-admin-page {
    gap: 1.25rem;
}

.donor-admin-page .monitor-console-subtitle {
    max-width: 68rem;
}

.donor-admin-page .monitor-console-hero {
    align-items: flex-start;
}

.donor-admin-page .monitor-console-actions {
    align-items: center;
}

.donor-admin-page .monitor-console-actions .btn,
.donor-admin-page .monitor-console-actions button.btn {
    min-height: 2.7rem;
    border-radius: .95rem;
}

.donor-admin-page .monitor-stat-card {
    padding: 1.1rem 1.15rem;
}

.donor-admin-summary--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.donor-admin-page .monitor-stat-sub {
    max-width: 20rem;
}

.donor-admin-page .monitor-filter-panel {
    padding: .95rem 1rem;
}

.donor-admin-page .monitor-filter-label {
    margin-bottom: .52rem;
    font-size: .85rem;
}

.donor-admin-filter-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.donor-admin-filter-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.donor-admin-card {
    padding: .92rem 1rem;
}

.donor-admin-grid {
    display: grid;
    gap: .9rem;
    align-items: start;
}

.donor-admin-grid--3 {
    grid-template-columns: minmax(0, 1.7fr) minmax(14rem, .95fr) minmax(15rem, .95fr) auto;
}

.donor-admin-page .monitor-card-main {
    gap: .9rem;
}

.donor-admin-page .monitor-status-dot {
    width: 2.5rem;
    height: 2.5rem;
}

.donor-admin-page .monitor-site-name {
    font-size: 1.02rem;
}

.donor-admin-page .monitor-meta-line,
.donor-admin-page .monitor-url-line {
    margin-top: .45rem;
    font-size: .88rem;
}

.donor-admin-page .monitor-state-badges {
    margin-top: .62rem;
}

.donor-admin-side {
    min-width: 0;
}

.donor-admin-side .donor-side-row {
    padding: .48rem 0;
}

.donor-admin-stat-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.donor-admin-filter-grid--actions {
    grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(12rem, .78fr)) auto;
}

.donor-admin-filter-grid--2.donor-admin-filter-grid--actions {
    grid-template-columns: minmax(0, 1.55fr) minmax(12rem, .8fr) auto;
}

.donor-admin-filter-grid--alerts {
    grid-template-columns: minmax(12rem, .9fr) minmax(12rem, .9fr) minmax(12rem, .9fr) minmax(0, 1.35fr) auto;
}

.donor-admin-filter-grid--alerts-actions,
.donor-admin-filter-grid--incidents-actions {
    align-items: end;
}

.donor-admin-filter-grid--incidents {
    grid-template-columns: minmax(12rem, .9fr) minmax(12rem, .9fr) minmax(0, 1.55fr) auto;
}

.monitor-filter-actions-inline {
    margin-top: 0;
    align-self: end;
    flex-wrap: nowrap;
}

.donor-admin-actions {
    align-self: start;
}

.donor-admin-actions .monitor-actions-menu summary {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .95rem;
}

.donor-import-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.45fr) minmax(18rem, .75fr);
}

.donor-import-side .donor-mono-box {
    white-space: pre-wrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    line-height: 1.65;
}

.donor-packages-page .monitor-console-actions form {
    margin: 0;
}

.donor-package-summary .monitor-stat-card:nth-child(4) .monitor-stat-sub {
    max-width: 14rem;
}

.donor-package-card {
    overflow: hidden;
}

.donor-package-table-wrap {
    border-radius: 1.35rem;
}

.donor-package-table thead th {
    font-size: .76rem;
    letter-spacing: .14em;
}

.donor-package-table tbody td {
    padding-top: 1rem;
    padding-bottom: 1rem;
    vertical-align: middle;
}

.donor-package-name {
    color: #fff;
    font-weight: 700;
    font-size: 1.08rem;
    line-height: 1.15;
}

.donor-package-sub,
.donor-package-meta {
    margin-top: .36rem;
    color: rgba(148, 163, 184, .88);
    font-size: .9rem;
    overflow-wrap: anywhere;
}

.donor-package-price,
.donor-package-mapped {
    color: #fff;
    font-size: 1.02rem;
    font-weight: 700;
}

.donor-package-audience {
    background: rgba(37, 99, 235, .2);
    border: 1px solid rgba(96, 165, 250, .18);
}

.donor-package-stack,
.donor-package-feature-list {
    display: grid;
    gap: .38rem;
}

.donor-package-stack > div {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    color: rgba(226, 232, 240, .86);
    font-size: .95rem;
}

.donor-package-stack > div span {
    color: rgba(148, 163, 184, .88);
}

.donor-package-stack > div strong {
    color: #fff;
    font-weight: 700;
}

.donor-package-feature-list > div {
    color: rgba(148, 163, 184, .92);
    font-size: .94rem;
}

.donor-package-feature-list > div.is-enabled {
    color: #10b981;
}

.donor-package-sync {
    color: #fbbf24;
    font-size: .94rem;
    font-weight: 700;
}

.donor-package-sync.is-synced {
    color: #10b981;
}

.donor-package-sync-id {
    max-width: 22rem;
}

.donor-package-actions {
    display: inline-flex;
    gap: .45rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.donor-package-actions .btn {
    min-width: 4.1rem;
}

.donor-package-actions-cell {
    min-width: 15rem;
}

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

    .donor-admin-grid--3,
    .donor-import-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1199.98px) {
    .home-v2 .panel-grid-homepage {
        grid-template-columns: 1fr;
    }
    .home-v2 .panel-grid-homepage .mini-panel-trend {
        grid-column: auto;
    }
    .home-v2 .package-grid {
        grid-template-columns: 1fr;
    }

    .donor-package-actions-cell {
        min-width: 12rem;
    }
}

@media (max-width: 991.98px) {
    .donor-admin-filter-grid--2,
    .donor-admin-filter-grid--3,
    .donor-admin-filter-grid--alerts,
    .donor-admin-filter-grid--incidents,
    .donor-admin-summary--5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .donor-admin-filter-grid--actions,
    .donor-admin-filter-grid--alerts-actions,
    .donor-admin-filter-grid--incidents-actions,
    .donor-admin-filter-grid--2.donor-admin-filter-grid--actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .monitor-filter-actions-inline {
        grid-column: 1 / -1;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .donor-package-table tbody td {
        min-width: 10rem;
    }
}

@media (max-width: 767.98px) {
    .donor-admin-filter-grid--2,
    .donor-admin-filter-grid--3,
    .donor-admin-filter-grid--alerts,
    .donor-admin-filter-grid--incidents,
    .donor-admin-summary--5,
    .donor-admin-stat-grid--2,
    .donor-admin-filter-grid--actions,
    .donor-admin-filter-grid--alerts-actions,
    .donor-admin-filter-grid--incidents-actions,
    .donor-admin-filter-grid--2.donor-admin-filter-grid--actions {
        grid-template-columns: 1fr;
    }

    .donor-admin-page .monitor-console-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .donor-package-actions {
        justify-content: flex-start;
    }
}
/* === Donor admin management polish end === */


/* === Donor form/admin finish pass v56 === */
.donor-form-shell { gap: 1.5rem; }
.donor-form-hero { align-items: flex-start; }
.donor-form-grid {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}
.donor-form-grid--wide { grid-template-columns: minmax(0, 1.45fr) minmax(22rem, .8fr); }
.donor-form-grid--compact { grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .72fr); }
.donor-form-side { min-width: 0; }
.donor-form-fields textarea.form-control { min-height: auto; }
.donor-form-fields input[type=file].form-control {
}
.donor-profile-photo-card {
    overflow: hidden;
}
.donor-profile-avatar-shell {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.donor-profile-avatar {
    width: min(100%, 18rem);
    aspect-ratio: 1 / 1;
    border-radius: 1.15rem;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(14, 28, 52, .96), rgba(5, 16, 34, .96));
    border: 1px solid rgba(56, 189, 248, .12);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .28);
    display: flex;
    align-items: center;
    justify-content: center;
}
.donor-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.donor-profile-avatar span {
    font-size: clamp(3rem, 8vw, 4.75rem);
    font-weight: 700;
    color: rgba(255, 255, 255, .94);
}
body.app-cropper-open {
    overflow: hidden;
}
.app-cropper-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.app-cropper-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .72);
    backdrop-filter: blur(8px);
}
.app-cropper-dialog {
    position: relative;
    width: min(100%, 58rem);
    border-radius: 1.35rem;
    border: 1px solid rgba(56, 189, 248, .14);
    background: linear-gradient(180deg, rgba(9, 20, 42, .98), rgba(4, 12, 28, .99));
    box-shadow: 0 34px 70px rgba(2, 6, 23, .58);
    overflow: hidden;
}
.app-cropper-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem 1rem;
    border-bottom: 1px solid rgba(56, 189, 248, .12);
}
.app-cropper-kicker {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: rgba(186, 230, 253, .82);
    margin-bottom: .45rem;
}
.app-cropper-title {
    margin: 0;
    font-size: 1.45rem;
    color: #fff;
}
.app-cropper-copy {
    margin: .45rem 0 0;
    color: rgba(191, 219, 254, .78);
    max-width: 34rem;
}
.app-cropper-close {
    border: 0;
    background: transparent;
    color: rgba(226, 232, 240, .78);
    font-size: 1.9rem;
    line-height: 1;
    padding: .2rem .35rem;
}
.app-cropper-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.35rem;
}
.app-cropper-stage-wrap {
    display: flex;
    justify-content: center;
}
.app-cropper-stage {
    position: relative;
    width: min(100%, 24rem);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(30, 41, 59, .98));
    border: 1px solid rgba(56, 189, 248, .14);
    touch-action: none;
    cursor: grab;
    user-select: none;
}
.app-cropper-stage.is-dragging {
    cursor: grabbing;
}
.app-cropper-image {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    transform-origin: top left;
    will-change: transform, width, height;
    pointer-events: none;
}
.app-cropper-frame {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: inherit;
    box-shadow: inset 0 0 0 9999px rgba(2, 6, 23, .18);
    pointer-events: none;
}
.app-cropper-controls {
    display: grid;
    gap: 1rem;
}
.app-cropper-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(226, 232, 240, .92);
}
.app-cropper-zoom-group {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex: 1 1 auto;
    justify-content: flex-end;
}
.app-cropper-zoom-group input[type=range] {
    width: min(100%, 18rem);
}
.app-cropper-actions {
    flex-wrap: wrap;
}
.app-cropper-action-buttons {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}
@media (max-width: 767.98px) {
    .app-cropper-modal {
        padding: .75rem;
    }
    .app-cropper-header,
    .app-cropper-body {
        padding: 1rem;
    }
    .app-cropper-control-row {
        align-items: flex-start;
        flex-direction: column;
    }
    .app-cropper-zoom-group,
    .app-cropper-action-buttons {
        width: 100%;
        justify-content: stretch;
    }
    .app-cropper-zoom-group input[type=range] {
        width: 100%;
    }
}
.donor-form-section-title {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: rgba(186, 230, 253, .86);
    padding-top: .35rem;
}
.donor-form-page .card.card-soft {
    background: linear-gradient(180deg, rgba(17, 34, 65, .92), rgba(7, 18, 38, .96));
    border: 1px solid rgba(56, 189, 248, .14);
    border-radius: 1.35rem;
    box-shadow: 0 24px 44px rgba(2, 6, 23, .24);
}
.donor-admin-side .donor-side-row,
.donor-form-side .donor-side-row {
    align-items: flex-start;
}
.donor-admin-side .donor-side-row strong,
.donor-form-side .donor-side-row strong {
    margin-left: auto;
    text-align: right;
    max-width: 68%;
    overflow-wrap: anywhere;
}
.donor-import-side .donor-mono-box pre {
    white-space: pre-wrap;
    word-break: break-word;
    font: inherit;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    line-height: 1.7;
}
@media (max-width: 1399.98px) {
    .donor-form-grid--wide,
    .donor-form-grid--compact { grid-template-columns: 1fr; }
}

/* === Monitor detail tightening pack start === */
.monitor-detail-hero {
    align-items: flex-start;
    gap: 1.5rem;
}

.monitor-detail-hero-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.monitor-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.95rem;
    color: #93c5fd;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
}

.monitor-back-link:hover {
    color: #dbeafe;
}

.monitor-detail-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.monitor-title-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.42rem 0.82rem;
    font-size: 0.84rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.monitor-title-status-dot {
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 14px currentColor;
}

.monitor-title-status-pill.is-up {
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
    border-color: rgba(74, 222, 128, 0.2);
}

.monitor-title-status-pill.is-down {
    background: rgba(244, 63, 94, 0.12);
    color: #fda4af;
    border-color: rgba(251, 113, 133, 0.22);
}

.monitor-title-status-pill.is-paused {
    background: rgba(251, 191, 36, 0.12);
    color: #fcd34d;
    border-color: rgba(251, 191, 36, 0.22);
}

.monitor-detail-kicker {
    margin-bottom: 0.5rem;
}

.monitor-detail-meta-line {
    margin-top: 0.55rem;
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.96rem;
}

.monitor-detail-subtitle {
    margin-top: 0.95rem;
}

.monitor-detail-actions {
    justify-content: flex-end;
}

.monitor-response-heading {
    align-items: flex-start;
}

.monitor-response-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.monitor-response-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(74, 222, 128, 0.18);
    background: rgba(74, 222, 128, 0.08);
    padding: 0.42rem 0.78rem;
    color: #86efac;
    font-size: 0.74rem;
    font-weight: 700;
}

.monitor-response-shell {
    border-radius: 1.25rem;
    border: 1px solid rgba(36, 50, 71, 0.95);
    background: rgba(8, 19, 33, 0.92);
    padding: 1rem;
}

.monitor-response-current {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.monitor-response-current-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(148, 163, 184, 0.78);
}

.monitor-response-current-value {
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0.2rem;
}

.monitor-response-current-meta {
    color: rgba(148, 163, 184, 0.78);
    font-size: 0.82rem;
}

.response-chart-wrap {
    border-radius: 1rem;
    border: 1px solid rgba(36, 50, 71, 0.95);
    background: rgba(8, 19, 33, 0.96);
    padding: 0.75rem;
    position: relative;
    overflow: hidden;
}

.response-chart-svg {
    width: 100%;
    height: auto;
    display: block;
}

.response-chart-hit {
    cursor: pointer;
}

.response-chart-focus-line {
    stroke: rgba(74, 222, 128, 0.22);
    stroke-width: 1;
    stroke-dasharray: 4 4;
    transition: opacity 0.15s ease;
}

.response-chart-focus-dot {
    fill: #4ade80;
    stroke: #081321;
    stroke-width: 2;
    transition: opacity 0.15s ease;
}

.response-chart-tooltip {
    position: absolute;
    z-index: 3;
    min-width: 132px;
    max-width: 180px;
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(74, 222, 128, 0.18);
    background: #09111d;
    color: #e2e8f0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.response-chart-tooltip[hidden] {
    display: none;
}

.response-chart-tooltip-label {
    color: #94a3b8;
    font-size: 0.75rem;
    margin-bottom: 0.2rem;
}

.response-chart-tooltip-value {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
}

.detail-side-list--compact {
    gap: 0;
}

.detail-side-list--compact > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
}

.detail-side-list--compact dt {
    margin-bottom: 0;
    flex: 0 0 auto;
}

.detail-side-list--compact dd {
    text-align: right;
    word-break: break-word;
}

.detail-incidents-stat {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    border-radius: 0.95rem;
    border: 1px solid rgba(36, 50, 71, 0.95);
    background: rgba(11, 18, 32, 0.72);
    padding: 0.55rem 0.8rem;
    line-height: 1.05;
}

.detail-incidents-stat-value {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
}

.detail-incidents-stat-label {
    margin-top: 0.18rem;
    color: rgba(148, 163, 184, 0.8);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .monitor-detail-actions {
        justify-content: flex-start;
    }

    .monitor-response-heading {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .monitor-detail-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-side-list--compact > div {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-side-list--compact dd {
        text-align: left;
    }

    .detail-incidents-stat {
        align-items: flex-start;
    }
}
/* === Monitor detail tightening pack end === */


/* === Shared admin page header alignment pack start === */
.app-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0.45rem 0 1.9rem;
}

.app-page-header__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.app-page-header__eyebrow {
    margin-bottom: 0.55rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.app-page-header__title {
    margin: 0;
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.app-page-header__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.app-page-header__meta {
    margin-top: 0.55rem;
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.96rem;
}

.app-page-header__subtitle {
    margin: 0.95rem 0 0;
    max-width: 62rem;
    color: rgba(226, 232, 240, 0.72);
    font-size: 1rem;
    line-height: 1.7;
}

.app-page-header__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
    flex: 0 0 auto;
    padding-top: 0.75rem;
}

.app-page-header--detail {
    padding-top: 0.25rem;
}

.app-page-header--detail .app-page-header__eyebrow {
    margin-top: 0.9rem;
}

.monitor-detail-hero-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.monitor-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #93c5fd;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
}

.monitor-back-link:hover {
    color: #dbeafe;
}

.monitor-detail-actions {
    justify-content: flex-end;
}

@media (max-width: 991.98px) {
    .app-page-header,
    .app-page-header--detail {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-page-header__actions,
    .monitor-detail-actions {
        justify-content: flex-start;
        padding-top: 0;
    }
}

@media (max-width: 767.98px) {
    .app-page-header__title-row,
    .monitor-detail-title-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* === Shared admin page header alignment pack end === */
