:root {
    color-scheme: dark;
    --bg-main:#f6f8fc;
    --bg-elevated:#ffffff;
    --bg-card:#ffffff;
    --bg-card-2:#ffffff;
    --stroke-soft:rgba(15,40,80,0.06);
    --stroke-strong:rgba(2,77,251,0.28);
    --text-primary:#0b1f3a;
    --text-secondary:#0b1f3a;
    --text-muted:#5c6f88;
    --primary:#024dfb;
    --primary-2:#225de7;
    --teal:#5e84dc;
    --lime:#e2f994;
    --green-soft:#a4ebb0;
    --danger:#ff5d73;
    --warning:#ffc857;
    --success:#39d98a;
    --info:#588aff;
    --gradient-primary:linear-gradient(135deg, #024dfb 0%, #225de7 55%, #5e84dc 100%);
    --gradient-surface:linear-gradient(180deg, rgba(15,40,80,0.02), rgba(15,40,80,0));
    --gradient-highlight:linear-gradient(135deg, rgba(2,77,251,0.18), rgba(94,132,220,0.1));
    --gradient-hero-soft:radial-gradient(circle at top left, rgba(2,77,251,0.14), transparent 46%),
        radial-gradient(circle at bottom right, rgba(94,132,220,0.09), transparent 42%);
    --radius-card: 18px;
    --radius-input: 14px;
    --radius-button: 14px;
    --shadow-soft:0 14px 30px rgba(15,40,80,0.18);
    --shadow-card:0 20px 45px rgba(15,40,80,0.18);
}

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

[x-cloak] {
    display: none !important;
}

html,
body {
    margin: 0;
    height: 100%;
    min-height: 100%;
    background:var(--bg-main) !important;
    color:var(--text-primary);
    font-family: "Inter", "Segoe UI", "Tahoma", sans-serif;
}

h1,
h2,
h3,
h4,
.fi-header-heading,
.fi-section-header-heading {
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    letter-spacing: -0.02em;
}

code,
pre,
.fi-in-code-entry {
    font-family: "JetBrains Mono", "IBM Plex Mono", "Consolas", monospace;
}

body {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background:var(--gradient-hero-soft),
        linear-gradient(180deg, #f6f8fc 0%, #ffffff 52%, #ffffff 100%) !important;
    background-attachment: fixed;
}

body.fi-body,
body.peeryx-portal-body {
    overflow-y: hidden;
}

body.peeryx-marketing-body,
body.peeryx-auth-body {
    overflow-y: auto;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.32;
    z-index: -11;
    background:radial-gradient(circle at 18% 8%, rgba(2,77,251,0.18), transparent 34%),
        radial-gradient(circle at 84% 2%, rgba(34,93,231,0.15), transparent 30%),
        radial-gradient(circle at 70% 92%, rgba(94,132,220,0.1), transparent 32%),
        linear-gradient(180deg, rgba(15,40,80,0.02), rgba(15,40,80,0));
}

.peeryx-bg-layers {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -12;
    overflow: hidden;
}

.peeryx-bg-ambient {
    position: absolute;
    inset: 0;
    opacity: 0.85;
    background:radial-gradient(circle at 10% -12%, rgba(2,77,251,0.2), transparent 42%),
        radial-gradient(circle at 84% 108%, rgba(94,132,220,0.14), transparent 40%),
        linear-gradient(180deg, rgba(246,248,252,0.2), rgba(246,248,252,0.62));
}

.peeryx-bg-lines {
    position: absolute;
    inset: 0;
    opacity: 0.045;
    background:linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
    background-size: 1100px 620px;
    mix-blend-mode: screen;
}

.peeryx-bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image:radial-gradient(rgba(255, 255, 255, 0.9) 0.45px, transparent 0.45px);
    background-size: 2px 2px;
}

.peeryx-bg-grid {
    display: none;
}

.peeryx-bg-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(88px);
    opacity: 0.22;
}

.peeryx-bg-orb-primary {
    width: 580px;
    height: 580px;
    left: -140px;
    top: -180px;
    background:radial-gradient(circle, rgba(2,77,251,0.3), rgba(2,77,251,0));
}

.peeryx-bg-orb-lime {
    width: 420px;
    height: 420px;
    right: -100px;
    bottom: -120px;
    background:radial-gradient(circle, rgba(94,132,220,0.2), rgba(94,132,220,0));
}

.peeryx-bg-layers-portal .peeryx-bg-lines {
    opacity: 0.03;
}

.peeryx-bg-layers-marketing .peeryx-bg-lines {
    opacity: 0.07;
}

.peeryx-bg-layers-auth .peeryx-bg-lines {
    opacity: 0.05;
}

.peeryx-app-shell {
    min-height: 100vh;
    display: flex;
    position: relative;
    z-index: 1;
}

.peeryx-app-sidebar {
    width: 280px;
    min-width: 280px;
    border-right:1px solid var(--stroke-soft);
    background:linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.92));
    padding: 14px 10px;
}

.peeryx-app-content {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.peeryx-app-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom:1px solid var(--stroke-soft);
    backdrop-filter: blur(10px);
    background:rgba(255,255,255,0.74);
    padding: 12px 18px;
}

.peeryx-app-main {
    flex: 1;
    min-width: 0;
    padding: clamp(16px, 2vw, 30px);
}

.fi-body,
.fi-layout,
.fi-main,
.fi-sidebar-layout {
    background:transparent !important;
}

.fi-layout {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.fi-main-ctn {
    display: flex !important;
    opacity: 1 !important;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.fi-main {
    position: relative;
    z-index: 10;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    padding-top: clamp(14px, 2vw, 24px) !important;
    padding-bottom: clamp(20px, 3vw, 30px) !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.fi-page-main {
    display: grid;
    gap: 20px;
}

.fi-page-content {
    position: relative;
    z-index: 10;
}

.fi-sidebar {
    width: 280px !important;
    min-width: 280px !important;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.95) 100%) !important;
    border-right:1px solid var(--stroke-soft) !important;
}

.fi-main-sidebar {
    z-index: 50;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    align-self: stretch;
}

.fi-sidebar-nav {
    flex: 1 1 auto;
    min-height: 0;
    padding: 16px 14px 14px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
}

.fi-sidebar-header-ctn,
.peeryx-sidebar-footer {
    flex: 0 0 auto;
}

.fi-sidebar-nav-groups {
    gap: 18px !important;
}

.fi-sidebar-group-label {
    color:var(--text-muted) !important;
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    padding-inline: 10px !important;
}

.fi-sidebar-item-button,
.fi-sidebar-item-btn {
    border-radius: 12px !important;
    border:1px solid transparent !important;
    min-height: 42px !important;
    color:var(--text-secondary) !important;
    transition: all 0.18s ease;
}

.fi-sidebar-item-button:hover,
.fi-sidebar-item-btn:hover {
    background:rgba(2,77,251,0.09) !important;
    border-color:rgba(34,93,231,0.2) !important;
    color:#0b1f3a !important;
}

.fi-sidebar-item-active > .fi-sidebar-item-button,
.fi-sidebar-item-active > .fi-sidebar-item-btn {
    background:var(--gradient-highlight) !important;
    border-color:var(--stroke-strong) !important;
    color:#0b1f3a !important;
    box-shadow:inset 0 0 0 1px rgba(34,93,231,0.16);
}

.fi-sidebar-item-label {
    font-size: 13px !important;
    font-weight: 500 !important;
}

.fi-sidebar-item-badge,
.fi-sidebar-item .fi-badge {
    border-radius: 999px !important;
    min-width: 18px;
    min-height: 18px;
    padding: 0 6px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    border:1px solid rgba(34,93,231,0.28) !important;
    background:rgba(2,77,251,0.18) !important;
    color:#0b1f3a !important;
}

.fi-sidebar-close-overlay {
    z-index: 45;
    backdrop-filter: blur(2px);
    background:rgba(246,248,252,0.52) !important;
}

.fi-topbar {
    position: sticky !important;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(8px);
    background:rgba(255,255,255,0.76) !important;
    border-bottom:1px solid var(--stroke-soft) !important;
    overflow: visible !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    max-width: 100%;
    padding-inline: 10px;
    flex-wrap: nowrap;
}

.fi-topbar nav,
.fi-topbar .fi-dropdown,
.fi-topbar .fi-dropdown-panel {
    overflow: visible !important;
}

.fi-topbar-ctn {
    position: relative;
    z-index: 70;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.fi-topbar-start {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}

.fi-topbar-end {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
    max-width: 100%;
}

.fi-topbar-end > * {
    flex: 0 0 auto;
}

.fi-avatar,
.fi-user-avatar {
    border:1px solid rgba(34,93,231,0.28) !important;
    box-shadow:0 0 0 2px rgba(2,77,251,0.12);
    background:linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,255,255,0.95)) !important;
}

.fi-avatar img,
.fi-user-avatar img {
    object-fit: cover;
}

.fi-user-menu-trigger {
    border-radius: 999px !important;
    border:1px solid rgba(34,93,231,0.22) !important;
    background:rgba(15,40,80,0.03) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 2px !important;
}

.fi-user-menu .fi-dropdown-panel,
.fi-topbar .fi-dropdown-panel,
.fi-dropdown-panel {
    z-index: 420 !important;
}

.fi-user-menu .fi-dropdown-panel {
    min-width: 196px;
}

.fi-user-menu .fi-dropdown-panel {
    width: min(228px, calc(100vw - 14px));
    min-width: 196px;
    padding: 5px;
    pointer-events: auto !important;
}

.fi-user-menu {
    position: relative;
}

.fi-user-menu .fi-dropdown-header {
    border-radius: 12px !important;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px !important;
    margin-bottom: 4px;
    text-align: left;
}

.fi-user-menu .fi-dropdown-header > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fi-dropdown-list {
    padding: 6px !important;
    display: grid;
    gap: 4px;
}

.fi-user-menu .fi-dropdown-list {
    padding: 2px 0 !important;
    gap: 4px;
}

.fi-user-menu .fi-dropdown-list + .fi-dropdown-list {
    border-top:1px solid rgba(15,40,80,0.1);
    margin-top: 0;
    padding-top: 5px !important;
}

.fi-dropdown-list-item {
    border-radius: 10px !important;
    min-height: 34px;
    color:var(--text-primary) !important;
}

.fi-user-menu .fi-dropdown-list-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
    min-height: 34px;
    padding: 6px 8px !important;
}

.fi-dropdown-list-item-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fi-user-menu .fi-dropdown-list-item-label {
    flex: 1 1 auto;
    text-align: left;
}

.fi-page {
    max-width: 1680px !important;
    margin-inline: auto;
    min-width: 0;
    padding-inline: clamp(16px, 2.2vw, 32px) !important;
}

.fi-header {
    margin-bottom: 18px !important;
}

.fi-header-heading {
    color:var(--text-primary) !important;
}

.fi-header-subheading {
    color:var(--text-secondary) !important;
}

.fi-section,
.fi-ta,
.fi-ta-content,
.fi-wi-stats-overview-stat,
.fi-wi-chart,
.fi-modal-window,
.fi-dropdown-panel,
.fi-in-entry-card {
    border:1px solid var(--stroke-soft) !important;
    border-radius: var(--radius-card) !important;
    background:linear-gradient(165deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%) !important;
    box-shadow:var(--shadow-card) !important;
}

.fi-section-header {
    border-bottom:1px solid rgba(15,40,80,0.07) !important;
}

.fi-ta-header {
    background:rgba(2,77,251,0.05) !important;
}

.fi-ta-table,
.fi-ta table {
    width: 100%;
}

.fi-ta-header-ctn,
.fi-ta-header,
.fi-ta thead {
    position: sticky;
    top: 0;
    z-index: 6;
}

.fi-ta-row {
    border-color:rgba(15,40,80,0.06) !important;
}

.fi-ta-row:nth-child(even) {
    background:rgba(15,40,80,0.01);
}

.fi-ta-row:hover {
    background:rgba(2,77,251,0.08) !important;
}

.fi-ta-header-cell {
    color:var(--text-secondary) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 11px;
}

.fi-badge {
    border-radius: 999px !important;
    border:1px solid rgba(15,40,80,0.08) !important;
    font-weight: 600 !important;
}

.fi-color-custom.fi-badge,
.fi-badge-color-primary {
    background:rgba(2,77,251,0.15) !important;
    color:#0b1f3a !important;
}

.fi-badge-color-success {
    background:rgba(57, 217, 138, 0.16) !important;
    color:#0b1f3a !important;
}

.fi-badge-color-warning {
    background:rgba(255, 200, 87, 0.14) !important;
    color:#0b1f3a !important;
}

.fi-badge-color-danger {
    background:rgba(255, 93, 115, 0.2) !important;
    color:#0b1f3a !important;
}

.fi-input-wrp,
.fi-select-input,
.fi-textarea,
.fi-file-upload-editor,
.fi-fo-field-wrp {
    border-radius: var(--radius-input) !important;
}

.fi-input-wrp,
.fi-select-input,
.fi-textarea {
    border:1px solid rgba(15,40,80,0.12) !important;
    background:rgba(246,248,252,0.9) !important;
}

.fi-input-wrp:focus-within,
.fi-select-input:focus,
.fi-textarea:focus {
    border-color:var(--stroke-strong) !important;
    box-shadow:0 0 0 3px rgba(2,77,251,0.16) !important;
}

.fi-btn {
    border-radius: var(--radius-button) !important;
    transition: all 0.18s ease;
}

/* Fallback sizing utilities used by custom Blade actions */
.fi-size-sm {
    font-size: 12px !important;
    line-height: 1.2 !important;
}

.fi-btn-size-sm {
    min-height: 34px !important;
    padding: 8px 12px !important;
    gap: 6px !important;
}

a.fi-btn-size-sm,
button.fi-btn-size-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fi-btn-color-primary {
    border:0 !important;
    color:#021522 !important;
    background:var(--gradient-primary) !important;
    font-weight: 700 !important;
    box-shadow:0 10px 22px rgba(2,77,251,0.24);
}

.fi-btn-color-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.fi-btn-color-gray {
    border:1px solid rgba(15,40,80,0.16) !important;
    background:rgba(15,40,80,0.03) !important;
    color:var(--text-primary) !important;
}

.fi-tabs-item {
    border-radius: 999px !important;
    border:1px solid transparent !important;
}

.fi-tabs-item-active {
    border-color:var(--stroke-strong) !important;
    background:rgba(2,77,251,0.12) !important;
}

.fi-dropdown-list-item:hover,
.fi-dropdown-list-item:focus {
    background:rgba(2,77,251,0.1) !important;
}

.fi-global-search-field {
    border-radius: 999px !important;
}

.fi-tabs {
    border-bottom-color:rgba(15,40,80,0.09) !important;
}

.fi-alert {
    border-radius: 14px !important;
    border:1px solid rgba(15,40,80,0.12) !important;
}

.peeryx-brand-card,
.peeryx-panel-utility {
    border:1px solid var(--stroke-soft);
    border-radius: 16px;
    background:linear-gradient(165deg, rgba(255,255,255,0.94), rgba(255,255,255,0.92));
    box-shadow:var(--shadow-soft);
}

.peeryx-brand-card {
    padding: 14px 14px 12px;
    margin: 4px 6px 14px;
}

.peeryx-brand-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.peeryx-brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background:var(--gradient-primary);
    box-shadow:0 0 12px rgba(2,77,251,0.9);
}

.peeryx-brand-logo {
    display: block;
    width: min(168px, 100%);
    height: auto;
}

.peeryx-brand-subtitle {
    margin: 6px 0 0;
    color:var(--text-muted);
    font-size: 12px;
}

.peeryx-topbar-metrics {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.peeryx-pill {
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.12);
    padding: 6px 10px;
    font-size: 12px;
    color:var(--text-secondary);
    background:rgba(15,40,80,0.02);
}

.peeryx-pill-success {
    color:#0b1f3a;
    border-color:rgba(57, 217, 138, 0.35);
    background:rgba(57, 217, 138, 0.12);
}

.peeryx-pill-warning {
    color:#0b1f3a;
    border-color:rgba(255, 200, 87, 0.32);
    background:rgba(255, 200, 87, 0.11);
}

.peeryx-sidebar-footer {
    margin: 12px 8px 16px;
    padding: 12px;
    border-radius: 14px;
    border:1px solid var(--stroke-soft);
    background:rgba(15,40,80,0.02);
    color:var(--text-muted);
    font-size: 11px;
}

.peeryx-sidebar-footer strong {
    display: block;
    color:var(--text-secondary);
    font-size: 12px;
    margin-bottom: 4px;
}

.peeryx-grid {
    display: grid;
    gap: 16px;
}

.peeryx-page-header {
    border:1px solid var(--stroke-soft);
    border-radius: 20px;
    padding: clamp(18px, 2vw, 28px);
    background:var(--gradient-hero-soft),
        linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    box-shadow:var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.peeryx-page-header::after {
    content: "";
    position: absolute;
    inset: auto -120px -120px auto;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background:radial-gradient(circle, rgba(34,93,231,0.2), rgba(34,93,231,0));
    pointer-events: none;
}

.peeryx-page-header-main {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.peeryx-page-title {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
}

.peeryx-page-subtitle {
    margin: 8px 0 0;
    color:var(--text-secondary);
    max-width: 78ch;
}

.peeryx-page-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.peeryx-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.peeryx-section-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
}

.peeryx-section-subtitle {
    margin: 6px 0 0;
    color:var(--text-muted);
    font-size: 13px;
}

.peeryx-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.16);
    font-size: 12px;
    font-weight: 600;
}

.peeryx-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background:currentColor;
    box-shadow:0 0 12px currentColor;
}

.peeryx-status-healthy {
    color:#7ff0b6;
    border-color:rgba(57, 217, 138, 0.38);
    background:rgba(57, 217, 138, 0.14);
}

.peeryx-status-warning {
    color:#ffe2a3;
    border-color:rgba(255, 200, 87, 0.35);
    background:rgba(255, 200, 87, 0.16);
}

.peeryx-status-danger {
    color:#0b1f3a;
    border-color:rgba(255, 93, 115, 0.38);
    background:rgba(255, 93, 115, 0.18);
}

.peeryx-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.peeryx-kpi {
    border-radius: 16px;
    border:1px solid var(--stroke-soft);
    background:var(--gradient-surface),
        linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.86) 100%);
    padding: 16px;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.peeryx-kpi:hover {
    transform: translateY(-1px);
    border-color:rgba(34,93,231,0.26);
    box-shadow:0 14px 26px rgba(15,40,80,0.18);
}

.peeryx-kpi-label {
    font-size: 12px;
    color:var(--text-muted);
}

.peeryx-kpi-value {
    margin-top: 8px;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.1;
    color:#0b1f3a;
    font-weight: 700;
}

.peeryx-kpi-trend {
    margin-top: 8px;
    font-size: 12px;
    color:var(--teal);
}

.peeryx-kpi-trend.is-up {
    color:var(--success);
}

.peeryx-kpi-trend.is-down {
    color:var(--danger);
}

.peeryx-kpi-trend.is-flat {
    color:var(--text-muted);
}

.peeryx-empty-state {
    display: grid;
    place-items: center;
    text-align: center;
    padding: 28px 18px;
    border-radius: 16px;
    border:1px dashed rgba(15,40,80,0.16);
    background:rgba(15,40,80,0.02);
}

.peeryx-empty-state h4 {
    margin: 10px 0 6px;
    font-size: 17px;
}

.peeryx-empty-state p {
    margin: 0;
    color:var(--text-muted);
    max-width: 48ch;
    font-size: 13px;
}

.peeryx-empty-state-icon {
    font-size: 26px;
    line-height: 1;
    color:var(--primary-2);
}

.peeryx-empty-state-actions {
    margin-top: 14px;
}

.peeryx-page-header-extra {
    margin-top: 16px;
}

.peeryx-world-map {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border:1px solid rgba(34,93,231,0.3);
    min-height: 360px;
    background:radial-gradient(circle at top left, rgba(2,77,251,0.12), transparent 42%),
        linear-gradient(165deg, rgba(255,255,255,0.96), rgba(255,255,255,0.94));
}

.peeryx-world-map-base {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    pointer-events: none;
}

.peeryx-world-map-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.peeryx-map-grid-line {
    stroke:rgba(120,150,220,0.16);
    stroke-width: 0.9;
}

.peeryx-map-link-physical {
    stroke:#024dfb;
    stroke-width: 3.4;
    stroke-linecap: round;
}

.peeryx-map-link-tunnel {
    stroke:#9df4c5;
    stroke-width: 2.8;
    stroke-dasharray: 9 6;
    stroke-linecap: round;
}

.peeryx-map-node-dc {
    fill:#183e95;
    stroke:rgba(15,40,80,0.14);
    stroke-width: 1.4;
}

.peeryx-map-node-remote {
    fill:#a4ebb0;
    stroke:rgba(15,40,80,0.14);
    stroke-width: 1.1;
}

.peeryx-world-map-empty {
    position: absolute;
    inset: auto 12px 12px 12px;
    border-radius: 10px;
    border:1px dashed rgba(15,40,80,0.16);
    background:rgba(246,248,252,0.7);
    padding: 8px 10px;
    font-size: 12px;
    color:var(--text-secondary);
    text-align: center;
}

.peeryx-map-legend {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.peeryx-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.14);
    background:rgba(15,40,80,0.03);
    padding: 6px 10px;
    font-size: 11px;
    color:var(--text-secondary);
}

.peeryx-map-legend .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    box-shadow:0 0 10px currentColor;
}

.peeryx-map-legend .dot-dc {
    color:#235ada;
    background:#024dfb;
}

.peeryx-map-legend .dot-remote {
    color:#a4ebb0;
    background:#a4ebb0;
}

.peeryx-map-legend .line {
    width: 18px;
    height: 0;
    border-top-width: 2px;
    border-top-style: solid;
}

.peeryx-map-legend .line-physical {
    border-top-color:#024dfb;
}

.peeryx-map-legend .line-tunnel {
    border-top-color:#a4ebb0;
    border-top-style: dashed;
}

.peeryx-skeleton {
    border-radius: 12px;
    background:linear-gradient(
        90deg,
        rgba(15,40,80,0.04) 25%,
        rgba(15,40,80,0.06) 50%,
        rgba(15,40,80,0.04) 75%
    );
    background-size: 220% 100%;
    animation: peeryx-loading 1.4s linear infinite;
}

@keyframes peeryx-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    align-items: safe center;
    justify-items: center;
    padding: 16px;
    position: relative;
    z-index: 1;
}

.auth-locale-switch {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 12;
}

.auth-grid {
    width: min(1140px, 98vw);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    border:1px solid var(--stroke-soft);
    border-radius: 22px;
    overflow: hidden;
    background:linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.92) 100%);
    box-shadow:0 28px 56px rgba(15,40,80,0.18);
}

.auth-brand {
    padding: 40px;
    border-right:1px solid var(--stroke-soft);
    background:var(--gradient-hero-soft);
}

.auth-kicker {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    border:1px solid rgba(34,93,231,0.35);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color:var(--teal);
}

.auth-brand h1 {
    margin: 14px 0 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.07;
}

.auth-brand p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.7;
    color:var(--text-secondary);
    max-width: 44ch;
}

.auth-list {
    margin-top: 24px;
    padding-left: 18px;
    color:#0b1f3a;
    display: grid;
    gap: 8px;
}

.auth-panel {
    padding: 34px;
    display: grid;
    align-content: center;
    gap: 11px;
}

.auth-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
}

.auth-subtitle {
    margin: 0 0 8px;
    color:var(--text-secondary);
    font-size: 14px;
}

.auth-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color:var(--text-muted);
}

.auth-input {
    width: 100%;
    border-radius: var(--radius-input);
    border:1px solid rgba(15,40,80,0.14);
    background:rgba(246,248,252,0.76);
    color:var(--text-primary);
    padding: 12px 13px;
    font-size: 14px;
    line-height: 1.3;
    min-height: 44px;
}

.auth-input:focus {
    outline:none;
    border-color:var(--stroke-strong);
    box-shadow:0 0 0 3px rgba(2,77,251,0.2);
}

select.auth-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A9BBC8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 38px;
}

select.auth-input option {
    background:#ffffff;
    color:#0b1f3a;
}

.auth-btn {
    margin-top: 0;
    border:0;
    border-radius: var(--radius-button);
    padding: 12px 14px;
    font-weight: 700;
    color:#032231;
    background:var(--gradient-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
}

.auth-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.auth-panel .auth-btn {
    margin-top: 6px;
}

.auth-error {
    border-radius: 10px;
    border:1px solid rgba(255, 93, 115, 0.4);
    background:rgba(255, 93, 115, 0.1);
    color:#0b1f3a;
    font-size: 13px;
    padding: 8px 10px;
}

.auth-trust {
    margin-top: 6px;
    color:var(--text-muted);
    font-size: 12px;
}

.peeryx-marketing-body {
    display: block;
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto !important;
    background-attachment: scroll;
    background:var(--gradient-hero-soft),
        linear-gradient(180deg, #f6f8fc 0%, #ffffff 58%, #ffffff 100%) !important;
}

.mk-shell {
    width: min(1240px, 92vw);
    margin-inline: auto;
}

.mk-presence-bar {
    border-bottom:1px solid rgba(15,40,80,0.1);
    background:rgba(246,248,252,0.88);
}

.mk-presence-bar .mk-shell {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
    color:var(--text-muted);
}

.mk-presence-bar a {
    color:#0b1f3a;
    text-decoration: none;
    font-weight: 600;
}

.mk-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom:1px solid var(--stroke-soft);
    backdrop-filter: blur(12px);
    background:rgba(246,248,252,0.74);
}

.mk-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mk-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color:#0b1f3a;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.mk-logo img {
    display: block;
    height: 40px;
    width: auto;
}

.mk-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: hidden;
    overflow-y: hidden;
}

.mk-nav::-webkit-scrollbar {
    display: none;
}

.mk-nav a {
    text-decoration: none;
    color:var(--text-secondary);
    font-size: 13px;
    padding: 7px 10px;
    border-radius: 999px;
    border:1px solid transparent;
    white-space: nowrap;
}

.mk-nav a:hover {
    color:#0b1f3a;
    border-color:rgba(34,93,231,0.3);
    background:rgba(2,77,251,0.12);
}

.mk-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    flex-shrink: 0;
    min-width: 0;
}

.mk-locale-switcher {
    margin-right: 2px;
}

.mk-mobile-nav {
    display: none;
    position: relative;
    margin-left: auto;
}

.mk-mobile-nav-toggle {
    list-style: none;
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.16);
    background:rgba(15,40,80,0.04);
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}

.mk-mobile-nav-toggle::-webkit-details-marker {
    display: none;
}

.mk-mobile-nav-toggle span {
    width: 16px;
    height: 1.5px;
    border-radius: 999px;
    background:#d8edf9;
}

.mk-mobile-nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(420px, 94vw);
    border-radius: 14px;
    border:1px solid rgba(15,40,80,0.13);
    background:linear-gradient(165deg, rgba(255,255,255,0.98), rgba(255,255,255,0.96));
    box-shadow:0 18px 42px rgba(15,40,80,0.18);
    padding: 10px;
    display: grid;
    gap: 10px;
    z-index: 120;
}

.mk-mobile-nav-links {
    display: grid;
    gap: 6px;
}

.mk-mobile-nav-links a {
    text-decoration: none;
    color:var(--text-secondary);
    font-size: 13px;
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.1);
    background:rgba(15,40,80,0.03);
    padding: 10px 11px;
}

.mk-mobile-nav-links a:hover {
    color:#0b1f3a;
    border-color:rgba(34,93,231,0.3);
    background:rgba(2,77,251,0.12);
}

.mk-mobile-nav-actions {
    display: grid;
    gap: 8px;
}

.mk-session-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    max-width: 190px;
    border-radius: 999px;
    border:1px solid rgba(34,93,231,0.24);
    background:rgba(2,77,251,0.09);
    color:var(--text-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mk-logout-form {
    display: inline-flex;
    margin: 0;
}

.mk-logout-form .mk-btn {
    cursor: pointer;
    font-family: inherit;
}

.mk-mobile-nav-actions .mk-session-pill,
.mk-mobile-nav-actions .mk-logout-form,
.mk-mobile-nav-actions .mk-logout-form .mk-btn {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1320px) {
    .mk-nav {
        display: none;
    }

    .mk-actions {
        display: none;
    }

    .mk-mobile-nav {
        display: block;
    }
}

.peeryx-locale-switcher {
    display: inline-flex;
    align-items: center;
}

.peeryx-locale-switcher select {
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.16);
    background:rgba(15,40,80,0.04);
    color:var(--text-primary);
    min-height: 36px;
    padding: 6px 30px 6px 10px;
    font-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A9BBC8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.peeryx-locale-switcher select:focus {
    outline:none;
    border-color:rgba(34,93,231,0.35);
    box-shadow:0 0 0 3px rgba(2,77,251,0.18);
}

.peeryx-locale-switcher.is-compact select {
    min-height: 32px;
    font-size: 11px;
    padding: 5px 28px 5px 9px;
}

.mk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 10px 14px;
    min-height: 42px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border:1px solid transparent;
    transition: all 0.18s ease;
}

.mk-btn:hover {
    transform: translateY(-1px);
}

.mk-btn-primary {
    color:#042332;
    background:var(--gradient-primary);
    box-shadow:0 10px 22px rgba(2,77,251,0.22);
}

.mk-btn-ghost {
    color:var(--text-primary);
    border-color:rgba(15,40,80,0.16);
    background:rgba(15,40,80,0.03);
}

.mk-hero {
    padding: clamp(54px, 8vw, 110px) 0 28px;
}

.mk-hero-compact {
    padding-top: clamp(42px, 7vw, 82px);
}

.mk-kicker {
    display: inline-flex;
    border-radius: 999px;
    border:1px solid rgba(34,93,231,0.35);
    color:var(--teal);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 10px;
}

.mk-hero h1 {
    margin: 14px 0 0;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.mk-hero p {
    margin: 16px 0 0;
    max-width: 68ch;
    color:var(--text-secondary);
    font-size: 15px;
    line-height: 1.75;
}

.mk-hero-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: stretch;
}

.mk-hero-card {
    border:1px solid var(--stroke-soft);
    border-radius: 20px;
    padding: 18px;
    background:var(--gradient-surface),
        linear-gradient(165deg, rgba(255,255,255,0.96), rgba(255,255,255,0.92));
    box-shadow:var(--shadow-card);
}

.mk-hero-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.mk-trust {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.mk-trust span {
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.16);
    background:rgba(15,40,80,0.03);
    padding: 6px 10px;
    font-size: 12px;
    color:var(--text-secondary);
}

.mk-strip {
    padding: 12px 0 6px;
}

.mk-strip-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mk-strip-grid article {
    border-radius: 16px;
    border:1px solid var(--stroke-soft);
    background:rgba(15,40,80,0.02);
    padding: 14px;
}

.mk-strip-grid h4 {
    margin: 0 0 8px;
    font-size: 14px;
}

.mk-strip-grid p {
    margin: 0;
    color:var(--text-secondary);
    font-size: 13px;
}

.mk-section {
    padding: 26px 0;
}

.mk-section-head h2 {
    margin: 8px 0 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.mk-section-head p {
    color:var(--text-secondary);
    max-width: 68ch;
}

.mk-feature-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mk-feature-card {
    border-radius: 18px;
    border:1px solid var(--stroke-soft);
    background:var(--gradient-surface),
        linear-gradient(165deg, rgba(255,255,255,0.94), rgba(255,255,255,0.9));
    padding: 16px;
    box-shadow:var(--shadow-soft);
}

.mk-feature-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.mk-feature-card p {
    margin: 0;
    color:var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

.mk-story-card {
    border-radius: 22px;
    border:1px solid var(--stroke-soft);
    padding: clamp(18px, 3vw, 28px);
    background:var(--gradient-hero-soft),
        linear-gradient(165deg, rgba(255,255,255,0.96), rgba(255,255,255,0.92));
    box-shadow:var(--shadow-card);
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.mk-story-card h2 {
    margin: 10px 0 0;
    font-size: clamp(24px, 3vw, 38px);
}

.mk-story-card p {
    color:var(--text-secondary);
}

.mk-diagram {
    border-radius: 16px;
    border:1px dashed rgba(15,40,80,0.16);
    background:rgba(246,248,252,0.62);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 18px;
    gap: 8px;
    color:#0b1f3a;
}

.mk-dual-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-panel {
    border-radius: 18px;
    border:1px solid var(--stroke-soft);
    background:var(--gradient-surface),
        linear-gradient(165deg, rgba(255,255,255,0.94), rgba(255,255,255,0.9));
    padding: 18px;
}

.mk-panel h3 {
    margin: 6px 0 8px;
    font-size: 24px;
}

.mk-panel p {
    margin: 0;
    color:var(--text-secondary);
}

.mk-panel-heading-flush {
    margin-top: 0;
}

.mk-contact-form {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.mk-price-tag {
    margin-top: 12px;
    font-size: 26px;
    font-weight: 700;
    color:#0b1f3a;
}

.mk-bullet-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color:var(--text-secondary);
}

.mk-cta-card {
    border-radius: 22px;
    border:1px solid var(--stroke-strong);
    background:linear-gradient(135deg, rgba(2,77,251,0.16), rgba(34,93,231,0.12)),
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.92));
    box-shadow:var(--shadow-card);
    padding: clamp(20px, 3vw, 36px);
}

.mk-cta-card h2 {
    margin: 0;
    font-size: clamp(26px, 3.2vw, 42px);
}

.mk-cta-card p {
    margin: 10px 0 0;
    color:var(--text-secondary);
}

.mk-pricing-table-wrap {
    border:1px solid var(--stroke-soft);
    border-radius: 18px;
    overflow: hidden;
    background:rgba(255,255,255,0.88);
}

.mk-pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.mk-pricing-table th,
.mk-pricing-table td {
    padding: 12px;
    border-bottom:1px solid rgba(15,40,80,0.09);
    text-align: left;
    font-size: 13px;
}

.mk-pricing-table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color:var(--text-muted);
    background:rgba(2,77,251,0.06);
}

.mk-pricing-table tr:hover td {
    background:rgba(2,77,251,0.06);
}

.mk-footer {
    margin-top: 42px;
    padding: 28px 0 16px;
    border-top:1px solid var(--stroke-soft);
    background:rgba(246,248,252,0.84);
}

.mk-footer-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.mk-footer h4,
.mk-footer h5 {
    margin: 0 0 8px;
}

.mk-footer p {
    margin: 0;
    color:var(--text-secondary);
    font-size: 13px;
}

.mk-footer a {
    display: block;
    color:var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    margin: 0 0 6px;
}

.mk-footer a:hover {
    color:#0b1f3a;
}

.mk-footer-bottom {
    border-top:1px solid rgba(15,40,80,0.08);
    margin-top: 14px;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    color:var(--text-muted);
    font-size: 12px;
}

.mk-cine-hero {
    padding: clamp(72px, 9vw, 130px) 0 34px;
    position: relative;
}

.mk-cine-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:radial-gradient(circle at 68% 18%, rgba(2,77,251,0.18), transparent 52%),
        radial-gradient(circle at 22% 74%, rgba(94,132,220,0.12), transparent 48%);
    pointer-events: none;
}

.mk-cine-hero-compact {
    padding-top: clamp(56px, 7vw, 96px);
}

.mk-cine-grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
}

.mk-cine-copy h1 {
    margin: 14px 0 0;
    font-size: clamp(42px, 6.4vw, 74px);
    line-height: 0.98;
    letter-spacing: -0.04em;
    max-width: 14ch;
}

.mk-cine-copy p {
    margin: 18px 0 0;
    max-width: 62ch;
    color:var(--text-secondary);
    font-size: 15px;
    line-height: 1.75;
}

.mk-topology-stage {
    border:1px solid rgba(2,77,251,0.22);
    border-radius: 22px;
    padding: 16px;
    background:linear-gradient(165deg, rgba(255,255,255,0.96), rgba(255,255,255,0.9));
    box-shadow:0 22px 44px rgba(15,40,80,0.18),
        inset 0 0 0 1px rgba(34,93,231,0.09);
}

.mk-topology-stage header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: baseline;
    border-bottom:1px solid rgba(15,40,80,0.1);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.mk-topology-stage header strong {
    font-size: 15px;
}

.mk-topology-stage header span {
    font-size: 12px;
    color:var(--text-muted);
}

.mk-topology-map {
    position: relative;
    min-height: 310px;
    border-radius: 16px;
    border:1px solid rgba(15,40,80,0.1);
    background:linear-gradient(rgba(94,132,220,0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(94,132,220,0.09) 1px, transparent 1px),
        linear-gradient(180deg, rgba(246,248,252,0.9), rgba(246,248,252,0.8));
    background-size: 36px 36px, 36px 36px, cover;
    overflow: hidden;
}

.mk-topology-node {
    position: absolute;
    border-radius: 999px;
    border:1px solid rgba(34,93,231,0.34);
    background:rgba(2,77,251,0.14);
    color:#0b1f3a;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
}

.mk-node-core {
    left: 42%;
    top: 42%;
}

.mk-node-edge-a {
    left: 8%;
    top: 20%;
}

.mk-node-edge-b {
    right: 10%;
    top: 22%;
}

.mk-node-mitigation {
    left: 18%;
    bottom: 18%;
}

.mk-node-game {
    right: 14%;
    bottom: 16%;
}

.mk-traffic-line {
    position: absolute;
    height: 2px;
    transform-origin: left center;
    background:linear-gradient(90deg, rgba(34,93,231,0.06), rgba(34,93,231,0.94), rgba(34,93,231,0.06));
    box-shadow:0 0 14px rgba(34,93,231,0.55);
    animation: mk-flow 4.6s linear infinite;
}

.mk-line-1 {
    width: 160px;
    left: 21%;
    top: 33%;
    transform: rotate(18deg);
}

.mk-line-2 {
    width: 168px;
    left: 48%;
    top: 31%;
    transform: rotate(-18deg);
    animation-delay: 0.8s;
}

.mk-line-3 {
    width: 178px;
    left: 36%;
    top: 56%;
    transform: rotate(0deg);
    animation-delay: 1.6s;
}

@keyframes mk-flow {
    0% {
        opacity: 0.32;
        filter: brightness(0.9);
    }
    50% {
        opacity: 1;
        filter: brightness(1.14);
    }
    100% {
        opacity: 0.32;
        filter: brightness(0.9);
    }
}

.mk-signal-strip {
    margin-top: 16px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mk-signal-strip article {
    border-radius: 14px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.02);
    padding: 12px;
}

.mk-signal-strip h4 {
    margin: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color:var(--text-muted);
}

.mk-signal-strip p {
    margin: 8px 0 0;
    font-size: 15px;
    color:#0b1f3a;
}

.mk-proof-rail {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mk-proof-rail span {
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.14);
    padding: 8px 12px;
    background:rgba(15,40,80,0.03);
    color:var(--text-secondary);
    font-size: 12px;
}

.mk-proof-rail-compact span {
    font-size: 11px;
    padding: 6px 10px;
}

.mk-service-mosaic {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.mk-service-feature,
.mk-service-medium {
    border-radius: 18px;
    border:1px solid var(--stroke-soft);
    padding: 18px;
    background:linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
}

.mk-service-feature {
    grid-row: span 2;
    min-height: 360px;
    background:radial-gradient(circle at top right, rgba(2,77,251,0.14), transparent 48%),
        linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
}

.mk-service-feature h3,
.mk-service-medium h3 {
    margin: 10px 0 8px;
    font-size: 30px;
}

.mk-service-medium h3 {
    font-size: 24px;
}

.mk-service-feature p,
.mk-service-medium p {
    margin: 0;
    color:var(--text-secondary);
    line-height: 1.75;
}

.mk-capability-rail {
    grid-column: 2;
    border-radius: 16px;
    border:1px dashed rgba(34,93,231,0.34);
    background:rgba(2,77,251,0.08);
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: flex-start;
}

.mk-capability-rail span {
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.16);
    padding: 6px 10px;
    font-size: 12px;
    color:#0b1f3a;
    background:rgba(246,248,252,0.22);
}

.mk-inline-link {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color:#0b1f3a;
    text-decoration: none;
}

.mk-inline-link:hover {
    color:#0b1f3a;
}

.mk-story-band {
    border-radius: 22px;
    border:1px solid var(--stroke-soft);
    padding: clamp(20px, 3vw, 34px);
    background:radial-gradient(circle at top right, rgba(2,77,251,0.1), transparent 46%),
        linear-gradient(165deg, rgba(255,255,255,0.96), rgba(255,255,255,0.9));
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.mk-story-band h2 {
    margin: 8px 0 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.04;
}

.mk-story-band p {
    margin: 14px 0 0;
    color:var(--text-secondary);
}

.mk-ops-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.mk-ops-timeline li {
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.14);
    background:rgba(15,40,80,0.03);
    padding: 10px 12px;
    display: grid;
    gap: 4px;
}

.mk-ops-timeline strong {
    font-size: 13px;
}

.mk-ops-timeline span {
    color:var(--text-secondary);
    font-size: 12px;
}

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

.mk-presence-layout {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.mk-presence-map {
    border-radius: 20px;
    border:1px solid var(--stroke-soft);
    padding: 16px;
    background:linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
}

.mk-presence-map header {
    display: grid;
    gap: 4px;
}

.mk-presence-map header strong {
    font-size: 18px;
}

.mk-presence-map header span {
    font-size: 12px;
    color:var(--text-muted);
}

.mk-paris-grid {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.mk-site-cluster {
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.13);
    background:rgba(15,40,80,0.03);
    padding: 10px;
}

.mk-site-cluster h4 {
    margin: 0;
    font-size: 13px;
}

.mk-site-cluster p {
    margin: 6px 0 0;
    font-size: 12px;
    color:var(--text-secondary);
}

.mk-presence-copy {
    border-radius: 20px;
    border:1px solid var(--stroke-soft);
    padding: 16px;
    background:rgba(15,40,80,0.02);
}

.mk-presence-copy h3 {
    margin: 0;
    font-size: 28px;
}

.mk-presence-copy p {
    margin: 10px 0 16px;
    color:var(--text-secondary);
}

.mk-presence-map-full .mk-presence-matrix {
    margin-top: 12px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-presence-matrix div {
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.14);
    background:rgba(15,40,80,0.03);
    padding: 10px;
}

.mk-presence-matrix h4 {
    margin: 0;
    font-size: 13px;
}

.mk-presence-matrix ul {
    margin: 8px 0 0;
    padding-left: 16px;
    color:var(--text-secondary);
    display: grid;
    gap: 6px;
    font-size: 12px;
}

.mk-game-spotlight {
    border-radius: 22px;
    border:1px solid rgba(34,93,231,0.22);
    padding: clamp(20px, 3vw, 32px);
    background:radial-gradient(circle at top right, rgba(226, 249, 148, 0.12), transparent 52%),
        radial-gradient(circle at bottom left, rgba(2,77,251,0.14), transparent 48%),
        linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.mk-game-spotlight h2 {
    margin: 10px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
}

.mk-game-spotlight p {
    color:var(--text-secondary);
    margin: 12px 0 0;
}

.mk-rule-preview {
    border-radius: 14px;
    border:1px solid rgba(34,93,231,0.28);
    background:rgba(246,248,252,0.8);
    padding: 12px;
    display: grid;
    gap: 8px;
}

.mk-rule-preview header {
    font-size: 12px;
    color:var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mk-rule-preview-large {
    min-height: 260px;
}

.mk-rule-row {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.02);
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
}

.mk-rule-row strong {
    color:#0b1f3a;
}

.mk-panel-showcase {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.mk-panel-showcase article {
    border-radius: 18px;
    border:1px solid var(--stroke-soft);
    background:linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    padding: 18px;
}

.mk-panel-showcase h3 {
    margin: 0;
    font-size: 28px;
}

.mk-panel-showcase p {
    margin: 10px 0 0;
    color:var(--text-secondary);
}

.mk-panel-showcase ul {
    margin: 14px 0 0;
    padding-left: 18px;
    color:#0b1f3a;
    display: grid;
    gap: 8px;
}

.mk-latency-board {
    border-radius: 16px;
    border:1px solid rgba(34,93,231,0.24);
    background:rgba(246,248,252,0.74);
    padding: 12px;
    display: grid;
    gap: 8px;
}

.mk-latency-board h4 {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color:var(--text-muted);
}

.mk-latency-board div {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.13);
    background:rgba(15,40,80,0.03);
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
}

.mk-latency-board strong {
    color:#0b1f3a;
}

.mk-portal-showcase {
    border-radius: 22px;
    border:1px solid var(--stroke-soft);
    padding: clamp(18px, 2.6vw, 32px);
    background:radial-gradient(circle at top left, rgba(2,77,251,0.1), transparent 45%),
        linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
}

.mk-console-stage {
    margin-top: 12px;
    border-radius: 16px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(246,248,252,0.82);
    padding: 12px;
}

.mk-console-top {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.mk-console-top span {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.13);
    background:rgba(15,40,80,0.03);
    text-align: center;
    font-size: 11px;
    padding: 8px;
    color:var(--text-secondary);
}

.mk-console-grid {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mk-console-grid div {
    border-radius: 10px;
    border:1px solid rgba(34,93,231,0.24);
    background:rgba(2,77,251,0.08);
    padding: 10px;
    font-size: 12px;
    color:#0b1f3a;
}

.mk-pricing-preview {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mk-pricing-preview article,
.mk-commercial-triad article {
    border-radius: 16px;
    border:1px solid var(--stroke-soft);
    background:rgba(15,40,80,0.02);
    padding: 14px;
}

.mk-pricing-preview h3,
.mk-commercial-triad h3 {
    margin: 10px 0 8px;
    font-size: 22px;
}

.mk-pricing-preview p,
.mk-commercial-triad p {
    margin: 0;
    color:var(--text-secondary);
}

.mk-pricing-mini-table {
    margin-top: 12px;
    border-radius: 16px;
    border:1px solid var(--stroke-soft);
    background:rgba(15,40,80,0.02);
    overflow: hidden;
}

.mk-pricing-mini-table header {
    padding: 10px 12px;
    border-bottom:1px solid rgba(15,40,80,0.1);
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}

.mk-pricing-mini-table header strong {
    font-size: 13px;
}

.mk-pricing-mini-table header a {
    color:#0b1f3a;
    text-decoration: none;
    font-size: 12px;
}

.mk-pricing-mini-table table {
    width: 100%;
    border-collapse: collapse;
}

.mk-pricing-mini-table td {
    padding: 10px 12px;
    border-bottom:1px solid rgba(15,40,80,0.08);
    font-size: 12px;
}

.mk-pricing-mini-table tr:last-child td {
    border-bottom:0;
}

.mk-commercial-triad {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mk-pricing-layout {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
}

.mk-pricing-table-premium .mk-pricing-table tbody tr.is-popular td {
    background:rgba(34,93,231,0.12);
}

.mk-pricing-sub {
    font-size: 11px;
    color:var(--text-muted);
    margin-top: 4px;
}

.mk-pricing-aside {
    border-radius: 18px;
    border:1px solid var(--stroke-soft);
    background:linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    padding: 14px;
    display: grid;
    gap: 12px;
    align-content: start;
}

.mk-pricing-aside h3 {
    margin: 0;
    font-size: 20px;
}

.mk-pricing-aside ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.mk-pricing-aside li {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
}

.mk-pricing-aside li span {
    color:var(--text-secondary);
}

.mk-pricing-aside li strong {
    color:#0b1f3a;
}

.mk-price-hero {
    border-radius: 26px;
    border:1px solid rgba(34,93,231,0.24);
    background:radial-gradient(circle at top left, rgba(2,77,251,0.2), transparent 42%),
        radial-gradient(circle at bottom right, rgba(94,132,220,0.1), transparent 40%),
        linear-gradient(165deg, rgba(246,248,252,0.96), rgba(255,255,255,0.9));
    padding: clamp(22px, 3.4vw, 38px);
    display: grid;
    gap: 18px;
}

.mk-price-hero h2 {
    margin: 0;
    font-size: clamp(34px, 4.8vw, 52px);
    line-height: 1.06;
}

.mk-price-hero p {
    margin: 0;
    max-width: 78ch;
    color:var(--text-secondary);
    font-size: 15px;
}

.mk-price-hero-strips {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mk-price-hero-strips article {
    border-radius: 14px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 13px;
}

.mk-price-hero-strips h4 {
    margin: 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color:var(--text-muted);
}

.mk-price-hero-strips p {
    margin: 8px 0 0;
    font-size: 14px;
    color:#0b1f3a;
}

.mk-price-section-head {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.mk-price-section-head h2 {
    margin: 0;
    font-size: clamp(27px, 3.2vw, 38px);
    line-height: 1.08;
}

.mk-price-plan-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mk-price-plan-card {
    border-radius: 18px;
    border:1px solid rgba(15,40,80,0.12);
    background:linear-gradient(165deg, rgba(255,255,255,0.94), rgba(255,255,255,0.9));
    padding: 14px;
    display: grid;
    gap: 12px;
    align-content: start;
}

.mk-price-plan-card.is-featured {
    border-color:rgba(34,93,231,0.36);
    background:radial-gradient(circle at top left, rgba(2,77,251,0.2), transparent 42%),
        linear-gradient(165deg, rgba(255,255,255,0.97), rgba(255,255,255,0.94));
    box-shadow:0 10px 36px rgba(2,77,251,0.14);
}

.mk-price-plan-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.mk-price-plan-card h3 {
    margin: 0;
    font-size: 20px;
}

.mk-price-plan-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.mk-price-plan-card li {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 8px 10px;
    display: grid;
    gap: 3px;
}

.mk-price-plan-card li span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color:var(--text-muted);
}

.mk-price-plan-card li strong {
    font-size: 14px;
    color:#0b1f3a;
}

.mk-price-plan-card footer {
    border-top:1px solid rgba(15,40,80,0.11);
    padding-top: 10px;
    font-size: 21px;
    font-weight: 700;
    color:#0b1f3a;
}

.mk-price-policy-grid {
    margin-top: 12px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-price-policy-card {
    border-radius: 18px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.02);
    padding: 15px;
    display: grid;
    gap: 10px;
}

.mk-price-policy-card h3 {
    margin: 0;
    font-size: 23px;
    line-height: 1.12;
}

.mk-price-list {
    margin: 0;
    padding: 0 0 0 18px;
    display: grid;
    gap: 6px;
    color:var(--text-secondary);
    font-size: 14px;
}

.mk-price-addon-grid {
    display: grid;
    gap: 8px;
}

.mk-price-addon-grid div {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 9px 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
}

.mk-price-addon-grid span {
    color:var(--text-secondary);
}

.mk-price-addon-grid strong {
    color:#0b1f3a;
}

.mk-price-transit-layout {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 0.48fr) minmax(0, 1fr);
}

.mk-price-base-card,
.mk-price-commit-card {
    border-radius: 18px;
    border:1px solid rgba(15,40,80,0.12);
    background:linear-gradient(165deg, rgba(255,255,255,0.94), rgba(255,255,255,0.9));
    padding: 15px;
    display: grid;
    gap: 10px;
}

.mk-price-base-card h3,
.mk-price-commit-card h3 {
    margin: 0;
    font-size: 23px;
    line-height: 1.12;
}

.mk-price-base-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.mk-price-base-card li {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
}

.mk-price-base-card li span {
    color:var(--text-secondary);
}

.mk-price-base-card li strong {
    color:#0b1f3a;
}

.mk-price-commit-rows {
    display: grid;
    gap: 8px;
}

.mk-price-commit-rows div {
    border-radius: 12px;
    border:1px solid rgba(34,93,231,0.22);
    background:rgba(2,77,251,0.1);
    padding: 10px 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
}

.mk-price-commit-rows strong {
    font-size: 15px;
}

.mk-price-commit-rows span {
    text-align: right;
    font-size: 13px;
    color:var(--text-secondary);
}

.mk-price-port-grid {
    margin-top: 12px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mk-price-port-grid article {
    border-radius: 14px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 11px 12px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.mk-price-port-grid span {
    color:var(--text-secondary);
}

.mk-price-port-grid strong {
    color:#0b1f3a;
}

.mk-price-setup-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mk-price-setup-grid article {
    border-radius: 14px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 12px;
    display: grid;
    gap: 7px;
}

.mk-price-setup-grid h4 {
    margin: 0;
    font-size: 14px;
    color:var(--text-secondary);
}

.mk-price-setup-grid strong {
    font-size: 24px;
    color:#0b1f3a;
}

.mk-price-note {
    margin-top: 10px;
    border-radius: 12px;
    border:1px solid rgba(255, 200, 87, 0.34);
    background:rgba(255, 200, 87, 0.1);
    color:#0b1f3a;
    padding: 10px 12px;
    font-size: 13px;
}

.mk-price-feature-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-price-feature-grid article {
    border-radius: 18px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.02);
    padding: 15px;
    display: grid;
    gap: 9px;
}

.mk-price-feature-grid h3 {
    margin: 0;
    font-size: 22px;
}

.mk-price-feature-grid ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.mk-price-feature-grid li {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
}

.mk-price-feature-grid li span {
    color:var(--text-secondary);
}

.mk-price-feature-grid li strong {
    color:#0b1f3a;
}

.mk-price-addon-cards {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mk-price-addon-cards article {
    border-radius: 16px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.02);
    padding: 14px;
    display: grid;
    gap: 8px;
}

.mk-price-addon-cards h3 {
    margin: 0;
    font-size: 19px;
}

.mk-price-addon-cards p {
    margin: 0;
    color:var(--text-secondary);
    font-size: 13px;
}

.mk-price-addon-cards strong {
    font-size: 20px;
    color:#0b1f3a;
}

.mk-price-summary {
    border-radius: 20px;
    border:1px solid rgba(34,93,231,0.24);
    background:linear-gradient(165deg, rgba(255,255,255,0.96), rgba(255,255,255,0.92));
    padding: 16px;
    display: grid;
    gap: 12px;
}

.mk-price-summary h2 {
    margin: 0;
    font-size: clamp(29px, 3.4vw, 40px);
    line-height: 1.08;
}

.mk-commercial-notes {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mk-commercial-notes article {
    border-radius: 16px;
    border:1px solid var(--stroke-soft);
    background:rgba(15,40,80,0.02);
    padding: 14px;
}

.mk-commercial-notes h3 {
    margin: 0;
    font-size: 18px;
}

.mk-commercial-notes p {
    margin: 10px 0 0;
    color:var(--text-secondary);
}

.mk-price-stack {
    display: grid;
    gap: 8px;
}

.mk-price-stack div {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.13);
    background:rgba(15,40,80,0.03);
    padding: 10px;
    display: grid;
    gap: 4px;
}

.mk-price-stack span {
    font-size: 11px;
    color:var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.mk-price-stack strong {
    font-size: 14px;
}

.mk-cta-grand h2 {
    max-width: 18ch;
}

.mk-console-wall {
    margin-top: 12px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-ui-shot {
    border-radius: 14px;
    border:1px solid rgba(34,93,231,0.2);
    background:linear-gradient(165deg, rgba(246,248,252,0.86), rgba(246,248,252,0.8));
    padding: 10px;
    display: grid;
    gap: 8px;
}

.mk-ui-shot header {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color:var(--text-muted);
}

.mk-ui-shot-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mk-ui-shot-toolbar span {
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.16);
    background:rgba(15,40,80,0.04);
    padding: 4px 8px;
    font-size: 11px;
    color:var(--text-secondary);
}

.mk-ui-shot-rows {
    display: grid;
    gap: 6px;
}

.mk-ui-shot-rows div {
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 7px 8px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
}

.mk-ui-shot-rows span {
    color:var(--text-secondary);
}

.mk-ui-shot-rows strong {
    color:#0b1f3a;
}

.mk-ui-shot-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    min-height: 82px;
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.1);
    background:linear-gradient(rgba(94,132,220,0.07) 1px, transparent 1px),
        linear-gradient(180deg, rgba(246,248,252,0.32), rgba(246,248,252,0.32));
    background-size: 100% 14px, cover;
    padding: 8px;
}

.mk-bar {
    flex: 1 1 0;
    border-radius: 4px 4px 2px 2px;
    background:linear-gradient(180deg, rgba(34,93,231,0.9), rgba(2,77,251,0.26));
    box-shadow:0 0 10px rgba(34,93,231,0.35);
}

.mk-mitigation-shot {
    display: grid;
    gap: 8px;
}

.mk-mitigation-step {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 8px 10px;
    display: grid;
    gap: 2px;
}

.mk-mitigation-step strong {
    font-size: 12px;
}

.mk-mitigation-step span {
    font-size: 11px;
    color:var(--text-secondary);
}

.mk-rule-builder-stage {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.mk-rule-builder-form {
    border-radius: 18px;
    border:1px solid rgba(34,93,231,0.24);
    background:linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    padding: 14px;
    display: grid;
    gap: 10px;
}

.mk-rule-builder-form > header {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color:var(--text-muted);
}

.mk-builder-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-builder-grid label {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.13);
    background:rgba(15,40,80,0.03);
    padding: 8px;
    font-size: 11px;
    color:var(--text-muted);
    display: grid;
    gap: 4px;
}

.mk-builder-grid label span {
    color:#0b1f3a;
    font-size: 12px;
    font-weight: 600;
}

.mk-rule-builder-form footer {
    border-top:1px solid rgba(15,40,80,0.1);
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.mk-rule-builder-form footer em {
    font-size: 11px;
    color:var(--text-secondary);
    font-style: normal;
}

.mk-rule-builder-form footer button {
    border:0;
    border-radius: 10px;
    min-height: 38px;
    padding: 8px 12px;
    background:var(--gradient-primary);
    color:#032234;
    font-size: 12px;
    font-weight: 700;
}

.mk-presets-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mk-presets-grid article {
    border-radius: 14px;
    border:1px solid var(--stroke-soft);
    background:rgba(15,40,80,0.02);
    padding: 12px;
}

.mk-presets-grid h3 {
    margin: 0;
    font-size: 16px;
}

.mk-presets-grid p {
    margin: 8px 0 0;
    font-size: 12px;
    color:var(--text-secondary);
}

.peeryx-game-panel {
    padding: 16px;
    display: grid;
    gap: 12px;
}

.peeryx-game-stage {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.peeryx-game-stage div {
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.14);
    background:rgba(15,40,80,0.03);
    padding: 10px;
    display: grid;
    gap: 4px;
}

.peeryx-game-stage span {
    color:var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.peeryx-game-stage strong {
    color:#0b1f3a;
    font-size: 13px;
}

.peeryx-game-rows {
    display: grid;
    gap: 8px;
}

.peeryx-game-rows div {
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.13);
    background:rgba(15,40,80,0.03);
    padding: 10px;
    display: grid;
    gap: 6px;
}

.peeryx-game-rows span {
    color:var(--text-secondary);
    font-size: 12px;
}

.peeryx-game-rows strong {
    color:#0b1f3a;
    font-size: 13px;
}

.peeryx-game-rows a {
    color:#0b1f3a;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.peeryx-game-rows a:hover {
    color:#0b1f3a;
}

.peeryx-game-table {
    border-radius: 14px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.02);
    overflow: auto;
}

.peeryx-game-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.peeryx-game-table th,
.peeryx-game-table td {
    padding: 10px 12px;
    border-bottom:1px solid rgba(15,40,80,0.09);
    text-align: left;
    font-size: 12px;
}

.peeryx-game-table th {
    color:var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 11px;
}

.peeryx-game-table tr:last-child td {
    border-bottom:0;
}

.peeryx-game-table td a {
    color:#0b1f3a;
    text-decoration: none;
    font-weight: 600;
}

.peeryx-game-table td a:hover {
    color:#0b1f3a;
}

.peeryx-game-presets {
    display: grid;
    gap: 8px;
}

.peeryx-game-presets article {
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.14);
    background:rgba(15,40,80,0.03);
    padding: 10px;
}

.peeryx-game-presets h4 {
    margin: 0;
    font-size: 14px;
}

.peeryx-game-presets p {
    margin: 6px 0 0;
    color:var(--text-secondary);
    font-size: 12px;
}

.peeryx-builder-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.peeryx-builder-grid label {
    display: grid;
    gap: 6px;
}

.peeryx-builder-grid span {
    color:var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.peeryx-builder-full {
    grid-column: 1 / -1;
}

.peeryx-builder-actions {
    border-top:1px solid rgba(15,40,80,0.1);
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.peeryx-builder-actions span {
    color:var(--text-secondary);
    font-size: 12px;
}

.peeryx-code-block {
    border-radius: 14px;
    border:1px solid rgba(34,93,231,0.26);
    background:rgba(246,248,252,0.8);
    padding: 10px;
}

.peeryx-code-block pre {
    margin: 0;
    white-space: pre-wrap;
    font-size: 12px;
    line-height: 1.55;
    color:#0b1f3a;
}

.peeryx-preset-rules {
    margin: 0;
    padding-left: 16px;
    display: grid;
    gap: 6px;
    color:var(--text-secondary);
    font-size: 12px;
}

.peeryx-rule-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.peeryx-rule-timeline li {
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.13);
    background:rgba(15,40,80,0.03);
    padding: 10px;
    display: grid;
    gap: 4px;
}

.peeryx-rule-timeline strong {
    font-size: 13px;
}

.peeryx-rule-timeline span {
    font-size: 12px;
    color:var(--text-secondary);
}

.peeryx-rule-timeline em {
    font-style: normal;
    font-size: 11px;
    color:var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.mk-cinematic-shell {
    border-radius: 24px;
    border:1px solid rgba(34,93,231,0.22);
    padding: clamp(20px, 3vw, 34px);
    background:radial-gradient(circle at 82% 12%, rgba(2,77,251,0.2), transparent 46%),
        radial-gradient(circle at 12% 88%, rgba(94,132,220,0.14), transparent 42%),
        linear-gradient(165deg, rgba(255,255,255,0.96), rgba(255,255,255,0.94));
    box-shadow:0 30px 54px rgba(15,40,80,0.18);
}

.mk-cinematic-shell h2 {
    margin: 10px 0 0;
    font-size: clamp(32px, 4.2vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.mk-cinematic-shell p {
    margin: 14px 0 0;
    color:var(--text-secondary);
    max-width: 62ch;
}

.mk-cinema-layout {
    margin-top: 18px;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.mk-cinema-copy {
    display: grid;
    gap: 14px;
    align-content: start;
}

.mk-editorial-ribbon {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mk-editorial-ribbon article {
    border-radius: 14px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 12px;
    display: grid;
    gap: 6px;
}

.mk-editorial-ribbon h4 {
    margin: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color:var(--text-muted);
}

.mk-editorial-ribbon p {
    margin: 0;
    color:#0b1f3a;
    font-size: 14px;
    font-weight: 600;
    max-width: none;
}

.mk-cinema-scene {
    border-radius: 18px;
    border:1px solid rgba(34,93,231,0.28);
    background:linear-gradient(rgba(94,132,220,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(94,132,220,0.06) 1px, transparent 1px),
        linear-gradient(165deg, rgba(246,248,252,0.92), rgba(246,248,252,0.88));
    background-size: 26px 26px, 26px 26px, cover;
    padding: 12px;
    display: grid;
    gap: 10px;
}

.mk-cinema-scene header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.mk-cinema-scene header strong {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color:var(--text-muted);
}

.mk-cinema-scene header span {
    border-radius: 999px;
    border:1px solid rgba(57, 217, 138, 0.35);
    background:rgba(57, 217, 138, 0.12);
    color:#0b1f3a;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
}

.mk-scene-metrics {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mk-scene-metrics div {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 8px;
    display: grid;
    gap: 4px;
}

.mk-scene-metrics span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color:var(--text-muted);
}

.mk-scene-metrics strong {
    font-size: 13px;
    color:#0b1f3a;
}

.mk-scene-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-scene-cell {
    border-radius: 10px;
    border:1px solid rgba(34,93,231,0.2);
    background:rgba(2,77,251,0.08);
    padding: 8px;
    display: grid;
    gap: 4px;
}

.mk-scene-cell span {
    color:var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mk-scene-cell strong {
    font-size: 12px;
    color:#0b1f3a;
}

.mk-scene-paths {
    display: grid;
    gap: 6px;
}

.mk-scene-path {
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.02);
    padding: 7px 8px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
}

.mk-scene-path strong {
    color:#0b1f3a;
}

.mk-asymmetric-stage {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.mk-asymmetric-story {
    border-radius: 20px;
    border:1px solid var(--stroke-soft);
    background:radial-gradient(circle at top right, rgba(2,77,251,0.1), transparent 44%),
        linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    padding: clamp(18px, 2.6vw, 30px);
}

.mk-asymmetric-story h3 {
    margin: 10px 0 0;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.08;
}

.mk-asymmetric-story p {
    margin: 12px 0 0;
    color:var(--text-secondary);
    line-height: 1.75;
}

.mk-service-rail {
    margin-top: 16px;
    display: grid;
    gap: 8px;
}

.mk-service-rail div {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 9px 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
}

.mk-service-rail strong {
    color:#0b1f3a;
}

.mk-mock-stack {
    display: grid;
    gap: 10px;
}

.mk-mock-card {
    border-radius: 16px;
    border:1px solid rgba(34,93,231,0.22);
    background:linear-gradient(165deg, rgba(246,248,252,0.9), rgba(255,255,255,0.86));
    padding: 10px;
    display: grid;
    gap: 8px;
}

.mk-mock-card.large {
    min-height: 176px;
}

.mk-mock-header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}

.mk-mock-header strong {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color:var(--text-muted);
}

.mk-mock-header span {
    font-size: 11px;
    color:#0b1f3a;
}

.mk-mock-chart {
    min-height: 86px;
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.1);
    background:linear-gradient(rgba(94,132,220,0.07) 1px, transparent 1px),
        linear-gradient(180deg, rgba(246,248,252,0.28), rgba(246,248,252,0.28));
    background-size: 100% 16px, cover;
    padding: 8px;
    display: flex;
    gap: 6px;
    align-items: flex-end;
}

.mk-mock-chart i {
    flex: 1 1 0;
    border-radius: 4px 4px 2px 2px;
    background:linear-gradient(180deg, rgba(34,93,231,0.94), rgba(2,77,251,0.26));
    box-shadow:0 0 8px rgba(34,93,231,0.32);
}

.mk-mock-list {
    display: grid;
    gap: 6px;
}

.mk-mock-list div {
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 7px 8px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
}

.mk-mock-list strong {
    color:#0b1f3a;
}

.mk-network-mesh {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
}

.mk-mesh-visual,
.mk-mesh-legend {
    border-radius: 20px;
    border:1px solid rgba(34,93,231,0.18);
    background:radial-gradient(circle at top right, rgba(2,77,251,0.12), transparent 44%),
        linear-gradient(165deg, rgba(255,255,255,0.94), rgba(255,255,255,0.9));
    box-shadow:0 18px 34px rgba(15,40,80,0.18);
    padding: 14px;
    display: grid;
    gap: 12px;
}

.mk-mesh-visual header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.mk-mesh-visual header strong {
    font-size: 18px;
}

.mk-mesh-visual header span {
    font-size: 12px;
    color:var(--text-muted);
}

.mk-mesh-legend h3 {
    margin: 0;
    font-size: 20px;
}

.mk-mesh-legend p {
    margin: 0;
    color:var(--text-secondary);
    font-size: 13px;
}

.mk-mesh-point h4 {
    margin: 0;
    font-size: 14px;
}

.mk-mesh-point p {
    margin: 0;
    font-size: 12px;
    color:var(--text-secondary);
}

.peeryx-world-map {
    width: 100%;
    min-height: 520px;
    border-radius: 16px;
    border:1px solid rgba(34,93,231,0.24);
    overflow: hidden;
    box-shadow:inset 0 0 0 1px rgba(15,40,80,0.04), 0 14px 28px rgba(15,40,80,0.18);
}

.peeryx-world-map .leaflet-control-attribution,
.peeryx-world-map .leaflet-control-zoom a {
    background:rgba(246,248,252,0.86);
    color:var(--text-secondary);
    border-color:rgba(15,40,80,0.14);
}

.peeryx-map-legend {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color:var(--text-secondary);
}

.peeryx-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.14);
    background:rgba(15,40,80,0.03);
}

.peeryx-map-legend .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.peeryx-map-legend .dot-dc {
    background:#024dfb;
    box-shadow:0 0 10px rgba(2,77,251,0.8);
}

.peeryx-map-legend .dot-remote {
    background:#a4ebb0;
    box-shadow:0 0 10px rgba(164, 235, 176, 0.8);
}

.peeryx-map-legend .line {
    width: 18px;
    height: 2px;
    display: inline-block;
    border-radius: 999px;
}

.peeryx-map-legend .line-physical {
    background:#024dfb;
}

.peeryx-map-legend .line-tunnel {
    background:repeating-linear-gradient(
        90deg,
        #a4ebb0 0 6px,
        transparent 6px 10px
    );
}

.mk-mesh-map {
    border-radius: 20px;
    border:1px solid rgba(34,93,231,0.22);
    background:linear-gradient(rgba(94,132,220,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(94,132,220,0.08) 1px, transparent 1px),
        linear-gradient(165deg, rgba(246,248,252,0.92), rgba(255,255,255,0.88));
    background-size: 32px 32px, 32px 32px, cover;
    padding: 14px;
    position: relative;
    overflow: hidden;
}

.mk-mesh-map::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -120px;
    bottom: -140px;
    border-radius: 999px;
    background:radial-gradient(circle, rgba(2,77,251,0.24), rgba(2,77,251,0));
    pointer-events: none;
}

.mk-mesh-points {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mk-mesh-point {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 8px;
    display: grid;
    gap: 4px;
}

.mk-mesh-point span {
    color:var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mk-mesh-point strong {
    color:#0b1f3a;
    font-size: 12px;
}

.mk-mesh-links {
    margin-top: 10px;
    display: grid;
    gap: 6px;
}

.mk-mesh-links div {
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.13);
    background:rgba(15,40,80,0.03);
    padding: 7px 8px;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.mk-mesh-links strong {
    color:#0b1f3a;
}

.mk-dc-rail {
    border-radius: 20px;
    border:1px solid var(--stroke-soft);
    background:linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    padding: 14px;
    display: grid;
    gap: 10px;
}

.mk-dc-group {
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 10px;
}

.mk-dc-group h4 {
    margin: 0;
    font-size: 13px;
}

.mk-dc-group p {
    margin: 6px 0 0;
    color:var(--text-secondary);
    font-size: 12px;
}

.mk-conversion-band {
    border-radius: 24px;
    border:1px solid rgba(34,93,231,0.24);
    padding: clamp(20px, 3vw, 34px);
    background:radial-gradient(circle at 86% 16%, rgba(2,77,251,0.18), transparent 44%),
        linear-gradient(165deg, rgba(255,255,255,0.96), rgba(255,255,255,0.94));
}

.mk-conversion-band h2 {
    margin: 8px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.06;
}

.mk-conversion-band p {
    margin: 12px 0 0;
    color:var(--text-secondary);
    max-width: 62ch;
}

.mk-conversion-band .mk-actions {
    margin-top: 16px;
}

.mk-faq-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-faq-grid details {
    border-radius: 14px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 12px;
}

.mk-faq-grid summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color:#0b1f3a;
}

.mk-faq-grid p {
    margin: 10px 0 0;
    color:var(--text-secondary);
    font-size: 13px;
}

.peeryx-topbar-console {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 0;
}

.peeryx-topbar-console-minimal {
    padding-inline-end: 4px;
}

.peeryx-topbar-console-empty {
    display: none;
}

.peeryx-topbar-tenant-switch {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.peeryx-topbar-tenant-switch select {
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.16);
    background:rgba(15,40,80,0.04);
    color:var(--text-primary);
    padding: 6px 30px 6px 10px;
    font-size: 11px;
    min-height: 32px;
}

.peeryx-topbar-tenant-switch select:focus {
    outline:none;
    border-color:rgba(34,93,231,0.35);
    box-shadow:0 0 0 3px rgba(2,77,251,0.18);
}

.peeryx-topbar-chip {
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.14);
    background:rgba(15,40,80,0.03);
    color:var(--text-secondary);
    padding: 6px 9px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.peeryx-topbar-chip strong {
    color:#0b1f3a;
    font-weight: 600;
}

.peeryx-topbar-chip.success {
    border-color:rgba(57, 217, 138, 0.34);
    color:#0b1f3a;
    background:rgba(57, 217, 138, 0.12);
}

.peeryx-topbar-chip.warning {
    border-color:rgba(255, 200, 87, 0.34);
    color:#0b1f3a;
    background:rgba(255, 200, 87, 0.12);
}

.peeryx-topbar-chip-link {
    text-decoration: none;
}

@media (max-width: 1480px) {
    .peeryx-topbar-console .peeryx-topbar-chip-link {
        display: none;
    }
}

.peeryx-topbar-chip-context {
    color:#0b1f3a;
    border-color:rgba(34,93,231,0.3);
    background:rgba(2,77,251,0.1);
}

.peeryx-topbar-console-admin .peeryx-topbar-chip-context {
    color:#0b1f3a;
    border-color:rgba(226, 249, 148, 0.36);
    background:rgba(226, 249, 148, 0.1);
}

.peeryx-topbar-console-client .peeryx-topbar-chip-context {
    color:#0b1f3a;
    border-color:rgba(34,93,231,0.35);
    background:rgba(34,93,231,0.11);
}

.peeryx-topbar-console-admin .peeryx-topbar-chip-context strong {
    color:#0b1f3a;
}

.peeryx-topbar-console-client .peeryx-topbar-chip-context strong {
    color:#0b1f3a;
}

.peeryx-topbar-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    margin-inline-start: 8px;
    flex-shrink: 0;
}

.peeryx-topbar-links a {
    text-decoration: none;
}

.peeryx-topbar-user-actions {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.peeryx-topbar-menu {
    position: relative;
}

.peeryx-topbar-menu summary {
    list-style: none;
}

.peeryx-topbar-menu summary::-webkit-details-marker {
    display: none;
}

.peeryx-topbar-icon-btn {
    border:1px solid rgba(34,93,231,0.38);
    background:linear-gradient(165deg, rgba(255,255,255,0.9), rgba(255,255,255,0.92));
    color:#0b1f3a;
    border-radius: 11px;
    min-height: 38px;
    min-width: 38px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    box-shadow:inset 0 0 0 1px rgba(15,40,80,0.04), 0 10px 20px rgba(2,77,251,0.15);
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.peeryx-topbar-icon-btn:hover,
.peeryx-topbar-menu[open] .peeryx-topbar-icon-btn {
    border-color:rgba(34,93,231,0.6);
    background:linear-gradient(165deg, rgba(255,255,255,0.98), rgba(255,255,255,0.94));
    color:#0b1f3a;
    box-shadow:inset 0 0 0 1px rgba(94,132,220,0.2), 0 14px 24px rgba(2,77,251,0.22);
    transform: translateY(-1px);
}

.peeryx-topbar-icon-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.peeryx-topbar-icon-btn:focus-visible {
    outline:none;
    border-color:rgba(94,132,220,0.8);
    box-shadow:0 0 0 3px rgba(34,93,231,0.26), inset 0 0 0 1px rgba(94,132,220,0.2);
}

.peeryx-topbar-count {
    border-radius: 999px;
    min-width: 18px;
    min-height: 18px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color:#0b1f3a;
    border:1px solid rgba(34,93,231,0.34);
    background:rgba(2,77,251,0.24);
}

.peeryx-topbar-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    padding: 10px;
    border-radius: 14px;
    border:1px solid rgba(15,40,80,0.13);
    background:linear-gradient(165deg, rgba(255,255,255,0.98), rgba(255,255,255,0.96));
    box-shadow:0 18px 42px rgba(15,40,80,0.18);
    z-index: 180;
    backdrop-filter: blur(10px);
}

.peeryx-topbar-menu-panel-notifications {
    width: 320px;
}

.peeryx-topbar-icon-btn-wallet {
    gap: 7px;
    padding-inline: 9px;
}

.peeryx-topbar-icon-btn-locale {
    gap: 8px;
    padding-inline: 10px;
}

.peeryx-topbar-locale-current-flag,
.peeryx-topbar-locale-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.04);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color:#0b1f3a;
}

.peeryx-topbar-locale-current-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color:#0b1f3a;
}

.peeryx-topbar-menu-panel-locale {
    width: 220px;
}

.peeryx-topbar-locale-form {
    margin: 0;
}

.peeryx-topbar-locale-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.peeryx-topbar-locale-link-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.peeryx-topbar-locale-link.is-active {
    border-color:rgba(34,93,231,0.32);
    background:rgba(2,77,251,0.14);
}

.peeryx-topbar-locale-check {
    font-size: 12px;
    font-weight: 800;
    color:#9bf0c5;
}

.peeryx-topbar-wallet-pill {
    border-radius: 999px;
    border:1px solid rgba(34,93,231,0.32);
    background:rgba(2,77,251,0.18);
    color:#0b1f3a;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 7px;
}

.peeryx-topbar-wallet-panel {
    width: 332px;
    display: grid;
    gap: 8px;
}

.peeryx-topbar-wallet-balance {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.peeryx-topbar-wallet-balance strong {
    font-size: 19px;
    line-height: 1.1;
    color:#0b1f3a;
}

.peeryx-topbar-wallet-balance small {
    color:var(--text-secondary);
    font-size: 12px;
}

.peeryx-topbar-wallet-rate {
    margin: 0;
    font-size: 11px;
    color:var(--text-muted);
}

.peeryx-topbar-wallet-notice,
.peeryx-topbar-wallet-error {
    margin: 0;
    padding: 7px 9px;
    border-radius: 9px;
    font-size: 12px;
}

.peeryx-topbar-wallet-notice {
    border:1px solid rgba(57, 217, 138, 0.3);
    background:rgba(57, 217, 138, 0.12);
    color:#0b1f3a;
}

.peeryx-topbar-wallet-error {
    border:1px solid rgba(255, 93, 115, 0.34);
    background:rgba(255, 93, 115, 0.14);
    color:#0b1f3a;
}

.peeryx-topbar-wallet-form {
    display: grid;
    gap: 7px;
}

.peeryx-topbar-wallet-form label {
    font-size: 11px;
    color:var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.peeryx-topbar-wallet-form-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.peeryx-topbar-wallet-input {
    min-height: 34px !important;
    padding: 8px 10px !important;
    font-size: 13px;
}

.peeryx-topbar-wallet-submit {
    border:1px solid rgba(34,93,231,0.34);
    border-radius: 10px;
    background:rgba(2,77,251,0.2);
    color:#0b1f3a;
    font-size: 12px;
    font-weight: 700;
    min-height: 34px;
    padding: 0 10px;
    cursor: pointer;
}

.peeryx-topbar-wallet-submit:hover {
    border-color:rgba(34,93,231,0.58);
    background:rgba(2,77,251,0.28);
}

.peeryx-topbar-wallet-note {
    color:var(--text-muted);
    font-size: 11px;
}

.peeryx-topbar-menu-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color:var(--text-muted);
    margin: 0 0 8px;
    padding: 0 2px;
}

.peeryx-topbar-menu-link {
    display: grid;
    gap: 2px;
    border-radius: 10px;
    border:1px solid transparent;
    background:rgba(15,40,80,0.03);
    text-decoration: none;
    color:#0b1f3a;
    font-size: 12px;
    padding: 8px 9px;
    margin-bottom: 6px;
}

.peeryx-topbar-menu-link small {
    color:var(--text-muted);
    font-size: 11px;
}

.peeryx-topbar-menu-link:hover {
    border-color:rgba(34,93,231,0.28);
    background:rgba(2,77,251,0.12);
}

.peeryx-topbar-menu-empty {
    margin: 0;
    padding: 8px 9px;
    border-radius: 10px;
    font-size: 12px;
    color:var(--text-muted);
    background:rgba(15,40,80,0.03);
}

.peeryx-topbar-menu-footer-link {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
    text-decoration: none;
    border-radius: 10px;
    border:1px solid rgba(34,93,231,0.24);
    background:rgba(2,77,251,0.1);
    color:#0b1f3a;
    min-height: 34px;
    font-size: 12px;
    font-weight: 600;
}

.peeryx-topbar-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    border-radius: 999px;
    border:1px solid rgba(34,93,231,0.3);
    text-decoration: none;
    padding: 0 13px 0 10px;
    color:#0b1f3a;
    background:linear-gradient(160deg, rgba(255,255,255,0.9), rgba(255,255,255,0.86));
    font-size: 11.5px;
    box-shadow:inset 0 0 0 1px rgba(15,40,80,0.04);
    white-space: nowrap;
}

.peeryx-topbar-status .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background:currentColor;
    box-shadow:0 0 10px currentColor;
}

.peeryx-topbar-status-operational {
    color:#84f0bc;
    border-color:rgba(57, 217, 138, 0.34);
    background:rgba(57, 217, 138, 0.11);
}

.peeryx-topbar-status-degraded {
    color:#0b1f3a;
    border-color:rgba(255, 200, 87, 0.34);
    background:rgba(255, 200, 87, 0.12);
}

.peeryx-topbar-status-incident {
    color:#0b1f3a;
    border-color:rgba(255, 93, 115, 0.34);
    background:rgba(255, 93, 115, 0.13);
}

.peeryx-user-menu-section-title {
    padding: 4px 10px 2px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color:var(--text-muted);
    font-weight: 600;
}

.peeryx-user-menu-identity {
    margin: 2px 0 5px;
    padding: 6px 8px;
    border-radius: 11px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    display: grid;
    gap: 1px;
}

.peeryx-user-menu-identity strong {
    color:#0b1f3a;
    font-size: 11px;
    font-weight: 600;
}

.peeryx-user-menu-identity span {
    color:var(--text-muted);
    font-size: 10px;
}

.peeryx-user-menu-locale-form,
.peeryx-user-menu-logout-form {
    margin: 0;
}

.peeryx-user-menu-locale-btn,
.peeryx-user-menu-logout-btn {
    width: 100%;
    border:0;
    background:transparent;
    cursor: pointer;
}

.peeryx-user-menu-locale-btn {
    justify-content: flex-start;
}

.peeryx-user-menu-locale-flag {
    min-width: 18px;
    text-align: center;
    margin-right: 2px;
}

.peeryx-user-menu-check {
    margin-left: auto;
    color:#9bf8cc;
    font-weight: 700;
}

.peeryx-user-menu-locale-btn.is-active {
    border:1px solid rgba(34,93,231,0.32) !important;
    background:rgba(2,77,251,0.13) !important;
}

.peeryx-brand-signal {
    margin-top: 10px;
    display: grid;
    gap: 6px;
}

.peeryx-brand-signal div {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.13);
    background:rgba(15,40,80,0.03);
    padding: 7px 8px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
    color:var(--text-secondary);
}

.peeryx-brand-signal strong {
    color:#0b1f3a;
}

.peeryx-wizard-panel {
    padding: 16px;
    display: grid;
    gap: 12px;
    align-content: start;
}

.peeryx-stepper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: thin;
}

.peeryx-stepper span {
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.14);
    background:rgba(15,40,80,0.03);
    padding: 6px 10px;
    font-size: 12px;
    color:var(--text-secondary);
    white-space: nowrap;
}

.peeryx-stepper span.active {
    border-color:rgba(34,93,231,0.34);
    background:rgba(2,77,251,0.14);
    color:#0b1f3a;
}

.peeryx-wizard-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.peeryx-wizard-grid label {
    display: grid;
    gap: 6px;
    align-content: start;
}

.peeryx-wizard-grid span {
    color:var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.peeryx-wizard-full {
    grid-column: 1 / -1;
}

.peeryx-wizard-preview {
    border-radius: 14px;
    border:1px solid rgba(34,93,231,0.24);
    background:rgba(246,248,252,0.8);
    padding: 10px;
    display: grid;
    gap: 8px;
}

.peeryx-wizard-preview h4 {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color:var(--text-muted);
}

.peeryx-wizard-preview div {
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 8px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: flex-start;
    min-height: 36px;
}

.peeryx-wizard-preview span {
    max-width: 42%;
    overflow-wrap: anywhere;
}

.peeryx-wizard-preview strong {
    color:#0b1f3a;
    text-align: right;
    max-width: 58%;
    overflow-wrap: anywhere;
}

.peeryx-inline-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.peeryx-admin-table-wrap {
    border-radius: 14px;
    border:1px solid rgba(15,40,80,0.13);
    background:linear-gradient(180deg, rgba(15,40,80,0.02), rgba(15,40,80,0)),
        rgba(15,40,80,0.014);
    overflow: auto;
}

.peeryx-admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.peeryx-admin-table.peeryx-admin-table-sm {
    min-width: 640px;
}

.peeryx-admin-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    text-align: left;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color:var(--text-muted);
    border-bottom:1px solid rgba(15,40,80,0.14);
    background:linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.95));
}

.peeryx-admin-table tbody td {
    padding: 10px 12px;
    font-size: 13px;
    color:var(--text-secondary);
    border-bottom:1px solid rgba(15,40,80,0.1);
    vertical-align: top;
}

.peeryx-admin-table tbody th {
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color:var(--text-muted);
    border-bottom:1px solid rgba(15,40,80,0.1);
    vertical-align: top;
    width: 36%;
    min-width: 160px;
    background:rgba(15,40,80,0.012);
}

.peeryx-admin-table tbody tr:hover td {
    background:rgba(2,77,251,0.06);
}

.peeryx-admin-table tbody tr:hover th {
    background:rgba(2,77,251,0.06);
}

.peeryx-admin-table tbody tr:last-child td {
    border-bottom:0;
}

.peeryx-admin-table tbody tr:last-child th {
    border-bottom:0;
}

.peeryx-admin-table td strong {
    color:#0b1f3a;
    font-weight: 650;
}

.peeryx-table-muted {
    color:var(--text-muted);
    font-size: 11px;
}

.peeryx-admin-table .status-cell {
    text-align: right;
    white-space: nowrap;
}

.peeryx-form-hint {
    font-size: 12px;
    color:var(--text-secondary);
}

.peeryx-form-hint-warning {
    border-radius: 10px;
    border:1px solid rgba(255, 200, 87, 0.32);
    background:rgba(255, 200, 87, 0.1);
    color:#0b1f3a;
    padding: 8px 10px;
}

.peeryx-flow-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.peeryx-flow-list li {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.13);
    background:rgba(15,40,80,0.03);
    padding: 8px 10px;
    display: grid;
    gap: 3px;
}

.peeryx-flow-list strong {
    font-size: 13px;
}

.peeryx-flow-list span {
    font-size: 12px;
    color:var(--text-secondary);
}

.pc-wrap {
    border:1px solid rgba(34,93,231,0.2);
    border-radius: 22px;
    background:radial-gradient(circle at top right, rgba(2,77,251,0.12), transparent 42%),
        linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.92));
    padding: clamp(16px, 2.4vw, 26px);
    box-shadow:0 24px 46px rgba(15,40,80,0.18);
}

.pc-wrap-client {
    border-color:rgba(15,40,80,0.12);
    background:radial-gradient(circle at top right, rgba(2,77,251,0.1), transparent 44%),
        linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.92));
}

.pc-layout {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.pc-left {
    display: grid;
    gap: 14px;
}

.pc-panel {
    border-radius: 18px;
    border:1px solid var(--stroke-soft);
    background:linear-gradient(180deg, rgba(15,40,80,0.02), rgba(15,40,80,0)),
        linear-gradient(165deg, rgba(255,255,255,0.9), rgba(255,255,255,0.86));
    padding: 14px;
    display: grid;
    gap: 12px;
}

.pc-panel-head h3 {
    margin: 0;
    font-size: 20px;
}

.pc-panel-head p {
    margin: 6px 0 0;
    color:var(--text-secondary);
    font-size: 13px;
}

.pc-tab-switch {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pc-tab-btn {
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.16);
    background:rgba(15,40,80,0.03);
    color:var(--text-secondary);
    min-height: 40px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.pc-tab-btn:hover {
    border-color:rgba(34,93,231,0.26);
    color:#0b1f3a;
}

.pc-tab-btn.is-active {
    border-color:rgba(34,93,231,0.42);
    background:rgba(2,77,251,0.18);
    color:#0b1f3a;
}

.pc-tab-panel {
    display: none;
}

.pc-tab-panel.is-active {
    display: grid;
}

.pc-slider-block {
    display: grid;
    gap: 10px;
}

.pc-range-wrap {
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.16);
    background:rgba(15,40,80,0.02);
    padding: 8px 12px;
}

.pc-range-wrap input[type="range"] {
    width: 100%;
    accent-color: var(--primary);
}

.pc-scale {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
}

.pc-scale-btn {
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.14);
    background:rgba(15,40,80,0.02);
    color:var(--text-secondary);
    min-height: 34px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.pc-scale-btn:hover {
    border-color:rgba(34,93,231,0.3);
    color:#0b1f3a;
}

.pc-scale-btn.is-active {
    border-color:rgba(34,93,231,0.42);
    background:rgba(2,77,251,0.18);
    color:#0b1f3a;
}

.pc-plan-preview {
    border-radius: 14px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 12px;
    display: grid;
    gap: 10px;
}

.pc-plan-title {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}

.pc-plan-title h4 {
    margin: 0;
    font-size: 20px;
}

.pc-plan-specs {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pc-plan-specs article {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.02);
    padding: 8px;
    display: grid;
    gap: 4px;
}

.pc-plan-specs span {
    font-size: 11px;
    color:var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pc-plan-specs strong {
    font-size: 13px;
    color:#0b1f3a;
}

.pc-price-line {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    border-top:1px solid rgba(15,40,80,0.1);
    padding-top: 8px;
    font-size: 13px;
    color:var(--text-secondary);
}

.pc-price-line strong {
    color:#0b1f3a;
    font-size: 15px;
}

.pc-toggle-grid {
    display: grid;
    gap: 10px;
}

.pc-toggle-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 10px;
}

.pc-toggle-card input[type="checkbox"] {
    inline-size: 18px;
    block-size: 18px;
    accent-color: var(--primary);
}

.pc-toggle-card input[type="radio"] {
    inline-size: 18px;
    block-size: 18px;
    accent-color: var(--primary);
    margin-top: 2px;
}

.pc-toggle-card:has(input:checked) {
    border-color:rgba(34,93,231,0.36);
    background:linear-gradient(135deg, rgba(2,77,251,0.12), rgba(34,93,231,0.06));
    box-shadow:inset 0 0 0 1px rgba(2,77,251,0.18);
}

.pc-toggle-copy {
    display: grid;
    gap: 2px;
}

.pc-toggle-copy strong {
    font-size: 14px;
    color:#0b1f3a;
}

.pc-toggle-copy small {
    color:var(--text-secondary);
    font-size: 12px;
}

.pc-toggle-card-wide {
    align-items: flex-start;
}

.pc-transit-cards {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pc-transit-cards article {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 8px;
    display: grid;
    gap: 4px;
}

.pc-transit-cards span {
    font-size: 11px;
    color:var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pc-transit-cards strong {
    color:#0b1f3a;
    font-size: 14px;
}

.pc-chip-row {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.pc-chip-btn {
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.14);
    background:rgba(15,40,80,0.03);
    color:var(--text-secondary);
    padding: 10px;
    display: grid;
    gap: 4px;
    text-align: left;
    cursor: pointer;
    transition: all 0.18s ease;
}

.pc-chip-btn strong {
    color:#0b1f3a;
    font-size: 13px;
}

.pc-chip-btn span {
    font-size: 11px;
    color:var(--text-secondary);
}

.pc-chip-btn:hover {
    border-color:rgba(34,93,231,0.26);
}

.pc-chip-btn.is-active {
    border-color:rgba(34,93,231,0.42);
    background:rgba(2,77,251,0.16);
}

.pc-dc-preview {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pc-dc-preview article {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.02);
    padding: 8px;
    display: grid;
    gap: 4px;
}

.pc-dc-preview span {
    font-size: 11px;
    color:var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.pc-dc-preview strong {
    color:#0b1f3a;
    font-size: 13px;
}

.pc-select {
    display: grid;
    gap: 6px;
}

.pc-select span {
    font-size: 12px;
    color:var(--text-secondary);
}

.pc-select select {
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.14);
    background:rgba(246,248,252,0.9);
    color:var(--text-primary);
    min-height: 40px;
    padding: 8px 10px;
}

.pc-input {
    display: grid;
    gap: 6px;
}

.pc-input span {
    font-size: 12px;
    color:var(--text-secondary);
}

.pc-input input,
.pc-input textarea {
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.14);
    background:rgba(246,248,252,0.9);
    color:var(--text-primary);
    min-height: 40px;
    padding: 8px 10px;
}

.pc-input textarea {
    min-height: 96px;
    resize: vertical;
}

.pc-message {
    border-radius: 12px;
    border:1px solid rgba(34,93,231,0.28);
    background:rgba(2,77,251,0.1);
    padding: 10px;
}

.pc-message-warning {
    border-color:rgba(255, 199, 87, 0.36);
    background:rgba(255, 199, 87, 0.12);
}

.pc-message strong {
    color:#0b1f3a;
    font-size: 13px;
}

.pc-message p {
    margin: 4px 0 0;
    color:var(--text-secondary);
    font-size: 12px;
}

.peeryx-stepbar {
    display: grid;
    gap: 8px;
}

.peeryx-stepbar-item {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.02);
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.peeryx-stepbar-item span {
    font-size: 12px;
    color:var(--text-secondary);
}

.peeryx-world-map-compact {
    min-height: 320px;
}

.pc-game-details {
    border-radius: 12px;
    border:1px solid rgba(57, 217, 138, 0.3);
    background:rgba(57, 217, 138, 0.1);
    padding: 10px;
}

.pc-summary {
    position: sticky;
    top: 92px;
    align-self: start;
    border-radius: 18px;
    border:1px solid rgba(34,93,231,0.26);
    background:radial-gradient(circle at top right, rgba(2,77,251,0.14), transparent 45%),
        linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.92));
    padding: 14px;
    display: grid;
    gap: 12px;
}

.pc-summary-head h3 {
    margin: 0;
    font-size: 22px;
}

.pc-summary-lines {
    display: grid;
    gap: 8px;
}

.pc-summary-lines div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    border-bottom:1px solid rgba(15,40,80,0.1);
    padding-bottom: 8px;
    font-size: 12px;
}

.pc-summary-lines span {
    color:var(--text-muted);
}

.pc-summary-lines strong {
    color:#0b1f3a;
    text-align: right;
}

.pc-summary-addon {
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 10px;
    display: grid;
    gap: 6px;
}

.pc-summary-addon h4 {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color:var(--text-muted);
}

.pc-summary-addon div {
    font-size: 13px;
    color:#0b1f3a;
}

.pc-summary-items {
    display: grid;
    gap: 8px;
}

.pc-summary-item {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    font-size: 12px;
}

.pc-summary-item span {
    color:var(--text-secondary);
}

.pc-summary-item strong {
    color:#0b1f3a;
    text-align: right;
}

.pc-total {
    border-radius: 14px;
    border:1px solid rgba(34,93,231,0.34);
    background:rgba(2,77,251,0.14);
    padding: 10px;
    display: grid;
    gap: 4px;
}

.pc-total span {
    font-size: 11px;
    color:#0b1f3a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pc-total strong {
    font-size: 24px;
    line-height: 1.1;
    color:#0b1f3a;
}

.pc-summary-actions {
    display: grid;
    gap: 8px;
}

.pc-value {
    transition: color 0.18s ease, text-shadow 0.18s ease;
}

.pc-value.pc-flash {
    color:#0b1f3a;
    text-shadow:0 0 14px rgba(34,93,231,0.42);
}

.pc-wizard-shell {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1.75fr) minmax(320px, 1fr);
    align-items: start;
}

.pc-wizard-main {
    border-radius: 20px;
    border:1px solid rgba(2,77,251,0.24);
    background:radial-gradient(circle at top right, rgba(2,77,251,0.14), transparent 48%),
        linear-gradient(180deg, rgba(15,40,80,0.03), rgba(15,40,80,0)),
        linear-gradient(165deg, rgba(246,248,252,0.96), rgba(255,255,255,0.94));
    padding: 16px;
    display: grid;
    gap: 12px;
}

.pc-wizard-context {
    border-radius: 14px;
    border:1px solid rgba(34,93,231,0.24);
    background:linear-gradient(180deg, rgba(34,93,231,0.1), rgba(34,93,231,0.04)),
        rgba(246,248,252,0.78);
    padding: 10px 12px;
    display: grid;
    gap: 10px;
}

.pc-wizard-context-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.pc-wizard-context-item {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 7px 9px;
    display: grid;
    gap: 4px;
}

.pc-wizard-context-item span {
    font-size: 11px;
    color:var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.pc-wizard-context-item strong {
    font-size: 13px;
    color:#0b1f3a;
    line-height: 1.35;
}

.pc-stepper {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.1);
    background:rgba(15,40,80,0.02);
    padding: 8px;
}

.pc-stepper span {
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.14);
    background:rgba(15,40,80,0.03);
    color:var(--text-secondary);
    font-size: 11px;
    padding: 6px 9px;
    letter-spacing: 0.03em;
}

.pc-stepper span.is-complete {
    border-color:rgba(57, 217, 138, 0.36);
    background:rgba(57, 217, 138, 0.1);
    color:#0b1f3a;
}

.pc-stepper span.is-active {
    border-color:rgba(34,93,231,0.52);
    background:rgba(2,77,251,0.2);
    color:#0b1f3a;
    box-shadow:inset 0 0 0 1px rgba(34,93,231,0.28);
}

.pc-wizard-panel {
    border-radius: 14px;
    border:1px solid rgba(15,40,80,0.13);
    background:linear-gradient(180deg, rgba(15,40,80,0.028), rgba(15,40,80,0)),
        rgba(15,40,80,0.014);
    padding: 12px;
    display: grid;
    gap: 10px;
}

.pc-wizard-panel h3 {
    margin: 0;
    font-size: 17px;
    letter-spacing: 0.01em;
}

.pc-wizard-panel p {
    margin: 0;
    color:var(--text-secondary);
    font-size: 12px;
    line-height: 1.62;
}

.pc-wizard-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pc-wizard-grid label {
    display: grid;
    gap: 6px;
    align-content: start;
}

.pc-wizard-grid span {
    color:var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pc-wizard-full {
    grid-column: 1 / -1;
}

.pc-section-stack {
    display: grid;
    gap: 10px;
}

.pc-choice-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pc-choice-card {
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.13);
    background:rgba(15,40,80,0.03);
    padding: 11px;
    display: grid;
    gap: 6px;
}

.pc-choice-card strong {
    font-size: 13px;
    color:#0b1f3a;
}

.pc-choice-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.pc-status-pill {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.pc-status-pill-success {
    border:1px solid rgba(164, 235, 176, 0.45);
    color:#a4ebb0;
    background:rgba(164, 235, 176, 0.12);
}

.pc-choice-card p {
    font-size: 12px;
    color:var(--text-secondary);
    margin: 0;
    line-height: 1.55;
}

.pc-choice-action {
    margin-top: 6px;
    justify-self: start;
}

.pc-choice-card ul {
    margin: 0;
    padding-left: 16px;
    display: grid;
    gap: 5px;
    color:var(--text-secondary);
    font-size: 12px;
}

.pc-info-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pc-info-card {
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.03);
    padding: 9px;
    display: grid;
    gap: 5px;
}

.pc-info-card span {
    font-size: 11px;
    color:var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pc-info-card strong {
    font-size: 13px;
    color:#0b1f3a;
}

.pc-info-card p {
    margin: 0;
    font-size: 12px;
    color:var(--text-secondary);
    line-height: 1.52;
}

.pc-summary-chip {
    border-radius: 999px;
    border:1px solid rgba(34,93,231,0.3);
    background:rgba(2,77,251,0.12);
    color:#0b1f3a;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 8px;
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.pc-wizard-aside {
    display: grid;
    gap: 12px;
    align-content: start;
    position: sticky;
    top: 84px;
    height: fit-content;
}

.pc-wizard-aside-card {
    border-radius: 14px;
    border:1px solid rgba(34,93,231,0.22);
    background:radial-gradient(circle at top right, rgba(2,77,251,0.12), transparent 42%),
        linear-gradient(165deg, rgba(255,255,255,0.94), rgba(255,255,255,0.9));
    padding: 13px;
    display: grid;
    gap: 8px;
}

.pc-wizard-aside-card h3 {
    margin: 0;
    font-size: 25px;
}

.pc-wizard-aside-card h4 {
    margin: 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color:var(--text-muted);
}

.pc-breakdown-lines {
    display: grid;
    gap: 7px;
}

.pc-breakdown-lines div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    border-bottom:1px solid rgba(15,40,80,0.1);
    padding-bottom: 7px;
    font-size: 12px;
}

.pc-breakdown-lines span {
    color:var(--text-secondary);
}

.pc-breakdown-lines strong {
    color:#0b1f3a;
}

.pc-wizard-main .peeryx-builder-actions {
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.11);
    background:rgba(15,40,80,0.02);
    padding: 10px;
    margin-top: 2px;
}

.pc-wizard-main .peeryx-builder-actions span {
    font-size: 12px;
    line-height: 1.52;
}

.pc-alert-note {
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.16);
    background:rgba(15,40,80,0.03);
    padding: 10px 12px;
    font-size: 12px;
    color:var(--text-secondary);
}

.pc-alert-note strong {
    color:#0b1f3a;
}

.pc-alert-note.warning {
    border-color:rgba(255, 200, 87, 0.34);
    background:rgba(255, 200, 87, 0.1);
}

.pc-alert-note.success {
    border-color:rgba(57, 217, 138, 0.32);
    background:rgba(57, 217, 138, 0.1);
}

.pc-alert-note.info {
    border-color:rgba(34,93,231,0.34);
    background:rgba(2,77,251,0.1);
}

@media (max-width: 1439px) {
    .pc-wizard-shell {
        grid-template-columns: 1fr;
    }

    .pc-wizard-aside {
        position: static;
    }

    .pc-layout {
        grid-template-columns: 1fr;
    }

    .pc-summary {
        position: static;
    }

    .mk-price-plan-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mk-price-addon-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mk-price-setup-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

    .mk-cine-grid,
    .mk-service-mosaic,
    .mk-story-band,
    .mk-presence-layout,
    .mk-game-spotlight,
    .mk-pricing-layout {
        grid-template-columns: 1fr;
    }

    .mk-commercial-triad,
    .mk-pricing-preview,
    .mk-commercial-notes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .mk-rule-builder-stage,
    .mk-panel-showcase {
        grid-template-columns: 1fr;
    }

    .mk-signal-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .peeryx-game-stage {
        grid-template-columns: 1fr;
    }

    .mk-cinema-layout,
    .mk-asymmetric-stage,
    .mk-network-mesh {
        grid-template-columns: 1fr;
    }

    .mk-editorial-ribbon {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mk-scene-metrics,
    .mk-scene-grid,
    .mk-mesh-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .fi-main-sidebar {
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .fi-sidebar-close-overlay {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .pc-tab-switch {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-wizard-grid {
        grid-template-columns: 1fr;
    }

    .pc-plan-specs,
    .pc-transit-cards,
    .pc-dc-preview {
        grid-template-columns: 1fr;
    }

    .mk-price-hero-strips,
    .mk-price-plan-grid,
    .mk-price-port-grid,
    .mk-price-addon-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mk-price-policy-grid,
    .mk-price-transit-layout,
    .mk-price-feature-grid {
        grid-template-columns: 1fr;
    }

    .mk-price-commit-rows div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .mk-price-commit-rows span {
        text-align: left;
    }

    .fi-topbar {
        gap: 8px;
        padding-inline: 8px;
    }

    .fi-topbar-end {
        margin-left: 0;
    }

    .peeryx-topbar-links,
    .peeryx-topbar-tenant-switch {
        display: none;
    }

    .peeryx-topbar-console {
        max-width: min(48vw, 360px);
    }

    .peeryx-topbar-status .label {
        display: none;
    }

    .peeryx-topbar-status {
        min-width: 36px;
        justify-content: center;
        padding: 0 10px;
    }

    .mk-nav {
        display: none;
    }

    .mk-actions {
        display: none;
    }

    .mk-mobile-nav {
        display: block;
    }

    .mk-hero-grid,
    .mk-story-card,
    .mk-dual-grid,
    .mk-footer-grid {
        grid-template-columns: 1fr;
    }

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

    .mk-ops-timeline-wide {
        grid-template-columns: 1fr;
    }

    .mk-presence-map-full .mk-presence-matrix,
    .mk-panel-showcase,
    .mk-console-top,
    .mk-console-grid {
        grid-template-columns: 1fr;
    }

    .mk-console-wall {
        grid-template-columns: 1fr;
    }

    .mk-builder-grid {
        grid-template-columns: 1fr;
    }

    .peeryx-builder-grid {
        grid-template-columns: 1fr;
    }

    .peeryx-wizard-grid {
        grid-template-columns: 1fr;
    }

    .peeryx-app-sidebar {
        display: none;
    }

    .fi-sidebar {
        width: 100% !important;
        min-width: 100% !important;
    }

    .fi-sidebar-nav {
        padding-bottom: 20px !important;
    }

    .fi-sidebar-item-label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .fi-main {
        padding-top: 12px !important;
    }

    .fi-page {
        padding-inline: 18px !important;
    }

    .peeryx-grid-3,
    .peeryx-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .pc-tab-switch {
        grid-template-columns: 1fr;
    }

    .pc-wrap {
        padding: 12px;
    }

    .pc-panel {
        padding: 11px;
    }

    .pc-total strong {
        font-size: 20px;
    }

    .mk-price-hero-strips,
    .mk-price-plan-grid,
    .mk-price-port-grid,
    .mk-price-setup-grid,
    .mk-price-addon-cards {
        grid-template-columns: 1fr;
    }

    .fi-topbar {
        min-height: 58px;
    }

    .fi-topbar-start {
        gap: 6px;
    }

    .peeryx-topbar-console {
        max-width: calc(100vw - 214px);
    }

    .peeryx-topbar-console .peeryx-topbar-chip {
        padding: 5px 8px;
        font-size: 10px;
    }

    .peeryx-topbar-user-actions {
        gap: 6px;
    }

    .peeryx-topbar-icon-btn {
        min-height: 34px;
        min-width: 34px;
        padding: 0 8px;
    }

    .peeryx-topbar-status {
        display: none;
    }

    .fi-user-menu .fi-dropdown-panel {
        width: min(228px, calc(100vw - 12px));
        min-width: 0;
    }

    .peeryx-topbar-wallet-panel,
    .peeryx-topbar-menu-panel-notifications {
        width: min(320px, calc(100vw - 12px));
    }

    .mk-presence-bar {
        display: none;
    }

    .mk-shell {
        width: 94vw;
    }

    .mk-mobile-nav-actions {
        width: 100%;
    }

    .mk-btn {
        flex: 1 1 180px;
    }

    .mk-strip-grid,
    .mk-feature-grid {
        grid-template-columns: 1fr;
    }

    .mk-commercial-triad,
    .mk-pricing-preview,
    .mk-commercial-notes,
    .mk-signal-strip,
    .mk-presets-grid {
        grid-template-columns: 1fr;
    }

    .mk-editorial-ribbon,
    .mk-faq-grid,
    .mk-scene-metrics,
    .mk-scene-grid,
    .mk-mesh-points {
        grid-template-columns: 1fr;
    }

    .mk-cine-copy h1 {
        font-size: clamp(34px, 12vw, 52px);
    }

    .mk-header-inner {
        min-height: 64px;
    }

    .mk-logo {
        font-size: 14px;
    }

    .mk-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .fi-page {
        padding-inline: 14px !important;
    }

    .peeryx-page-title {
        font-size: 25px;
    }

    .auth-grid {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .auth-brand {
        border-right:0;
        border-bottom:1px solid var(--stroke-soft);
        padding: 24px;
    }

    .auth-panel {
        padding: 20px;
    }

    .fi-btn,
    .auth-btn {
        min-height: 44px !important;
    }
}

.peeryx-world-map-live {
    min-height: 420px;
    height: clamp(420px, 58vh, 560px);
}

.peeryx-world-map-live.leaflet-container {
    background:radial-gradient(circle at top left, rgba(2,77,251,0.1), transparent 42%),
        linear-gradient(165deg, rgba(255,255,255,0.96), rgba(255,255,255,0.94));
}

.peeryx-world-map-live .leaflet-control-zoom a {
    border-color:rgba(15,40,80,0.14) !important;
    background:rgba(255,255,255,0.86) !important;
    color:#0b1f3a !important;
}

.peeryx-world-map-live .leaflet-control-zoom a:hover {
    background:rgba(2,77,251,0.22) !important;
}

.peeryx-world-map-live .leaflet-control-attribution {
    background:rgba(246,248,252,0.72) !important;
    border-top-left-radius: 8px;
    color:var(--text-muted) !important;
}

.peeryx-world-map-live .leaflet-control-attribution a {
    color:#183e95 !important;
}

.peeryx-world-map-live .leaflet-popup-content-wrapper,
.peeryx-world-map-live .leaflet-popup-tip {
    border:1px solid rgba(34,93,231,0.28);
    background:radial-gradient(circle at top right, rgba(2,77,251,0.18), transparent 48%),
        linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.92));
    color:#0b1f3a;
    box-shadow:0 18px 30px rgba(15,40,80,0.18);
}

.peeryx-world-map-live .leaflet-popup-close-button {
    color:#0b1f3a !important;
}

@media (max-width: 767px) {
    .peeryx-world-map-live {
        min-height: 340px;
        height: 56vh;
    }
}

.peeryx-map-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.peeryx-map-toggle {
    border:1px solid rgba(15,40,80,0.16);
    background:rgba(15,40,80,0.03);
    color:var(--text-secondary);
    border-radius: 999px;
    min-height: 34px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.peeryx-map-toggle:hover {
    border-color:rgba(34,93,231,0.34);
    color:#0b1f3a;
}

.peeryx-map-toggle.is-active {
    border-color:rgba(34,93,231,0.42);
    background:rgba(2,77,251,0.16);
    color:#0b1f3a;
}

.peeryx-map-toggle-action {
    margin-left: auto;
}

.peeryx-map-list-item {
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.peeryx-map-list-item:hover,
.peeryx-map-list-item.is-focused {
    border-color:rgba(34,93,231,0.34);
    box-shadow:0 0 0 1px rgba(34,93,231,0.22);
    transform: translateY(-1px);
}

.peeryx-world-map-live path.peeryx-map-path-physical {
    stroke:#175dff !important;
    stroke-width: 3.9 !important;
}

.peeryx-world-map-live path.peeryx-map-path-tunnel {
    stroke:#94f7c3 !important;
    stroke-width: 3.4 !important;
    stroke-dasharray: 11 8 !important;
    animation: peeryx-map-dash 1.35s linear infinite;
}

.peeryx-world-map-live path.peeryx-map-glow-physical {
    stroke:#195eff !important;
    stroke-width: 9.2 !important;
    opacity: 0.2 !important;
}

.peeryx-world-map-live path.peeryx-map-glow-tunnel {
    stroke:#8ff5bf !important;
    stroke-width: 8.2 !important;
    opacity: 0.24 !important;
    stroke-dasharray: 11 8 !important;
}

.peeryx-world-map-live path.peeryx-map-path {
    filter: drop-shadow(0 0 7px rgba(34, 203, 231, 0.28));
}

.peeryx-world-map-live .leaflet-tooltip.peeryx-node-tooltip {
    border:1px solid rgba(34,93,231,0.32);
    background:radial-gradient(circle at top right, rgba(2,77,251,0.22), transparent 52%),
        linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.92));
    color:#0b1f3a;
    border-radius: 10px;
    padding: 4px 8px;
    font-weight: 600;
    font-size: 11px;
    box-shadow:0 10px 20px rgba(15,40,80,0.18);
}

.peeryx-world-map-live .leaflet-tooltip.peeryx-node-tooltip::before {
    border-top-color:rgba(34,93,231,0.32);
}

@keyframes peeryx-map-dash {
    to {
        stroke-dashoffset: -38;
    }
}

@media (max-width: 767px) {
    .peeryx-map-toggle-action {
        margin-left: 0;
    }
}

@media (max-width: 1439px) {
    .pc-wizard-context-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 1023px) {
    .pc-wizard-grid,
    .pc-choice-grid,
    .pc-info-grid,
    .pc-wizard-context-grid {
        grid-template-columns: 1fr;
    }

    .pc-stepper {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
    }
}

/* ------------------------------------------------------------------------- */
/* Peeryx Unified UX Refactor (single design system overrides)               */
/* ------------------------------------------------------------------------- */

:root {
    --px-space-1: 4px;
    --px-space-2: 8px;
    --px-space-3: 12px;
    --px-space-4: 16px;
    --px-space-5: 24px;
    --px-space-6: 32px;
    --px-space-7: 48px;
    --px-space-8: 64px;

    --px-radius-sm: 10px;
    --px-radius-md: 14px;
    --px-radius-lg: 18px;
    --px-topbar-height: 64px;

    --px-bg-root:#ffffff;
    --px-bg-surface:#ffffff;
    --px-bg-surface-2:#ffffff;
    --px-bg-overlay:rgba(246,248,252,0.84);
    --px-border-soft:rgba(15,40,80,0.12);
    --px-border-strong:rgba(34,93,231,0.36);
    --px-text-main:#0b1f3a;
    --px-text-subtle:#0b1f3a;
    --px-text-muted:#5c6f88;
    --px-focus-ring:0 0 0 3px rgba(2,77,251,0.2);
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background:radial-gradient(circle at 16% -8%, rgba(2,77,251,0.14), transparent 38%),
        radial-gradient(circle at 88% 104%, rgba(94,132,220,0.11), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #ffffff 52%, #ffffff 100%) !important;
    color:var(--px-text-main);
}

body.fi-body,
body.peeryx-portal-body {
    min-height: 100dvh;
    height: 100dvh;
    overflow: hidden;
}

body.peeryx-marketing-body,
body.peeryx-auth-body {
    overflow-x: hidden;
    overflow-y: auto;
}

.fi-body,
.fi-layout,
.fi-main-ctn,
.fi-main-sidebar {
    min-height: 0;
}

.fi-layout {
    min-height: 100dvh;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
}

.fi-main-sidebar,
.fi-sidebar {
    min-height: 0;
    height: 100%;
    max-height: 100%;
}

.fi-main-sidebar {
    position: relative;
    top: 0;
    align-self: stretch;
}

.fi-body-has-topbar .fi-main-sidebar,
.fi-body-has-topbar .fi-sidebar {
    min-height: calc(100dvh - var(--px-topbar-height));
    height: calc(100dvh - var(--px-topbar-height));
    max-height: calc(100dvh - var(--px-topbar-height));
}

.fi-sidebar {
    border-right:1px solid var(--px-border-soft) !important;
    background:linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.96) 100%) !important;
}

.fi-sidebar-nav {
    padding: var(--px-space-2) var(--px-space-3) calc(var(--px-space-4) + env(safe-area-inset-bottom)) !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.fi-main-ctn {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.fi-topbar-ctn {
    position: sticky;
    top: 0;
    z-index: 80;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: visible;
}

.fi-topbar {
    min-height: var(--px-topbar-height);
    height: var(--px-topbar-height);
    max-height: var(--px-topbar-height);
    padding-inline: var(--px-space-3);
    gap: var(--px-space-2);
    overflow: visible !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    white-space: nowrap;
    border-bottom:1px solid var(--px-border-soft) !important;
    background:var(--px-bg-overlay) !important;
    backdrop-filter: blur(12px);
}

.fi-topbar-start,
.fi-topbar-end,
.fi-breadcrumbs {
    min-width: 0;
}

.fi-breadcrumbs ol {
    flex-wrap: nowrap;
    overflow: hidden;
}

.fi-breadcrumbs li,
.fi-breadcrumbs a {
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.fi-main {
    min-height: 0;
    height: calc(100dvh - var(--px-topbar-height));
    max-height: calc(100dvh - var(--px-topbar-height));
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding-top: var(--px-space-3) !important;
    padding-bottom: var(--px-space-5) !important;
}

.fi-page {
    max-width: 1660px !important;
    margin-inline: auto;
    padding-inline: clamp(var(--px-space-4), 2.1vw, var(--px-space-6)) !important;
}

.fi-section,
.fi-ta,
.fi-ta-content,
.fi-wi-stats-overview-stat,
.fi-wi-chart,
.fi-modal-window,
.fi-dropdown-panel,
.fi-in-entry-card {
    border:1px solid var(--px-border-soft) !important;
    border-radius: var(--px-radius-lg) !important;
    background:linear-gradient(164deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.9) 100%) !important;
    box-shadow:0 14px 36px rgba(15,40,80,0.18) !important;
}

.fi-header-subheading,
.fi-tabs-item,
.fi-ta-header-cell,
.fi-input-wrp-label,
.fi-fo-field-wrp-label {
    color:var(--px-text-subtle) !important;
}

.fi-input-wrp,
.fi-select-input,
.fi-textarea,
.auth-input {
    min-height: 42px;
    border-radius: var(--px-radius-md) !important;
    border:1px solid var(--px-border-soft) !important;
    background:rgba(255,255,255,0.88) !important;
    color:var(--px-text-main) !important;
}

.auth-input {
    width: 100%;
}

.auth-input::placeholder,
.fi-input::placeholder,
.fi-textarea::placeholder {
    color:var(--px-text-muted);
    opacity: 1;
}

.fi-input-wrp:focus-within,
.fi-select-input:focus,
.fi-textarea:focus,
.auth-input:focus,
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
    outline:none !important;
    border-color:var(--px-border-strong) !important;
    box-shadow:var(--px-focus-ring) !important;
}

.fi-btn {
    min-height: 38px;
    border-radius: var(--px-radius-md) !important;
    font-weight: 600 !important;
}

.fi-btn-color-gray {
    border-color:var(--px-border-soft) !important;
    background:rgba(15,40,80,0.04) !important;
    color:var(--px-text-main) !important;
}

/* Auth Refresh - Premium unified authentication experience */
body.peeryx-auth-body {
    background:radial-gradient(circle at 0% 0%, rgba(2,77,251,0.16), transparent 38%),
        radial-gradient(circle at 100% 0%, rgba(94,132,220,0.14), transparent 40%),
        linear-gradient(155deg, #f6f8fc 0%, #ffffff 45%, #ffffff 100%);
}

body.peeryx-auth-body .auth-shell {
    padding: clamp(18px, 3.2vw, 34px);
}

body.peeryx-auth-body .auth-grid {
    width: min(1180px, 100%);
    border-radius: 20px;
    border:1px solid rgba(98,136,224,0.22);
    background:linear-gradient(145deg, rgba(255,255,255,0.94), rgba(255,255,255,0.9)),
        radial-gradient(circle at top right, rgba(2,77,251,0.12), transparent 48%);
    box-shadow:0 28px 58px rgba(15,40,80,0.18),
        inset 0 1px 0 rgba(15,40,80,0.04);
}

body.peeryx-auth-body .auth-brand {
    padding: clamp(26px, 3vw, 44px);
    background:linear-gradient(180deg, rgba(2,77,251,0.07), rgba(2,77,251,0.02)),
        linear-gradient(160deg, rgba(255,255,255,0.75), rgba(255,255,255,0.9));
}

body.peeryx-auth-body .auth-kicker {
    border-color:rgba(34,93,231,0.42);
    color:#183e95;
    background:rgba(2,77,251,0.1);
}

body.peeryx-auth-body .auth-brand h1 {
    font-size: clamp(30px, 4.4vw, 48px);
    letter-spacing: -0.02em;
}

body.peeryx-auth-body .auth-brand p {
    color:#0b1f3a;
}

body.peeryx-auth-body .auth-list {
    color:#0b1f3a;
}

body.peeryx-auth-body .auth-panel {
    padding: clamp(20px, 2.8vw, 34px);
    gap: 10px;
}

body.peeryx-auth-body .auth-title {
    font-size: clamp(28px, 3.2vw, 36px);
}

body.peeryx-auth-body .auth-subtitle {
    color:#0b1f3a;
}

body.peeryx-auth-body .auth-label {
    color:#0b1f3a;
}

body.peeryx-auth-body .auth-input {
    min-height: 46px;
    border-radius: 12px;
    border:1px solid rgba(15,40,80,0.16);
    background:rgba(255,255,255,0.82);
    padding: 12px 14px;
}

body.peeryx-auth-body .auth-input:hover {
    border-color:rgba(165,186,235,0.32);
}

body.peeryx-auth-body .auth-input:focus {
    border-color:rgba(34,93,231,0.55) !important;
    box-shadow:0 0 0 3px rgba(2,77,251,0.2) !important;
}

body.peeryx-auth-body .auth-btn {
    min-height: 46px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

body.peeryx-auth-body .auth-error {
    border-radius: 12px;
    padding: 10px 12px;
}

.auth-success {
    border-radius: 12px;
    border:1px solid rgba(57, 217, 138, 0.4);
    background:rgba(57, 217, 138, 0.14);
    color:#0b1f3a;
    font-size: 13px;
    padding: 9px 11px;
}

@media (max-width: 980px) {
    body.peeryx-auth-body .auth-grid {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    body.peeryx-auth-body .auth-brand {
        border-right:0;
        border-bottom:1px solid rgba(15,40,80,0.16);
    }

    body.peeryx-auth-body .auth-panel {
        padding: 18px;
    }
}

.fi-btn-color-gray:hover {
    border-color:var(--px-border-strong) !important;
    background:rgba(2,77,251,0.12) !important;
}

.fi-ta-row {
    border-color:rgba(15,40,80,0.08) !important;
}

.fi-ta-row:nth-child(even) {
    background:rgba(15,40,80,0.015);
}

.fi-ta-row:hover {
    background:rgba(2,77,251,0.11) !important;
}

.fi-sidebar-item-button,
.fi-sidebar-item-btn {
    min-height: 40px !important;
    border-radius: var(--px-radius-sm) !important;
}

.fi-sidebar-item-button:focus-visible,
.fi-sidebar-item-btn:focus-visible {
    box-shadow:var(--px-focus-ring) !important;
}

.fi-sidebar-item-icon,
.fi-topbar .fi-icon,
.fi-dropdown-list-item .fi-icon {
    width: 16px;
    min-width: 16px;
    height: 16px;
}

.peeryx-topbar-console {
    min-width: 0;
    max-width: min(45vw, 520px);
    overflow: hidden;
}

.peeryx-topbar-chip {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.peeryx-topbar-user-actions {
    margin-left: auto;
}

.peeryx-topbar-menu-panel {
    max-height: min(70vh, 500px);
    overflow-y: auto;
}

.peeryx-topbar-menu-link {
    border-color:rgba(15,40,80,0.1);
}

.peeryx-topbar-menu-link:hover,
.peeryx-topbar-menu-link:focus-visible {
    border-color:var(--px-border-strong);
}

.peeryx-user-menu-section-title {
    padding-top: var(--px-space-2);
}

.peeryx-brand-card {
    margin: 0 2px 10px;
    padding: 11px 12px 10px;
    border-radius: 14px;
}

.peeryx-brand-title {
    font-size: 12px;
    gap: 8px;
}

.peeryx-brand-subtitle {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.peeryx-brand-signal {
    margin-top: 6px;
    gap: 4px;
}

.peeryx-brand-signal.peeryx-brand-signal-compact {
    border-radius: 9px;
    border:1px solid rgba(15,40,80,0.13);
    background:rgba(15,40,80,0.025);
    padding: 4px 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color:var(--px-text-subtle);
    letter-spacing: 0.03em;
}

.peeryx-brand-signal.peeryx-brand-signal-compact strong {
    color:#0b1f3a;
    font-size: 10px;
}

.peeryx-sidebar-footer {
    margin: 8px var(--px-space-3) calc(10px + env(safe-area-inset-bottom));
    padding: 10px;
    border-radius: 12px;
    display: grid;
    gap: 8px;
}

.peeryx-sidebar-footer-head {
    display: grid;
    gap: 2px;
}

.peeryx-sidebar-footer strong {
    margin: 0;
    font-size: 10px;
}

.peeryx-sidebar-footer-head span {
    color:var(--px-text-soft);
    font-size: 9px;
    line-height: 1.3;
}

.peeryx-sidebar-footer-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.peeryx-sidebar-footer-action {
    border:1px solid rgba(15,40,80,0.12);
    border-radius: 8px;
    padding: 6px 4px;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color:var(--px-text-main);
    background:rgba(15,40,80,0.025);
    text-decoration: none;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.peeryx-sidebar-footer-action:hover,
.peeryx-sidebar-footer-action:focus-visible {
    border-color:var(--px-border-strong);
    background:rgba(2,77,251,0.12);
    color:#0b1f3a;
}

.peeryx-sidebar-footer-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.peeryx-sidebar-footer-badge {
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.16);
    background:rgba(15,40,80,0.04);
    color:var(--px-text-subtle);
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.peeryx-sidebar-footer-badge-success {
    border-color:rgba(57, 217, 138, 0.32);
    background:rgba(57, 217, 138, 0.12);
    color:#0b1f3a;
}

.pc-wizard-shell {
    gap: var(--px-space-4);
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.95fr);
}

.pc-wizard-main {
    border-radius: 20px;
    padding: var(--px-space-4);
    gap: var(--px-space-3);
}

.pc-wizard-context {
    padding: var(--px-space-3);
}

.pc-stepper {
    gap: 6px;
    padding: var(--px-space-2);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.pc-stepper span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.pc-wizard-panel {
    border-radius: var(--px-radius-md);
    padding: var(--px-space-3);
    gap: var(--px-space-3);
}

.pc-wizard-panel p {
    font-size: 13px;
    color:var(--px-text-subtle);
}

.pc-wizard-grid {
    gap: var(--px-space-3);
}

.pc-wizard-aside {
    top: calc(var(--px-topbar-height) + var(--px-space-3));
    gap: var(--px-space-3);
}

.pc-wizard-main .peeryx-builder-actions {
    position: sticky;
    bottom: 0;
    z-index: 20;
    background:linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.98));
    border:1px solid var(--px-border-soft);
}

.pc-breakdown-lines div:last-child {
    border-bottom:0;
    padding-bottom: 0;
}

.fi-wi-chart canvas,
.fi-wi-chart svg {
    filter: saturate(1.05) contrast(1.05);
}

.apexcharts-tooltip,
.apexcharts-xaxistooltip,
.apexcharts-yaxistooltip {
    border:1px solid var(--px-border-soft) !important;
    background:rgba(255,255,255,0.95) !important;
    color:var(--px-text-main) !important;
}

.apexcharts-gridline {
    stroke:rgba(15,40,80,0.1) !important;
}

.apexcharts-text,
.apexcharts-legend-text {
    fill:#0b1f3a !important;
    color:#0b1f3a !important;
}

.mk-shell {
    width: min(1240px, calc(100% - 36px));
}

.mk-header {
    position: sticky;
    top: 0;
    z-index: 65;
    border-bottom:1px solid rgba(15,40,80,0.1);
    background:rgba(255,255,255,0.84);
    backdrop-filter: blur(10px);
}

.mk-nav a:focus-visible,
.mk-btn:focus-visible {
    outline:none;
    box-shadow:var(--px-focus-ring);
}

.peeryx-topbar-quick-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.peeryx-topbar-link-btn {
    transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.peeryx-topbar-link-btn:hover,
.peeryx-topbar-link-btn:focus-visible {
    border-color:rgba(34,93,231,0.36) !important;
    background:rgba(2,77,251,0.16) !important;
    color:#0b1f3a !important;
}

.peeryx-account-settings-hub-card {
    transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.peeryx-account-settings-hub-card:hover,
.peeryx-account-settings-hub-card:focus-visible {
    border-color:rgba(34,93,231,0.36) !important;
    background:rgba(2,77,251,0.12) !important;
    transform: translateY(-1px);
}

@media (max-width: 1279px) {
    .peeryx-topbar-console {
        max-width: min(40vw, 420px);
    }

    .pc-wizard-shell {
        grid-template-columns: 1fr;
    }

    .pc-wizard-aside {
        position: static;
    }
}

@media (max-width: 1180px) {
    .peeryx-topbar-quick-links {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .fi-main-sidebar,
    .fi-sidebar {
        min-height: 100dvh;
        height: 100dvh;
        max-height: 100dvh;
    }

    .fi-main {
        height: calc(100dvh - 58px);
        max-height: calc(100dvh - 58px);
    }

    .fi-topbar {
        min-height: 58px;
        height: 58px;
        max-height: 58px;
    }

    .peeryx-topbar-console {
        max-width: calc(100vw - 220px);
    }
}

@media (max-width: 767px) {
    .fi-page {
        padding-inline: var(--px-space-3) !important;
    }

    .peeryx-topbar-console {
        max-width: calc(100vw - 184px);
    }

    .peeryx-topbar-chip strong {
        display: none;
    }

    .peeryx-topbar-status .label {
        display: none;
    }
}

/* ------------------------------------------------------------------
   Admin UI unification
   ------------------------------------------------------------------ */

.fi-panel-admin .fi-page {
    max-width: 1720px !important;
}

.fi-panel-admin .fi-section,
.fi-panel-admin .fi-ta,
.fi-panel-admin .fi-ta-content,
.fi-panel-admin .fi-wi-stats-overview-stat,
.fi-panel-admin .fi-wi-chart,
.fi-panel-admin .peeryx-panel-utility {
    border:1px solid rgba(15,40,80,0.28) !important;
    background:linear-gradient(166deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.92) 100%) !important;
    box-shadow:0 14px 34px rgba(15,40,80,0.18), inset 0 1px 0 rgba(15,40,80,0.04) !important;
}

.fi-panel-admin .fi-ta {
    overflow: hidden;
}

.fi-panel-admin .fi-ta-header {
    background:linear-gradient(180deg, rgba(247,250,254,0.8), rgba(255,255,255,0.72)) !important;
    border-bottom:1px solid rgba(15,40,80,0.26) !important;
}

.fi-panel-admin .fi-ta table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.fi-panel-admin .fi-ta table thead th {
    position: sticky;
    top: 0;
    z-index: 7;
    background:linear-gradient(180deg, rgba(247,250,254,0.9), rgba(255,255,255,0.84)) !important;
    color:#0b1f3a !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom:1px solid rgba(15,40,80,0.28) !important;
    padding-top: 11px !important;
    padding-bottom: 11px !important;
}

.fi-panel-admin .fi-ta table tbody td {
    border-bottom:1px solid rgba(15,40,80,0.08) !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    color:#0b1f3a !important;
}

.fi-panel-admin .fi-ta table tbody tr:nth-child(even) td {
    background:rgba(15,40,80,0.015);
}

.fi-panel-admin .fi-ta table tbody tr:hover td {
    background:rgba(2,77,251,0.12) !important;
}

.fi-panel-admin .fi-ta-summary-row td,
.fi-panel-admin .fi-ta-empty-state td {
    background:rgba(15,40,80,0.02) !important;
}

.fi-panel-admin .fi-ta-ctn {
    border-radius: 16px !important;
}

.fi-panel-admin .fi-pagination {
    border-top:1px solid rgba(15,40,80,0.2) !important;
    background:rgba(255,255,255,0.54) !important;
}

.fi-panel-admin .fi-pagination button,
.fi-panel-admin .fi-pagination a {
    border-radius: 10px !important;
}

.fi-panel-admin .fi-tabs-item-active {
    border-color:rgba(96,131,212,0.52) !important;
    background:rgba(2,77,251,0.14) !important;
}

.fi-panel-admin .peeryx-admin-table-wrap {
    border:1px solid rgba(15,40,80,0.24);
    border-radius: 14px;
    background:rgba(255,255,255,0.56);
}

.fi-panel-admin .peeryx-admin-table thead th {
    background:linear-gradient(180deg, rgba(247,250,254,0.92), rgba(255,255,255,0.88));
}

.fi-panel-admin .peeryx-admin-table tbody th {
    color:#0b1f3a;
    border-bottom:1px solid rgba(15,40,80,0.22);
    background:rgba(255,255,255,0.45);
}

.fi-panel-admin .peeryx-admin-table tbody tr:hover td {
    background:rgba(2,77,251,0.1) !important;
}

.fi-panel-admin .peeryx-admin-table tbody tr:hover th {
    background:rgba(2,77,251,0.12) !important;
}

/* ------------------------------------------------------------------
   Unified resource tables (admin/client Filament list pages)
   ------------------------------------------------------------------ */

.fi-ta {
    border-radius: 16px !important;
    overflow: hidden !important;
}

.fi-ta table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.fi-ta table thead th {
    background:linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.9)) !important;
    color:#0b1f3a !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    border-bottom:1px solid rgba(15,40,80,0.28) !important;
}

.fi-ta table tbody td {
    color:#0b1f3a !important;
    border-bottom:1px solid rgba(15,40,80,0.09) !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.fi-ta table tbody tr:nth-child(even) td {
    background:rgba(15,40,80,0.014) !important;
}

.fi-ta table tbody tr:hover td {
    background:rgba(2,77,251,0.1) !important;
}

.fi-ta .fi-badge {
    border-radius: 999px !important;
}

.peeryx-vm-name-wrap {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.peeryx-vm-name-title {
    color:#0b1f3a;
    font-weight: 700;
    line-height: 1.2;
}

.peeryx-vm-name-sub {
    color:#0b1f3a;
    font-size: 11px;
    line-height: 1.2;
}

/* ------------------------------------------------------------------
   Admin-wide NOC parity (all admin pages, not only VM)
   ------------------------------------------------------------------ */

.fi-panel-admin,
[data-panel-id="admin"] {
    --px-admin-border:rgba(15,40,80,0.28);
    --px-admin-border-soft:rgba(15,40,80,0.2);
    --px-admin-head-a:rgba(17, 41, 61, 0.94);
    --px-admin-head-b:rgba(13, 31, 47, 0.9);
    --px-admin-surface-a:rgba(255,255,255,0.95);
    --px-admin-surface-b:rgba(255,255,255,0.92);
}

.fi-panel-admin .fi-page,
[data-panel-id="admin"] .fi-page {
    max-width: 1740px !important;
}

.fi-panel-admin .fi-header-heading,
[data-panel-id="admin"] .fi-header-heading {
    letter-spacing: -0.02em;
    font-weight: 800;
}

.fi-panel-admin .fi-header-subheading,
[data-panel-id="admin"] .fi-header-subheading {
    color:#0b1f3a !important;
}

.fi-panel-admin .fi-header,
[data-panel-id="admin"] .fi-header {
    position: relative;
    overflow: hidden;
    margin-bottom: 18px !important;
    padding: 18px 18px 16px !important;
    border:1px solid var(--px-admin-border) !important;
    border-radius: 18px !important;
    background:radial-gradient(circle at 92% 10%, rgba(34,93,231,0.14), transparent 36%),
        radial-gradient(circle at 12% -18%, rgba(2,77,251,0.14), transparent 38%),
        linear-gradient(166deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.94) 100%) !important;
    box-shadow:0 18px 34px rgba(15,40,80,0.18),
        inset 0 1px 0 rgba(15,40,80,0.04) !important;
}

.fi-panel-admin .fi-header::after,
[data-panel-id="admin"] .fi-header::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -120px;
    bottom: -150px;
    border-radius: 999px;
    background:radial-gradient(circle, rgba(34,93,231,0.22), rgba(34,93,231,0));
    pointer-events: none;
}

.fi-panel-admin .fi-header-heading,
[data-panel-id="admin"] .fi-header-heading {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(1.55rem, 1.2rem + 1vw, 2rem) !important;
    line-height: 1.1 !important;
    color:#0b1f3a !important;
    text-shadow:0 1px 0 rgba(15,40,80,0.18);
}

.fi-panel-admin .fi-header-subheading,
[data-panel-id="admin"] .fi-header-subheading {
    position: relative;
    z-index: 1;
    margin-top: 6px !important;
    max-width: 88ch;
    font-size: 0.86rem !important;
    line-height: 1.45;
}

.fi-panel-admin .fi-header .fi-btn,
[data-panel-id="admin"] .fi-header .fi-btn {
    min-height: 36px !important;
}

.fi-panel-admin .fi-header-actions,
.fi-panel-admin .fi-header-actions-ctn,
[data-panel-id="admin"] .fi-header-actions,
[data-panel-id="admin"] .fi-header-actions-ctn {
    position: relative;
    z-index: 1;
    gap: 8px !important;
}

.fi-panel-admin .fi-section,
.fi-panel-admin .fi-ta,
.fi-panel-admin .fi-ta-content,
.fi-panel-admin .fi-wi-stats-overview-stat,
.fi-panel-admin .fi-wi-chart,
[data-panel-id="admin"] .fi-section,
[data-panel-id="admin"] .fi-ta,
[data-panel-id="admin"] .fi-ta-content,
[data-panel-id="admin"] .fi-wi-stats-overview-stat,
[data-panel-id="admin"] .fi-wi-chart {
    border:1px solid var(--px-admin-border) !important;
    background:linear-gradient(166deg, var(--px-admin-surface-a) 0%, var(--px-admin-surface-b) 100%) !important;
}

.fi-panel-admin .fi-ta table thead th,
[data-panel-id="admin"] .fi-ta table thead th {
    background:linear-gradient(180deg, var(--px-admin-head-a), var(--px-admin-head-b)) !important;
    color:#0b1f3a !important;
    border-bottom:1px solid var(--px-admin-border) !important;
}

.fi-panel-admin .fi-ta table tbody td,
[data-panel-id="admin"] .fi-ta table tbody td {
    border-bottom:1px solid rgba(15,40,80,0.09) !important;
}

.fi-panel-admin .fi-ta table tbody tr:hover td,
[data-panel-id="admin"] .fi-ta table tbody tr:hover td {
    background:rgba(2,77,251,0.12) !important;
}

.fi-panel-admin .fi-ta table tbody tr:nth-child(even) td,
[data-panel-id="admin"] .fi-ta table tbody tr:nth-child(even) td {
    background:rgba(15,40,80,0.018) !important;
}

.fi-panel-admin .fi-pagination,
[data-panel-id="admin"] .fi-pagination {
    border-top:1px solid var(--px-admin-border-soft) !important;
    background:rgba(255,255,255,0.58) !important;
}

.fi-panel-admin .fi-input-wrp,
.fi-panel-admin .fi-select-input,
.fi-panel-admin .fi-textarea,
[data-panel-id="admin"] .fi-input-wrp,
[data-panel-id="admin"] .fi-select-input,
[data-panel-id="admin"] .fi-textarea {
    border:1px solid rgba(15,40,80,0.32) !important;
    background:rgba(255,255,255,0.9) !important;
}

.fi-panel-admin .fi-input-wrp:focus-within,
.fi-panel-admin .fi-select-input:focus,
.fi-panel-admin .fi-textarea:focus,
[data-panel-id="admin"] .fi-input-wrp:focus-within,
[data-panel-id="admin"] .fi-select-input:focus,
[data-panel-id="admin"] .fi-textarea:focus {
    border-color:rgba(34,93,231,0.52) !important;
    box-shadow:0 0 0 3px rgba(2,77,251,0.16) !important;
}

.fi-panel-admin .fi-btn-color-gray,
[data-panel-id="admin"] .fi-btn-color-gray {
    border:1px solid rgba(15,40,80,0.32) !important;
    background:rgba(15,40,80,0.03) !important;
}

.fi-panel-admin .fi-btn-color-gray:hover,
[data-panel-id="admin"] .fi-btn-color-gray:hover {
    border-color:rgba(34,93,231,0.48) !important;
    background:rgba(2,77,251,0.14) !important;
}

.fi-panel-admin .fi-ta .fi-badge,
[data-panel-id="admin"] .fi-ta .fi-badge {
    border:1px solid rgba(15,40,80,0.14) !important;
    font-weight: 700 !important;
}

/* ------------------------------------------------------------------
   Admin table skin v2 (strong override for Filament resource tables)
   ------------------------------------------------------------------ */

.fi-panel-admin .fi-ta,
[data-panel-id="admin"] .fi-ta {
    border-radius: 16px !important;
    border:1px solid rgba(15,40,80,0.3) !important;
    background:linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.92)) !important;
    box-shadow:0 14px 28px rgba(15,40,80,0.18) !important;
}

.fi-panel-admin .fi-ta-header,
[data-panel-id="admin"] .fi-ta-header {
    border-bottom:1px solid rgba(15,40,80,0.28) !important;
    background:linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.84)) !important;
}

.fi-panel-admin .fi-ta table,
[data-panel-id="admin"] .fi-ta table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
}

.fi-panel-admin .fi-ta table thead th,
[data-panel-id="admin"] .fi-ta table thead th {
    position: sticky !important;
    top: 0 !important;
    z-index: 8 !important;
    background:linear-gradient(180deg, rgba(247,250,254,0.96), rgba(255,255,255,0.94)) !important;
    color:#0b1f3a !important;
    border-bottom:1px solid rgba(105,135,206,0.32) !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    padding-top: 11px !important;
    padding-bottom: 11px !important;
}

.fi-panel-admin .fi-ta table tbody td,
[data-panel-id="admin"] .fi-ta table tbody td {
    background:transparent !important;
    border-bottom:1px solid rgba(15,40,80,0.16) !important;
    color:#0b1f3a !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.fi-panel-admin .fi-ta table tbody tr:hover td,
[data-panel-id="admin"] .fi-ta table tbody tr:hover td {
    background:rgba(247,250,254,0.24) !important;
    border-bottom-color:rgba(94,128,208,0.26) !important;
}

.fi-panel-admin .fi-ta table tbody tr:nth-child(even) td,
[data-panel-id="admin"] .fi-ta table tbody tr:nth-child(even) td {
    background:rgba(15,40,80,0.012) !important;
}

.fi-panel-admin .fi-ta td [class*="fi-link"],
[data-panel-id="admin"] .fi-ta td [class*="fi-link"] {
    color:#0b1f3a !important;
}

.fi-panel-admin .fi-ta .fi-badge,
[data-panel-id="admin"] .fi-ta .fi-badge {
    border-radius: 999px !important;
    min-height: 21px !important;
    padding-inline: 9px !important;
    font-size: 10px !important;
    letter-spacing: 0.03em !important;
    border:1px solid rgba(121,149,216,0.26) !important;
}

.fi-panel-admin .fi-pagination,
[data-panel-id="admin"] .fi-pagination {
    border-top:1px solid rgba(15,40,80,0.2) !important;
    background:rgba(255,255,255,0.62) !important;
}

.fi-panel-admin .fi-pagination button,
.fi-panel-admin .fi-pagination a,
[data-panel-id="admin"] .fi-pagination button,
[data-panel-id="admin"] .fi-pagination a {
    border:1px solid rgba(15,40,80,0.16) !important;
    border-radius: 9px !important;
    background:rgba(15,40,80,0.03) !important;
}

.fi-panel-admin .fi-btn,
[data-panel-id="admin"] .fi-btn {
    font-weight: 600 !important;
    letter-spacing: 0.01em;
}

.fi-panel-admin .fi-ta .fi-btn-color-gray,
[data-panel-id="admin"] .fi-ta .fi-btn-color-gray {
    border:1px solid rgba(110,140,210,0.32) !important;
    background:rgba(247,250,254,0.26) !important;
    color:#0b1f3a !important;
}

.fi-panel-admin .fi-ta .fi-btn-color-gray:hover,
[data-panel-id="admin"] .fi-ta .fi-btn-color-gray:hover {
    border-color:rgba(123,156,234,0.5) !important;
    background:rgba(247,250,254,0.34) !important;
}

.fi-panel-admin .fi-btn-color-primary,
[data-panel-id="admin"] .fi-btn-color-primary {
    color:#042033 !important;
    box-shadow:0 8px 18px rgba(2,77,251,0.22) !important;
}

/* ------------------------------------------------------------------
   Admin table comfort patch (less dark lines, better text, better buttons)
   ------------------------------------------------------------------ */

.fi-panel-admin .fi-ta table thead th,
[data-panel-id="admin"] .fi-ta table thead th,
.fi-panel-admin .fi-ta table tbody td,
[data-panel-id="admin"] .fi-ta table tbody td {
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif !important;
}

.fi-panel-admin .fi-ta table tbody td,
[data-panel-id="admin"] .fi-ta table tbody td {
    border-bottom-color:rgba(15,40,80,0.16) !important;
    color:#0b1f3a !important;
}

.fi-panel-admin .fi-ta table tbody tr:nth-child(even) td,
[data-panel-id="admin"] .fi-ta table tbody tr:nth-child(even) td {
    background:rgba(15,40,80,0.02) !important;
}

.fi-panel-admin .fi-ta table tbody tr:hover td,
[data-panel-id="admin"] .fi-ta table tbody tr:hover td {
    background:rgba(238,244,252,0.24) !important;
    border-bottom-color:rgba(126,158,233,0.24) !important;
}

.fi-panel-admin .fi-ta .fi-ta-actions,
[data-panel-id="admin"] .fi-ta .fi-ta-actions {
    gap: 6px !important;
}

.fi-panel-admin .fi-ta .fi-ta-actions .fi-btn,
[data-panel-id="admin"] .fi-ta .fi-ta-actions .fi-btn {
    min-height: 30px !important;
    border-radius: 999px !important;
    padding: 5px 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
}

.fi-panel-admin .fi-ta .fi-ta-actions .fi-btn-color-gray,
[data-panel-id="admin"] .fi-ta .fi-ta-actions .fi-btn-color-gray {
    border:1px solid rgba(121,151,221,0.36) !important;
    background:rgba(247,250,254,0.26) !important;
    color:#0b1f3a !important;
}

.fi-panel-admin .fi-ta .fi-ta-actions .fi-btn-color-gray:hover,
[data-panel-id="admin"] .fi-ta .fi-ta-actions .fi-btn-color-gray:hover {
    background:rgba(22,59,145,0.34) !important;
    border-color:rgba(143,173,242,0.56) !important;
}

.fi-panel-admin .fi-ta .fi-ta-actions .fi-btn-color-primary,
[data-panel-id="admin"] .fi-ta .fi-ta-actions .fi-btn-color-primary {
    color:#03253c !important;
    box-shadow:0 6px 14px rgba(2,77,251,0.2) !important;
}

.fi-panel-admin .fi-ta td strong,
[data-panel-id="admin"] .fi-ta td strong {
    color:#0b1f3a !important;
    font-weight: 700 !important;
}

/* ------------------------------------------------------------------
   Unified Sidebar Page Design (admin + client)
   Every page reached from sidebar uses the same visual structure.
   ------------------------------------------------------------------ */

.fi-panel-admin,
.fi-panel-client,
[data-panel-id="admin"],
[data-panel-id="client"] {
    --px-page-surface-a:rgba(255,255,255,0.95);
    --px-page-surface-b:rgba(255,255,255,0.92);
    --px-page-border:rgba(15,40,80,0.28);
    --px-page-border-soft:rgba(15,40,80,0.18);
    --px-page-text:#0b1f3a;
    --px-page-subtle:#9eb8c9;
}

.fi-panel-admin .fi-page,
.fi-panel-client .fi-page,
[data-panel-id="admin"] .fi-page,
[data-panel-id="client"] .fi-page {
    display: grid;
    gap: 16px;
}

.fi-panel-admin .fi-header,
.fi-panel-client .fi-header,
[data-panel-id="admin"] .fi-header,
[data-panel-id="client"] .fi-header {
    border:1px solid var(--px-page-border) !important;
    border-radius: 16px !important;
    background:radial-gradient(circle at 86% 12%, rgba(34,93,231,0.12), transparent 34%),
        linear-gradient(165deg, var(--px-page-surface-a) 0%, var(--px-page-surface-b) 100%) !important;
    box-shadow:0 14px 30px rgba(15,40,80,0.18) !important;
}

.fi-panel-admin .fi-header-heading,
.fi-panel-client .fi-header-heading,
[data-panel-id="admin"] .fi-header-heading,
[data-panel-id="client"] .fi-header-heading {
    color:#0b1f3a !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
}

.fi-panel-admin .fi-header-subheading,
.fi-panel-client .fi-header-subheading,
[data-panel-id="admin"] .fi-header-subheading,
[data-panel-id="client"] .fi-header-subheading {
    color:var(--px-page-subtle) !important;
}

.fi-panel-admin .fi-section,
.fi-panel-client .fi-section,
.fi-panel-admin .fi-wi-stats-overview-stat,
.fi-panel-client .fi-wi-stats-overview-stat,
.fi-panel-admin .fi-wi-chart,
.fi-panel-client .fi-wi-chart,
.fi-panel-admin .peeryx-panel-utility,
.fi-panel-client .peeryx-panel-utility,
[data-panel-id="admin"] .fi-section,
[data-panel-id="client"] .fi-section,
[data-panel-id="admin"] .fi-wi-stats-overview-stat,
[data-panel-id="client"] .fi-wi-stats-overview-stat,
[data-panel-id="admin"] .fi-wi-chart,
[data-panel-id="client"] .fi-wi-chart,
[data-panel-id="admin"] .peeryx-panel-utility,
[data-panel-id="client"] .peeryx-panel-utility {
    border:1px solid var(--px-page-border) !important;
    border-radius: 16px !important;
    background:linear-gradient(165deg, rgba(255,255,255,0.94), rgba(255,255,255,0.9)) !important;
    box-shadow:0 12px 24px rgba(15,40,80,0.18) !important;
}

.fi-panel-admin .fi-input-wrp,
.fi-panel-client .fi-input-wrp,
.fi-panel-admin .fi-select-input,
.fi-panel-client .fi-select-input,
.fi-panel-admin .fi-textarea,
.fi-panel-client .fi-textarea,
[data-panel-id="admin"] .fi-input-wrp,
[data-panel-id="client"] .fi-input-wrp,
[data-panel-id="admin"] .fi-select-input,
[data-panel-id="client"] .fi-select-input,
[data-panel-id="admin"] .fi-textarea,
[data-panel-id="client"] .fi-textarea {
    border:1px solid var(--px-page-border-soft) !important;
    background:rgba(255,255,255,0.9) !important;
}

.fi-panel-admin .fi-input-wrp:focus-within,
.fi-panel-client .fi-input-wrp:focus-within,
.fi-panel-admin .fi-select-input:focus,
.fi-panel-client .fi-select-input:focus,
.fi-panel-admin .fi-textarea:focus,
.fi-panel-client .fi-textarea:focus,
[data-panel-id="admin"] .fi-input-wrp:focus-within,
[data-panel-id="client"] .fi-input-wrp:focus-within,
[data-panel-id="admin"] .fi-select-input:focus,
[data-panel-id="client"] .fi-select-input:focus,
[data-panel-id="admin"] .fi-textarea:focus,
[data-panel-id="client"] .fi-textarea:focus {
    border-color:rgba(114,151,236,0.5) !important;
    box-shadow:0 0 0 3px rgba(2,77,251,0.15) !important;
}

.fi-panel-admin .fi-btn,
.fi-panel-client .fi-btn,
[data-panel-id="admin"] .fi-btn,
[data-panel-id="client"] .fi-btn {
    border-radius: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
}

.fi-panel-admin .fi-btn-color-gray,
.fi-panel-client .fi-btn-color-gray,
[data-panel-id="admin"] .fi-btn-color-gray,
[data-panel-id="client"] .fi-btn-color-gray {
    border:1px solid rgba(108,140,215,0.32) !important;
    background:rgba(247,250,254,0.22) !important;
    color:#0b1f3a !important;
}

.fi-panel-admin .fi-btn-color-gray:hover,
.fi-panel-client .fi-btn-color-gray:hover,
[data-panel-id="admin"] .fi-btn-color-gray:hover,
[data-panel-id="client"] .fi-btn-color-gray:hover {
    border-color:rgba(129,163,244,0.52) !important;
    background:rgba(238,244,252,0.3) !important;
}

/* ------------------------------------------------------------------
   Final Resource UI Unification (admin + client)
   Source of truth for Filament resources (list/create/edit/view/manage)
   ------------------------------------------------------------------ */

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) {
    --px-resource-surface-a:rgba(255,255,255,0.97);
    --px-resource-surface-b:rgba(255,255,255,0.94);
    --px-resource-border:rgba(15,40,80,0.16);
    --px-resource-border-soft:rgba(15,40,80,0.16);
    --px-resource-head-a:rgba(22, 47, 69, 0.96);
    --px-resource-head-b:rgba(15, 34, 52, 0.96);
    --px-resource-text:#0b1f3a;
    --px-resource-subtle:#9cb7c8;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) {
    color:var(--px-resource-text);
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-header {
    border:1px solid var(--px-resource-border) !important;
    border-radius: 18px !important;
    padding: 16px 18px !important;
    background:linear-gradient(160deg, var(--px-resource-surface-a), var(--px-resource-surface-b)) !important;
    box-shadow:0 14px 32px rgba(15,40,80,0.18), inset 0 1px 0 rgba(15,40,80,0.04) !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-header-heading {
    font-weight: 760 !important;
    letter-spacing: 0.01em !important;
    color:#0b1f3a !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-header-subheading {
    color:var(--px-resource-subtle) !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-section,
:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta,
:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta-content {
    border:1px solid var(--px-resource-border) !important;
    border-radius: 16px !important;
    background:linear-gradient(165deg, var(--px-resource-surface-a), var(--px-resource-surface-b)) !important;
    box-shadow:0 12px 28px rgba(15,40,80,0.18) !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta-header {
    border-bottom:1px solid var(--px-resource-border-soft) !important;
    background:linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.9)) !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-input-wrp,
:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-select-input,
:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-textarea {
    border-color:var(--px-resource-border-soft) !important;
    background:linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.9)) !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-input-wrp:focus-within,
:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-select-input:focus,
:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-textarea:focus {
    border-color:rgba(104,144,236,0.46) !important;
    box-shadow:0 0 0 3px rgba(56,110,236,0.16) !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta table thead th {
    border-bottom:1px solid var(--px-resource-border) !important;
    background:linear-gradient(180deg, var(--px-resource-head-a), var(--px-resource-head-b)) !important;
    color:#0b1f3a !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta table tbody td {
    border-top:1px solid var(--px-resource-border-soft) !important;
    color:#0b1f3a !important;
    font-size: 0.875rem !important;
    padding-top: 11px !important;
    padding-bottom: 11px !important;
    background:rgba(255,255,255,0.45) !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta table tbody tr:nth-child(even) td {
    background:rgba(255,255,255,0.62) !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta table tbody tr:hover td {
    background:rgba(247,250,254,0.64) !important;
    border-top-color:rgba(112,147,228,0.34) !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-btn {
    border-radius: 11px !important;
    border:1px solid rgba(105,137,212,0.3) !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta .fi-ta-actions .fi-btn,
:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta .fi-icon-btn {
    height: 30px !important;
    min-height: 30px !important;
    min-width: 30px !important;
    border-radius: 10px !important;
    border-color:rgba(15,40,80,0.16) !important;
    background:linear-gradient(180deg, rgba(247,250,254,0.95), rgba(255,255,255,0.92)) !important;
    color:#0b1f3a !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta .fi-ta-actions .fi-btn:hover,
:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta .fi-icon-btn:hover {
    border-color:rgba(127,161,242,0.48) !important;
    background:linear-gradient(180deg, rgba(247,250,254,0.98), rgba(247,250,254,0.95)) !important;
    color:#0b1f3a !important;
}

/* Compact and premium row actions (resource tables) */
:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta .fi-ta-actions {
    gap: 6px !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta .fi-ta-actions .fi-btn {
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif !important;
    font-weight: 640 !important;
    letter-spacing: 0.01em !important;
    min-height: 30px !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta .fi-ta-actions .fi-ac-icon-btn-action .fi-btn,
:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta .fi-ta-actions .fi-ac-icon-btn-group .fi-btn {
    min-width: 30px !important;
    width: 30px !important;
    border-radius: 10px !important;
    border:1px solid rgba(124,155,229,0.35) !important;
    background:linear-gradient(180deg, rgba(247,250,254,0.96), rgba(255,255,255,0.93)) !important;
    color:#0b1f3a !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta .fi-ta-actions .fi-ac-icon-btn-action .fi-btn:hover,
:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
:where(
    .fi-page[class*="resource"],
    .fi-page[class*="list-record"],
    .fi-page[class*="create-record"],
    .fi-page[class*="edit-record"],
    .fi-page[class*="view-record"],
    .fi-page[class*="manage-record"],
    .fi-page[class*="manage-related-record"]
) .fi-ta .fi-ta-actions .fi-ac-icon-btn-group .fi-btn:hover {
    border-color:rgba(152,183,255,0.55) !important;
    background:linear-gradient(180deg, rgba(247,250,254,0.98), rgba(247,250,254,0.95)) !important;
    color:#0b1f3a !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-dropdown-list-item-label {
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif !important;
    font-weight: 610 !important;
    letter-spacing: 0.01em !important;
}

/* Force button-like row actions for all Filament tables (including link actions) */
:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
.fi-ta .fi-ta-actions .fi-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 30px !important;
    padding: 0 10px !important;
    border-radius: 10px !important;
    border:1px solid rgba(112,143,214,0.34) !important;
    background:linear-gradient(180deg, rgba(247,250,254,0.96), rgba(255,255,255,0.93)) !important;
    color:#0b1f3a !important;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif !important;
    font-size: 0.77rem !important;
    font-weight: 640 !important;
    letter-spacing: 0.01em !important;
    text-decoration: none !important;
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
.fi-ta .fi-ta-actions .fi-link:hover {
    border-color:rgba(145,178,255,0.56) !important;
    background:linear-gradient(180deg, rgba(247,250,254,0.98), rgba(247,250,254,0.95)) !important;
    color:#0b1f3a !important;
    transform: translateY(-1px);
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
.fi-ta .fi-ta-actions .fi-link:focus-visible {
    outline:none !important;
    box-shadow:0 0 0 3px rgba(73,124,244,0.18) !important;
}

:where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"])
.fi-ta .fi-ta-actions .fi-link .fi-icon {
    width: 14px !important;
    height: 14px !important;
}

.peeryx-permission-matrix {
    display: grid;
    gap: 14px;
}

.peeryx-permission-matrix-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 16px;
    border:1px solid rgba(108,140,214,0.18);
    border-radius: 16px;
    background:linear-gradient(165deg, rgba(255,255,255,0.92), rgba(255,255,255,0.88));
    box-shadow:0 10px 22px rgba(15,40,80,0.18);
}

.peeryx-permission-matrix-subtitle {
    margin: 6px 0 0;
    color:#0b1f3a;
    font-size: 13px;
}

.peeryx-permission-matrix-search-wrp {
    min-width: min(340px, 100%);
    display: block;
}

.peeryx-permission-matrix-search {
    min-height: 38px;
    border-radius: 12px;
    border:1px solid rgba(108,140,214,0.18);
    background:rgba(255,255,255,0.92);
    color:#0b1f3a;
    padding: 0 12px;
    outline:none;
    width: 100%;
}

.peeryx-permission-matrix-search:focus {
    border-color:rgba(115,153,242,0.48);
    box-shadow:0 0 0 3px rgba(2,77,251,0.15);
}

.peeryx-permission-matrix-panels {
    display: grid;
    gap: 14px;
}

.peeryx-permission-panel {
    border:1px solid rgba(108,140,214,0.18);
    border-radius: 18px;
    background:linear-gradient(165deg, rgba(255,255,255,0.94), rgba(255,255,255,0.9));
    box-shadow:0 12px 24px rgba(15,40,80,0.18);
    overflow: hidden;
}

.peeryx-permission-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 16px;
    border-bottom:1px solid rgba(108,140,214,0.12);
    background:linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.78));
}

.peeryx-permission-panel-title {
    margin: 0;
    font-size: 17px;
    font-weight: 760;
    color:#0b1f3a;
}

.peeryx-permission-panel-actions,
.peeryx-permission-module-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.peeryx-permission-counter {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border:1px solid rgba(112,147,229,0.28);
    background:rgba(247,250,254,0.34);
    color:#0b1f3a;
    font-size: 11px;
    font-weight: 650;
}

.peeryx-permission-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border:1px solid rgba(112,147,229,0.32);
    background:linear-gradient(180deg, rgba(247,250,254,0.96), rgba(255,255,255,0.92));
    color:#0b1f3a;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
}

.peeryx-permission-chip:hover {
    border-color:rgba(136,171,252,0.52);
    background:linear-gradient(180deg, rgba(247,250,254,0.98), rgba(247,250,254,0.95));
}

.peeryx-permission-chip-muted {
    background:rgba(15,40,80,0.03);
}

.peeryx-permission-modules {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.peeryx-permission-module {
    border:1px solid rgba(108,140,214,0.14);
    border-radius: 14px;
    background:rgba(255,255,255,0.7);
    overflow: hidden;
}

.peeryx-permission-module[open] {
    border-color:rgba(122,158,243,0.3);
    box-shadow:inset 0 0 0 1px rgba(79,123,225,0.1);
}

.peeryx-permission-module-summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 14px;
    cursor: pointer;
}

.peeryx-permission-module-summary::-webkit-details-marker {
    display: none;
}

.peeryx-permission-module-title {
    margin: 0;
    font-size: 14px;
    font-weight: 720;
    color:#0b1f3a;
}

.peeryx-permission-module-description {
    margin: 6px 0 0;
    color:#0b1f3a;
    font-size: 13px;
    max-width: 80ch;
}

.peeryx-permission-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 14px 14px;
}

.peeryx-permission-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border:1px solid rgba(108,140,214,0.12);
    border-radius: 12px;
    background:linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.82));
    cursor: pointer;
}

.peeryx-permission-item:hover {
    border-color:rgba(126,162,246,0.3);
    background:linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.88));
}

.peeryx-permission-checkbox {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #02aafb;
}

.peeryx-permission-item-content {
    display: grid;
    gap: 4px;
}

.peeryx-permission-item-label {
    color:#0b1f3a;
    font-size: 12px;
    font-weight: 640;
    line-height: 1.3;
}

.peeryx-permission-item-description {
    color:#0b1f3a;
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .peeryx-permission-panel-header,
    .peeryx-permission-module-summary {
        flex-direction: column;
    }

    .peeryx-permission-matrix-search-wrp {
        min-width: 100%;
    }

    .peeryx-permission-list {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1180px) {
    .peeryx-permission-matrix-panels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

/* Auth responsive hardening */
.auth-link-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px 14px;
    flex-wrap: wrap;
    min-width: 0;
}

.auth-link-row-end {
    justify-content: flex-end;
}

.auth-link {
    color:var(--text-secondary);
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.auth-link:hover,
.auth-link:focus-visible {
    color:var(--text-primary);
}

.auth-link-primary {
    color:var(--brand-cyan, var(--primary));
}

body.peeryx-auth-body .auth-shell,
body.peeryx-auth-body .auth-grid,
body.peeryx-auth-body .auth-brand,
body.peeryx-auth-body .auth-panel {
    min-width: 0;
    max-width: 100%;
}

body.peeryx-auth-body .auth-brand h1,
body.peeryx-auth-body .auth-brand p,
body.peeryx-auth-body .auth-list,
body.peeryx-auth-body .auth-title,
body.peeryx-auth-body .auth-trust {
    overflow-wrap: anywhere;
}

@media (max-width: 980px) {
    body.peeryx-auth-body {
        overflow-x: hidden !important;
    }

    body.peeryx-auth-body .auth-shell {
        min-height: auto;
        width: 100%;
        place-items: start center;
        align-content: start;
        padding: 72px 12px 18px;
    }

    body.peeryx-auth-body .auth-grid {
        width: 100%;
        max-width: 100%;
    }

    body.peeryx-auth-body .auth-brand {
        padding: 24px 18px;
    }

    body.peeryx-auth-body .auth-panel {
        padding: 20px 18px 22px;
    }

    .auth-locale-switch {
        top: 10px;
        right: 10px;
        max-width: calc(100vw - 20px);
    }
}

@media (max-width: 520px) {
    body.peeryx-auth-body .auth-shell {
        padding-inline: 10px;
        place-items: start;
        justify-items: start;
    }

    body.peeryx-auth-body .auth-grid {
        width: min(100%, calc(100vw - 20px));
        max-width: 370px;
        border-radius: 14px;
    }

    .auth-locale-switch {
        left: 10px;
        right: auto;
    }

    body.peeryx-auth-body .auth-brand {
        padding: 22px 16px;
    }

    body.peeryx-auth-body .auth-brand h1 {
        font-size: clamp(26px, 8.4vw, 34px);
    }

    body.peeryx-auth-body .auth-list {
        padding-left: 16px;
    }

body.peeryx-auth-body .auth-panel {
    padding: 18px 16px 20px;
}

    body.peeryx-auth-body .auth-title {
        font-size: 28px;
    }

    .auth-link-row,
    .auth-link-row-end {
        justify-content: flex-start;
    }
}

/* Dedicated fleet operations: simple NOC controls */
.fleet-ops-board,
.fleet-ops-board :where(section, article, div, label, a, span, strong, small, p, td, th, button) {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.fleet-simple-panel {
    padding: 16px;
    margin-top: 18px;
}

.fleet-ops-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.fleet-ops-card {
    display: grid;
    gap: 5px;
    min-height: 112px;
    padding: 13px 14px;
    border-radius: 14px;
    border:1px solid rgba(116,148,224,0.2);
    background:linear-gradient(165deg, rgba(255,255,255,0.92), rgba(255,255,255,0.86));
    color:#0b1f3a;
    text-align: left;
    cursor: pointer;
}

.fleet-ops-card:hover {
    border-color:rgba(123,161,250,0.44);
    background:linear-gradient(165deg, rgba(255,255,255,0.96), rgba(247,250,254,0.9));
}

.fleet-ops-card span {
    font-size: 12px;
    color:rgba(40,68,134,0.94);
    font-weight: 650;
}

.fleet-ops-card strong {
    font-size: 28px;
    line-height: 1;
    color:#0b1f3a;
}

.fleet-ops-card small {
    color:rgba(11,31,58,0.92);
    font-size: 12px;
    line-height: 1.35;
}

.fleet-ops-card-healthy {
    border-color:rgba(57, 217, 138, 0.28);
}

.fleet-ops-card-warning {
    border-color:rgba(255, 200, 87, 0.28);
}

.fleet-ops-card-danger {
    border-color:rgba(255, 93, 115, 0.34);
}

.fleet-filter-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fleet-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    border:1px solid rgba(113,145,221,0.24);
    background:rgba(15,40,80,0.03);
    color:#0b1f3a;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
}

.fleet-filter-chip.active,
.fleet-filter-chip:hover {
    border-color:rgba(122,159,247,0.48);
    background:rgba(2,77,251,0.14);
    color:#0b1f3a;
}

.fleet-ops-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 10px;
    margin-top: 12px;
}

.fleet-ops-summary > div,
.fleet-action-item,
.fleet-clear-state {
    border:1px solid rgba(107,138,211,0.18);
    border-radius: 12px;
    background:rgba(246,248,252,0.62);
}

.fleet-ops-summary > div {
    padding: 11px 12px;
}

.fleet-ops-summary strong {
    display: block;
    color:#0b1f3a;
    font-size: 13px;
    margin-bottom: 4px;
}

.fleet-ops-summary p {
    margin: 0;
    color:rgba(11,31,58,0.94);
    font-size: 12px;
    line-height: 1.45;
}

.fleet-action-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.fleet-action-item {
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 10px 12px;
    color:#0b1f3a;
    text-align: left;
    cursor: pointer;
}

.fleet-action-item strong {
    font-size: 13px;
}

.fleet-action-item span {
    color:rgba(11,31,58,0.94);
    font-size: 12px;
    line-height: 1.4;
}

.fleet-action-danger {
    border-color:rgba(255, 93, 115, 0.28);
}

.fleet-action-warning {
    border-color:rgba(255, 200, 87, 0.26);
}

.fleet-clear-state {
    margin-top: 12px;
}

.fleet-machine-hint {
    margin-top: 8px;
    padding: 7px 8px;
    border-radius: 10px;
    border:1px solid rgba(107,138,211,0.18);
    background:rgba(246,248,252,0.5);
    color:rgba(11,31,58,0.94);
    font-size: 11px;
    line-height: 1.35;
}

.fleet-machine-hint-healthy {
    border-color:rgba(57, 217, 138, 0.24);
}

.fleet-machine-hint-warning {
    border-color:rgba(255, 200, 87, 0.24);
}

.fleet-machine-hint-danger {
    border-color:rgba(255, 93, 115, 0.3);
}

.fleet-ops-board .peeryx-admin-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.fleet-ops-board .peeryx-admin-table :where(th, td) {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.fleet-ops-board :where(.fi-btn, button, input, select) {
    max-width: 100%;
}

@media (max-width: 1100px) {
    .fleet-ops-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .fleet-simple-panel {
        padding: 13px;
    }

    .fleet-ops-cards,
    .fleet-ops-summary {
        grid-template-columns: 1fr;
    }

    .fleet-filter-chip {
        flex: 1 1 calc(50% - 8px);
    }

    .fleet-ops-board .peeryx-admin-table {
        min-width: 780px;
    }
}

/* Grafana admin responsive hardening */
body:has(.grafana-board) {
    overflow-x: hidden;
}

.grafana-board,
.grafana-board :where(section, article, div, label, a, span, strong, small, p, td, th) {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.grafana-board :where(.peeryx-panel-utility, .ghr-panel, .grafana-strip, .grafana-auto-row, .grafana-vendor-card, .ghr-mini) {
    min-width: 0 !important;
    max-width: 100% !important;
}

.grafana-board .peeryx-grid,
.grafana-board .peeryx-grid-2,
.grafana-board .peeryx-grid-3,
.grafana-board .peeryx-grid-4 {
    min-width: 0;
    max-width: 100%;
}

.grafana-board .peeryx-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grafana-board .peeryx-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr));
}

.grafana-board .peeryx-admin-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.grafana-board .peeryx-admin-table {
    table-layout: fixed;
}

.grafana-board .peeryx-admin-table :where(th, td) {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.grafana-board .peeryx-admin-table .status-cell,
.grafana-board .fi-badge,
.grafana-board .grafana-gauge strong,
.grafana-board .grafana-gauge small {
    word-break: normal;
}

.grafana-board :where(.fi-btn, button, select, input) {
    max-width: 100%;
}

.grafana-board :where(.fi-btn, button) {
    min-height: 34px;
    white-space: normal;
    line-height: 1.2;
}

.grafana-board :where(svg, canvas) {
    max-width: 100%;
}

.grafana-cell-note,
.grafana-long-cell {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 900px) {
    .grafana-board .peeryx-grid,
    .grafana-board .peeryx-grid-2,
    .grafana-board .peeryx-grid-3,
    .grafana-board .peeryx-grid-4 {
        grid-template-columns: 1fr;
    }

    .grafana-board .peeryx-section-head,
    .grafana-board .peeryx-section-title,
    .grafana-board .grafana-panel-title {
        min-width: 0;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    /* Mobile topbar: trim the portal user-actions so the group no longer
       overlaps the brand logo on narrow screens. Secondary items move into the
       sidebar / their dropdowns; the wallet keeps its icon (drops the €0 text). */
    .peeryx-topbar-console,
    .peeryx-topbar-quick-links {
        display: none !important;
    }

    .peeryx-topbar-wallet-pill {
        display: none !important;
    }

    /* Drop the wallet menu (top-up lives on the billing page) and the status pill
       on phones so the action group stops overlapping the brand logo. */
    .peeryx-topbar-menu:has(.peeryx-topbar-icon-btn-wallet),
    .peeryx-topbar-status {
        display: none !important;
    }

    .fi-topbar .fi-logo {
        max-height: 28px;
        width: auto;
    }

    .peeryx-topbar-user-actions {
        gap: 4px;
    }

    .grafana-board .peeryx-admin-table {
        min-width: 680px;
    }

    .grafana-board .peeryx-admin-table.peeryx-admin-table-sm {
        min-width: 620px;
    }

    .grafana-board .peeryx-admin-table :where(th, td) {
        padding-inline: 9px;
        font-size: 12px;
    }
}

@media (max-width: 1023px) {
    .fi-layout {
        display: block !important;
        position: relative;
    }

    .fi-main-ctn {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }

    .fi-main {
        width: 100% !important;
        max-width: 100% !important;
    }

    .fi-main-sidebar,
    .fi-sidebar.fi-main-sidebar {
        position: fixed !important;
        inset: var(--px-topbar-height, 58px) auto 0 0 !important;
        z-index: 90 !important;
        width: min(280px, 82vw) !important;
        min-width: 0 !important;
        max-width: 82vw !important;
        height: calc(100dvh - var(--px-topbar-height, 58px)) !important;
        max-height: calc(100dvh - var(--px-topbar-height, 58px)) !important;
        transform: translateX(-105%) !important;
        transition: transform 180ms ease !important;
    }

    .fi-main-sidebar.fi-sidebar-open,
    .fi-sidebar.fi-main-sidebar.fi-sidebar-open {
        transform: translateX(0) !important;
    }
}

/* 2026 marketing/client simplification pass */
.mk-modern-hero {
    min-height: min(720px, calc(100vh - 92px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
    align-items: center;
    gap: clamp(18px, 4vw, 46px);
    padding-top: clamp(54px, 7vw, 92px);
    padding-bottom: clamp(34px, 5vw, 64px);
}

.mk-modern-hero-copy h1 {
    margin: 14px 0 0;
    max-width: 780px;
    font-size: clamp(46px, 7vw, 86px);
    line-height: 0.96;
    letter-spacing: 0;
}

.mk-modern-hero-copy p {
    margin: 18px 0 0;
    max-width: 680px;
    color:var(--text-secondary);
    font-size: clamp(16px, 1.7vw, 20px);
    line-height: 1.65;
}

.mk-modern-actions,
.client-focus-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mk-modern-dashboard {
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.14);
    background:linear-gradient(rgba(94,132,220,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(94,132,220,0.06) 1px, transparent 1px),
        linear-gradient(165deg, rgba(246,248,252,0.96), rgba(255,255,255,0.92));
    background-size: 28px 28px, 28px 28px, cover;
    box-shadow:0 26px 54px rgba(15,40,80,0.18);
    padding: clamp(14px, 2.4vw, 24px);
    display: grid;
    gap: 14px;
    min-width: 0;
}

.mk-modern-dashboard header,
.client-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mk-modern-dashboard header strong {
    color:#0b1f3a;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mk-modern-dashboard header span {
    border-radius: 999px;
    background:rgba(57, 217, 138, 0.12);
    border:1px solid rgba(57, 217, 138, 0.32);
    color:#0b1f3a;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 700;
}

.mk-modern-chart {
    min-height: 190px;
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.12);
    background:linear-gradient(180deg, rgba(246,248,252,0.42), rgba(246,248,252,0.58));
    display: flex;
    gap: 9px;
    align-items: flex-end;
    padding: 14px;
}

.mk-modern-chart i {
    flex: 1 1 0;
    min-width: 12px;
    border-radius: 5px 5px 2px 2px;
    background:linear-gradient(180deg, rgba(34,93,231,0.96), rgba(2,77,251,0.28));
    box-shadow:0 0 12px rgba(34,93,231,0.28);
}

.mk-modern-status-grid,
.mk-modern-flow,
.mk-client-preview,
.client-health-grid,
.client-capacity-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mk-modern-status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mk-modern-status-grid div,
.mk-modern-flow div,
.mk-client-preview div,
.client-capacity-list div,
.client-list div {
    min-width: 0;
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.035);
    padding: 10px;
}

.mk-modern-status-grid span,
.mk-modern-flow span,
.mk-client-preview span,
.client-capacity-list span,
.client-list span {
    color:var(--text-muted);
    font-size: 11px;
}

.mk-modern-status-grid strong,
.mk-modern-flow strong,
.mk-client-preview strong,
.client-capacity-list strong,
.client-list strong {
    color:#0b1f3a;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.mk-centered-head {
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
}

.mk-centered-head p {
    margin-inline: auto;
}

.mk-modern-service-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mk-modern-service-card {
    min-width: 0;
    min-height: 220px;
    border-radius: 8px;
    border:1px solid var(--stroke-soft);
    background:linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.88));
    padding: 18px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color:var(--text-primary);
}

.mk-modern-service-card:hover {
    border-color:rgba(34,93,231,0.35);
    transform: translateY(-2px);
}

.mk-modern-service-card span {
    color:var(--teal);
    font-size: 12px;
    font-weight: 800;
}

.mk-modern-service-card h3 {
    margin: auto 0 10px;
    font-size: 22px;
}

.mk-modern-service-card p {
    margin: 0;
    color:var(--text-secondary);
    line-height: 1.6;
}

.mk-simple-split,
.mk-modern-band,
.client-focus-hero {
    border-radius: 8px;
    border:1px solid var(--stroke-soft);
    background:linear-gradient(165deg, rgba(255,255,255,0.94), rgba(255,255,255,0.9));
    padding: clamp(18px, 3vw, 32px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 22px;
    align-items: center;
}

.mk-simple-split h2,
.mk-modern-band h2,
.client-focus-hero h2 {
    margin: 10px 0 0;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.05;
}

.mk-simple-split p,
.client-focus-hero p {
    color:var(--text-secondary);
    line-height: 1.7;
}

.mk-simple-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.mk-simple-steps li {
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.035);
    padding: 11px 12px;
    display: grid;
    gap: 4px;
}

.mk-simple-steps strong {
    font-size: 13px;
}

.mk-simple-steps span {
    color:var(--text-secondary);
    font-size: 12px;
}

.mk-pricing-preview-clean article,
.mk-conversion-band-clean,
.client-panel-clean,
.client-advanced-details {
    border-radius: 8px;
}

.client-focus-hero,
.client-quick-grid {
    margin-bottom: 18px;
}

.client-quick-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-quick-grid a {
    border-radius: 10px;
    border:1px solid var(--stroke-soft);
    background:rgba(15,40,80,0.035);
    padding: 16px 18px;
    display: grid;
    gap: 8px;
    color:var(--text-primary);
    text-decoration: none;
    min-width: 0;
}

.client-quick-grid a:hover {
    border-color:rgba(34,93,231,0.34);
}

.client-quick-grid span,
.client-quick-grid em {
    color:var(--text-muted);
    font-size: 12px;
    font-style: normal;
}

.client-quick-grid strong {
    overflow-wrap: anywhere;
}

.client-delivery-panel {
    margin-bottom: 18px;
    border-radius: 8px;
    border:1px solid rgba(34,93,231,0.18);
    background:linear-gradient(145deg, rgba(255,255,255,0.94), rgba(255,255,255,0.9));
    padding: clamp(16px, 2.4vw, 24px);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 18px;
    align-items: start;
}

.client-delivery-copy h3 {
    margin: 8px 0 8px;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.12;
}

.client-delivery-copy p {
    margin: 0 0 14px;
    color:var(--text-secondary);
    line-height: 1.65;
}

.client-delivery-stack {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.client-delivery-metrics {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-delivery-timeline {
    display: grid;
    gap: 8px;
}

.client-delivery-timeline > div {
    min-width: 0;
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.1);
    background:rgba(15,40,80,0.035);
    padding: 11px 12px;
    display: grid;
    grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.client-delivery-timeline span {
    color:var(--text-muted);
    font-size: 12px;
}

.client-delivery-timeline strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
    color:var(--text-primary);
}

.client-panel-clean {
    padding: 16px;
}

.client-advanced-details {
    margin-bottom: 18px;
    border:1px solid var(--stroke-soft);
    background:rgba(15,40,80,0.025);
    padding: 12px;
}

.client-advanced-details summary {
    cursor: pointer;
    color:#0b1f3a;
    font-weight: 700;
}

.client-list {
    display: grid;
    gap: 8px;
}

.mk-attack-story,
.mk-map-section,
.mk-method-panel,
.mk-signal-lab {
    border-radius: 8px;
    border:1px solid rgba(34,93,231,0.18);
    background:linear-gradient(165deg, rgba(246,248,252,0.96), rgba(255,255,255,0.9));
    padding: clamp(18px, 3vw, 34px);
    display: grid;
    gap: clamp(18px, 3vw, 34px);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 420ms ease, transform 420ms ease;
}

.mk-attack-story.is-visible,
.mk-map-section.is-visible,
.mk-method-panel.is-visible,
.mk-signal-lab.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.mk-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding-top: 0;
}

.mk-trust-strip div,
.mk-logo-wall {
    min-width: 0;
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.035);
    padding: 14px;
}

.mk-trust-strip span,
.mk-logo-wall span {
    display: block;
    color:var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mk-trust-strip strong {
    display: block;
    margin-top: 6px;
    color:#0b1f3a;
    font-size: 14px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.mk-method-panel {
    gap: 24px;
}

.mk-method-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mk-method-grid article {
    position: relative;
    min-width: 0;
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.13);
    background:linear-gradient(180deg, rgba(15,40,80,0.055), rgba(15,40,80,0.025)),
        rgba(246,248,252,0.66);
    padding: 16px;
    overflow: hidden;
}

.mk-method-grid article::after {
    content: "";
    position: absolute;
    inset: auto 14px 0;
    height: 2px;
    border-radius: 999px;
    background:linear-gradient(90deg, #024dfb, #a4ebb0);
    opacity: 0.68;
}

.mk-method-grid span {
    color:#183e95;
    font-size: 12px;
    font-weight: 900;
}

.mk-method-grid h3 {
    margin: 10px 0 8px;
    color:#0b1f3a;
    font-size: 20px;
    line-height: 1.1;
}

.mk-method-grid p {
    margin: 0;
    color:var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.mk-attack-story {
    grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1fr);
    align-items: center;
}

.mk-attack-copy h2,
.mk-map-section h2 {
    margin: 10px 0 0;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.04;
    letter-spacing: 0;
}

.mk-attack-copy p,
.mk-map-section p {
    color:var(--text-secondary);
    line-height: 1.7;
    max-width: 720px;
}

.mk-attack-metrics {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mk-attack-metrics div {
    min-width: 0;
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.035);
    padding: 11px;
    display: grid;
    gap: 3px;
}

.mk-attack-metrics span,
.mk-attack-metrics em {
    color:var(--text-muted);
    font-size: 11px;
    font-style: normal;
}

.mk-attack-metrics strong {
    color:#0b1f3a;
    font-size: 20px;
}

.mk-attack-diagram {
    min-height: 340px;
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.13);
    background:linear-gradient(rgba(15,40,80,0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,40,80,0.045) 1px, transparent 1px),
        linear-gradient(165deg, rgba(246,248,252,0.76), rgba(246,248,252,0.72));
    background-size: 30px 30px, 30px 30px, cover;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    align-items: center;
    padding: clamp(12px, 2vw, 20px);
    overflow: hidden;
}

.mk-attack-lane {
    min-width: 0;
    min-height: 230px;
    position: relative;
    display: grid;
    align-content: center;
    gap: 12px;
}

.mk-attack-lane span {
    color:var(--text-secondary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mk-attack-lane i {
    display: block;
    width: clamp(34px, 6vw, 64px);
    height: 8px;
    border-radius: 999px;
    background:linear-gradient(90deg, transparent, rgba(255, 93, 115, 0.96));
    animation: mk-packet-dirty 2.8s linear infinite;
}

.mk-attack-lane i:nth-child(3) { animation-delay: 0.35s; opacity: 0.9; }
.mk-attack-lane i:nth-child(4) { animation-delay: 0.7s; opacity: 0.75; }
.mk-attack-lane i:nth-child(5) { animation-delay: 1.05s; opacity: 0.64; }
.mk-attack-lane i:nth-child(6) { animation-delay: 1.4s; opacity: 0.56; }

.mk-lane-clean i {
    background:linear-gradient(90deg, rgba(57, 217, 138, 0.92), transparent);
    animation-name: mk-packet-clean;
}

.mk-filter-core {
    width: min(210px, 28vw);
    min-height: 220px;
    border-radius: 8px;
    border:1px solid rgba(34,93,231,0.36);
    background:linear-gradient(180deg, rgba(2,77,251,0.18), rgba(94,132,220,0.08));
    box-shadow:0 0 34px rgba(2,77,251,0.18);
    display: grid;
    place-content: center;
    gap: 9px;
    text-align: center;
}

.mk-filter-core b {
    color:#0b1f3a;
    font-size: 18px;
}

.mk-filter-core span {
    border-radius: 999px;
    border:1px solid rgba(15,40,80,0.14);
    padding: 6px 10px;
    color:#0b1f3a;
    font-size: 12px;
}

@keyframes mk-packet-dirty {
    from { transform: translateX(-12px); }
    to { transform: translateX(48px); }
}

@keyframes mk-packet-clean {
    from { transform: translateX(12px); }
    to { transform: translateX(-48px); }
}

.mk-eu-map {
    position: relative;
    min-height: 520px;
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.12);
    overflow: hidden;
    background:radial-gradient(circle at 48% 46%, rgba(2,77,251,0.18), transparent 28%),
        linear-gradient(rgba(94,132,220,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(94,132,220,0.06) 1px, transparent 1px),
        linear-gradient(165deg, rgba(246,248,252,0.9), rgba(255,255,255,0.82));
    background-size: cover, 36px 36px, 36px 36px, cover;
}

.mk-eu-map::before {
    content: "";
    position: absolute;
    inset: 11% 9% 13%;
    border-radius: 48% 38% 46% 42%;
    border:1px solid rgba(15,40,80,0.1);
    background:radial-gradient(circle at 42% 48%, rgba(2,77,251,0.16), transparent 10%),
        radial-gradient(circle at 36% 68%, rgba(94,132,220,0.12), transparent 9%),
        radial-gradient(circle at 53% 39%, rgba(15,40,80,0.06), transparent 8%);
    opacity: 0.9;
}

.mk-pop {
    position: absolute;
    z-index: 2;
    min-width: 116px;
    border-radius: 8px;
    border:1px solid rgba(34,93,231,0.34);
    background:rgba(246,248,252,0.86);
    box-shadow:0 12px 24px rgba(15,40,80,0.18);
    padding: 8px 10px;
    display: grid;
    gap: 2px;
}

.mk-pop::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    transform: translateY(-50%);
    background:#225de7;
    box-shadow:0 0 0 7px rgba(34,93,231,0.12), 0 0 18px rgba(34,93,231,0.72);
}

.mk-pop strong {
    color:#0b1f3a;
    font-size: 14px;
}

.mk-pop span {
    color:var(--text-secondary);
    font-size: 11px;
}

.mk-pop-paris { left: 42%; top: 45%; }
.mk-pop-mrs { left: 39%; top: 66%; }
.mk-pop-ams { left: 48%; top: 24%; }
.mk-pop-fra { left: 57%; top: 40%; }
.mk-pop-mad { left: 34%; top: 76%; }

.mk-map-line {
    position: absolute;
    z-index: 1;
    height: 2px;
    border-radius: 999px;
    background:linear-gradient(90deg, rgba(34,93,231,0), rgba(34,93,231,0.75), rgba(34,93,231,0));
    transform-origin: left center;
    opacity: 0.82;
}

.mk-map-line-a {
    left: 45%;
    top: 49%;
    width: 180px;
    transform: rotate(-12deg);
}

.mk-map-line-b {
    left: 43%;
    top: 52%;
    width: 140px;
    transform: rotate(58deg);
}

.mk-map-card {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    width: min(320px, calc(100% - 32px));
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.14);
    background:rgba(246,248,252,0.88);
    padding: 14px;
}

.mk-map-card span {
    color:var(--teal);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mk-map-card strong {
    display: block;
    margin-top: 6px;
    color:#0b1f3a;
}

.mk-map-card p {
    margin: 6px 0 0;
    color:var(--text-secondary);
    font-size: 12px;
}

.mk-signal-lab {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
    align-items: center;
}

.mk-signal-lab h2 {
    margin: 10px 0;
    color:#0b1f3a;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.04;
    letter-spacing: 0;
}

.mk-signal-lab p {
    margin: 0;
    color:var(--text-secondary);
    line-height: 1.72;
}

.mk-signal-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mk-signal-board div {
    min-width: 0;
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.13);
    background:rgba(15,40,80,0.04);
    padding: 14px;
}

.mk-signal-board span,
.mk-signal-board em {
    color:var(--text-muted);
    font-size: 11px;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.mk-signal-board strong {
    display: block;
    margin: 8px 0;
    color:#0b1f3a;
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.05;
}

.mk-logo-wall {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mk-logo-wall span {
    margin-right: auto;
}

.mk-logo-wall strong {
    border-radius: 999px;
    border:1px solid rgba(2,77,251,0.22);
    background:rgba(2,77,251,0.07);
    color:rgba(11,31,58,0.82);
    padding: 9px 12px;
    font-size: 13px;
    line-height: 1;
}

.mk-attack-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.mk-attack-keywords span,
.mk-post-hero .mk-proof-rail span {
    border-radius: 999px;
    border:1px solid rgba(2,77,251,0.22);
    background:rgba(2,77,251,0.08);
    color:rgba(11,31,58,0.82);
    padding: 8px 11px;
    font-size: 12px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.mk-blog-hero {
    max-width: 920px;
    text-align: center;
}

.mk-blog-hero h1,
.mk-post-hero h1 {
    margin: 12px 0 16px;
    color:#0b1f3a;
    font-size: clamp(38px, 7vw, 78px);
    line-height: .96;
    letter-spacing: 0;
}

.mk-blog-hero p,
.mk-post-hero p {
    margin: 0 auto;
    color:var(--text-secondary);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.75;
    max-width: 820px;
}

.mk-blog-grid,
.mk-blog-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mk-blog-card {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    gap: 11px;
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(246,248,252,0.74);
    color:inherit;
    padding: 18px;
    text-decoration: none;
    box-shadow:0 20px 70px rgba(15,40,80,0.18);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.mk-blog-card:hover {
    transform: translateY(-3px);
    border-color:rgba(2,77,251,0.42);
    background:rgba(255,255,255,0.86);
}

.mk-blog-card span {
    color:#183e95;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.mk-blog-card h2,
.mk-blog-card h3 {
    margin: 0;
    color:#0b1f3a;
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.18;
    letter-spacing: 0;
}

.mk-blog-card p {
    margin: 0;
    color:var(--text-secondary);
    line-height: 1.62;
}

.mk-blog-card em {
    margin-top: auto;
    color:var(--text-muted);
    font-style: normal;
    font-size: 13px;
}

.mk-blog-card-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 7px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(15,40,80,0.04);
}

.mk-blog-card-media img,
.mk-post-hero-media img,
.mk-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mk-post-shell {
    max-width: 980px;
}

.mk-post-hero {
    text-align: center;
}

.mk-post-body {
    display: grid;
    gap: 14px;
    margin-top: 40px;
}

.mk-post-hero-media {
    margin: 30px auto 0;
    max-width: 920px;
    aspect-ratio: 16 / 8.4;
    overflow: hidden;
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.13);
    background:rgba(15,40,80,0.04);
    box-shadow:0 28px 90px rgba(15,40,80,0.18);
}

.mk-post-image {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(246,248,252,0.72);
}

.mk-post-image img {
    aspect-ratio: 16 / 9;
}

.mk-post-image figcaption {
    padding: 12px 16px;
    color:var(--text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.client-guides-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.client-guide-card {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    gap: 10px;
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.16);
    background:rgba(255,255,255,0.56);
    padding: 14px;
    color:inherit;
    text-decoration: none;
}

.client-guide-card:hover {
    border-color:rgba(14,80,233,0.42);
    background:rgba(255,255,255,0.72);
}

.client-guide-card-media {
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 7px;
    background:rgba(148, 163, 184, 0.12);
}

.client-guide-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-guide-card strong {
    color:var(--text-primary, #0b1f3a);
    font-size: 16px;
    line-height: 1.25;
}

.client-guide-card small,
.client-guide-card p {
    color:var(--text-secondary, #0b1f3a);
}

.client-guide-card p {
    margin: 0;
    line-height: 1.55;
}

.mk-post-block,
.mk-post-metric,
.mk-post-cta,
.mk-post-quote {
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(246,248,252,0.72);
    padding: clamp(18px, 3vw, 30px);
}

.mk-post-block h2,
.mk-post-cta h2 {
    margin: 0 0 12px;
    color:#0b1f3a;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    letter-spacing: 0;
}

.mk-post-block p,
.mk-post-cta p,
.mk-post-metric p,
.mk-post-rich,
.mk-post-quote blockquote {
    margin: 0;
    color:var(--text-secondary);
    line-height: 1.78;
}

.mk-post-rich {
    display: grid;
    gap: 10px;
}

.mk-post-rich p,
.mk-post-rich ul,
.mk-post-rich ol,
.mk-post-rich blockquote,
.mk-post-rich pre {
    margin: 0;
}

.mk-post-rich ul,
.mk-post-rich ol,
.mk-post-checklist ul {
    display: grid;
    gap: 8px;
    padding-left: 20px;
}

.mk-post-rich a {
    color:#183e95;
    text-decoration: underline;
    text-decoration-color: rgba(125, 231, 255, 0.36);
    text-underline-offset: 3px;
}

.mk-post-rich h2,
.mk-post-rich h3,
.mk-post-rich h4 {
    margin: 0;
    color:#0b1f3a;
    line-height: 1.16;
    letter-spacing: 0;
}

.mk-post-rich blockquote,
.mk-post-quote {
    border-color:rgba(164, 235, 176, 0.22);
    background:linear-gradient(135deg, rgba(164, 235, 176, 0.08), transparent 42%),
        rgba(246,248,252,0.72);
}

.mk-post-quote blockquote {
    border-left:3px solid rgba(164, 235, 176, 0.74);
    padding-left: 14px;
    font-size: clamp(18px, 2.2vw, 24px);
}

.mk-post-quote span {
    display: block;
    margin-top: 12px;
    color:var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mk-post-checklist li::marker {
    color:#183e95;
}

.mk-post-metric {
    display: grid;
    grid-template-columns: minmax(0, .65fr) minmax(0, .35fr);
    align-items: center;
    gap: 14px;
}

.mk-post-metric span {
    color:var(--text-muted);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .08em;
}

.mk-post-metric strong {
    color:#0b1f3a;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1;
    text-align: right;
}

.mk-post-metric p {
    grid-column: 1 / -1;
}

.mk-post-cta {
    background:linear-gradient(135deg, rgba(2,77,251,0.18), rgba(164, 235, 176, 0.1));
}

.mk-post-cta .mk-btn {
    margin-top: 16px;
}

/* 2026-05-23 blog editorial polish */
.mk-blog-hero-pro {
    max-width: 1180px;
    text-align: left;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: end;
    gap: 24px;
    padding-top: 56px;
}

.mk-blog-hero-copy {
    min-width: 0;
}

.mk-blog-hero-pro h1 {
    max-width: 920px;
    font-size: 58px;
    line-height: 1;
}

.mk-blog-hero-pro p {
    margin-left: 0;
    margin-right: 0;
    max-width: 760px;
}

.mk-blog-hero-stats {
    display: grid;
    gap: 10px;
}

.mk-blog-hero-stats span {
    display: grid;
    gap: 2px;
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(246,248,252,0.72);
    padding: 14px;
    color:var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.mk-blog-hero-stats strong {
    color:#0b1f3a;
    font-size: 28px;
    line-height: 1;
}

.mk-blog-section-head {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.mk-blog-section-head h2 {
    position: relative;
    margin-bottom: 0;
    padding-bottom: 14px;
    font-size: 34px;
}

.mk-blog-section-head h2::after,
.mk-post-rich h2::after,
.mk-post-block h2::after,
.mk-post-cta h2::after {
    content: "";
    display: block;
    width: 74px;
    height: 2px;
    margin-top: 12px;
    border-radius: 999px;
    background:linear-gradient(90deg, #225de7, rgba(164, 235, 176, 0.72));
}

.mk-blog-section-head p {
    margin: 0;
    color:var(--text-secondary);
    max-width: 760px;
    line-height: 1.7;
}

.mk-blog-featured-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 14px;
}

.mk-blog-side-stack {
    display: grid;
    gap: 14px;
}

.mk-blog-card-kicker {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    border:1px solid rgba(34,93,231,0.18);
    background:rgba(34,93,231,0.07);
    padding: 6px 9px;
}

.mk-blog-card-featured {
    padding: 20px;
}

.mk-blog-card-featured .mk-blog-card-media {
    aspect-ratio: 16 / 8.2;
}

.mk-blog-card-featured h2 {
    font-size: 32px;
    line-height: 1.08;
}

.mk-blog-card-compact {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    align-items: start;
    min-height: 0;
}

.mk-blog-card-compact .mk-blog-card-media {
    grid-row: span 3;
    aspect-ratio: 4 / 3;
}

.mk-blog-card-compact h3 {
    font-size: 18px;
}

.mk-blog-grid-pro,
.mk-blog-grid-related {
    gap: 16px;
}

.mk-post-shell-pro {
    max-width: 1180px;
}

.mk-post-hero-pro {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(360px, .76fr);
    align-items: center;
    gap: 26px;
    text-align: left;
}

.mk-post-hero-copy {
    min-width: 0;
}

.mk-post-hero-pro h1 {
    margin-top: 14px;
    font-size: 54px;
    line-height: 1.02;
}

.mk-post-hero-pro p {
    margin-left: 0;
    margin-right: 0;
    max-width: 720px;
}

.mk-post-hero-pro .mk-proof-rail {
    justify-content: flex-start;
}

.mk-post-back {
    display: inline-flex;
    margin-bottom: 14px;
    color:var(--text-muted);
    text-decoration: none;
    font-size: 13px;
}

.mk-post-back:hover {
    color:#0b1f3a;
}

.mk-post-hero-pro .mk-post-hero-media {
    margin: 0;
    aspect-ratio: 16 / 10;
}

.mk-post-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
    margin-top: 36px;
    align-items: start;
}

.mk-post-aside {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 10px;
    border-radius: 8px;
    border:1px solid rgba(15,40,80,0.12);
    background:rgba(246,248,252,0.72);
    padding: 16px;
}

.mk-post-aside span {
    color:#183e95;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.mk-post-aside strong {
    color:#0b1f3a;
    font-size: 18px;
    line-height: 1.2;
}

.mk-post-aside p {
    margin: 0;
    color:var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.mk-post-body {
    margin-top: 0;
}

.mk-post-rich {
    font-size: 16px;
}

.mk-post-rich h2 {
    margin-top: 12px;
    font-size: 30px;
}

.mk-post-rich h3 {
    margin-top: 8px;
    font-size: 23px;
}

.mk-post-rich p {
    max-width: 78ch;
}

.mk-post-rich li {
    line-height: 1.7;
}

.mk-related-section {
    padding-top: 12px;
}

@media (max-width: 1100px) {
    .mk-blog-hero-pro,
    .mk-blog-featured-layout,
    .mk-post-hero-pro,
    .mk-post-layout {
        grid-template-columns: 1fr;
    }

    .mk-post-aside {
        position: static;
    }
}

@media (max-width: 760px) {
    .mk-blog-hero-pro {
        padding-top: 36px;
    }

    .mk-blog-hero-pro h1,
    .mk-post-hero-pro h1 {
        font-size: 36px;
    }

    .mk-blog-section-head h2 {
        font-size: 28px;
    }

    .mk-blog-card-featured h2 {
        font-size: 24px;
    }

    .mk-blog-card-compact {
        grid-template-columns: 1fr;
    }

    .mk-blog-card-compact .mk-blog-card-media {
        grid-row: auto;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 1180px) {
    .mk-modern-hero,
    .mk-simple-split,
    .mk-modern-band,
    .client-focus-hero,
    .client-delivery-panel,
    .mk-attack-story,
    .mk-signal-lab {
        grid-template-columns: 1fr;
    }

    .mk-modern-service-grid,
    .client-quick-grid,
    .client-delivery-metrics,
    .mk-trust-strip,
    .mk-method-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mk-attack-diagram {
        grid-template-columns: 1fr;
    }

    .mk-filter-core {
        width: 100%;
        min-height: 150px;
    }
}

@media (max-width: 700px) {
    .mk-modern-service-grid,
    .client-quick-grid,
    .mk-modern-status-grid,
    .mk-modern-flow,
    .mk-client-preview,
    .client-health-grid,
    .client-delivery-metrics,
    .client-capacity-list,
    .mk-attack-metrics,
    .mk-trust-strip,
    .mk-method-grid,
    .mk-signal-board {
        grid-template-columns: 1fr;
    }

    .client-delivery-timeline > div {
        grid-template-columns: 1fr;
    }

    .mk-modern-hero-copy h1 {
        font-size: clamp(38px, 14vw, 62px);
    }

    .mk-eu-map {
        min-height: 620px;
    }

    .mk-pop {
        min-width: 104px;
    }

    .mk-pop-paris { left: 32%; top: 38%; }
    .mk-pop-mrs { left: 26%; top: 56%; }
    .mk-pop-ams { left: 38%; top: 18%; }
    .mk-pop-fra { left: 48%; top: 31%; }
    .mk-pop-mad { left: 22%; top: 72%; }

    .mk-blog-grid,
    .mk-blog-strip,
    .mk-post-metric,
    .client-guides-grid {
        grid-template-columns: 1fr;
    }

    .mk-post-metric strong {
        text-align: left;
    }
}

/* 2026-05-23 public showcase refinement */
.peeryx-marketing-body main {
    overflow: clip;
}

.peeryx-marketing-body .mk-section {
    scroll-margin-top: 96px;
}

.mk-modern-hero {
    position: relative;
    isolation: isolate;
}

.mk-modern-hero::before {
    content: "";
    position: absolute;
    inset: 28px -7vw auto;
    height: min(430px, 44vw);
    z-index: -1;
    background:linear-gradient(115deg, rgba(34,93,231,0.12), transparent 34%),
        repeating-linear-gradient(135deg, rgba(15,40,80,0.06) 0 1px, transparent 1px 28px);
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 72%, transparent);
    opacity: 0.72;
    pointer-events: none;
}

.mk-modern-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    z-index: -1;
    background:linear-gradient(90deg, transparent, rgba(34,93,231,0.42), rgba(164, 235, 176, 0.28), transparent);
}

.mk-modern-hero-copy {
    min-width: 0;
}

.mk-modern-hero-copy h1,
.mk-section-head h2,
.mk-attack-copy h2,
.mk-signal-lab h2,
.mk-simple-split h2,
.mk-modern-band h2,
.mk-conversion-band-clean h2 {
    text-wrap: balance;
}

.mk-modern-hero-copy p,
.mk-section-head p,
.mk-attack-copy p,
.mk-signal-lab p,
.mk-simple-split p,
.mk-conversion-band-clean p {
    text-wrap: pretty;
}

.mk-proof-rail-compact {
    align-items: stretch;
    gap: 8px;
}

.mk-proof-rail-compact span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    border-color:rgba(164, 235, 176, 0.28);
    background:linear-gradient(135deg, rgba(164, 235, 176, 0.1), rgba(34,93,231,0.06)),
        rgba(15,40,80,0.035);
    color:rgba(11,31,58,0.9);
    box-shadow:inset 0 1px 0 rgba(15,40,80,0.06);
}

.mk-modern-dashboard {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    box-shadow:0 30px 70px rgba(15,40,80,0.18),
        inset 0 1px 0 rgba(15,40,80,0.08);
}

.mk-modern-dashboard::before {
    content: "";
    position: absolute;
    inset: 0;
    background:linear-gradient(120deg, rgba(15,40,80,0.06), transparent 28%),
        linear-gradient(180deg, rgba(34,93,231,0.08), transparent 46%);
    pointer-events: none;
}

.mk-modern-dashboard::after {
    content: "";
    position: absolute;
    inset: -30% -60%;
    background:linear-gradient(115deg, transparent 42%, rgba(15,40,80,0.06) 48%, transparent 55%);
    transform: translateX(-36%);
    animation: mk-dashboard-sheen 8s ease-in-out infinite;
    pointer-events: none;
}

.mk-modern-dashboard > * {
    position: relative;
    z-index: 1;
}

.mk-modern-chart {
    position: relative;
    overflow: hidden;
}

.mk-modern-chart::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: 42%;
    height: 2px;
    border-radius: 999px;
    background:linear-gradient(90deg, rgba(164, 235, 176, 0), rgba(164, 235, 176, 0.72), rgba(2,77,251,0.42), rgba(164, 235, 176, 0));
    box-shadow:0 0 18px rgba(164, 235, 176, 0.18);
}

.mk-modern-chart i {
    transform-origin: bottom;
    animation: mk-bars-breathe 5.5s ease-in-out infinite;
}

.mk-modern-chart i:nth-child(2n) {
    animation-delay: 0.5s;
}

.mk-modern-status-grid div,
.mk-modern-flow div,
.mk-client-preview div,
.mk-trust-strip div,
.mk-attack-metrics div,
.mk-signal-board div,
.mk-simple-steps li,
.mk-pricing-preview-clean article,
.mk-blog-card {
    box-shadow:inset 0 1px 0 rgba(15,40,80,0.055);
}

.mk-trust-strip {
    margin-top: clamp(-16px, -1vw, 0px);
}

.mk-trust-strip div {
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.mk-trust-strip div:hover,
.mk-modern-service-card:hover,
.mk-method-grid article:hover,
.mk-pricing-preview-clean article:hover,
.mk-blog-card:hover {
    border-color:rgba(34,93,231,0.44);
    background-color:rgba(255,255,255,0.86);
}

.mk-method-panel,
.mk-attack-story,
.mk-map-section,
.mk-signal-lab,
.mk-simple-split,
.mk-modern-band,
.mk-conversion-band-clean {
    position: relative;
    overflow: hidden;
    box-shadow:0 24px 70px rgba(15,40,80,0.18),
        inset 0 1px 0 rgba(15,40,80,0.055);
}

.mk-method-panel::before,
.mk-attack-story::before,
.mk-map-section::before,
.mk-signal-lab::before,
.mk-simple-split::before,
.mk-modern-band::before,
.mk-conversion-band-clean::before {
    content: "";
    position: absolute;
    inset: 0;
    background:linear-gradient(130deg, rgba(34,93,231,0.1), transparent 34%),
        repeating-linear-gradient(90deg, rgba(15,40,80,0.035) 0 1px, transparent 1px 34px);
    opacity: 0.42;
    pointer-events: none;
}

.mk-attack-story,
.mk-map-section,
.mk-method-panel,
.mk-signal-lab {
    opacity: 1;
    transform: none;
}

.mk-method-panel > *,
.mk-attack-story > *,
.mk-map-section > *,
.mk-signal-lab > *,
.mk-simple-split > *,
.mk-modern-band > *,
.mk-conversion-band-clean > * {
    position: relative;
    z-index: 1;
}

.mk-method-grid article,
.mk-modern-service-card,
.mk-pricing-preview-clean article,
.mk-blog-card {
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.mk-method-grid article:hover,
.mk-modern-service-card:hover,
.mk-pricing-preview-clean article:hover,
.mk-blog-card:hover {
    transform: translateY(-3px);
    box-shadow:0 18px 44px rgba(15,40,80,0.18);
}

.mk-modern-service-card {
    position: relative;
    overflow: hidden;
}

.mk-modern-service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 3px;
    border-radius: 0 999px 999px 0;
    background:linear-gradient(180deg, #225de7, #a4ebb0);
    opacity: 0.72;
}

.mk-modern-service-card h3,
.mk-modern-service-card p,
.mk-modern-service-card span {
    position: relative;
    z-index: 1;
}

.mk-attack-diagram {
    position: relative;
}

.mk-attack-diagram::before {
    content: "";
    position: absolute;
    inset: 50% 18%;
    height: 2px;
    border-radius: 999px;
    background:linear-gradient(90deg, rgba(255, 93, 115, 0.54), rgba(34,93,231,0.82), rgba(57, 217, 138, 0.6));
    opacity: 0.68;
}

.mk-filter-core {
    position: relative;
    overflow: hidden;
}

.mk-filter-core::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 6px;
    border:1px solid rgba(15,40,80,0.1);
}

.mk-eu-map {
    box-shadow:inset 0 0 0 1px rgba(15,40,80,0.03), 0 22px 58px rgba(15,40,80,0.18);
}

.mk-eu-map::after {
    content: "";
    position: absolute;
    inset: 0;
    background:linear-gradient(90deg, transparent 0 16%, rgba(34,93,231,0.08) 16% 16.4%, transparent 16.4% 100%),
        linear-gradient(0deg, transparent 0 34%, rgba(164, 235, 176, 0.08) 34% 34.3%, transparent 34.3% 100%);
    opacity: 0.7;
    pointer-events: none;
}

.mk-pop,
.mk-map-card {
    backdrop-filter: blur(12px);
}

.mk-logo-wall {
    justify-content: flex-end;
}

.mk-logo-wall strong {
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.mk-logo-wall strong:hover {
    border-color:rgba(164, 235, 176, 0.36);
    background:rgba(164, 235, 176, 0.09);
    color:#0b1f3a;
}

.mk-conversion-band-clean {
    text-align: center;
    background:linear-gradient(135deg, rgba(34,93,231,0.18), rgba(164, 235, 176, 0.1)),
        linear-gradient(165deg, rgba(246,248,252,0.96), rgba(255,255,255,0.92));
}

.mk-conversion-band-clean .mk-modern-actions {
    justify-content: center;
}

/* 2026-05-24 marketing locale switch + blog responsive fixes */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border:0 !important;
}

.peeryx-locale-switcher {
    flex: 0 0 auto;
    min-width: 0;
}

.peeryx-locale-switcher select {
    max-width: 142px;
    line-height: 1;
    color-scheme: dark;
    cursor: pointer;
}

.peeryx-locale-switcher select option {
    background:#ffffff;
    color:#0b1f3a;
}

.mk-actions .peeryx-locale-switcher select {
    min-width: 92px;
}

.mk-mobile-nav-actions .peeryx-locale-switcher,
.mk-mobile-nav-actions .peeryx-locale-switcher select {
    width: 100%;
    max-width: none;
}

.mk-mobile-nav-actions .peeryx-locale-switcher select {
    min-height: 42px;
    padding-inline: 12px 34px;
}

.mk-blog-hero-pro,
.mk-post-hero-pro,
.mk-blog-featured-layout,
.mk-post-layout,
.mk-blog-grid,
.mk-blog-grid-pro,
.mk-blog-grid-related,
.mk-blog-side-stack,
.mk-post-body {
    min-width: 0;
}

.mk-blog-card,
.mk-post-block,
.mk-post-metric,
.mk-post-cta,
.mk-post-quote,
.mk-post-aside,
.mk-post-hero-copy,
.mk-blog-hero-copy {
    overflow-wrap: anywhere;
}

.mk-blog-card h2,
.mk-blog-card h3,
.mk-post-hero-pro h1,
.mk-blog-hero-pro h1,
.mk-post-rich h2,
.mk-post-rich h3,
.mk-post-block h2,
.mk-post-cta h2 {
    text-wrap: balance;
}

.mk-blog-card p,
.mk-post-rich p,
.mk-post-block p,
.mk-post-cta p,
.mk-post-aside p {
    text-wrap: pretty;
}

.mk-blog-card-media {
    flex: 0 0 auto;
}

.mk-blog-card-media img,
.mk-post-hero-media img,
.mk-post-image img {
    background:rgba(255,255,255,0.86);
}

.mk-blog-card:not(:has(.mk-blog-card-media)) {
    padding-top: 20px;
}

.mk-blog-card-compact {
    grid-template-columns: minmax(116px, 142px) minmax(0, 1fr);
    grid-auto-rows: min-content;
}

.mk-blog-card-compact .mk-blog-card-kicker,
.mk-blog-card-compact h3,
.mk-blog-card-compact em {
    grid-column: 2;
}

.mk-blog-card-compact .mk-blog-card-media {
    grid-column: 1;
    grid-row: 1 / span 3;
}

.mk-post-hero-pro h1 {
    font-size: clamp(40px, 5vw, 56px);
}

.mk-blog-hero-pro h1 {
    font-size: clamp(42px, 5.2vw, 62px);
}

.mk-post-hero-pro .mk-post-hero-media {
    min-height: 260px;
}

.mk-post-rich img,
.mk-post-rich iframe,
.mk-post-rich video,
.mk-post-rich table {
    max-width: 100%;
}

.mk-post-rich table {
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
}

@media (max-width: 1100px) {
    .mk-post-hero-pro .mk-post-hero-media {
        min-height: 0;
    }
}

@media (max-width: 760px) {
    .mk-blog-hero-pro,
    .mk-post-hero-pro {
        gap: 18px;
        padding-top: 30px;
    }

    .mk-blog-hero-pro h1,
    .mk-post-hero-pro h1 {
        font-size: clamp(34px, 10vw, 42px);
        line-height: 1.04;
    }

    .mk-blog-hero-pro p,
    .mk-post-hero-pro p {
        font-size: 16px;
        line-height: 1.65;
    }

    .mk-blog-hero-stats {
        gap: 8px;
    }

    .mk-blog-hero-stats span {
        padding: 12px 13px;
    }

    .mk-blog-card {
        padding: 14px;
        gap: 9px;
    }

    .mk-blog-card h2,
    .mk-blog-card h3 {
        font-size: 19px;
        line-height: 1.22;
    }

    .mk-blog-card-compact {
        grid-template-columns: 1fr;
    }

    .mk-blog-card-compact .mk-blog-card-kicker,
    .mk-blog-card-compact h3,
    .mk-blog-card-compact em,
    .mk-blog-card-compact .mk-blog-card-media {
        grid-column: auto;
        grid-row: auto;
    }

    .mk-post-layout {
        margin-top: 22px;
    }

    .mk-post-aside {
        order: 2;
    }

    .mk-post-body {
        gap: 12px;
    }

    .mk-post-block,
    .mk-post-metric,
    .mk-post-cta,
    .mk-post-quote,
    .mk-post-aside {
        padding: 16px;
    }

    .mk-post-rich {
        font-size: 15px;
    }

    .mk-post-rich h2,
    .mk-post-block h2,
    .mk-post-cta h2 {
        font-size: 24px;
    }
}

.mk-footer {
    border-top:1px solid rgba(15,40,80,0.1);
}

.peeryx-settings-live-shell {
    position: relative;
}

.peeryx-save-toast {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: min(420px, calc(100vw - 28px));
    padding: 12px 14px;
    border:1px solid rgba(34,93,231,0.28);
    border-radius: 14px;
    background:rgba(246,248,252,0.92);
    color:#0b1f3a;
    box-shadow:0 18px 44px rgba(15,40,80,0.18), inset 0 1px 0 rgba(15,40,80,0.08);
    backdrop-filter: blur(14px);
}

.peeryx-save-toast span:last-child {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.peeryx-save-toast strong {
    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
}

.peeryx-save-toast small {
    color:rgba(11,31,58,0.72);
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.peeryx-save-toast-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 999px;
    background:#39d98a;
    box-shadow:0 0 0 5px rgba(57, 217, 138, 0.13), 0 0 24px rgba(57, 217, 138, 0.56);
}

@keyframes mk-dashboard-sheen {
    0%, 58% { transform: translateX(-42%); opacity: 0; }
    68% { opacity: 1; }
    100% { transform: translateX(42%); opacity: 0; }
}

@keyframes mk-bars-breathe {
    0%, 100% { transform: scaleY(0.94); }
    50% { transform: scaleY(1.02); }
}

@media (max-width: 1180px) {
    .mk-modern-hero::before {
        inset-inline: -18vw;
        height: 360px;
    }

    .mk-trust-strip {
        margin-top: 0;
    }
}

@media (max-width: 700px) {
    .mk-modern-hero {
        min-height: auto;
    }

    .mk-modern-hero::before {
        inset-inline: -40vw;
        height: 300px;
        opacity: 0.45;
    }

    .mk-proof-rail-compact span {
        min-height: 34px;
    }

    .mk-modern-chart {
        min-height: 150px;
    }

    .mk-attack-diagram::before {
        inset: 18% 50%;
        width: 2px;
        height: 64%;
        transform: translateX(-50%);
        background:linear-gradient(180deg, rgba(255, 93, 115, 0.54), rgba(34,93,231,0.82), rgba(57, 217, 138, 0.6));
    }

    .mk-attack-lane {
        min-height: 132px;
    }

    .mk-logo-wall {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mk-modern-dashboard::after,
    .mk-modern-chart i,
    .mk-attack-lane i {
        animation: none;
    }

    /* Show scroll-reveal sections immediately, without motion. */
    .mk-attack-story,
    .mk-map-section,
    .mk-method-panel,
    .mk-signal-lab {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.px-services-hub,
.px-services-hub * {
    min-width: 0;
}

.px-service-summary-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.px-service-summary-strip > div {
    border:1px solid rgba(15,40,80,0.1);
    background:rgba(255,255,255,0.58);
    border-radius: 8px;
    padding: 12px 14px;
}

.px-service-summary-strip span,
.px-service-meta span,
.px-service-order small,
.px-service-guide-row span {
    color:var(--text-muted);
    font-size: 12px;
    line-height: 1.35;
}

.px-service-summary-strip strong {
    display: block;
    margin-top: 4px;
    color:var(--text-main);
    font-size: 16px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.px-service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.px-service-card {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    gap: 14px;
    border:1px solid rgba(15,40,80,0.1);
    background:linear-gradient(180deg, rgba(15,40,80,0.045), rgba(15,40,80,0.014)),
        rgba(255,255,255,0.68);
    border-radius: 8px;
    padding: 16px;
    overflow: hidden;
}

.px-service-card-success {
    border-color:rgba(57, 217, 138, 0.24);
}

.px-service-card-warning {
    border-color:rgba(226, 249, 148, 0.24);
}

.px-service-card-danger {
    border-color:rgba(255, 93, 115, 0.28);
}

.px-service-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.px-service-type {
    display: inline-flex;
    margin-bottom: 8px;
    color:#183e95;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.px-service-card h3 {
    margin: 0;
    color:var(--text-main);
    font-size: 17px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.px-service-card p {
    margin: 6px 0 0;
    color:var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.px-service-metrics,
.px-service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.px-service-metrics span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 5px 9px;
    background:rgba(2,77,251,0.1);
    color:rgba(11,31,58,0.92);
    font-size: 12px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.px-service-meta {
    margin-top: auto;
}

.px-service-meta span {
    flex: 1 1 140px;
    border-top:1px solid rgba(15,40,80,0.08);
    padding-top: 8px;
    overflow-wrap: anywhere;
}

.px-service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.px-service-order-list,
.px-service-guidance {
    display: grid;
    gap: 8px;
}

.px-service-order,
.px-service-guide-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border:1px solid rgba(15,40,80,0.09);
    border-radius: 8px;
    padding: 10px 12px;
    background:rgba(15,40,80,0.025);
    color:var(--text-main);
    text-decoration: none;
}

.px-service-order span,
.px-service-guide-row {
    min-width: 0;
}

.px-service-order strong,
.px-service-guide-row strong {
    display: block;
    color:var(--text-main);
    font-size: 13px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.px-service-order small,
.px-service-guide-row span {
    display: block;
    margin-top: 3px;
    overflow-wrap: anywhere;
}

.px-service-guide-row {
    align-items: flex-start;
    flex-direction: column;
}

@media (max-width: 1100px) {
    .px-service-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 720px) {
    .px-service-card-grid,
    .px-service-summary-strip {
        grid-template-columns: 1fr;
    }

    .px-service-card {
        min-height: 0;
    }

    .px-service-card-head,
    .px-service-order {
        align-items: flex-start;
        flex-direction: column;
    }
}

.mk-status-hero {
    padding-top: 72px;
}

.mk-status-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
    gap: 24px;
    align-items: stretch;
}

.mk-status-hero-actions,
.mk-status-category-header,
.mk-status-component,
.mk-status-incident {
    display: flex;
    gap: 14px;
}

.mk-status-hero-actions {
    align-items: center;
    flex-wrap: wrap;
    margin-top: 22px;
}

.mk-status-updated,
.mk-muted,
.mk-status-component span,
.mk-status-component small,
.mk-status-incident p,
.mk-status-incident small {
    color:var(--text-muted);
}

.mk-status-card {
    min-width: 0;
    border:1px solid rgba(40,104,255,0.18);
    border-radius: 8px;
    padding: 20px;
    background:linear-gradient(145deg, rgba(255,255,255,0.92), rgba(255,255,255,0.74));
    box-shadow:0 18px 50px rgba(15,40,80,0.18);
}

.mk-status-summary {
    display: grid;
    align-content: center;
    gap: 10px;
}

.mk-status-summary strong {
    color:var(--text-main);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
}

.mk-public-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mk-status-category-header {
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mk-status-category-header h2 {
    margin: 0 0 5px;
    color:var(--text-main);
    font-size: 20px;
}

.mk-status-category-header p {
    margin: 0;
    color:var(--text-muted);
}

.mk-status-components {
    display: grid;
    gap: 10px;
}

.mk-status-component,
.mk-status-incident {
    align-items: center;
    justify-content: space-between;
    border:1px solid rgba(15,40,80,0.09);
    border-radius: 8px;
    padding: 12px;
    background:rgba(15,40,80,0.025);
}

.mk-status-component strong,
.mk-status-incident strong {
    display: block;
    color:var(--text-main);
}

.mk-status-component-state {
    display: grid;
    gap: 4px;
    justify-items: end;
    text-align: right;
}

.mk-public-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 28px;
    border-radius: 999px;
    padding: 5px 10px;
    border:1px solid rgba(15,40,80,0.14);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.mk-public-status-operational {
    color:#8dffce;
    background:rgba(20, 184, 120, .12);
    border-color:rgba(20, 184, 120, .35);
}

.mk-public-status-degraded,
.mk-public-status-maintenance {
    color:#ffe08a;
    background:rgba(245, 158, 11, .12);
    border-color:rgba(245, 158, 11, .35);
}

.mk-public-status-partial_outage,
.mk-public-status-major_outage {
    color:#ff9cad;
    background:rgba(244, 63, 94, .13);
    border-color:rgba(244, 63, 94, .38);
}

.mk-public-status-unknown {
    color:#0b1f3a;
    background:rgba(148, 163, 184, .12);
    border-color:rgba(15,40,80,0.16);
}

@media (max-width: 900px) {
    .mk-status-hero-grid,
    .mk-public-status-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .mk-status-category-header,
    .mk-status-component,
    .mk-status-incident {
        align-items: flex-start;
        flex-direction: column;
    }

    .mk-status-component-state {
        justify-items: start;
        text-align: left;
    }
}

/* ==========================================================================
   Conversation / ticket chat surface (shared by ticket-detail,
   entity-conversation, pxe-ticket-detail). Previously duplicated inline.
   ========================================================================== */
.px-chat-wrap {
    display: grid;
    gap: 16px;
}

.px-chat-surface {
    padding: 16px;
    margin-top: 16px;
}

.px-chat-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 6px;
}

.px-chat-meta-muted {
    font-size: 12px;
    color:var(--text-muted);
}

.px-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color:var(--px-c, var(--primary));
    background:color-mix(in srgb, var(--px-c, var(--primary)) 14%, transparent);
    border:1px solid color-mix(in srgb, var(--px-c, var(--primary)) 34%, transparent);
}

.px-chat-thread {
    display: grid;
    gap: 12px;
    padding: 6px;
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
}

.px-msg {
    display: grid;
    gap: 5px;
    max-width: 76%;
}

.px-msg.is-right {
    justify-self: end;
}

.px-msg.is-left {
    justify-self: start;
}

.px-msg-head {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 11px;
    font-weight: 750;
    color:rgba(11,31,58,0.85);
}

.px-msg.is-right .px-msg-head {
    flex-direction: row-reverse;
    justify-content: flex-start;
    text-align: right;
}

.px-msg-avatar {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex: none;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    color:var(--px-c, var(--primary));
    background:color-mix(in srgb, var(--px-c, var(--primary)) 18%, transparent);
    border:1px solid color-mix(in srgb, var(--px-c, var(--primary)) 36%, transparent);
}

.px-msg-author {
    color:var(--px-c, var(--primary));
    font-weight: 850;
}

.px-msg-time {
    color:rgba(11,31,58,0.8);
}

.px-msg-bubble {
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    border:1px solid rgba(15,40,80,0.14);
}

.px-msg.is-left .px-msg-bubble {
    background:linear-gradient(180deg, rgba(15,40,80,0.06), rgba(15,40,80,0.02));
    border-bottom-left-radius: 5px;
}

.px-msg.is-right .px-msg-bubble {
    background:color-mix(in srgb, var(--px-c, var(--primary)) 16%, rgba(15,40,80,0.02));
    border-color:color-mix(in srgb, var(--px-c, var(--primary)) 34%, transparent);
    border-bottom-right-radius: 5px;
}

.px-composer {
    display: grid;
    gap: 10px;
    padding: 14px;
    margin-top: 14px;
    border:1px solid rgba(15,40,80,0.14);
    border-radius: 12px;
    background:linear-gradient(180deg, rgba(15,40,80,0.04), rgba(15,40,80,0.015));
}

.px-composer textarea {
    width: 100%;
    min-height: 96px;
    resize: vertical;
    padding: 11px 13px;
    border-radius: 10px;
    border:1px solid rgba(15,40,80,0.16);
    background:rgba(246,248,252,0.5);
    color:#0b1f3a;
    font-size: 13.5px;
}

.px-composer textarea:focus-visible {
    outline:2px solid color-mix(in srgb, var(--primary) 60%, transparent);
    outline-offset: 1px;
    border-color:transparent;
}

.px-composer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.px-composer-opts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.px-composer-opts label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color:rgba(11,31,58,0.9);
}

.px-composer select {
    padding: 7px 10px;
    border-radius: 9px;
    border:1px solid rgba(15,40,80,0.16);
    background:rgba(246,248,252,0.5);
    color:#0b1f3a;
    font-size: 12.5px;
}

.px-empty-thread {
    padding: 24px;
    text-align: center;
    color:rgba(11,31,58,0.8);
    font-size: 13px;
}

@media (max-width: 640px) {
    .px-msg {
        max-width: 100%;
    }

    .px-composer-row {
        flex-direction: column;
        align-items: stretch;
    }

    .px-composer-row .fi-btn {
        width: 100%;
        justify-content: center;
    }

    .px-chat-thread {
        max-height: none;
    }
}

/* ==========================================================================
   Public quote / devis share page (quotes/share.blade.php)
   ========================================================================== */
.qz-block-gap {
    margin-bottom: 16px;
}

.qz-quote-headline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    color:var(--text-secondary);
    font-size: 14px;
}

.qz-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color:var(--qz-c, var(--info));
    background:color-mix(in srgb, var(--qz-c, var(--info)) 15%, transparent);
    border:1px solid color-mix(in srgb, var(--qz-c, var(--info)) 38%, transparent);
}

.qz-items {
    display: grid;
    gap: 10px;
}

.qz-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    padding-bottom: 9px;
    border-bottom:1px solid rgba(15,40,80,0.1);
}

.qz-item:last-child {
    border-bottom:0;
    padding-bottom: 0;
}

.qz-item-label {
    font-weight: 650;
    color:var(--text-primary);
}

.qz-item-meta {
    margin-top: 2px;
    font-size: 12px;
    color:var(--text-muted);
}

.qz-item-total {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color:#0b1f3a;
}

.qz-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 560px) {
    .qz-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .qz-actions form,
    .qz-actions .mk-btn {
        width: 100%;
    }

    .qz-actions .mk-btn {
        justify-content: center;
    }
}

/* ==========================================================================
   Quote / devis rendered as an invoice-style document (quotes/share.blade.php).
   Mirrors the billing invoice PDF (light "paper" on the dark marketing page).
   ========================================================================== */
.qz-doc {
    max-width: 960px;
    margin: 0 auto;
    background:#ffffff;
    color:#172033;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:0 30px 70px rgba(15,40,80,0.18);
}

.qz-doc-hero {
    background:#f6f9ff;
    border-bottom:1px solid rgba(15,40,80,0.14);
    padding: 28px 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: space-between;
    align-items: flex-start;
}

.qz-doc-brand {
    color:#2155ce;
    font-weight: 900;
    font-size: 26px;
    letter-spacing: 0.04em;
}

.qz-doc-brand small {
    display: block;
    margin-top: 4px;
    color:#5c6f88;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
}

.qz-doc-headbox {
    text-align: right;
}

.qz-doc-kicker {
    color:#2155ce;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 10px;
}

.qz-doc-title {
    margin: 4px 0 0;
    font-size: 32px;
    line-height: 1.1;
    color:#061746;
    font-weight: 900;
}

.qz-doc-meta {
    margin-top: 8px;
    color:#5c6f88;
    font-size: 12px;
}

.qz-doc-status {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color:var(--qz-c, #2155ce);
    background:color-mix(in srgb, var(--qz-c, #074ae8) 12%, #ffffff);
    border:1px solid color-mix(in srgb, var(--qz-c, #074ae8) 32%, transparent);
}

.qz-doc-body {
    padding: 28px 34px 32px;
}

.qz-doc-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}

.qz-doc-party {
    padding: 16px;
    border:1px solid rgba(15,40,80,0.14);
    border-radius: 12px;
    background:#f7fbff;
}

.qz-doc-party .label {
    color:#2155ce;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 7px;
}

.qz-doc-party .name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color:#061746;
}

.qz-doc-party .muted {
    color:#5c6f88;
    font-size: 12px;
    line-height: 1.5;
}

.qz-doc-section-label {
    color:#2155ce;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 6px;
}

.qz-doc-lines-wrap {
    overflow-x: auto;
}

.qz-doc-lines {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.qz-doc-lines th {
    background:#ffffff;
    color:#0b1f3a;
    text-align: left;
    padding: 11px;
    font-size: 11px;
    white-space: nowrap;
}

.qz-doc-lines td {
    padding: 10px 11px;
    border-bottom:1px solid rgba(15,40,80,0.14);
    vertical-align: top;
    font-size: 13px;
}

.qz-doc-lines .right {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.qz-doc-line-meta {
    margin-top: 3px;
    color:#5c6f88;
    font-size: 11px;
}

.qz-doc-line-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background:#e8f7ff;
    color:#2155ce;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.qz-doc-line-type.is-onetime {
    background:#eef0f4;
    color:#5c6f88;
}

.qz-doc-totals {
    width: 340px;
    margin-left: auto;
    border-collapse: collapse;
    margin-top: 18px;
}

.qz-doc-totals td {
    padding: 8px 10px;
    border-bottom:1px solid rgba(15,40,80,0.14);
    font-size: 13px;
}

.qz-doc-totals .right {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.qz-doc-totals .grand td {
    background:#074ae8;
    color:#0b1f3a;
    font-size: 16px;
    font-weight: 900;
    border-bottom:0;
}

.qz-doc-note {
    margin-top: 18px;
    padding: 14px;
    background:#f7fbff;
    border:1px solid rgba(15,40,80,0.14);
    border-radius: 12px;
    color:#405178;
    font-size: 13px;
}

.qz-doc-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.qz-doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border:0;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.qz-doc-btn-accept {
    background:#074ae8;
    color:#0b1f3a;
}

.qz-doc-btn-reject {
    background:#eef0f4;
    color:#405178;
}

@media (max-width: 640px) {
    .qz-doc-parties {
        grid-template-columns: 1fr;
    }

    .qz-doc-hero {
        flex-direction: column;
    }

    .qz-doc-headbox {
        text-align: left;
    }

    .qz-doc-totals {
        width: 100%;
    }

    .qz-doc-actions {
        flex-direction: column;
    }

    .qz-doc-actions form,
    .qz-doc-btn {
        width: 100%;
        justify-content: center;
    }
}

@media print {
    .peeryx-bg-layers,
    .mk-header,
    .mk-footer,
    .mk-presence-bar,
    .qz-doc-actions {
        display: none !important;
    }

    body {
        background:#ffffff !important;
    }

    .qz-doc {
        box-shadow:none;
    }
}

/* ==========================================================================
   Comfort spacing pass — looser global density (less cramped).
   Consolidated so it is easy to tune in one place.
   ========================================================================== */
.peeryx-grid {
    gap: 22px;
}

.peeryx-grid-2,
.peeryx-grid-3,
.peeryx-grid-4 {
    gap: 22px;
}

.peeryx-kpi {
    padding: 20px;
}

.peeryx-kpi-value {
    margin-top: 10px;
}

/* Default breathing room for panels that don't set their own padding. */
.peeryx-panel-utility {
    padding: 20px;
}

.peeryx-page-header {
    padding: clamp(22px, 2.2vw, 32px);
}

.peeryx-section-header {
    margin-bottom: 14px;
}

/* More vertical room around page content. */
.fi-main {
    padding-top: clamp(22px, 2.6vw, 34px) !important;
    padding-bottom: clamp(30px, 3.4vw, 44px) !important;
}

/* Looser Filament sections + form fields. */
.fi-section-content {
    padding: clamp(18px, 1.6vw, 26px) !important;
}

.fi-fo-field-wrp,
.fi-fo-component-ctn {
    gap: 16px;
}

.fi-section:not(:last-child) {
    margin-bottom: 22px;
}

/* Repeater rows (e.g. the quote line-item builder) need room between items. */
.fi-fo-repeater-item {
    margin-bottom: 14px;
}

.fi-fo-repeater-item .fi-section-content {
    padding: clamp(16px, 1.4vw, 22px) !important;
}

/* Reseller 2026 platform */
.rs-shell {
    width: min(100%, 1640px);
    margin: 0 auto;
    display: grid;
    gap: 16px;
    color:var(--text-primary);
}

.rs-hero {
    min-height: 138px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border:1px solid rgba(15,40,80,0.11);
    border-radius: 8px;
    background:linear-gradient(135deg, rgba(94,132,220,0.13), rgba(2,77,251,0.04) 48%, rgba(226, 249, 148, 0.07)),
        rgba(255,255,255,0.88);
    box-shadow:0 18px 44px rgba(15,40,80,0.18);
}

.rs-hero-compact {
    min-height: 116px;
}

.rs-hero h1 {
    margin: 0;
    color:#0b1f3a;
    font-size: clamp(1.65rem, 2.5vw, 2.55rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.rs-hero p {
    max-width: 760px;
    margin: 8px 0 0;
    color:#0b1f3a;
    font-size: 0.95rem;
}

.rs-eyebrow {
    margin: 0 0 8px !important;
    color:#183e95 !important;
    font-size: 0.72rem !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.rs-hero-actions a,
.rs-panel-head a,
.rs-form-panel button,
.rs-table-row button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border:1px solid rgba(94,132,220,0.26);
    border-radius: 8px;
    background:rgba(94,132,220,0.1);
    color:#0b1f3a;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.rs-hero-actions a:hover,
.rs-panel-head a:hover,
.rs-form-panel button:hover,
.rs-table-row button:hover {
    transform: translateY(-1px);
    border-color:rgba(94,132,220,0.5);
    background:rgba(94,132,220,0.16);
}

.rs-kpi-grid,
.rs-mini-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.rs-kpi-grid-compact {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.rs-kpi,
.rs-mini-stats article,
.rs-panel,
.rs-form-panel {
    border:1px solid rgba(15,40,80,0.1);
    border-radius: 8px;
    background:rgba(255,255,255,0.88);
    box-shadow:0 14px 34px rgba(15,40,80,0.18);
}

.rs-kpi {
    min-height: 128px;
    display: grid;
    align-content: space-between;
    gap: 10px;
    padding: 16px;
    border-top-color:rgba(94,132,220,0.24);
}

.rs-kpi span,
.rs-mini-stats span {
    color:#0b1f3a;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.rs-kpi strong,
.rs-mini-stats strong {
    color:#0b1f3a;
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1;
}

.rs-kpi em {
    color:#0b1f3a;
    font-size: 0.82rem;
    font-style: normal;
}

.rs-tone-success {
    --tone:#8deca8;
}

.rs-tone-warning {
    --tone:#ffc857;
}

.rs-tone-danger {
    --tone:#ff6d7f;
}

.rs-tone-primary,
.rs-tone-info {
    --tone:#5e84dc;
}

.rs-kpi[class*="rs-tone-"],
.rs-pill[class*="rs-tone-"],
.rs-dot[class*="rs-tone-"] {
    border-color:color-mix(in srgb, var(--tone) 34%, transparent);
}

.rs-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 12px;
}

.rs-action-grid,
.rs-ops-grid {
    display: grid;
    gap: 12px;
}

.rs-action-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.rs-download-panel {
    padding: 14px;
}

.rs-download-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.rs-action-card,
.rs-ops-card,
.rs-download-card {
    min-width: 0;
    display: grid;
    gap: 8px;
    padding: 14px;
    border:1px solid color-mix(in srgb, var(--tone, #5e84dc) 22%, rgba(15,40,80,0.1));
    border-radius: 8px;
    background:linear-gradient(180deg, color-mix(in srgb, var(--tone, #5e84dc) 10%, transparent), rgba(255,255,255,0.9));
    color:inherit;
    text-decoration: none;
    box-shadow:0 14px 34px rgba(15,40,80,0.18);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.rs-action-card:hover,
.rs-ops-card:hover,
.rs-download-card:hover {
    transform: translateY(-1px);
    border-color:color-mix(in srgb, var(--tone, #5e84dc) 46%, transparent);
    background:linear-gradient(180deg, color-mix(in srgb, var(--tone, #5e84dc) 14%, transparent), rgba(255,255,255,0.94));
}

.rs-action-card span,
.rs-ops-card span,
.rs-download-card span {
    min-width: 0;
    overflow: hidden;
    color:#0b1f3a;
    font-size: 0.72rem;
    font-weight: 900;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.rs-action-card strong,
.rs-ops-card strong,
.rs-download-card strong {
    min-width: 0;
    overflow: hidden;
    color:#0b1f3a;
    font-size: 0.92rem;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.rs-download-card strong {
    color:#0b1f3a;
    font-size: 0.82rem;
}

.rs-ops-card strong {
    font-size: 1.55rem;
    line-height: 1;
}

.rs-ops-card em {
    min-width: 0;
    overflow: hidden;
    color:#0b1f3a;
    font-size: 0.76rem;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rs-panel {
    min-width: 0;
    padding: 16px;
}

.rs-panel-wide {
    grid-row: span 2;
}

.rs-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.rs-panel-head h2,
.rs-form-panel h2 {
    margin: 0;
    color:#0b1f3a;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.rs-panel-head span,
.rs-panel-head strong {
    color:#0b1f3a;
    font-size: 0.86rem;
}

.rs-chart {
    height: 260px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(42px, 1fr));
    align-items: end;
    gap: 10px;
    padding-top: 16px;
}

.rs-chart-compact {
    height: 166px;
}

.rs-chart-network {
    height: 230px;
    padding-top: 8px;
}

.rs-traffic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}

.rs-traffic-chip {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 10px;
    border:1px solid rgba(94,132,220,0.14);
    border-radius: 8px;
    background:rgba(94,132,220,0.055);
}

.rs-traffic-chip span,
.rs-flow-row span {
    min-width: 0;
    overflow: hidden;
    color:#0b1f3a;
    font-size: 0.7rem;
    font-weight: 900;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.rs-traffic-chip strong,
.rs-flow-row strong {
    min-width: 0;
    overflow: hidden;
    color:#0b1f3a;
    font-size: 0.98rem;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-flow-list {
    display: grid;
    gap: 8px;
}

.rs-flow-row {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border:1px solid rgba(15,40,80,0.095);
    border-radius: 8px;
    background:rgba(15,40,80,0.025);
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.rs-flow-row:hover {
    transform: translateY(-1px);
    border-color:rgba(94,132,220,0.3);
    background:rgba(94,132,220,0.07);
}

.rs-chart-bar {
    min-width: 0;
    height: 100%;
    display: grid;
    grid-template-rows: 22px 1fr 22px;
    gap: 6px;
    align-items: end;
    text-align: center;
}

.rs-chart-bar span,
.rs-chart-bar small {
    min-width: 0;
    overflow: hidden;
    color:#0b1f3a;
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-chart-bar i {
    width: 100%;
    height: var(--bar-height);
    min-height: 8px;
    display: block;
    border-radius: 6px 6px 2px 2px;
    background:linear-gradient(180deg, #5e84dc, rgba(2,77,251,0.42));
    box-shadow:inset 0 1px 0 rgba(15,40,80,0.18);
}

.rs-chart-danger .rs-chart-bar i {
    background:linear-gradient(180deg, #ff7b89, rgba(255, 200, 87, 0.38));
}

.rs-health {
    display: grid;
    grid-template-columns: 118px 1fr;
    align-items: center;
    gap: 18px;
    min-height: 142px;
}

.rs-health-ring {
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:radial-gradient(circle at center, #ffffff 0 58%, transparent 60%),
        conic-gradient(#8deca8 var(--health), rgba(15,40,80,0.06) 0);
}

.rs-health-ring span {
    color:#0b1f3a;
    font-size: 1.15rem;
    font-weight: 900;
}

.rs-health p {
    margin: 8px 0;
    color:#0b1f3a;
}

.rs-list,
.rs-table {
    display: grid;
    gap: 8px;
}

.rs-list-row,
.rs-table-row {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border:1px solid rgba(15,40,80,0.09);
    border-radius: 8px;
    background:rgba(15,40,80,0.025);
}

.rs-table-row {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
}

.rs-table-row.rs-service-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.rs-service-link {
    display: block;
    min-width: 0;
    overflow: hidden;
    color:#0b1f3a;
    font-size: 0.88rem;
    font-weight: 900;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-service-link:hover {
    color:#183e95;
}

.rs-list-row strong,
.rs-table-row strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    color:#0b1f3a;
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-list-row p,
.rs-table-row p,
.rs-table-row small,
.rs-form-panel p {
    margin: 3px 0 0;
    min-width: 0;
    overflow: hidden;
    color:#0b1f3a;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-list-row em,
.rs-table-row em {
    color:#0b1f3a;
    font-size: 0.76rem;
    font-style: normal;
}

.rs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background:var(--tone, #5e84dc);
    box-shadow:0 0 0 4px color-mix(in srgb, var(--tone, #5e84dc) 14%, transparent);
}

.rs-pill {
    min-width: 72px;
    max-width: 130px;
    overflow: hidden;
    padding: 5px 8px;
    border:1px solid rgba(15,40,80,0.12);
    border-radius: 999px;
    color:#0b1f3a;
    font-size: 0.68rem;
    font-weight: 900;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-mini-stats article {
    min-height: 84px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 14px;
}

.rs-form-panel {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.rs-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.rs-form-panel input,
.rs-form-panel textarea {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 10px 12px;
    border:1px solid rgba(15,40,80,0.12);
    border-radius: 8px;
    background:rgba(246,248,252,0.68);
    color:#0b1f3a;
    outline:none;
}

.rs-form-panel textarea {
    min-height: 88px;
    resize: vertical;
}

.rs-form-panel input:focus,
.rs-form-panel textarea:focus {
    border-color:rgba(94,132,220,0.48);
    box-shadow:0 0 0 3px rgba(94,132,220,0.12);
}

.rs-toggle,
.rs-scope-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    color:#0b1f3a;
    font-size: 0.84rem;
}

.rs-scope-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.rs-scope-stack {
    display: grid;
    gap: 12px;
}

.rs-scope-section {
    display: grid;
    gap: 8px;
}

.rs-scope-section h3 {
    margin: 0;
    color:#0b1f3a;
    font-size: 0.82rem;
    font-weight: 900;
}

.rs-scope-grid label {
    min-width: 0;
    padding: 8px;
    border:1px solid rgba(15,40,80,0.09);
    border-radius: 8px;
    background:rgba(15,40,80,0.025);
}

.rs-scope-grid span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-token-box {
    overflow-wrap: anywhere;
    padding: 12px;
    border:1px solid rgba(226, 249, 148, 0.22);
    border-radius: 8px;
    background:rgba(226, 249, 148, 0.08);
    color:#0b1f3a;
    font-family: "JetBrains Mono", "Consolas", monospace;
    font-size: 0.78rem;
}

.rs-empty {
    padding: 18px;
    border:1px dashed rgba(15,40,80,0.16);
    border-radius: 8px;
    color:#0b1f3a;
    text-align: center;
}

@media (max-width: 1180px) {
    .rs-kpi-grid,
    .rs-mini-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rs-action-grid,
    .rs-download-grid,
    .rs-ops-grid,
    .rs-kpi-grid-compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rs-dashboard-grid,
    .rs-work-grid {
        grid-template-columns: 1fr;
    }

    .rs-panel-wide {
        grid-row: auto;
    }

    .rs-form-grid,
    .rs-scope-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .rs-hero {
        align-items: stretch;
        flex-direction: column;
        padding: 16px;
    }

    .rs-hero-actions {
        justify-content: flex-start;
    }

    .rs-kpi-grid,
    .rs-mini-stats,
    .rs-action-grid,
    .rs-download-grid,
    .rs-ops-grid,
    .rs-kpi-grid-compact,
    .rs-form-grid,
    .rs-scope-grid {
        grid-template-columns: 1fr;
    }

    .rs-traffic-grid {
        grid-template-columns: 1fr;
    }

    .rs-chart {
        gap: 6px;
        height: 210px;
    }

    .rs-chart-compact {
        height: 148px;
    }

    .rs-health {
        grid-template-columns: 1fr;
    }

    .rs-table-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .rs-table-row em,
    .rs-pill {
        justify-self: start;
    }
}

/* ==========================================================================
   2026-06-09 cross-surface polish pass (vitrine + client + admin + reseller)
   Additive premium details shared by every panel and the marketing site
   through this stylesheet. No layout overrides — safe to extend.
   ========================================================================== */

/* Brand-tinted text selection (was the browser default everywhere). */
::selection {
    background:rgba(2,77,251,0.3);
    color:#0b1f3a;
    text-shadow:none;
}
::-moz-selection {
    background:rgba(2,77,251,0.3);
    color:#0b1f3a;
    text-shadow:none;
}

/* Thin, dark, brand-tinted scrollbars instead of the chunky OS default. */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 173, 199, 0.30) transparent;
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background:transparent;
}
::-webkit-scrollbar-thumb {
    background:rgba(148, 173, 199, 0.28);
    border-radius: 999px;
    border:2px solid transparent;
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
    background:rgba(2,77,251,0.55);
    background-clip: padding-box;
}
::-webkit-scrollbar-corner {
    background:transparent;
}

/* Smooth in-page navigation, but respect reduced-motion preferences. */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Keep anchored marketing sections clear of the sticky header. */
.peeryx-marketing-body [id] {
    scroll-margin-top: 6rem;
}

/* ==========================================================================
   2026-06-09 refinement pass — cleaner, more minimal "peeryx.com spirit"
   (stays dark). clamp()/sibling-margin so nothing clobbers existing padding
   or the responsive breakpoints. Vitrine-focused + light global typography.
   ========================================================================== */

/* More air between marketing sections — additive margin preserves each
   section's own padding (incl. the hero) and keeps the trust strip hugging. */
.mk-section + .mk-section:not(.mk-trust-strip) {
    margin-top: clamp(20px, 2.8vw, 44px);
}

/* Softer, more minimal ambient glow on the marketing background. */
.peeryx-bg-layers-marketing .peeryx-bg-ambient {
    opacity: 0.55;
}

/* Sharper display typography: tighter tracking + crisper rendering. */
.mk-modern-hero-copy h1 {
    letter-spacing: -0.022em;
}
.mk-section-head h2,
.mk-attack-copy h2,
.mk-signal-lab h2,
.mk-simple-split h2,
.mk-modern-band h2,
.mk-conversion-band-clean h2 {
    letter-spacing: -0.015em;
}
h1, h2, h3,
.fi-header-heading {
    text-rendering: optimizeLegibility;
}
.fi-header-heading {
    letter-spacing: -0.01em;
}
.mk-kicker {
    letter-spacing: 0.14em;
}

/* Buttons — crisper, premium micro-interaction. */
.mk-btn {
    transition: transform 160ms cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 160ms cubic-bezier(0.4, 0, 0.2, 1),
                border-color 160ms cubic-bezier(0.4, 0, 0.2, 1),
                background 160ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mk-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow:0 16px 32px rgba(2,77,251,0.34);
}
.mk-btn-ghost:hover {
    border-color:var(--stroke-strong);
    background:rgba(2,77,251,0.08);
}

/* Cards — smooth, consistent hover lift + subtle highlight. */
.mk-modern-service-card,
.mk-method-grid article,
.mk-blog-card,
.mk-pricing-preview article {
    transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1),
                border-color 200ms cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mk-method-grid article:hover,
.mk-blog-card:hover,
.mk-pricing-preview article:hover {
    transform: translateY(-2px);
    border-color:var(--stroke-strong);
    box-shadow:var(--shadow-soft);
}

/* Honour reduced-motion: drop the hover lifts. */
@media (prefers-reduced-motion: reduce) {
    .mk-btn-primary:hover,
    .mk-modern-service-card:hover,
    .mk-method-grid article:hover,
    .mk-blog-card:hover,
    .mk-pricing-preview article:hover {
        transform: none;
    }
}

/* ==========================================================================
   2026-06-09 panel refinement — same clean/minimal spirit inside the apps
   (/client + /reseller, shared Filament components). peeryx-portal.css loads
   AFTER Filament's stylesheet, so these win without !important.
   ========================================================================== */

/* Stat / metric cards: smooth hover lift + sharper label -> value hierarchy. */
.fi-wi-stats-overview-stat {
    transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1),
                border-color 180ms cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 180ms cubic-bezier(0.4, 0, 0.2, 1);
}
.fi-wi-stats-overview-stat:hover {
    transform: translateY(-2px);
    border-color:var(--stroke-strong);
    box-shadow:0 18px 38px rgba(15,40,80,0.18);
}
.fi-wi-stats-overview-stat-label {
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 11.5px;
    font-weight: 700;
    color:var(--text-muted);
}
.fi-wi-stats-overview-stat-value {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Section cards: smoother state changes + a touch more vertical separation. */
.fi-section {
    transition: border-color 200ms cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.fi-section:not(:last-child) {
    margin-bottom: clamp(22px, 2vw, 30px);
}

/* Buttons: smooth + a subtle premium lift on text buttons (not icon buttons). */
.fi-btn {
    transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1),
                background-color 150ms cubic-bezier(0.4, 0, 0.2, 1),
                border-color 150ms cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.fi-btn:not(.fi-icon-btn):hover {
    transform: translateY(-1px);
}

/* Reseller custom cards (rs-*): smooth + hover lift on tile/card-sized ones. */
.rs-kpi,
.rs-download-card,
.rs-panel {
    transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1),
                border-color 180ms cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 180ms cubic-bezier(0.4, 0, 0.2, 1);
}
.rs-kpi:hover,
.rs-download-card:hover {
    transform: translateY(-2px);
    border-color:var(--stroke-strong);
}

/* Reduced-motion: no panel hover lifts. */
@media (prefers-reduced-motion: reduce) {
    .fi-wi-stats-overview-stat:hover,
    .fi-btn:not(.fi-icon-btn):hover,
    .rs-kpi:hover,
    .rs-download-card:hover {
        transform: none;
    }
}

/* ---- Tables (fi-ta) — smoother, more premium row hover. ---- */
.fi-ta-row {
    transition: background-color 160ms cubic-bezier(0.4, 0, 0.2, 1),
                border-color 160ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ---- Forms (fi-fo) — ease the focus ring/border in instead of snapping. ---- */
.fi-input-wrp,
.fi-select-input,
.fi-textarea {
    transition: border-color 160ms cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 160ms cubic-bezier(0.4, 0, 0.2, 1),
                background-color 160ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ==========================================================================
   2026-06-09 premium pass — bolder, site-wide visual upgrade (dark).
   Established premium patterns: gradient display type, glossy CTAs, lit card
   edges for depth. One reversible block. Applied without screenshots here, so
   review in the browser and tell me to keep or revert.
   ========================================================================== */

/* Hero headline: subtle white -> teal gradient text (guarded so it can never
   render invisible if background-clip:text is unsupported). */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .mk-modern-hero-copy h1 {
        background:linear-gradient(120deg,#0b1f3a 0%,#4338ca 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color:transparent;
        color:transparent;
    }
}

/* Primary CTAs: glossy top highlight + a touch more glow. */
.mk-btn-primary {
    box-shadow:inset 0 1px 0 rgba(15,40,80,0.18),
                0 10px 24px rgba(2,77,251,0.3);
}

/* Cards & sections: a lit top edge + a hair more depth (premium dimension).
   Resting state only — hover rules above keep higher specificity. */
.fi-section,
.fi-wi-stats-overview-stat,
.mk-modern-service-card,
.mk-method-grid article,
.mk-blog-card,
.mk-pricing-preview article,
.rs-kpi,
.rs-panel {
    box-shadow:inset 0 1px 0 rgba(15,40,80,0.05),
                0 14px 30px rgba(15,40,80,0.18);
}

/* Accessibility: skip-to-content link — off-screen until keyboard focus. */
.mk-skip-link {
    position: fixed;
    left: 12px;
    top: -64px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: 10px;
    background:var(--primary);
    color:#031018;
    font-weight: 700;
    text-decoration: none;
    box-shadow:0 10px 24px rgba(15,40,80,0.18);
    transition: top 160ms ease;
}
.mk-skip-link:focus {
    top: 12px;
    outline:2px solid rgba(15,40,80,0.14);
    outline-offset: 2px;
}

/* ==========================================================================
   2026-06-11 UI/UX polish v2 — broader interaction + typography upgrade.
   Reliable, additive, reversible patterns (applied without live screenshots).
   ========================================================================== */

/* Marketing nav: animated underline on hover/focus (background-image, no
   pseudo-element, so it can't conflict with existing styles). */
.mk-nav a {
    background-image:linear-gradient(var(--primary-2), var(--primary-2));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 2px;
    transition: background-size 220ms cubic-bezier(0.4, 0, 0.2, 1), color 160ms ease;
}
.mk-nav a:hover,
.mk-nav a:focus-visible {
    background-size: 100% 2px;
    color:#0b1f3a;
}

/* Consistent, prominent brand focus ring (keyboard a11y + polish). */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
.mk-btn:focus-visible,
.fi-btn:focus-visible,
.fi-icon-btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline:2px solid var(--primary-2);
    outline-offset: 2px;
}

/* Tactile press feedback on buttons. */
.mk-btn:active,
.fi-btn:active {
    transform: scale(0.97);
}

/* Crisper text rendering on the dark theme + tabular figures for metrics. */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
.fi-wi-stats-overview-stat-value,
.mk-trust-strip strong,
.mk-modern-status-grid strong,
.rs-kpi strong {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

/* Clearer link hover inside marketing content. */
.peeryx-marketing-body p a,
.peeryx-marketing-body li a {
    text-underline-offset: 3px;
    transition: color 160ms ease;
}
.peeryx-marketing-body p a:hover,
.peeryx-marketing-body li a:hover {
    color:var(--primary-2);
}

/* Honour reduced-motion. */
@media (prefers-reduced-motion: reduce) {
    .mk-nav a { transition: color 160ms ease; }
    .mk-btn:active, .fi-btn:active { transform: none; }
}

/* ==========================================================================
   2026-06-15 portal polish pass: shared /admin /client /reseller shell.
   Keeps the existing design language, but makes dashboards denser, groups
   always readable and cards consistently shaped.
   ========================================================================== */
:root {
    --radius-card: 8px;
    --radius-input: 8px;
    --radius-button: 8px;
}

.peeryx-bg-layers-portal .peeryx-bg-orb {
    display: none;
}

.fi-sidebar,
.fi-topbar,
.fi-main-ctn,
.fi-section,
.fi-ta-ctn,
.fi-modal-window,
.fi-wi-stats-overview-stat,
.peeryx-page-header,
.peeryx-panel-utility,
.client-quick-grid a,
.rs-hero,
.rs-panel,
.rs-kpi,
.rs-mini-stats article,
.rs-action-card,
.rs-ops-card,
.rs-download-card {
    border-radius: 8px;
}

.fi-sidebar-nav {
    gap: 12px;
}

.fi-sidebar-group {
    padding-block: 4px;
}

.fi-sidebar-group-items {
    display: grid !important;
    gap: 2px;
}

.fi-sidebar-group-label {
    color:#0b1f3a;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fi-sidebar-item-button {
    min-height: 34px;
}

.fi-sidebar-item-label {
    overflow: hidden;
    text-overflow: ellipsis;
}

.peeryx-topbar-console {
    max-width: min(72vw, 880px);
}

.peeryx-topbar-console-reseller .peeryx-topbar-chip-context {
    color:#0b1f3a;
    border-color:rgba(94,132,220,0.36);
    background:rgba(94,132,220,0.11);
}

.peeryx-topbar-chip-link:hover,
.peeryx-topbar-chip-link:focus-visible {
    border-color:rgba(34,93,231,0.38);
    background:rgba(34,93,231,0.1);
}

.client-quick-grid-six {
    /* Roomier: cards stay >=240px wide and wrap onto a second row instead of
       being squeezed into one cramped 6-up line. (Narrow screens are handled
       by the <=900px media query below.) */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.client-dashboard-actions,
.peeryx-admin-action-grid {
    margin-bottom: 20px;
}

.client-dashboard-actions a,
.peeryx-admin-action-grid a {
    min-height: 112px;
    align-content: space-between;
    border-color:rgba(15,40,80,0.11);
    background:linear-gradient(180deg, rgba(34,93,231,0.07), rgba(15,40,80,0.025)),
        rgba(255,255,255,0.9);
    box-shadow:inset 0 1px 0 rgba(15,40,80,0.04),
                0 12px 26px rgba(15,40,80,0.18);
}

.client-dashboard-actions a:hover,
.peeryx-admin-action-grid a:hover {
    transform: translateY(-1px);
    border-color:rgba(34,93,231,0.42);
}

.client-dashboard-actions strong,
.peeryx-admin-action-grid strong {
    color:#0b1f3a;
    font-size: 0.95rem;
    line-height: 1.25;
}

.client-dashboard-actions em,
.peeryx-admin-action-grid em {
    display: -webkit-box;
    min-height: 32px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.35;
}

.pc-order-section-stack {
    display: grid;
    gap: 14px;
}

.pc-order-subsection {
    padding: 14px;
    border:1px solid rgba(15,40,80,0.16);
    border-radius: 8px;
    background:rgba(255,255,255,0.45);
}

.pc-order-subsection-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.pc-order-subsection-head h4 {
    margin: 0;
    color:var(--text-primary);
    font-size: 15px;
}

.pc-order-subsection-head p {
    margin: 4px 0 0;
    color:var(--text-muted, #5c6f88);
    font-size: 13px;
}

.pc-order-subsection-count {
    color:var(--text-muted, #5c6f88);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pc-capacity-slider {
    display: grid;
    gap: 14px;
}

.pc-capacity-panel {
    padding: 14px;
    border:1px solid rgba(82,134,255,0.22);
    border-radius: 8px;
    background:linear-gradient(135deg, rgba(82,134,255,0.08), rgba(94,132,220,0.045));
}

.pc-capacity-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.pc-capacity-value {
    color:var(--text-primary);
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.pc-capacity-selected {
    color:var(--text-muted, #5c6f88);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.pc-capacity-slider input[type="range"] {
    width: 100%;
    accent-color: #52d6ff;
}

.pc-capacity-rail {
    height: 10px;
    border-radius: 999px;
    background:linear-gradient(90deg, #5e84dc 0%, #5286ff 35%, #8aadff 70%, #d8b4fe 100%);
    box-shadow:0 0 0 1px rgba(15,40,80,0.16) inset;
}

.pc-capacity-tier-buttons {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 6px;
}

.pc-capacity-tier-button {
    min-height: 34px;
    border:1px solid rgba(15,40,80,0.16);
    border-radius: 8px;
    background:rgba(255,255,255,0.72);
    color:var(--text-muted, #5c6f88);
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
}

.pc-capacity-tier-button.is-active {
    border-color:rgba(82,134,255,0.75);
    background:rgba(82,134,255,0.16);
    color:var(--text-primary);
    box-shadow:0 0 0 1px rgba(82,134,255,0.2) inset;
}

.pc-capacity-tier-button:hover {
    border-color:rgba(94,132,220,0.55);
    color:var(--text-primary);
}

.pc-license-subsections {
    display: grid;
    gap: 14px;
}

.pc-wizard-shell-spaced {
    margin-top: 14px;
}

.pc-license-subsection {
    padding: 14px;
    border:1px solid rgba(15,40,80,0.16);
    border-radius: 8px;
    background:rgba(255,255,255,0.45);
}

.pc-license-subsection-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.pc-license-subsection-head h4 {
    margin: 0;
    color:var(--text-primary);
    font-size: 15px;
}

.pc-license-subsection-head p {
    margin: 4px 0 0;
    color:var(--text-muted, #5c6f88);
    font-size: 13px;
}

.rs-shell {
    gap: 14px;
}

.peeryx-dashboard-header {
    margin-bottom: 18px;
}

.client-insight-panel {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-color:rgba(2,77,251,0.28);
    background:linear-gradient(180deg, rgba(2,77,251,0.09), rgba(15,40,80,0.02));
}

.client-insight-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.client-insight-mark {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    margin-top: 6px;
    border-radius: 999px;
    background:var(--primary-2);
    box-shadow:0 0 0 4px rgba(34,93,231,0.12);
}

.client-insight-copy {
    min-width: 0;
}

.client-insight-label {
    color:rgba(11,31,58,0.85);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.client-insight-headline {
    margin-top: 3px;
    color:#0b1f3a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.rs-dashboard-grid,
.rs-work-grid,
.rs-action-grid,
.rs-ops-grid,
.rs-download-grid,
.rs-kpi-grid,
.rs-mini-stats,
.client-quick-grid {
    align-items: stretch;
}

.rs-dashboard-grid > *,
.rs-work-grid > *,
.rs-action-grid > *,
.rs-ops-grid > *,
.rs-download-grid > *,
.rs-kpi-grid > *,
.rs-mini-stats > *,
.client-quick-grid > * {
    min-width: 0;
}

@media (max-width: 1280px) {
    .client-quick-grid-six,
    .rs-kpi-grid-compact,
    .rs-ops-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rs-download-grid,
    .rs-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .pc-capacity-tier-buttons {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .peeryx-topbar-console {
        max-width: 58vw;
    }

    .peeryx-topbar-chip:not(.peeryx-topbar-chip-context) span {
        display: none;
    }

    .client-quick-grid,
    .client-quick-grid-six,
    .peeryx-admin-action-grid,
    .rs-dashboard-grid,
    .rs-work-grid,
    .rs-kpi-grid,
    .rs-kpi-grid-compact,
    .rs-mini-stats,
    .rs-action-grid,
    .rs-ops-grid,
    .rs-download-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .peeryx-topbar-console {
        display: none;
    }

    .client-quick-grid,
    .client-quick-grid-six,
    .peeryx-admin-action-grid,
    .rs-dashboard-grid,
    .rs-work-grid,
    .rs-kpi-grid,
    .rs-kpi-grid-compact,
    .rs-mini-stats,
    .rs-action-grid,
    .rs-ops-grid,
    .rs-download-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pc-order-subsection-head {
        display: grid;
    }

    .pc-capacity-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .pc-capacity-tier-buttons {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pc-order-subsection-count {
        white-space: normal;
    }
}

/* Client white theme, selected from /client/portal-settings. */
html[data-peeryx-theme="light"] {
    color-scheme: light;
    --bg-main:#f5f8fc;
    --bg-elevated:#ffffff;
    --bg-card:#ffffff;
    --bg-card-2:#f8fbff;
    --stroke-soft:rgba(255,255,255,0.1);
    --stroke-strong:rgba(2,61,199,0.3);
    --text-primary:#0f172a;
    --text-secondary:#475569;
    --text-muted:#56657a;
    --gradient-surface:linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
    --gradient-highlight:linear-gradient(135deg, rgba(2,77,251,0.12), rgba(94,132,220,0.08));
    --gradient-hero-soft:radial-gradient(circle at top left, rgba(2,77,251,0.12), transparent 42%),
        radial-gradient(circle at bottom right, rgba(94,132,220,0.1), transparent 40%);
    --shadow-soft:0 16px 32px rgba(15,40,80,0.1);
    --shadow-card:0 22px 48px rgba(15,40,80,0.12);
    /* Anti-DDoS Command (adoc-*) per-page styles hardcode light-blue caption text
       (#91aabd/#a7bece/#bed2df) that is near-invisible on white. The blade now reads
       these via var(..., <dark fallback>), so dark is unchanged and light gets these
       readable (AA) values. */
    --adoc-muted:#56657a;
    --adoc-label:#56657a;
    --adoc-faint:#56657a;
}

html[data-peeryx-theme="light"] body,
html[data-peeryx-theme="light"] body.fi-body,
html[data-peeryx-theme="light"] .fi-layout,
html[data-peeryx-theme="light"] .fi-main,
html[data-peeryx-theme="light"] .fi-main-ctn,
html[data-peeryx-theme="light"] .fi-sidebar-layout {
    background:linear-gradient(180deg, #f7fbff 0%, #f2f6fb 52%, #eef4fb 100%) !important;
    color:var(--text-primary) !important;
}

html[data-peeryx-theme="light"] body::before {
    background:radial-gradient(circle at 12% 8%, rgba(2,77,251,0.1), transparent 34%),
        radial-gradient(circle at 88% 0%, rgba(94,132,220,0.12), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(241, 247, 253, 0.86)) !important;
}

html[data-peeryx-theme="light"] .peeryx-bg-layers {
    opacity: 0.9;
}

html[data-peeryx-theme="light"] .peeryx-bg-ambient {
    background:radial-gradient(circle at 8% 12%, rgba(2,77,251,0.13), transparent 28%),
        radial-gradient(circle at 92% 12%, rgba(94,132,220,0.12), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 245, 252, 0.96));
}

html[data-peeryx-theme="light"] .peeryx-bg-lines,
html[data-peeryx-theme="light"] .peeryx-bg-noise {
    opacity: 0.02;
}

html[data-peeryx-theme="light"] .fi-sidebar,
html[data-peeryx-theme="light"] .fi-topbar,
html[data-peeryx-theme="light"] .fi-sidebar-header,
html[data-peeryx-theme="light"] .fi-sidebar-header-ctn,
html[data-peeryx-theme="light"] .peeryx-sidebar-footer {
    background:rgba(255, 255, 255, 0.96) !important;
    box-shadow:0 14px 34px rgba(15,40,80,0.08) !important;
}

/* White theme: sidebar is borderless — no right rule, no header/footer
   divider, no inner item outlines. It reads as a clean white panel, set
   off from the faintly tinted page by a soft float shadow only. The
   topbar keeps a single hairline so it stays anchored. */
html[data-peeryx-theme="light"] .fi-sidebar,
html[data-peeryx-theme="light"] .fi-sidebar-header,
html[data-peeryx-theme="light"] .fi-sidebar-header-ctn,
html[data-peeryx-theme="light"] .peeryx-sidebar-footer {
    border-color:transparent !important;
    border-right-color:transparent !important;
    box-shadow:6px 0 24px rgba(15,40,80,0.05) !important;
}

html[data-peeryx-theme="light"] .fi-topbar {
    border-color:rgba(15,40,80,0.1) !important;
}

html[data-peeryx-theme="light"] .fi-sidebar {
    backdrop-filter: blur(18px);
}

html[data-peeryx-theme="light"] .fi-sidebar-group-label,
html[data-peeryx-theme="light"] .fi-sidebar-item-label,
html[data-peeryx-theme="light"] .fi-sidebar-item-icon,
html[data-peeryx-theme="light"] .fi-topbar,
html[data-peeryx-theme="light"] .fi-topbar * {
    color:var(--text-secondary) !important;
}

html[data-peeryx-theme="light"] .fi-dropdown-panel,
html[data-peeryx-theme="light"] .fi-modal-window {
    background:rgba(255, 255, 255, 0.98) !important;
    border-color:rgba(15,40,80,0.1) !important;
    color:var(--text-secondary) !important;
}

/* Flat, borderless sidebar items — only hover/active carry a fill, so the
   rail stays clean while the labels read clearly in slate. */
html[data-peeryx-theme="light"] .fi-sidebar-item-button,
html[data-peeryx-theme="light"] .fi-sidebar-item-btn {
    background:transparent !important;
    border-color:transparent !important;
    color:var(--text-secondary) !important;
}

html[data-peeryx-theme="light"] .fi-sidebar-item-button:hover,
html[data-peeryx-theme="light"] .fi-sidebar-item-btn:hover {
    background:rgba(2,61,199,0.1) !important;
    border-color:transparent !important;
    color:var(--text-primary) !important;
}

html[data-peeryx-theme="light"] .fi-sidebar-item-active > .fi-sidebar-item-button,
html[data-peeryx-theme="light"] .fi-sidebar-item-active > .fi-sidebar-item-btn {
    background:linear-gradient(135deg, rgba(2,61,199,0.18), rgba(8,59,178,0.12)) !important;
    border-color:transparent !important;
    color:#075985 !important;
    box-shadow:none !important;
}

html[data-peeryx-theme="light"] .fi-sidebar-item-active .fi-sidebar-item-label,
html[data-peeryx-theme="light"] .fi-sidebar-item-active .fi-sidebar-item-icon {
    color:#075985 !important;
}

html[data-peeryx-theme="light"] .peeryx-page-header,
html[data-peeryx-theme="light"] .peeryx-panel-utility,
html[data-peeryx-theme="light"] .fi-section,
html[data-peeryx-theme="light"] .fi-ta-ctn,
html[data-peeryx-theme="light"] .fi-wi-stats-overview-stat,
html[data-peeryx-theme="light"] .client-quick-grid a,
html[data-peeryx-theme="light"] .peeryx-account-settings-hub-card,
html[data-peeryx-theme="light"] .rs-hero,
html[data-peeryx-theme="light"] .rs-panel,
html[data-peeryx-theme="light"] .rs-mini-stats article,
html[data-peeryx-theme="light"] .rs-kpi,
html[data-peeryx-theme="light"] .rs-action-card,
html[data-peeryx-theme="light"] .rs-ops-card,
html[data-peeryx-theme="light"] .rs-download-card,
html[data-peeryx-theme="light"] .rs-form-panel,
html[data-peeryx-theme="light"] .pc-wizard-context,
html[data-peeryx-theme="light"] .pc-wizard-panel,
html[data-peeryx-theme="light"] .pc-wizard-aside-card,
html[data-peeryx-theme="light"] .pc-choice-card,
html[data-peeryx-theme="light"] .pc-info-card,
html[data-peeryx-theme="light"] .rpr-kpi,
html[data-peeryx-theme="light"] .peeryx-save-toast {
    background:linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96)) !important;
    border-color:rgba(15,40,80,0.1) !important;
    color:var(--text-primary) !important;
    box-shadow:var(--shadow-soft) !important;
}

html[data-peeryx-theme="light"] .client-insight-panel {
    background:linear-gradient(180deg, rgba(2,77,251,0.09), rgba(255, 255, 255, 0.98)) !important;
}

html[data-peeryx-theme="light"] h1,
html[data-peeryx-theme="light"] h2,
html[data-peeryx-theme="light"] h3,
html[data-peeryx-theme="light"] h4,
html[data-peeryx-theme="light"] strong,
html[data-peeryx-theme="light"] .fi-header-heading,
html[data-peeryx-theme="light"] .fi-section-header-heading,
html[data-peeryx-theme="light"] .client-insight-headline,
html[data-peeryx-theme="light"] .client-quick-grid strong,
html[data-peeryx-theme="light"] .peeryx-account-settings-hub-card strong,
html[data-peeryx-theme="light"] .rs-hero h1,
html[data-peeryx-theme="light"] .rs-panel h2,
html[data-peeryx-theme="light"] .rs-table-row strong,
html[data-peeryx-theme="light"] .rpr-title,
html[data-peeryx-theme="light"] .rpr-value,
html[data-peeryx-theme="light"] .pc-choice-card-title strong,
html[data-peeryx-theme="light"] .pc-info-card strong {
    color:var(--text-primary) !important;
}

html[data-peeryx-theme="light"] p,
html[data-peeryx-theme="light"] small,
html[data-peeryx-theme="light"] em,
html[data-peeryx-theme="light"] .fi-header-subheading,
html[data-peeryx-theme="light"] .peeryx-form-hint,
html[data-peeryx-theme="light"] .client-quick-grid em,
html[data-peeryx-theme="light"] .peeryx-account-settings-hub-card span,
html[data-peeryx-theme="light"] .rs-hero p,
html[data-peeryx-theme="light"] .rs-table-row p,
html[data-peeryx-theme="light"] .rs-table-row small,
html[data-peeryx-theme="light"] .rs-table-row em,
html[data-peeryx-theme="light"] .rpr-sub,
html[data-peeryx-theme="light"] .rpr-label,
html[data-peeryx-theme="light"] .pc-choice-card p,
html[data-peeryx-theme="light"] .pc-choice-card small,
html[data-peeryx-theme="light"] .pc-info-card p {
    color:var(--text-secondary) !important;
}

html[data-peeryx-theme="light"] .auth-input,
html[data-peeryx-theme="light"] .fi-input,
html[data-peeryx-theme="light"] .fi-select-input,
html[data-peeryx-theme="light"] .fi-text-input input,
html[data-peeryx-theme="light"] textarea {
    background:#ffffff !important;
    border-color:rgba(15,40,80,0.14) !important;
    color:var(--text-primary) !important;
    box-shadow:inset 0 1px 0 rgba(15,40,80,0.02) !important;
}

html[data-peeryx-theme="light"] select.auth-input option {
    background:#ffffff;
    color:#0f172a;
}

html[data-peeryx-theme="light"] .auth-label,
html[data-peeryx-theme="light"] .fi-fo-field-wrp-label span {
    color:var(--text-primary) !important;
}

html[data-peeryx-theme="light"] .fi-btn-color-gray,
html[data-peeryx-theme="light"] .fi-badge,
html[data-peeryx-theme="light"] .peeryx-pill {
    background:#ffffff !important;
    border-color:rgba(15,40,80,0.12) !important;
    color:var(--text-secondary) !important;
}

/* Filament colored ghost buttons (warning/success/danger) keep their dark-mode
   white text + white border in the portal light theme (Filament itself stays in
   `dark`); on a light card they vanish. Repaint to a readable tinted style. */
html[data-peeryx-theme="light"] .fi-btn-color-warning {
    background:rgba(245, 158, 11, 0.12) !important;
    border-color:rgba(180, 83, 9, 0.30) !important;
    color:#b45309 !important;
}
html[data-peeryx-theme="light"] .fi-btn-color-success {
    background:rgba(5, 150, 105, 0.12) !important;
    border-color:rgba(5, 150, 105, 0.30) !important;
    color:#047857 !important;
}
html[data-peeryx-theme="light"] .fi-btn-color-danger {
    background:rgba(220, 38, 38, 0.12) !important;
    border-color:rgba(190, 18, 60, 0.30) !important;
    color:#be123c !important;
}

/* Shared status badge (.peeryx-status, the status-badge component used portal-
   wide). Base colors are pale/mint for dark; on light they drop to ~1.3:1. The
   dot uses currentColor, so it follows the text. */
html[data-peeryx-theme="light"] .peeryx-status-healthy {
    background:rgba(5, 150, 105, 0.10) !important;
    border-color:rgba(5, 150, 105, 0.30) !important;
    color:#047857 !important;
}
html[data-peeryx-theme="light"] .peeryx-status-warning {
    background:rgba(245, 158, 11, 0.12) !important;
    border-color:rgba(180, 83, 9, 0.30) !important;
    color:#b45309 !important;
}
html[data-peeryx-theme="light"] .peeryx-status-danger {
    background:rgba(220, 38, 38, 0.10) !important;
    border-color:rgba(190, 18, 60, 0.30) !important;
    color:#be123c !important;
}

/* traffic-origin-map.blade.php — chart caption span (sibling px-origin spans are
   already themed). */
html[data-peeryx-theme="light"] .px-origin-topline span {
    color:var(--px-light-muted) !important;
}

/* rack-fabric.blade.php — rack U-position numbers (dark muted on light rail). */
html[data-peeryx-theme="light"] .px-rack-unum {
    color:var(--px-light-muted) !important;
}

/* switch-fabric-dashboard.blade.php — port speed pill kept its dark badge bg
   while its text was lightened to dark slate (dark-on-dark). Lighten the pill. */
html[data-peeryx-theme="light"] .px-port-speed {
    background:rgba(2,61,199,0.1) !important;
    color:var(--px-light-text) !important;
}

/* reseller-dashboard.blade.php — eyebrow/caption labels that share the base
   #8ca0b1 muted tone (KPI, action cards, downloads, table/form captions). The
   sibling .rs-mini-stats/.rs-flow-row/.rs-chart-bar were themed; these were missed. */
html[data-peeryx-theme="light"] .rs-kpi span,
html[data-peeryx-theme="light"] .rs-action-card span,
html[data-peeryx-theme="light"] .rs-ops-card span,
html[data-peeryx-theme="light"] .rs-download-card span,
html[data-peeryx-theme="light"] .rs-table-row small,
html[data-peeryx-theme="light"] .rs-form-panel p {
    color:var(--px-light-muted) !important;
}

/* reseller-monitoring.blade.php — mini-stat eyebrows + bar-row labels kept dark-
   theme pale tones (rmon-mini span #64748b, rmon-bar-row span near-white). */
html[data-peeryx-theme="light"] .rmon-mini span {
    color:var(--px-light-muted) !important;
}
html[data-peeryx-theme="light"] .rmon-bar-row span {
    color:var(--px-light-text) !important;
}
/* rmon-status pill kept its dark bg while its text took the muted override
   (dark-on-dark). Lighten the pill. */
html[data-peeryx-theme="light"] .rmon-status {
    background:rgba(2,61,199,0.08) !important;
    border-color:var(--px-light-border) !important;
}

/* Shared empty-state accent icon (cyan #22cbe7 → ~1.8:1 on light). */
html[data-peeryx-theme="light"] .peeryx-empty-state-icon {
    color:var(--px-light-cyan) !important;
}

/* Marketing kicker (.mk-kicker, teal) reused inside the portal (e.g. reseller
   licenses). Scoped to the themed portal only — the marketing site never carries
   data-peeryx-theme, so it stays dark by design. */
html[data-peeryx-theme="light"] .mk-kicker {
    color:#0f766e !important;
}

/* Filament input wrapper label (e.g. the pagination "X par page" label) keeps a
   pale dark-theme tone in light mode (~1.8:1). Map it to the readable muted token. */
html[data-peeryx-theme="light"] .fi-input-wrp-label {
    color:var(--px-light-muted) !important;
}

/* Table column sort controls were 20px tall — below the WCAG 2.5.8 (24px) target
   size. Bump the tappable height (both themes, desktop + touch). */
.fi-ta-header-cell-sort-btn {
    min-height: 24px;
}

html[data-peeryx-theme="light"] .peeryx-topbar-chip {
    background:rgba(255, 255, 255, 0.78) !important;
    border-color:rgba(15,40,80,0.1) !important;
    color:var(--text-secondary) !important;
}

html[data-peeryx-theme="light"] .peeryx-topbar-chip-context,
html[data-peeryx-theme="light"] .client-quick-grid span,
html[data-peeryx-theme="light"] .client-insight-label,
html[data-peeryx-theme="light"] .rs-eyebrow,
html[data-peeryx-theme="light"] .rs-mini-stats span,
html[data-peeryx-theme="light"] .rs-table-row a,
html[data-peeryx-theme="light"] .rpr-row span:first-child {
    color:#173a8d !important;
}

html[data-peeryx-theme="light"] .rs-mini-stats strong,
html[data-peeryx-theme="light"] .rpr-row span:last-child {
    color:var(--text-primary) !important;
}

html[data-peeryx-theme="light"] .rs-pill,
html[data-peeryx-theme="light"] .rpr-badge {
    background:rgba(2,77,251,0.08) !important;
    border-color:rgba(2,61,199,0.2) !important;
    color:#075985 !important;
}

html[data-peeryx-theme="light"] table,
html[data-peeryx-theme="light"] .fi-ta-row,
html[data-peeryx-theme="light"] .fi-ta-cell {
    color:var(--text-primary) !important;
    border-color:rgba(15,40,80,0.1) !important;
}

/* White theme completion layer for all client/admin/reseller workspaces. */
html[data-peeryx-theme="light"] {
    --px-light-page:#f4f7fb;
    --px-light-page-soft:#eef4fb;
    --px-light-surface:#ffffff;
    --px-light-surface-2:#f8fbff;
    --px-light-surface-3:#eef6ff;
    --px-light-border:rgba(15,40,80,0.14);
    --px-light-border-strong:rgba(2,61,199,0.3);
    --px-light-text:#0f172a;
    --px-light-text-2:#334155;
    --px-light-muted:#56657a;
    --px-light-faint:#94a3b8;
    --px-light-blue:#0332a1;
    --px-light-cyan:#083bb2;
    --px-light-green:#eef4fc;
    --px-light-amber:#b45309;
    --px-light-red:#be123c;
    --px-light-shadow:0 16px 40px rgba(15,40,80,0.1);
    --px-light-shadow-flat:0 2px 8px rgba(15,40,80,0.07), 0 1px 2px rgba(15,40,80,0.05);
}

html[data-peeryx-theme="light"] :where(.fi-main, .fi-main-ctn, .fi-page, .fi-layout, .fi-sidebar-layout) {
    background:radial-gradient(circle at 10% 0%, rgba(2,77,251,0.08), transparent 28%),
        radial-gradient(circle at 95% 2%, rgba(94,132,220,0.08), transparent 26%),
        linear-gradient(180deg, var(--px-light-page), var(--px-light-page-soft)) !important;
}

html[data-peeryx-theme="light"] :where(
    .fi-section,
    .fi-section-content,
    .fi-ta,
    .fi-ta-ctn,
    .fi-ta-content,
    .fi-modal-window,
    .fi-modal-content,
    .fi-dropdown-panel,
    .fi-dropdown-list,
    .fi-tabs,
    .fi-wi-stats-overview-stat,
    .peeryx-page-header,
    .peeryx-panel-utility,
    .peeryx-brand-card,
    .peeryx-kpi,
    .peeryx-empty-state,
    .card,
    .table-wrapper
) {
    background:linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.98)) !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
    box-shadow:var(--px-light-shadow-flat) !important;
}

html[data-peeryx-theme="light"] :where(
    .rs-hero,
    .rs-kpi,
    .rs-mini-stats article,
    .rs-action-card,
    .rs-ops-card,
    .rs-download-card,
    .rs-panel,
    .rs-form-panel,
    .rs-flow-row,
    .rs-traffic-chip,
    .rs-scope-section,
    .rs-scope-grid label,
    .pc-wizard-context,
    .pc-wizard-panel,
    .pc-wizard-aside-card,
    .pc-choice-card,
    .pc-info-card,
    .pc-order-subsection,
    .pc-license-subsection,
    .pc-capacity-panel,
    .pc-capacity-slider,
    .pc-capacity-tier-button,
    .client-dashboard-actions a,
    .client-quick-grid a,
    .client-insight-panel,
    .peeryx-account-settings-hub-card
) {
    background:linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96)) !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
    box-shadow:var(--px-light-shadow) !important;
}

html[data-peeryx-theme="light"] :where(
    .rb-panel, .rb-row,
    .rcr-kpi, .rcr-panel, .rcr-row,
    .rf-panel, .rf-slider, .rf-threshold-mode, .rf-target-box, .rf-threshold-table,
    .rgf-panel, .rgf-profile, .rgf-price,
    .rmd-panel, .rmd-kpi, .rmd-row, .rmd-port, .rmd-table,
    .rmon-top, .rmon-toolbar, .rmon-panel, .rmon-kpi, .rmon-core-chart, .rmon-mini, .rmon-alert, .rmon-heat,
    .ro-row, .rp-machine, .rp-metric, .rp-log,
    .rpr-panel, .rpr-kpi,
    .rpx-panel, .rpx-kpi, .rpx-step, .rpx-license, .rpx-slot, .rpx-flow,
    .rr-panel, .rr-stat, .rr-row, .rr-command, .rr-flow,
    .rsc-panel, .rsc-kpi, .rsc-ticket, .rsc-reply,
    .rt-panel, .rt-row,
    .rvd-panel, .rvd-stat, .rvd-row, .rvd-bars,
    .rvm-panel, .rvm-stat, .rvm-card, .rvm-meta div, .rvm-row, .rvm-bars,
    .px-notif, .px-notif-read,
    .px-reseller-notifications,
    .ssh-key,
    .kpi-card,
    .empty-state
) {
    background:linear-gradient(180deg, var(--px-light-surface), var(--px-light-surface-2)) !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
    box-shadow:var(--px-light-shadow-flat) !important;
}

html[data-peeryx-theme="light"] :where(
    .adoc-card, .adoc-chart-card, .adoc-brief-panel, .adoc-core-board, .adoc-core-mini, .adoc-dark-tile,
    .adoc-interface-card, .adoc-interface-panel, .adoc-ops-card, .adoc-panel, .adoc-row, .adoc-service-card,
    .adoc-source-row, .adoc-table, .adoc-table-row,
    .ddos-card, .ddos-control, .ddos-presets,
    .ghr-panel, .ghr-mini, .grafana-strip, .grafana-simple-card, .grafana-simple-item, .grafana-auto-row,
    .grafana-vendor-card, .grafana-permission-row,
    .pc-traffic-row,
    .pop-health-cell, .pop-readiness-wrap,
    .px-auto-lane, .px-auto-item, .px-auto-strip,
    .px-bars, .px-bar-row,
    .px-ddos-chart, .px-if-chart,
    .px-origin-stage, .px-origin-card,
    .px-pay-card,
    .px-rack-frame, .px-rack-dev, .px-rack-chip,
    .px-runtime-deck, .px-runtime-head, .px-runtime-grid, .px-runtime-network, .px-runtime-facts, .px-runtime-ring, .px-runtime-fact,
    .px-switch, .px-switch-chassis, .px-switch-stat, .px-port,
    .sfd-controls, .sfd-edit-row,
    .terminal-detail-card,
    .vmg, .vmx-card, .vm-live-kpi, .vm-pay-credit, .vm-rescue, .vm-suspended
) {
    background:linear-gradient(180deg, var(--px-light-surface), var(--px-light-surface-2)) !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
    box-shadow:var(--px-light-shadow-flat) !important;
}

html[data-peeryx-theme="light"] .rmon {
    --g-bg:#f7fafc;
    --g-panel:#ffffff;
    --g-head:#0b1f3a;
    --g-border:rgba(15,40,80,0.12);
    --g-border-strong:rgba(2,61,199,0.3);
    --g-text:#0f172a;
    --g-muted:#5c6f88;
    --g-green:#059669;
    --g-yellow:#b45309;
    --g-red:#be123c;
    --g-blue:#2560eb;
    --g-cyan:#083bb2;
    color:var(--px-light-text) !important;
}

html[data-peeryx-theme="light"] :where(.rmon-panel-head, .grafana-strip, .px-ddos-head, .px-if-chart-head, .px-switch-head, .px-rack-head, .vmx-card-head) {
    background:linear-gradient(180deg, #f8fbff, #eef6ff) !important;
    border-color:var(--px-light-border) !important;
}

html[data-peeryx-theme="light"] :where(
    h1, h2, h3, h4, h5, h6, strong, b,
    .fi-header-heading,
    .fi-section-header-heading,
    .fi-wi-stats-overview-stat-value,
    .peeryx-page-title,
    .peeryx-section-title,
    .peeryx-kpi-value,
    .rs-title, .rs-kpi strong, .rs-panel-head h2, .rs-chart-bar span, .rs-flow-row strong, .rs-traffic-chip strong,
    .rb-row strong, .rcr-id, .rcr-row strong, .rcr-value, .rf-slider-head strong, .rf-policy-row strong, .rf-target-box strong,
    .rgf-profile strong, .rmd-title, .rmd-value, .rmd-row strong, .rmd-port strong,
    .rmon-brand h1, .rmon-kpi strong, .rmon-panel-head h2, .rmon-table strong,
    .rp-title, .rp-value, .rpr-title, .rpr-value, .rpr-row span:last-child,
    .rpx-kpi strong, .rpx-head strong, .rpx-slot strong, .rpx-step strong,
    .rr-stat strong, .rr-row strong, .rr-command strong,
    .rsc-value, .rsc-ticket strong,
    .rt-row strong,
    .rvd-stat strong, .rvd-row strong,
    .rvm-title, .rvm-stat strong, .rvm-meta strong, .rvm-row strong,
    .adoc-title, .adoc-value, .adoc-row strong, .adoc-service-title, .adoc-panel h2, .adoc-panel h3,
    .grafana-strip-title strong, .grafana-simple-value, .grafana-panel-title,
    .peeryx-chart-stat-value, .px-ddos-gauge-label strong, .px-if-chart-head strong, .px-origin-value,
    .px-runtime-head h3, .px-runtime-ring-label strong, .px-runtime-gauge b, .px-runtime-ring-value strong, .px-runtime-fact strong,
    .px-switch-brand strong, .px-port-tooltip strong, .px-rack-title, .px-rack-dev strong,
    .vmg-title, .vmg-chip b, .vmx-card-title, .vm-live-kpi b, .vm-chart-cap strong, .vm-pay-amount
) {
    color:var(--px-light-text) !important;
    fill:var(--px-light-text) !important;
}

html[data-peeryx-theme="light"] :where(
    p, small, em, td, th, label,
    .fi-header-subheading,
    .fi-section-header-description,
    .fi-wi-stats-overview-stat-label,
    .fi-ta-text,
    .peeryx-page-subtitle,
    .peeryx-section-subtitle,
    .peeryx-kpi-label,
    .peeryx-form-hint,
    .rs-sub, .rs-kpi em, .rs-panel-head span, .rs-panel-head strong, .rs-chart-bar small, .rs-flow-row span, .rs-traffic-chip span,
    .rb-field, .rb-row small,
    .rcr-label, .rcr-row small, .rcr-field,
    .rf-field, .rf-hint, .rf-kicker, .rf-policy-row span, .rf-range-scale span, .rf-slider-head span, .rf-target-box span, .rf-threshold-mode span,
    .rgf-field, .rgf-policy-row span,
    .rmd-label, .rmd-sub, .rmd-row small,
    .rmon-brand p, .rmon-select span, .rmon-kicker, .rmon-kpi span, .rmon-table th, .rmon-status,
    .rp-sub, .rp-label, .rp-pill,
    .rpr-sub, .rpr-label, .rpr-row span:first-child,
    .rpx-note, .rpx-slot small, .rpx-tutorial li,
    .rr-field, .rr-stat span, .rr-stat small, .rr-row small, .rr-command span, .rr-command small,
    .rsc-label, .rsc-field, .rsc-ticket small, .rsc-reply,
    .rt-field, .rt-row small,
    .rvd-field, .rvd-stat span, .rvd-stat small, .rvd-check, .rvd-row small,
    .rvm-field, .rvm-muted, .rvm-check, .rvm-stat span, .rvm-stat small, .rvm-meta span, .rvm-row small,
    .adoc-label, .adoc-meta, .adoc-subtitle, .adoc-tiny,
    .grafana-strip-title span, .grafana-cell-note,
    .peeryx-chart-stat-label, .peeryx-chart-stat-sub, .peeryx-chart-legend span,
    .px-ddos-legend span, .px-ddos-foot, .px-if-chart-head span, .px-if-chart-foot,
    .px-origin-card-title span, .px-origin-card-meta span,
    .px-runtime-head p, .px-runtime-ring-label span, .px-runtime-ring-value span, .px-runtime-network-row, .px-runtime-fact span,
    .px-switch-brand span, .px-switch-legend, .px-port-rate, .px-rack-loc, .px-rack-legend,
    .vmg-chip, .vm-live-kpi span, .vm-pay-label
) {
    color:var(--px-light-muted) !important;
    fill:var(--px-light-muted) !important;
}

/* KPI trend / sub-label. The bare variant uses --teal (#5edccd), which drops to
   ~1.6:1 on light cards (near-invisible). Map it to a dark teal so it keeps the
   accent identity while passing AA, and give the semantic up/down variants
   light-friendly green/red (their dark-theme tokens are too light on white). */
html[data-peeryx-theme="light"] .peeryx-kpi-trend {
    color:#0f766e;
}

html[data-peeryx-theme="light"] .peeryx-kpi-trend.is-up {
    color:#15803d;
}

html[data-peeryx-theme="light"] .peeryx-kpi-trend.is-down {
    color:#be123c;
}

html[data-peeryx-theme="light"] .peeryx-kpi-trend.is-flat {
    color:var(--text-muted);
}

html[data-peeryx-theme="light"] :where(
    input, select, textarea,
    .auth-input,
    .fi-input,
    .fi-select-input,
    .fi-textarea,
    .fi-input-wrp,
    .fi-fo-field-wrp,
    .rmon-select input,
    .rmon-select select,
    .adoc-select
) {
    background:#ffffff !important;
    border-color:rgba(15,40,80,0.16) !important;
    color:var(--px-light-text) !important;
    box-shadow:inset 0 1px 0 rgba(15,40,80,0.03) !important;
}

html[data-peeryx-theme="light"] :where([class*="-field"] input, [class*="-field"] select, [class*="-field"] textarea, .rs-form-panel input, .rs-form-panel select, .rs-form-panel textarea, .rf-threshold-table input, .sfd-field select, .sfd-edit-row input, .sfd-edit-row select) {
    background:#ffffff !important;
    border-color:rgba(15,40,80,0.16) !important;
    color:var(--px-light-text) !important;
}

html[data-peeryx-theme="light"] input::placeholder,
html[data-peeryx-theme="light"] textarea::placeholder {
    color:var(--px-light-faint) !important;
}

html[data-peeryx-theme="light"] :where(
    .fi-btn-color-gray,
    .fi-icon-btn,
    .fi-badge,
    .status-badge,
    .peeryx-pill,
    .rs-pill,
    .rb-chip,
    .rcr-badge,
    .rf-chip,
    .rgf-chip,
    .rmd-badge,
    .rmon-button,
    .rmon-pill,
    .rp-pill,
    .rpr-badge,
    .rpx-badge,
    .rr-chip,
    .rsc-badge,
    .rt-chip,
    .rvd-chip,
    .rvm-chip,
    .adoc-chip,
    .adoc-status-pill,
    .grafana-simple-status,
    .px-runtime-status,
    .px-origin-badge,
    .px-rack-chip,
    .px-notif-type,
    .vm-live-badge,
    .vmx-badge
) {
    background:rgba(2,61,199,0.08) !important;
    border-color:rgba(2,61,199,0.22) !important;
    color:var(--px-light-blue) !important;
}

html[data-peeryx-theme="light"] :where(.rf-banner, .rgf-banner, .rpx-note, .rt-price, .rpr-guard, .rr-chip-warn, .rvd-chip-warn, .rvm-chip-warn, .adoc-chip-danger, .sfd-err) {
    background:rgba(245, 158, 11, 0.10) !important;
    border-color:rgba(180, 83, 9, 0.22) !important;
    color:var(--px-light-amber) !important;
}

html[data-peeryx-theme="light"] :where(.rf-good, .rgf-good, .rcr-badge[data-tone="good"], .rmon-dot, .dot-green, .is-good) {
    background:rgba(5, 150, 105, 0.10) !important;
    border-color:rgba(5, 150, 105, 0.22) !important;
    color:var(--px-light-green) !important;
}

html[data-peeryx-theme="light"] :where(.rr-chip-danger, .rvd-chip-bad, .rvm-chip-bad, .is-bad, .dot-red) {
    background:rgba(225, 29, 72, 0.10) !important;
    border-color:rgba(225, 29, 72, 0.22) !important;
    color:var(--px-light-red) !important;
}

html[data-peeryx-theme="light"] :where(
    .rs-chart,
    .line-chart,
    .adoc-chart,
    .adoc-primary-chart,
    .adoc-row-chart,
    .adoc-cpu-graph,
    .rmon-core-chart,
    .rmon-spark,
    .rmon-bars,
    .rmon-heat,
    .rmd-util,
    .rmd-port-jack,
    .rs-port-graph,
    .rvd-bars,
    .rvm-bars,
    .px-ddos-chart svg,
    .px-if-chart svg,
    .peeryx-chart svg,
    .vmg,
    .vmx-chart-area,
    .px-runtime-track,
    .px-origin-bar,
    .px-bar-track,
    .pc-traffic-bar,
    .pop-meter,
    .grafana-meter
) {
    background:linear-gradient(180deg, #f8fbff, #eef6ff) !important;
    border-color:rgba(15,40,80,0.1) !important;
}

html[data-peeryx-theme="light"] :where(.rs-chart-bar i, .rmon-bar, .rmd-util, .rvd-bars i, .rvm-bars i, .pc-traffic-bar i, .px-bar-track i, .px-runtime-track i) {
    box-shadow:inset 0 1px 0 rgba(15,40,80,0.18), 0 7px 18px rgba(2,61,199,0.15) !important;
}

html[data-peeryx-theme="light"] :where(
    .peeryx-chart-frame,
    .peeryx-chart-grid,
    .peeryx-chart-grid-vertical,
    .px-ddos-frame,
    .px-ddos-grid,
    .px-ddos-grid-v,
    .px-if-grid,
    .vmg-grid,
    .rmon-core-frame,
    .rmon-core-grid,
    .adoc-core-line,
    .adoc-core-grid
) {
    stroke:rgba(15,40,80,0.14) !important;
    fill:none !important;
}

html[data-peeryx-theme="light"] :where(
    .peeryx-chart-axis-label,
    .px-ddos-axis,
    .px-origin-label,
    .vmg-ylabel,
    .vmg-xlabel,
    .rmon-core-axis,
    .apexcharts-text,
    .apexcharts-xaxis text,
    .apexcharts-yaxis text,
    .apexcharts-legend-text,
    .apexcharts-title-text,
    .apexcharts-subtitle-text
) {
    color:var(--px-light-muted) !important;
    fill:var(--px-light-muted) !important;
}

html[data-peeryx-theme="light"] :where(.apexcharts-gridline, .apexcharts-xaxis-tick, .apexcharts-yaxis line) {
    stroke:rgba(15,40,80,0.14) !important;
}

html[data-peeryx-theme="light"] :where(
    .peeryx-chart-tooltip,
    .px-ddos-tooltip,
    .px-if-tooltip,
    .px-port-tooltip,
    .apexcharts-tooltip,
    .apexcharts-xaxistooltip,
    .apexcharts-yaxistooltip
) {
    background:rgba(255, 255, 255, 0.98) !important;
    border-color:rgba(15,40,80,0.13) !important;
    color:var(--px-light-text) !important;
    box-shadow:0 18px 44px rgba(15,40,80,0.14) !important;
}

html[data-peeryx-theme="light"] :where(
    .rmon-table,
    .rmon-table-wrap,
    .rf-threshold-table,
    .rmd-table,
    .adoc-table,
    .fi-ta-table,
    .peeryx-admin-table,
    .peeryx-admin-table-sm
) {
    background:#ffffff !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
}

html[data-peeryx-theme="light"] :where(th, .fi-ta-header-cell, .rf-threshold-table th, .rmon-table th) {
    background:#eef6ff !important;
    color:var(--px-light-muted) !important;
    border-color:rgba(15,40,80,0.1) !important;
}

html[data-peeryx-theme="light"] :where(td, .fi-ta-cell, .fi-ta-row, .rf-threshold-table td, .rmon-table td, .rmon-table tr, .rmd-table td) {
    background:transparent !important;
    color:var(--px-light-text) !important;
    border-color:rgba(15,40,80,0.1) !important;
}

html[data-peeryx-theme="light"] :where(.fi-ta-row:hover, .rs-flow-row:hover, .rs-list-row:hover, .rs-table-row:hover, .rb-row:hover, .rcr-row:hover, .rt-row:hover, .rr-row:hover, .rvm-row:hover, .rvd-row:hover) {
    background:rgba(2,61,199,0.06) !important;
    border-color:rgba(2,61,199,0.22) !important;
}

html[data-peeryx-theme="light"] :where(
    .vm-console,
    .vm-console-head,
    .vm-console-body,
    .vm-console-actions,
    .vm-log,
    .terminal-shell,
    .terminal-shell-head,
    .terminal-shell-body,
    .terminal-line,
    .terminal-shell-input,
    .rpx-code,
    .ro-output,
    .rp-log,
    .rmon-log,
    .grafana-code-line
) {
    background:#f8fafc !important;
    border-color:rgba(15,40,80,0.14) !important;
    color:var(--px-light-text-2) !important;
    box-shadow:none !important;
}

html[data-peeryx-theme="light"] :where(.vm-log-tag, .terminal-indicator, .rmon-log strong, .grafana-code-line) {
    color:var(--px-light-blue) !important;
}

html[data-peeryx-theme="light"] :where(.vm-log-ok .vm-log-msg) {
    color:var(--px-light-green) !important;
}

html[data-peeryx-theme="light"] :where(.vm-log-warn .vm-log-msg) {
    color:var(--px-light-amber) !important;
}

html[data-peeryx-theme="light"] :where(.vm-log-err .vm-log-msg) {
    color:var(--px-light-red) !important;
}

html[data-peeryx-theme="light"] :where(.px-port-label, .px-port-speed, .px-switch-stat, .px-rack-dev-meta) {
    color:var(--px-light-text-2) !important;
}

html[data-peeryx-theme="light"] :where(.px-port-jack, .px-switch-chassis, .px-rack-bay, .px-rack-ruler, .px-rack-slot) {
    background:#eef6ff !important;
    border-color:rgba(15,40,80,0.12) !important;
}

html[data-peeryx-theme="light"] :where(.fi-sidebar-item-button:hover, .fi-sidebar-item-btn:hover, .fi-dropdown-list-item:hover, .fi-tabs-item:hover, .rmon-button:hover, .pc-capacity-tier-button:hover) {
    background:rgba(2,61,199,0.08) !important;
    color:var(--px-light-text) !important;
}

html[data-peeryx-theme="light"] :where(.fi-tabs-item[aria-selected="true"], .fi-tabs-item.fi-active, .pc-capacity-tier-button.is-active, .rmon-button[data-active="true"], .vm-tab.active, .vm-tf.active) {
    background:linear-gradient(135deg, rgba(2,61,199,0.15), rgba(8,59,178,0.1)) !important;
    border-color:var(--px-light-border-strong) !important;
    color:var(--px-light-blue) !important;
}

/* ============================================================
   White-mode completion v2 — portal surfaces that were still
   painted dark while [data-peeryx-theme="light"] is active.
   Scope: authenticated panels only. Marketing (.mk-*), the public
   quote-share page (.qz-*) and the pre-login auth layout never get
   the theme attribute, so they intentionally keep their dark look.
   ============================================================ */

/* --- Topbar console (rendered on every portal page) ------------- */
html[data-peeryx-theme="light"] :where(
    .peeryx-topbar-icon-btn,
    .peeryx-topbar-count,
    .peeryx-topbar-status,
    .peeryx-topbar-wallet-pill,
    .peeryx-topbar-link-btn
) {
    background:rgba(2,61,199,0.08) !important;
    border-color:rgba(2,61,199,0.22) !important;
    color:var(--px-light-blue) !important;
    box-shadow:none !important;
}

html[data-peeryx-theme="light"] :where(
    .peeryx-topbar-icon-btn:hover,
    .peeryx-topbar-menu[open] .peeryx-topbar-icon-btn,
    .peeryx-topbar-link-btn:hover,
    .peeryx-topbar-link-btn:focus-visible,
    .peeryx-topbar-wallet-submit:hover
) {
    background:rgba(2,61,199,0.14) !important;
    border-color:var(--px-light-border-strong) !important;
    color:var(--px-light-blue) !important;
}

html[data-peeryx-theme="light"] :where(.peeryx-topbar-menu-panel) {
    background:rgba(255, 255, 255, 0.98) !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
    box-shadow:0 18px 44px rgba(15,40,80,0.16) !important;
}

html[data-peeryx-theme="light"] :where(
    .peeryx-topbar-locale-current-flag,
    .peeryx-topbar-locale-flag,
    .peeryx-topbar-wallet-balance,
    .peeryx-topbar-menu-link,
    .peeryx-topbar-menu-empty
) {
    background:var(--px-light-surface-2) !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
}

html[data-peeryx-theme="light"] :where(
    .peeryx-topbar-locale-current-label,
    .peeryx-topbar-wallet-balance strong,
    .peeryx-topbar-menu-link
) {
    color:var(--px-light-text) !important;
}

html[data-peeryx-theme="light"] :where(.peeryx-topbar-menu-footer-link, .peeryx-topbar-wallet-submit) {
    background:rgba(2,61,199,0.1) !important;
    border-color:rgba(2,61,199,0.24) !important;
    color:var(--px-light-blue) !important;
}

html[data-peeryx-theme="light"] :where(.peeryx-topbar-locale-link.is-active) {
    background:rgba(2,61,199,0.1) !important;
    border-color:var(--px-light-border-strong) !important;
}

html[data-peeryx-theme="light"] :where(.peeryx-topbar-locale-check) {
    color:var(--px-light-green) !important;
}

html[data-peeryx-theme="light"] :where(.peeryx-topbar-status-operational) {
    background:rgba(5, 150, 105, 0.10) !important;
    border-color:rgba(5, 150, 105, 0.24) !important;
    color:var(--px-light-green) !important;
}

html[data-peeryx-theme="light"] :where(.peeryx-topbar-status-degraded, .peeryx-topbar-wallet-notice) {
    background:rgba(245, 158, 11, 0.10) !important;
    border-color:rgba(180, 83, 9, 0.24) !important;
    color:var(--px-light-amber) !important;
}

html[data-peeryx-theme="light"] :where(.peeryx-topbar-status-incident, .peeryx-topbar-wallet-error) {
    background:rgba(225, 29, 72, 0.10) !important;
    border-color:rgba(225, 29, 72, 0.24) !important;
    color:var(--px-light-red) !important;
}

html[data-peeryx-theme="light"] :where(.peeryx-topbar-wallet-notice) {
    color:var(--px-light-green) !important;
    background:rgba(5, 150, 105, 0.10) !important;
    border-color:rgba(5, 150, 105, 0.24) !important;
}

/* --- Pricing / service configurator (pc-*) --------------------- */
html[data-peeryx-theme="light"] :where(
    .pc-wrap,
    .pc-wrap-client,
    .pc-panel,
    .pc-summary,
    .pc-wizard-main
) {
    background:linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.97)) !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
    box-shadow:var(--px-light-shadow) !important;
}

html[data-peeryx-theme="light"] :where(
    .pc-input input,
    .pc-input textarea,
    .pc-select select
) {
    background:#ffffff !important;
    border-color:rgba(15,40,80,0.16) !important;
    color:var(--px-light-text) !important;
    box-shadow:inset 0 1px 0 rgba(15,40,80,0.03) !important;
}

/* --- Conversation composer + service cards (px-*) -------------- */
html[data-peeryx-theme="light"] :where(.px-service-card, .px-service-summary-strip > div) {
    background:linear-gradient(180deg, var(--px-light-surface), var(--px-light-surface-2)) !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
    box-shadow:var(--px-light-shadow-flat) !important;
}

html[data-peeryx-theme="light"] .px-composer textarea {
    background:#ffffff !important;
    border-color:rgba(15,40,80,0.16) !important;
    color:var(--px-light-text) !important;
}

/* --- Client dashboard panels ---------------------------------- */
html[data-peeryx-theme="light"] :where(.client-focus-hero, .client-delivery-panel, .client-guide-card) {
    background:linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96)) !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
    box-shadow:var(--px-light-shadow) !important;
}

/* --- Dedicated-fleet ops (admin) ------------------------------ */
html[data-peeryx-theme="light"] :where(
    .fleet-ops-card,
    .fleet-ops-summary > div,
    .fleet-action-item,
    .fleet-clear-state,
    .fleet-machine-hint,
    .fleet-filter-chip
) {
    background:linear-gradient(180deg, var(--px-light-surface), var(--px-light-surface-2)) !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
    box-shadow:var(--px-light-shadow-flat) !important;
}

html[data-peeryx-theme="light"] :where(.fleet-ops-card:hover, .fleet-filter-chip:hover, .fleet-filter-chip.active) {
    background:rgba(2,61,199,0.06) !important;
    border-color:var(--px-light-border-strong) !important;
    color:var(--px-light-text) !important;
}

html[data-peeryx-theme="light"] :where(.fleet-ops-card strong, .fleet-ops-summary strong, .fleet-action-item strong) {
    color:var(--px-light-text) !important;
}

html[data-peeryx-theme="light"] :where(.fleet-ops-card span, .fleet-ops-card small, .fleet-ops-summary p, .fleet-action-item span, .fleet-machine-hint) {
    color:var(--px-light-muted) !important;
}

html[data-peeryx-theme="light"] :where(.fleet-ops-card-healthy, .fleet-machine-hint-healthy) {
    border-color:rgba(5, 150, 105, 0.30) !important;
}
html[data-peeryx-theme="light"] :where(.fleet-ops-card-warning, .fleet-action-warning, .fleet-machine-hint-warning) {
    border-color:rgba(180, 83, 9, 0.30) !important;
}
html[data-peeryx-theme="light"] :where(.fleet-ops-card-danger, .fleet-action-danger, .fleet-machine-hint-danger) {
    border-color:rgba(190, 18, 60, 0.30) !important;
}

/* --- Permission matrix (admin forms) -------------------------- */
html[data-peeryx-theme="light"] :where(
    .peeryx-permission-matrix-toolbar,
    .peeryx-permission-panel,
    .peeryx-permission-module,
    .peeryx-permission-item
) {
    background:linear-gradient(180deg, var(--px-light-surface), var(--px-light-surface-2)) !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
    box-shadow:var(--px-light-shadow-flat) !important;
}

html[data-peeryx-theme="light"] :where(.peeryx-permission-panel-header) {
    background:linear-gradient(180deg, #f8fbff, #eef6ff) !important;
    border-color:var(--px-light-border) !important;
}

html[data-peeryx-theme="light"] :where(.peeryx-permission-item:hover) {
    background:rgba(2,61,199,0.06) !important;
    border-color:var(--px-light-border-strong) !important;
}

html[data-peeryx-theme="light"] .peeryx-permission-matrix-search {
    background:#ffffff !important;
    border-color:rgba(15,40,80,0.16) !important;
    color:var(--px-light-text) !important;
}

html[data-peeryx-theme="light"] :where(.peeryx-permission-chip, .peeryx-permission-counter) {
    background:rgba(2,61,199,0.08) !important;
    border-color:rgba(2,61,199,0.22) !important;
    color:var(--px-light-blue) !important;
}

html[data-peeryx-theme="light"] :where(.peeryx-permission-chip:hover) {
    background:rgba(2,61,199,0.14) !important;
    border-color:var(--px-light-border-strong) !important;
}

html[data-peeryx-theme="light"] :where(.peeryx-permission-panel-title, .peeryx-permission-module-title, .peeryx-permission-item-label) {
    color:var(--px-light-text) !important;
}

html[data-peeryx-theme="light"] :where(.peeryx-permission-matrix-subtitle, .peeryx-permission-module-description) {
    color:var(--px-light-muted) !important;
}

/* --- Admin action grid / table wrap / builder / wizard preview - */
html[data-peeryx-theme="light"] .peeryx-admin-action-grid a {
    background:linear-gradient(180deg, var(--px-light-surface), var(--px-light-surface-2)) !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
    box-shadow:var(--px-light-shadow-flat) !important;
}
html[data-peeryx-theme="light"] .peeryx-admin-action-grid a:hover {
    background:rgba(2,61,199,0.06) !important;
    border-color:var(--px-light-border-strong) !important;
}
html[data-peeryx-theme="light"] .peeryx-admin-action-grid strong {
    color:var(--px-light-text) !important;
}

html[data-peeryx-theme="light"] .fi-panel-admin .peeryx-admin-table-wrap {
    background:#ffffff !important;
    border-color:var(--px-light-border) !important;
}

html[data-peeryx-theme="light"] .pc-wizard-main .peeryx-builder-actions {
    background:linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.98)) !important;
    border-color:var(--px-light-border) !important;
}

html[data-peeryx-theme="light"] :where(.peeryx-wizard-preview) {
    background:linear-gradient(180deg, var(--px-light-surface), var(--px-light-surface-2)) !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
}
html[data-peeryx-theme="light"] .peeryx-wizard-preview strong {
    color:var(--px-light-text) !important;
}

/* --- Inline code blocks → light "paper" surface --------------- */
html[data-peeryx-theme="light"] :where(.peeryx-code-block) {
    background:#f8fafc !important;
    border-color:rgba(15,40,80,0.14) !important;
}
html[data-peeryx-theme="light"] .peeryx-code-block pre {
    color:var(--px-light-text-2) !important;
}

/* --- Locale switcher native <option> -------------------------- */
html[data-peeryx-theme="light"] .peeryx-locale-switcher select option {
    background:#ffffff !important;
    color:var(--px-light-text) !important;
}

/* --- Network world map (static SVG + live Leaflet) ------------- */
html[data-peeryx-theme="light"] :where(.peeryx-world-map, .peeryx-world-map-live.leaflet-container) {
    background:radial-gradient(circle at top left, rgba(2,77,251,0.1), transparent 42%),
        linear-gradient(165deg, #f4f9ff, #eaf2fb) !important;
    border-color:var(--px-light-border) !important;
}
html[data-peeryx-theme="light"] .peeryx-world-map-empty {
    background:rgba(255, 255, 255, 0.88) !important;
    border-color:rgba(15,40,80,0.18) !important;
    color:var(--px-light-muted) !important;
}
html[data-peeryx-theme="light"] .peeryx-map-grid-line {
    stroke:rgba(15,40,80,0.12) !important;
}
/* Leaflet child rules carry !important + compound specificity, so these
   overrides are written long-hand to outrank them. */
html[data-peeryx-theme="light"] .peeryx-world-map-live .leaflet-control-zoom a,
html[data-peeryx-theme="light"] .peeryx-world-map-live .leaflet-control-attribution,
html[data-peeryx-theme="light"] .peeryx-world-map-live .leaflet-popup-content-wrapper,
html[data-peeryx-theme="light"] .peeryx-world-map-live .leaflet-popup-tip,
html[data-peeryx-theme="light"] .peeryx-world-map-live .leaflet-tooltip.peeryx-node-tooltip {
    background:rgba(255, 255, 255, 0.97) !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
    box-shadow:0 10px 24px rgba(15,40,80,0.14) !important;
}
html[data-peeryx-theme="light"] .peeryx-world-map-live .leaflet-control-zoom a:hover {
    background:rgba(2,61,199,0.12) !important;
}
html[data-peeryx-theme="light"] .peeryx-world-map-live .leaflet-control-attribution a,
html[data-peeryx-theme="light"] .peeryx-world-map-live .leaflet-popup-close-button {
    color:var(--px-light-blue) !important;
}

/* --- Text contrast for custom (non-tag) elements on light surfaces.
   These are span/div/button/summary nodes the generic tag overrides
   above don't reach, now sitting on lightened configurator/service
   surfaces where their original pale text would be invisible. ----- */
html[data-peeryx-theme="light"] :where(
    .pc-summary-addon div,
    .pc-value.pc-flash,
    .px-msg-head,
    .client-advanced-details summary,
    .pc-total strong
) {
    color:var(--px-light-text) !important;
}

html[data-peeryx-theme="light"] :where(.pc-total) {
    background:rgba(2,61,199,0.08) !important;
    border-color:rgba(2,61,199,0.28) !important;
}
html[data-peeryx-theme="light"] :where(.pc-total span) {
    color:var(--px-light-blue) !important;
}

html[data-peeryx-theme="light"] :where(
    .pc-tab-btn:hover, .pc-tab-btn.is-active,
    .pc-scale-btn:hover, .pc-scale-btn.is-active,
    .peeryx-map-toggle:hover, .peeryx-map-toggle.is-active,
    .px-service-type
) {
    color:var(--px-light-blue) !important;
}
html[data-peeryx-theme="light"] :where(
    .pc-tab-btn.is-active,
    .pc-scale-btn.is-active,
    .peeryx-map-toggle.is-active
) {
    background:rgba(2,61,199,0.12) !important;
    border-color:var(--px-light-border-strong) !important;
}

html[data-peeryx-theme="light"] :where(.pc-stepper span.is-active) {
    background:rgba(2,61,199,0.12) !important;
    border-color:var(--px-light-border-strong) !important;
    color:var(--px-light-blue) !important;
    box-shadow:inset 0 0 0 1px rgba(2,61,199,0.28) !important;
}
html[data-peeryx-theme="light"] :where(.pc-stepper span.is-complete) {
    background:rgba(5, 150, 105, 0.10) !important;
    border-color:rgba(5, 150, 105, 0.34) !important;
    color:var(--px-light-green) !important;
}

html[data-peeryx-theme="light"] :where(.pc-status-pill-success) {
    border-color:rgba(5, 150, 105, 0.40) !important;
    background:rgba(5, 150, 105, 0.12) !important;
    color:var(--px-light-green) !important;
}

html[data-peeryx-theme="light"] :where(.pc-summary-chip, .px-service-metrics span) {
    background:rgba(2,61,199,0.1) !important;
    border-color:rgba(2,61,199,0.28) !important;
    color:var(--px-light-blue) !important;
}

html[data-peeryx-theme="light"] .peeryx-map-legend .dot-remote {
    color:#059669 !important;
    background:#059669 !important;
}

/* ============================================================
   White-mode completion v3 — Filament resource shell (admin + client).
   The base ships a high-specificity DARK resource theme
   (.fi-panel-admin / .fi-panel-client / [data-panel-id]) that the first
   light layer didn't outrank, so list/table/record pages — the bulk of
   the app — rendered dark with near-invisible text. Selectors below
   re-prefix that shell with html[data-peeryx-theme="light"] so they win.
   ============================================================ */

/* Re-point the resource design tokens to light — fixes every rule that
   reads var(--px-resource-*) in one shot. */
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) {
    --px-resource-surface-a:rgba(255, 255, 255, 0.99);
    --px-resource-surface-b:rgba(248, 251, 255, 0.97);
    --px-resource-border:rgba(15,40,80,0.11);
    --px-resource-border-soft:rgba(15,40,80,0.1);
    --px-resource-head-a:#0b1f3a;
    --px-resource-head-b:#0b1f3a;
    --px-resource-text:#0f172a;
    --px-resource-subtle:#64748b;
}

/* Sections + table-toolbar shells. */
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-section,
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta-header {
    background:linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.97)) !important;
    border-color:var(--px-light-border) !important;
    box-shadow:var(--px-light-shadow-flat) !important;
}

/* Table head. */
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta table thead th,
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .peeryx-admin-table thead th {
    background:linear-gradient(180deg, #f3f8ff, #e9f3fc) !important;
    color:var(--px-light-muted) !important;
    border-bottom-color:var(--px-light-border) !important;
}

/* Table body cells + zebra + hover + emphasis + inline links. */
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta table tbody td {
    color:var(--px-light-text) !important;
    background:transparent !important;
    border-top-color:rgba(15,40,80,0.1) !important;
    border-bottom-color:rgba(15,40,80,0.1) !important;
}
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta table tbody tr:nth-child(even) td {
    background:rgba(2,61,199,0.03) !important;
}
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta table tbody tr:hover td {
    background:rgba(2,61,199,0.07) !important;
    border-bottom-color:rgba(2,61,199,0.18) !important;
}
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta td strong {
    color:var(--px-light-text) !important;
}
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta td [class*="fi-link"] {
    color:var(--px-light-blue) !important;
}

/* Page headers, pagination, bespoke admin table. */
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-header-heading {
    color:var(--px-light-text) !important;
}
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-header-subheading {
    color:var(--px-light-muted) !important;
}
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-header {
    background:transparent !important;
}
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-pagination {
    background:transparent !important;
}
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .peeryx-admin-table-wrap {
    background:#ffffff !important;
    border-color:var(--px-light-border) !important;
}
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .peeryx-admin-table tbody th {
    background:#eef6ff !important;
    color:var(--px-light-muted) !important;
}

/* Form controls inside resource pages. */
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-input-wrp,
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-select-input,
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-textarea,
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-input {
    background:#ffffff !important;
    border-color:rgba(15,40,80,0.16) !important;
    color:var(--px-light-text) !important;
}

/* Row-action / gray / icon buttons → light ghost pills. Primary buttons
   keep their bright gradient (they read fine on white). */
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-btn-color-gray,
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta .fi-btn-color-gray,
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta .fi-ta-actions .fi-btn-color-gray,
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta .fi-icon-btn,
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta .fi-ta-actions .fi-ac-icon-btn-action .fi-btn,
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta .fi-ta-actions .fi-ac-icon-btn-group .fi-btn {
    background:rgba(2,61,199,0.08) !important;
    border-color:rgba(2,61,199,0.22) !important;
    color:var(--px-light-blue) !important;
}
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-btn-color-gray:hover,
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta .fi-btn-color-gray:hover,
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta .fi-ta-actions .fi-btn-color-gray:hover,
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta .fi-icon-btn:hover,
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta .fi-ta-actions .fi-ac-icon-btn-action .fi-btn:hover,
html[data-peeryx-theme="light"] :where(.fi-panel-admin, .fi-panel-client, [data-panel-id="admin"], [data-panel-id="client"]) .fi-ta .fi-ta-actions .fi-ac-icon-btn-group .fi-btn:hover {
    background:rgba(2,61,199,0.15) !important;
    border-color:var(--px-light-border-strong) !important;
    color:var(--px-light-blue) !important;
}

/* ============================================================
   White-mode completion v3b — remaining component contrast fixes
   (reseller actions, Game-Protection tables, status/badge text,
   form error banner). Plain selectors — these outrank their compound
   bases without :where (which would zero out specificity).
   ============================================================ */

/* Reseller action buttons/links (were near-white text on a teal tint). */
html[data-peeryx-theme="light"] .rs-hero-actions a,
html[data-peeryx-theme="light"] .rs-panel-head a,
html[data-peeryx-theme="light"] .rs-form-panel button,
html[data-peeryx-theme="light"] .rs-table-row button {
    background:rgba(2,61,199,0.08) !important;
    border-color:rgba(2,61,199,0.24) !important;
    color:var(--px-light-blue) !important;
}
html[data-peeryx-theme="light"] .rs-hero-actions a:hover,
html[data-peeryx-theme="light"] .rs-panel-head a:hover,
html[data-peeryx-theme="light"] .rs-form-panel button:hover,
html[data-peeryx-theme="light"] .rs-table-row button:hover {
    background:rgba(2,61,199,0.15) !important;
    border-color:var(--px-light-border-strong) !important;
}
html[data-peeryx-theme="light"] .rs-service-link {
    color:var(--px-light-blue) !important;
}
html[data-peeryx-theme="light"] .rs-service-link:hover {
    color:#075985 !important;
}
html[data-peeryx-theme="light"] .rs-token-box {
    background:rgba(2,61,199,0.06) !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
}
html[data-peeryx-theme="light"] .rs-health-ring {
    background:radial-gradient(circle at center, #ffffff 0 58%, transparent 60%),
        conic-gradient(#083bb2 var(--health), rgba(255,255,255,0.08) 0) !important;
}
html[data-peeryx-theme="light"] .rs-health-ring span {
    color:var(--px-light-text) !important;
}

/* Game-Protection tables/stages (client portal). */
html[data-peeryx-theme="light"] .peeryx-game-stage strong,
html[data-peeryx-theme="light"] .peeryx-game-rows strong {
    color:var(--px-light-text) !important;
}
html[data-peeryx-theme="light"] .peeryx-game-table td a,
html[data-peeryx-theme="light"] .peeryx-game-rows a {
    color:var(--px-light-blue) !important;
}
html[data-peeryx-theme="light"] .peeryx-game-table td a:hover,
html[data-peeryx-theme="light"] .peeryx-game-rows a:hover {
    color:#075985 !important;
}

/* Status / badge / brand text that was pale on its own light tint. */
html[data-peeryx-theme="light"] .peeryx-status-warning {
    color:var(--px-light-amber) !important;
    background:rgba(245, 158, 11, 0.12) !important;
}
html[data-peeryx-theme="light"] .peeryx-sidebar-footer-badge-success {
    color:var(--px-light-green) !important;
    background:rgba(5, 150, 105, 0.12) !important;
}
html[data-peeryx-theme="light"] .peeryx-brand-signal strong {
    color:var(--px-light-text) !important;
}
html[data-peeryx-theme="light"] .peeryx-topbar-chip.success {
    color:var(--px-light-green) !important;
    background:rgba(5, 150, 105, 0.12) !important;
}
html[data-peeryx-theme="light"] .peeryx-topbar-chip.warning {
    color:var(--px-light-amber) !important;
    background:rgba(245, 158, 11, 0.12) !important;
}

/* Inline form-error banner (used across client request/detail pages).
   No !important on purpose: the class is occasionally reused for success/
   notice banners with an inline green color — specificity alone darkens
   the real (red) errors while letting those inline overrides win. */
html[data-peeryx-theme="light"] .auth-error {
    color:var(--px-light-red);
    background:rgba(225, 29, 72, 0.10);
    border-color:rgba(225, 29, 72, 0.24);
}

/* ============================================================
   White-mode completion v3c — classes defined ONLY in per-page blade
   <style> blocks (anti-DDoS command deck, reseller workspaces, etc.).
   These never reached peeryx-portal.css, so they stayed dark in light
   mode. html[theme]-prefixed rules outrank the in-page rules by
   specificity. Data-viz gauges (ring/donut/bar) are deliberately left
   alone so their coloured arcs aren't flattened; only their labels and
   true track/row surfaces are re-skinned.
   ============================================================ */

/* Surfaces (cards, rows, shells, command decks). */
html[data-peeryx-theme="light"] .adoc-command,
html[data-peeryx-theme="light"] .adoc-cpu-global,
html[data-peeryx-theme="light"] .adoc-decision,
html[data-peeryx-theme="light"] .adoc-dimension-row,
html[data-peeryx-theme="light"] .adoc-hero-grid,
html[data-peeryx-theme="light"] .adoc-interface,
html[data-peeryx-theme="light"] .adoc-interface-summary,
html[data-peeryx-theme="light"] .adoc-ops-target,
html[data-peeryx-theme="light"] .adoc-shell,
html[data-peeryx-theme="light"] .ddos-head-delete,
html[data-peeryx-theme="light"] .ddos-profiles-page,
html[data-peeryx-theme="light"] .grafana-simple,
html[data-peeryx-theme="light"] .pc-traffic-metrics,
html[data-peeryx-theme="light"] .px-fb-node,
html[data-peeryx-theme="light"] .rmd-field,
html[data-peeryx-theme="light"] .rp-log-row,
html[data-peeryx-theme="light"] .rs-command,
html[data-peeryx-theme="light"] .rs-metric,
html[data-peeryx-theme="light"] .rs-port-jack,
html[data-peeryx-theme="light"] .rs-summary-item {
    background:linear-gradient(180deg, var(--px-light-surface), var(--px-light-surface-2)) !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
    box-shadow:var(--px-light-shadow-flat) !important;
}

/* Chart track / row / cell surfaces (not the gauges themselves). */
html[data-peeryx-theme="light"] .adoc-cpu-bar-track,
html[data-peeryx-theme="light"] .adoc-track,
html[data-peeryx-theme="light"] .adoc-service-meter-row,
html[data-peeryx-theme="light"] .rmon-bar-row,
html[data-peeryx-theme="light"] .rmon-heat-cell {
    background:linear-gradient(180deg, #f8fbff, #eef6ff) !important;
    border-color:var(--px-light-border) !important;
}

/* Headings / values → solid dark text. */
html[data-peeryx-theme="light"] .adoc-ops-title,
html[data-peeryx-theme="light"] .adoc-section-title,
html[data-peeryx-theme="light"] .pop-readiness-title,
html[data-peeryx-theme="light"] .px-fb-name,
html[data-peeryx-theme="light"] .px-fb-site-title,
html[data-peeryx-theme="light"] .px-notif-title,
html[data-peeryx-theme="light"] .px-pay-name,
html[data-peeryx-theme="light"] .rkf-site-title,
html[data-peeryx-theme="light"] .ro-id,
html[data-peeryx-theme="light"] .rs-metric-value,
html[data-peeryx-theme="light"] .rs-summary-value,
html[data-peeryx-theme="light"] .shell-title,
html[data-peeryx-theme="light"] .vm-console-title {
    color:var(--px-light-text) !important;
}

/* Labels / meta / captions → muted. */
html[data-peeryx-theme="light"] .adoc-cpu-copy,
html[data-peeryx-theme="light"] .adoc-interface-foot,
html[data-peeryx-theme="light"] .adoc-kicker,
html[data-peeryx-theme="light"] .adoc-legend,
html[data-peeryx-theme="light"] .adoc-service-foot,
html[data-peeryx-theme="light"] .label,
html[data-peeryx-theme="light"] .meta,
html[data-peeryx-theme="light"] .px-fb-meta,
html[data-peeryx-theme="light"] .px-pay-help,
html[data-peeryx-theme="light"] .rmd-note,
html[data-peeryx-theme="light"] .rmon-core-legend,
html[data-peeryx-theme="light"] .rr-prefixes,
html[data-peeryx-theme="light"] .rs-command-label,
html[data-peeryx-theme="light"] .rs-port-label {
    color:var(--px-light-muted) !important;
}

/* Remaining light-on-light body text inside those blocks → dark. */
html[data-peeryx-theme="light"] .adoc-brief-item,
html[data-peeryx-theme="light"] .adoc-core,
html[data-peeryx-theme="light"] .adoc-cpu-bar,
html[data-peeryx-theme="light"] .adoc-cpu-donut,
html[data-peeryx-theme="light"] .adoc-dimension-head,
html[data-peeryx-theme="light"] .adoc-dimension-main,
html[data-peeryx-theme="light"] .adoc-dimension-metrics,
html[data-peeryx-theme="light"] .adoc-dimension-total,
html[data-peeryx-theme="light"] .adoc-ifbar,
html[data-peeryx-theme="light"] .adoc-interface-card-head,
html[data-peeryx-theme="light"] .adoc-interface-metric,
html[data-peeryx-theme="light"] .adoc-next-list,
html[data-peeryx-theme="light"] .adoc-ops-metrics,
html[data-peeryx-theme="light"] .adoc-ops-risk,
html[data-peeryx-theme="light"] .adoc-service-metrics,
html[data-peeryx-theme="light"] .cmd,
html[data-peeryx-theme="light"] .ddos-field,
html[data-peeryx-theme="light"] .grafana-link,
html[data-peeryx-theme="light"] .pop-check,
html[data-peeryx-theme="light"] .px-fb-rec,
html[data-peeryx-theme="light"] .px-notif-msg,
html[data-peeryx-theme="light"] .ro-main,
html[data-peeryx-theme="light"] .sfd-edit-port,
html[data-peeryx-theme="light"] .terminal-empty,
html[data-peeryx-theme="light"] .vm-pwr,
html[data-peeryx-theme="light"] .vmx-loading {
    color:var(--px-light-text) !important;
}

/* Neutral chips / pills / toggles / badges → light blue tint. */
html[data-peeryx-theme="light"] .adoc-button,
html[data-peeryx-theme="light"] .adoc-core-pill,
html[data-peeryx-theme="light"] .adoc-status-strip,
html[data-peeryx-theme="light"] .px-fb-chip,
html[data-peeryx-theme="light"] .rf-toggle,
html[data-peeryx-theme="light"] .rgf-toggle,
html[data-peeryx-theme="light"] .ro-chip,
html[data-peeryx-theme="light"] .rpr-avatar,
html[data-peeryx-theme="light"] .rs-badge,
html[data-peeryx-theme="light"] .vmx-badge-blue,
html[data-peeryx-theme="light"] .vmx-badge-cyan,
html[data-peeryx-theme="light"] .vmx-badge-purple {
    background:rgba(2,61,199,0.08) !important;
    border-color:rgba(2,61,199,0.22) !important;
    color:var(--px-light-blue) !important;
}

/* Semantic status chips. */
html[data-peeryx-theme="light"] .adoc-chip-good {
    background:rgba(5, 150, 105, 0.10) !important;
    border-color:rgba(5, 150, 105, 0.24) !important;
    color:var(--px-light-green) !important;
}
html[data-peeryx-theme="light"] .pending,
html[data-peeryx-theme="light"] .warn {
    background:rgba(245, 158, 11, 0.10) !important;
    border-color:rgba(180, 83, 9, 0.24) !important;
    color:var(--px-light-amber) !important;
}
html[data-peeryx-theme="light"] .error,
html[data-peeryx-theme="light"] .is-unknown {
    color:var(--px-light-red) !important;
}

/* failover-board.blade.php — node-card accents tuned for the dark card now sit
   on a light card; make the reason/state text readable. The LED dot keeps the
   bright --n-c accent. */
html[data-peeryx-theme="light"] .px-fb-reasons {
    color:var(--px-light-red) !important;
}
html[data-peeryx-theme="light"] .px-fb-node[data-state="healthy"] .px-fb-state { color:var(--px-light-green) !important; }
html[data-peeryx-theme="light"] .px-fb-node[data-state="recovering"] .px-fb-state { color:#0f766e !important; }
html[data-peeryx-theme="light"] .px-fb-node[data-state="suspect"] .px-fb-state { color:var(--px-light-amber) !important; }
html[data-peeryx-theme="light"] .px-fb-node[data-state="unhealthy"] .px-fb-state { color:var(--px-light-red) !important; }
html[data-peeryx-theme="light"] .px-fb-node[data-state="unknown"] .px-fb-state { color:var(--px-light-muted) !important; }

/* Unread-notification title (the accent left-border still flags it). */
html[data-peeryx-theme="light"] .px-notif.is-unread .px-notif-title {
    color:var(--px-light-text) !important;
}

/* ============================================================
   White-mode completion v3d — descendant span/p/i nodes that carry
   their OWN light color inside an already-lightened block. The parent's
   color override doesn't reach them (their own selector is more
   specific), so they need explicit rules.
   ============================================================ */
html[data-peeryx-theme="light"] .adoc-row span,
html[data-peeryx-theme="light"] .adoc-row p,
html[data-peeryx-theme="light"] .adoc-ops-title p,
html[data-peeryx-theme="light"] .adoc-decision span,
html[data-peeryx-theme="light"] .adoc-interface-foot span,
html[data-peeryx-theme="light"] .ddos-field > span,
html[data-peeryx-theme="light"] .rmon-core-legend span,
html[data-peeryx-theme="light"] .rr-prefixes span {
    color:var(--px-light-muted) !important;
}
html[data-peeryx-theme="light"] .adoc-next-list i {
    color:var(--px-light-blue) !important;
}
html[data-peeryx-theme="light"] .rpr-row span:last-child {
    color:var(--px-light-text) !important;
}
html[data-peeryx-theme="light"] .adoc-ops-target span,
html[data-peeryx-theme="light"] .px-fb-meta b {
    color:var(--px-light-muted) !important;
}
html[data-peeryx-theme="light"] .adoc-dimension-total b,
html[data-peeryx-theme="light"] .rpx-tutorial b {
    color:var(--px-light-text) !important;
}

/* ============================================================
   White-mode design finish: per-page breathing room (light only).
   Surfaces also lift via the strengthened --px-light-shadow / border
   tokens above. Dark keeps its original compact layout. Values are
   modest bumps of the tightest gaps/paddings; zero-axes preserved.
   ============================================================ */
/* traffic-analytics.blade.php */
html[data-peeryx-theme="light"] .pc-traffic-row { gap: 9px !important; }
html[data-peeryx-theme="light"] .pc-traffic-metrics { gap: 9px !important; }
/* vm-detail.blade.php */
html[data-peeryx-theme="light"] .vm-state { gap: 9px !important; }
html[data-peeryx-theme="light"] .vm-state { padding: 10px 12px !important; }
html[data-peeryx-theme="light"] .vm-autopay { padding: 10px 12px !important; }
html[data-peeryx-theme="light"] .vm-pwd-row { gap: 9px !important; }
html[data-peeryx-theme="light"] .vmx-card { padding: 14px 16px 12px !important; }
html[data-peeryx-theme="light"] .vmx-card-head { gap: 9px !important; }
html[data-peeryx-theme="light"] .vm-live-kpis { gap: 9px !important; }
html[data-peeryx-theme="light"] .vm-live-kpi { padding: 10px 12px !important; }
html[data-peeryx-theme="light"] .vm-log-line { padding: 10px 16px !important; }
html[data-peeryx-theme="light"] .vm-console-head { padding: 12px 14px !important; }
/* anti-ddos-command-dashboard.blade.php */
html[data-peeryx-theme="light"] .adoc-list { gap: 9px !important; }
html[data-peeryx-theme="light"] .adoc-ops-metrics { gap: 9px !important; }
html[data-peeryx-theme="light"] .adoc-table { gap: 9px !important; }
html[data-peeryx-theme="light"] .adoc-table-row { padding: 12px 12px !important; }
html[data-peeryx-theme="light"] .adoc-dimension-head { gap: 9px !important; }
html[data-peeryx-theme="light"] .adoc-dimension-list { gap: 9px !important; }
html[data-peeryx-theme="light"] .adoc-dimension-row { gap: 9px !important; }
html[data-peeryx-theme="light"] .adoc-dimension-row { padding: 10px !important; }
html[data-peeryx-theme="light"] .adoc-dimension-metrics { gap: 9px !important; }
html[data-peeryx-theme="light"] .adoc-service-metrics { gap: 9px !important; }
html[data-peeryx-theme="light"] .adoc-core { padding: 10px 0 !important; }
html[data-peeryx-theme="light"] .adoc-brief-grid { gap: 9px !important; }
html[data-peeryx-theme="light"] .adoc-next-list { gap: 9px !important; }
html[data-peeryx-theme="light"] .adoc-core-grid { gap: 9px !important; }
html[data-peeryx-theme="light"] .adoc-core-pill { padding: 10px !important; }
html[data-peeryx-theme="light"] .adoc-interface-summary { gap: 9px !important; }
/* failover-board.blade.php */
html[data-peeryx-theme="light"] .px-fb-site-head { gap: 9px !important; }
html[data-peeryx-theme="light"] .px-fb-node-top { gap: 9px !important; }
/* grafana-dashboard.blade.php */
html[data-peeryx-theme="light"] .grafana-permission-list { gap: 9px !important; }
html[data-peeryx-theme="light"] .grafana-permission-row { padding: 10px 10px !important; }
html[data-peeryx-theme="light"] .grafana-simple-status { gap: 9px !important; }
html[data-peeryx-theme="light"] .grafana-simple-status { padding: 10px 10px !important; }
html[data-peeryx-theme="light"] .grafana-simple-card { padding: 12px 12px !important; }
html[data-peeryx-theme="light"] .grafana-simple-list { gap: 9px !important; }
html[data-peeryx-theme="light"] .grafana-link-grid { gap: 9px !important; }
/* remote-ops-terminal.blade.php */
html[data-peeryx-theme="light"] .terminal-shell-head { gap: 9px !important; }
/* switch-fabric-dashboard.blade.php */
html[data-peeryx-theme="light"] .sfd-field { gap: 9px !important; }
/* reseller-bgp-sessions.blade.php */
html[data-peeryx-theme="light"] .rb-field { gap: 9px !important; }
/* reseller-change-requests.blade.php */
html[data-peeryx-theme="light"] .rcr-field { gap: 9px !important; }
/* reseller-filtering.blade.php */
html[data-peeryx-theme="light"] .rf-field { gap: 9px !important; }
html[data-peeryx-theme="light"] .rf-policy-row { padding: 10px 0 !important; }
/* reseller-game-filtering.blade.php */
html[data-peeryx-theme="light"] .rgf-field { gap: 9px !important; }
html[data-peeryx-theme="light"] .rgf-policy-row { padding: 10px 0 !important; }
/* reseller-machine-detail.blade.php */
html[data-peeryx-theme="light"] .rmd-field { gap: 9px !important; }
html[data-peeryx-theme="light"] .rmd-table { gap: 9px !important; }
/* reseller-machines.blade.php */
html[data-peeryx-theme="light"] .rp-log { gap: 9px !important; }
html[data-peeryx-theme="light"] .rp-log-row { padding: 10px 10px !important; }
/* reseller-monitoring.blade.php */
html[data-peeryx-theme="light"] .rmon-top { gap: 9px !important; }
html[data-peeryx-theme="light"] .rmon-top { padding: 10px !important; }
html[data-peeryx-theme="light"] .rmon-status { gap: 9px !important; }
html[data-peeryx-theme="light"] .rmon-status { padding: 0 10px !important; }
html[data-peeryx-theme="light"] .rmon-kpis { gap: 9px !important; }
html[data-peeryx-theme="light"] .rmon-kpi { padding: 10px !important; }
html[data-peeryx-theme="light"] .rmon-grid { gap: 9px !important; }
html[data-peeryx-theme="light"] .rmon-panel-head { gap: 9px !important; }
html[data-peeryx-theme="light"] .rmon-panel-head { padding: 12px 12px !important; }
html[data-peeryx-theme="light"] .rmon-panel-body { padding: 12px !important; }
html[data-peeryx-theme="light"] .rmon-core-legend { gap: 9px !important; }
html[data-peeryx-theme="light"] .rmon-mini-grid { gap: 9px !important; }
html[data-peeryx-theme="light"] .rmon-logs { gap: 9px !important; }
html[data-peeryx-theme="light"] .rmon-log { gap: 9px !important; }
html[data-peeryx-theme="light"] .rmon-log { padding: 10px !important; }
/* reseller-overview.blade.php */
html[data-peeryx-theme="light"] .rs-port-grid { gap: 9px !important; }
html[data-peeryx-theme="light"] .rs-command-list { gap: 9px !important; }
/* reseller-profile.blade.php */
html[data-peeryx-theme="light"] .rpr-row { padding: 10px 0 !important; }
html[data-peeryx-theme="light"] .rpr-row { gap: 9px !important; }
/* reseller-routing.blade.php */
html[data-peeryx-theme="light"] .rr-field { gap: 9px !important; }
/* reseller-support-center.blade.php */
html[data-peeryx-theme="light"] .rsc-field { gap: 9px !important; }
/* reseller-tunnels.blade.php */
html[data-peeryx-theme="light"] .rt-field { gap: 9px !important; }
/* reseller-vm-router-detail.blade.php */
html[data-peeryx-theme="light"] .rvd-field { gap: 9px !important; }
/* reseller-vm-routers.blade.php */
html[data-peeryx-theme="light"] .rvm-field { gap: 9px !important; }

/* Service wizards / steppers in white mode. These components are reused across
   client, reseller and admin pages, and some pages still ship dark inline rules. */
html[data-peeryx-theme="light"] :where(.pc-wizard-shell, .peeryx-wizard-shell) {
    background:transparent !important;
}

html[data-peeryx-theme="light"] :where(.pc-wizard-main, .peeryx-wizard-main, .pc-wizard-panel, .peeryx-wizard-panel, .pc-wizard-aside-card, .peeryx-wizard-card, .pc-wizard-context) {
    background:#ffffff !important;
    border-color:var(--px-light-border) !important;
    box-shadow:var(--px-light-shadow-soft) !important;
    color:var(--px-light-text) !important;
}

html[data-peeryx-theme="light"] :where(.pc-wizard-panel h3, .peeryx-wizard-panel h3, .pc-wizard-aside-card h3, .pc-wizard-aside-card h4, .peeryx-wizard-card h3, .pc-wizard-context-item strong, .peeryx-wizard-preview strong) {
    color:var(--px-light-text) !important;
}

html[data-peeryx-theme="light"] :where(.pc-wizard-panel p, .peeryx-wizard-panel p, .pc-hint, .pc-wizard-context-item span, .peeryx-wizard-preview span, .pc-summary-chip, .pc-breakdown-lines span) {
    color:var(--px-light-muted) !important;
}

html[data-peeryx-theme="light"] :where(.pc-stepper, .peeryx-stepper, .peeryx-stepbar) {
    display: flex !important;
    gap: 8px !important;
    padding: 8px !important;
    background:#f7fbff !important;
    border:1px solid var(--px-light-border) !important;
    border-radius: 12px !important;
    box-shadow:inset 0 1px 0 rgba(15,40,80,0.18) !important;
}

html[data-peeryx-theme="light"] :where(.pc-stepper span, .peeryx-stepper span, .peeryx-stepbar-item) {
    min-height: 38px !important;
    background:#ffffff !important;
    border:1px solid var(--px-light-border) !important;
    color:var(--px-light-muted) !important;
    box-shadow:0 8px 20px rgba(15,40,80,0.05) !important;
}

html[data-peeryx-theme="light"] :where(.pc-stepper span.is-active, .peeryx-stepper span.is-active, .peeryx-stepper span.active, .peeryx-stepbar-item.is-active, .peeryx-stepbar-item.active) {
    background:linear-gradient(135deg, #e8f7ff, #ffffff) !important;
    border-color:rgba(2,61,199,0.35) !important;
    color:var(--px-light-blue) !important;
    box-shadow:0 12px 24px rgba(2,61,199,0.12) !important;
}

html[data-peeryx-theme="light"] :where(.pc-stepper span.is-complete, .peeryx-stepper span.is-complete, .peeryx-stepper span.completed, .peeryx-stepbar-item.is-complete, .peeryx-stepbar-item.completed) {
    background:rgba(5, 150, 105, 0.10) !important;
    border-color:rgba(5, 150, 105, 0.26) !important;
    color:var(--px-light-green) !important;
}

html[data-peeryx-theme="light"] :where(.pc-choice-card, .pc-toggle-card, .pc-info-card, .pc-plan-preview, .pc-slider-block, .pc-message, .peeryx-wizard-preview, .peeryx-code-block, .pc-summary-item) {
    background:#ffffff !important;
    border-color:var(--px-light-border) !important;
    color:var(--px-light-text) !important;
    box-shadow:var(--px-light-shadow-soft) !important;
}

html[data-peeryx-theme="light"] :where(.pc-toggle-card.is-selected, .pc-choice-card:hover) {
    background:#f0f9ff !important;
    border-color:rgba(2,61,199,0.32) !important;
}

html[data-peeryx-theme="light"] :where(.pc-range-wrap input[type="range"], .pc-slider-block input[type="range"]) {
    accent-color: var(--px-light-blue) !important;
}

/* ============================================================
   Overview pages (client + admin) — single vertical rhythm.
   The .fi-page-main grid already spaces top-level sections (20px); the
   per-section margin-bottom stacked on top into uneven ~38px gaps. Drop the
   redundant margins so the rhythm is one consistent 20px, and give the
   6-up quick-link cards more breathing room (gap 10 -> 14). Both themes.
   ============================================================ */
.peeryx-dashboard-header,
.client-quick-grid,
.client-insight-panel,
.client-dashboard-actions,
.peeryx-admin-action-grid {
    margin-bottom: 0 !important;
}

.client-quick-grid {
    gap: 16px !important;
}

/* ============================================================
   Public marketing readability pass (/)
   Some marketing sections reuse muted blue-grey labels on very close navy
   surfaces. Keep the Peeryx dark look, but lift copy/labels enough that the
   landing page can be read without hunting for the text.
   ============================================================ */
body.peeryx-marketing-body {
    --text-secondary:#0b1f3a;
    --text-muted:#0b1f3a;
}

body.peeryx-marketing-body :where(
    .mk-modern-hero-copy p,
    .mk-section p,
    .mk-modern-service-card p,
    .mk-modern-band p,
    .mk-attack-story p,
    .mk-method-panel p,
    .mk-signal-lab p,
    .mk-map-section p,
    .mk-pricing-card p,
    .mk-blog-card p,
    .mk-status-card p,
    .mk-footer p,
    main li
) {
    color:#0b1f3a !important;
    -webkit-text-fill-color:#0b1f3a !important;
}

body.peeryx-marketing-body :where(
    .mk-kicker,
    .mk-eyebrow,
    [class*="kicker"],
    [class*="eyebrow"]
) {
    color:#183e95 !important;
    -webkit-text-fill-color:#183e95 !important;
}

body.peeryx-marketing-body :where(
    .mk-muted,
    .mk-modern-dashboard header span,
    .mk-modern-status-grid span,
    .mk-modern-flow span,
    .mk-stat span,
    .mk-proof span,
    .mk-card span,
    .mk-footer-bottom,
    .mk-footer a,
    small,
    .small,
    [class*="muted"],
    [class*="caption"],
    [class*="label"],
    [class*="meta"]
) {
    color:#0b1f3a !important;
    -webkit-text-fill-color:#0b1f3a !important;
}

body.peeryx-marketing-body :where(
    .mk-modern-dashboard strong,
    .mk-modern-status-grid strong,
    .mk-modern-flow strong,
    .mk-stat strong,
    .mk-card strong
) {
    color:#0b1f3a !important;
    -webkit-text-fill-color:#0b1f3a !important;
}

body.peeryx-marketing-body main a:not(.mk-btn):not(.mk-modern-service-card) {
    color:#183e95;
    -webkit-text-fill-color:#183e95;
}

/* ============================================================
   Public marketing visual bug sweep
   Guard rails for the real "/" site: no low-contrast microcopy, no clipped
   cards/buttons, cleaner tables/forms, and stronger mobile behavior.
   ============================================================ */
body.peeryx-marketing-body :where(
    .mk-cinematic-shell,
    .mk-panel-showcase,
    .mk-asymmetric-stage,
    .mk-story-band,
    .mk-commercial-triad article,
    .mk-faq-grid details,
    .mk-pricing-layout,
    .mk-price-policy-card,
    .mk-price-setup-grid article,
    .mk-commercial-notes article,
    .mk-rule-builder-stage,
    .mk-presets-grid article,
    .mk-ui-shot,
    .mk-cinema-scene,
    .mk-client-preview div,
    .mk-modern-dashboard,
    .mk-modern-service-card,
    .mk-method-grid article,
    .mk-trust-strip div,
    .mk-logo-wall,
    .mk-conversion-band,
    .mk-pricing-preview article
) {
    min-width: 0;
    overflow-wrap: anywhere;
}

body.peeryx-marketing-body :where(
    .mk-cinematic-shell,
    .mk-panel-showcase,
    .mk-asymmetric-stage,
    .mk-story-band,
    .mk-commercial-triad article,
    .mk-faq-grid details,
    .mk-price-policy-card,
    .mk-price-setup-grid article,
    .mk-commercial-notes article,
    .mk-rule-builder-stage,
    .mk-presets-grid article,
    .mk-ui-shot,
    .mk-cinema-scene,
    .mk-conversion-band,
    .mk-pricing-preview article
) {
    border-color:rgba(130,167,255,0.18) !important;
    box-shadow:inset 0 1px 0 rgba(15,40,80,0.055),
        0 18px 42px rgba(15,40,80,0.18);
}

body.peeryx-marketing-body :where(
    .mk-editorial-ribbon article,
    .mk-ui-shot-toolbar span,
    .mk-ui-shot-rows div,
    .mk-scene-path,
    .mk-scene-cell,
    .mk-rule-row,
    .mk-builder-grid label,
    .mk-service-rail div,
    .mk-ops-timeline li,
    .mk-price-commit-rows div,
    .mk-pricing-aside li,
    .mk-simple-steps li
) {
    border-color:rgba(150,176,236,0.16) !important;
    background-color:rgba(15,40,80,0.042) !important;
}

body.peeryx-marketing-body :where(
    .mk-editorial-ribbon h4,
    .mk-ui-shot header,
    .mk-ui-shot-rows strong,
    .mk-scene-path strong,
    .mk-scene-cell strong,
    .mk-builder-grid label,
    .mk-rule-row strong,
    .mk-service-rail strong,
    .mk-ops-timeline strong,
    .mk-price-commit-rows strong,
    .mk-pricing-aside strong,
    .mk-faq-grid summary,
    .auth-label,
    .mk-panel h3
) {
    color:#0b1f3a !important;
    -webkit-text-fill-color:#0b1f3a !important;
}

body.peeryx-marketing-body :where(
    .mk-editorial-ribbon p,
    .mk-ui-shot-toolbar span,
    .mk-ui-shot-rows span,
    .mk-scene-path span,
    .mk-scene-cell span,
    .mk-builder-grid span,
    .mk-rule-row span,
    .mk-service-rail span,
    .mk-ops-timeline span,
    .mk-price-commit-rows span,
    .mk-pricing-aside span,
    .mk-price-note,
    .mk-faq-grid p
) {
    color:#0b1f3a !important;
    -webkit-text-fill-color:#0b1f3a !important;
}

body.peeryx-marketing-body :where(.mk-btn, .mk-actions .mk-btn, .mk-modern-actions .mk-btn) {
    min-height: 42px;
    max-width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
}

body.peeryx-marketing-body .mk-btn-primary {
    color:#031018 !important;
    -webkit-text-fill-color:#031018 !important;
    background-color:#225de7 !important;
    background-image:var(--gradient-primary) !important;
    text-shadow:none !important;
}

body.peeryx-marketing-body .mk-btn-primary :where(span, strong, em) {
    color:#031018 !important;
    -webkit-text-fill-color:#031018 !important;
}

body.peeryx-marketing-body :where(.mk-rule-builder-form button, .mk-contact-form button) {
    background-color:#225de7 !important;
    background-image:var(--gradient-primary) !important;
    color:#031018 !important;
    -webkit-text-fill-color:#031018 !important;
    border-color:rgba(34,93,231,0.6) !important;
    text-shadow:none !important;
}

body.peeryx-marketing-body :where(.mk-actions, .mk-modern-actions, .mk-status-hero-actions) {
    align-items: stretch;
}

body.peeryx-marketing-body :where(.auth-input, .mk-contact-form input, .mk-contact-form textarea) {
    width: 100%;
    color:#0b1f3a !important;
    -webkit-text-fill-color:#0b1f3a !important;
    background:rgba(246,248,252,0.74) !important;
    border-color:rgba(160,183,236,0.22) !important;
}

body.peeryx-marketing-body :where(.auth-input::placeholder, .mk-contact-form input::placeholder, .mk-contact-form textarea::placeholder) {
    color:#0b1f3a !important;
    -webkit-text-fill-color:#0b1f3a !important;
}

body.peeryx-marketing-body :where(.mk-pricing-table-wrap, .mk-price-policy-card, .mk-ui-shot) {
    overflow-x: auto;
}

body.peeryx-marketing-body .mk-pricing-table {
    min-width: 620px;
}

body.peeryx-marketing-body .mk-pricing-table :where(th, td) {
    color:#0b1f3a;
    border-color:rgba(150,176,236,0.14);
}

body.peeryx-marketing-body .mk-pricing-table th {
    color:#0b1f3a;
}

body.peeryx-marketing-body :where(.mk-attack-story, .mk-map-section, .mk-method-panel, .mk-signal-lab):not(.is-visible) {
    opacity: 1;
    transform: none;
}

body.peeryx-marketing-body :where(.mk-blog-card-media, .mk-blog-card-media img) {
    max-width: 100%;
}

body.peeryx-marketing-body .mk-mobile-nav-panel {
    max-height: min(76vh, 720px);
    overflow-y: auto;
}

body.peeryx-marketing-body .mk-footer a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
}

body.peeryx-marketing-body .mk-presence-bar a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
}

body.peeryx-marketing-body .mk-nav a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
}

body.peeryx-marketing-body .peeryx-cookie-banner {
    left: 50% !important;
    right: auto !important;
    bottom: 16px !important;
    width: min(760px, calc(100vw - 32px)) !important;
    max-width: none !important;
    transform: translateX(-50%) !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    z-index: 120 !important;
}

body.peeryx-marketing-body .peeryx-cookie-banner h3 {
    margin-bottom: 4px !important;
    font-size: 15px !important;
}

body.peeryx-marketing-body .peeryx-cookie-banner p {
    font-size: 12px !important;
    line-height: 1.45 !important;
}

body.peeryx-marketing-body .peeryx-cookie-actions {
    gap: 8px !important;
    margin-top: 10px !important;
}

body.peeryx-marketing-body .peeryx-cookie-btn {
    min-height: 36px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    color:#0b1f3a !important;
    -webkit-text-fill-color:#0b1f3a !important;
}

body.peeryx-marketing-body .peeryx-cookie-btn.primary {
    background:#225de7 !important;
    border-color:rgba(34,93,231,0.68) !important;
    color:#031018 !important;
    -webkit-text-fill-color:#031018 !important;
}

body.peeryx-marketing-body .peeryx-cookie-fab {
    right: 14px !important;
    bottom: 14px !important;
    z-index: 119 !important;
}

@media (min-width: 900px) {
    body.peeryx-marketing-body .peeryx-cookie-banner {
        display: none;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px;
    }

    body.peeryx-marketing-body .peeryx-cookie-banner.is-visible {
        display: grid;
    }

    body.peeryx-marketing-body .peeryx-cookie-actions {
        margin-top: 0 !important;
        flex-wrap: nowrap !important;
    }
}

@media (max-width: 720px) {
    body.peeryx-marketing-body .peeryx-cookie-banner {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        width: auto !important;
        transform: none !important;
    }
}

@media (max-width: 1180px) {
    body.peeryx-marketing-body :where(
        .mk-modern-service-grid,
        .mk-method-grid,
        .mk-commercial-triad,
        .mk-presets-grid,
        .mk-price-setup-grid
    ) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    body.peeryx-marketing-body :where(
        .mk-modern-hero,
        .mk-cinema-layout,
        .mk-asymmetric-stage,
        .mk-story-band,
        .mk-panel-showcase,
        .mk-pricing-layout,
        .mk-simple-split,
        .mk-modern-band,
        .mk-attack-story,
        .mk-rule-builder-stage
    ) {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.peeryx-marketing-body :where(.mk-modern-hero, .mk-cinematic-shell) {
        padding-top: clamp(28px, 8vw, 54px);
    }

    body.peeryx-marketing-body :where(.mk-modern-dashboard, .mk-cinema-scene, .mk-ui-shot, .mk-attack-diagram) {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    body.peeryx-marketing-body .mk-shell {
        width: min(100% - 28px, var(--shell-max, 1180px));
    }

    body.peeryx-marketing-body :where(
        .mk-modern-service-grid,
        .mk-method-grid,
        .mk-commercial-triad,
        .mk-presets-grid,
        .mk-price-setup-grid,
        .mk-trust-strip,
        .mk-modern-status-grid,
        .mk-modern-flow,
        .mk-client-preview,
        .mk-attack-metrics,
        .mk-footer-grid
    ) {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.peeryx-marketing-body :where(.mk-modern-actions, .mk-actions) {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    body.peeryx-marketing-body :where(.mk-modern-hero-copy h1, .mk-cinematic-shell h2, .mk-conversion-band h2) {
        font-size: clamp(34px, 12vw, 48px) !important;
        line-height: 1.02 !important;
    }

    body.peeryx-marketing-body :where(.mk-cinematic-shell, .mk-panel-showcase, .mk-asymmetric-stage, .mk-story-band, .mk-conversion-band) {
        padding: 18px !important;
    }

    body.peeryx-marketing-body .mk-attack-diagram {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

body.peeryx-marketing-body .mk-filter-core {
        width: 100%;
        min-height: 140px;
    }
}

body.peeryx-marketing-body .mk-header {
    background:rgba(246,248,252,0.88) !important;
    border-bottom:1px solid rgba(150,176,236,0.14) !important;
    box-shadow:0 12px 34px rgba(15,40,80,0.18);
}

body.peeryx-marketing-body .mk-header-inner {
    min-height: 70px;
}

body.peeryx-marketing-body .mk-logo img {
    max-width: 154px;
    object-fit: contain;
}

body.peeryx-marketing-body .mk-btn {
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    border:1px solid transparent;
}

body.peeryx-marketing-body .mk-btn-primary {
    border-color:rgba(94,132,220,0.55) !important;
    box-shadow:0 12px 24px rgba(2,77,251,0.18) !important;
}

body.peeryx-marketing-body .mk-btn-ghost {
    color:#0b1f3a !important;
    -webkit-text-fill-color:#0b1f3a !important;
    background:rgba(15,40,80,0.06) !important;
    border-color:rgba(170,190,238,0.22) !important;
    box-shadow:none !important;
}

body.peeryx-marketing-body .mk-btn-ghost:hover,
body.peeryx-marketing-body .mk-btn-ghost:focus-visible {
    color:#0b1f3a !important;
    -webkit-text-fill-color:#0b1f3a !important;
    background:rgba(34,93,231,0.12) !important;
    border-color:rgba(94,132,220,0.48) !important;
}

body.peeryx-marketing-body :where(.mk-actions, .mk-modern-actions) .mk-btn {
    flex: 0 0 auto;
}

body.peeryx-marketing-body .mk-footer {
    border-top:1px solid rgba(150,176,236,0.14) !important;
    background:linear-gradient(180deg, rgba(15,40,80,0.035), rgba(15,40,80,0.012)),
        rgba(246,248,252,0.92) !important;
}

body.peeryx-marketing-body .mk-footer-grid {
    align-items: start;
}

body.peeryx-marketing-body .mk-footer h4,
body.peeryx-marketing-body .mk-footer h5 {
    letter-spacing: 0 !important;
}

body.peeryx-marketing-body .mk-footer-bottom {
    gap: 12px;
}

@media (max-width: 760px) {
    body.peeryx-marketing-body .mk-presence-bar .mk-shell,
    body.peeryx-marketing-body .mk-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    body.peeryx-marketing-body .mk-mobile-nav-actions .mk-btn,
    body.peeryx-marketing-body .mk-modern-actions .mk-btn,
    body.peeryx-marketing-body .mk-actions .mk-btn {
        width: 100%;
    }
}

/* ============================================================
   Light-mode finish v4 - clean portal shell and support surfaces.
   This sits last on purpose: it polishes the common Filament chrome
   after the older generated page-specific overrides.
   ============================================================ */
html[data-peeryx-theme="light"],
body[data-peeryx-theme="light"] {
    color-scheme: light;
}

html[data-peeryx-theme="light"] body.fi-body,
html[data-peeryx-theme="light"] body.peeryx-portal-body,
body[data-peeryx-theme="light"].fi-body,
body[data-peeryx-theme="light"].peeryx-portal-body {
    background:radial-gradient(circle at 12% -12%, rgba(14,80,233,0.13), transparent 34%),
        radial-gradient(circle at 95% 0%, rgba(45,95,212,0.1), transparent 32%),
        linear-gradient(180deg, #f7fbff 0%, #eef5fb 48%, #f8fbff 100%) !important;
    color:#0f172a !important;
}

html[data-peeryx-theme="light"] .peeryx-bg-ambient,
body[data-peeryx-theme="light"] .peeryx-bg-ambient {
    opacity: 0.62;
    background:radial-gradient(circle at 10% -10%, rgba(14,80,233,0.15), transparent 38%),
        radial-gradient(circle at 86% 108%, rgba(45,95,212,0.11), transparent 38%),
        linear-gradient(180deg, rgba(255,255,255,0.22), rgba(238,245,251,0.58));
}

html[data-peeryx-theme="light"] .peeryx-bg-orb,
body[data-peeryx-theme="light"] .peeryx-bg-orb {
    opacity: 0.08;
}

html[data-peeryx-theme="light"] .fi-main-sidebar,
html[data-peeryx-theme="light"] .fi-sidebar,
body[data-peeryx-theme="light"] .fi-main-sidebar,
body[data-peeryx-theme="light"] .fi-sidebar {
    background:linear-gradient(180deg, rgba(255,255,255,0.96), rgba(243,248,255,0.94)) !important;
    border-color:rgba(15,40,80,0.1) !important;
    box-shadow:16px 0 42px rgba(15,40,80,0.08) !important;
}

html[data-peeryx-theme="light"] .fi-topbar,
body[data-peeryx-theme="light"] .fi-topbar {
    background:rgba(255,255,255,0.86) !important;
    border-color:rgba(15,40,80,0.1) !important;
    box-shadow:0 12px 30px rgba(15,40,80,0.06) !important;
}

html[data-peeryx-theme="light"] .fi-page,
html[data-peeryx-theme="light"] .fi-page-main,
body[data-peeryx-theme="light"] .fi-page,
body[data-peeryx-theme="light"] .fi-page-main {
    color:#0f172a !important;
}

html[data-peeryx-theme="light"] .fi-section,
html[data-peeryx-theme="light"] .fi-ta,
html[data-peeryx-theme="light"] .fi-ta-content,
html[data-peeryx-theme="light"] .fi-wi-stats-overview-stat,
html[data-peeryx-theme="light"] .fi-wi-chart,
html[data-peeryx-theme="light"] .fi-modal-window,
html[data-peeryx-theme="light"] .fi-dropdown-panel,
html[data-peeryx-theme="light"] .fi-in-entry-card,
body[data-peeryx-theme="light"] .fi-section,
body[data-peeryx-theme="light"] .fi-ta,
body[data-peeryx-theme="light"] .fi-ta-content,
body[data-peeryx-theme="light"] .fi-wi-stats-overview-stat,
body[data-peeryx-theme="light"] .fi-wi-chart,
body[data-peeryx-theme="light"] .fi-modal-window,
body[data-peeryx-theme="light"] .fi-dropdown-panel,
body[data-peeryx-theme="light"] .fi-in-entry-card {
    background:rgba(255,255,255,0.96) !important;
    border-color:rgba(15,40,80,0.11) !important;
    color:#0f172a !important;
    box-shadow:0 18px 44px rgba(15,40,80,0.08) !important;
}

html[data-peeryx-theme="light"] .fi-header-heading,
html[data-peeryx-theme="light"] .fi-section-header-heading,
html[data-peeryx-theme="light"] .fi-sidebar-item-label,
html[data-peeryx-theme="light"] .fi-dropdown-list-item-label,
body[data-peeryx-theme="light"] .fi-header-heading,
body[data-peeryx-theme="light"] .fi-section-header-heading,
body[data-peeryx-theme="light"] .fi-sidebar-item-label,
body[data-peeryx-theme="light"] .fi-dropdown-list-item-label {
    color:#0f172a !important;
}

html[data-peeryx-theme="light"] .fi-header-subheading,
html[data-peeryx-theme="light"] .fi-sidebar-group-label,
html[data-peeryx-theme="light"] .fi-ta-header-cell,
body[data-peeryx-theme="light"] .fi-header-subheading,
body[data-peeryx-theme="light"] .fi-sidebar-group-label,
body[data-peeryx-theme="light"] .fi-ta-header-cell {
    color:#5c6f88 !important;
}

html[data-peeryx-theme="light"] .fi-sidebar-item-button,
html[data-peeryx-theme="light"] .fi-sidebar-item-btn,
body[data-peeryx-theme="light"] .fi-sidebar-item-button,
body[data-peeryx-theme="light"] .fi-sidebar-item-btn {
    color:#334155 !important;
}

html[data-peeryx-theme="light"] .fi-sidebar-item-button:hover,
html[data-peeryx-theme="light"] .fi-sidebar-item-btn:hover,
html[data-peeryx-theme="light"] .fi-sidebar-item-active > .fi-sidebar-item-button,
html[data-peeryx-theme="light"] .fi-sidebar-item-active > .fi-sidebar-item-btn,
body[data-peeryx-theme="light"] .fi-sidebar-item-button:hover,
body[data-peeryx-theme="light"] .fi-sidebar-item-btn:hover,
body[data-peeryx-theme="light"] .fi-sidebar-item-active > .fi-sidebar-item-button,
body[data-peeryx-theme="light"] .fi-sidebar-item-active > .fi-sidebar-item-btn {
    background:rgba(14,80,233,0.1) !important;
    color:#075985 !important;
}

html[data-peeryx-theme="light"] .fi-input-wrp,
html[data-peeryx-theme="light"] .fi-select-input,
html[data-peeryx-theme="light"] .fi-textarea,
html[data-peeryx-theme="light"] .fi-input,
body[data-peeryx-theme="light"] .fi-input-wrp,
body[data-peeryx-theme="light"] .fi-select-input,
body[data-peeryx-theme="light"] .fi-textarea,
body[data-peeryx-theme="light"] .fi-input {
    background:#ffffff !important;
    border-color:rgba(15,40,80,0.16) !important;
    color:#0f172a !important;
}

html[data-peeryx-theme="light"] .fi-input::placeholder,
html[data-peeryx-theme="light"] .fi-textarea::placeholder,
body[data-peeryx-theme="light"] .fi-input::placeholder,
body[data-peeryx-theme="light"] .fi-textarea::placeholder {
    color:#0b1f3a !important;
}

/* ============================================================
   Admin command center v5 - shared polish for admin category pages.
   Network Ops, Billing, Provisioning, Services, Sales, Monitoring and
   Clients now share the same dense SaaS/NOC visual language.
   ============================================================ */
.admin-command-center {
    --ac-surface:rgba(255,255,255,0.88);
    --ac-card:rgba(255,255,255,0.82);
    --ac-strong:rgba(255,255,255,0.95);
    --ac-line:rgba(132,169,255,0.16);
    --ac-text:#0b1f3a;
    --ac-muted:#0b1f3a;
    --ac-soft:#6f819c;
    --ac-blue:#3b73f6;
    --ac-cyan:#3572ff;
    --ac-green:#39d98a;
    --ac-amber:#f8b84e;
    --ac-red:#ff6370;
    display: grid;
    gap: 18px;
    color:var(--ac-text);
}

.admin-command-center * {
    min-width: 0;
}

.admin-command-hero,
.admin-command-panel,
.admin-category-card,
.admin-command-metric,
.admin-command-row {
    border:1px solid var(--ac-line);
    border-radius: 8px;
    background:linear-gradient(180deg, rgba(15,40,80,0.045), rgba(15,40,80,0.015)),
        var(--ac-surface);
    box-shadow:0 18px 44px rgba(15,40,80,0.18);
}

.admin-command-hero {
    overflow: hidden;
    background:radial-gradient(circle at 86% 8%, rgba(53,114,255,0.18), transparent 34%),
        linear-gradient(135deg, rgba(47,109,255,0.22), transparent 40%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,248,252,0.96));
}

.admin-command-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    padding: clamp(18px, 3vw, 30px);
}

.admin-command-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border:1px solid rgba(53,114,255,0.22);
    border-radius: 999px;
    color:#0b1f3a;
    background:rgba(53,114,255,0.08);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.admin-command-hero h1 {
    margin: 12px 0 0;
    color:var(--ac-text);
    font-size: clamp(2.15rem, 4vw, 4.4rem);
    line-height: .96;
    font-weight: 900;
    letter-spacing: 0;
}

.admin-command-hero p {
    max-width: 900px;
    margin: 12px 0 0;
    color:#0b1f3a;
    font-size: 14px;
    line-height: 1.68;
}

.admin-command-actions,
.admin-command-chip-row,
.admin-category-actions,
.admin-command-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.admin-command-actions {
    justify-content: flex-end;
}

.admin-command-btn,
.admin-command-chip,
.admin-category-card a,
.admin-command-row-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 11px;
    border:1px solid rgba(148,180,255,0.16);
    border-radius: 8px;
    color:#0b1f3a;
    background:rgba(15,40,80,0.04);
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.2;
}

.admin-command-btn.is-primary,
.admin-category-card a.is-primary {
    border-color:rgba(53,114,255,0.32);
    color:#06111f;
    background:linear-gradient(135deg, #729cff, #4d82ff);
    box-shadow:0 16px 34px rgba(60,118,255,0.24);
}

button.admin-command-btn {
    font-family: inherit;
}

.admin-command-actions .pc-select {
    min-width: 140px;
    margin: 0;
}

.admin-command-actions .pc-select span {
    color:rgba(11,31,58,0.74);
}

.admin-command-actions .pc-select select {
    min-height: 36px;
}

.admin-command-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-command-grid.is-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-category-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 12px;
    padding: 15px;
}

.admin-category-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background:linear-gradient(90deg, var(--ac-cyan), var(--ac-blue), transparent);
    opacity: .9;
}

.admin-category-card span,
.admin-command-metric span,
.admin-command-row span {
    color:var(--ac-soft);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.admin-category-card strong,
.admin-command-metric strong,
.admin-command-row strong {
    display: block;
    color:var(--ac-text);
    font-weight: 900;
}

.admin-category-card strong {
    font-size: 18px;
}

.admin-category-card p {
    margin: 0;
    color:var(--ac-muted);
    font-size: 13px;
    line-height: 1.5;
}

.admin-command-metrics {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.admin-command-metric {
    padding: 13px;
}

.admin-command-metric strong {
    margin-top: 7px;
    font-size: 1.65rem;
    line-height: 1;
}

.admin-command-metric small {
    display: block;
    margin-top: 7px;
    color:var(--ac-muted);
    font-size: 12px;
}

.admin-command-panel {
    padding: 16px;
}

.admin-command-panel h2 {
    margin: 0;
    color:var(--ac-text);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0;
}

.admin-command-panel > p {
    margin: 6px 0 0;
    color:var(--ac-muted);
    font-size: 13px;
    line-height: 1.55;
}

.admin-command-list {
    display: grid;
    gap: 9px;
    margin-top: 13px;
}

.admin-command-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    box-shadow:none;
}

.admin-command-row p {
    margin: 5px 0 0;
    color:var(--ac-muted);
    font-size: 12px;
    line-height: 1.45;
}

.fi-panel-admin .peeryx-page-header {
    border:1px solid rgba(132,169,255,0.16);
    border-radius: 8px;
    background:radial-gradient(circle at 88% 0%, rgba(53,114,255,0.12), transparent 30%),
        linear-gradient(180deg, rgba(15,40,80,0.05), rgba(15,40,80,0.018)),
        rgba(255,255,255,0.88);
    box-shadow:0 18px 44px rgba(15,40,80,0.18);
}

.fi-panel-admin .peeryx-page-header-main {
    align-items: flex-end;
}

.fi-panel-admin .peeryx-page-title,
.fi-panel-admin .peeryx-section-title {
    letter-spacing: 0;
}

.fi-panel-admin .peeryx-kpi,
.fi-panel-admin .peeryx-panel-utility,
.fi-panel-admin .peeryx-admin-table-wrap {
    border-radius: 8px !important;
}

.fi-panel-admin .peeryx-kpi {
    border:1px solid rgba(132,169,255,0.14);
    background:linear-gradient(180deg, rgba(15,40,80,0.045), rgba(15,40,80,0.012)),
        rgba(255,255,255,0.78);
    box-shadow:0 14px 30px rgba(15,40,80,0.14);
}

.fi-panel-admin .peeryx-admin-table-wrap {
    overflow: auto;
    border:1px solid rgba(132,169,255,0.14);
    background:rgba(246,248,252,0.34);
}

.fi-panel-admin .peeryx-admin-table :where(th, td) {
    vertical-align: middle;
}

.fi-panel-admin .auth-input,
.fi-panel-admin .pc-select select,
.fi-panel-admin .pc-select input,
.fi-panel-admin .pc-select textarea {
    border-radius: 8px !important;
}

html[data-peeryx-theme="light"] .admin-command-center,
body[data-peeryx-theme="light"] .admin-command-center {
    --ac-surface:rgba(255,255,255,.96);
    --ac-card:rgba(255,255,255,.98);
    --ac-strong:#ffffff;
    --ac-line:rgba(15,40,80,0.13);
    --ac-text:#0b1628;
    --ac-muted:#53627a;
    --ac-soft:#6c7890;
}

html[data-peeryx-theme="light"] .admin-command-hero,
body[data-peeryx-theme="light"] .admin-command-hero {
    background:radial-gradient(circle at 86% 8%, rgba(53,114,255,0.18), transparent 34%),
        linear-gradient(135deg, rgba(47,109,255,0.13), transparent 40%),
        linear-gradient(180deg, #ffffff, #eef5ff);
}

html[data-peeryx-theme="light"] .admin-command-hero p,
body[data-peeryx-theme="light"] .admin-command-hero p {
    color:#53627a;
}

html[data-peeryx-theme="light"] :where(.admin-command-panel, .admin-category-card, .admin-command-metric, .admin-command-row),
body[data-peeryx-theme="light"] :where(.admin-command-panel, .admin-category-card, .admin-command-metric, .admin-command-row) {
    background:#ffffff;
    border-color:rgba(15,40,80,0.13);
    box-shadow:0 18px 44px rgba(15,40,80,0.08);
}

html[data-peeryx-theme="light"] :where(.admin-command-btn, .admin-command-chip, .admin-category-card a:not(.is-primary), .admin-command-row-actions a),
body[data-peeryx-theme="light"] :where(.admin-command-btn, .admin-command-chip, .admin-category-card a:not(.is-primary), .admin-command-row-actions a) {
    border-color:rgba(15,40,80,0.14);
    color:#17243a;
    background:#f7faff;
}

html[data-peeryx-theme="light"] .admin-command-eyebrow,
body[data-peeryx-theme="light"] .admin-command-eyebrow {
    color:#075985;
    background:rgba(14,80,233,0.1);
}

html[data-peeryx-theme="light"] .fi-panel-admin .peeryx-page-header,
body[data-peeryx-theme="light"] .fi-panel-admin .peeryx-page-header {
    background:radial-gradient(circle at 88% 0%, rgba(53,114,255,0.16), transparent 30%),
        linear-gradient(180deg, #ffffff, #eef5ff);
    border-color:rgba(15,40,80,0.13);
    box-shadow:0 18px 44px rgba(15,40,80,0.08);
}

html[data-peeryx-theme="light"] .fi-panel-admin .peeryx-kpi,
body[data-peeryx-theme="light"] .fi-panel-admin .peeryx-kpi {
    background:#ffffff;
    border-color:rgba(15,40,80,0.13);
    box-shadow:0 14px 30px rgba(15,40,80,0.07);
}

html[data-peeryx-theme="light"] .fi-panel-admin .peeryx-admin-table-wrap,
body[data-peeryx-theme="light"] .fi-panel-admin .peeryx-admin-table-wrap {
    background:#ffffff !important;
    border-color:rgba(15,40,80,0.13) !important;
}

@media (max-width: 1180px) {
    .admin-command-grid,
    .admin-command-grid.is-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 760px) {
    .admin-command-hero-inner,
    .admin-command-row {
        grid-template-columns: 1fr;
    }

    .admin-command-actions {
        justify-content: flex-start;
    }

    .admin-command-grid,
    .admin-command-grid.is-four,
    .admin-command-metrics {
        grid-template-columns: 1fr;
    }

    .admin-command-btn,
    .admin-category-card a,
    .admin-command-row-actions a {
        width: 100%;
    }
}
