:root {
    --rp-bg: #f4f7ff;
    --rp-bg-soft: #eef3ff;
    --rp-card: #ffffff;
    --rp-text: #0f172a;
    --rp-text-soft: #64748b;
    --rp-border: #e2e8f0;
    --rp-primary: #465fff;
    --rp-primary-soft: #eef2ff;
    --rp-success: #16a34a;
    --rp-warning: #d97706;
    --rp-danger: #dc2626;

    /* Typography tokens (desktop default) */
    --rp-font-family-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --rp-fw-regular: 400;
    --rp-fw-medium: 500;
    --rp-fw-semibold: 600;
    --rp-fw-bold: 700;
    --rp-lh-nav: 1.15;
    --rp-lh-dense: 1.1;
    --rp-lh-display: 1.12;
    --rp-lh-number: 1.05;
    --rp-lh-tight: 1.28;
    --rp-lh-compact: 1.45;
    --rp-lh-relaxed: 1.55;
    --rp-lh-reading: 1.6;
    --rp-lh-loose: 1.65;
    --rp-lh-body: 1.7;
    --rp-tracking-label: 0.07em;

    --rp-text-h1: 32px;
    --rp-text-h2-sm: 22px;
    --rp-text-h2: 24px;
    --rp-text-h3: 20px;
    --rp-text-h4: 16px;
    --rp-text-title: 18px;
    --rp-text-body-md: 16px;
    --rp-text-subtitle: 14px;
    --rp-text-body: 15px;
    --rp-text-body-sm: 14px;
    --rp-text-caption-sm: 13px;
    --rp-text-caption: 12px;
    --rp-text-caption-xs: 11px;
    --rp-text-micro: 10px;
    --rp-text-stat: 19px;
    --rp-text-display: 28px;
}

@media (max-width: 860px) {
    :root {
        --rp-text-h1: 28px;
        --rp-text-h2-sm: 20px;
        --rp-text-h2: 22px;
        --rp-text-h3: 18px;
        --rp-text-h4: 15px;
        --rp-text-title: 17px;
        --rp-text-body-md: 15px;
        --rp-text-subtitle: 13px;
        --rp-text-body: 14px;
        --rp-text-body-sm: 13px;
        --rp-text-caption-sm: 12px;
        --rp-text-caption: 12px;
        --rp-text-caption-xs: 11px;
        --rp-text-micro: 10px;
        --rp-text-stat: 18px;
        --rp-text-display: 23px;
    }
}

.rp-type-h1 {
    font-size: var(--rp-text-h1);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
    letter-spacing: -0.02em;
}

.rp-type-h2 {
    font-size: var(--rp-text-h2);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
    letter-spacing: -0.015em;
}

.rp-type-h3 {
    font-size: var(--rp-text-h3);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
    letter-spacing: -0.01em;
}

.rp-type-body {
    font-size: var(--rp-text-body);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-regular);
}

.rp-type-caption {
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-medium);
}

.rp-u-type-display {
    font-size: var(--rp-text-display) !important;
    line-height: var(--rp-lh-display) !important;
}

.rp-u-type-h2-sm {
    font-size: var(--rp-text-h2-sm) !important;
    line-height: var(--rp-lh-tight) !important;
}

.rp-u-type-h3 {
    font-size: var(--rp-text-h3) !important;
    line-height: var(--rp-lh-tight) !important;
}

.rp-u-type-caption {
    font-size: var(--rp-text-caption) !important;
    line-height: var(--rp-lh-compact) !important;
}

.rp-u-type-landing-body-sm {
    font-size: var(--rp-landing-body-sm) !important;
    line-height: var(--rp-lh-compact) !important;
}

* {
    box-sizing: border-box;
}

body.rp-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--rp-font-family-sans);
    line-height: var(--rp-lh-body);
    color: var(--rp-text);
    background: radial-gradient(circle at top right, #dbe5ff 0%, var(--rp-bg) 35%, #f8faff 100%);
}

html[dir="rtl"] body.rp-body,
html[dir="rtl"] body.rp-auth-body,
html[dir="rtl"] .rp-print-wrap,
html[dir="rtl"] .rpl-body {
    direction: rtl;
    font-family: 'Tajawal', var(--rp-font-family-sans);
}

html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea {
    text-align: right;
}

html[dir="rtl"] .rp-topbar-left,
html[dir="rtl"] .rp-topbar-right,
html[dir="rtl"] .rp-brand-main,
html[dir="rtl"] .rp-user-chip,
html[dir="rtl"] .rp-toolbar,
html[dir="rtl"] .rp-nav-link,
html[dir="rtl"] .rp-settings-group-header,
html[dir="rtl"] .rp-card-header,
html[dir="rtl"] .rp-page-header {
    direction: rtl;
}

body.rp-workspace-superadmin {
    --rp-bg: #f1f5fb;
    --rp-bg-soft: #e9eff9;
    --rp-card: #ffffff;
    --rp-border: #d5deea;
    --rp-primary: #1d4ed8;
    --rp-primary-soft: #e6efff;
}

body.rp-workspace-superadmin.rp-body {
    background:
        radial-gradient(circle at top right, #d2ddff 0%, var(--rp-bg) 40%, #f7f9fe 100%);
}

body.rp-workspace-superadmin .rp-sidebar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 255, 0.98) 100%);
}

body.rp-workspace-superadmin .rp-topbar {
    background: rgba(251, 253, 255, 0.94);
}

body.rp-workspace-superadmin .rp-topbar-subtitle {
    color: #64748b;
}

body.rp-workspace-superadmin .rp-card,
body.rp-workspace-superadmin .rp-mini-card {
    border-color: #d4deec;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

body.rp-workspace-superadmin table.min-w-full thead th {
    background: #f3f7ff;
    color: #5b6b88;
}

body.rp-workspace-superadmin table.min-w-full tbody tr:hover td {
    background: #f8fbff;
}

body.rp-workspace-client {
    --rp-bg: #f5f8ff;
    --rp-bg-soft: #eef4ff;
    --rp-card: #ffffff;
    --rp-border: #dbe4f4;
    --rp-primary: #465fff;
    --rp-primary-soft: #edf2ff;
}

body.rp-workspace-client.rp-body {
    background: radial-gradient(circle at top right, #dbe5ff 0%, var(--rp-bg) 35%, #f8faff 100%);
}

.rp-shell {
    min-height: 100vh;
}

@media (min-width: 1100px) {
    .rp-shell {
        display: grid;
        grid-template-columns: 280px 1fr;
    }
}

.rp-sidebar-backdrop,
.rp-mobile-nav-toggle,
.rp-sidebar-close {
    display: none;
}

.rp-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 39;
    border: 0;
    background: rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(4px);
}

.rp-sidebar-backdrop[hidden] {
    display: none !important;
}

.rp-sidebar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-right: 1px solid var(--rp-border);
    display: flex;
    flex-direction: column;
}

.rp-brand-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

@media (max-width: 1099px) {
    .rp-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 40;
        width: min(320px, calc(100vw - 18px));
        height: 100vh;
        border-right: 1px solid var(--rp-border);
        border-bottom: 0;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
        transform: translateX(calc(-100% - 20px));
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
    }

    body.rp-sidebar-open {
        overflow: hidden;
    }

    body.rp-sidebar-open .rp-sidebar {
        transform: translateX(0);
    }
}

.rp-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 18px;
    border-bottom: 1px solid var(--rp-border);
}

.rp-brand-logo-wrap {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    border: 1px solid #d8e3ff;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #eef3ff 75%);
    box-shadow: 0 10px 22px rgba(70, 95, 255, 0.18);
    overflow: hidden;
    flex: 0 0 60px;
}

.rp-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
    padding: 4px;
}

.rp-brand-title {
    margin: 0;
    font-size: var(--rp-text-h3);
    font-weight: var(--rp-fw-bold);
    letter-spacing: -0.01em;
    line-height: var(--rp-lh-tight);
}

.rp-brand-title-raven {
    color: #0f172a;
}

.rp-brand-title-pulse {
    color: #1d4ed8;
}

.rp-brand-subtitle {
    margin: 4px 0 0;
    font-size: var(--rp-text-caption);
    color: var(--rp-text-soft);
    font-weight: var(--rp-fw-medium);
    line-height: var(--rp-lh-compact);
}

.rp-nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 14px 14px 16px;
}

.rp-nav-group-title {
    margin: 0 4px 6px;
    font-size: var(--rp-text-caption-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: var(--rp-fw-bold);
}

.rp-nav-group-title.rp-nav-group-title-spaced {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

@media (max-width: 1099px) {
    .rp-nav {
        flex-direction: column;
        overflow: visible;
        padding-top: 14px;
        padding-bottom: 16px;
    }

    .rp-nav-group-title {
        display: block;
    }
}

.rp-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    padding: 11px 12px;
    font-size: var(--rp-text-body);
    font-weight: var(--rp-fw-bold);
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.rp-nav-icon {
    width: 20px;
    height: 20px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
}

.rp-nav-icon svg {
    width: 100%;
    height: 100%;
}

.rp-nav-label {
    line-height: var(--rp-lh-nav);
}

.rp-nav-link:hover {
    border-color: #dbe5ff;
    background: #f8faff;
    color: var(--rp-text);
}

.rp-nav-link.active {
    border-color: #dbe5ff;
    background: var(--rp-primary-soft);
    color: var(--rp-primary);
}

.rp-nav-link.active .rp-nav-icon {
    color: var(--rp-primary);
}

@media (max-width: 1099px) {
    .rp-nav-link {
        font-size: var(--rp-text-body-sm);
        padding: 10px 11px;
    }

    .rp-nav-icon {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }
}

.rp-sidebar-footer {
    margin-top: auto;
    border-top: 1px solid var(--rp-border);
    padding: 16px 20px 20px;
}

@media (max-width: 1099px) {
    .rp-sidebar-footer {
        display: none;
    }
}

.rp-sidebar-foot-title {
    margin: 0;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.rp-sidebar-foot-text {
    margin: 6px 0 0;
    font-size: var(--rp-text-body-sm);
    color: #475569;
    line-height: var(--rp-lh-compact);
}

.rp-main {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.rp-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--rp-border);
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(14px);
    padding: 14px 24px;
}

.rp-topbar-left {
    min-width: 220px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rp-topbar-title {
    margin: 0;
    font-size: var(--rp-text-title);
    font-weight: var(--rp-fw-bold);
    line-height: var(--rp-lh-tight);
}

.rp-topbar-subtitle {
    margin: 2px 0 0;
    font-size: var(--rp-text-caption);
    color: #94a3b8;
    line-height: var(--rp-lh-compact);
}

body.rp-page-report .rp-topbar {
    gap: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom-color: #e9eef8;
}

body.rp-page-report .rp-topbar-left {
    align-items: center;
    gap: 10px;
}

body.rp-page-report .rp-topbar-title {
    font-size: clamp(21px, 1.85vw, 28px);
    letter-spacing: -0.03em;
}

body.rp-page-report .rp-topbar-subtitle,
body.rp-page-report .rp-workspace-pill {
    display: none;
}

body.rp-page-report .rp-content {
    padding-top: 14px;
}

body.rp-page-report .rp-topbar-right .rp-btn-secondary.small,
body.rp-page-report .rp-topbar-right .rp-btn-primary.small,
body.rp-page-report .rp-topbar-right .rp-btn-danger.small {
    min-height: 36px;
    padding-block: 8px;
}

.rp-workspace-pill {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rp-workspace-pill.ops {
    background: #e7efff;
    color: #1e40af;
    border: 1px solid #c6d6ff;
}

.rp-workspace-pill.client {
    background: #eef2ff;
    color: #3730a3;
    border: 1px solid #d6dbff;
}

.rp-topbar-center {
    flex: 1;
    display: none;
}

@media (min-width: 1220px) {
    .rp-topbar-center {
        display: block;
    }
}

.rp-search-wrap {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 430px;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--rp-border);
    border-radius: 12px;
    padding: 0 12px;
    background: #fff;
    margin: 0 auto;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.rp-search-icon {
    width: 17px;
    height: 17px;
    color: #94a3b8;
}

.rp-search-input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 10px 0;
    font-size: var(--rp-text-body-sm);
    color: #0f172a;
    outline: none;
}

.rp-search-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 50;
    border: 1px solid #dce6ff;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
    overflow: hidden;
}

.rp-search-state {
    padding: 12px 13px;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    color: #64748b;
}

.rp-search-section {
    border-top: 1px solid #edf2ff;
}

.rp-search-section:first-child {
    border-top: 0;
}

.rp-search-section-label {
    margin: 0;
    padding: 8px 12px 6px;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: var(--rp-fw-bold);
    background: #f8fbff;
}

.rp-search-items {
    display: grid;
}

.rp-search-item {
    display: grid;
    gap: 3px;
    padding: 10px 12px;
    text-decoration: none;
    color: #0f172a;
    border-top: 1px solid #f1f5ff;
    transition: background 0.12s ease, color 0.12s ease;
}

.rp-search-items .rp-search-item:first-child {
    border-top: 0;
}

.rp-search-item:hover,
.rp-search-item.is-active {
    background: #eef3ff;
}

.rp-search-item-title {
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-semibold);
}

.rp-search-item-subtitle {
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    color: #64748b;
}

.rp-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rp-inline-form {
    margin: 0;
}

.rp-user-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--rp-border);
    border-radius: 12px;
    background: #fff;
    padding: 7px 10px;
}

.rp-user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--rp-primary-soft);
    color: var(--rp-primary);
    font-size: var(--rp-text-caption);
    font-weight: var(--rp-fw-bold);
}

.rp-user-name {
    margin: 0;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-dense);
    font-weight: var(--rp-fw-bold);
}

.rp-user-handle {
    margin: 2px 0 0;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-dense);
    color: #94a3b8;
}

.rp-content {
    flex: 1;
    padding: 18px;
}

@media (min-width: 1024px) {
    .rp-content {
        padding: 28px;
    }
}

.rp-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rp-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.rp-page-title {
    margin: 0;
    font-size: var(--rp-text-h2);
    font-weight: var(--rp-fw-bold);
    line-height: var(--rp-lh-tight);
    letter-spacing: -0.015em;
}

.rp-page-subtitle {
    margin: 4px 0 0;
    font-size: var(--rp-text-subtitle);
    line-height: var(--rp-lh-compact);
    color: var(--rp-text-soft);
}

.rp-card,
.rp-mini-card {
    border: 1px solid var(--rp-border);
    border-radius: 16px;
    background: var(--rp-card);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.045);
}

.rp-card {
    padding: 18px;
}

.rp-mini-card {
    border-radius: 14px;
    padding: 14px;
}

.rp-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.rp-card-title {
    margin: 0;
    font-size: var(--rp-text-title);
    font-weight: var(--rp-fw-bold);
    line-height: var(--rp-lh-tight);
    letter-spacing: -0.01em;
}

.rp-card-subtitle {
    margin: 3px 0 0;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    color: var(--rp-text-soft);
}

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

@media (min-width: 700px) {
    .rp-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1180px) {
    .rp-metrics-grid.cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .rp-metrics-grid.cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .rp-metrics-grid.cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.rp-metric-label {
    margin: 0;
    font-size: var(--rp-text-caption-xs);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #94a3b8;
}

.rp-metric-value {
    margin: 8px 0 0;
    font-size: var(--rp-text-h2);
    font-weight: var(--rp-fw-bold);
    line-height: var(--rp-lh-dense);
}

.rp-metric-note {
    margin: 8px 0 0;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    color: var(--rp-text-soft);
}

.rp-btn-primary,
.rp-btn-secondary,
.rp-btn-danger {
    border-radius: 11px;
    padding: 10px 14px;
    font-size: var(--rp-text-body-sm);
    font-weight: var(--rp-fw-semibold);
    line-height: var(--rp-lh-tight);
    text-decoration: none;
    transition: all 0.18s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.rp-btn-primary {
    border: 1px solid var(--rp-primary);
    background: var(--rp-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(70, 95, 255, 0.2);
}

.rp-btn-primary:hover {
    background: #3a52eb;
    border-color: #3a52eb;
}

.rp-btn-secondary {
    border: 1px solid var(--rp-border);
    background: #fff;
    color: #334155;
}

.rp-btn-secondary:hover {
    background: #f8fafc;
}

.rp-btn-danger {
    border: 1px solid #fecaca;
    color: #b91c1c;
    background: #fff1f2;
}

.rp-btn-danger:hover {
    background: #ffe4e6;
}

.rp-btn-primary:disabled,
.rp-btn-secondary:disabled,
.rp-btn-danger:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.rp-btn-secondary.small,
.rp-btn-primary.small,
.rp-btn-danger.small,
.rp-select.compact {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: var(--rp-text-caption);
}

.rp-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.rp-alert {
    margin-bottom: 14px;
    border-radius: 12px;
    border: 1px solid;
    padding: 10px 12px;
    font-size: var(--rp-text-body-sm);
    font-weight: var(--rp-fw-medium);
    line-height: var(--rp-lh-compact);
}

.rp-alert.success {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}

.rp-alert.danger {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #991b1b;
}

.rp-info {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
}

.rp-warning {
    border: 1px solid #fde68a;
    background: #fffbeb;
    color: #92400e;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
}

.rp-muted {
    color: var(--rp-text-soft);
}

.rp-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-bold);
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

.rp-badge.success {
    color: #166534;
    background: #dcfce7;
}

.rp-badge.warning {
    color: #92400e;
    background: #fef3c7;
}

.rp-badge.danger {
    color: #991b1b;
    background: #fee2e2;
}

.rp-badge.info {
    color: #1d4ed8;
    background: #dbeafe;
}

.rp-badge.slate {
    color: #334155;
    background: #e2e8f0;
}

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

@media (min-width: 980px) {
    .rp-kv-grid.cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

.rp-kv-item {
    border: 1px solid var(--rp-border);
    background: #f8fbff;
    border-radius: 12px;
    padding: 12px;
}

.rp-kv-label {
    margin: 0;
    font-size: var(--rp-text-caption-xs);
    text-transform: uppercase;
    letter-spacing: var(--rp-tracking-label);
    color: #94a3b8;
}

.rp-kv-value {
    margin: 7px 0 0;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-semibold);
}

.rp-subscription-quota-card {
    padding: 14px;
}

.rp-subscription-quota-card .rp-card-header {
    margin-bottom: 10px;
    gap: 8px;
}

.rp-subscription-quota-card .rp-card-title {
    font-size: var(--rp-text-h3);
}

.rp-subscription-quota-card .rp-card-subtitle {
    margin-top: 2px;
    font-size: var(--rp-text-caption-xs);
}

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

.rp-subscription-quota-item {
    border: 1px solid var(--rp-border);
    border-radius: 11px;
    background: #f8fbff;
    padding: 9px 10px;
    min-width: 0;
}

.rp-subscription-quota-label {
    margin: 0;
    color: #94a3b8;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rp-subscription-quota-value {
    margin: 5px 0 0;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    overflow-wrap: anywhere;
}

.rp-subscription-quota-value.success {
    color: #15803d;
}

.rp-subscription-quota-value.danger {
    color: #b91c1c;
}

.rp-subscription-quota-warning {
    margin-top: 9px;
    padding: 9px 10px;
    font-size: var(--rp-text-caption);
}

@media (min-width: 980px) {
    .rp-subscription-quota-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

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

.rp-inline-kv {
    display: grid;
    gap: 2px;
}

.rp-inline-kv strong {
    color: #0f172a;
    font-weight: var(--rp-fw-semibold);
    line-height: var(--rp-lh-compact);
}

.rp-inline-kv small {
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
}

.rp-empty-state {
    border: 1px dashed #cdd9f0;
    border-radius: 14px;
    background: #f8fbff;
    padding: 18px;
    text-align: center;
    color: #64748b;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-table-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.rp-table-actions form {
    margin: 0;
}

.rp-run-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

@media (min-width: 980px) {
    .rp-run-summary-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.rp-run-summary-item {
    border: 1px solid var(--rp-border);
    border-radius: 12px;
    background: #f8fbff;
    padding: 10px 12px;
}

.rp-run-summary-label {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    text-transform: uppercase;
    letter-spacing: var(--rp-tracking-label);
}

.rp-run-summary-value {
    margin: 6px 0 0;
    font-size: var(--rp-text-stat);
    font-weight: var(--rp-fw-bold);
    line-height: 1;
}

.rp-run-summary-value.success {
    color: #15803d;
}

.rp-run-summary-value.danger {
    color: #b91c1c;
}

.rp-run-summary-value.warning {
    color: #b45309;
}

.rp-run-summary-value.slate {
    color: #334155;
}

.rp-run-reason {
    min-width: 300px;
}

.rp-run-reason-text {
    margin: 0;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-semibold);
}

.rp-run-reason-text.success {
    color: #166534;
}

.rp-run-reason-text.warning {
    color: #92400e;
}

.rp-run-reason-text.danger {
    color: #b91c1c;
}

.rp-run-reason-text.info {
    color: #1d4ed8;
}

.rp-run-reason-text.slate {
    color: #475569;
}

.rp-run-reason-detail {
    margin-top: 6px;
}

.rp-run-reason-detail summary {
    cursor: pointer;
    font-size: var(--rp-text-caption-xs);
    color: #64748b;
    font-weight: var(--rp-fw-semibold);
}

.rp-run-reason-detail p {
    margin: 6px 0 0;
    font-size: var(--rp-text-caption-xs);
    color: #64748b;
    line-height: var(--rp-lh-compact);
    white-space: pre-wrap;
    word-break: break-word;
}

table.min-w-full {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

table.min-w-full thead th {
    border-bottom: 1px solid var(--rp-border);
    background: #f8faff;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    letter-spacing: var(--rp-tracking-label);
    text-transform: uppercase;
    line-height: var(--rp-lh-compact);
}

table.min-w-full tbody td {
    border-bottom: 1px solid #edf2f7;
    color: #1e293b;
}

table.min-w-full tbody tr:last-child td {
    border-bottom: 0;
}

table.min-w-full td,
table.min-w-full th {
    padding: 10px 12px;
    text-align: left;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
}

table.min-w-full td:last-child,
table.min-w-full th:last-child {
    white-space: nowrap;
}

@media (max-width: 1099px) {
    .rp-mobile-nav-toggle {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        flex: 0 0 42px;
        border: 1px solid var(--rp-border);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
        cursor: pointer;
    }

    .rp-mobile-nav-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: #0f172a;
    }

    .rp-sidebar-close {
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 40px;
        border: 1px solid var(--rp-border);
        border-radius: 12px;
        background: #fff;
        color: #0f172a;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }

    .rp-topbar {
        padding: 14px 16px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .rp-topbar-left {
        min-width: 0;
        flex: 1 1 100%;
    }

    .rp-topbar-right {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
    }

    .rp-inline-form {
        grid-column: 1 / -1;
    }

    .rp-inline-form .rp-select.compact {
        width: 100%;
    }

    .rp-user-chip {
        min-width: 0;
    }

    .rp-user-chip > div:last-child {
        min-width: 0;
    }

    .rp-user-name,
    .rp-user-handle {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .rp-content {
        padding: 16px;
    }

    .rp-card,
    .rp-mini-card {
        border-radius: 14px;
    }

    .rp-card {
        padding: 16px;
    }

    .rp-card-header,
    .rp-page-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .rp-brand {
        padding: 16px 16px 14px;
    }

    .rp-brand-main {
        gap: 12px;
    }

    .rp-brand-logo-wrap {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .rp-topbar {
        padding: 12px 14px;
    }

    .rp-topbar-right {
        grid-template-columns: 1fr;
    }

    .rp-user-chip,
    .rp-topbar-right form {
        width: 100%;
    }

    .rp-topbar-right .rp-btn-secondary.small,
    .rp-topbar-right .rp-btn-primary.small,
    .rp-topbar-right .rp-btn-danger.small {
        width: 100%;
    }

    .rp-content {
        padding: 14px;
    }

    .rp-card {
        padding: 14px;
    }

    body.rp-page-report .rp-topbar {
        padding: 10px 12px;
    }

    body.rp-page-report .rp-topbar-title {
        font-size: 20px;
    }

    body.rp-page-report .rp-topbar-right {
        grid-template-columns: auto;
        gap: 8px;
    }

    body.rp-page-report .rp-user-chip {
        display: none;
    }

    body.rp-page-report .rp-topbar-right form {
        width: auto;
    }

    body.rp-page-report .rp-topbar-right .rp-btn-secondary.small,
    body.rp-page-report .rp-topbar-right .rp-btn-primary.small,
    body.rp-page-report .rp-topbar-right .rp-btn-danger.small {
        width: auto;
        min-width: 0;
        padding-inline: 10px;
    }

    body.rp-page-report .rp-content {
        padding-top: 10px;
    }

    body.rp-page-report .rp-report-meta {
        display: none !important;
    }
}

.rp-period-year-row td,
.rp-period-month-row td {
    padding: 0;
    border-bottom: 0 !important;
}

.rp-period-toggle {
    width: 100%;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: transparent;
    cursor: pointer;
    padding: 9px 12px;
    text-align: left;
}

.rp-period-toggle-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.rp-period-caret {
    width: 8px;
    height: 8px;
    border-right: 2px solid #475569;
    border-bottom: 2px solid #475569;
    transform: rotate(45deg);
    transition: transform 0.15s ease;
    margin-top: -2px;
}

.rp-period-toggle[aria-expanded='true'] .rp-period-caret {
    transform: rotate(225deg);
    margin-top: 2px;
}

.rp-year-toggle {
    background: #f1f6ff;
    border-top: 1px solid #dbe4ff;
    border-bottom: 1px solid #dbe4ff;
}

.rp-month-toggle {
    background: #f8fbff;
    border-bottom: 1px solid #e7eefb;
    padding-left: 28px;
}

.rp-period-year-label {
    color: #1e293b;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-period-month-label {
    color: #334155;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-period-count-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d6e3ff;
    border-radius: 999px;
    background: #ffffff;
    color: #475569;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    padding: 4px 9px;
    flex: 0 0 auto;
}

.rp-period-data-row td:first-child {
    padding-left: 28px;
}

input[type='text'],
input:not([type]),
input[type='date'],
input[type='datetime-local'],
input[type='url'],
input[type='password'],
input[type='file'],
input[type='email'],
input[type='number'],
select,
textarea {
    border: 1px solid var(--rp-border) !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #0f172a !important;
    padding: 10px 12px !important;
    font-size: var(--rp-text-body-sm) !important;
    line-height: var(--rp-lh-compact);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
    resize: vertical;
}

input[type='text']:focus,
input:not([type]):focus,
input[type='date']:focus,
input[type='datetime-local']:focus,
input[type='url']:focus,
input[type='password']:focus,
input[type='file']:focus,
input[type='email']:focus,
input[type='number']:focus,
select:focus,
textarea:focus {
    border-color: #b9c8ff !important;
    box-shadow: 0 0 0 4px rgba(70, 95, 255, 0.12) !important;
    outline: none !important;
}

input[type='checkbox'] {
    width: 15px;
    height: 15px;
    accent-color: var(--rp-primary);
}

label.rp-label,
.rp-label {
    display: block;
    margin-bottom: 6px;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-semibold);
    color: #475569;
}

.rp-form-hint {
    margin: 6px 0 0;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
}

.rp-form-grid {
    display: grid;
    gap: 14px;
}

.rp-form-field {
    min-width: 0;
}

.rp-form-field input[type='text'],
.rp-form-field input:not([type]),
.rp-form-field input[type='password'],
.rp-form-field input[type='email'],
.rp-form-field input[type='number'],
.rp-form-field input[type='url'],
.rp-form-field input[type='date'],
.rp-form-field input[type='datetime-local'],
.rp-form-field select,
.rp-form-field textarea {
    width: 100%;
}

.rp-filter-form .rp-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-top: 6px;
}

.rp-coupon-management-page,
.rp-coupon-management-page > * {
    min-width: 0;
}

.rp-coupon-management-page .rp-card,
.rp-coupon-management-page .rp-page-header,
.rp-coupon-management-page .rp-metrics-grid,
.rp-coupon-management-page .rp-table-wrap,
.rp-coupon-management-page .rp-table-wrap table {
    min-width: 0;
}

.rp-coupon-management-filter-form {
    grid-template-columns: minmax(0, 1fr);
}

.rp-coupon-management-table-wrap {
    max-width: 100%;
}

.rp-coupon-management-table {
    width: 100%;
}

.rp-coupon-management-table th,
.rp-coupon-management-table td {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    vertical-align: top;
}

.rp-coupon-management-table td:last-child,
.rp-coupon-management-table th:last-child {
    white-space: normal;
}

.rp-coupon-management-table code,
.rp-coupon-management-table .rp-inline-kv,
.rp-coupon-management-table .rp-badge {
    max-width: 100%;
}

.rp-coupon-management-table code {
    display: inline-block;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.rp-coupon-management-table .rp-table-actions {
    justify-content: flex-start;
}

@media (min-width: 900px) {
    .rp-coupon-management-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1220px) {
    .rp-coupon-management-filter-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1500px) {
    .rp-coupon-management-filter-form {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.rp-master-product-filter-card {
    align-self: flex-start;
    width: min(100%, 560px);
    padding: 14px;
}

.rp-master-product-filter-form {
    display: grid;
    gap: 10px;
    align-items: end;
    grid-template-columns: minmax(0, 1fr);
}

.rp-master-product-filter-field {
    max-width: 220px;
}

.rp-master-product-filter-actions {
    justify-content: flex-start;
}

.rp-master-product-metrics {
    gap: 10px;
}

.rp-master-product-mini-card {
    padding: 11px 12px;
    border-radius: 12px;
}

.rp-master-product-mini-card .rp-metric-label {
    font-size: 11px;
    letter-spacing: 0.06em;
}

.rp-master-product-mini-card .rp-metric-value {
    margin-top: 4px;
    font-size: 32px;
    line-height: 1;
}

.rp-client-subscription-overview {
    gap: 0;
    padding: 18px;
    background: linear-gradient(160deg, #f7faff 0%, #f1f6ff 55%, #ecf3ff 100%);
    border-color: #d5e3fb;
}

.rp-current-sub-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.rp-current-sub-hero {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border: 1px solid #d5e2fb;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: 0 12px 24px rgba(40, 76, 140, 0.08);
}

.rp-current-sub-kicker {
    margin: 0;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5f7393;
}

.rp-current-sub-company-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.rp-current-sub-company {
    margin: 0;
    font-size: var(--rp-text-h3);
    line-height: var(--rp-lh-tight);
    letter-spacing: -0.015em;
    color: #122446;
}

.rp-current-sub-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rp-current-sub-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid #d3e2fb;
    background: #f3f7ff;
    color: #4b617f;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-tight);
}

.rp-current-sub-pill strong {
    color: #1d3f76;
    font-weight: var(--rp-fw-semibold);
}

.rp-current-sub-plan {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid #d7e4fb;
    border-radius: 14px;
    background: #fff;
}

.rp-current-sub-plan-name {
    margin: 2px 0 0;
    font-size: var(--rp-text-display);
    line-height: var(--rp-lh-dense);
    letter-spacing: -0.02em;
    color: #0f1f40;
}

.rp-current-sub-plan-note {
    margin: 4px 0 0;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    color: #5f728d;
}

.rp-current-sub-hero-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.rp-current-sub-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.rp-current-sub-actions form {
    margin: 0;
}

.rp-current-sub-actions .rp-form-hint {
    margin: 0;
    text-align: right;
}

.rp-current-sub-metrics {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
}

.rp-current-sub-metric {
    min-height: 120px;
    border: 1px solid #d7e4fb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(44, 74, 129, 0.06);
}

.rp-current-sub-metric .rp-metric-value {
    margin-top: 4px;
    font-size: var(--rp-text-h2);
    line-height: var(--rp-lh-number);
    letter-spacing: -0.02em;
    color: #12284d;
}

.rp-current-sub-metric.is-quota .rp-metric-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.rp-current-sub-metric .rp-metric-value-unit {
    font-size: var(--rp-text-caption);
    font-weight: var(--rp-fw-semibold);
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #5b6f92;
}

.rp-current-sub-metric.is-price {
    grid-column: 1 / -1;
    background: linear-gradient(140deg, #ffffff 0%, #f7faff 70%, #eff4ff 100%);
    border-color: #cadbf8;
}

.rp-current-sub-metric.is-price .rp-metric-value {
    font-size: var(--rp-text-display);
    line-height: var(--rp-lh-number);
    letter-spacing: -0.02em;
    color: #0f2a60;
}

.rp-current-sub-progress {
    position: relative;
    width: 100%;
    height: 8px;
    margin-top: 10px;
    border-radius: 999px;
    background: #e4edf9;
    overflow: hidden;
}

.rp-current-sub-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
}

.rp-current-sub-cycle-card {
    grid-column: 1 / -1;
    min-height: auto;
    background: linear-gradient(180deg, #f5f9ff 0%, #edf3ff 100%);
    border-color: #c8daf9;
}

.rp-current-sub-cycle-line {
    margin-top: 8px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.rp-current-sub-cycle-line span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #d2e0fa;
    background: #fff;
    font-size: var(--rp-text-body);
    color: #1f3f72;
    font-weight: var(--rp-fw-semibold);
}

.rp-current-sub-cycle-line .rp-current-sub-cycle-arrow {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #6283b7;
    font-size: var(--rp-text-title);
    font-weight: var(--rp-fw-bold);
}

.rp-client-subscription-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-bottom: 14px;
    border-bottom: 1px solid #e3ecfa;
}

.rp-client-subscription-identity {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.rp-client-subscription-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rp-client-subscription-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #d9e5fb;
    background: #f4f8ff;
    color: #486384;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-tight);
}

.rp-client-subscription-meta-pill strong {
    color: #173c79;
    font-weight: var(--rp-fw-semibold);
}

.rp-client-subscription-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-left: auto;
}

.rp-client-subscription-actions form {
    margin: 0;
}

.rp-client-subscription-hint {
    text-align: right;
}

.rp-client-subscription-eyebrow {
    margin: 0 0 4px;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.rp-client-subscription-kpis {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 14px;
}

.rp-client-subscription-kpi {
    min-height: 124px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
}

.rp-client-subscription-kpi .rp-metric-value {
    margin-top: 2px;
    font-size: clamp(32px, 2vw, 38px);
}

.rp-client-subscription-kpi.is-primary .rp-metric-value {
    font-size: clamp(32px, 2.1vw, 42px);
}

.rp-client-subscription-progress {
    position: relative;
    margin-top: 4px;
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background: #e5edf9;
    overflow: hidden;
}

.rp-client-subscription-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    transition: width 0.25s ease;
}

.rp-client-subscription-cycle {
    border: 1px solid #cadcf8;
    background: #edf4ff;
    border-radius: 12px;
    padding: 10px 14px;
}

.rp-client-subscription-cycle-label {
    margin: 0;
    font-size: var(--rp-text-caption-xs);
    color: #5d7aa0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rp-client-subscription-cycle-value {
    margin: 6px 0 0;
    color: #23456f;
    font-size: var(--rp-text-body);
    font-weight: var(--rp-fw-semibold);
    line-height: var(--rp-lh-compact);
}

.rp-client-pricing-shell {
    gap: 14px;
}

.rp-client-pricing-header {
    gap: 10px;
}

.rp-client-pricing-toggle {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid #d4def2;
    background: #f8fbff;
    gap: 4px;
}

.rp-client-pricing-btn {
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    background: transparent;
    color: #4b5563;
    font-size: var(--rp-text-caption);
    font-weight: var(--rp-fw-semibold);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.rp-client-pricing-btn:hover {
    background: #eef3ff;
    color: #1e3a8a;
}

.rp-client-pricing-btn.is-active {
    background: #1d4ed8;
    color: #fff;
    box-shadow: 0 6px 14px rgba(29, 78, 216, 0.2);
}

.rp-client-plan-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 14px;
}

.rp-client-plan-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #d6e2f5;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 16px;
    min-height: 320px;
}

.rp-client-plan-card.is-current {
    border-color: #94b3ff;
    box-shadow: 0 12px 24px rgba(70, 95, 255, 0.15);
}

.rp-client-plan-card.is-limited-offer {
    border-color: #f5d48f;
    background: linear-gradient(180deg, #fff9ed 0%, #ffffff 100%);
}

.rp-client-plan-tier {
    margin: 0;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1d4ed8;
}

.rp-client-plan-card h4 {
    margin: 0;
    font-size: var(--rp-text-title);
    line-height: var(--rp-lh-tight);
    letter-spacing: -0.01em;
}

.rp-client-plan-price-original {
    margin: 0;
    font-size: var(--rp-text-body-sm);
    color: #94a3b8;
    text-decoration: line-through;
}

.rp-client-plan-price {
    margin: 0;
    font-size: 28px;
    line-height: var(--rp-lh-display);
    font-weight: var(--rp-fw-bold);
    letter-spacing: -0.02em;
    color: #0f172a;
}

.rp-client-plan-price span {
    font-size: var(--rp-text-caption);
    font-weight: var(--rp-fw-medium);
    color: #64748b;
    margin-left: 4px;
}

.rp-client-plan-note {
    margin: 0;
    font-size: var(--rp-text-caption);
    color: #475569;
    line-height: var(--rp-lh-compact);
}

.rp-client-plan-features {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    font-size: var(--rp-text-caption);
    color: #334155;
}

.rp-client-plan-action {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rp-client-plan-action .rp-btn-primary,
.rp-client-plan-action .rp-btn-secondary {
    width: 100%;
    justify-content: center;
}

.rp-client-plan-quantity {
    display: grid;
    gap: 6px;
}

.rp-client-plan-quantity .rp-form-label {
    margin: 0;
}

.rp-client-plan-quantity-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.rp-client-plan-quantity-row input[type="number"] {
    width: 100%;
    min-width: 0;
    border: 1px solid #d6e2f5;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-semibold);
    padding: 10px 12px;
}

.rp-client-plan-quantity-note {
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-medium);
}

.rp-client-pricing-disclaimer {
    margin: 0;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    color: #64748b;
}

.rp-client-pricing-shell[data-active-cycle='monthly'] .rp-client-plan-card[data-plan-cycle='yearly'],
.rp-client-pricing-shell[data-active-cycle='yearly'] .rp-client-plan-card[data-plan-cycle='monthly'] {
    display: none;
}

@media (min-width: 900px) {
    .rp-master-product-filter-form {
        grid-template-columns: minmax(220px, 260px) auto;
    }

    .rp-master-product-filter-actions {
        justify-content: flex-start;
    }

    .rp-client-subscription-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-client-subscription-kpi.is-primary {
        grid-column: span 2;
    }
}

@media (min-width: 860px) {
    .rp-current-sub-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1220px) {
    .rp-current-sub-grid {
        grid-template-columns: minmax(360px, 0.92fr) minmax(460px, 1.08fr);
    }
}

@media (min-width: 1100px) {
    .rp-master-product-metrics {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

@media (min-width: 1240px) {
    .rp-client-subscription-kpis {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .rp-client-subscription-kpi {
        grid-column: span 2;
    }

    .rp-client-subscription-kpi.is-primary {
        grid-column: span 6;
    }
}

@media (max-width: 760px) {
    .rp-client-subscription-actions {
        width: 100%;
        align-items: flex-start;
        margin-left: 0;
    }

    .rp-client-subscription-hint {
        text-align: left;
    }

    .rp-client-subscription-meta {
        width: 100%;
    }

    .rp-client-subscription-meta-pill {
        width: 100%;
        justify-content: space-between;
    }

    .rp-client-subscription-kpi .rp-metric-value,
    .rp-client-subscription-kpi.is-primary .rp-metric-value {
        font-size: clamp(34px, 9vw, 42px);
    }

    .rp-client-subscription-overview {
        padding: 14px;
    }

    .rp-current-sub-hero {
        padding: 14px;
    }

    .rp-current-sub-company {
        font-size: var(--rp-text-h3);
    }

    .rp-current-sub-plan-name {
        font-size: var(--rp-text-display);
    }

    .rp-current-sub-hero-footer,
    .rp-current-sub-actions,
    .rp-current-sub-actions .rp-form-hint {
        justify-content: flex-start;
        text-align: left;
    }

    .rp-current-sub-cycle-line {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-current-sub-cycle-line .rp-current-sub-cycle-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }
}

@media (min-width: 1320px) {
    .rp-client-plan-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.rp-admin-entity-page {
    width: 100%;
    max-width: none;
}

.rp-admin-entity-form {
    width: 100%;
    gap: 16px;
    padding: 22px;
}

.rp-admin-entity-form .rp-form-grid {
    gap: 16px;
}

.rp-admin-entity-form .rp-form-field {
    min-width: 0;
}

.rp-admin-entity-form input[type='text'],
.rp-admin-entity-form input[type='password'],
.rp-admin-entity-form input[type='email'],
.rp-admin-entity-form input[type='number'],
.rp-admin-entity-form select,
.rp-admin-entity-form textarea {
    width: 100%;
}

.rp-admin-entity-form .rp-toolbar {
    margin-top: 2px;
    padding-top: 8px;
    border-top: 1px solid #e9efff;
}

.rp-manual-proof-cell {
    min-width: 180px;
}

.rp-manual-proof-preview {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.rp-manual-proof-preview.is-large {
    gap: 12px;
}

.rp-manual-proof-thumb {
    display: grid;
    gap: 10px;
    width: min(100%, 180px);
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: zoom-in;
}

.rp-manual-proof-thumb.is-detail {
    width: min(100%, 240px);
}

.rp-manual-proof-thumb-frame {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: 118px;
    border: 1px solid #dbe7ff;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 248, 255, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.rp-manual-proof-thumb.is-detail .rp-manual-proof-thumb-frame {
    min-height: 180px;
}

.rp-manual-proof-thumb-frame img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: contain;
    background: #ffffff;
}

.rp-manual-proof-thumb-frame.is-image::after {
    content: "";
    position: absolute;
    inset: auto 10px 10px auto;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.68);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
}

.rp-manual-proof-thumb-frame.is-image::before {
    content: "+";
    position: absolute;
    right: 20px;
    bottom: 12px;
    z-index: 1;
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
}

.rp-manual-proof-thumb-frame.is-pdf,
.rp-manual-proof-thumb-frame.is-file {
    align-content: center;
    justify-items: center;
    gap: 8px;
    padding: 18px;
}

.rp-manual-proof-thumb-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rp-manual-proof-thumb-frame.is-file .rp-manual-proof-thumb-type {
    background: #f8fafc;
    color: #334155;
}

.rp-manual-proof-thumb-frame strong {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 800;
}

.rp-manual-proof-frame {
    position: relative;
    overflow: hidden;
    min-height: 168px;
    border: 1px solid #dbe7ff;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.rp-manual-proof-preview.is-large .rp-manual-proof-frame {
    min-height: 420px;
}

.rp-manual-proof-frame img,
.rp-manual-proof-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    border: 0;
    background: #ffffff;
}

.rp-manual-proof-frame img {
    object-fit: contain;
}

.rp-manual-proof-fallback {
    display: grid;
    place-items: center;
    gap: 6px;
    min-height: inherit;
    padding: 18px;
    text-align: center;
    color: #607196;
}

.rp-manual-proof-fallback strong {
    font-size: 0.95rem;
    color: #0f172a;
}

.rp-manual-proof-fallback span {
    font-size: 0.82rem;
    line-height: 1.5;
    word-break: break-word;
}

.rp-manual-proof-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.84rem;
    line-height: 1.45;
}

.rp-manual-proof-meta strong {
    color: #0f172a;
    font-weight: 700;
    word-break: break-word;
}

.rp-manual-proof-meta span {
    color: #607196;
    white-space: nowrap;
}

.rp-proof-lightbox-modal {
    width: min(96vw, 1400px);
    max-height: min(96vh, 1100px);
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #020817;
    box-shadow: 0 40px 100px rgba(2, 6, 23, 0.56);
}

.rp-proof-lightbox-modal .rp-modal-header {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(2, 6, 23, 0.92);
}

.rp-proof-lightbox-modal .rp-modal-title {
    color: #f8fafc;
}

.rp-proof-lightbox-modal .rp-modal-subtitle {
    color: rgba(226, 232, 240, 0.72);
}

.rp-proof-lightbox-modal .rp-modal-close {
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.82);
    color: #f8fafc;
}

.rp-proof-lightbox-modal .rp-modal-close:hover {
    background: rgba(30, 41, 59, 0.96);
    color: #ffffff;
}

.rp-proof-lightbox-modal .rp-modal-body {
    padding: 0;
    overflow: hidden;
    flex: 1 1 auto;
    background: #020817;
}

.rp-proof-lightbox-stage {
    position: relative;
    overflow: hidden;
    height: min(86vh, calc(100vh - 96px));
    min-height: 0;
    border: 0;
    border-radius: 0 0 18px 18px;
    background: #020817;
    display: grid;
    place-items: center;
}

.rp-proof-lightbox-stage img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    object-fit: contain;
    object-position: center center;
}

.rp-proof-lightbox-stage iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #ffffff;
}

.rp-proof-lightbox-fallback {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    width: 100%;
    height: 100%;
    padding: 32px;
    text-align: center;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(2, 6, 23, 1) 100%);
}

.rp-proof-lightbox-fallback strong {
    font-size: 1rem;
    color: #f8fafc;
}

.rp-proof-lightbox-stage img[hidden],
.rp-proof-lightbox-stage iframe[hidden],
.rp-proof-lightbox-fallback[hidden] {
    display: none !important;
}

.rp-proof-lightbox-modal[data-proof-kind='image'] .rp-modal-subtitle {
    display: none;
}

@media (min-width: 900px) {
    .rp-form-grid.cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .rp-form-grid.cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .rp-admin-entity-form .rp-form-field.is-span-2 {
        grid-column: span 2;
    }

    .rp-admin-entity-form .rp-form-field.is-span-full {
        grid-column: 1 / -1;
    }
}

@media (max-width: 899px) {
    .rp-manual-proof-cell {
        min-width: 0;
    }

    .rp-manual-proof-thumb.is-detail {
        max-width: 100%;
    }

    .rp-manual-proof-thumb.is-detail .rp-manual-proof-thumb-frame {
        min-height: 150px;
    }

    .rp-proof-lightbox-modal {
        width: 100%;
        max-height: 100vh;
        border-radius: 16px;
    }

    .rp-proof-lightbox-modal .rp-modal-header {
        padding: 12px 14px;
    }

    .rp-proof-lightbox-stage {
        height: calc(100vh - 92px);
        border-radius: 0 0 16px 16px;
    }

    .rp-proof-lightbox-fallback {
        padding: 24px;
    }
}

.rp-form-grid.cols-3.rp-openai-keys-form {
    align-items: end;
}

.rp-openai-keys-form .rp-form-field,
.rp-openai-keys-form .rp-openai-keys-actions {
    min-width: 0;
}

.rp-openai-keys-form input[type='text'],
.rp-openai-keys-form input[type='password'] {
    width: 100%;
}

.rp-openai-keys-actions {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.rp-company-language-form {
    margin-bottom: 6px;
}

.rp-company-language-form--single {
    margin-bottom: 0;
}

.rp-company-language-actions {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.rp-settings-page {
    width: 100%;
    max-width: none;
}

.rp-settings-scope-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 980px) {
    .rp-settings-scope-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-settings-scope-card {
    background: #f7faff;
    border-color: #dbe7ff;
}

.rp-settings-group {
    gap: 14px;
}

.rp-settings-group-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.rp-settings-company-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.rp-settings-company-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1180px) {
    .rp-settings-company-grid {
        grid-template-columns: minmax(320px, 1fr) minmax(480px, 1.35fr);
    }

    .rp-settings-company-grid.rp-settings-company-grid--single {
        grid-template-columns: minmax(0, 1fr);
    }
}

.rp-settings-block {
    border: 1px solid #dbe7ff;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    border-radius: 14px;
}

.rp-settings-danger-card {
    border-color: #fecaca;
    background: linear-gradient(180deg, #fff8f8 0%, #fff1f2 100%);
}

.rp-settings-danger-card .rp-settings-block-title {
    color: #991b1b;
}

.rp-settings-danger-hint {
    margin-top: 6px;
    font-style: italic;
}

.rp-settings-danger-hint strong {
    color: #991b1b;
}

.rp-settings-block-title {
    margin: 0;
    font-size: var(--rp-text-title);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
    letter-spacing: -0.01em;
    color: #0f172a;
}

.rp-settings-empty-cell {
    text-align: center;
    padding: 20px 12px;
    color: #64748b;
}

.rp-settings-feature-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 980px) {
    .rp-settings-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-settings-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rp-settings-provider-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 980px) {
    .rp-settings-provider-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-settings-provider-card {
    border: 1px solid #dbe4ff;
    border-radius: 18px;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0) 55%),
        #ffffff;
    padding: 16px;
    display: grid;
    gap: 14px;
}

.rp-settings-provider-card.is-live {
    border-color: #bbf7d0;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(34, 197, 94, 0.10) 0%, rgba(34, 197, 94, 0) 55%),
        #ffffff;
}

.rp-settings-provider-card.is-disabled {
    opacity: 0.88;
}

.rp-settings-provider-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.rp-settings-provider-title {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-h4);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
}

.rp-settings-provider-copy {
    margin: 6px 0 0;
    color: #64748b;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-settings-provider-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.rp-settings-provider-controls {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 700px) {
    .rp-settings-provider-controls {
        grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
        align-items: end;
    }
}

.rp-settings-provider-toggle {
    min-height: 56px;
    justify-content: flex-start;
}

.rp-settings-provider-note {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-body);
}

.rp-settings-toolbar {
    padding-top: 8px;
    border-top: 1px solid #e5ecff;
}

@media (min-width: 900px) {
    .rp-settings-span-2 {
        grid-column: span 2;
    }
}

@media (min-width: 900px) {
    .rp-form-grid.cols-3.rp-openai-keys-form {
        grid-template-columns: minmax(220px, 1fr) minmax(360px, 2fr) auto;
    }

    .rp-form-grid.cols-2.rp-company-language-form {
        grid-template-columns: minmax(240px, 1fr) auto;
        align-items: end;
    }

    .rp-form-grid.cols-2.rp-company-language-form.rp-company-language-form--single {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
        align-items: start;
    }
}

@media (max-width: 1199px) {
    .rp-form-grid.cols-3.rp-openai-keys-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-openai-keys-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .rp-form-grid.cols-2.rp-company-language-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-form-grid.cols-2.rp-company-language-form.rp-company-language-form--single {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-company-language-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .rp-form-grid.cols-3.rp-openai-keys-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-openai-keys-actions {
        grid-column: auto;
    }

    .rp-admin-entity-form {
        padding: 16px;
    }
}

.rp-analysis-create .rp-tabs {
    width: fit-content;
}

.rp-analysis-form {
    gap: 16px;
}

.rp-analysis-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #e5ecff;
    border-radius: 14px;
    background: #fcfdff;
    padding: 14px;
}

.rp-analysis-section-title {
    margin: 0;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.rp-analysis-grid-tight {
    gap: 12px;
}

.rp-analysis-form .rp-form-field {
    min-width: 0;
}

.rp-analysis-form input[type='text'],
.rp-analysis-form input[type='date'],
.rp-analysis-form input[type='file'],
.rp-analysis-form input[type='email'],
.rp-analysis-form input[type='number'],
.rp-analysis-form select,
.rp-analysis-form textarea {
    width: 100%;
}

.rp-analysis-form textarea {
    min-height: 98px;
}

.rp-analysis-form input[type='file'] {
    padding: 10px !important;
}

.rp-analysis-form ::placeholder {
    color: #94a3b8;
}

.rp-manual-mode-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid #d8e3ff;
    border-radius: 12px;
    background: #f7faff;
}

.rp-manual-mode-btn {
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #475569;
    font-size: var(--rp-text-body-sm);
    font-weight: var(--rp-fw-semibold);
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.16s ease;
}

.rp-manual-mode-btn.is-active {
    background: #ffffff;
    border-color: #c9d9ff;
    color: #1e3a8a;
    box-shadow: 0 4px 12px rgba(70, 95, 255, 0.16);
}

.rp-manual-bulk-textarea {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    min-height: 220px !important;
    line-height: 1.45;
}

.rp-manual-bulk-hint {
    margin: 8px 0 0;
    color: #475569;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
}

.rp-manual-multi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rp-manual-row-card {
    border: 1px solid #dbe7ff;
    border-radius: 12px;
    background: #f8fbff;
    padding: 14px;
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

.rp-manual-row-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rp-manual-row-title {
    margin: 0;
    font-size: var(--rp-text-body-sm);
    font-weight: var(--rp-fw-bold);
    color: #0f172a;
}

.rp-meta-import-wrap {
    display: grid;
    gap: 14px;
}

.rp-meta-import-mode-title {
    margin: 0 0 8px;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    color: #334155;
}

.rp-meta-export-guide {
    border: 1px solid #d8e4ff;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    padding: 12px 14px;
}

.rp-meta-export-guide-head h4 {
    margin: 0;
    font-size: var(--rp-text-body);
    line-height: var(--rp-lh-tight);
    color: #0f172a;
}

.rp-meta-export-guide-head p {
    margin: 4px 0 0;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    color: #64748b;
}

.rp-meta-export-steps {
    margin: 10px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 7px;
    color: #1f2937;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
}

.rp-meta-export-steps li::marker {
    color: #1d4ed8;
    font-weight: var(--rp-fw-bold);
}

.rp-meta-manual-pov {
    background: linear-gradient(180deg, #fcfdff 0%, #f5f8ff 100%);
    border-color: #d8e4ff;
}

.rp-meta-pov-cards {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rp-meta-pov-card {
    border: 1px solid #d6e3fd;
    border-radius: 12px;
    background: #ffffff;
    padding: 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.rp-meta-pov-card.is-active {
    border-color: #b8ccff;
    background: #f3f7ff;
    box-shadow: 0 8px 18px rgba(70, 95, 255, 0.12);
}

.rp-meta-pov-title {
    margin: 0;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
    color: #1e3a8a;
}

.rp-meta-pov-copy {
    margin: 5px 0 0;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    color: #475569;
}

.rp-meta-manual-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rp-manual-multi-shell .rp-manual-row-card {
    background: linear-gradient(180deg, #fdfefe 0%, #f6f9ff 100%);
    border-color: #d4e2ff;
    box-shadow: 0 8px 18px rgba(52, 79, 139, 0.08);
}

.rp-manual-single-shell,
.rp-meta-single-fields,
.rp-manual-metrics-shell {
    border-color: #d8e3fb;
    background: linear-gradient(180deg, #fdfefe 0%, #f8fbff 100%);
}

@media (max-width: 1199px) {
    .rp-analysis-create .rp-form-grid.cols-3,
    .rp-analysis-create .rp-form-grid.cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .rp-analysis-create .rp-form-grid.cols-2,
    .rp-analysis-create .rp-form-grid.cols-3,
    .rp-analysis-create .rp-form-grid.cols-4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-analysis-section {
        padding: 12px;
        gap: 10px;
    }

    .rp-manual-mode-toggle {
        width: 100%;
    }

    .rp-manual-mode-btn {
        flex: 1 1 0%;
        text-align: center;
    }

    .rp-manual-multi-header {
        align-items: stretch;
        flex-direction: column;
    }

    .rp-meta-pov-cards {
        grid-template-columns: minmax(0, 1fr);
    }
}

.rp-field-help {
    margin-top: 6px;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    color: #64748b;
}

.rp-analysis-form .rp-field-error {
    border-color: #fca5a5 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12) !important;
}

.rp-field-error-text {
    margin-top: 6px;
    margin-bottom: 0;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    color: #b91c1c;
    font-weight: var(--rp-fw-semibold);
}

.rp-field-error-box {
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #991b1b;
    padding: 10px 12px;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-medium);
}

.rp-lock-scroll {
    overflow: hidden;
}

.rp-process-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(3px);
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rp-process-overlay.active {
    display: flex;
}

.rp-process-modal {
    width: min(460px, 100%);
    border: 1px solid #d7e1ff;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 28px 65px rgba(15, 23, 42, 0.2);
    padding: 20px;
}

.rp-process-title {
    margin: 0;
    font-size: var(--rp-text-title);
    font-weight: var(--rp-fw-bold);
    line-height: var(--rp-lh-tight);
    color: #0f172a;
}

.rp-process-subtitle {
    margin: 8px 0 0;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
    color: #475569;
}

/* Shopee Report System */
.rp-report-theme-shopee {
    --rp-shopee-shell-radius-lg: 28px;
    --rp-shopee-shell-radius-md: 22px;
    --rp-shopee-shell-radius-sm: 16px;
    --rp-shopee-shell-radius-xs: 12px;
    --rp-shopee-shell-border: #f2dfcf;
    --rp-shopee-shell-border-strong: #f4cda7;
    --rp-shopee-shell-bg:
        radial-gradient(120% 140% at 0% 0%, rgba(var(--rp-report-accent-rgb), 0.10) 0%, rgba(255, 255, 255, 0.98) 44%),
        linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
    --rp-shopee-shell-bg-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 239, 0.94) 100%);
    --rp-shopee-panel-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    --rp-shopee-panel-bg-warm: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 237, 0.96) 100%);
    --rp-shopee-soft-bg: #fff7ed;
    --rp-shopee-muted-bg: #fffaf4;
    --rp-shopee-shadow-lg: 0 24px 52px rgba(148, 74, 22, 0.08);
    --rp-shopee-shadow-md: 0 16px 34px rgba(148, 74, 22, 0.06);
    --rp-shopee-shadow-sm: 0 10px 22px rgba(148, 74, 22, 0.05);
    --rp-shopee-text-strong: #0f172a;
    --rp-shopee-text-body: #334155;
    --rp-shopee-text-muted: #64748b;
    --rp-shopee-text-soft: #475569;
}

.rp-report-theme-shopee .rp-report-mode-note,
.rp-report-theme-shopee .rp-card-subtitle,
.rp-report-theme-shopee .rp-report-cover-subtitle,
.rp-report-theme-shopee .rp-report-meta-chip,
.rp-report-theme-shopee .rp-summary-empty-state,
.rp-report-theme-shopee .rp-plan-next-kpi-note,
.rp-report-theme-shopee .rp-plan-next-context-value,
.rp-report-theme-shopee .rp-plan-next-strategy-detail,
.rp-report-theme-shopee .rp-plan-next-summary-label,
.rp-report-theme-shopee .rp-plan-next-meta-item,
.rp-report-theme-shopee .rp-infographic-label,
.rp-report-theme-shopee .rp-infographic-track-head span,
.rp-report-theme-shopee .rp-infographic-micro p {
    color: var(--rp-shopee-text-muted);
}

.rp-report-theme-shopee .rp-card-title,
.rp-report-theme-shopee .rp-report-cover-title,
.rp-report-theme-shopee .rp-report-shared-title,
.rp-report-theme-shopee .rp-executive-owner-title,
.rp-report-theme-shopee .rp-executive-owner-signal-title,
.rp-report-theme-shopee .rp-summary-highlight-hero-title,
.rp-report-theme-shopee .rp-comprehensive-prose-card .rp-report-prose,
.rp-report-theme-shopee .rp-infographic-value,
.rp-report-theme-shopee .rp-plan-next-kpi-value,
.rp-report-theme-shopee .rp-plan-next-summary-value {
    color: var(--rp-shopee-text-strong);
}

.rp-report-theme-shopee .rp-card,
.rp-report-theme-shopee .rp-report-shared-snapshot,
.rp-report-theme-shopee .rp-summary-slide,
.rp-report-theme-shopee .rp-summary-highlight-deck,
.rp-report-theme-shopee .rp-summary-compare-card,
.rp-report-theme-shopee .rp-summary-insight-deck,
.rp-report-theme-shopee .rp-comprehensive-cover,
.rp-report-theme-shopee .rp-comprehensive-actions-card,
.rp-report-theme-shopee .rp-comprehensive-infographic-card,
.rp-report-theme-shopee .rp-comprehensive-metric-card,
.rp-report-theme-shopee .rp-comprehensive-table-card,
.rp-report-theme-shopee .rp-comprehensive-chart-deck,
.rp-report-theme-shopee .rp-comprehensive-chart-mini,
.rp-report-theme-shopee .rp-comprehensive-under-card,
.rp-report-theme-shopee .rp-comprehensive-module-card,
.rp-report-theme-shopee .rp-fatigue-card,
.rp-report-theme-shopee .rp-keyword-section {
    border-color: var(--rp-shopee-shell-border);
    border-radius: var(--rp-shopee-shell-radius-lg);
    box-shadow: var(--rp-shopee-shadow-md);
}

.rp-report-theme-shopee > .rp-card,
.rp-report-theme-shopee .rp-report-tab-panel > .rp-card,
.rp-report-theme-shopee .rp-kv-grid > .rp-card,
.rp-report-theme-shopee .rp-role-executive-grid > .rp-card {
    background: var(--rp-shopee-shell-bg);
}

.rp-report-theme-shopee .rp-report-tab-panel {
    gap: 24px;
}

.rp-report-theme-shopee .rp-card-header {
    gap: 14px;
}

.rp-report-theme-shopee .rp-card-title {
    font-size: clamp(22px, 1.9vw, 28px);
    line-height: 1.14;
    letter-spacing: -0.02em;
}

.rp-report-theme-shopee .rp-card-subtitle {
    font-size: var(--rp-text-body-sm);
    line-height: 1.7;
    max-width: 72ch;
}

.rp-report-theme-shopee .rp-report-shared-snapshot,
.rp-report-theme-shopee .rp-executive-slide,
.rp-report-theme-shopee .rp-summary-highlight-deck,
.rp-report-theme-shopee .rp-summary-compare-card,
.rp-report-theme-shopee .rp-summary-insight-deck,
.rp-report-theme-shopee .rp-comprehensive-cover {
    background: var(--rp-shopee-shell-bg);
}

.rp-report-theme-shopee .rp-report-shared-detail-card,
.rp-report-theme-shopee .rp-report-shared-list-card,
.rp-report-theme-shopee .rp-summary-highlight-hero-main,
.rp-report-theme-shopee .rp-summary-highlight-hero-point,
.rp-report-theme-shopee .rp-summary-highlight-item,
.rp-report-theme-shopee .rp-summary-compare-bucket,
.rp-report-theme-shopee .rp-summary-compare-row,
.rp-report-theme-shopee .rp-summary-insight-panel,
.rp-report-theme-shopee .rp-summary-insight-tile,
.rp-report-theme-shopee .rp-summary-recommendation-tile,
.rp-report-theme-shopee .rp-summary-action-item,
.rp-report-theme-shopee .rp-report-chart-card,
.rp-report-theme-shopee .rp-report-kpi-card,
.rp-report-theme-shopee .rp-infographic-stat,
.rp-report-theme-shopee .rp-infographic-track,
.rp-report-theme-shopee .rp-infographic-micro,
.rp-report-theme-shopee .rp-comprehensive-prose-card,
.rp-report-theme-shopee .rp-comprehensive-deep-item,
.rp-report-theme-shopee .rp-plan-next-kpi,
.rp-report-theme-shopee .rp-plan-next-summary,
.rp-report-theme-shopee .rp-plan-next-context-item,
.rp-report-theme-shopee .rp-plan-next-strategy-item,
.rp-report-theme-shopee .rp-metric-guide-item,
.rp-report-theme-shopee .rp-fatigue-signal-value {
    border-radius: var(--rp-shopee-shell-radius-md);
    border-color: rgba(var(--rp-report-accent-rgb), 0.12);
    background: var(--rp-shopee-panel-bg);
    box-shadow: var(--rp-shopee-shadow-sm);
}

.rp-report-theme-shopee .rp-report-chart-card,
.rp-report-theme-shopee .rp-summary-top-chart-card,
.rp-report-theme-shopee .rp-infographic-stat,
.rp-report-theme-shopee .rp-infographic-track,
.rp-report-theme-shopee .rp-infographic-micro,
.rp-report-theme-shopee .rp-summary-highlight-item,
.rp-report-theme-shopee .rp-summary-compare-bucket-item,
.rp-report-theme-shopee .rp-summary-insight-tile,
.rp-report-theme-shopee .rp-summary-recommendation-tile,
.rp-report-theme-shopee .rp-summary-action-item,
.rp-report-theme-shopee .rp-summary-chip,
.rp-report-theme-shopee .rp-summary-bullet-item,
.rp-report-theme-shopee .rp-metric-guide-item {
    background: var(--rp-shopee-panel-bg-soft, var(--rp-shopee-panel-bg));
}

.rp-report-theme-shopee .rp-table-wrap {
    border-color: var(--rp-shopee-shell-border);
    border-radius: var(--rp-shopee-shell-radius-md);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--rp-shopee-shadow-sm);
}

.rp-report-theme-shopee .rp-report-table {
    border-radius: calc(var(--rp-shopee-shell-radius-md) - 6px);
    overflow: hidden;
}

.rp-report-theme-shopee .rp-report-table thead th {
    background: var(--rp-shopee-soft-bg);
    color: var(--rp-report-accent-text);
    border-bottom-color: #f3dcc3;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rp-report-theme-shopee .rp-report-table tbody td {
    border-top-color: #f5e6d9;
}

.rp-report-theme-shopee .rp-report-table tbody tr:hover {
    background: var(--rp-shopee-muted-bg);
}

.rp-report-theme-shopee .rp-summary-empty-state {
    border-style: solid;
    border-color: var(--rp-shopee-shell-border);
    border-radius: var(--rp-shopee-shell-radius-md);
    background: var(--rp-shopee-panel-bg);
}

.rp-report-theme-shopee .rp-report-chart-card {
    padding: 18px;
}

.rp-report-theme-shopee .rp-report-chart-title {
    color: var(--rp-shopee-text-strong);
    font-size: var(--rp-text-body);
    line-height: 1.45;
    font-weight: var(--rp-fw-bold);
}

.rp-report-theme-shopee .rp-report-canvas-wrap {
    border-radius: var(--rp-shopee-shell-radius-sm);
}

.rp-report-theme-shopee .rp-summary-action-priority,
.rp-report-theme-shopee .rp-report-meta-chip,
.rp-report-theme-shopee .rp-summary-highlight-hero-point-index,
.rp-report-theme-shopee .rp-summary-insight-index,
.rp-report-theme-shopee .rp-summary-compare-winner,
.rp-report-theme-shopee .rp-plan-next-section-tag,
.rp-report-theme-shopee .rp-plan-next-hero-badge {
    border-radius: 999px;
}

.rp-report-theme-shopee .rp-report-cover,
.rp-report-theme-shopee .rp-report-shared-snapshot,
.rp-report-theme-shopee .rp-executive-slide,
.rp-report-theme-shopee .rp-summary-highlight-deck,
.rp-report-theme-shopee .rp-summary-compare-card,
.rp-report-theme-shopee .rp-summary-insight-deck,
.rp-report-theme-shopee .rp-comprehensive-cover,
.rp-report-theme-shopee .rp-plan-next-panel-shopee > .rp-card:first-child {
    position: relative;
    overflow: hidden;
}

.rp-report-toolbar-between {
    justify-content: space-between;
}

body.rp-page-report .rp-report-toolbar-between {
    gap: 10px 14px;
}

body.rp-page-report .rp-report-back-link,
body.rp-page-report .rp-report-share-btn,
body.rp-page-report .rp-report-print-link {
    min-height: 36px;
}

@media (max-width: 860px) {
    body.rp-page-report .rp-topbar {
        display: none;
    }

    body.rp-page-report .rp-content {
        padding-top: 0;
    }

    .rp-report-toolbar-between {
        align-items: flex-start;
        gap: 8px;
    }

    .rp-report-toolbar-actions {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .rp-report-toolbar-actions::-webkit-scrollbar {
        display: none;
    }

    .rp-report-toolbar-actions > * {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    body.rp-page-report .rp-report-cover {
        padding: 15px 16px;
    }

    body.rp-page-report .rp-report-cover-title {
        margin-bottom: 0;
    }

    body.rp-page-report .rp-report-meta {
        gap: 6px;
    }

    body.rp-page-report .rp-report-print-link {
        display: none !important;
    }

    body.rp-page-report [data-report-secondary-action='print'] {
        display: none !important;
    }

    body.rp-page-report .rp-report-toolbar-actions > :not(.rp-report-share-btn) {
        display: none !important;
    }

    body.rp-page-report .rp-report-toolbar-actions {
        width: auto;
    }

    body.rp-page-report .rp-report-mode-wrap {
        gap: 6px;
    }

    body.rp-page-report .rp-report-mode-note {
        display: none;
    }

    body.rp-page-report .rp-report-back-link,
    body.rp-page-report .rp-report-share-btn {
        min-height: 34px;
        padding-inline: 12px;
    }

    body.rp-page-report .rp-report-tab-panel {
        gap: 16px;
    }
}

.rp-hidden {
    display: none;
}

.rp-inline-form-reset {
    margin: 0;
}

.rp-table-empty-cell {
    text-align: center;
    padding: 22px 12px;
    color: #64748b;
}

.rp-table-empty-cell.is-compact {
    padding: 18px 12px;
}

.rp-table-empty-cell.is-roomy {
    padding: 24px 12px;
}

.rp-card-header-tight {
    margin-bottom: 4px;
}

.rp-card-header-flush {
    margin-bottom: 0;
}

.rp-section-gap-md {
    margin-top: 24px;
}

.rp-report-table-col-half {
    width: 50%;
}

.rp-plan-next-accent-cell {
    font-weight: 600;
    color: #ea580c;
}

.rp-plan-next-accent-cell.is-nowrap {
    white-space: nowrap;
}

.rp-plan-next-stakeholder-shell {
    margin-top: 28px;
    padding: 28px 32px;
}

.rp-stake-detail-title-spaced {
    margin-top: 14px;
}

.rp-report-theme-shopee .rp-plan-next-panel-shopee {
    --rp-shopee-accent: var(--rp-report-accent);
    --rp-shopee-accent-strong: var(--rp-report-accent-strong);
    --rp-shopee-accent-soft: var(--rp-report-accent-soft);
    --rp-shopee-accent-soft-strong: var(--rp-report-accent-soft-strong);
    --rp-shopee-accent-text: var(--rp-report-accent-text);
}

.rp-report-tab-panel.rp-plan-next-panel-shopee {
    gap: 22px;
}

.rp-plan-next-panel-shopee .rp-card {
    border-color: var(--rp-shopee-shell-border);
    border-radius: var(--rp-shopee-shell-radius-lg);
    background: var(--rp-shopee-shell-bg);
    box-shadow: var(--rp-shopee-shadow-md);
}

.rp-plan-next-panel-shopee .rp-plan-next-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(20px, 2vw, 30px);
    border-color: var(--rp-shopee-shell-border-strong);
    background:
        radial-gradient(140% 140% at 0% 0%, var(--rp-shopee-accent-soft) 0%, #fffdf8 48%),
        radial-gradient(90% 120% at 100% 100%, rgba(251, 191, 36, 0.18) 0%, rgba(255, 255, 255, 0) 72%),
        linear-gradient(135deg, #fff7ed 0%, #ffffff 62%);
}

.rp-plan-next-panel-shopee .rp-plan-next-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(var(--rp-report-accent-rgb), 0.08) 0%, rgba(245, 158, 11, 0.03) 42%, transparent 72%);
}

.rp-plan-next-panel-shopee .rp-plan-next-hero > * {
    position: relative;
}

.rp-plan-next-panel-shopee .rp-plan-next-hero-head {
    display: grid;
    gap: 16px;
    align-items: start;
}

@media (min-width: 980px) {
    .rp-plan-next-panel-shopee .rp-plan-next-hero-head {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

.rp-plan-next-panel-shopee .rp-plan-next-hero-intro {
    display: grid;
    gap: 12px;
}

.rp-plan-next-panel-shopee .rp-plan-next-hero-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    border: 1px solid var(--rp-shopee-accent-soft-strong);
    background: rgba(255, 247, 237, 0.94);
    color: var(--rp-shopee-accent-text);
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    padding: 7px 12px;
    box-shadow: 0 10px 18px rgba(249, 115, 22, 0.08);
}

.rp-plan-next-panel-shopee .rp-card-header {
    gap: 14px;
}

.rp-plan-next-panel-shopee .rp-card-subtitle {
    max-width: 72ch;
}

.rp-plan-next-panel-shopee .rp-plan-next-status-card {
    border: 1px solid #f2dcc3;
    border-radius: var(--rp-shopee-shell-radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 241, 0.96) 100%);
    box-shadow: var(--rp-shopee-shadow-sm);
    padding: 16px 18px;
}

.rp-plan-next-panel-shopee .rp-plan-next-status-card[data-state="fresh"] {
    border-color: #b7e4c7;
    background: linear-gradient(180deg, rgba(245, 255, 249, 0.98) 0%, rgba(238, 253, 244, 0.96) 100%);
}

.rp-plan-next-panel-shopee .rp-plan-next-status-card[data-state="stale"] {
    border-color: #fdba74;
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.98) 0%, rgba(255, 241, 224, 0.94) 100%);
}

.rp-plan-next-panel-shopee .rp-plan-next-status-title {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 800;
}

.rp-plan-next-panel-shopee .rp-plan-next-status-body {
    margin: 8px 0 0;
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.6;
    font-weight: 600;
    max-width: 78ch;
}

.rp-plan-next-panel-shopee .rp-plan-next-detail-stack {
    display: grid;
    gap: 22px;
}

.rp-plan-next-panel-meta .rp-plan-next-detail-stack {
    display: grid;
    gap: 22px;
}

.rp-plan-next-panel-shopee .rp-plan-next-detail-stack[hidden],
.rp-plan-next-panel-shopee .rp-plan-next-detail-stack.rp-hidden,
.rp-plan-next-panel-meta .rp-plan-next-detail-stack[hidden],
.rp-plan-next-panel-meta .rp-plan-next-detail-stack.rp-hidden {
    display: none !important;
}

.rp-plan-next-panel-shopee .rp-plan-next-analysis-overview {
    display: grid;
    gap: 16px;
}

@media (min-width: 1180px) {
    .rp-plan-next-panel-shopee .rp-plan-next-analysis-overview {
        grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
        align-items: stretch;
    }
}

.rp-plan-next-panel-shopee .rp-plan-next-kpi-analysis {
    height: 100%;
}

.rp-plan-next-panel-shopee .rp-plan-next-section-tag {
    margin: 0 0 8px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--rp-shopee-accent-soft-strong);
    background: var(--rp-shopee-accent-soft);
    color: var(--rp-shopee-accent-text);
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    padding: 6px 10px;
}

.rp-plan-next-panel-shopee .rp-plan-next-foundation-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 1180px) {
    .rp-plan-next-panel-shopee .rp-plan-next-foundation-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    }
}

.rp-plan-next-panel-shopee .rp-plan-next-context-card {
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.98) 0%, rgba(255, 246, 235, 0.94) 100%);
}

.rp-plan-next-panel-shopee .rp-plan-next-context-card .rp-card-header {
    margin-bottom: 2px;
}

.rp-plan-next-panel-shopee .rp-plan-next-context-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 900px) {
    .rp-plan-next-panel-shopee .rp-plan-next-context-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-plan-next-panel-shopee .rp-plan-next-context-item {
    border: 1px solid #eedecb;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
    padding: 14px 15px 13px;
    display: grid;
    gap: 6px;
}

.rp-plan-next-panel-shopee .rp-plan-next-context-item:first-child {
    border-color: #f2d4b1;
    background: linear-gradient(180deg, rgba(255, 250, 242, 0.98) 0%, rgba(255, 245, 235, 0.94) 100%);
}

.rp-plan-next-panel-shopee .rp-plan-next-context-item:last-child {
    border-color: #e3e9f8;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.96) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.rp-plan-next-panel-shopee .rp-plan-next-context-label {
    margin: 0;
    color: #9a3412;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
}

.rp-plan-next-panel-shopee .rp-plan-next-context-value {
    margin: 8px 0 0;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.62;
    font-weight: var(--rp-fw-bold);
}

.rp-plan-next-panel-shopee .rp-plan-next-context-summary {
    margin: 16px 0 0;
    border: 1px solid #f2d4b1;
    border-radius: 18px;
    background: rgba(255, 249, 241, 0.92);
    color: #7c2d12;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 700;
    padding: 15px 17px 15px 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    position: relative;
}

.rp-plan-next-panel-shopee .rp-plan-next-context-summary::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f97316 0%, #fb923c 100%);
}

.rp-plan-next-panel-shopee .rp-plan-next-context-summary .rp-plan-next-context-label {
    margin: 0 0 8px;
}

.rp-plan-next-panel-shopee .rp-plan-next-context-summary .rp-plan-next-context-value {
    margin: 0;
    color: #7c2d12;
    font-size: 15px;
    line-height: 1.68;
    font-weight: 700;
}

.rp-plan-next-panel-shopee .rp-plan-next-context-value .rp-prose-metric-value,
.rp-plan-next-panel-shopee .rp-plan-next-context-value .rp-prose-number-strong {
    font-weight: 800;
}

.rp-plan-next-panel-shopee .rp-plan-next-compass {
    margin-top: 14px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 860px) {
    .rp-plan-next-panel-shopee .rp-plan-next-compass {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.rp-plan-next-panel-shopee .rp-plan-next-compass-item {
    border: 1px solid #f2dcc3;
    border-radius: var(--rp-shopee-shell-radius-md);
    padding: 16px 16px 15px;
    background: linear-gradient(180deg, rgba(255, 251, 244, 0.98) 0%, rgba(255, 245, 234, 0.92) 100%);
    box-shadow: var(--rp-shopee-shadow-sm);
}

.rp-plan-next-panel-shopee .rp-plan-next-compass-item:nth-child(2) {
    background: linear-gradient(180deg, rgba(255, 248, 238, 0.98) 0%, rgba(255, 241, 224, 0.92) 100%);
}

.rp-plan-next-panel-shopee .rp-plan-next-compass-item:nth-child(3) {
    background: linear-gradient(180deg, rgba(255, 252, 245, 0.98) 0%, rgba(255, 246, 232, 0.92) 100%);
}

.rp-plan-next-panel-shopee .rp-plan-next-compass-kicker {
    margin: 0;
    color: #9a3412;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
}

.rp-plan-next-panel-shopee .rp-plan-next-compass-copy {
    margin: 7px 0 0;
    color: #7c2d12;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
}

.rp-plan-next-panel-shopee .rp-plan-next-kpi {
    border-color: #f2ddc7;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 241, 0.96) 100%);
}

.rp-plan-next-panel-shopee .rp-plan-next-growth-kpi {
    border-color: #fdc78e;
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.98) 0%, rgba(255, 239, 213, 0.9) 100%);
}

.rp-plan-next-panel-shopee .rp-plan-next-growth-input-wrap {
    border-color: #f5c08a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.rp-plan-next-panel-shopee .rp-plan-next-summary {
    border-color: #f2dfcf;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 244, 0.96) 100%);
}

.rp-plan-next-panel-shopee .rp-plan-next-meta-item {
    border-color: #f5d3b1;
    background: #fff7ed;
    color: #9a3412;
}

.rp-plan-next-panel-shopee .rp-plan-next-spotlight-card {
    background: linear-gradient(135deg, #fff9f1 0%, #fff5ea 50%, #ffffff 100%);
}

.rp-plan-next-panel-shopee .rp-plan-next-spotlight-card,
.rp-plan-next-panel-shopee .rp-plan-next-reference-card,
.rp-plan-next-panel-shopee .rp-plan-next-focus-card,
.rp-plan-next-panel-shopee .rp-plan-next-strategy-card,
.rp-plan-next-panel-shopee .rp-plan-next-execution-card {
    position: relative;
    overflow: hidden;
}

.rp-plan-next-panel-shopee .rp-plan-next-spotlight-card .rp-plan-next-strategy-list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.rp-plan-next-panel-shopee .rp-card-header + .rp-table-wrap,
.rp-plan-next-panel-shopee .rp-card-header + .rp-plan-next-strategy-list,
.rp-plan-next-panel-shopee .rp-card-header + .rp-plan-next-context-list {
    margin-top: 4px;
}

@media (min-width: 980px) {
    .rp-plan-next-panel-shopee .rp-plan-next-spotlight-card .rp-plan-next-strategy-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-plan-next-panel-shopee .rp-plan-next-spotlight-card .rp-plan-next-strategy-item {
    border-color: #f1dbc4;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.rp-plan-next-panel-shopee .rp-plan-next-spotlight-card .rp-plan-next-strategy-item:nth-child(1) {
    border-left: 4px solid var(--rp-shopee-accent-strong);
}

.rp-plan-next-panel-shopee .rp-plan-next-spotlight-card .rp-plan-next-strategy-item:nth-child(2) {
    border-left: 4px solid var(--rp-shopee-accent);
}

.rp-plan-next-panel-shopee .rp-plan-next-spotlight-card .rp-plan-next-strategy-item:nth-child(3) {
    border-left: 4px solid #d97706;
}

.rp-plan-next-panel-shopee .rp-plan-next-spotlight-card .rp-plan-next-strategy-item:nth-child(4) {
    border-left: 4px solid #16a34a;
}

.rp-plan-next-panel-shopee .rp-plan-next-spotlight-card .rp-plan-next-strategy-item:nth-child(5) {
    border-left: 4px solid #475569;
}

.rp-plan-next-panel-shopee .rp-plan-next-reference-card .rp-report-table tbody tr:hover,
.rp-plan-next-panel-shopee .rp-plan-next-focus-card .rp-report-table tbody tr:hover,
.rp-plan-next-panel-shopee .rp-plan-next-execution-card .rp-report-table tbody tr:hover {
    background: #fff7ed;
}

.rp-plan-next-panel-shopee .rp-plan-next-focus-card .rp-report-table td:first-child,
.rp-plan-next-panel-shopee .rp-plan-next-execution-card .rp-report-table td:first-child {
    color: #7c2d12;
    font-weight: 700;
}

.rp-plan-next-panel-shopee .rp-plan-next-execution-card .rp-report-table th:first-child,
.rp-plan-next-panel-shopee .rp-plan-next-execution-card .rp-report-table td:first-child {
    white-space: nowrap;
    min-width: 94px;
}

.rp-plan-next-panel-shopee .rp-plan-next-strategy-card .rp-plan-next-strategy-item {
    border-color: #f1dbc4;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 239, 0.94) 100%);
}

.rp-plan-next-panel-shopee .rp-table-wrap {
    border: 1px solid #f1dfcf;
    border-radius: var(--rp-shopee-shell-radius-md);
    background: rgba(255, 255, 255, 0.82);
    padding: 6px;
}

.rp-plan-next-panel-shopee .rp-plan-next-risk-list {
    border-top-color: #f4d2a8;
}

.rp-plan-next-focus-card .rp-card-header + .rp-plan-next-risk-list,
.rp-plan-next-focus-card .rp-table-wrap + .rp-card-header {
    margin-top: 24px;
}

.rp-plan-next-panel-shopee .rp-plan-next-risk-item span:first-child {
    color: var(--rp-shopee-accent-strong);
    font-weight: 800;
}

.rp-plan-next-calendar-shell {
    margin-top: 4px;
}

.rp-plan-next-calendar-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    align-items: start;
    grid-auto-rows: min-content;
}

@media (min-width: 1080px) {
    .rp-plan-next-calendar-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .rp-plan-next-calendar-card.is-commerce .rp-plan-next-event-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .rp-plan-next-calendar-card.is-commerce .rp-plan-next-event-item {
        height: 100%;
    }
}

.rp-plan-next-calendar-card {
    border: 1px solid #e5ecfb;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 16px 16px 15px;
    align-self: start;
    height: auto;
}

.rp-plan-next-panel-shopee .rp-card.rp-plan-next-calendar-card {
    display: block;
    border: 1px solid #e5ecfb;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 16px 16px 15px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.rp-plan-next-calendar-card.is-commerce {
    background: linear-gradient(180deg, #fffaf5 0%, #fffdf8 100%);
    border-color: #f3ddc7;
}

.rp-plan-next-panel-shopee .rp-card.rp-plan-next-calendar-card.is-commerce {
    background: linear-gradient(180deg, #fffaf5 0%, #fffdf8 100%);
    border-color: #f3ddc7;
}

.rp-plan-next-calendar-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.rp-plan-next-calendar-kicker {
    margin: 0;
    color: #94a3b8;
    font-size: var(--rp-text-caption-xs);
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-plan-next-calendar-title {
    margin: 7px 0 0;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
}

.rp-plan-next-calendar-source {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #d9e4ff;
    background: #f8fbff;
    color: #475569;
    font-size: var(--rp-text-caption-xs);
    line-height: 1.2;
    font-weight: var(--rp-fw-semibold);
    padding: 6px 10px;
    white-space: nowrap;
}

.rp-plan-next-calendar-empty {
    margin: 16px 0 0;
    border: 1px dashed #dbe5f4;
    border-radius: 14px;
    background: #fbfdff;
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
    padding: 14px 15px;
}

.rp-plan-next-event-list {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.rp-plan-next-event-list-timeline {
    position: relative;
    gap: 14px;
    padding-left: 14px;
}

.rp-plan-next-event-list-timeline::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, #cfe1ff 0%, #d8e6ff 100%);
}

.rp-plan-next-event-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #e7eefb;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 12px 11px;
}

.rp-plan-next-event-item-timeline {
    position: relative;
    gap: 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0 0 0 18px;
}

.rp-plan-next-event-item-timeline::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 18px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 0 0 4px #eff6ff;
}

.rp-plan-next-event-item-timeline .rp-plan-next-event-main {
    border: 1px solid #e7eefb;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
    padding: 12px 13px 11px;
}

.rp-plan-next-event-item-timeline .rp-plan-next-event-date {
    margin-top: 6px;
}

.rp-plan-next-calendar-card.is-commerce .rp-plan-next-event-item {
    border-color: #f2dfcd;
    background: rgba(255, 253, 249, 0.92);
}

.rp-plan-next-event-date {
    flex-shrink: 0;
    min-width: 92px;
    border-radius: 14px;
    background: #f3f7ff;
    color: #1d4ed8;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
    text-align: center;
    padding: 10px 12px;
}

.rp-plan-next-calendar-card.is-commerce .rp-plan-next-event-date {
    background: #fff2e8;
    color: #c2410c;
}

.rp-plan-next-event-date-timeline {
    min-width: 86px;
    border-radius: 999px;
}

.rp-plan-next-event-main {
    flex: 1;
    min-width: 0;
}

.rp-plan-next-event-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.rp-plan-next-event-title {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
}

.rp-plan-next-event-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: var(--rp-text-caption-xs);
    line-height: 1.2;
    font-weight: var(--rp-fw-bold);
    padding: 5px 10px;
    white-space: nowrap;
}

.rp-plan-next-event-pill.is-public {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

.rp-plan-next-event-pill.is-confidence {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.rp-plan-next-event-meta {
    margin: 8px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
}

.rp-plan-next-event-meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 8px;
}

.rp-plan-next-event-note {
    margin: 9px 0 0;
    color: #475569;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
}

.rp-plan-next-event-play {
    margin: 8px 0 0;
    color: #7c2d12;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-bold);
    border-radius: 12px;
    background: rgba(255, 242, 232, 0.9);
    border: 1px solid #f5d3b1;
    padding: 9px 10px;
}

.rp-stakeholder-tab-nav {
    display: flex;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.rp-stakeholder-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    border: 1px solid var(--rp-shopee-shell-border);
    border-radius: 999px;
    background: #fffdf8;
    color: #9a3412;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    line-height: 1.3;
}

.rp-stakeholder-tab-btn:hover {
    background: #fff7ed;
    border-color: var(--rp-report-accent);
}

.rp-stakeholder-tab-btn.is-active {
    background: linear-gradient(135deg, var(--rp-report-accent) 0%, var(--rp-report-accent-strong) 100%);
    color: #fff;
    border-color: var(--rp-report-accent-strong);
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.18);
}

.rp-stakeholder-tab-btn .rp-stab-icon {
    font-size: 1.05em;
}

.rp-stakeholder-panel {
    display: none;
    animation: rpStakeFadeIn 0.35s ease;
}

.rp-stakeholder-panel.is-active {
    display: block;
}

@keyframes rpStakeFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rp-report-theme-shopee .rp-stake-headline-card,
.rp-report-theme-shopee .rp-stake-kpi-card,
.rp-report-theme-shopee .rp-stake-detail-card,
.rp-report-theme-shopee .rp-scenario-card {
    background: var(--rp-shopee-panel-bg-warm);
    border: 1px solid var(--rp-shopee-shell-border);
    border-radius: var(--rp-shopee-shell-radius-md);
    box-shadow: var(--rp-shopee-shadow-sm);
}

.rp-report-theme-shopee .rp-stake-headline-card,
.rp-report-theme-shopee .rp-stake-detail-card,
.rp-report-theme-shopee .rp-scenario-card {
    padding: 28px 32px;
}

.rp-stake-kpi-card {
    padding: 24px 28px;
    text-align: center;
}

.rp-stake-headline-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #7c2d12;
    line-height: 1.5;
    margin: 0;
}

.rp-stake-section-label {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--rp-report-accent) 0%, var(--rp-report-accent-strong) 100%);
    color: #fff;
}

.rp-stake-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 20px;
}

.rp-stake-kpi-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--rp-report-accent-strong);
    margin: 0 0 4px;
}

.rp-stake-kpi-label {
    font-size: 0.85rem;
    color: #9a3412;
    font-weight: 600;
    margin: 0;
}

.rp-stake-detail-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--rp-report-accent-strong);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 8px;
}

.rp-stake-detail-body {
    font-size: 0.95rem;
    color: #7c2d12;
    line-height: 1.65;
    margin: 0;
    white-space: pre-line;
}

.rp-stake-risk-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.rp-stake-risk-badge.is-low { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.rp-stake-risk-badge.is-medium { background: #fef9c3; color: #854d0e; border: 1px solid #fde047; }
.rp-stake-risk-badge.is-high { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

.rp-report-theme-shopee .rp-scenario-card {
    margin-top: 28px;
}

.rp-report-theme-shopee .rp-scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.rp-report-theme-shopee .rp-scenario-col {
    border-radius: var(--rp-shopee-shell-radius-sm);
    padding: 22px 20px;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}

.rp-report-theme-shopee .rp-scenario-col:hover {
    transform: translateY(-2px);
}

.rp-report-theme-shopee .rp-scenario-col--conservative { background: #f0fdf4; border: 1px solid #bbf7d0; }
.rp-report-theme-shopee .rp-scenario-col--moderate { background: #fff7ed; border: 2px solid #ea580c; box-shadow: 0 0 20px rgba(234, 88, 12, 0.12); }
.rp-report-theme-shopee .rp-scenario-col--aggressive { background: #fef2f2; border: 1px solid #fecaca; }

.rp-report-theme-shopee .rp-scenario-col--moderate .rp-scenario-active-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ea580c;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    padding: 4px 10px;
    position: absolute;
    top: -10px;
    right: 16px;
}

.rp-report-theme-shopee .rp-scenario-col--conservative .rp-scenario-active-badge,
.rp-report-theme-shopee .rp-scenario-col--aggressive .rp-scenario-active-badge {
    display: none;
}

.rp-report-theme-shopee .rp-scenario-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.rp-report-theme-shopee .rp-scenario-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.rp-report-theme-shopee .rp-scenario-col--conservative .rp-scenario-icon { background: #dcfce7; color: #16a34a; }
.rp-report-theme-shopee .rp-scenario-col--moderate .rp-scenario-icon { background: #ffedd5; color: #ea580c; }
.rp-report-theme-shopee .rp-scenario-col--aggressive .rp-scenario-icon { background: #fee2e2; color: #dc2626; }

.rp-report-theme-shopee .rp-scenario-name {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.rp-report-theme-shopee .rp-scenario-col--conservative .rp-scenario-name { color: #15803d; }
.rp-report-theme-shopee .rp-scenario-col--moderate .rp-scenario-name { color: #c2410c; }
.rp-report-theme-shopee .rp-scenario-col--aggressive .rp-scenario-name { color: #b91c1c; }

.rp-report-theme-shopee .rp-scenario-growth-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    padding: 2px 8px;
    margin-top: 2px;
}

.rp-report-theme-shopee .rp-scenario-col--conservative .rp-scenario-growth-badge { background: #dcfce7; color: #16a34a; }
.rp-report-theme-shopee .rp-scenario-col--moderate .rp-scenario-growth-badge { background: #ffedd5; color: #ea580c; }
.rp-report-theme-shopee .rp-scenario-col--aggressive .rp-scenario-growth-badge { background: #fee2e2; color: #dc2626; }

.rp-report-theme-shopee .rp-scenario-metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rp-report-theme-shopee .rp-scenario-metric-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 13px;
    line-height: 1.4;
}

.rp-report-theme-shopee .rp-scenario-metric-label {
    color: #64748b;
    font-weight: 500;
}

.rp-report-theme-shopee .rp-scenario-metric-value {
    font-weight: 700;
    text-align: right;
    color: #1e293b;
}

.rp-report-theme-shopee .rp-scenario-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 8px 0;
}

.rp-report-theme-shopee .rp-scenario-incremental {
    font-size: 12px;
    font-weight: 600;
}

.rp-report-theme-shopee .rp-scenario-incremental--positive { color: #16a34a; }
.rp-report-theme-shopee .rp-scenario-incremental--negative { color: #dc2626; }
.rp-report-theme-shopee .rp-scenario-col--moderate .rp-scenario-metric-value { color: #9a3412; }

@media (max-width: 840px) {
    .rp-report-theme-shopee .rp-scenario-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .rp-stakeholder-tab-nav {
        gap: 8px;
    }

    .rp-stakeholder-tab-btn {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .rp-report-theme-shopee .rp-stake-headline-card,
    .rp-report-theme-shopee .rp-stake-detail-card,
    .rp-report-theme-shopee .rp-scenario-card,
    .rp-report-theme-shopee .rp-plan-next-stakeholder-shell {
        padding: 20px 18px;
    }

    .rp-stake-kpi-value {
        font-size: 1.5rem;
    }
}

.rp-stake-risk-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.rp-stake-risk-badge.is-low .rp-stake-risk-dot { background: #22c55e; }
.rp-stake-risk-badge.is-medium .rp-stake-risk-dot { background: #eab308; }
.rp-stake-risk-badge.is-high .rp-stake-risk-dot { background: #ef4444; }

.rp-stake-risk-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.rp-stake-list {
    margin: 0;
    padding: 0 0 0 20px;
}

.rp-stake-list li {
    font-size: 0.9rem;
    color: #7c2d12;
    line-height: 1.7;
    margin-bottom: 4px;
}

.rp-stake-cashflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin-top: 8px;
}

.rp-stake-cashflow-item {
    background: #fffdf8;
    border: 1px solid #f2dcc3;
    border-radius: var(--rp-shopee-shell-radius-sm);
    padding: 18px 16px;
    text-align: center;
}

.rp-stake-cashflow-week {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--rp-report-accent-strong);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 6px;
}

.rp-stake-cashflow-amount {
    font-size: 1.05rem;
    font-weight: 800;
    color: #7c2d12;
    margin: 0;
}

.rp-stake-milestone-go {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.rp-stake-milestone-go.is-go {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.rp-stake-milestone-go.is-no-go {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.rp-stake-milestone-go.is-review {
    background: #fef9c3;
    color: #854d0e;
    border: 1px solid #fde047;
}

.rp-stake-milestone-go.is-neutral {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.rp-report-theme-shopee .rp-alert-deck,
.rp-report-theme-shopee .rp-funnel-section,
.rp-report-theme-shopee .rp-fatigue-card {
    margin-bottom: 24px;
}

.rp-alert-deck-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--rp-shopee-shell-radius-md) var(--rp-shopee-shell-radius-md) 0 0;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: #fff;
}

.rp-alert-deck-header.is-critical { background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%); }
.rp-alert-deck-header.is-warning { background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%); }
.rp-alert-deck-header.is-clear { background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%); }

.rp-alert-deck-header svg {
    flex-shrink: 0;
}

.rp-alert-deck-body {
    border: 1px solid var(--rp-shopee-shell-border);
    border-top: none;
    border-radius: 0 0 var(--rp-shopee-shell-radius-md) var(--rp-shopee-shell-radius-md);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--rp-shopee-shadow-sm);
}

.rp-alert-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
}

.rp-alert-item:last-child {
    border-bottom: none;
}

.rp-alert-item-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.rp-alert-item-icon.is-critical { background: #fef2f2; color: #dc2626; }
.rp-alert-item-icon.is-warning { background: #fffbeb; color: #d97706; }

.rp-alert-item-content {
    flex: 1;
    min-width: 0;
}

.rp-alert-item-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 0 2px;
}

.rp-alert-item-title.is-critical { color: #dc2626; }
.rp-alert-item-title.is-warning { color: #92400e; }

.rp-alert-item-body {
    font-size: 0.82rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.55;
}

.rp-alert-item-level {
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    margin-top: 2px;
}

.rp-alert-item-level.is-critical { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.rp-alert-item-level.is-warning { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }

.rp-alert-clear {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--rp-shopee-shell-radius-md);
    background: linear-gradient(90deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    box-shadow: var(--rp-shopee-shadow-sm);
}

.rp-alert-clear-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
}

.rp-alert-clear-text {
    font-size: 0.84rem;
    color: #166534;
    font-weight: 600;
    margin: 0;
}

.rp-alert-clear-sub {
    font-size: 0.74rem;
    color: #15803d;
    margin: 2px 0 0;
}

.rp-funnel-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #c2410c;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    margin-bottom: 8px;
}

.rp-funnel-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 18px 14px 14px;
}

.rp-funnel-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 16px 18px;
    border-radius: var(--rp-shopee-shell-radius-sm);
    text-align: center;
    border-left: 4px solid;
    min-height: 76px;
    transition: box-shadow 0.15s ease;
    box-shadow: var(--rp-shopee-shadow-sm);
}

.rp-funnel-stage:hover {
    box-shadow: var(--rp-shopee-shadow-md);
}

.rp-funnel-stage-1 {
    width: 100%;
    background: #fff7ed;
    border-left-color: #f97316;
}

.rp-funnel-stage-2 {
    width: 72%;
    background: #ffedd5;
    border-left-color: #ea580c;
}

.rp-funnel-stage-3 {
    width: 44%;
    background: #fed7aa;
    border-left-color: #c2410c;
}

.rp-funnel-stage-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9a3412;
    margin: 0 0 4px;
}

.rp-funnel-stage-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #7c2d12;
    margin: 0;
    line-height: 1.2;
}

.rp-funnel-stage-pct {
    font-size: 0.74rem;
    color: #c2410c;
    margin: 4px 0 0;
    font-weight: 600;
}

.rp-funnel-dropoff {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
    width: 100%;
}

.rp-funnel-dropoff-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #9ca3af;
}

.rp-funnel-dropoff-arrow svg {
    width: 18px;
    height: 18px;
    fill: #9ca3af;
}

.rp-funnel-dropoff-info {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.rp-funnel-dropoff-rate {
    font-size: 0.74rem;
    font-weight: 700;
    color: #166534;
    background: #f0fdf4;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid #bbf7d0;
}

.rp-funnel-dropoff-lost {
    font-size: 0.74rem;
    font-weight: 600;
    color: #dc2626;
    background: #fef2f2;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid #fecaca;
}

.rp-fatigue-card {
    border: 1px solid var(--rp-shopee-shell-border);
    border-radius: var(--rp-shopee-shell-radius-md);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--rp-shopee-shadow-sm);
}

.rp-fatigue-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #f3f4f6;
}

.rp-fatigue-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rp-fatigue-header-left svg {
    flex-shrink: 0;
}

.rp-fatigue-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: #1f2937;
    margin: 0;
}

.rp-fatigue-subtitle {
    font-size: 0.76rem;
    color: #6b7280;
    margin: 0;
}

.rp-fatigue-score-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.rp-fatigue-score-badge.is-healthy { background: #f0fdf4; color: #16a34a; border: 1px solid #86efac; }
.rp-fatigue-score-badge.is-warning { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.rp-fatigue-score-badge.is-critical { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

.rp-fatigue-meter {
    height: 6px;
    background: #f3f4f6;
    border-radius: 999px;
    margin: 0 18px;
    overflow: hidden;
}

.rp-fatigue-meter-fill {
    width: var(--rp-fatigue-width, 0%);
    height: 100%;
    border-radius: 999px;
    transition: width 0.3s ease;
}

.rp-fatigue-meter-fill.is-healthy { background: linear-gradient(90deg, #22c55e, #16a34a); }
.rp-fatigue-meter-fill.is-warning { background: linear-gradient(90deg, #f59e0b, #d97706); }
.rp-fatigue-meter-fill.is-critical { background: linear-gradient(90deg, #ef4444, #dc2626); }

.rp-fatigue-signals {
    padding: 0;
}

.rp-fatigue-signal {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 18px;
    border-bottom: 1px solid #f9fafb;
}

.rp-fatigue-signal:last-child {
    border-bottom: none;
}

.rp-fatigue-signal-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
}

.rp-fatigue-signal-dot.is-critical { background: #dc2626; }
.rp-fatigue-signal-dot.is-warning { background: #d97706; }

.rp-fatigue-signal-metric {
    font-weight: 700;
    font-size: 0.8rem;
    color: #374151;
    min-width: 70px;
}

.rp-fatigue-signal-value {
    font-size: 0.72rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: 5px;
}

.rp-fatigue-signal-msg {
    font-size: 0.76rem;
    color: #4b5563;
    margin: 4px 0 0;
    line-height: 1.5;
}

.rp-fatigue-clear {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rp-fatigue-clear-icon {
    color: #16a34a;
    flex-shrink: 0;
}

.rp-fatigue-clear-text {
    font-size: 0.8rem;
    color: #166534;
    font-weight: 600;
    margin: 0;
}

.rp-keyword-section {
    margin-bottom: 0;
}

.rp-keyword-section-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #f5d3b1;
    background: #fff7ed;
    color: #9a3412;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    padding: 6px 12px;
    margin-bottom: 10px;
}

.rp-keyword-health-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.rp-keyword-health-item {
    background: linear-gradient(135deg, #fff7ed 0%, #fffbf5 100%);
    border: 1px solid #fed7aa;
    border-radius: var(--rp-shopee-shell-radius-xs);
    padding: 14px 16px;
    text-align: center;
    box-shadow: var(--rp-shopee-shadow-sm);
}

.rp-keyword-health-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9a3412;
    margin: 0 0 4px;
}

.rp-keyword-health-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #7c2d12;
    margin: 0;
    line-height: 1.25;
}

.rp-keyword-health-note {
    font-size: 0.65rem;
    color: #c2410c;
    margin: 3px 0 0;
    font-weight: 500;
}

.rp-keyword-table-grid,
.rp-keyword-strategy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.rp-keyword-table-grid {
    margin-bottom: 18px;
}

.rp-keyword-table-panel,
.rp-keyword-strategy-card {
    border: 1px solid #f3dac0;
    border-radius: var(--rp-shopee-shell-radius-sm);
    overflow: hidden;
    background: #fffcf8;
    box-shadow: var(--rp-shopee-shadow-sm);
}

.rp-keyword-table-panel-head,
.rp-keyword-strategy-card-head {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    padding: 12px 16px;
    border-bottom: 1px solid #fed7aa;
}

.rp-keyword-table-panel-head h4,
.rp-keyword-neg-card-head h4,
.rp-keyword-strategy-card-head h4 {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
}

.rp-keyword-table-panel-head h4,
.rp-keyword-strategy-card-head h4 {
    color: #9a3412;
}

.rp-keyword-table-panel-head p,
.rp-keyword-neg-card-head p {
    margin: 2px 0 0;
    font-size: 0.68rem;
}

.rp-keyword-table-panel-head p {
    color: #c2410c;
}

.rp-keyword-neg-card {
    border: 1px solid #fecaca;
    border-radius: var(--rp-shopee-shell-radius-sm);
    overflow: hidden;
    background: #fffbfb;
    margin-bottom: 18px;
    box-shadow: var(--rp-shopee-shadow-sm);
}

.rp-keyword-neg-card-head {
    background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 100%);
    padding: 12px 16px;
    border-bottom: 1px solid #fecaca;
}

.rp-keyword-neg-card-head h4 {
    color: #991b1b;
}

.rp-keyword-neg-card-head p {
    color: #b91c1c;
}

.rp-keyword-strategy-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rp-keyword-strategy-card-head-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #ea580c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.rp-keyword-strategy-body {
    padding: 14px 16px;
}

.rp-keyword-strategy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rp-keyword-strategy-list li {
    position: relative;
    padding-left: 22px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #44403c;
}

.rp-keyword-strategy-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: #fed7aa;
    border: 2px solid #f97316;
}

.rp-keyword-strategy-list li strong {
    color: #9a3412;
}

.rp-keyword-bid-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.rp-keyword-bid-table th {
    background: #fff7ed;
    padding: 8px 10px;
    text-align: left;
    font-weight: 700;
    color: #9a3412;
    border-bottom: 2px solid #fed7aa;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.rp-keyword-bid-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #f5e6d8;
    color: #44403c;
    vertical-align: top;
}

.rp-keyword-bid-table tr:last-child td {
    border-bottom: none;
}

.rp-keyword-bid-table .rp-kw-match-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rp-kw-match-broad { background: #dbeafe; color: #1e40af; }
.rp-kw-match-exact { background: #dcfce7; color: #166534; }

@media (max-width: 900px) {
    .rp-keyword-table-grid,
    .rp-keyword-strategy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .rp-keyword-health-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .rp-alert-item {
        flex-direction: column;
        gap: 6px;
    }

    .rp-alert-item-level {
        align-self: flex-start;
    }

    .rp-funnel-stage-2 {
        width: 82%;
    }

    .rp-funnel-stage-3 {
        width: 60%;
    }

    .rp-funnel-stage-value {
        font-size: 1.1rem;
    }

    .rp-funnel-wrap {
        padding: 14px 8px;
    }

    .rp-fatigue-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rp-fatigue-signal {
        flex-wrap: wrap;
    }

    .rp-stake-cashflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.rp-process-stats {
    margin-top: 14px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.rp-process-stat {
    border: 1px solid #dce5f5;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 10px 11px 9px;
}

.rp-process-stat span {
    display: block;
    color: #64748b;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-process-stat strong {
    display: block;
    margin-top: 7px;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: 1.4;
    font-weight: var(--rp-fw-bold);
}

.rp-process-bar-wrap {
    margin-top: 14px;
    height: 9px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.rp-process-bar {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    transition: width 0.25s ease;
}

.rp-process-note {
    margin: 10px 0 0;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    color: #64748b;
}

@media (max-width: 640px) {
    .rp-process-stats {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.rp-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(3px);
    padding: 24px;
}

.rp-modal-backdrop.is-open {
    display: flex;
}

.rp-modal {
    width: min(1080px, 100%);
    max-height: calc(100vh - 48px);
    border: 1px solid #dbe5ff;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.24);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.rp-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border-bottom: 1px solid #e6ecfb;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.rp-modal-title {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-title);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
}

.rp-modal-subtitle {
    margin: 5px 0 0;
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
}

.rp-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #dbe5ff;
    background: #ffffff;
    color: #64748b;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.rp-modal-close:hover {
    color: #1e293b;
    background: #f8fbff;
}

.rp-modal-body {
    padding: 16px 18px 18px;
    overflow: auto;
}

.rp-confirm-modal {
    width: min(560px, 100%);
}

.rp-confirm-modal .rp-modal-body {
    padding-top: 14px;
}

.rp-confirm-modal-message {
    margin: 0;
    color: #334155;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-confirm-modal-actions {
    margin-top: 14px;
    justify-content: flex-end;
    gap: 8px;
}

.rp-confirm-modal-actions .rp-btn-primary,
.rp-confirm-modal-actions .rp-btn-secondary,
.rp-confirm-modal-actions .rp-btn-danger {
    min-width: 120px;
}

.rp-payment-provider-modal {
    width: min(900px, 100%);
}

.rp-payment-provider-modal .rp-modal-header {
    padding: 22px 24px 16px;
}

.rp-payment-provider-modal .rp-modal-body {
    padding: 18px 24px 24px;
    background:
        radial-gradient(140% 140% at 0% 0%, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0) 44%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.rp-payment-provider-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.rp-payment-provider-group-label {
    margin: 0 0 12px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (min-width: 860px) {
    .rp-payment-provider-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-payment-provider-grid.is-manual {
        grid-template-columns: minmax(0, 1fr);
    }
}

.rp-payment-provider-form {
    min-width: 0;
}

.rp-payment-provider-form [data-payment-provider-card] {
    cursor: pointer;
}

.rp-payment-provider-form:hover .rp-payment-provider-card:not(.is-disabled) {
    transform: translateY(-3px);
    box-shadow:
        0 24px 48px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.rp-payment-provider-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #dbe5ff;
    border-radius: 24px;
    background:
        radial-gradient(140% 150% at 0% 0%, rgba(148, 163, 184, 0.10) 0%, rgba(148, 163, 184, 0) 58%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 24px;
    min-height: 248px;
    display: grid;
    gap: 18px;
    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.rp-payment-provider-card::after {
    content: '';
    position: absolute;
    inset: auto -50px -70px auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    opacity: 0.15;
    pointer-events: none;
}

.rp-payment-provider-card.is-midtrans,
.rp-payment-provider-card.is-xendit {
    border-color: #cfe0ff;
    background:
        radial-gradient(140% 150% at 0% 0%, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0) 58%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.rp-payment-provider-card.is-midtrans::after,
.rp-payment-provider-card.is-xendit::after {
    background: radial-gradient(circle, rgba(96, 165, 250, 0.55) 0%, rgba(96, 165, 250, 0) 72%);
}

.rp-payment-provider-card.is-lemon {
    border-color: #c9efd1;
    background:
        radial-gradient(140% 150% at 0% 0%, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0) 58%),
        linear-gradient(180deg, #ffffff 0%, #f7fdf8 100%);
}

.rp-payment-provider-card.is-lemon::after {
    background: radial-gradient(circle, rgba(74, 222, 128, 0.50) 0%, rgba(74, 222, 128, 0) 72%);
}

.rp-payment-provider-card.is-manual {
    border-color: #f4d8a9;
    background:
        radial-gradient(140% 150% at 0% 0%, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 58%),
        linear-gradient(180deg, #fffdf8 0%, #fffaf0 100%);
}

.rp-payment-provider-card.is-manual::after {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.45) 0%, rgba(251, 191, 36, 0) 72%);
}

.rp-payment-provider-card.is-disabled {
    opacity: 0.82;
    filter: saturate(0.92);
}

.rp-payment-provider-card.is-loading {
    opacity: 0.72;
    transform: none;
}

.rp-payment-provider-modal.is-submitting .rp-modal-close {
    opacity: 0.45;
    pointer-events: none;
}

.rp-payment-provider-hero {
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
}

.rp-payment-provider-logo-shell {
    width: 100%;
    min-height: 116px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 22px;
    border-radius: 22px;
    border: 1px solid rgba(219, 229, 255, 0.9);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.rp-payment-provider-logo-shell.is-midtrans,
.rp-payment-provider-logo-shell.is-xendit {
    border-color: rgba(191, 219, 254, 0.95);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.94) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.rp-payment-provider-logo-shell.is-lemon {
    border-color: rgba(187, 247, 208, 0.95);
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.96) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.rp-payment-provider-logo-shell.is-manual {
    border-color: rgba(253, 230, 138, 0.92);
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.96) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.rp-payment-provider-logo {
    display: block;
    width: auto;
    height: 46px;
    object-fit: contain;
}

.rp-payment-provider-logo.is-midtrans,
.rp-payment-provider-logo.is-xendit {
    max-width: 170px;
}

.rp-payment-provider-logo.is-lemon {
    max-width: 310px;
}

.rp-payment-provider-manual-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f59e0b 0%, #fbbf24 100%);
    color: #fffef8;
    box-shadow: 0 10px 26px rgba(245, 158, 11, 0.28);
}

.rp-payment-provider-manual-icon svg {
    width: 28px;
    height: 28px;
}

.rp-payment-provider-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.rp-payment-provider-summary {
    display: grid;
    gap: 4px;
    justify-items: center;
    text-align: center;
}

.rp-payment-provider-title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(24px, 2vw, 30px);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
    letter-spacing: -0.03em;
}

.rp-payment-provider-copy {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
}

.rp-payment-provider-action {
    margin-top: auto;
}

.rp-payment-provider-action .rp-btn-primary,
.rp-payment-provider-action .rp-btn-secondary {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: var(--rp-text-body-sm);
}

.rp-payment-provider-loading-note {
    margin: 16px 0 0;
    color: #64748b;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
    text-align: center;
    font-weight: var(--rp-fw-semibold);
}

.rp-manual-transfer-modal {
    width: min(820px, 100%);
}

.rp-manual-transfer-hero {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.rp-manual-transfer-amount,
.rp-manual-transfer-bank {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid #e7eefc;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.rp-manual-transfer-bank {
    border-color: #f7dfb4;
    background: linear-gradient(180deg, #fffdf7 0%, #fff8eb 100%);
}

.rp-manual-transfer-kicker {
    display: block;
    margin: 0 0 8px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rp-manual-transfer-amount strong,
.rp-manual-transfer-bank strong {
    display: block;
    color: #0f172a;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.rp-manual-transfer-amount small,
.rp-manual-transfer-bank small {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
}

@media (min-width: 860px) {
    .rp-manual-transfer-hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .rp-payment-provider-card {
        padding: 20px;
        min-height: 224px;
    }

    .rp-payment-provider-logo-shell {
        min-height: 100px;
        padding: 16px;
    }

    .rp-payment-provider-logo {
        height: 40px;
    }

    .rp-payment-provider-logo.is-midtrans,
    .rp-payment-provider-logo.is-xendit {
        max-width: 150px;
    }

    .rp-payment-provider-logo.is-lemon {
        max-width: 250px;
    }
}

.rp-payment-provider-modal {
    width: min(1120px, 100%);
}

.rp-payment-provider-modal .rp-modal-header {
    padding: 24px 30px 16px;
    align-items: flex-start;
}

.rp-payment-provider-modal .rp-modal-body {
    padding: 10px 30px 30px;
}

.rp-payment-provider-modal .rp-modal-title {
    font-size: clamp(26px, 2.3vw, 34px);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.rp-payment-provider-modal .rp-modal-subtitle {
    margin-top: 6px;
    color: #64748b;
    font-size: 14px;
}

.rp-payment-provider-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.rp-payment-provider-form {
    margin: 0;
    min-width: 0;
}

.rp-payment-provider-card {
    min-height: 292px;
    padding: 20px;
    gap: 18px;
    border-radius: 26px;
    border-width: 1px;
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.rp-payment-provider-card::after {
    inset: auto -24px -34px auto;
    width: 128px;
    height: 128px;
    opacity: 0.1;
}

.rp-payment-provider-card.is-midtrans,
.rp-payment-provider-card.is-xendit {
    border-color: #dbe8ff;
    background:
        radial-gradient(140% 140% at 0% 0%, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0) 54%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.rp-payment-provider-card.is-lemon {
    border-color: #d2f0d8;
    background:
        radial-gradient(140% 140% at 0% 0%, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0) 54%),
        linear-gradient(180deg, #ffffff 0%, #f8fdf8 100%);
}

.rp-payment-provider-card.is-manual {
    border-color: #f2ddb5;
    background:
        radial-gradient(140% 140% at 0% 0%, rgba(245, 158, 11, 0.10) 0%, rgba(245, 158, 11, 0) 54%),
        linear-gradient(180deg, #fffdf8 0%, #fff9ef 100%);
}

.rp-payment-provider-card:not(.is-disabled)[role="button"]:hover,
.rp-payment-provider-card:not(.is-disabled)[role="button"]:focus-visible {
    transform: translateY(-2px);
    box-shadow:
        0 22px 52px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.rp-payment-provider-card.is-disabled {
    opacity: 1;
    filter: none;
    background:
        linear-gradient(180deg, #fbfdff 0%, #f8fbff 100%);
    border-color: #e4ebf7;
}

.rp-payment-provider-card.is-disabled::after {
    opacity: 0;
}

.rp-payment-provider-hero {
    justify-items: center;
    align-content: start;
    gap: 12px;
    text-align: center;
}

.rp-payment-provider-kicker {
    display: inline-block;
    width: fit-content;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #7c8aa3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rp-payment-provider-logo-shell {
    min-height: 126px;
    padding: 20px 24px;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 22px;
    border-color: rgba(223, 232, 246, 0.9);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.94) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 10px 24px rgba(148, 163, 184, 0.06);
}

.rp-payment-provider-logo-shell.is-midtrans,
.rp-payment-provider-logo-shell.is-xendit {
    border-color: rgba(191, 219, 254, 0.92);
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(240, 247, 255, 0.96) 100%);
}

.rp-payment-provider-logo-shell.is-lemon {
    border-color: rgba(187, 247, 208, 0.92);
    background:
        linear-gradient(180deg, rgba(250, 255, 251, 0.98) 0%, rgba(241, 252, 244, 0.96) 100%);
}

.rp-payment-provider-logo-shell.is-manual {
    border-color: rgba(253, 230, 138, 0.92);
    background:
        linear-gradient(180deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 248, 234, 0.96) 100%);
}

.rp-payment-provider-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.rp-payment-provider-logo.is-midtrans,
.rp-payment-provider-logo.is-xendit {
    max-width: 188px;
}

.rp-payment-provider-logo.is-lemon {
    max-width: 244px;
}

.rp-payment-provider-logo.is-bank {
    max-width: 230px;
}

.rp-payment-provider-manual-icon {
    width: 66px;
    height: 66px;
    border-radius: 22px;
    box-shadow: 0 14px 28px rgba(245, 158, 11, 0.2);
}

.rp-payment-provider-manual-icon svg {
    width: 30px;
    height: 30px;
}

.rp-payment-provider-badges,
.rp-payment-provider-group-label {
    display: none;
}

.rp-payment-provider-summary {
    gap: 6px;
    justify-items: center;
    text-align: center;
}

.rp-payment-provider-name {
    margin: 0;
    color: #0f172a;
    font-size: clamp(24px, 2vw, 30px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.rp-payment-provider-copy {
    margin: 0;
    max-width: 24ch;
    color: #6b7a90;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

.rp-payment-provider-card.is-disabled .rp-payment-provider-kicker,
.rp-payment-provider-card.is-disabled .rp-payment-provider-name,
.rp-payment-provider-card.is-disabled .rp-payment-provider-copy {
    color: #94a3b8;
}

.rp-payment-provider-card.is-disabled .rp-payment-provider-logo-shell {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
    filter: saturate(0.9);
}

.rp-payment-provider-action {
    margin-top: auto;
}

.rp-payment-provider-action .rp-btn-primary,
.rp-payment-provider-action .rp-btn-secondary {
    min-height: 50px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.rp-payment-provider-action .rp-btn-secondary:not([disabled]) {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #dbe7fb;
    color: #0f172a;
}

.rp-payment-provider-action .rp-btn-secondary[disabled] {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #e5ebf5;
    color: #94a3b8;
    opacity: 1;
}

@media (min-width: 860px) {
    .rp-payment-provider-shell {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .rp-payment-provider-modal .rp-modal-header {
        padding: 20px 20px 12px;
    }

    .rp-payment-provider-modal .rp-modal-body {
        padding: 10px 20px 20px;
    }

    .rp-payment-provider-card {
        min-height: 274px;
        padding: 18px;
    }

    .rp-payment-provider-logo-shell {
        min-height: 118px;
        padding: 18px 20px;
    }
}

@media (max-width: 640px) {
    .rp-payment-provider-modal .rp-modal-title {
        font-size: 24px;
    }

    .rp-payment-provider-modal .rp-modal-subtitle {
        font-size: 14px;
    }

    .rp-payment-provider-card {
        min-height: 246px;
        padding: 18px;
        border-radius: 22px;
    }

    .rp-payment-provider-kicker {
        font-size: 10px;
    }

    .rp-payment-provider-logo-shell {
        min-height: 108px;
        padding: 16px 18px;
        border-radius: 20px;
    }

    .rp-payment-provider-logo {
        height: 42px;
    }

    .rp-payment-provider-logo.is-midtrans,
    .rp-payment-provider-logo.is-xendit {
        max-width: 160px;
    }

    .rp-payment-provider-logo.is-lemon {
        max-width: 210px;
    }

    .rp-payment-provider-logo.is-bank {
        max-width: 198px;
    }

    .rp-payment-provider-name {
        font-size: 24px;
    }

    .rp-payment-provider-copy {
        max-width: none;
        font-size: 14px;
    }

    .rp-payment-provider-action .rp-btn-primary,
    .rp-payment-provider-action .rp-btn-secondary {
        min-height: 48px;
    }
}

.rp-coupon-trace-modal {
    width: min(980px, 100%);
}

.rp-coupon-trace-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #dbe5ff;
    border-radius: 14px;
    background: linear-gradient(145deg, #f8fbff 0%, #f1f5ff 100%);
}

.rp-coupon-trace-kicker {
    margin: 0;
    color: #64748b;
    font-size: 11px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 700;
}

.rp-coupon-trace-code {
    margin: 6px 0 0;
    color: #0f172a;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.rp-coupon-trace-highlights {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.rp-coupon-trace-stat {
    border: 1px solid #dde7fb;
    border-radius: 12px;
    background: #f8fbff;
    padding: 12px 14px;
}

.rp-coupon-trace-stat-label {
    margin: 0;
    color: #64748b;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.rp-coupon-trace-stat-value {
    margin: 6px 0 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
}

.rp-coupon-trace-table-wrap {
    margin-top: 12px;
    border: 1px solid #dde7fb;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.rp-coupon-trace-table {
    width: 100%;
    border-collapse: collapse;
}

.rp-coupon-trace-table th,
.rp-coupon-trace-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e8eefc;
    text-align: left;
    vertical-align: top;
}

.rp-coupon-trace-table tr:last-child th,
.rp-coupon-trace-table tr:last-child td {
    border-bottom: 0;
}

.rp-coupon-trace-table th {
    width: 16%;
    color: #64748b;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    background: #f8fbff;
}

.rp-coupon-trace-table td {
    width: 34%;
    color: #0f172a;
    font-size: var(--rp-text-body);
    font-weight: 600;
}

.rp-coupon-trace-note {
    margin-top: 12px;
    border-radius: 12px;
    border: 1px solid #dbeafe;
    background: #f8fbff;
    padding: 12px 14px;
}

.rp-coupon-trace-note-label {
    margin: 0;
    color: #64748b;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.rp-coupon-trace-note-body {
    margin: 8px 0 0;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
    font-weight: 600;
}

.rp-share-form-grid {
    align-items: end;
}

.rp-share-generate-wrap {
    display: flex;
    align-items: flex-end;
}

.rp-share-new-link {
    margin-top: 14px;
}

.rp-share-url-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rp-share-url-input {
    width: 100%;
    min-width: 220px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

.rp-share-table-wrap {
    margin-top: 14px;
    border: 1px solid #e4ebfb;
    border-radius: 12px;
    overflow: auto;
}

.rp-share-table-wrap table.min-w-full {
    min-width: 980px;
}

@media (max-width: 860px) {
    .rp-modal-backdrop {
        padding: 14px;
    }

    .rp-modal {
        max-height: calc(100vh - 28px);
        border-radius: 14px;
    }

    .rp-modal-header,
    .rp-modal-body {
        padding-left: 12px;
        padding-right: 12px;
    }

    .rp-share-url-row {
        flex-wrap: wrap;
    }

    .rp-share-url-row .rp-btn-secondary.small {
        flex: 1 1 calc(50% - 4px);
    }

    .rp-coupon-trace-code {
        font-size: 25px;
    }

    .rp-coupon-trace-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-coupon-trace-table th,
    .rp-coupon-trace-table td {
        display: block;
        width: 100%;
    }

    .rp-coupon-trace-table td {
        padding-top: 8px;
    }
}

.rp-tabs {
    display: inline-flex;
    border: 1px solid var(--rp-border);
    background: #fff;
    border-radius: 12px;
    padding: 4px;
    gap: 3px;
}

.rp-tab-btn {
    border: 0;
    border-radius: 9px;
    padding: 8px 14px;
    min-height: 38px;
    font-size: var(--rp-text-body-sm);
    font-weight: var(--rp-fw-semibold);
    color: #475569;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.rp-tab-btn.active {
    color: #fff;
    background: var(--rp-primary);
}

.rp-tab-btn.is-locked {
    background: #f8fafc;
    color: #94a3b8;
    cursor: not-allowed;
}

.rp-tab-btn.is-locked .rp-tab-btn-label {
    opacity: 0.35;
}

.rp-tab-btn.is-locked::after {
    content: "\1F512";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 14px;
    line-height: 1;
    color: #64748b;
    pointer-events: none;
}

.rp-divider {
    border: 0;
    border-top: 1px solid var(--rp-border);
    margin: 2px 0;
}

.rp-list {
    margin: 10px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 4px;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
    color: #334155;
}

.rp-auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--rp-font-family-sans);
    line-height: var(--rp-lh-body);
    background: #f2f6ff;
}

.rp-auth-shell {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}

.rp-auth-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(50px);
    opacity: 0.33;
}

.rp-auth-orb.orb-1 {
    width: 360px;
    height: 360px;
    background: #93c5fd;
    top: -100px;
    right: -80px;
}

.rp-auth-orb.orb-2 {
    width: 320px;
    height: 320px;
    background: #c4b5fd;
    bottom: -90px;
    left: -70px;
}

.rp-auth-main {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 520px;
}

.rp-auth-card {
    border: 1px solid #d8e3ff;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(30, 41, 59, 0.12);
    padding: 30px 28px;
}

.rp-auth-center {
    text-align: center;
}

.rp-auth-logo {
    width: min(220px, 60%);
    max-height: 170px;
    height: auto;
    margin: 0 auto 10px;
    object-fit: contain;
    object-position: center;
    transform: none;
    display: block;
}

.rp-auth-title {
    margin: 0;
    font-size: var(--rp-text-h1);
    font-weight: var(--rp-fw-bold);
    line-height: var(--rp-lh-tight);
    letter-spacing: -0.02em;
}

.rp-auth-title-raven {
    color: #0f172a;
}

.rp-auth-title-pulse {
    color: #1d4ed8;
}

.rp-auth-subtitle {
    margin: 6px 0 0;
    font-size: var(--rp-text-subtitle);
    line-height: var(--rp-lh-compact);
    color: #475569;
}

.rp-auth-tagline {
    margin: 8px 0 0;
    font-size: var(--rp-text-caption);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #2563eb;
    font-weight: var(--rp-fw-bold);
}

.rp-auth-form {
    margin-top: 20px;
    display: grid;
    gap: 15px;
}

.rp-auth-form .rp-label {
    margin-bottom: 7px;
    font-size: var(--rp-text-body-sm);
    font-weight: var(--rp-fw-semibold);
    color: #334155;
}

.rp-auth-form input[type='text'],
.rp-auth-form input[type='email'],
.rp-auth-form input[type='password'],
.rp-auth-form select {
    width: 100%;
    min-height: 48px;
    font-size: var(--rp-text-body) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
}

.rp-auth-form input::placeholder {
    color: #94a3b8;
}

.rp-auth-note {
    margin-top: 6px;
    font-size: var(--rp-text-caption-xs);
    font-style: italic;
    line-height: 1.45;
}

.rp-auth-actions {
    margin-top: 2px;
}

.rp-auth-forgot-link {
    margin: -2px 0 0;
    text-align: right;
}

.rp-auth-forgot-link a {
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    color: #1d4ed8;
    font-weight: var(--rp-fw-semibold);
    text-decoration: none;
}

.rp-auth-forgot-link a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .rp-auth-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .rp-auth-logo {
        width: min(190px, 66%);
        max-height: 150px;
    }

    .rp-auth-title {
        font-size: var(--rp-text-h1);
    }
}

.rp-print-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 18px 28px;
}

.rp-invoice-sheet {
    border: 1px solid #dbe4ff;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    padding: 28px;
    display: grid;
    gap: 18px;
}

.rp-invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.rp-invoice-header h1 {
    margin: 0;
    font-size: 26px;
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: #0b1437;
    font-weight: 800;
}

.rp-invoice-eyebrow {
    margin: 0 0 6px;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-weight: var(--rp-fw-bold);
}

.rp-invoice-subline {
    margin: 8px 0 0;
    color: #64748b;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
}

.rp-invoice-status-wrap {
    text-align: right;
    display: grid;
    gap: 4px;
    justify-items: end;
}

.rp-invoice-status-wrap p {
    margin: 0;
    color: #334155;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
}

.rp-invoice-status-wrap strong {
    color: #0f172a;
}

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

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

.rp-invoice-block {
    border: 1px solid #dbe4f5;
    border-radius: 12px;
    background: #f8fbff;
    padding: 14px;
}

.rp-invoice-block h3 {
    margin: 0 0 10px;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-weight: var(--rp-fw-bold);
}

.rp-invoice-block p {
    margin: 0;
    color: #334155;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-invoice-block p + p {
    margin-top: 4px;
}

.rp-invoice-block-title {
    font-size: var(--rp-text-title) !important;
    line-height: var(--rp-lh-tight) !important;
    color: #0f172a !important;
    font-weight: var(--rp-fw-bold);
    margin-bottom: 2px !important;
}

.rp-invoice-line-items {
    background: #ffffff;
}

.rp-invoice-table thead th {
    background: #f1f5ff !important;
}

.rp-invoice-total-wrap {
    margin-left: auto;
    width: min(100%, 360px);
    border: 1px solid #dbe4f5;
    border-radius: 12px;
    background: #f8fbff;
    padding: 12px;
    display: grid;
    gap: 8px;
}

.rp-invoice-total-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #334155;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
}

.rp-invoice-total-line strong {
    color: #0f172a;
}

.rp-invoice-total-line.is-grand {
    border-top: 1px dashed #cbd5e1;
    padding-top: 8px;
    font-size: var(--rp-text-body);
}

.rp-invoice-total-line.is-grand strong {
    font-size: var(--rp-text-title);
}

.rp-invoice-footer {
    border-top: 1px dashed #cbd5e1;
    padding-top: 12px;
}

.rp-invoice-footer p {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
}

.rp-invoice-footer p + p {
    margin-top: 4px;
}

.rp-invoice-actions {
    margin-top: 12px;
}

@media (max-width: 980px) {
    .rp-invoice-sheet {
        padding: 18px;
    }

    .rp-invoice-header {
        flex-direction: column;
    }

    .rp-invoice-status-wrap {
        justify-items: start;
        text-align: left;
    }

    .rp-invoice-grid,
    .rp-invoice-grid.rp-invoice-grid-meta {
        grid-template-columns: 1fr;
    }

    .rp-invoice-total-wrap {
        width: 100%;
    }
}

@media print {
    .rp-print-wrap {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    body.rp-auth-body {
        background: #ffffff !important;
    }

    .rp-invoice-sheet {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 10px 12px 6px;
        gap: 8px;
        transform: scale(0.90);
        transform-origin: top left;
        width: 111.12%;
    }

    .rp-invoice-header {
        gap: 8px;
        padding-bottom: 6px;
    }

    .rp-invoice-header h1 {
        font-size: 20px;
    }

    .rp-invoice-eyebrow {
        margin-bottom: 2px;
    }

    .rp-invoice-subline {
        margin-top: 2px;
        font-size: 11px;
    }

    .rp-invoice-grid {
        gap: 8px;
    }

    .rp-invoice-block {
        padding: 7px 8px;
    }

    .rp-invoice-block h3 {
        margin-bottom: 6px;
        font-size: 11px;
    }

    .rp-invoice-block p {
        font-size: 11px;
        line-height: 1.3;
    }

    .rp-invoice-block-title {
        font-size: 14px !important;
    }

    .rp-invoice-line-items table th,
    .rp-invoice-line-items table td {
        padding-top: 6px;
        padding-bottom: 6px;
        font-size: 11px;
    }

    .rp-invoice-total-wrap {
        width: 280px;
        padding: 6px 8px;
        gap: 4px;
    }

    .rp-invoice-total-line {
        font-size: 11px;
    }

    .rp-invoice-total-line.is-grand strong {
        font-size: 14px;
    }

    .rp-invoice-footer {
        padding-top: 6px;
    }

    .rp-invoice-footer p {
        font-size: 10px;
    }
}

.rp-report {
    gap: 20px;
    --rp-report-body-size: var(--rp-text-body);
    --rp-report-body-line: var(--rp-lh-body);
    --rp-report-heading-size: var(--rp-text-h3);
    --rp-report-subheading-size: var(--rp-text-caption);
    --rp-report-accent-rgb: 37, 99, 235;
    --rp-report-accent: #2563eb;
    --rp-report-accent-strong: #1d4ed8;
    --rp-report-accent-soft: #eff6ff;
    --rp-report-accent-soft-strong: #dbeafe;
    --rp-report-accent-text: #1d4ed8;
    --rp-report-accent-shadow: rgba(37, 99, 235, 0.18);
    font-family: var(--rp-font-family-sans);
}

.rp-report button,
.rp-report input,
.rp-report select,
.rp-report textarea {
    font-family: inherit;
}

.rp-report-theme-shopee {
    --rp-report-accent-rgb: 249, 115, 22;
    --rp-report-accent: #f97316;
    --rp-report-accent-strong: #ea580c;
    --rp-report-accent-soft: #fff7ed;
    --rp-report-accent-soft-strong: #fed7aa;
    --rp-report-accent-text: #c2410c;
    --rp-report-accent-shadow: rgba(249, 115, 22, 0.18);
}

.rp-report-theme-meta {
    --rp-report-accent-rgb: 37, 99, 235;
    --rp-report-accent: #2563eb;
    --rp-report-accent-strong: #1d4ed8;
    --rp-report-accent-soft: #eff6ff;
    --rp-report-accent-soft-strong: #dbeafe;
    --rp-report-accent-text: #1d4ed8;
    --rp-report-accent-shadow: rgba(37, 99, 235, 0.18);
}

.rp-report-mode-wrap {
    align-items: center;
    gap: 12px;
}

.rp-report-mode-tabs {
    flex: 0 0 auto;
}

.rp-report .rp-tabs {
    border-color: rgba(var(--rp-report-accent-rgb), 0.14);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.rp-report .rp-tab-btn {
    transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

@media (max-width: 820px) {
    .rp-report .rp-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: 100%;
        overflow: visible;
        gap: 6px;
        padding: 4px;
    }

    .rp-report .rp-tab-btn:last-child {
        grid-column: 1 / -1;
    }

    .rp-report .rp-tab-btn {
        width: 100%;
        min-height: 42px;
        padding: 9px 10px;
        font-size: 12.5px;
        line-height: 1.35;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }
}

.rp-report .rp-tab-btn:hover:not(.active):not(.is-locked) {
    color: var(--rp-report-accent-text);
    background: rgba(var(--rp-report-accent-rgb), 0.08);
}

.rp-report .rp-tab-btn:focus-visible {
    outline: 2px solid rgba(var(--rp-report-accent-rgb), 0.18);
    outline-offset: 2px;
}

.rp-report .rp-tab-btn.active {
    background: linear-gradient(135deg, var(--rp-report-accent) 0%, var(--rp-report-accent-strong) 100%);
    box-shadow: 0 12px 24px var(--rp-report-accent-shadow);
}

.rp-report-mode-note {
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-semibold);
}

.rp-report-tab-panel {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.rp-report-tab-panel.is-active {
    display: flex;
}

.rp-summary-slide {
    background:
        radial-gradient(120% 140% at 0% 0%, #eef2ff 0%, #ffffff 46%),
        #ffffff;
}

.rp-executive-slide {
    background:
        radial-gradient(120% 145% at 0% 0%, #eaf1ff 0%, #ffffff 48%),
        radial-gradient(90% 120% at 100% 100%, #f0f9ff 0%, rgba(255, 255, 255, 0) 72%),
        #ffffff;
    overflow: hidden;
    padding: clamp(24px, 2.6vw, 34px);
    border-radius: 32px;
    box-shadow: 0 26px 52px rgba(15, 23, 42, 0.08);
}

.rp-executive-slide .rp-summary-bullet-wrap {
    border-color: #d7e5ff;
    background: #f5f9ff;
}

.rp-executive-slide > .rp-card-header {
    padding: 0 0 22px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.rp-executive-layout {
    margin-top: 28px;
    display: grid;
    gap: 28px;
}

.rp-executive-hero {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 1120px) {
    .rp-executive-hero {
        grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
        align-items: stretch;
    }
}

.rp-executive-hero-main {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.18);
    border-radius: 30px;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(var(--rp-report-accent-rgb), 0.12) 0%, rgba(255, 255, 255, 0.96) 46%),
        linear-gradient(160deg, #ffffff 0%, #fffaf5 100%);
    padding: clamp(24px, 3vw, 34px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
    min-height: 100%;
}

.rp-executive-hero-main::after {
    content: "";
    position: absolute;
    top: -88px;
    right: -56px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--rp-report-accent-rgb), 0.14) 0%, rgba(var(--rp-report-accent-rgb), 0) 74%);
    pointer-events: none;
}

.rp-executive-hero-kicker {
    margin: 0;
    color: var(--rp-report-accent-strong);
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-hero-title {
    position: relative;
    z-index: 1;
    margin: 14px 0 0;
    color: #0f172a;
    font-size: clamp(34px, 3.2vw, 46px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: var(--rp-fw-bold);
    max-width: 10ch;
}

.rp-executive-hero-copy {
    position: relative;
    z-index: 1;
    margin: 16px 0 0;
    max-width: 56ch;
    color: #334155;
    font-size: 16px;
    line-height: 1.82;
}

.rp-executive-hero-copy .rp-prose-number-strong {
    color: #0f172a;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-hero-note {
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    max-width: 56ch;
    color: #475569;
    font-size: var(--rp-text-body-sm);
    line-height: 1.7;
    font-weight: var(--rp-fw-semibold);
}

.rp-executive-hero-metrics {
    position: relative;
    z-index: 1;
    margin-top: 22px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 760px) {
    .rp-executive-hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-executive-hero-metric {
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 16px 18px 15px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.rp-executive-hero-metric span {
    display: block;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-hero-metric strong {
    display: block;
    margin-top: 9px;
    color: #0f172a;
    font-size: clamp(26px, 2vw, 32px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-hero-metric em {
    display: block;
    margin-top: 8px;
    color: #475569;
    font-style: normal;
    font-size: var(--rp-text-caption);
    line-height: 1.6;
}

.rp-executive-hero-side {
    display: grid;
    gap: 18px;
    align-content: stretch;
}

.rp-executive-brief-card {
    border: 1px solid #e6edf8;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 24px 24px 22px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
}

.rp-executive-brief-card.is-insight {
    background: linear-gradient(160deg, #0f172a 0%, #172033 100%);
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.18);
}

.rp-executive-brief-label {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-brief-card.is-insight .rp-executive-brief-label {
    color: rgba(241, 245, 249, 0.72);
}

.rp-executive-brief-status {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 18px;
    border-radius: 18px;
    font-size: var(--rp-text-title);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: var(--rp-fw-bold);
    color: #0f172a;
    background: rgba(var(--rp-report-accent-rgb), 0.09);
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.18);
}

.rp-executive-brief-status.tone-scale {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.18);
    color: #166534;
}

.rp-executive-brief-status.tone-maintain {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.16);
    color: #1d4ed8;
}

.rp-executive-brief-status.tone-fix {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.18);
    color: #b45309;
}

.rp-executive-brief-status.tone-stop {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.18);
    color: #b91c1c;
}

.rp-executive-brief-meta {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rp-executive-brief-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid #dce5f5;
    background: #f8fbff;
    color: #334155;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-semibold);
}

.rp-executive-brief-points {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.rp-executive-brief-point {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.56) 0%, rgba(15, 23, 42, 0.42) 100%);
    padding: 16px 17px 15px;
}

.rp-executive-brief-point-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 34px;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.1em;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-brief-point p {
    margin: 0;
    color: rgba(241, 245, 249, 0.94);
    font-size: var(--rp-text-body-sm);
    line-height: 1.72;
}

.rp-executive-brief-point .rp-prose-metric-term {
    color: #f8fafc;
}

.rp-executive-brief-point .rp-prose-metric-value {
    display: inline-block;
    white-space: nowrap;
    margin: 0 2px;
    padding: 0 7px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-owner-brief {
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.16);
    border-radius: 30px;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(var(--rp-report-accent-rgb), 0.1) 0%, rgba(255, 255, 255, 0.98) 46%),
        linear-gradient(160deg, #ffffff 0%, #fffaf5 100%);
    padding: clamp(24px, 3vw, 32px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.07);
    display: grid;
    gap: 22px;
}

@media (min-width: 1120px) {
    .rp-executive-owner-brief {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: start;
    }
}

.rp-executive-owner-kicker {
    margin: 0;
    color: var(--rp-report-accent-strong);
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-owner-title {
    margin: 14px 0 0;
    color: #0f172a;
    font-size: clamp(30px, 2.8vw, 40px);
    line-height: 1.06;
    letter-spacing: -0.04em;
    font-weight: var(--rp-fw-bold);
    max-width: 14ch;
}

.rp-executive-owner-copy {
    margin: 16px 0 0;
    max-width: 58ch;
    color: #334155;
    font-size: 16px;
    line-height: 1.82;
}

.rp-executive-owner-copy .rp-prose-number-strong {
    color: #0f172a;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-owner-signal-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 760px) {
    .rp-executive-owner-signal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.rp-executive-owner-signal-card {
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    padding: 18px 18px 17px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.rp-executive-owner-signal-label {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-owner-signal-title {
    margin: 12px 0 0;
    color: #0f172a;
    font-size: clamp(19px, 1.4vw, 24px);
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-owner-signal-note {
    margin: 10px 0 0;
    color: #475569;
    font-size: var(--rp-text-body-sm);
    line-height: 1.72;
}

.rp-executive-owner-signal-note .rp-prose-number-strong {
    color: #0f172a;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-owner-ai-card {
    padding: 0;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.12);
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(var(--rp-report-accent-rgb), 0.06) 0%, rgba(255, 255, 255, 0.98) 50%),
        linear-gradient(180deg, #ffffff 0%, #fffcf8 100%);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.05);
}

.rp-executive-owner-ai-card .rp-card-header {
    padding: 24px 24px 16px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.rp-executive-owner-ai-list {
    list-style: none;
    margin: 0;
    padding: 18px 20px 20px;
    display: grid;
    gap: 12px;
}

@media (min-width: 1120px) {
    .rp-executive-owner-ai-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.rp-executive-owner-ai-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    padding: 15px 16px;
    min-height: 100%;
}

.rp-executive-owner-ai-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(var(--rp-report-accent-rgb), 0.12);
    color: var(--rp-report-accent-strong);
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.08em;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-owner-ai-item p {
    margin: 0;
    color: #334155;
    font-size: var(--rp-text-body-sm);
    line-height: 1.72;
}

.rp-executive-owner-ai-item .rp-prose-number-strong {
    color: #0f172a;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-manager-ai-card {
    margin-top: 16px;
}

.rp-executive-owner-matrix {
    padding: 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.06);
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(37, 99, 235, 0.04) 0%, rgba(255, 255, 255, 0.98) 46%),
        #ffffff;
}

.rp-executive-owner-matrix .rp-card-header {
    padding: 30px 30px 18px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.rp-executive-decision-grid {
    padding: 22px 24px 26px;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 980px) {
    .rp-executive-decision-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-executive-decision-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #e5edf7;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    padding: 22px 22px 20px;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.05);
}

.rp-executive-decision-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: #cbd5e1;
}

.rp-executive-decision-card.tone-scale {
    background: linear-gradient(180deg, #ffffff 0%, #f2fbf6 100%);
    border-color: rgba(16, 185, 129, 0.18);
}

.rp-executive-decision-card.tone-scale::before {
    background: #10b981;
}

.rp-executive-decision-card.tone-maintain {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border-color: rgba(37, 99, 235, 0.16);
}

.rp-executive-decision-card.tone-maintain::before {
    background: #2563eb;
}

.rp-executive-decision-card.tone-fix {
    background: linear-gradient(180deg, #ffffff 0%, #fff9ef 100%);
    border-color: rgba(245, 158, 11, 0.18);
}

.rp-executive-decision-card.tone-fix::before {
    background: #f59e0b;
}

.rp-executive-decision-card.tone-pause,
.rp-executive-decision-card.tone-stop {
    background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
    border-color: rgba(239, 68, 68, 0.18);
}

.rp-executive-decision-card.tone-pause::before,
.rp-executive-decision-card.tone-stop::before {
    background: #ef4444;
}

.rp-executive-decision-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.rp-executive-decision-card-title {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: 1.45;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-decision-card-count {
    margin: 12px 0 0;
    color: #0f172a;
    font-size: clamp(24px, 1.8vw, 32px);
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-decision-card-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.7);
    color: #334155;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
}

.rp-executive-decision-card-summary {
    margin: 14px 0 0;
    color: #334155;
    font-size: var(--rp-text-body-sm);
    line-height: 1.78;
    font-weight: var(--rp-fw-medium);
}

.rp-executive-decision-card-examples {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.rp-executive-decision-card-examples-label {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: 1.45;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-decision-card-examples-note {
    margin: 8px 0 0;
    color: #64748b;
    font-size: var(--rp-text-caption-sm);
    line-height: 1.6;
    max-width: 56ch;
}

.rp-executive-decision-chart-list {
    margin-top: 12px;
    display: grid;
    gap: 12px;
}

.rp-executive-decision-chart-row {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    padding: 14px 14px 12px;
}

.rp-executive-decision-chart-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.rp-executive-decision-chart-copy {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.rp-executive-decision-chart-title {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: 1.58;
    font-weight: var(--rp-fw-bold);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rp-executive-decision-chart-detail {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: 1.6;
}

.rp-executive-decision-chart-metric {
    flex-shrink: 0;
    min-width: 132px;
    text-align: right;
    display: grid;
    gap: 3px;
}

.rp-executive-decision-chart-metric-label {
    color: #64748b;
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-decision-chart-metric-value {
    color: #0f172a;
    font-size: var(--rp-text-body);
    line-height: 1.3;
    font-weight: var(--rp-fw-bold);
}

.rp-executive-decision-chart-track {
    margin-top: 12px;
    height: 10px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.9);
    overflow: hidden;
}

.rp-executive-decision-chart-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #94a3b8 0%, #cbd5e1 100%);
}

.rp-executive-decision-card.tone-scale .rp-executive-decision-chart-fill {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

.rp-executive-decision-card.tone-maintain .rp-executive-decision-chart-fill {
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
}

.rp-executive-decision-card.tone-fix .rp-executive-decision-chart-fill {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}

.rp-executive-decision-card.tone-pause .rp-executive-decision-chart-fill,
.rp-executive-decision-card.tone-stop .rp-executive-decision-chart-fill {
    background: linear-gradient(90deg, #ef4444 0%, #fb7185 100%);
}

.rp-executive-decision-chart-secondary {
    margin: 9px 0 0;
    color: #475569;
    font-size: var(--rp-text-caption);
    line-height: 1.65;
}

@media (max-width: 767px) {
    .rp-executive-decision-chart-head {
        flex-direction: column;
    }

    .rp-executive-decision-chart-metric {
        min-width: 0;
        width: 100%;
        text-align: left;
    }
}

.rp-executive-decision-card-empty {
    margin: 12px 0 0;
    color: #64748b;
    font-size: var(--rp-text-body-sm);
    line-height: 1.7;
}

.rp-summary-bullet-wrap {
    margin-top: 18px;
    border: 1px solid #e6edf9;
    border-radius: 22px;
    padding: 20px 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.05);
}

.rp-summary-bullet-title {
    margin: 0;
    color: #475569;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-bullet-list {
    margin: 10px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 7px;
    color: #1e293b;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-summary-bullet-grid {
    margin-top: 16px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    align-items: start;
}

@media (min-width: 980px) {
    .rp-summary-bullet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-summary-bullet-item {
    border: 1px solid #e8eefb;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    padding: 18px 18px 16px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.04);
}

.rp-summary-bullet-item .rp-summary-bullet-card-title {
    margin: 12px 0 0;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.45;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-bullet-item .rp-summary-bullet-prose {
    margin: 8px 0 0;
    font-size: var(--rp-text-body-sm);
    line-height: 1.78;
    color: #1e293b;
    font-weight: var(--rp-fw-semibold);
}

.rp-summary-bullet-prose-mobile {
    display: none;
}

.rp-summary-bullet-stats {
    margin-top: 14px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rp-summary-bullet-stat {
    border: 1px solid #e5edf8;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 10px 11px 9px;
}

.rp-summary-bullet-stat span {
    display: block;
    color: #64748b;
    font-size: 10px;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-bullet-stat strong {
    display: block;
    margin-top: 7px;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.35;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-bullet-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.16);
    background: rgba(var(--rp-report-accent-rgb), 0.08);
    color: var(--rp-report-accent-text);
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    padding: 4px 8px;
}

.rp-summary-manager-hero {
    display: grid;
    gap: 22px;
}

.rp-summary-manager-hero-main {
    max-width: min(100%, 86ch);
}

.rp-summary-manager-hero-main .rp-card-subtitle {
    max-width: 58ch;
}

.rp-summary-manager-kicker {
    margin: 0 0 8px;
    color: var(--rp-report-accent-text);
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-manager-headline {
    margin: 16px 0 0;
    max-width: 34ch;
    color: #0f172a;
    font-size: clamp(24px, 2.35vw, 34px);
    line-height: 1.16;
    letter-spacing: -0.03em;
    font-weight: var(--rp-fw-bold);
    text-wrap: balance;
}

.rp-summary-meta-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 860px) {
    .rp-summary-meta-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.rp-summary-meta-chip {
    border: 1px solid #e8eefb;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    padding: 15px 15px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    min-height: 100%;
}

.rp-summary-meta-chip span {
    display: block;
    margin: 0;
    color: #64748b;
    font-size: 10px;
    line-height: 1.25;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-meta-chip strong {
    display: block;
    margin-top: 9px;
    color: #0f172a;
    font-size: 15.5px;
    line-height: 1.45;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-meta-chip.is-scale {
    border-color: rgba(16, 185, 129, 0.2);
    background: linear-gradient(180deg, #ffffff 0%, #f2fbf6 100%);
}

.rp-summary-meta-chip.is-scale span,
.rp-summary-meta-chip.is-scale strong {
    color: #047857;
}

.rp-summary-meta-chip.is-maintain {
    border-color: rgba(37, 99, 235, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.rp-summary-meta-chip.is-maintain span,
.rp-summary-meta-chip.is-maintain strong {
    color: #1d4ed8;
}

.rp-summary-meta-chip.is-fix {
    border-color: rgba(245, 158, 11, 0.2);
    background: linear-gradient(180deg, #ffffff 0%, #fff8ee 100%);
}

.rp-summary-meta-chip.is-fix span,
.rp-summary-meta-chip.is-fix strong {
    color: #b45309;
}

.rp-summary-meta-chip.is-stop {
    border-color: rgba(239, 68, 68, 0.2);
    background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
}

.rp-summary-meta-chip.is-stop span,
.rp-summary-meta-chip.is-stop strong {
    color: #b91c1c;
}

.rp-summary-highlight-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 940px) {
    .rp-summary-highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-summary-highlight-item {
    border: 1px solid #e4ebfb;
    border-radius: 12px;
    background: #f8fbff;
    padding: 11px 12px;
}

.rp-summary-highlight-label {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-highlight-value {
    margin: 8px 0 0;
    color: #0f172a;
    font-size: var(--rp-text-body);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
}

.rp-summary-highlight-meta {
    margin: 8px 0 0;
    color: #475569;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-semibold);
}

.rp-summary-action-list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 1080px) {
    .rp-summary-action-list-comprehensive {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-summary-action-item {
    display: grid;
    gap: 8px;
    border: 1px solid #e3eaf9;
    border-radius: 12px;
    background: #ffffff;
    padding: 11px 12px;
    position: relative;
}

.rp-summary-action-order {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
}

.rp-summary-action-priority {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    border: 1px solid #dbe4ff;
    background: #f8faff;
    color: #334155;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    padding: 4px 8px;
}

.rp-summary-action-item.is-high {
    border-color: #fecdd3;
    background: #fff1f2;
}

.rp-summary-action-item.is-high .rp-summary-action-priority {
    border-color: #fb7185;
    color: #9f1239;
    background: #ffe4e6;
}

.rp-summary-action-item.is-medium {
    border-color: #fde68a;
    background: #fffbeb;
}

.rp-summary-action-item.is-medium .rp-summary-action-priority {
    border-color: #f59e0b;
    color: #92400e;
    background: #fef3c7;
}

.rp-summary-action-item.is-low {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.rp-summary-action-item.is-low .rp-summary-action-priority {
    border-color: #4ade80;
    color: #166534;
    background: #dcfce7;
}

.rp-summary-chip-grid {
    margin-top: 12px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 860px) {
    .rp-summary-chip-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.rp-summary-chip {
    border: 1px solid #e3ebff;
    border-radius: 12px;
    background: #f8fbff;
    padding: 10px 11px;
}

.rp-summary-chip-label {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-chip-value {
    margin: 8px 0 0;
    color: #0f172a;
    font-size: var(--rp-text-title);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
}

.rp-summary-highlight-deck {
    background:
        radial-gradient(100% 140% at 100% 0%, #f1f5ff 0%, #ffffff 42%),
        #ffffff;
}

.rp-summary-highlight-hero {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 1020px) {
    .rp-summary-highlight-hero {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    }
}

.rp-summary-highlight-hero-main {
    border: 1px solid #dce6ff;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef3ff 0%, #ffffff 100%);
    padding: 14px;
}

.rp-summary-highlight-hero-label {
    margin: 0;
    color: #4f46e5;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-highlight-hero-title {
    margin: 8px 0 0;
    color: #0f172a;
    font-size: var(--rp-text-h3);
    line-height: var(--rp-lh-tight);
    letter-spacing: -0.01em;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-highlight-hero-meta {
    margin: 8px 0 0;
    color: #334155;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-semibold);
}

.rp-summary-highlight-hero-points {
    display: grid;
    gap: 10px;
}

.rp-summary-highlight-section-head {
    display: grid;
    gap: 3px;
}

.rp-summary-highlight-section-title {
    margin: 0;
    color: #475569;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-highlight-section-subtitle {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: 1.55;
}

.rp-summary-highlight-hero-point {
    border: 1px solid #e3ebff;
    border-radius: 12px;
    background: #f8fbff;
    padding: 10px 11px;
    display: grid;
    gap: 7px;
}

.rp-summary-highlight-hero-point-index {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    border: 1px solid #c8d8ff;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    padding: 3px 8px;
}

.rp-summary-highlight-hero-point p {
    margin: 0;
    color: #1e293b;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
}

.rp-summary-highlight-grid-visual {
    margin-top: 12px;
}

.rp-summary-highlight-item-visual {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 14px;
    background: #ffffff;
    padding: 12px;
}

.rp-summary-highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    flex: 0 0 30px;
}

.rp-summary-highlight-item-body {
    min-width: 0;
}

.rp-summary-highlight-item-visual.is-indigo {
    border-color: #c7d2fe;
    background: #eef2ff;
}

.rp-summary-highlight-item-visual.is-indigo .rp-summary-highlight-icon {
    background: #ffffff;
    color: #4338ca;
}

.rp-summary-highlight-item-visual.is-cyan {
    border-color: #bae6fd;
    background: #f0f9ff;
}

.rp-summary-highlight-item-visual.is-cyan .rp-summary-highlight-icon {
    background: #ffffff;
    color: #0369a1;
}

.rp-summary-highlight-item-visual.is-emerald {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.rp-summary-highlight-item-visual.is-emerald .rp-summary-highlight-icon {
    background: #ffffff;
    color: #047857;
}

.rp-summary-highlight-item-visual.is-rose {
    border-color: #fecdd3;
    background: #fff1f2;
}

.rp-summary-highlight-item-visual.is-rose .rp-summary-highlight-icon {
    background: #ffffff;
    color: #be123c;
}

.rp-report-tab-panel[data-report-tab='summary'] > .rp-card,
.rp-report-tab-panel[data-report-tab='summary'] .rp-kv-grid > .rp-card {
    border-radius: 24px;
    border-color: #e6edf9;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.05);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-report-kpi-grid {
    gap: 14px;
}

@media (min-width: 1180px) {
    .rp-report-tab-panel[data-report-tab='summary'] .rp-report-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-alert-deck {
    margin-bottom: 20px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-alert-deck .rp-alert-deck-header {
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 13px 15px;
    border: 1px solid #e8eefb;
    border-bottom: none;
    color: #7c2d12;
    background: linear-gradient(180deg, #fff8f2 0%, #fffdfb 100%);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-alert-deck .rp-alert-deck-header.is-critical {
    background: linear-gradient(180deg, #fff4f4 0%, #fffdfd 100%);
    color: #991b1b;
    border-color: #fecdd3;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-alert-deck .rp-alert-deck-header.is-warning {
    background: linear-gradient(180deg, #fff9ef 0%, #fffdf9 100%);
    color: #92400e;
    border-color: #fde2b7;
}

.rp-summary-alert-header-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.rp-summary-alert-header-kicker {
    margin: 0;
    color: #94a3b8;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-alert-header-title {
    margin: 0;
    color: inherit;
    font-size: 15px;
    line-height: 1.3;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-alert-header-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 7px 11px;
    border: 1px solid currentColor;
    background: rgba(255, 255, 255, 0.78);
    color: inherit;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    white-space: nowrap;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-alert-deck .rp-alert-deck-body {
    border-color: #e8eefb;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.03);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-alert-deck .rp-alert-item {
    padding: 13px 14px;
    gap: 11px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-alert-deck .rp-alert-item-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-alert-deck .rp-alert-item-title {
    font-size: 0.86rem;
    margin-bottom: 3px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-alert-deck .rp-alert-item-body {
    font-size: 0.78rem;
    line-height: 1.6;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-alert-deck .rp-alert-item-level {
    padding: 4px 8px;
    font-size: 10px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-kpi-grid {
    gap: 12px;
    margin-bottom: 2px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-kpi-grid .rp-report-kpi-card {
    border-radius: 18px;
    padding: 12px 13px;
    min-height: 0;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.03);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-kpi-grid .rp-report-kpi-label {
    font-size: 10px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-kpi-grid .rp-report-kpi-value {
    margin-top: 8px;
    font-size: clamp(26px, 2.2vw, 34px);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-kpi-grid .rp-report-kpi-note {
    max-width: 24ch;
}

@media (min-width: 1180px) {
    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-kpi-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section {
    margin-bottom: 20px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-card {
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-card-header {
    margin-bottom: 10px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-card-title {
    font-size: clamp(18px, 1.45vw, 22px);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-card-subtitle {
    max-width: 58ch;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-funnel-tag {
    margin-bottom: 10px;
    background: #fff5ef;
    border-color: #fed7aa;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-funnel-wrap {
    padding: 14px 10px 10px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-funnel-stage {
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-funnel-stage-2 {
    width: 78%;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-funnel-stage-3 {
    width: 56%;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-funnel-stage-value {
    font-size: 1.28rem;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-funnel-dropoff {
    padding: 8px 0;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-funnel-dropoff-info {
    gap: 10px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-funnel-dropoff-rate,
.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-funnel-dropoff-lost {
    padding: 3px 9px;
    font-size: 0.7rem;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-card-header {
    margin-bottom: 16px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-card-subtitle {
    max-width: 72ch;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-card:not(.rp-summary-slide) .rp-card-title {
    font-size: clamp(19px, 1.5vw, 24px);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-card:not(.rp-summary-slide) .rp-card-subtitle {
    font-size: 13px;
    line-height: 1.65;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-alert-clear {
    border-radius: 18px;
    background: linear-gradient(180deg, #f6fdf8 0%, #eefbf3 100%);
    border-color: #cfe9d7;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-metric-guide-item {
    border-color: #e8eefb;
    border-radius: 18px;
    padding: 15px 15px 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.03);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-reference-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-reference-card .rp-card-title {
    font-size: clamp(18px, 1.45vw, 23px);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-reference-card .rp-card-subtitle {
    max-width: 60ch;
    color: #64748b;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-reference-card .rp-metric-guide-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 920px) {
    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-reference-card .rp-metric-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-metric-guide-status,
.rp-report-tab-panel[data-report-tab='summary'] .rp-metric-guide-good {
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 11px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-deck,
.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-compare-card,
.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-insight-deck {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-hero-main,
.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-hero-point,
.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-item-visual,
.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-compare-bucket,
.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-compare-bucket-item,
.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-action-item,
.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-insight-tile,
.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-recommendation-tile {
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-item-visual {
    border: 1px solid #e8eefb;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-item-visual.is-indigo,
.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-item-visual.is-cyan,
.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-item-visual.is-emerald,
.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-item-visual.is-rose {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-icon {
    width: 32px;
    height: 32px;
    border: 1px solid #dfe8fb;
    background: #ffffff;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-hero-main {
    border-color: #e8eefb;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 18px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-hero {
    gap: 16px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-hero-meta {
    max-width: 58ch;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-hero-points {
    gap: 12px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-section-head-grid {
    margin-top: 14px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-hero-point {
    border-color: #e8eefb;
    background: #ffffff;
    padding: 12px 13px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-hero-point-index {
    border-color: #dfe8fb;
    background: #ffffff;
    color: #475569;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-compare-bucket {
    border-color: #e8eefb;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-compare-bucket.is-shop,
.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-compare-bucket.is-product {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-compare-bucket-item {
    border-color: #edf2fc;
    background: #ffffff;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-compare-row {
    border-color: #e8eefb;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    padding: 12px 14px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-compare-bar {
    height: 7px;
    background: #edf2fb;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-compare-winner {
    padding: 3px 9px;
    font-size: 10px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-action-item {
    border-color: #e8eefb;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-action-item.is-high {
    border-color: #fde2e6;
    background: linear-gradient(180deg, #ffffff 0%, #fff7f8 100%);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-action-item.is-medium {
    border-color: #f7e7b7;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf5 100%);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-action-item.is-low {
    border-color: #d8efdc;
    background: linear-gradient(180deg, #ffffff 0%, #f7fcf8 100%);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-report-kpi-trend {
    padding: 3px 8px;
    font-size: 10px;
    box-shadow: none;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-report-kpi-trend.is-good {
    border-color: #d7efdd;
    background: #f6fcf8;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-report-kpi-trend.is-bad {
    border-color: #f9dde2;
    background: #fff8f9;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-report-kpi-note {
    font-size: 11px;
    line-height: 1.5;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-empty-state {
    border-radius: 18px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-insight-panel {
    border-color: #e8eefb;
    padding: 14px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-insight-panel.is-insight,
.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-insight-panel.is-recommendation {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-insight-panel-list {
    gap: 10px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-insight-tile,
.rp-report-tab-panel[data-report-tab='summary'] .rp-summary-recommendation-tile {
    border-color: #e8eefb;
    padding: 12px 13px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-report-chart-grid-summary {
    gap: 14px;
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-report-chart-grid-summary .rp-report-chart-card {
    min-height: 300px;
    border-radius: 18px;
    border-color: #e8eefb;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.rp-report-tab-panel[data-report-tab='summary'] .rp-report-chart-grid-summary .rp-report-chart-title {
    font-size: 13px;
}

@media (max-width: 860px) {
    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-meta-row {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .rp-summary-manager-hero-main {
        max-width: 100%;
    }

    .rp-summary-manager-headline {
        max-width: 100%;
        font-size: clamp(20px, 7vw, 30px);
        line-height: 1.18;
    }

    .rp-summary-bullet-wrap {
        padding: 16px 16px 17px;
    }

    .rp-summary-bullet-grid {
        gap: 10px;
    }

    .rp-summary-bullet-item {
        padding: 16px 16px 15px;
    }

    .rp-summary-bullet-item .rp-summary-bullet-card-title {
        margin-top: 10px;
    }

    .rp-summary-bullet-prose-desktop {
        display: none;
    }

    .rp-summary-bullet-prose-mobile {
        display: block;
        margin-top: 8px;
        line-height: 1.7;
    }

    .rp-summary-bullet-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 12px;
    }

    .rp-summary-bullet-stat {
        padding: 9px 10px 8px;
    }

    .rp-summary-bullet-stat strong {
        margin-top: 6px;
        font-size: 13px;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-alert-deck .rp-alert-deck-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 13px;
    }

    .rp-summary-alert-header-title {
        font-size: 14px;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-alert-deck .rp-alert-item {
        gap: 9px;
        padding: 12px 13px;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-alert-deck .rp-alert-item-level {
        align-self: flex-start;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-kpi-grid {
        gap: 10px;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-kpi-grid .rp-report-kpi-card {
        padding: 12px;
        border-radius: 16px;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-kpi-grid .rp-report-kpi-value {
        font-size: clamp(23px, 7vw, 30px);
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-kpi-grid .rp-report-kpi-note {
        max-width: none;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-snapshot-pair .rp-infographic-stats-grid {
        gap: 8px;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-snapshot-pair .rp-infographic-stat:nth-child(n+3) {
        grid-column: 1 / -1;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-snapshot-pair .rp-infographic-stat {
        padding: 10px 10px 9px;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-snapshot-pair .rp-infographic-value {
        font-size: clamp(18px, 6.8vw, 26px);
        line-height: 1.12;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-card-header {
        margin-bottom: 8px;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-funnel-wrap {
        padding: 10px 4px 6px;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-funnel-stage {
        min-height: 68px;
        padding: 13px 12px;
        border-radius: 16px;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-funnel-stage-2 {
        width: 86%;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section .rp-funnel-stage-3 {
        width: 70%;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-hero,
    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-insight-visual-grid,
    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-compare-head {
        gap: 12px;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-card:not(.rp-summary-slide) .rp-card-title {
        font-size: 20px;
    }

    .rp-report-tab-panel[data-report-tab='summary'] {
        gap: 16px;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-slide {
        order: 1;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-alert-deck {
        order: 2;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-kpi-grid {
        order: 3;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-funnel-section {
        order: 4;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-snapshot-pair {
        order: 5;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-highlight-deck {
        order: 6;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-insight-deck {
        order: 7;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-compare-card {
        order: 8;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-chart-pair {
        order: 9;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-visuals-card {
        order: 10;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-reference-card {
        order: 11;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-top-chart-card .rp-report-canvas-wrap,
    .rp-report-tab-panel[data-report-tab='summary'] .rp-report-chart-grid-summary .rp-report-canvas-wrap {
        min-height: 190px;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-report-chart-grid-summary .rp-report-chart-card {
        min-height: 248px;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-insight-panel {
        padding: 13px;
    }

    .rp-report-tab-panel[data-report-tab='summary'] .rp-summary-compare-row {
        gap: 8px;
        padding: 11px 12px;
    }
}

.rp-summary-top-chart-card .rp-report-canvas-wrap {
    min-height: 260px;
}

.rp-summary-empty-state {
    border: 1px dashed #dbe4ff;
    border-radius: 12px;
    background: #f8fbff;
    color: #475569;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
    text-align: center;
    padding: 18px 12px;
}

.rp-summary-compare-card {
    background:
        radial-gradient(100% 130% at 0% 0%, #eef5ff 0%, #ffffff 40%),
        #ffffff;
}

.rp-summary-compare-head {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 980px) {
    .rp-summary-compare-head {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-summary-compare-bucket {
    border: 1px solid #dbe5ff;
    border-radius: 14px;
    padding: 12px;
}

.rp-summary-compare-bucket.is-shop {
    background: linear-gradient(145deg, #ecfeff 0%, #ffffff 100%);
}

.rp-summary-compare-bucket.is-product {
    background: linear-gradient(145deg, #eef2ff 0%, #ffffff 100%);
}

.rp-summary-compare-bucket-title {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
}

.rp-summary-compare-bucket-grid {
    margin-top: 10px;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.rp-summary-compare-bucket-item {
    border: 1px solid #e5ecfb;
    border-radius: 10px;
    background: #ffffff;
    padding: 8px 9px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}

.rp-summary-compare-bucket-item span {
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-compare-bucket-item strong {
    color: #0f172a;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
}

.rp-summary-compare-metrics {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.rp-summary-compare-row {
    border: 1px solid #e4ebfb;
    border-radius: 12px;
    background: #ffffff;
    padding: 10px 12px;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
}

.rp-summary-compare-side {
    display: grid;
    gap: 6px;
}

.rp-summary-compare-side strong {
    color: #0f172a;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
}

.rp-summary-compare-side.is-product strong {
    text-align: right;
}

.rp-summary-compare-bar {
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.rp-summary-compare-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.rp-summary-compare-bar.is-shop span {
    background: linear-gradient(90deg, #14b8a6 0%, #22c55e 100%);
}

.rp-summary-compare-bar.is-product span {
    background: linear-gradient(90deg, #465fff 0%, #3b82f6 100%);
    margin-left: auto;
}

.rp-summary-compare-center {
    display: grid;
    justify-items: center;
    gap: 5px;
    min-width: 150px;
}

.rp-summary-compare-center p {
    margin: 0;
    color: #334155;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
    text-align: center;
}

.rp-summary-compare-winner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #dbe4ff;
    background: #f8faff;
    color: #334155;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    padding: 3px 8px;
    white-space: nowrap;
}

.rp-summary-compare-winner.is-shop {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}

.rp-summary-compare-winner.is-product {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.rp-summary-compare-winner.is-tie {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #334155;
}

.rp-summary-compare-winner.is-none {
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #64748b;
}

.rp-summary-compare-delta {
    display: block;
    max-width: 18ch;
    color: #64748b;
    font-size: 11px;
    line-height: 1.45;
    font-weight: var(--rp-fw-semibold);
    text-align: center;
}

.rp-summary-compare-delta.is-shop {
    color: #166534;
}

.rp-summary-compare-delta.is-product {
    color: #1d4ed8;
}

.rp-summary-compare-delta.is-tie,
.rp-summary-compare-delta.is-none {
    color: #64748b;
}

.rp-summary-insight-deck {
    background:
        radial-gradient(120% 140% at 100% 0%, #eef4ff 0%, #ffffff 45%),
        #ffffff;
}

.rp-summary-insight-visual-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 1080px) {
    .rp-summary-insight-visual-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    }
}

.rp-summary-insight-panel {
    border: 1px solid #dce5fb;
    border-radius: 14px;
    padding: 12px;
}

.rp-summary-insight-panel.is-insight {
    background: #f8fbff;
}

.rp-summary-insight-panel.is-recommendation {
    background: #ffffff;
}

.rp-summary-insight-panel-title {
    margin: 0;
    color: #1e293b;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-insight-panel-list {
    margin-top: 10px;
    display: grid;
    gap: 9px;
}

.rp-summary-final-insight-list,
.rp-summary-final-action-list {
    margin-top: 10px;
}

.rp-summary-final-insight-card,
.rp-summary-final-action-card {
    min-height: 0;
    padding: 16px 17px 17px;
    border-radius: 18px;
}

.rp-summary-final-insight-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.rp-summary-final-insight-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.rp-summary-final-insight-copy > strong {
    font-size: 17px;
    line-height: 1.28;
}

.rp-summary-final-insight-card .rp-report-shared-insight-target {
    margin-top: 6px;
    font-size: 13px;
}

.rp-summary-final-insight-card .rp-report-shared-insight-detail {
    margin-top: 3px;
}

.rp-summary-final-insight-card .rp-report-shared-insight-body,
.rp-summary-final-action-card .rp-report-prose {
    font-size: 14px;
    line-height: 1.72;
}

.rp-summary-final-insight-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rp-summary-final-insight-stats .rp-report-shared-insight-stat strong {
    font-size: clamp(17px, 1.5vw, 20px);
}

.rp-summary-final-action-card .rp-report-shared-action-title {
    font-size: 16px;
    line-height: 1.32;
}

.rp-summary-final-action-card.is-high {
    border-color: #fecdd3;
    background: linear-gradient(180deg, #fff7f8 0%, #ffffff 100%);
}

.rp-summary-final-action-card.is-medium {
    border-color: #fde68a;
    background: linear-gradient(180deg, #fffcf1 0%, #ffffff 100%);
}

.rp-summary-final-action-card.is-low {
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #f5fff8 0%, #ffffff 100%);
}

.rp-summary-insight-tile {
    border: 1px solid #e3eaf9;
    border-radius: 12px;
    background: #ffffff;
    padding: 10px 11px;
    display: grid;
    gap: 7px;
}

.rp-summary-insight-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 999px;
    border: 1px solid #c7d2fe;
    background: #eef2ff;
    color: #4338ca;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    padding: 2px 8px;
}

.rp-summary-insight-tile p {
    margin: 0;
    color: #1e293b;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
}

.rp-summary-recommendation-tile {
    border: 1px solid #e3eaf9;
    border-radius: 12px;
    background: #ffffff;
    padding: 10px 11px;
    display: grid;
    gap: 7px;
}

.rp-summary-recommendation-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.rp-summary-recommendation-title {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-bold);
}

.rp-summary-recommendation-note {
    margin: 0;
    color: #475569;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-semibold);
}

.rp-summary-recommendation-tile.is-high {
    border-color: #fecdd3;
    background: #fff1f2;
}

.rp-summary-recommendation-tile.is-medium {
    border-color: #fde68a;
    background: #fffbeb;
}

.rp-summary-recommendation-tile.is-low {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.rp-comprehensive-cover {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 140% at 0% 0%, #eef2ff 0%, #ffffff 46%),
        #ffffff;
}

.rp-comprehensive-cover::before {
    content: none;
    position: absolute;
    width: 340px;
    height: 340px;
    top: -195px;
    left: -135px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.32) 0%, rgba(99, 102, 241, 0.14) 52%, rgba(255, 255, 255, 0) 76%);
    pointer-events: none;
}

.rp-comprehensive-cover > * {
    position: relative;
    z-index: 1;
}

.rp-comprehensive-prose-grid {
    margin-top: 12px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 1020px) {
    .rp-comprehensive-prose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-comprehensive-prose-card {
    border: 1px solid #dce5fb;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 11px 12px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.035);
}

.rp-comprehensive-prose-card.is-executive {
    border-color: #d9e6ff;
    background:
        radial-gradient(120% 140% at 0% 0%, #eef4ff 0%, #ffffff 52%),
        #ffffff;
}

.rp-comprehensive-prose-card.is-overview {
    border-color: #d6ecff;
    background:
        radial-gradient(120% 140% at 100% 0%, #eef9ff 0%, #ffffff 52%),
        #ffffff;
}

.rp-comprehensive-prose-card .rp-report-prose {
    margin-top: 7px;
}

.rp-report-prose-rich {
    color: #1e293b;
}

.rp-prose-metric-term {
    font-weight: var(--rp-fw-bold);
    color: #1d4ed8;
}

.rp-prose-metric-value {
    display: inline;
    font-weight: 800;
    color: #0f172a;
    background: linear-gradient(180deg, #f4f8ff 0%, #eaf2ff 100%);
    border: 1px solid #d7e5ff;
    border-radius: 6px;
    padding: 0 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.rp-comprehensive-deep-card {
    background:
        radial-gradient(110% 130% at 0% 0%, #eef4ff 0%, #ffffff 56%),
        radial-gradient(80% 110% at 100% 100%, #f5f3ff 0%, rgba(255, 255, 255, 0) 74%),
        #ffffff;
}

.rp-comprehensive-deep-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 980px) {
    .rp-comprehensive-deep-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-comprehensive-deep-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #e3ebff;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.rp-comprehensive-deep-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 55%, #22c55e 100%);
}

.rp-comprehensive-deep-item:nth-child(4n+1)::before {
    background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 100%);
}

.rp-comprehensive-deep-item:nth-child(4n+2)::before {
    background: linear-gradient(90deg, #4f46e5 0%, #3b82f6 100%);
}

.rp-comprehensive-deep-item:nth-child(4n+3)::before {
    background: linear-gradient(90deg, #0ea5e9 0%, #14b8a6 100%);
}

.rp-comprehensive-deep-item:nth-child(4n+4)::before {
    background: linear-gradient(90deg, #14b8a6 0%, #22c55e 100%);
}

.rp-comprehensive-deep-item-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rp-comprehensive-deep-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #c7d2fe;
    background: #eef2ff;
    color: #4338ca;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    flex: 0 0 28px;
}

.rp-comprehensive-deep-kicker {
    margin: 0;
    color: #0369a1;
    font-size: var(--rp-text-caption-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-comprehensive-deep-title {
    margin: 10px 0 0;
    color: #1e293b;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-comprehensive-deep-takeaway {
    margin-top: 10px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #f0f9ff;
    padding: 9px 10px;
}

.rp-comprehensive-deep-takeaway span {
    display: inline-flex;
    color: #0369a1;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-comprehensive-deep-takeaway p {
    margin: 6px 0 0;
    color: #1e3a8a;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
}

.rp-comprehensive-deep-item .rp-report-prose {
    margin-top: 10px;
}

.rp-comprehensive-deep-empty {
    border: 1px dashed #d7e3ff;
    border-radius: 14px;
    background: #f8fbff;
    padding: 16px;
}

.rp-comprehensive-confidence-card {
    background:
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%),
        #ffffff;
}

.rp-comprehensive-metric-card,
.rp-comprehensive-table-card,
.rp-comprehensive-chart-deck,
.rp-comprehensive-chart-mini,
.rp-comprehensive-under-card,
.rp-comprehensive-actions-card,
.rp-comprehensive-module-card,
.rp-comprehensive-infographic-card {
    background:
        radial-gradient(105% 130% at 0% 0%, #f7f9ff 0%, #ffffff 52%),
        #ffffff;
}

.rp-comparative-period-head {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    margin-bottom: 10px;
}

@media (min-width: 880px) {
    .rp-comparative-period-head {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-comparative-period-item {
    border: 1px solid #dbe7ff;
    border-radius: 12px;
    background: #f8fbff;
    padding: 10px 11px;
    display: grid;
    gap: 5px;
}

.rp-comparative-period-item span {
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-comparative-period-item strong {
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
}

.rp-compare-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    border: 1px solid #dbe6ff;
    background: #f8faff;
    color: #334155;
}

.rp-compare-chip.is-good {
    border-color: #86efac;
    background: #ecfdf3;
    color: #166534;
}

.rp-compare-chip.is-bad {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

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

@media (min-width: 980px) {
    .rp-decision-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-decision-card {
    border: 1px solid #dfe8ff;
    border-radius: 14px;
    background: #ffffff;
    padding: 11px 12px;
}

.rp-decision-card.tone-scale {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 68%);
    border-color: #bbf7d0;
}

.rp-decision-card.tone-maintain {
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 68%);
    border-color: #bae6fd;
}

.rp-decision-card.tone-fix {
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 68%);
    border-color: #fde68a;
}

.rp-decision-card.tone-pause {
    background: linear-gradient(180deg, #fef2f2 0%, #ffffff 68%);
    border-color: #fecaca;
}

.rp-decision-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rp-decision-card-title {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
}

.rp-decision-card-count {
    border-radius: 999px;
    border: 1px solid #d4e4ff;
    background: #f7faff;
    color: #1e3a8a;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    padding: 3px 10px;
}

.rp-decision-card-subtitle {
    margin: 5px 0 0;
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-medium);
}

.rp-decision-list {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.rp-decision-item {
    border: 1px solid #e5ecff;
    border-radius: 10px;
    background: #ffffff;
    padding: 8px 9px;
}

.rp-decision-item-title {
    margin: 0;
    color: #1e293b;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
}

.rp-decision-item-meta {
    margin: 4px 0 0;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-medium);
}

.rp-decision-empty {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
}

.rp-budget-sim-kpi {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    margin-bottom: 10px;
}

@media (min-width: 980px) {
    .rp-budget-sim-kpi {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.rp-budget-sim-kpi-item {
    border: 1px solid #dbe6ff;
    border-radius: 12px;
    background: #f8fbff;
    padding: 10px 11px;
    display: grid;
    gap: 4px;
}

.rp-budget-sim-kpi-item span {
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-budget-sim-kpi-item strong {
    color: #0f172a;
    font-size: var(--rp-text-body);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
}

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

@media (min-width: 1080px) {
    .rp-playbook-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.rp-playbook-card {
    border: 1px solid #dfe8ff;
    border-radius: 14px;
    background: #ffffff;
    padding: 11px 12px;
}

.rp-playbook-title {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
}

.rp-playbook-list {
    margin-top: 9px;
    display: grid;
    gap: 8px;
}

.rp-playbook-item {
    border: 1px solid #e4ecff;
    border-radius: 10px;
    background: #ffffff;
    padding: 8px 9px;
}

.rp-playbook-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.rp-playbook-item-title {
    margin: 0;
    color: #1e293b;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
}

.rp-playbook-item-text {
    margin: 5px 0 0;
    color: #475569;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-body);
}

.rp-playbook-item-kpi {
    margin: 6px 0 0;
    color: #1d4ed8;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
}

.rp-playbook-empty {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
}

.rp-comprehensive-chart-deck .rp-report-chart-card {
    background: #fdfefe;
    border-color: #dfe8ff;
}

.rp-report-chart-grid.rp-report-chart-grid-comprehensive-core {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 1080px) {
    .rp-report-chart-grid.rp-report-chart-grid-comprehensive-core {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-report-chart-grid.rp-report-chart-grid-comprehensive-core .rp-report-canvas-wrap {
    min-height: 240px;
}

.rp-kv-grid.cols-3.rp-comprehensive-top-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.rp-kv-grid.cols-2.rp-comprehensive-top-pair {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rp-kv-grid.cols-2.rp-comprehensive-top-pair > .rp-comprehensive-top-stack {
    width: 100%;
    display: grid;
    gap: 16px;
    align-content: start;
}

.rp-kv-grid.cols-2.rp-comprehensive-top-pair > .rp-comprehensive-top-stack > .rp-fatigue-card {
    width: 100%;
}

.rp-kv-grid.cols-2.rp-comprehensive-top-pair > .rp-card.rp-comprehensive-infographic-card {
    width: 100%;
}

.rp-kv-grid.cols-2.rp-comprehensive-top-pair > .rp-comprehensive-quick-scan-card {
    width: 100%;
}

.rp-comprehensive-quick-scan-card {
    margin-top: 0;
}

@media (min-width: 980px) {
    .rp-kv-grid.cols-3.rp-comprehensive-top-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1380px) {
    .rp-kv-grid.cols-3.rp-comprehensive-top-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.rp-comprehensive-chart-mini .rp-report-canvas-wrap {
    min-height: 260px;
}

.rp-comprehensive-under-card .rp-underperforming-item {
    background: #fdfefe;
    border-color: #dfe8ff;
}

.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-report-table th,
.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-report-table td {
    padding-top: 9px;
    padding-bottom: 9px;
}

.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-highlight-deck,
.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-compare-card,
.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-insight-deck,
.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-comprehensive-actions-card {
    border-radius: 22px;
}

.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-fatigue-card,
.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-keyword-section {
    border-radius: 22px;
    border-color: var(--rp-shopee-shell-border);
    background:
        radial-gradient(105% 130% at 0% 0%, #f7f9ff 0%, #ffffff 52%),
        #ffffff;
    box-shadow: rgba(15, 23, 42, 0.05) 0px 14px 30px 0px;
}

.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-highlight-grid-visual {
    gap: 10px;
}

.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-highlight-item-visual {
    padding: 11px 12px;
    min-height: 0;
}

.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-highlight-item-visual .rp-summary-highlight-value {
    font-size: var(--rp-text-body);
    line-height: var(--rp-lh-tight);
}

.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-highlight-item-visual .rp-summary-highlight-meta {
    margin-top: 4px;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
}

.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-insight-panel {
    border-radius: 16px;
    padding: 14px;
}

.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-insight-panel-list {
    gap: 8px;
}

.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-insight-tile,
.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-recommendation-tile {
    padding: 10px 11px;
}

.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-action-list-comprehensive {
    gap: 12px;
}

.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-action-item {
    padding: 12px 13px;
    min-height: 0;
}

.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-action-item .rp-summary-highlight-value {
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-tight);
}

.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-action-item .rp-summary-highlight-meta {
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
}

.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-report-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #f8fbff;
}

.rp-report-tab-panel[data-report-tab='comprehensive'] .rp-report-table tbody td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #ffffff;
    box-shadow: 1px 0 0 #eef2ff;
}

.rp-rank-list {
    display: grid;
    gap: 9px;
}

.rp-rank-item {
    border: 1px solid #e4ebfb;
    border-radius: 12px;
    background: #ffffff;
    padding: 10px 11px;
}

.rp-rank-item-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
}

.rp-rank-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #eaf1ff;
    color: #1d4ed8;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-bold);
    line-height: 1;
}

.rp-rank-name {
    margin: 0;
    color: #1e293b;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-semibold);
}

.rp-rank-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #d8e4ff;
    background: #f7faff;
    color: #0f172a;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    padding: 4px 8px;
}

.rp-rank-bar {
    margin-top: 8px;
    height: 9px;
    border-radius: 999px;
    background: #e5eeff;
    overflow: hidden;
}

.rp-rank-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
}

.rp-rank-bar.is-sales span {
    background: linear-gradient(90deg, #0ea5e9 0%, #2563eb 100%);
}

.rp-summary-insight-block {
    border: 1px solid #dce6fb;
    border-radius: 12px;
    background: #f8fbff;
    padding: 11px 12px;
}

.rp-summary-insight-title {
    margin: 0;
    color: #334155;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-summary-insight-list {
    margin-top: 9px;
    display: grid;
    gap: 8px;
}

.rp-summary-insight-item {
    border: 1px solid #e2e8f8;
    border-radius: 10px;
    background: #ffffff;
    padding: 9px 10px;
    color: #1e293b;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-medium);
}

.rp-summary-insight-item-title {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
}

.rp-summary-insight-item-note {
    margin: 6px 0 0;
    color: #475569;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-semibold);
}

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

@media (min-width: 980px) {
    .rp-idea-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-idea-card {
    border: 1px solid #e4ebfb;
    border-radius: 12px;
    background: #f8fbff;
    padding: 11px 12px;
    display: grid;
    gap: 8px;
}

.rp-idea-card.is-high {
    border-color: #fecdd3;
    background: #fff1f2;
}

.rp-idea-card.is-medium {
    border-color: #fde68a;
    background: #fffbeb;
}

.rp-idea-card.is-low {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.rp-idea-label {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-idea-text {
    margin: 0;
    color: #1e293b;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
}

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

@media (min-width: 980px) {
    .rp-underperforming-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-underperforming-item {
    border: 1px solid #e3eaf9;
    border-radius: 12px;
    background: #ffffff;
    padding: 11px 12px;
}

.rp-underperforming-item .rp-summary-chip-grid {
    margin-top: 9px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rp-report-chart-grid-summary .rp-report-chart-card {
    min-height: 320px;
}

.rp-report-chart-grid-summary .rp-report-canvas-wrap {
    min-height: 240px;
}

.rp-report-cover {
    padding: 24px;
    border-color: rgba(var(--rp-report-accent-rgb), 0.16);
    background:
        radial-gradient(120% 150% at 0% 0%, rgba(var(--rp-report-accent-rgb), 0.14) 0%, #ffffff 46%),
        radial-gradient(100% 120% at 100% 100%, rgba(var(--rp-report-accent-rgb), 0.08) 0%, rgba(255, 255, 255, 0) 70%),
        #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.055);
}

.rp-report-cover-title {
    margin: 0;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: var(--rp-lh-display);
    letter-spacing: -0.02em;
    font-weight: var(--rp-fw-bold);
    color: #0b1437;
}

.rp-report-cover-subtitle {
    margin: 10px 0 0;
    color: #475569;
    font-size: var(--rp-text-body);
    line-height: var(--rp-lh-body);
}

.rp-report-meta {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rp-report-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.16);
    border-radius: 999px;
    background: rgba(var(--rp-report-accent-rgb), 0.05);
    padding: 5px 11px;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    color: #334155;
    font-weight: var(--rp-fw-semibold);
}

.rp-report-meta-chip-confidence.is-high {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}

.rp-report-meta-chip-confidence.is-medium {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.rp-report-meta-chip-confidence.is-low {
    border-color: #fecaca;
    background: #fff1f2;
    color: #9f1239;
}

.rp-report-confidence-note {
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(var(--rp-report-accent-rgb), 0.14);
    color: #475569;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-report .rp-card:not(.rp-report-cover) {
    border-color: #e6ecf7;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.rp-report .rp-card-title {
    font-size: var(--rp-report-heading-size);
    line-height: var(--rp-lh-tight);
    letter-spacing: -0.01em;
    color: #0f172a;
}

.rp-report .rp-card-subtitle {
    margin-top: 4px;
    font-size: var(--rp-report-subheading-size);
    line-height: var(--rp-lh-compact);
    color: #64748b;
    max-width: 72ch;
}

.rp-report-kpi-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 700px) {
    .rp-report-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1180px) {
    .rp-report-kpi-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.rp-report-kpi-card {
    border: 1px solid #e3e8f8;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    padding: 14px;
    min-height: 104px;
}

.rp-report-kpi-label {
    margin: 0;
    font-size: var(--rp-text-caption-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: var(--rp-fw-bold);
}

.rp-report-kpi-value {
    margin: 10px 0 0;
    font-size: var(--rp-text-display);
    line-height: var(--rp-lh-number);
    letter-spacing: -0.01em;
    font-weight: var(--rp-fw-bold);
    color: #0f172a;
}

.rp-report-kpi-trend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 9px 0 0;
    border: 1px solid #dbe4ff;
    border-radius: 999px;
    background: #f8faff;
    padding: 4px 9px;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-bold);
    line-height: var(--rp-lh-compact);
    color: #475569;
}

.rp-report-kpi-trend-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #94a3b8;
    flex: 0 0 7px;
}

.rp-report-kpi-trend.is-good {
    color: #166534;
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.rp-report-kpi-trend.is-good .rp-report-kpi-trend-dot {
    background: #16a34a;
}

.rp-report-kpi-trend.is-bad {
    color: #9f1239;
    border-color: #fecdd3;
    background: #fff1f2;
}

.rp-report-kpi-trend.is-bad .rp-report-kpi-trend-dot {
    background: #e11d48;
}

.rp-report-kpi-trend.is-neutral {
    color: #475569;
    border-color: #e2e8f0;
    background: #f8fafc;
}

.rp-report-kpi-trend.is-neutral .rp-report-kpi-trend-dot {
    background: #94a3b8;
}

.rp-report-kpi-note {
    margin: 9px 0 0;
    color: #475569;
    font-size: var(--rp-text-caption-xs);
    line-height: 1.55;
}

.rp-report-shared-snapshot {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.18);
    border-radius: 26px;
    background:
        radial-gradient(120% 160% at 0% 0%, rgba(var(--rp-report-accent-rgb), 0.16) 0%, rgba(255, 255, 255, 0) 42%),
        radial-gradient(90% 120% at 100% 0%, rgba(var(--rp-report-accent-rgb), 0.08) 0%, rgba(255, 255, 255, 0) 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    padding: clamp(18px, 2.2vw, 28px);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
}

.rp-report-shared-snapshot::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    top: -108px;
    right: -72px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(var(--rp-report-accent-rgb), 0.18) 0%, rgba(var(--rp-report-accent-rgb), 0) 72%);
    pointer-events: none;
}

.rp-report-shared-snapshot::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(118deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 34%);
}

.rp-report-shared-snapshot > * {
    position: relative;
    z-index: 1;
}

.rp-report-shared-snapshot-head {
    display: grid;
    gap: 18px;
    align-items: start;
}

@media (min-width: 980px) {
    .rp-report-shared-snapshot-head {
        grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
    }
}

.rp-report-shared-kicker {
    margin: 0;
    color: var(--rp-report-accent-text);
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-report-shared-title {
    margin: 10px 0 0;
    color: #0f172a;
    font-size: clamp(28px, 2.8vw, 40px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: var(--rp-fw-bold);
}

.rp-report-shared-copy {
    margin: 10px 0 0;
    max-width: 70ch;
    color: #475569;
    font-size: 16px;
    line-height: 1.78;
}

.rp-report-shared-copy .rp-prose-number-strong {
    color: #0f172a;
    font-weight: var(--rp-fw-bold);
}

.rp-report-shared-status {
    display: inline-grid;
    gap: 7px;
    min-width: 220px;
    padding: 18px 18px 16px;
    border-radius: 22px;
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(var(--rp-report-accent-rgb), 0.08) 100%);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(8px);
}

.rp-report-shared-status span {
    color: #64748b;
    font-size: 10px;
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-report-shared-status strong {
    color: #0f172a;
    font-size: clamp(24px, 2.2vw, 30px);
    line-height: 1;
    font-weight: var(--rp-fw-bold);
    letter-spacing: -0.03em;
}

.rp-report-shared-status em {
    font-style: normal;
    color: #475569;
    font-size: var(--rp-text-caption-sm);
    line-height: 1.6;
}

.rp-report-shared-status.tone-scale {
    border-color: rgba(22, 163, 74, 0.22);
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.rp-report-shared-status.tone-scale strong {
    color: #166534;
}

.rp-report-shared-status.tone-maintain {
    border-color: rgba(37, 99, 235, 0.2);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.rp-report-shared-status.tone-maintain strong {
    color: #1d4ed8;
}

.rp-report-shared-status.tone-fix {
    border-color: rgba(249, 115, 22, 0.26);
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.rp-report-shared-status.tone-fix strong {
    color: #c2410c;
}

.rp-report-shared-status.tone-stop {
    border-color: rgba(239, 68, 68, 0.24);
    background: linear-gradient(180deg, rgba(254, 242, 242, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.rp-report-shared-status.tone-stop strong {
    color: #b91c1c;
}

.rp-report-shared-kpis {
    margin-top: 22px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 720px) {
    .rp-report-shared-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1180px) {
    .rp-report-shared-kpis {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.rp-report-shared-kpi {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.12);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    padding: 16px 16px 15px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.rp-report-shared-kpi::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--rp-report-accent-strong) 0%, var(--rp-report-accent) 100%);
    opacity: 0.9;
}

.rp-report-shared-kpi:nth-child(2) {
    border-color: rgba(16, 185, 129, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(236, 253, 245, 0.96) 100%);
}

.rp-report-shared-kpi:nth-child(2)::before {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

.rp-report-shared-kpi:nth-child(3) {
    border-color: rgba(59, 130, 246, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.96) 100%);
}

.rp-report-shared-kpi:nth-child(3)::before {
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
}

.rp-report-shared-kpi:nth-child(4) {
    border-color: rgba(168, 85, 247, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 245, 255, 0.96) 100%);
}

.rp-report-shared-kpi:nth-child(4)::before {
    background: linear-gradient(90deg, #8b5cf6 0%, #c084fc 100%);
}

.rp-report-shared-kpi-label {
    margin: 0;
    color: #64748b;
    font-size: 10px;
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-report-shared-kpi-value {
    margin: 10px 0 0;
    color: #0f172a;
    font-size: clamp(26px, 2.4vw, 34px);
    line-height: var(--rp-lh-number);
    letter-spacing: -0.035em;
    font-weight: var(--rp-fw-bold);
}

.rp-report-shared-kpi-meta {
    margin: 8px 0 0;
    color: #475569;
    font-size: var(--rp-text-caption-sm);
    line-height: 1.55;
    font-weight: var(--rp-fw-semibold);
}

.rp-report-shared-detail-grid {
    margin-top: 24px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 1080px) {
    .rp-report-shared-detail-grid {
        grid-template-columns: 0.95fr 1.05fr;
    }
}

.rp-report-shared-detail-card,
.rp-report-shared-list-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.12);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    padding: 22px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
}

.rp-report-shared-detail-card-head,
.rp-report-shared-list-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.rp-report-shared-detail-card h4,
.rp-report-shared-list-card h4 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(20px, 1.8vw, 24px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: var(--rp-fw-bold);
}

.rp-report-shared-detail-card p,
.rp-report-shared-list-card p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: var(--rp-text-caption-sm);
    line-height: 1.6;
}

.rp-report-shared-metric-row {
    margin-top: 16px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rp-report-shared-metric {
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    padding: 14px 14px 13px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.rp-report-shared-metric strong {
    display: block;
    margin-top: 7px;
    color: #0f172a;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.05;
    font-weight: var(--rp-fw-bold);
    letter-spacing: -0.03em;
}

.rp-report-shared-metric span,
.rp-report-shared-metric em {
    display: block;
    font-style: normal;
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: 1.45;
}

.rp-report-shared-metric span {
    font-weight: var(--rp-fw-semibold);
}

.rp-report-shared-traffic-story {
    position: relative;
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.rp-report-shared-traffic-story::before {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 19px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(var(--rp-report-accent-rgb), 0.18) 0%, rgba(var(--rp-report-accent-rgb), 0.58) 22%, rgba(var(--rp-report-accent-rgb), 0.16) 100%);
}

.rp-report-shared-traffic-step {
    position: relative;
    padding-left: 54px;
}

.rp-report-shared-traffic-step-index {
    position: absolute;
    top: 14px;
    left: 0;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.22);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(var(--rp-report-accent-rgb), 0.1) 100%);
    color: var(--rp-report-accent-text);
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.14em;
    font-weight: var(--rp-fw-bold);
    box-shadow: 0 16px 28px rgba(var(--rp-report-accent-rgb), 0.12);
}

.rp-report-shared-traffic-step-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 6px;
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.12);
    border-radius: 20px;
    padding: 16px 18px 15px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.06);
}

.rp-report-shared-traffic-step-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(var(--rp-report-accent-rgb), 0.9) 0%, rgba(var(--rp-report-accent-rgb), 0.42) 100%);
}

.rp-report-shared-traffic-step-stage {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--rp-report-accent-text);
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-report-shared-traffic-step-card h5 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: var(--rp-fw-bold);
}

.rp-report-shared-traffic-step-card strong {
    display: block;
    color: #0f172a;
    font-size: clamp(25px, 2.3vw, 34px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: var(--rp-fw-bold);
}

.rp-report-shared-traffic-step-card p {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption-sm);
    line-height: 1.55;
}

.rp-report-shared-traffic-step:nth-child(2) .rp-report-shared-traffic-step-card {
    background: linear-gradient(180deg, rgba(var(--rp-report-accent-rgb), 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.rp-report-shared-traffic-step:nth-child(3) .rp-report-shared-traffic-step-card {
    background: linear-gradient(180deg, rgba(var(--rp-report-accent-rgb), 0.12) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.rp-report-shared-traffic-step:nth-child(4) .rp-report-shared-traffic-step-card {
    background: linear-gradient(180deg, rgba(var(--rp-report-accent-rgb), 0.16) 0%, rgba(255, 255, 255, 0.98) 100%);
}

@media (min-width: 720px) {
    .rp-report-shared-traffic-step:nth-child(1) .rp-report-shared-traffic-step-card {
        width: 100%;
    }

    .rp-report-shared-traffic-step:nth-child(2) .rp-report-shared-traffic-step-card {
        width: calc(100% - 18px);
    }

    .rp-report-shared-traffic-step:nth-child(3) .rp-report-shared-traffic-step-card {
        width: calc(100% - 36px);
    }

    .rp-report-shared-traffic-step:nth-child(4) .rp-report-shared-traffic-step-card {
        width: calc(100% - 54px);
    }
}

.rp-report-shared-funnel {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    counter-reset: rp-shared-funnel;
}

.rp-report-shared-funnel-step {
    position: relative;
    width: 100%;
    display: grid;
    gap: 5px;
    padding: 18px 20px 17px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    box-shadow: 0 20px 30px rgba(15, 23, 42, 0.18);
}

.rp-report-shared-funnel-step::before {
    counter-increment: rp-shared-funnel;
    content: counter(rp-shared-funnel, decimal-leading-zero);
    position: absolute;
    top: 14px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.88);
    font-size: 10px;
    font-weight: var(--rp-fw-bold);
    letter-spacing: 0.12em;
}

.rp-report-shared-funnel-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -16px;
    width: 2px;
    height: 16px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(var(--rp-report-accent-rgb), 0.46) 0%, rgba(var(--rp-report-accent-rgb), 0) 100%);
}

.rp-report-shared-funnel-step:nth-child(2) {
    background: linear-gradient(135deg, var(--rp-report-accent-strong) 0%, var(--rp-report-accent) 100%);
    box-shadow: 0 20px 30px rgba(var(--rp-report-accent-rgb), 0.22);
}

.rp-report-shared-funnel-step:nth-child(3):not(:last-child) {
    background: linear-gradient(135deg, rgba(var(--rp-report-accent-rgb), 0.92) 0%, rgba(var(--rp-report-accent-rgb), 0.72) 100%);
    box-shadow: 0 20px 30px rgba(var(--rp-report-accent-rgb), 0.2);
}

.rp-report-shared-funnel-step:last-child {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    box-shadow: 0 20px 30px rgba(16, 185, 129, 0.24);
}

.rp-report-shared-funnel-step strong {
    color: #ffffff;
    font-size: clamp(28px, 2.8vw, 34px);
    line-height: 1.02;
    font-weight: var(--rp-fw-bold);
    letter-spacing: -0.03em;
}

.rp-report-shared-funnel-step span,
.rp-report-shared-funnel-step em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--rp-text-caption-sm);
    line-height: 1.5;
}

.rp-report-shared-funnel-step span {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

@media (min-width: 680px) {
    .rp-report-shared-funnel-step:nth-child(1) {
        width: 100%;
    }

    .rp-report-shared-funnel-step:nth-child(2) {
        width: 86%;
    }

    .rp-report-shared-funnel-step:nth-child(3) {
        width: 72%;
    }

    .rp-report-shared-funnel-step:nth-child(4) {
        width: 60%;
    }
}

.rp-report-shared-funnel-arrow {
    display: none;
}

.rp-report-shared-list-grid {
    margin-top: 22px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 1080px) {
    .rp-report-shared-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-report-shared-list-card:first-child {
    border-color: rgba(30, 41, 59, 0.75);
    background: linear-gradient(160deg, #0f172a 0%, #172033 100%);
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.18);
}

.rp-report-shared-list-card:first-child h4,
.rp-report-shared-list-card:first-child p {
    color: #f8fafc;
}

.rp-report-shared-list-card:first-child p {
    color: rgba(241, 245, 249, 0.76);
}

.rp-report-shared-list-card.is-insight,
.rp-report-shared-list-card.is-action {
    border-color: rgba(var(--rp-report-accent-rgb), 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.98) 100%);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
}

.rp-report-shared-list-card.is-insight h4,
.rp-report-shared-list-card.is-insight p,
.rp-report-shared-list-card.is-action h4,
.rp-report-shared-list-card.is-action p {
    color: inherit;
}

.rp-report-shared-list-card.is-insight > .rp-report-shared-list-card-head h4,
.rp-report-shared-list-card.is-action > .rp-report-shared-list-card-head h4 {
    color: #0f172a;
}

.rp-report-shared-list-card.is-insight > .rp-report-shared-list-card-head p,
.rp-report-shared-list-card.is-action > .rp-report-shared-list-card-head p {
    color: #64748b;
}

.rp-report-shared-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.rp-report-shared-list li {
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    padding: 15px 16px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    color: #1e293b;
    font-size: var(--rp-text-body-sm);
    line-height: 1.72;
}

.rp-report-shared-list-card:first-child .rp-report-shared-list li {
    border-color: rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.52) 0%, rgba(15, 23, 42, 0.4) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
}

.rp-report-shared-list li > strong {
    display: block;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: 1.45;
    font-weight: var(--rp-fw-bold);
}

.rp-report-shared-list li p,
.rp-report-shared-list li span,
.rp-report-shared-list li em {
    margin: 6px 0 0;
    color: #475569;
    font-size: var(--rp-text-body-sm);
    line-height: 1.65;
    font-style: normal;
}

.rp-report-shared-list-card:first-child .rp-report-shared-list li > strong,
.rp-report-shared-list-card:first-child .rp-report-shared-list li p,
.rp-report-shared-list-card:first-child .rp-report-shared-list li span,
.rp-report-shared-list-card:first-child .rp-report-shared-list li em {
    color: #f8fafc;
}

.rp-report-shared-list-card:first-child .rp-report-shared-list li p,
.rp-report-shared-list-card:first-child .rp-report-shared-list li span,
.rp-report-shared-list-card:first-child .rp-report-shared-list li em {
    color: rgba(241, 245, 249, 0.88);
}

.rp-report-shared-insight-list,
.rp-report-shared-action-list {
    gap: 14px;
}

.rp-report-shared-insight-card,
.rp-report-shared-action-card {
    padding: 18px 20px 19px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.rp-report-shared-insight-card {
    border-color: rgba(var(--rp-report-accent-rgb), 0.12);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.rp-report-shared-insight-card strong,
.rp-report-shared-action-title {
    margin-top: 8px;
    display: block;
    color: #0f172a;
    font-size: clamp(18px, 1.7vw, 21px);
    line-height: 1.24;
    letter-spacing: -0.02em;
    font-weight: var(--rp-fw-bold);
    text-wrap: balance;
}

.rp-report-shared-insight-card-head {
    display: block;
}

.rp-report-shared-insight-card-head strong,
.rp-report-shared-action-title {
    margin-top: 0;
}

.rp-report-shared-insight-target,
.rp-report-shared-action-target {
    margin: 8px 0 0;
    color: var(--rp-report-accent-text);
    font-size: 14px;
    line-height: 1.55;
    font-weight: var(--rp-fw-semibold);
}

.rp-report-shared-insight-detail {
    margin: 4px 0 0;
    color: #64748b;
    font-size: var(--rp-text-caption-sm);
    line-height: 1.55;
}

.rp-report-shared-insight-body,
.rp-report-shared-action-card p {
    margin: 12px 0 0;
    color: #475569;
    font-size: var(--rp-text-body-sm);
    line-height: 1.78;
}

.rp-report-shared-action-card p .rp-prose-number-strong {
    color: #0f172a;
    font-weight: var(--rp-fw-bold);
}

.rp-report-shared-insight-body .rp-prose-metric-term {
    color: #334155;
    font-weight: var(--rp-fw-semibold);
}

.rp-report-shared-insight-body .rp-prose-metric-value {
    display: inline;
    margin: 0;
    padding: 0;
    background: none;
    color: #0f172a;
    border: 0;
    box-shadow: none;
    font-weight: var(--rp-fw-bold);
}

.rp-report-shared-insight-stats {
    margin-top: 14px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rp-report-shared-insight-stat {
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.1);
    border-radius: 14px;
    padding: 11px 12px 10px;
    background: rgba(var(--rp-report-accent-rgb), 0.05);
}

.rp-report-shared-insight-stat span {
    display: block;
    color: #64748b;
    font-size: 11px;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: var(--rp-fw-bold);
}

.rp-report-shared-insight-stat strong {
    margin-top: 7px;
    display: block;
    color: #0f172a;
    font-size: clamp(16px, 1.45vw, 21px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: var(--rp-fw-bold);
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: balance;
}

.rp-report-shared-action-card {
    border-color: rgba(var(--rp-report-accent-rgb), 0.14);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
    min-height: 168px;
}

.rp-report-shared-action-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.rp-report-shared-priority {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(var(--rp-report-accent-rgb), 0.16);
    background: rgba(var(--rp-report-accent-rgb), 0.08);
    color: var(--rp-report-accent-text);
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-report-shared-list li .rp-report-prose {
    margin-top: 0;
    font-size: var(--rp-text-body-sm);
    line-height: 1.65;
}

.rp-report-shared-list li .rp-prose-metric-term {
    color: var(--rp-report-accent-text);
}

.rp-report-shared-list li .rp-prose-metric-value {
    display: inline-block;
    white-space: nowrap;
    vertical-align: baseline;
    margin: 0 2px;
    padding: 0 7px;
    font-weight: var(--rp-fw-bold);
}

.rp-report-shared-list-card:first-child .rp-report-shared-list li .rp-prose-metric-term {
    color: #f8fafc;
}

.rp-report-shared-list-card:first-child .rp-report-shared-list li .rp-prose-metric-value {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rp-report-shared-list-card.is-insight .rp-report-shared-list li,
.rp-report-shared-list-card.is-action .rp-report-shared-list li {
    border-color: rgba(var(--rp-report-accent-rgb), 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
    color: #1e293b;
}

.rp-report-shared-list-card.is-insight .rp-report-shared-list li > strong,
.rp-report-shared-list-card.is-insight .rp-report-shared-list li p,
.rp-report-shared-list-card.is-insight .rp-report-shared-list li span,
.rp-report-shared-list-card.is-insight .rp-report-shared-list li em,
.rp-report-shared-list-card.is-action .rp-report-shared-list li > strong,
.rp-report-shared-list-card.is-action .rp-report-shared-list li p,
.rp-report-shared-list-card.is-action .rp-report-shared-list li span,
.rp-report-shared-list-card.is-action .rp-report-shared-list li em {
    color: inherit;
}

.rp-report-shared-list-card.is-insight .rp-report-shared-list li .rp-prose-metric-term {
    color: #334155;
}

.rp-report-shared-list-card.is-insight .rp-report-shared-list li .rp-prose-metric-value {
    display: inline;
    margin: 0;
    padding: 0;
    color: #0f172a;
    background: none;
    border: 0;
    box-shadow: none;
}

@media (max-width: 640px) {
    .rp-report-shared-insight-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-report-shared-note {
    margin-top: 16px;
    border-top: 1px solid rgba(var(--rp-report-accent-rgb), 0.12);
    padding-top: 14px;
    color: #475569;
    font-size: var(--rp-text-caption-sm);
    line-height: 1.7;
}

.rp-role-executive-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    align-items: start;
}

@media (min-width: 1080px) {
    .rp-role-executive-grid {
        grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
    }
}

.rp-role-bullet-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
}

.rp-role-bullet-list li {
    border: 1px solid #e7eef8;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 11px 12px;
}

.rp-role-bullet-list li .rp-report-prose {
    margin: 0;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
}

.rp-role-decision-strip {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 980px) {
    .rp-role-decision-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.rp-role-decision-stat {
    position: relative;
    overflow: hidden;
    border: 1px solid #e5edf7;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    padding: 22px 24px 20px;
    min-height: 164px;
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.06);
    display: grid;
    align-content: start;
    gap: 12px;
}

.rp-role-decision-stat span {
    display: block;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-role-decision-stat strong {
    display: block;
    color: #0f172a;
    font-size: clamp(34px, 2.2vw, 42px);
    line-height: 0.96;
    letter-spacing: -0.04em;
    font-weight: var(--rp-fw-bold);
}

.rp-role-decision-stat em {
    display: block;
    font-style: normal;
    color: #475569;
    font-size: var(--rp-text-caption-sm);
    line-height: 1.65;
}

.rp-executive-decision-strip .rp-role-decision-stat::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: #cbd5e1;
}

.rp-executive-decision-strip .rp-role-decision-stat.tone-scale {
    background: linear-gradient(180deg, #ffffff 0%, #f2fbf6 100%);
    border-color: rgba(16, 185, 129, 0.18);
}

.rp-executive-decision-strip .rp-role-decision-stat.tone-scale::before {
    background: #10b981;
}

.rp-executive-decision-strip .rp-role-decision-stat.tone-maintain {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border-color: rgba(37, 99, 235, 0.16);
}

.rp-executive-decision-strip .rp-role-decision-stat.tone-maintain::before {
    background: #2563eb;
}

.rp-executive-decision-strip .rp-role-decision-stat.tone-fix {
    background: linear-gradient(180deg, #ffffff 0%, #fff9ef 100%);
    border-color: rgba(245, 158, 11, 0.18);
}

.rp-executive-decision-strip .rp-role-decision-stat.tone-fix::before {
    background: #f59e0b;
}

.rp-executive-decision-strip .rp-role-decision-stat.tone-stop,
.rp-executive-decision-strip .rp-role-decision-stat.tone-pause {
    background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
    border-color: rgba(239, 68, 68, 0.18);
}

.rp-executive-decision-strip .rp-role-decision-stat.tone-stop::before,
.rp-executive-decision-strip .rp-role-decision-stat.tone-pause::before {
    background: #ef4444;
}

.rp-role-priority-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.rp-role-priority-card {
    border: 1px solid #e2eaf7;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
    padding: 24px 24px 22px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.rp-role-priority-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.rp-role-priority-card-title {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-body);
    line-height: 1.5;
    font-weight: var(--rp-fw-bold);
}

.rp-role-priority-card-value {
    margin: 18px 0 0;
    color: #0f172a;
    font-size: clamp(24px, 1.9vw, 34px);
    line-height: 1.22;
    font-weight: var(--rp-fw-bold);
    letter-spacing: -0.03em;
}

.rp-role-priority-card-meta {
    margin: 12px 0 0;
    color: #475569;
    font-size: var(--rp-text-body-sm);
    line-height: 1.72;
    font-weight: var(--rp-fw-semibold);
}

.rp-role-priority-card-note {
    margin: 16px 0 0;
    color: #334155;
    font-size: var(--rp-text-body-sm);
    line-height: 1.8;
    font-weight: var(--rp-fw-medium);
}

.rp-role-priority-card .rp-summary-action-priority {
    flex-shrink: 0;
    padding: 5px 10px;
    border-color: rgba(var(--rp-report-accent-rgb), 0.16);
    background: rgba(var(--rp-report-accent-rgb), 0.08);
    color: #334155;
}

.rp-role-owner-focus-card .rp-role-priority-card-title {
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: 1.45;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rp-role-owner-focus-card .rp-role-priority-card-value {
    font-size: clamp(20px, 1.45vw, 28px);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rp-role-owner-action-card .rp-role-priority-card-title {
    font-size: var(--rp-text-body);
    line-height: 1.55;
    letter-spacing: -0.01em;
}

.rp-role-owner-action-card .rp-role-priority-card-note {
    margin-top: 14px;
}

.rp-role-owner-action-card .rp-role-priority-card-note .rp-prose-number-strong {
    color: #0f172a;
    font-weight: var(--rp-fw-bold);
}

.rp-role-owner-focus-card,
.rp-role-owner-action-card {
    padding: 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.06);
}

.rp-role-owner-focus-card {
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(var(--rp-report-accent-rgb), 0.08) 0%, rgba(255, 255, 255, 0.98) 44%),
        #ffffff;
}

.rp-role-owner-action-card {
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(37, 99, 235, 0.06) 0%, rgba(255, 255, 255, 0.98) 46%),
        #ffffff;
}

.rp-role-owner-focus-card .rp-card-header,
.rp-role-owner-action-card .rp-card-header {
    padding: 30px 30px 18px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.rp-role-owner-focus-card .rp-card-subtitle,
.rp-role-owner-action-card .rp-card-subtitle {
    max-width: 48ch;
}

.rp-role-owner-focus-card .rp-role-priority-grid,
.rp-role-owner-action-card .rp-role-priority-grid {
    padding: 22px 24px 26px;
}

.rp-role-owner-focus-card .rp-role-priority-card {
    min-height: 188px;
}

.rp-role-owner-action-card .rp-role-priority-card {
    min-height: 172px;
}

@media (max-width: 760px) {
    .rp-executive-slide {
        padding: 18px;
        border-radius: 26px;
    }

    .rp-executive-slide > .rp-card-header {
        padding-bottom: 16px;
    }

    .rp-executive-owner-brief {
        padding: 20px 18px;
        border-radius: 24px;
    }

    .rp-executive-owner-matrix .rp-card-header {
        padding: 24px 20px 16px;
    }

    .rp-executive-decision-grid {
        padding: 18px 16px 20px;
    }

    .rp-executive-decision-card {
        padding: 18px 18px 17px;
        border-radius: 20px;
    }

    .rp-role-owner-focus-card .rp-card-header,
    .rp-role-owner-action-card .rp-card-header {
        padding: 24px 20px 16px;
    }

    .rp-executive-owner-ai-card .rp-card-header {
        padding: 22px 18px 14px;
    }

    .rp-executive-owner-ai-list {
        padding: 16px 14px 16px;
    }

    .rp-executive-owner-ai-item {
        padding: 14px 14px;
        gap: 12px;
    }

    .rp-role-owner-focus-card .rp-role-priority-grid,
    .rp-role-owner-action-card .rp-role-priority-grid {
        padding: 18px 16px 20px;
    }

    .rp-role-priority-card {
        padding: 18px 18px 17px;
        border-radius: 20px;
    }
}

.rp-plan-next-hero {
    display: grid;
    gap: 24px;
    background:
        radial-gradient(120% 140% at 0% 0%, #edf3ff 0%, #ffffff 44%),
        radial-gradient(100% 120% at 100% 100%, #f0f9ff 0%, rgba(255, 255, 255, 0) 70%),
        #ffffff;
}

.rp-plan-next-kpi-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 760px) {
    .rp-plan-next-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1220px) {
    .rp-plan-next-kpi-grid {
        grid-template-columns: 1.1fr 0.9fr 1fr 1fr;
    }
}

@media (min-width: 1220px) {
    .rp-plan-next-panel-shopee.is-setup-mode .rp-plan-next-kpi-grid {
        grid-template-columns: 1.1fr 0.85fr 1fr;
    }
}

.rp-plan-next-kpi {
    border: 1px solid #dfe8fb;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 16px 16px 15px;
}

.rp-plan-next-kpi-label {
    margin: 0;
    color: #94a3b8;
    font-size: var(--rp-text-caption-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
    display: block;
}

.rp-plan-next-kpi-value {
    margin: 9px 0 0;
    color: #0f172a;
    font-size: var(--rp-text-display);
    line-height: var(--rp-lh-number);
    letter-spacing: -0.01em;
    font-weight: var(--rp-fw-bold);
}

.rp-plan-next-kpi-note {
    margin: 8px 0 0;
    color: #475569;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-semibold);
}

.rp-plan-next-growth-kpi {
    border-color: #cfe0ff;
    background: linear-gradient(180deg, #f9fbff 0%, #f2f7ff 100%);
}

.rp-plan-next-growth-input-wrap {
    margin-top: 9px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #c8d8ff;
    border-radius: 12px;
    background: #ffffff;
    padding: 0 10px;
}

.rp-plan-next-growth-input-wrap span {
    color: #64748b;
    font-size: var(--rp-text-body-sm);
    font-weight: var(--rp-fw-bold);
}

.rp-plan-next-growth-input {
    width: 110px;
    min-width: 0;
    border: 0 !important;
    box-shadow: none !important;
    padding: 10px 0 !important;
    background: transparent !important;
    font-size: var(--rp-text-title) !important;
    font-weight: var(--rp-fw-bold);
    color: #0f172a;
    text-align: right;
}

.rp-plan-next-growth-input:focus-visible {
    outline: none;
}

.rp-plan-next-analyze-form {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rp-plan-next-inline-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rp-plan-next-inline-label {
    color: #475569;
    font-size: var(--rp-text-caption);
    font-weight: var(--rp-fw-bold);
    line-height: var(--rp-lh-compact);
}

.rp-plan-next-pov-select {
    min-width: 210px;
    border: 1px solid #c8d8ff;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    font-weight: var(--rp-fw-semibold);
    line-height: var(--rp-lh-compact);
    padding: 10px 14px;
}

.rp-plan-next-pov-select:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.18);
    outline-offset: 1px;
}

.rp-plan-next-summary-grid {
    margin-top: 4px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 760px) {
    .rp-plan-next-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1180px) {
    .rp-plan-next-summary-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.rp-plan-next-summary {
    border: 1px solid #e2e8f7;
    border-radius: 12px;
    background: #ffffff;
    padding: 14px 14px 13px;
}

.rp-plan-next-summary-label {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-plan-next-summary-value {
    margin: 8px 0 0;
    color: #0f172a;
    font-size: var(--rp-text-h2);
    line-height: var(--rp-lh-number);
    letter-spacing: -0.01em;
    font-weight: var(--rp-fw-bold);
}

.rp-plan-next-readout-grid,
.rp-plan-next-ai-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    align-items: start;
}

@media (min-width: 1080px) {
    .rp-plan-next-readout-grid,
    .rp-plan-next-ai-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-plan-next-signal-card,
.rp-plan-next-ai-card {
    border-radius: 18px;
    border: 1px solid #e5ecfb;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 18px 18px 17px;
    align-self: start;
}

.rp-plan-next-signal-card.is-high {
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #f6fef8 0%, #ffffff 100%);
}

.rp-plan-next-signal-card.is-medium,
.rp-plan-next-signal-card.is-stretch {
    border-color: #fde68a;
    background: linear-gradient(180deg, #fffdf4 0%, #ffffff 100%);
}

.rp-plan-next-signal-card.is-low,
.rp-plan-next-signal-card.is-aggressive {
    border-color: #fecaca;
    background: linear-gradient(180deg, #fff8f8 0%, #ffffff 100%);
}

.rp-plan-next-signal-card.is-reasonable {
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #f6fef8 0%, #ffffff 100%);
}

.rp-plan-next-signal-headline {
    margin-top: 2px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.rp-plan-next-signal-value {
    margin: 0;
    color: #0f172a;
    font-size: clamp(34px, 5vw, 46px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    font-weight: var(--rp-fw-bold);
}

.rp-plan-next-signal-value span {
    color: #64748b;
    font-size: 0.42em;
    font-weight: var(--rp-fw-bold);
    margin-left: 2px;
}

.rp-plan-next-signal-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: var(--rp-text-caption-xs);
    line-height: 1.2;
    font-weight: var(--rp-fw-bold);
    padding: 7px 11px;
    white-space: nowrap;
}

.rp-plan-next-signal-chip.is-high {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.rp-plan-next-signal-chip.is-medium {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
}

.rp-plan-next-signal-chip.is-low {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.rp-plan-next-signal-copy {
    margin: 12px 0 0;
    color: #475569;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
}

.rp-plan-next-signal-footnote {
    margin: 12px 0 0;
    color: #92400e;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
}

.rp-plan-next-ai-list {
    margin-top: 2px;
    display: grid;
    gap: 12px;
}

.rp-plan-next-readout-grid,
.rp-plan-next-ai-grid {
    align-items: start;
}

.rp-plan-next-ai-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #e8eefb;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    padding: 14px 14px 13px;
}

.rp-plan-next-ai-index {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fff2e8;
    color: var(--rp-shopee-accent-text);
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-bold);
}

.rp-plan-next-ai-copy {
    min-width: 0;
    color: #334155;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
}

.rp-plan-next-ai-copy strong {
    color: #0f172a;
}

.rp-plan-next-meta-strip {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rp-plan-next-meta-item {
    border-radius: 999px;
    border: 1px solid #d9e4ff;
    background: #f8fbff;
    color: #334155;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-semibold);
    padding: 5px 10px;
}

.rp-plan-next-layout-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 1180px) {
    .rp-plan-next-layout-grid {
        grid-template-columns: 0.95fr 1.05fr;
    }
}

.rp-plan-next-strategy-list {
    display: grid;
    gap: 12px;
}

.rp-plan-next-strategy-item {
    border: 1px solid #e3e9f8;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 14px 14px 13px;
}

.rp-plan-next-strategy-title {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    font-weight: var(--rp-fw-bold);
    line-height: var(--rp-lh-tight);
}

.rp-plan-next-strategy-detail {
    margin: 8px 0 0;
    color: #475569;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
}

.rp-plan-next-risk-list {
    margin-top: 16px;
    border-top: 1px dashed #dbe6ff;
    padding-top: 16px;
    display: grid;
    gap: 8px;
}

.rp-plan-next-risk-item {
    margin: 0;
    display: inline-flex;
    align-items: flex-start;
    gap: 7px;
    color: #334155;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
}

.rp-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: var(--rp-text-caption-xs);
    line-height: 1;
    font-weight: var(--rp-fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rp-pill-high {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.rp-pill-medium {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.rp-pill-low {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.rp-metric-guide-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 980px) {
    .rp-metric-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1240px) {
    .rp-metric-guide-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.rp-metric-guide-item {
    border: 1px solid #e6ecff;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 12px;
}

.rp-metric-guide-title {
    margin: 0;
    color: #1e293b;
    font-size: var(--rp-text-body-sm);
    font-weight: var(--rp-fw-bold);
}

.rp-metric-guide-meaning {
    margin: 6px 0 0;
    font-size: var(--rp-text-caption);
    color: #475569;
    line-height: var(--rp-lh-compact);
}

.rp-metric-guide-benchmark {
    margin: 8px 0 0;
    font-size: var(--rp-text-caption-xs);
    color: #64748b;
    line-height: var(--rp-lh-compact);
}

.rp-metric-guide-status {
    margin: 8px 0 0;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-semibold);
    line-height: var(--rp-lh-compact);
}

.rp-metric-guide-status.is-strong {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.rp-metric-guide-status.is-healthy {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.rp-metric-guide-status.is-watch {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #b45309;
}

.rp-metric-guide-status.is-weak {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.rp-metric-guide-status.is-neutral {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.rp-metric-guide-good {
    margin: 8px 0 0;
    padding: 7px 9px;
    border-radius: 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-semibold);
    line-height: var(--rp-lh-compact);
}

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

.rp-infographic-stat {
    border: 1px solid #e5eaf7;
    border-radius: 12px;
    background: #f8fbff;
    padding: 10px 11px;
}

.rp-infographic-label {
    margin: 0;
    font-size: var(--rp-text-caption-xs);
    color: #64748b;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-infographic-value {
    margin: 8px 0 0;
    font-size: var(--rp-text-h2);
    line-height: var(--rp-lh-number);
    letter-spacing: -0.01em;
    font-weight: var(--rp-fw-bold);
    color: #0f172a;
}

.rp-infographic-track-group {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.rp-infographic-track {
    margin-top: 12px;
}

.rp-infographic-track-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: var(--rp-text-caption);
    color: #475569;
    font-weight: var(--rp-fw-semibold);
}

.rp-infographic-track-bar {
    margin-top: 6px;
    height: 9px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.rp-infographic-track-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #465fff 0%, #3b82f6 100%);
}

.rp-infographic-track-bar.is-product span {
    background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 100%);
}

.rp-infographic-track-bar.is-shop span {
    background: linear-gradient(90deg, #14b8a6 0%, #22c55e 100%);
}

.rp-infographic-track-bar.is-info span {
    background: linear-gradient(90deg, #0284c7 0%, #0ea5e9 100%);
}

.rp-infographic-track-bar.is-success span {
    background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%);
}

.rp-infographic-track-bar.is-slate span {
    background: linear-gradient(90deg, #64748b 0%, #94a3b8 100%);
}

.rp-traffic-funnel {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 860px) {
    .rp-traffic-funnel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.rp-traffic-step {
    border: 1px solid #dfe7fa;
    border-radius: 12px;
    background: #f8fbff;
    padding: 11px;
}

.rp-traffic-step-note {
    margin: 8px 0 0;
    font-size: var(--rp-text-caption-xs);
    color: #475569;
    font-weight: var(--rp-fw-semibold);
}

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

.rp-infographic-micro {
    border: 1px dashed #d7e1ff;
    border-radius: 11px;
    padding: 9px 10px;
    background: #ffffff;
}

.rp-infographic-micro p {
    margin: 0;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    color: #64748b;
}

.rp-infographic-micro strong {
    margin-top: 6px;
    display: block;
    font-size: var(--rp-text-title);
    line-height: var(--rp-lh-tight);
    color: #0f172a;
    font-weight: var(--rp-fw-bold);
}

.rp-report-prose {
    margin: 10px 0 0;
    color: #334155;
    font-size: var(--rp-report-body-size);
    line-height: var(--rp-report-body-line);
    max-width: none;
}

.rp-report-list {
    margin: 12px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    color: #334155;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-report-subsection {
    border-top: 1px solid #e9eef8;
    padding-top: 12px;
    margin-top: 12px;
}

.rp-report-subsection:first-of-type {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.rp-report-subtitle {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-text-caption);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: var(--rp-fw-bold);
}

.rp-report-chart-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 1080px) {
    .rp-report-chart-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rp-report-chart-card {
    border: 1px solid #e5eaf7;
    background: #ffffff;
    border-radius: 14px;
    padding: 12px;
}

.rp-report-chart-title {
    margin: 0 0 8px;
    font-size: var(--rp-text-body-sm);
    color: #334155;
    font-weight: var(--rp-fw-bold);
}

.rp-report-table thead th {
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
}

.rp-report-table tbody td {
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
}

.rp-report .rp-table-wrap {
    border: 1px solid #e7ecf8;
    border-radius: 12px;
    background: #ffffff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rp-report-table {
    width: 100%;
    min-width: 640px;
}

.rp-report-table.rp-report-table-compact {
    min-width: 560px;
}

.rp-report-table.rp-report-table-wide {
    min-width: 980px;
}

.rp-report-canvas-wrap {
    position: relative;
    min-height: 220px;
}

@media (max-width: 860px) {
    .rp-report {
        gap: 14px;
    }

    .rp-report-mode-wrap {
        align-items: flex-start;
        flex-direction: column;
    }

    .rp-report-mode-note {
        font-size: var(--rp-text-caption-xs);
    }

    .rp-report-cover {
        padding: 16px;
    }

    .rp-report-mode-note {
        display: none;
    }

    .rp-report .rp-card {
        padding: 14px;
        border-radius: 14px;
    }

    .rp-report .rp-card-title {
        font-size: var(--rp-text-title);
    }

    .rp-report .rp-card-subtitle {
        font-size: var(--rp-text-caption);
        line-height: var(--rp-lh-compact);
    }

    .rp-report-cover-title {
        font-size: clamp(18px, 5.6vw, 26px);
    }

    .rp-report-cover-subtitle {
        margin-top: 6px;
        font-size: 14px;
        line-height: 1.45;
    }

    .rp-report-meta-chip {
        padding: 4px 9px;
        font-size: var(--rp-text-caption-xs);
    }

    .rp-report-meta-chip-generated-by,
    .rp-report-meta-chip-generated-at,
    .rp-report-meta-chip-source,
    .rp-report-meta-chip-language {
        display: none !important;
    }

    .rp-report-kpi-card {
        min-height: 94px;
        padding: 12px;
    }

    .rp-report-kpi-value {
        margin-top: 8px;
        font-size: var(--rp-text-display);
    }

    .rp-report-kpi-trend {
        margin-top: 7px;
        padding: 4px 8px;
        font-size: var(--rp-text-caption-xs);
    }

    .rp-report-kpi-note {
        margin-top: 7px;
    }

    .rp-plan-next-kpi {
        padding: 12px;
    }

    .rp-plan-next-kpi-value {
        font-size: var(--rp-text-h2);
    }

    .rp-plan-next-growth-input {
        font-size: var(--rp-text-title) !important;
    }

    .rp-plan-next-summary-value {
        font-size: var(--rp-text-h3);
    }

    .rp-plan-next-signal-card,
    .rp-plan-next-ai-card,
    .rp-plan-next-calendar-card {
        padding: 12px 12px 11px;
        border-radius: 16px;
    }

    .rp-plan-next-signal-headline,
    .rp-plan-next-calendar-head,
    .rp-plan-next-event-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .rp-plan-next-signal-value {
        font-size: 32px;
    }

    .rp-plan-next-panel-shopee .rp-card-header {
        gap: 10px;
    }

    .rp-plan-next-panel-shopee .rp-card-subtitle {
        font-size: var(--rp-text-caption);
        line-height: 1.45;
    }

    .rp-plan-next-ai-card .rp-card-subtitle,
    .rp-plan-next-signal-card .rp-card-subtitle,
    .rp-plan-next-guide-card .rp-card-subtitle,
    .rp-plan-next-context-card .rp-card-subtitle,
    .rp-plan-next-spotlight-card .rp-card-subtitle,
    .rp-plan-next-reference-card .rp-card-subtitle,
    .rp-plan-next-strategy-card .rp-card-subtitle,
    .rp-plan-next-execution-card .rp-card-subtitle,
    .rp-plan-next-calendar-shell > .rp-card-header .rp-card-subtitle {
        display: none;
    }

    .rp-plan-next-guide-card .rp-metric-guide-grid {
        gap: 8px;
    }

    .rp-plan-next-guide-card .rp-metric-guide-item,
    .rp-plan-next-spotlight-card .rp-plan-next-strategy-item,
    .rp-plan-next-strategy-card .rp-plan-next-strategy-item {
        padding: 9px 10px 8px;
    }

    .rp-plan-next-event-item {
        flex-direction: column;
        gap: 8px;
    }

    .rp-plan-next-event-list-timeline {
        gap: 10px;
        padding-left: 10px;
    }

    .rp-plan-next-event-list-timeline::before {
        left: 8px;
    }

    .rp-plan-next-event-item-timeline {
        gap: 10px;
        padding-left: 12px;
    }

    .rp-plan-next-event-item-timeline::before {
        left: -7px;
        top: 16px;
        width: 8px;
        height: 8px;
        box-shadow: 0 0 0 3px #eff6ff;
    }

    .rp-plan-next-ai-list,
    .rp-plan-next-event-list {
        gap: 8px;
    }

    .rp-plan-next-calendar-grid {
        gap: 10px;
    }

    .rp-plan-next-ai-item,
    .rp-plan-next-event-item {
        padding: 10px 10px 9px;
    }

    .rp-plan-next-ai-index {
        width: 28px;
        height: 28px;
    }

    .rp-plan-next-ai-item {
        border: 0;
        background: transparent;
        padding: 0;
        border-radius: 0;
        gap: 10px;
    }

    .rp-plan-next-ai-item + .rp-plan-next-ai-item {
        padding-top: 10px;
        border-top: 1px solid #e8eefb;
    }

    .rp-plan-next-event-date {
        min-width: 0;
        width: max-content;
        padding: 5px 8px;
    }

    .rp-plan-next-calendar-title,
    .rp-plan-next-event-title {
        font-size: var(--rp-text-caption);
    }

    .rp-plan-next-event-note,
    .rp-plan-next-event-play,
    .rp-plan-next-event-meta,
    .rp-plan-next-calendar-source {
        font-size: var(--rp-text-caption-xs);
    }

    .rp-plan-next-ai-copy {
        font-size: 10.5px;
        line-height: 1.32;
    }

    .rp-plan-next-compass-copy,
    .rp-plan-next-event-note,
    .rp-plan-next-event-play,
    .rp-plan-next-strategy-detail {
        font-size: 10.5px;
        line-height: 1.32;
    }

    .rp-plan-next-strategy-title,
    .rp-plan-next-calendar-title,
    .rp-plan-next-context-value {
        font-size: 12px;
        line-height: 1.35;
    }

    .rp-plan-next-event-play {
        padding: 6px 8px;
        border-radius: 10px;
        margin-top: 6px;
    }

    .rp-plan-next-readout-grid,
    .rp-plan-next-ai-grid {
        gap: 10px;
    }

    .rp-plan-next-signal-card,
    .rp-plan-next-ai-card,
    .rp-plan-next-spotlight-card,
    .rp-plan-next-reference-card,
    .rp-plan-next-focus-card,
    .rp-plan-next-strategy-card,
    .rp-plan-next-execution-card,
    .rp-plan-next-context-card,
    .rp-plan-next-calendar-shell {
        border-radius: 16px;
    }

    .rp-plan-next-spotlight-card .rp-plan-next-strategy-list,
    .rp-plan-next-strategy-card .rp-plan-next-strategy-list {
        gap: 8px;
    }

    .rp-plan-next-panel-shopee .rp-plan-next-context-list,
    .rp-plan-next-panel-shopee .rp-plan-next-strategy-list,
    .rp-plan-next-panel-shopee .rp-plan-next-compass {
        gap: 8px;
    }

    .rp-plan-next-panel-shopee .rp-plan-next-context-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-plan-next-panel-shopee .rp-plan-next-context-item,
    .rp-plan-next-strategy-item,
    .rp-plan-next-panel-shopee .rp-plan-next-compass-item {
        padding: 8px 10px 8px;
    }

    .rp-plan-next-panel-shopee .rp-plan-next-context-summary {
        margin-top: 7px;
        padding: 8px 9px 8px 11px;
        font-size: 10.5px;
        line-height: 1.32;
    }

    .rp-plan-next-panel-shopee .rp-plan-next-context-summary .rp-plan-next-context-label {
        margin-bottom: 4px;
    }

    .rp-plan-next-panel-shopee .rp-plan-next-context-summary .rp-plan-next-context-value {
        font-size: 11px;
        line-height: 1.34;
    }

    .rp-plan-next-guide-card .rp-metric-guide-meaning,
    .rp-plan-next-guide-card .rp-metric-guide-benchmark,
    .rp-plan-next-guide-card .rp-metric-guide-good,
    .rp-plan-next-context-value,
    .rp-plan-next-kpi-note {
        font-size: 10.5px;
        line-height: 1.32;
    }

    .rp-plan-next-focus-card .rp-card-header + .rp-plan-next-risk-list,
    .rp-plan-next-focus-card .rp-table-wrap + .rp-card-header {
        margin-top: 20px;
    }

    .rp-plan-next-risk-list {
        gap: 8px;
        padding-top: 12px;
    }

    .rp-plan-next-risk-item {
        font-size: 10.5px;
        line-height: 1.35;
    }

    .rp-plan-next-panel-shopee .rp-plan-next-execution-card .rp-report-table th:first-child,
    .rp-plan-next-panel-shopee .rp-plan-next-execution-card .rp-report-table td:first-child {
        min-width: 84px;
    }

    .rp-plan-next-calendar-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .rp-plan-next-calendar-card.is-commerce .rp-plan-next-event-item {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px 10px;
        align-items: flex-start;
    }

    .rp-plan-next-calendar-card.is-commerce .rp-plan-next-event-date {
        grid-row: 1 / span 3;
        align-self: flex-start;
    }

    .rp-plan-next-calendar-source {
        white-space: normal;
    }

    .rp-plan-next-event-list-timeline {
        padding-left: 10px;
    }

    .rp-plan-next-event-list-timeline::before {
        left: 8px;
    }

    .rp-plan-next-event-item-timeline {
        padding-left: 12px;
    }

    .rp-plan-next-event-item-timeline::before {
        left: -7px;
    }

    .rp-report-prose {
        font-size: var(--rp-text-body);
        line-height: var(--rp-lh-body);
    }

    .rp-summary-compare-delta {
        max-width: 16ch;
        font-size: 10px;
        line-height: 1.35;
    }

    .rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-highlight-item-visual {
        padding: 10px 11px;
    }

    .rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-highlight-item-visual .rp-summary-highlight-value {
        font-size: var(--rp-text-body-sm);
    }

    .rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-insight-panel,
    .rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-action-item {
        padding: 11px 12px;
    }

    .rp-report-tab-panel[data-report-tab='comprehensive'] .rp-summary-action-list-comprehensive {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .rp-comprehensive-quick-scan-card {
        margin-top: 0;
    }

    .rp-report-tab-panel[data-report-tab='comprehensive'] .rp-report-table th,
    .rp-report-tab-panel[data-report-tab='comprehensive'] .rp-report-table td {
        padding: 7px 8px;
        font-size: 11px;
    }

    .rp-report-tab-panel[data-report-tab='comprehensive'] .rp-report-table.rp-report-table-compact {
        min-width: 520px;
    }

    .rp-report-tab-panel[data-report-tab='comprehensive'] .rp-report-table.rp-report-table-wide {
        min-width: 760px;
    }

    .rp-report-list {
        font-size: var(--rp-text-body-sm);
        line-height: var(--rp-lh-body);
        padding-left: 16px;
    }

    .rp-report-subtitle {
        font-size: var(--rp-text-caption-xs);
    }

    .rp-report-table th,
    .rp-report-table td {
        padding: 8px 10px;
        font-size: var(--rp-text-caption);
        white-space: nowrap;
    }

    .rp-report-table thead th:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
    }

    .rp-report-table tbody td:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        background: #ffffff;
        box-shadow: 1px 0 0 #eef2ff;
    }

    .rp-summary-top-chart-card .rp-report-canvas-wrap {
        min-height: 220px;
    }

    .rp-summary-compare-row {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .rp-summary-compare-center {
        justify-items: flex-start;
        min-width: 0;
    }

    .rp-summary-compare-center p {
        text-align: left;
    }

    .rp-summary-compare-delta {
        max-width: none;
        text-align: left;
    }

    .rp-summary-compare-side.is-product strong {
        text-align: left;
    }

    .rp-summary-insight-visual-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .rp-summary-final-insight-head {
        gap: 8px;
    }

    .rp-summary-final-insight-card,
    .rp-summary-final-action-card {
        padding: 14px 14px 15px;
    }

    .rp-summary-final-insight-copy > strong,
    .rp-summary-final-action-card .rp-report-shared-action-title {
        font-size: 15px;
    }

    .rp-summary-final-insight-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-comprehensive-prose-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .rp-comprehensive-deep-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .rp-report-tab-panel[data-report-tab='comprehensive'] .rp-report-table thead th:first-child,
    .rp-report-tab-panel[data-report-tab='comprehensive'] .rp-report-table tbody td:first-child {
        position: static;
        left: auto;
        box-shadow: none;
    }
}

.rp-auth-switch {
    margin: 14px 0 0;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    color: #64748b;
    text-align: center;
}

.rp-auth-switch a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: var(--rp-fw-bold);
}

.rp-auth-switch a:hover {
    text-decoration: underline;
}

.rp-verify-card {
    max-width: 640px;
    position: relative;
    overflow: hidden;
    border: 1px solid #cfe0ff;
    background:
        radial-gradient(120% 65% at 96% -10%, rgba(59, 130, 246, 0.14) 0%, rgba(59, 130, 246, 0) 55%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.rp-verify-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 35%);
}

.rp-verify-topline {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.rp-verify-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    border: 1px solid #c6f6d5;
    background: #ecfdf3;
    color: #166534;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-semibold);
    letter-spacing: 0.02em;
    padding: 0 12px;
}

.rp-verify-center {
    position: relative;
    z-index: 1;
}

.rp-verify-brand-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin: 0 auto 8px;
}

.rp-verify-check-wrap {
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
}

.rp-verify-check {
    width: 74px;
    height: 74px;
    margin: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    line-height: 74px;
    text-align: center;
    box-shadow: 0 14px 28px rgba(34, 197, 94, 0.28);
    animation: rpVerifyPop 0.36s ease-out;
}

.rp-verify-status {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.rp-verify-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rp-verify-item {
    position: relative;
    z-index: 1;
    border: 1px solid #d8e4ff;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 12px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
}

.rp-verify-label {
    display: block;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 4px;
}

.rp-verify-value {
    display: block;
    font-size: var(--rp-text-body-sm);
    line-height: 1.45;
    color: #0f172a;
    word-break: break-word;
}

.rp-verify-note {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 12px;
}

.rp-verify-login-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    justify-content: center;
    width: 100%;
}

@keyframes rpVerifyPop {
    0% {
        transform: scale(0.84);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .rp-verify-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .rp-verify-brand-logo {
        width: 62px;
        height: 62px;
    }

    .rp-verify-check {
        width: 68px;
        height: 68px;
        font-size: 39px;
        line-height: 68px;
    }
}

.rp-marketing-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--rp-font-family-sans);
    color: #0f172a;
    background:
        radial-gradient(120% 80% at 80% -5%, #dbe7ff 0%, rgba(219, 231, 255, 0) 65%),
        radial-gradient(100% 70% at 0% 12%, rgba(147, 197, 253, 0.55) 0%, rgba(147, 197, 253, 0) 64%),
        radial-gradient(90% 60% at -10% 110%, #dbeafe 0%, rgba(219, 234, 254, 0) 65%),
        #f5f8ff;
    background-attachment: fixed;
}

.rp-marketing-shell {
    max-width: 1480px;
    margin: 0 auto;
    padding: 18px clamp(16px, 4vw, 56px) 36px;
    --rp-landing-body: 16px;
    --rp-landing-body-sm: 15px;
    --rp-landing-caption: 13px;
    --rp-landing-micro: 12px;
}

.rp-marketing-topbar {
    display: grid;
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr) minmax(250px, 320px);
    align-items: center;
    column-gap: 14px;
    border: 1px solid #dbe4ff;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    position: sticky;
    top: 12px;
    z-index: 60;
}

.rp-marketing-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.rp-marketing-brand-logo-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #dbe4ff;
    background: #ffffff;
    overflow: hidden;
    flex: 0 0 42px;
}

.rp-marketing-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.rp-marketing-brand-text {
    font-size: 26px;
    font-weight: var(--rp-fw-bold);
    letter-spacing: -0.02em;
    line-height: 1;
}

.rp-marketing-brand-raven {
    color: #0f172a;
}

.rp-marketing-brand-pulse {
    color: #1d4ed8;
}

.rp-marketing-topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
    justify-content: flex-end;
    flex-wrap: nowrap;
    white-space: nowrap;
    width: 100%;
}

.rp-marketing-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border-radius: 999px;
    border: 1px solid #dbe4ff;
    background: #f8fbff;
}

.rp-marketing-lang-option {
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 5px 10px;
    color: #475569;
    font-size: var(--rp-landing-micro);
    font-weight: var(--rp-fw-bold);
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.16s ease;
}

.rp-marketing-lang-option:hover {
    color: #1d4ed8;
    border-color: #dbe4ff;
}

.rp-marketing-lang-option.is-active {
    color: #ffffff;
    border-color: #465fff;
    background: #465fff;
    box-shadow: 0 6px 14px rgba(70, 95, 255, 0.22);
}

.rp-marketing-topnav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
    width: 100%;
    padding-inline: 12px;
}

.rp-marketing-topnav a {
    color: #475569;
    text-decoration: none;
    font-size: var(--rp-landing-caption);
    font-weight: var(--rp-fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: 1px solid #dbe4ff;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 5px 10px;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.rp-marketing-topbar-actions .rp-btn-primary,
.rp-marketing-topbar-actions .rp-btn-secondary {
    white-space: nowrap;
    padding: 9px 11px;
    font-size: var(--rp-landing-caption);
    line-height: 1.2;
}

.rp-marketing-topnav a:hover {
    color: #1d4ed8;
    border-color: #b7cbff;
    background:
        radial-gradient(120% 150% at 0% 0%, rgba(96, 165, 250, 0.24) 0%, rgba(96, 165, 250, 0) 70%),
        linear-gradient(180deg, #ffffff 0%, #f1f6ff 100%);
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.14);
    transform: translateY(-1px);
}

.rp-marketing-main {
    margin-top: 24px;
    display: grid;
    gap: 28px;
}

.rp-marketing-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    align-items: stretch;
    border: 1px solid #dbe4ff;
    border-radius: 18px;
    background:
        linear-gradient(130deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 255, 0.98) 100%);
    padding: 34px;
    min-height: clamp(600px, 74vh, 720px);
}

.rp-marketing-hero-copy {
    max-width: 760px;
}

.rp-marketing-badge {
    margin: 0;
    display: inline-flex;
    align-items: center;
    border: 1px solid #dbe4ff;
    border-radius: 999px;
    background: #f8fbff;
    color: #1d4ed8;
    font-size: var(--rp-landing-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    padding: 4px 10px;
}

.rp-marketing-tagline {
    margin: 14px 0 0;
    color: #1d4ed8;
    font-size: var(--rp-landing-caption);
    font-weight: var(--rp-fw-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rp-marketing-title {
    margin: 16px 0 0;
    font-size: clamp(36px, 5.8vw, 60px);
    line-height: 1.06;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: #0b1437;
}

.rp-marketing-subtitle {
    margin: 16px 0 0;
    color: #475569;
    font-size: var(--rp-landing-body);
    line-height: 1.75;
    max-width: 68ch;
}

.rp-marketing-hero-points {
    margin: 16px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
    color: #1e293b;
    font-size: var(--rp-landing-body);
    line-height: 1.72;
}

.rp-marketing-hero-actions {
    margin-top: 22px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rp-marketing-trust-chips {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rp-marketing-trust-chips span {
    border: 1px solid #dbe4ff;
    border-radius: 999px;
    background: #f8fbff;
    color: #334155;
    padding: 4px 10px;
    font-size: var(--rp-landing-caption);
    font-weight: var(--rp-fw-semibold);
    line-height: var(--rp-lh-compact);
}

.rp-marketing-hero-usp-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.rp-marketing-hero-usp-grid article {
    border: 1px solid #dbe4ff;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffffff 0%, #f6f9ff 100%);
    padding: 14px;
    min-height: 144px;
}

.rp-marketing-hero-usp-tag {
    margin: 0;
    display: inline-flex;
    align-items: center;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: linear-gradient(180deg, #f8fbff 0%, #eaf2ff 100%);
    padding: 6px 12px;
    color: #1d4ed8;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    letter-spacing: 0.01em;
}

.rp-marketing-hero-usp-grid h3 {
    margin: 10px 0 0;
    color: #0f172a;
    font-size: var(--rp-text-title);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
}

.rp-marketing-hero-usp-grid article > p:not(.rp-marketing-hero-usp-tag) {
    margin: 9px 0 0;
    color: #475569;
    font-size: var(--rp-landing-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-marketing-highlight {
    border: 1px solid #dbe4ff;
    border-radius: 14px;
    background:
        radial-gradient(125% 160% at 0% 0%, rgba(147, 197, 253, 0.30) 0%, rgba(147, 197, 253, 0) 62%),
        #f8fbff;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.rp-marketing-highlight h2 {
    margin: 0;
    font-size: var(--rp-text-h3);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
}

.rp-marketing-highlight-sub {
    margin: 2px 0 0;
    color: #475569;
    font-size: var(--rp-landing-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-report-preview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rp-report-preview-meta span {
    border: 1px solid #dbe4ff;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    padding: 4px 9px;
    font-size: var(--rp-landing-micro);
    font-weight: var(--rp-fw-semibold);
    line-height: var(--rp-lh-compact);
}

.rp-report-preview-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.rp-report-preview-kpis article {
    border: 1px solid #dbe4ff;
    border-radius: 10px;
    background: #ffffff;
    padding: 10px;
}

.rp-preview-kpi-label {
    margin: 0;
    color: #64748b;
    font-size: var(--rp-landing-micro);
    line-height: var(--rp-lh-compact);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: var(--rp-fw-bold);
}

.rp-preview-kpi-value {
    margin: 4px 0 0;
    color: #0b1437;
    font-size: 20px;
    font-weight: var(--rp-fw-bold);
    line-height: var(--rp-lh-tight);
}

.rp-preview-kpi-trend {
    margin: 4px 0 0;
    font-size: var(--rp-landing-micro);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-semibold);
}

.rp-preview-kpi-trend.is-up {
    color: #166534;
}

.rp-preview-kpi-trend.is-down {
    color: #b45309;
}

.rp-report-preview-block {
    border: 1px solid #dbe4ff;
    border-radius: 10px;
    background: #ffffff;
    padding: 10px;
}

.rp-report-preview-title {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-landing-body-sm);
    font-weight: var(--rp-fw-bold);
    line-height: var(--rp-lh-compact);
}

.rp-report-preview-bars {
    margin-top: 8px;
    display: grid;
    gap: 7px;
}

.rp-preview-bar-row {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr 52px;
    gap: 8px;
    align-items: center;
    padding: 6px 8px;
    border: 1px solid #e8eeff;
    border-radius: 8px;
    background: #f8fbff;
}

.rp-preview-bar-label {
    color: #334155;
    font-size: var(--rp-landing-micro);
    line-height: var(--rp-lh-compact);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rp-preview-bar-track {
    height: 14px;
    border-radius: 999px;
    background: #e7efff;
    overflow: hidden;
    position: relative;
}

.rp-preview-bar-track i {
    display: block;
    width: var(--w);
    height: 100%;
    border-radius: 999px;
}

.rp-preview-bar-track i.is-blue {
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
}

.rp-preview-bar-track i.is-cyan {
    background: linear-gradient(90deg, #0ea5e9 0%, #22d3ee 100%);
}

.rp-preview-bar-track i.is-indigo {
    background: linear-gradient(90deg, #4f46e5 0%, #6366f1 100%);
}

.rp-preview-bar-track i.is-violet {
    background: linear-gradient(90deg, #7c3aed 0%, #8b5cf6 100%);
}

.rp-preview-bar-value {
    text-align: right;
    font-weight: var(--rp-fw-semibold);
    color: #1e3a8a;
    font-size: var(--rp-landing-micro);
}

.rp-preview-more-wrap {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.rp-preview-more-pill {
    border: 1px solid #dbe4ff;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    padding: 6px 12px;
    font-size: var(--rp-landing-micro);
    font-weight: var(--rp-fw-semibold);
    line-height: var(--rp-lh-compact);
    white-space: nowrap;
}

.rp-report-preview-actions {
    margin: 8px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    color: #334155;
    font-size: var(--rp-landing-caption);
    line-height: var(--rp-lh-body);
}

.rp-report-preview-actions li::marker { color: #2563eb; }

.rp-marketing-platform-band {
    border: 1px solid #dbe4ff;
    border-radius: 24px;
    background:
        radial-gradient(120% 145% at 0% 0%, rgba(96, 165, 250, 0.20) 0%, rgba(96, 165, 250, 0) 58%),
        linear-gradient(130deg, rgba(255, 255, 255, 0.97) 0%, rgba(246, 251, 255, 0.99) 100%);
    padding: 20px;
}

.rp-platform-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.rp-platform-card {
    border: 1px solid #dbe4ff;
    border-radius: 16px;
    background: #ffffff;
    padding: 14px;
    display: grid;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rp-platform-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
}

.rp-platform-card.is-shopee {
    background: linear-gradient(145deg, #ffffff 0%, #fff7ed 100%);
}

.rp-platform-card.is-meta {
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
}

.rp-platform-card.is-tokopedia {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
}

.rp-platform-logo-wrap {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    border: 1px solid #dbe4ff;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rp-platform-logo-svg {
    width: 38px;
    height: 38px;
}

.rp-platform-logo-image {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}

.rp-marketing-platform-band .rp-marketing-section-head h2 {
    font-size: clamp(22px, 2.3vw, 31px);
}

@media (min-width: 1180px) {
    .rp-marketing-platform-band .rp-marketing-section-head h2 {
        white-space: nowrap;
    }
}

.rp-platform-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-title);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
}

.rp-platform-card p {
    margin: 0;
    color: #475569;
    font-size: var(--rp-landing-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-platform-state {
    width: max-content;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-bold);
    line-height: var(--rp-lh-compact);
    border: 1px solid #dbe4ff;
}

.rp-platform-state.is-live {
    color: #166534;
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.rp-platform-state.is-soon {
    color: #1e40af;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.rp-marketing-section {
    border: 1px solid #dbe4ff;
    border-radius: 20px;
    background:
        radial-gradient(110% 130% at 0% 0%, rgba(96, 165, 250, 0.20) 0%, rgba(96, 165, 250, 0) 58%),
        linear-gradient(130deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 255, 0.98) 100%);
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.rp-marketing-section::after {
    content: '';
    position: absolute;
    right: -52px;
    top: -52px;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(191, 219, 254, 0.55) 0%, rgba(191, 219, 254, 0) 70%);
    pointer-events: none;
}

.rp-marketing-section.is-focus {
    animation: rpMarketingSectionFocus 1s ease;
}

@keyframes rpMarketingSectionFocus {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.35);
        transform: translateY(0);
    }
    45% {
        box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.14);
        transform: translateY(-1px);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
        transform: translateY(0);
    }
}

.rp-marketing-section.is-proof {
    border-radius: 20px 24px 16px 22px;
    background:
        radial-gradient(130% 150% at 0% 0%, rgba(125, 211, 252, 0.22) 0%, rgba(125, 211, 252, 0) 62%),
        #f8fcff;
}

.rp-marketing-section.is-who {
    border-radius: 26px 14px 20px 18px;
    background:
        radial-gradient(125% 140% at 0% 0%, rgba(165, 180, 252, 0.24) 0%, rgba(165, 180, 252, 0) 58%),
        #f8faff;
}

.rp-marketing-section.is-usp {
    border-radius: 18px 26px 14px 20px;
    background:
        radial-gradient(130% 145% at 0% 0%, rgba(125, 211, 252, 0.26) 0%, rgba(125, 211, 252, 0) 58%),
        #f7fdff;
}

.rp-marketing-section.is-outputs {
    border-radius: 18px 26px 20px 16px;
    background:
        radial-gradient(128% 145% at 0% 0%, rgba(129, 140, 248, 0.2) 0%, rgba(129, 140, 248, 0) 62%),
        #f8faff;
}

.rp-marketing-section.is-flow {
    border-radius: 24px 18px 24px 12px;
    background:
        radial-gradient(128% 150% at 0% 0%, rgba(147, 197, 253, 0.24) 0%, rgba(147, 197, 253, 0) 60%),
        #f7fbff;
}

.rp-marketing-section.is-analytics {
    border-radius: 18px 26px 22px 14px;
    background:
        radial-gradient(130% 150% at 0% 0%, rgba(103, 232, 249, 0.24) 0%, rgba(103, 232, 249, 0) 60%),
        #f5fdff;
}

.rp-marketing-section.is-pricing {
    border-radius: 26px 20px 14px 24px;
    background:
        radial-gradient(130% 150% at 0% 0%, rgba(129, 140, 248, 0.24) 0%, rgba(129, 140, 248, 0) 58%),
        #f7f8ff;
}

.rp-marketing-section.is-faq {
    border-radius: 20px 14px 24px 26px;
    background:
        radial-gradient(130% 150% at 0% 0%, rgba(110, 231, 183, 0.24) 0%, rgba(110, 231, 183, 0) 58%),
        #f6fffb;
}

.rp-marketing-section.is-challenges {
    border-radius: 28px 16px 24px 18px;
    background:
        radial-gradient(120% 145% at 0% 0%, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0) 60%),
        linear-gradient(140deg, #0f172a 0%, #182743 46%, #1e3a8a 100%);
    border-color: #223d73;
}

.rp-marketing-section.is-challenges .rp-marketing-section-eyebrow {
    color: #93c5fd;
}

.rp-marketing-section.is-challenges .rp-marketing-section-head h2 {
    color: #ffffff;
}

.rp-marketing-section.is-challenges .rp-marketing-section-head p {
    color: #c7d2fe;
}

.rp-proof-strip {
    display: grid;
    gap: 12px;
}

.rp-proof-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rp-proof-logos span {
    border: 1px solid #dbe4ff;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    padding: 6px 12px;
    font-size: var(--rp-landing-caption);
    font-weight: var(--rp-fw-semibold);
    line-height: var(--rp-lh-compact);
}

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

.rp-proof-metrics article {
    border: 1px solid #dbe4ff;
    border-radius: 12px;
    background: #ffffff;
    padding: 14px;
}

.rp-proof-metrics strong {
    display: block;
    color: #1d4ed8;
    font-size: clamp(30px, 3.6vw, 40px);
    line-height: 1;
    letter-spacing: -0.02em;
    font-weight: 800;
    margin-bottom: 6px;
}

.rp-proof-metrics span {
    color: #334155;
    font-size: var(--rp-landing-body-sm);
    line-height: 1.55;
}

.rp-marketing-challenge-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 14px;
    align-items: stretch;
}

.rp-marketing-challenge-main {
    border: 1px solid rgba(191, 219, 254, 0.34);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 16px;
}

.rp-marketing-challenge-main h2 {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.rp-marketing-challenge-main p {
    margin: 10px 0 0;
    color: #c7d2fe;
    font-size: var(--rp-landing-body-sm);
    line-height: 1.7;
}

.rp-marketing-challenge-points {
    margin: 14px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 7px;
    color: #dbeafe;
    font-size: var(--rp-landing-body-sm);
    line-height: 1.55;
}

.rp-marketing-challenge-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.rp-marketing-challenge-item {
    border: 1px solid rgba(191, 219, 254, 0.38);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(5px);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.rp-marketing-challenge-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.15);
}

.rp-marketing-challenge-item-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rp-marketing-challenge-item-head span {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(191, 219, 254, 0.52);
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dbeafe;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-bold);
}

.rp-marketing-challenge-item h3 {
    margin: 0;
    color: #ffffff;
    font-size: var(--rp-text-title);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
}

.rp-marketing-challenge-item p {
    margin: 0;
    color: #dbeafe;
    font-size: var(--rp-landing-body-sm);
    line-height: 1.55;
}

.rp-marketing-section-head {
    max-width: 80ch;
}

.rp-marketing-section-eyebrow {
    margin: 0;
    color: #1d4ed8;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rp-marketing-section-head h2 {
    margin: 8px 0 0;
    color: #0b1437;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.rp-marketing-section-head p {
    margin: 10px 0 0;
    color: #475569;
    font-size: var(--rp-landing-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-marketing-target-grid,
.rp-marketing-usp-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.rp-marketing-target-card,
.rp-marketing-usp-card {
    border: 1px solid #dbe4ff;
    border-radius: 14px;
    background: #ffffff;
    padding: 14px;
}

.rp-marketing-target-card h3,
.rp-marketing-usp-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-title);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
}

.rp-marketing-target-card p,
.rp-marketing-usp-card p {
    margin: 8px 0 0;
    color: #475569;
    font-size: var(--rp-landing-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-marketing-who-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 14px;
    align-items: start;
}

.rp-marketing-who-intro {
    border: 1px solid #dbe4ff;
    border-radius: 16px;
    background: linear-gradient(150deg, #ffffff 0%, #eef3ff 100%);
    padding: 16px;
}

.rp-marketing-who-intro h2 {
    margin: 8px 0 0;
    color: #0b1437;
    font-size: clamp(22px, 2.7vw, 32px);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.rp-marketing-who-intro p {
    margin: 10px 0 0;
    color: #475569;
    font-size: var(--rp-landing-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-marketing-who-intro ul {
    margin: 12px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: #1e293b;
    font-size: var(--rp-landing-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-marketing-target-card {
    position: relative;
}

.rp-marketing-target-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #dbe4ff;
    background: #f8fbff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.rp-marketing-target-card.is-owner {
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
}

.rp-marketing-target-card.is-team {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
}

.rp-marketing-target-card.is-agency {
    background: linear-gradient(145deg, #ffffff 0%, #fff7ed 100%);
}

.rp-marketing-usp-grid {
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.rp-marketing-usp-card.is-main {
    grid-row: 1 / span 2;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(96, 165, 250, 0.20) 0%, rgba(96, 165, 250, 0) 65%),
        #ffffff;
    border-radius: 20px;
}

.rp-marketing-usp-card.is-main h3 {
    font-size: var(--rp-text-h3);
}

.rp-marketing-usp-card.is-side-a {
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
    border-radius: 14px 20px 14px 18px;
}

.rp-marketing-usp-card.is-side-b {
    background: linear-gradient(145deg, #ffffff 0%, #eef2ff 100%);
    border-radius: 18px 14px 20px 14px;
}

.rp-marketing-flow-header {
    max-width: 92ch;
}

.rp-marketing-flow-header h2 {
    margin: 8px 0 0;
    color: #0b1437;
    font-size: clamp(24px, 3vw, 35px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.rp-marketing-flow-title-nowrap {
    white-space: nowrap;
}

.rp-marketing-flow-header p {
    margin: 10px 0 0;
    color: #475569;
    font-size: var(--rp-landing-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-marketing-flow-inline {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.rp-marketing-flow-inline-step {
    border: 1px solid #dbe4ff;
    border-radius: 999px;
    background: #ffffff;
    color: #1e293b;
    padding: 5px 11px;
    font-size: var(--rp-landing-caption);
    font-weight: var(--rp-fw-semibold);
    line-height: var(--rp-lh-compact);
}

.rp-marketing-flow-inline-arrow {
    color: #60a5fa;
    font-size: 16px;
    font-weight: var(--rp-fw-bold);
    line-height: 1;
    padding: 0 2px;
}

.rp-marketing-flow-rail {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.rp-marketing-flow-node {
    position: relative;
    border: 1px solid #dbe4ff;
    border-radius: 14px;
    background:
        radial-gradient(120% 150% at 0% 0%, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0) 62%),
        #ffffff;
    padding: 14px;
    min-height: 176px;
}

.rp-marketing-flow-node:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -12px;
    width: 12px;
    height: 2px;
    background: #93c5fd;
}

.rp-marketing-flow-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: var(--rp-fw-bold);
    font-size: var(--rp-text-caption);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.14);
}

.rp-marketing-flow-node h3 {
    margin: 10px 0 0;
    color: #0f172a;
    font-size: var(--rp-text-title);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
}

.rp-marketing-flow-node p {
    margin: 7px 0 0;
    color: #475569;
    font-size: var(--rp-landing-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-marketing-flow-impact-strip {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.rp-marketing-flow-impact-strip article {
    border: 1px solid #dbe4ff;
    border-radius: 12px;
    background: #ffffff;
    padding: 12px;
}

.rp-marketing-flow-impact-strip strong {
    display: block;
    color: #1d4ed8;
    font-size: var(--rp-text-h3);
    line-height: var(--rp-lh-tight);
}

.rp-marketing-flow-impact-strip span {
    color: #334155;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-marketing-output-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.rp-marketing-output-card {
    border: 1px solid #dbe4ff;
    border-radius: 14px;
    background: #ffffff;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rp-marketing-output-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-title);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
}

.rp-marketing-output-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.rp-marketing-output-pill {
    border-radius: 999px;
    border: 1px solid #dbe4ff;
    background: #ffffff;
    padding: 4px 10px;
    font-size: var(--rp-landing-micro);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    letter-spacing: 0.02em;
}

.rp-marketing-output-pill.is-executive {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.rp-marketing-output-pill.is-summary {
    color: #1e40af;
    border-color: #c7d2fe;
    background: #eef2ff;
}

.rp-marketing-output-pill.is-comprehensive {
    color: #6d28d9;
    border-color: #ddd6fe;
    background: #f5f3ff;
}

.rp-marketing-output-readtime {
    color: #64748b;
    font-size: var(--rp-landing-micro);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-semibold);
}

.rp-marketing-output-lead {
    margin: 0;
    color: #334155;
    font-size: var(--rp-landing-body-sm);
    line-height: 1.58;
}

.rp-marketing-output-kv-grid {
    display: grid;
    gap: 8px;
    margin-top: 2px;
}

.rp-marketing-output-kv-grid > div {
    border: 1px solid #e6edff;
    border-radius: 10px;
    background: #f8fbff;
    padding: 8px 9px;
    display: grid;
    gap: 3px;
}

.rp-marketing-output-kv-grid span {
    color: #64748b;
    font-size: var(--rp-landing-micro);
    line-height: 1.35;
    font-weight: var(--rp-fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rp-marketing-output-kv-grid strong {
    color: #0f172a;
    font-size: var(--rp-landing-body-sm);
    line-height: 1.5;
    font-weight: var(--rp-fw-semibold);
}

.rp-marketing-output-card.is-executive {
    background: linear-gradient(145deg, #ffffff 0%, #eef6ff 100%);
}

.rp-marketing-output-card.is-summary {
    background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%);
}

.rp-marketing-output-card.is-comprehensive {
    background: linear-gradient(145deg, #ffffff 0%, #f3f2ff 100%);
}

.rp-marketing-output-when {
    margin: 2px 0 0;
    color: #1e293b;
    font-size: var(--rp-landing-body-sm);
    line-height: 1.56;
}

.rp-marketing-output-when strong {
    color: #0f172a;
    font-weight: var(--rp-fw-bold);
}

.rp-output-compare-wrap {
    margin-top: 14px;
    overflow-x: auto;
}

.rp-output-compare-grid {
    min-width: 980px;
    display: grid;
    grid-template-columns: 170px repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.rp-output-compare-axis {
    border: 1px solid #dbe4ff;
    border-radius: 12px;
    background: #f8fbff;
    color: #1d4ed8;
    font-size: var(--rp-landing-caption);
    font-weight: var(--rp-fw-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.rp-output-compare-head {
    border: 1px solid #dbe4ff;
    border-radius: 12px;
    padding: 12px;
    display: grid;
    gap: 7px;
}

.rp-output-compare-head.is-executive {
    background: linear-gradient(145deg, #ffffff 0%, #eef6ff 100%);
}

.rp-output-compare-head.is-summary {
    background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%);
}

.rp-output-compare-head.is-comprehensive {
    background: linear-gradient(145deg, #ffffff 0%, #f3f2ff 100%);
}

.rp-output-compare-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-title);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
}

.rp-output-compare-head p {
    margin: 0;
    color: #475569;
    font-size: var(--rp-landing-body-sm);
    line-height: 1.56;
}

.rp-output-row-label {
    border: 1px solid #dbe4ff;
    border-radius: 10px;
    background: #f8fbff;
    color: #334155;
    font-size: var(--rp-landing-caption);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    padding: 10px 12px;
}

.rp-output-row-cell {
    border: 1px solid #e6edff;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-size: var(--rp-landing-body-sm);
    line-height: 1.52;
    font-weight: var(--rp-fw-semibold);
    display: flex;
    align-items: center;
    padding: 10px 12px;
}

.rp-marketing-section.is-outputs .rp-marketing-section-head h2 {
    font-size: clamp(22px, 2.4vw, 31px);
}

@media (min-width: 1180px) {
    .rp-marketing-section.is-outputs .rp-marketing-section-head h2 {
        white-space: nowrap;
    }
}

.rp-marketing-analytics-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rp-marketing-chart-card {
    border: 1px solid #dbe4ff;
    border-radius: 14px;
    background: #ffffff;
    padding: 14px;
}

.rp-marketing-chart-title {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-title);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
}

.rp-marketing-chart-bars {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    align-items: end;
    min-height: 132px;
    padding: 0 4px;
}

.rp-marketing-chart-bar {
    height: var(--h);
    min-height: 20px;
    border-radius: 10px 10px 4px 4px;
    background: linear-gradient(180deg, #60a5fa 0%, #1d4ed8 100%);
    position: relative;
}

.rp-marketing-chart-bar span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -22px;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-medium);
}

.rp-marketing-chart-mix {
    margin-top: 10px;
}

.rp-marketing-chart-mix-track {
    height: 20px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.rp-marketing-chart-mix-track span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22d3ee 0%, #2563eb 100%);
}

.rp-marketing-chart-mix-legend {
    margin-top: 10px;
    display: grid;
    gap: 6px;
}

.rp-marketing-chart-mix-legend p {
    margin: 0;
    color: #334155;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-compact);
}

.rp-marketing-chart-mix-legend strong {
    color: #0f172a;
}

.rp-marketing-chart-note {
    margin: 10px 0 0;
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-compact);
}

.rp-marketing-features {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 14px;
}

.rp-marketing-feature-lead {
    grid-row: 1 / span 2;
    border: 1px solid #dbe4ff;
    border-radius: 20px;
    background:
        radial-gradient(120% 145% at 0% 0%, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 62%),
        #ffffff;
    padding: 16px;
}

.rp-marketing-feature-lead h3 {
    margin: 6px 0 0;
    color: #0b1437;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.rp-marketing-feature-lead p {
    margin: 10px 0 0;
    color: #475569;
    font-size: var(--rp-landing-body-sm);
    line-height: var(--rp-lh-body);
    max-width: 84ch;
}

.rp-marketing-feature-meter-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.rp-feature-meter-card {
    --meter-a: #60a5fa;
    --meter-b: #1d4ed8;
    border: 1px solid #dbe4ff;
    border-radius: 13px;
    background: #ffffff;
    padding: 13px 14px;
    display: grid;
    gap: 9px;
}

.rp-feature-meter-card.is-validation {
    --meter-a: #60a5fa;
    --meter-b: #2563eb;
    background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
}

.rp-feature-meter-card.is-automation {
    --meter-a: #818cf8;
    --meter-b: #4f46e5;
    background: linear-gradient(145deg, #ffffff 0%, #f2f3ff 100%);
}

.rp-feature-meter-card.is-readability {
    --meter-a: #2dd4bf;
    --meter-b: #0ea5e9;
    background: linear-gradient(145deg, #ffffff 0%, #effdff 100%);
}

.rp-feature-meter-card.is-standard {
    --meter-a: #38bdf8;
    --meter-b: #2563eb;
    background: linear-gradient(145deg, #ffffff 0%, #eef7ff 100%);
}

.rp-feature-meter-card.is-security {
    --meter-a: #34d399;
    --meter-b: #10b981;
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
}

.rp-feature-meter-card.is-consistency {
    --meter-a: #a78bfa;
    --meter-b: #7c3aed;
    background: linear-gradient(145deg, #ffffff 0%, #f6f3ff 100%);
}

.rp-feature-meter-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.rp-feature-meter-top span {
    color: #1e293b;
    font-size: var(--rp-landing-body-sm);
    line-height: 1.46;
    font-weight: var(--rp-fw-semibold);
}

.rp-feature-meter-top strong {
    color: #0f172a;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.rp-feature-meter-bar {
    height: 10px;
    border-radius: 999px;
    background: #e8efff;
    overflow: hidden;
}

.rp-feature-meter-bar i {
    display: block;
    width: var(--w);
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--meter-a) 0%, var(--meter-b) 100%);
}

.rp-marketing-feature-columns {
    display: grid;
    gap: 10px;
}

.rp-marketing-section.is-outputs .rp-marketing-feature-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.rp-marketing-feature-card {
    border: 1px solid #dbe4ff;
    border-radius: 14px;
    background: #ffffff;
    padding: 18px;
    display: grid;
    gap: 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rp-marketing-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
}

.rp-marketing-feature-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rp-feature-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    border: 1px solid #dbe4ff;
    background: #f8fbff;
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--rp-landing-micro);
    line-height: 1;
    font-weight: var(--rp-fw-bold);
    letter-spacing: 0.03em;
    flex: 0 0 28px;
}

.rp-marketing-feature-card h3 {
    margin: 0;
    font-size: var(--rp-text-title);
    line-height: var(--rp-lh-tight);
    font-weight: var(--rp-fw-bold);
    color: #0f172a;
}

.rp-marketing-feature-card p {
    margin: 0;
    font-size: var(--rp-landing-body-sm);
    line-height: var(--rp-lh-body);
    color: #475569;
}

.rp-marketing-feature-card.is-executive {
    background: linear-gradient(145deg, #ffffff 0%, #eef6ff 100%);
    border-color: #bfdbfe;
}

.rp-marketing-feature-card.is-summary {
    background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%);
    border-color: #c7d2fe;
}

.rp-marketing-feature-card.is-comprehensive {
    background: linear-gradient(145deg, #ffffff 0%, #f3f2ff 100%);
    border-color: #ddd6fe;
}

.rp-marketing-feature-card.is-input {
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
    border-color: #bfd8ff;
}

.rp-marketing-feature-card.is-ai {
    background: linear-gradient(145deg, #ffffff 0%, #f1f5ff 100%);
    border-color: #cfd5ff;
}

.rp-marketing-feature-card.is-share {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdff 100%);
    border-color: #bdefff;
}

.rp-marketing-feature-card.is-print {
    background: linear-gradient(145deg, #ffffff 0%, #f5f8ff 100%);
    border-color: #c9dcff;
}

.rp-marketing-feature-card.is-workspace {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
    border-color: #bdeccf;
}

.rp-marketing-feature-card.is-playbook {
    background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 100%);
    border-color: #ddd2ff;
}

.rp-marketing-feature-card.is-input .rp-feature-card-icon {
    color: #2563eb;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.rp-marketing-feature-card.is-ai .rp-feature-card-icon {
    color: #4f46e5;
    border-color: #c7d2fe;
    background: #eef2ff;
}

.rp-marketing-feature-card.is-share .rp-feature-card-icon {
    color: #0891b2;
    border-color: #a5f3fc;
    background: #ecfeff;
}

.rp-marketing-feature-card.is-print .rp-feature-card-icon {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #f0f7ff;
}

.rp-marketing-feature-card.is-workspace .rp-feature-card-icon {
    color: #059669;
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.rp-marketing-feature-card.is-playbook .rp-feature-card-icon {
    color: #7c3aed;
    border-color: #ddd6fe;
    background: #f5f3ff;
}

.rp-marketing-pricing-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.rp-pricing-billing-row {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    text-align: center;
}

.rp-pricing-billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid #dbe4ff;
    background: #eef3ff;
}

.rp-pricing-billing-btn {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #334155;
    font-size: var(--rp-landing-caption);
    font-weight: var(--rp-fw-semibold);
    line-height: var(--rp-lh-compact);
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.rp-pricing-billing-btn.is-active {
    background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.24);
}

.rp-pricing-billing-saving {
    margin: 0;
    color: #2563eb;
    font-size: var(--rp-landing-caption);
    font-weight: var(--rp-fw-semibold);
    line-height: var(--rp-lh-compact);
    text-align: center;
}

.rp-marketing-price-card {
    border: 1px solid #dbe4ff;
    border-radius: 16px;
    background: #ffffff;
    padding: 16px;
    display: grid;
    gap: 10px;
    min-width: 0;
}

.rp-marketing-price-card.is-featured {
    border-color: #a9c1ff;
    background:
        linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
    box-shadow: 0 12px 30px rgba(29, 78, 216, 0.10);
}

.rp-marketing-price-card.is-limited-offer {
    border-color: #f5d48f;
    background:
        linear-gradient(180deg, #fff9ed 0%, #ffffff 100%);
}

.rp-marketing-price-tier {
    margin: 0;
    display: inline-flex;
    align-items: center;
    width: max-content;
    border: 1px solid #dbe4ff;
    border-radius: 999px;
    background: #f8fbff;
    color: #1d4ed8;
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-bold);
    padding: 4px 10px;
}

.rp-marketing-price-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-h3);
    line-height: var(--rp-lh-tight);
    font-weight: 800;
}

.rp-marketing-price-amount {
    margin: 0;
    color: #0b1437;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.rp-marketing-price-amount .js-pricing-suffix {
    color: #64748b;
    font-size: var(--rp-text-caption);
    font-weight: var(--rp-fw-medium);
    margin-left: 3px;
}

.rp-marketing-price-note {
    margin: -4px 0 0;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
    font-weight: var(--rp-fw-medium);
}

.rp-marketing-price-card ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 7px;
    color: #334155;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-marketing-price-card .rp-btn-primary,
.rp-marketing-price-card .rp-btn-secondary {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: auto;
}

.rp-marketing-price-card.is-limited-offer .rp-marketing-price-amount {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.12;
}

.rp-marketing-price-card.is-limited-offer .rp-marketing-price-suffix {
    color: #64748b;
    font-size: var(--rp-text-body-sm);
    font-weight: var(--rp-fw-semibold);
    letter-spacing: 0;
}

.rp-marketing-section.is-testimonials {
    border-radius: 22px 28px 16px 24px;
    background:
        radial-gradient(130% 150% at 0% 0%, rgba(191, 219, 254, 0.36) 0%, rgba(191, 219, 254, 0) 58%),
        #f8fbff;
}

.rp-marketing-testimonial-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 12px;
}

.rp-marketing-testimonial-intro {
    border: 1px solid #dbe4ff;
    border-radius: 16px;
    background: #ffffff;
    padding: 14px;
}

.rp-marketing-testimonial-intro h2 {
    margin: 8px 0 0;
    color: #0b1437;
    font-size: clamp(22px, 2.8vw, 32px);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.rp-marketing-testimonial-intro p {
    margin: 10px 0 0;
    color: #475569;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
}

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

.rp-marketing-proof-grid article {
    border: 1px solid #dbe4ff;
    border-radius: 12px;
    background: #f8fbff;
    padding: 10px;
}

.rp-marketing-proof-grid strong {
    display: block;
    color: #1d4ed8;
    font-size: var(--rp-text-h3);
    line-height: var(--rp-lh-tight);
}

.rp-marketing-proof-grid span {
    color: #334155;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-body);
}

.rp-marketing-testimonial-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rp-testimonial-card {
    border: 1px solid #dbe4ff;
    border-radius: 16px;
    background: #ffffff;
    padding: 18px;
    display: grid;
    gap: 12px;
    align-content: start;
}

.rp-testimonial-card:nth-child(1) {
    grid-column: span 2;
    background: linear-gradient(145deg, #ffffff 0%, #f2f7ff 100%);
}

.rp-testimonial-title {
    margin: 0;
    color: #0b1437;
    font-size: var(--rp-text-h3);
    line-height: 1.28;
    letter-spacing: -0.01em;
    font-weight: 800;
}

.rp-testimonial-copy {
    margin: 0;
    color: #334155;
    font-size: var(--rp-text-body-md);
    line-height: 1.6;
    font-weight: 500;
}

.rp-testimonial-outcome {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 6px 12px;
    font-size: var(--rp-text-caption-sm);
    font-weight: var(--rp-fw-semibold);
    line-height: var(--rp-lh-compact);
}

.rp-testimonial-card.is-agency {
    background: linear-gradient(145deg, #ffffff 0%, #eef4ff 100%);
}

.rp-testimonial-card.is-agency .rp-testimonial-title {
    color: #1d4ed8;
}

.rp-testimonial-card.is-agency .rp-testimonial-outcome {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.rp-testimonial-card.is-owner {
    background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 100%);
}

.rp-testimonial-card.is-owner .rp-testimonial-title {
    color: #6d28d9;
}

.rp-testimonial-card.is-owner .rp-testimonial-outcome {
    border-color: #ddd6fe;
    background: #f5f3ff;
    color: #6d28d9;
}

.rp-testimonial-card.is-manager {
    background: linear-gradient(145deg, #ffffff 0%, #ecfeff 100%);
}

.rp-testimonial-card.is-manager .rp-testimonial-title {
    color: #0f766e;
}

.rp-testimonial-card.is-manager .rp-testimonial-outcome {
    border-color: #99f6e4;
    background: #ecfeff;
    color: #0f766e;
}

.rp-marketing-section.is-integrations {
    border-radius: 26px 18px 26px 12px;
    background:
        radial-gradient(130% 150% at 0% 0%, rgba(125, 211, 252, 0.26) 0%, rgba(125, 211, 252, 0) 58%),
        #f4fdff;
}

.rp-integration-cloud {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rp-integration-cloud span {
    border: 1px solid #dbe4ff;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    padding: 7px 12px;
    font-size: var(--rp-text-body-sm);
    font-weight: var(--rp-fw-semibold);
    line-height: var(--rp-lh-compact);
}

.rp-integration-cloud span.is-shopee {
    border-color: #fed7aa;
    color: #c2410c;
}

.rp-integration-cloud span.is-meta {
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.rp-integration-cloud span.is-tokopedia {
    border-color: #bbf7d0;
    color: #166534;
}

.rp-integration-cloud span:nth-child(3n + 1) {
    background: linear-gradient(145deg, #ffffff 0%, #eef6ff 100%);
}

.rp-integration-cloud span:nth-child(3n + 2) {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
}

.rp-integration-cloud span:nth-child(3n + 3) {
    background: linear-gradient(145deg, #ffffff 0%, #fff7ed 100%);
}

.rp-integration-footnote {
    margin: 12px 0 0;
    color: #475569;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
    max-width: 72ch;
}

.rp-marketing-final-cta.is-newsletter {
    border-radius: 20px;
}

.rp-newsletter-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: center;
}

.rp-marketing-faq-list {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.rp-marketing-faq-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 14px;
    align-items: start;
}

.rp-marketing-faq-contact {
    border: 1px solid #c7f0df;
    border-radius: 16px;
    background:
        radial-gradient(120% 150% at 0% 0%, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0) 65%),
        #ffffff;
    padding: 16px;
    display: grid;
    gap: 8px;
}

.rp-marketing-faq-contact h2 {
    margin: 8px 0 0;
    color: #0b1437;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.rp-marketing-faq-contact p {
    margin: 10px 0 0;
    color: #475569;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-marketing-faq-alert {
    margin-top: 12px;
    border-radius: 10px;
    border: 1px solid;
    padding: 10px 12px;
    font-size: var(--rp-text-caption);
    line-height: var(--rp-lh-body);
}

.rp-marketing-faq-alert.is-success {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}

.rp-marketing-faq-alert.is-danger {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #991b1b;
}

.rp-marketing-faq-alert ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 4px;
}

.rp-marketing-faq-form {
    margin-top: 12px;
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: none;
}

.rp-marketing-faq-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.rp-marketing-faq-field {
    display: grid;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.rp-marketing-faq-field label {
    display: block;
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-caption);
    font-weight: var(--rp-fw-semibold);
    line-height: var(--rp-lh-compact);
}

.rp-marketing-faq-field input,
.rp-marketing-faq-field textarea {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
    padding: 10px 12px;
    box-sizing: border-box;
}

.rp-marketing-faq-field input:focus,
.rp-marketing-faq-field textarea:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    outline: none;
}

.rp-marketing-faq-field textarea {
    resize: vertical;
    min-height: 136px;
}

.rp-marketing-faq-form .rp-btn-primary,
.rp-marketing-faq-form .rp-btn-secondary {
    margin-top: 2px;
    width: 100%;
    justify-content: center;
}

.rp-marketing-faq-list details {
    border: 1px solid #dbe4ff;
    border-radius: 12px;
    background: #ffffff;
    padding: 12px 14px;
}

.rp-marketing-faq-list summary {
    cursor: pointer;
    list-style: none;
    color: #0f172a;
    font-size: var(--rp-text-body);
    line-height: var(--rp-lh-body);
    font-weight: var(--rp-fw-semibold);
}

.rp-marketing-faq-list summary::-webkit-details-marker {
    display: none;
}

.rp-marketing-faq-list p {
    margin: 8px 0 0;
    color: #475569;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
}

.rp-marketing-final-cta {
    border: 1px solid #bcd0ff;
    border-radius: 28px 18px 26px 14px;
    background:
        radial-gradient(80% 120% at 0% 0%, rgba(59, 130, 246, 0.24) 0%, rgba(59, 130, 246, 0) 65%),
        radial-gradient(90% 120% at 100% 100%, rgba(14, 165, 233, 0.18) 0%, rgba(14, 165, 233, 0) 65%),
        linear-gradient(130deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 255, 1) 100%);
    padding: 34px 28px;
}

.rp-marketing-final-cta h2 {
    margin: 0;
    color: #0b1437;
    font-size: clamp(24px, 3.3vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.rp-marketing-final-cta p {
    margin: 14px 0 0;
    color: #334155;
    font-size: var(--rp-text-body);
    line-height: var(--rp-lh-body);
    max-width: 88ch;
}

.rp-marketing-footer {
    margin-top: 38px;
    border-top: 1px solid #1e293b;
    border-radius: 0;
    background:
        radial-gradient(120% 150% at 0% 0%, rgba(59, 130, 246, 0.32) 0%, rgba(59, 130, 246, 0) 56%),
        linear-gradient(180deg, #0f172a 0%, #0b1224 100%);
    color: #dbeafe;
    padding: 52px 0 32px;
}

.rp-marketing-footer-inner {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 56px);
}

.rp-marketing-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 0.7fr 0.7fr;
    gap: 26px;
}

.rp-marketing-footer-brand {
    margin: 0;
    font-size: 25px;
    line-height: 1.1;
}

.rp-marketing-footer-brand span {
    color: #ffffff;
    font-weight: var(--rp-fw-bold);
}

.rp-marketing-footer-brand strong {
    color: #93c5fd;
    font-weight: var(--rp-fw-bold);
}

.rp-marketing-footer-copy {
    margin: 10px 0 0;
    color: #cbd5e1;
    font-size: var(--rp-text-body-sm);
    line-height: var(--rp-lh-body);
    max-width: 52ch;
}

.rp-marketing-footer-title {
    margin: 0 0 8px;
    color: #bfdbfe;
    font-size: var(--rp-text-caption);
    font-weight: var(--rp-fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rp-marketing-footer a {
    display: block;
    margin: 0 0 8px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: var(--rp-landing-body-sm);
    line-height: var(--rp-lh-compact);
}

.rp-marketing-footer a:hover {
    color: #93c5fd;
}

.rp-marketing-footer-meta {
    margin: 8px 0 0;
    padding-top: 0;
    border-top: 0;
    color: #94a3b8;
    font-size: var(--rp-text-caption-xs);
    line-height: var(--rp-lh-compact);
}

.rp-marketing-footer-meta-row {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.30);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

@media (max-width: 980px) {
    .rp-marketing-shell {
        --rp-landing-body: 15px;
        --rp-landing-body-sm: 14px;
        --rp-landing-caption: 12px;
        --rp-landing-micro: 11px;
    }

    .rp-marketing-title {
        font-size: clamp(32px, 10vw, 42px);
    }

    .rp-marketing-flow-title-nowrap {
        white-space: normal;
    }

    .rp-marketing-hero {
        grid-template-columns: 1fr;
        padding: 20px;
        min-height: 0;
    }

    .rp-marketing-features {
        grid-template-columns: 1fr;
    }

    .rp-marketing-hero-usp-grid {
        grid-template-columns: 1fr;
    }

    .rp-marketing-topbar {
        grid-template-columns: 1fr auto;
        row-gap: 10px;
    }

    .rp-marketing-topnav {
        display: none;
    }

    .rp-marketing-topbar-actions {
        width: auto;
        justify-content: flex-end;
    }

    .rp-marketing-lang-option {
        padding: 5px 9px;
    }

    .rp-marketing-stat-grid {
        grid-template-columns: 1fr;
    }

    .rp-marketing-target-grid,
    .rp-marketing-usp-grid,
    .rp-marketing-pricing-grid,
    .rp-marketing-analytics-grid,
    .rp-marketing-challenge-layout,
    .rp-marketing-challenge-stack,
    .rp-marketing-flow-rail,
    .rp-marketing-flow-impact-strip,
    .rp-proof-metrics,
    .rp-marketing-feature-columns,
    .rp-marketing-section.is-outputs .rp-marketing-feature-columns,
    .rp-report-preview-kpis {
        grid-template-columns: 1fr;
    }

    .rp-marketing-feature-meter-grid {
        grid-template-columns: 1fr;
    }

    .rp-pricing-billing-row {
        align-items: center;
        gap: 10px;
    }

    .rp-pricing-billing-toggle {
        width: auto;
        max-width: 100%;
    }

    .rp-pricing-billing-btn {
        flex: 0 0 auto;
        min-width: 120px;
        text-align: center;
    }

    .rp-proof-metrics strong {
        font-size: clamp(26px, 8vw, 34px);
    }

    .rp-preview-bar-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .rp-preview-bar-value {
        text-align: left;
    }

    .rp-marketing-who-layout,
    .rp-marketing-testimonial-layout,
    .rp-newsletter-layout,
    .rp-marketing-faq-layout {
        grid-template-columns: 1fr;
    }

    .rp-marketing-faq-field-grid {
        grid-template-columns: 1fr;
    }

    .rp-marketing-feature-lead {
        grid-row: auto;
    }

    .rp-marketing-flow-node:not(:last-child)::after {
        display: none;
    }

    .rp-marketing-flow-inline {
        gap: 6px;
    }

    .rp-marketing-flow-inline-arrow {
        display: none;
    }

    .rp-marketing-usp-grid {
        grid-template-rows: none;
    }

    .rp-marketing-usp-card.is-main {
        grid-row: auto;
    }

    .rp-marketing-section,
    .rp-marketing-final-cta {
        padding: 16px;
    }

    .rp-marketing-platform-band {
        padding: 16px;
    }

    .rp-platform-grid {
        grid-template-columns: 1fr;
    }

    .rp-marketing-testimonial-cards {
        grid-template-columns: 1fr;
    }

    .rp-testimonial-card:nth-child(1) {
        grid-column: auto;
    }

    .rp-testimonial-card {
        padding: 14px;
        gap: 10px;
    }

    .rp-testimonial-title {
        font-size: var(--rp-text-title);
        line-height: 1.35;
    }

    .rp-testimonial-copy {
        font-size: var(--rp-text-body-sm);
        line-height: var(--rp-lh-body);
    }

    .rp-marketing-proof-grid {
        grid-template-columns: 1fr;
    }

    .rp-marketing-footer-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .rp-marketing-footer-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

}

.rp-owner-dashboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
}

.rp-owner-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.rp-owner-hero-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rp-owner-eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 247, 237, 0.95);
    border: 1px solid rgba(251, 146, 60, 0.26);
    color: #c2410c;
    font-size: var(--rp-text-caption);
    font-weight: var(--rp-fw-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rp-owner-hero-title {
    margin: 0;
    max-width: 18ch;
    font-size: clamp(28px, 3.4vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: var(--rp-fw-bold);
    color: #0f172a;
}

.rp-owner-hero-subtitle {
    margin: 0;
    max-width: 66ch;
    color: #5b6b88;
    font-size: 15px;
    line-height: 1.68;
}

.rp-owner-hero-highlight-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rp-owner-hero-highlight,
.rp-owner-hero-aside-card,
.rp-owner-kpi-card,
.rp-owner-card,
.rp-owner-ops-metric {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

.rp-owner-hero-highlight {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rp-owner-hero-highlight strong,
.rp-owner-hero-aside-card strong,
.rp-owner-kpi-value {
    font-size: clamp(22px, 2.7vw, 30px);
    line-height: var(--rp-lh-number);
    letter-spacing: -0.04em;
    font-weight: var(--rp-fw-bold);
    color: #0f172a;
}

.rp-owner-hero-highlight-label,
.rp-owner-hero-aside-label,
.rp-owner-kpi-label {
    font-size: var(--rp-text-caption-xs);
    font-weight: var(--rp-fw-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a8aa5;
}

.rp-owner-hero-highlight-note,
.rp-owner-hero-aside-card span:last-child,
.rp-owner-kpi-note {
    color: #5b6b88;
    font-size: var(--rp-text-caption-sm);
    line-height: 1.6;
}

.rp-owner-hero-aside {
    display: grid;
    gap: 12px;
}

.rp-owner-hero-aside-card {
    position: relative;
    overflow: hidden;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rp-owner-hero-aside-card::before,
.rp-owner-kpi-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.95), rgba(59, 130, 246, 0.2));
}

.rp-owner-hero-aside-card.is-plan::before,
.rp-owner-kpi-card.is-growth::before {
    background: linear-gradient(180deg, #2563eb, rgba(37, 99, 235, 0.2));
}

.rp-owner-hero-aside-card.is-ops::before,
.rp-owner-kpi-card.is-customer::before,
.rp-owner-kpi-card.is-quality::before {
    background: linear-gradient(180deg, #0f766e, rgba(15, 118, 110, 0.2));
}

.rp-owner-hero-aside-card.is-risk::before,
.rp-owner-kpi-card.is-risk::before,
.rp-owner-kpi-card.is-collection::before {
    background: linear-gradient(180deg, #d97706, rgba(217, 119, 6, 0.2));
}

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

.rp-owner-kpi-card {
    position: relative;
    overflow: hidden;
    padding: 18px 18px 16px;
    min-height: 126px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rp-owner-grid {
    display: grid;
    gap: 18px;
}

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

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

.rp-owner-card {
    padding: 18px;
    border-radius: 20px;
}

.rp-owner-card .rp-card-header {
    align-items: flex-start;
    gap: 12px;
}

.rp-owner-card .rp-card-title {
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.16;
    letter-spacing: -0.03em;
}

.rp-owner-card .rp-card-subtitle {
    max-width: 58ch;
    font-size: var(--rp-text-caption-sm);
    line-height: 1.65;
    color: #6b7c95;
}

.rp-owner-trend-list,
.rp-owner-plan-list,
.rp-owner-watchlist,
.rp-owner-list,
.rp-owner-aging-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rp-owner-chart-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.rp-owner-chart-summary-item {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 255, 0.96) 100%);
    padding: 14px 16px;
}

.rp-owner-chart-summary-item span,
.rp-owner-chart-summary-item small {
    display: block;
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: 1.55;
}

.rp-owner-chart-summary-item strong {
    display: block;
    margin-top: 4px;
    color: #0f172a;
    font-size: var(--rp-text-title);
    line-height: 1.18;
    font-weight: var(--rp-fw-bold);
}

.rp-owner-line-chart-shell {
    margin-bottom: 14px;
    border-radius: 22px;
    border: 1px solid rgba(191, 219, 254, 0.66);
    background:
        radial-gradient(circle at top left, rgba(219, 234, 254, 0.5) 0%, rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, rgba(248, 251, 255, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
    padding: 14px 14px 12px;
}

.rp-owner-line-chart {
    display: block;
    width: 100%;
    height: auto;
}

.rp-owner-line-chart-guide {
    stroke: rgba(148, 163, 184, 0.28);
    stroke-width: 1;
    stroke-dasharray: 3 6;
}

.rp-owner-line-chart-area {
    fill: url(#rp-owner-revenue-fill);
}

.rp-owner-line-chart-stroke {
    fill: none;
    stroke: #2563eb;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rp-owner-line-chart-point {
    fill: #ffffff;
    stroke: #2563eb;
    stroke-width: 3;
}

.rp-owner-line-chart-footer {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.rp-owner-line-chart-footer-item {
    min-width: 0;
}

.rp-owner-line-chart-footer-item strong,
.rp-owner-line-chart-footer-item span {
    display: block;
}

.rp-owner-line-chart-footer-item strong {
    color: #1e293b;
    font-size: var(--rp-text-caption-xs);
    line-height: 1.4;
    font-weight: var(--rp-fw-bold);
}

.rp-owner-line-chart-footer-item span {
    margin-top: 3px;
    color: #64748b;
    font-size: var(--rp-text-caption-xs);
    line-height: 1.45;
}

.rp-owner-trend-item,
.rp-owner-plan-item,
.rp-owner-watchlist-item,
.rp-owner-list-item,
.rp-owner-aging-item,
.rp-owner-movement-card {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 255, 0.94) 100%);
    padding: 14px 16px;
}

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

.rp-owner-movement-card {
    position: relative;
    overflow: hidden;
    min-height: 146px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: space-between;
}

.rp-owner-movement-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 999px;
}

.rp-owner-movement-card span,
.rp-owner-aging-item-head span,
.rp-owner-aging-footer span {
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: 1.55;
}

.rp-owner-movement-card strong,
.rp-owner-aging-item-value {
    color: #0f172a;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: var(--rp-fw-bold);
}

.rp-owner-movement-card small {
    color: #5b6b88;
    font-size: var(--rp-text-caption-sm);
    line-height: 1.65;
}

.rp-owner-movement-card.is-positive {
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.rp-owner-movement-card.is-positive::before {
    background: linear-gradient(180deg, #16a34a, rgba(22, 163, 74, 0.24));
}

.rp-owner-movement-card.is-negative {
    background: linear-gradient(180deg, rgba(254, 242, 242, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.rp-owner-movement-card.is-negative::before {
    background: linear-gradient(180deg, #ef4444, rgba(239, 68, 68, 0.24));
}

.rp-owner-movement-card.is-risk {
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.rp-owner-movement-card.is-risk::before {
    background: linear-gradient(180deg, #d97706, rgba(217, 119, 6, 0.24));
}

.rp-owner-movement-card.is-net {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.rp-owner-movement-card.is-net::before {
    background: linear-gradient(180deg, #2563eb, rgba(37, 99, 235, 0.24));
}

.rp-owner-aging-overview {
    display: flex;
    overflow: hidden;
    height: 16px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #e7eef9;
}

.rp-owner-aging-overview span {
    display: block;
    height: 100%;
    min-width: 0;
}

.rp-owner-aging-overview .aging-current {
    background: linear-gradient(90deg, #16a34a 0%, #4ade80 100%);
}

.rp-owner-aging-overview .aging-days_1_7 {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}

.rp-owner-aging-overview .aging-days_8_30 {
    background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
}

.rp-owner-aging-overview .aging-days_31_plus {
    background: linear-gradient(90deg, #dc2626 0%, #f87171 100%);
}

.rp-owner-aging-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rp-owner-aging-item-head {
    min-width: 0;
}

.rp-owner-aging-item-head strong {
    display: block;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: 1.45;
    font-weight: var(--rp-fw-bold);
}

.rp-owner-aging-item.current {
    border-color: rgba(22, 163, 74, 0.16);
}

.rp-owner-aging-item.aging-current,
.rp-owner-aging-item.current {
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.94) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.rp-owner-aging-item.aging-days_1_7 {
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.94) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.rp-owner-aging-item.aging-days_8_30 {
    background: linear-gradient(180deg, rgba(255, 237, 213, 0.9) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.rp-owner-aging-item.aging-days_31_plus {
    background: linear-gradient(180deg, rgba(254, 226, 226, 0.92) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.rp-owner-aging-footer {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    display: grid;
    gap: 6px;
}

.rp-owner-aging-footer strong {
    color: #334155;
    font-size: var(--rp-text-caption-sm);
    line-height: 1.65;
    font-weight: var(--rp-fw-semibold);
}

.rp-owner-trend-item {
    display: grid;
    grid-template-columns: minmax(0, 110px) minmax(0, 1fr) minmax(0, 155px);
    gap: 14px;
    align-items: center;
}

.rp-owner-trend-meta,
.rp-owner-plan-head,
.rp-owner-watchlist-item,
.rp-owner-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.rp-owner-trend-meta,
.rp-owner-plan-head > div:first-child,
.rp-owner-watchlist-meta,
.rp-owner-list-item > div:first-child {
    min-width: 0;
}

.rp-owner-trend-meta strong,
.rp-owner-plan-head strong,
.rp-owner-watchlist-meta strong,
.rp-owner-list-item strong {
    display: block;
    margin: 0;
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: 1.45;
    font-weight: var(--rp-fw-bold);
}

.rp-owner-trend-meta span,
.rp-owner-plan-head span,
.rp-owner-watchlist-meta span,
.rp-owner-list-item span,
.rp-owner-list-side span,
.rp-owner-plan-stats span {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: 1.55;
}

.rp-owner-trend-bar,
.rp-owner-plan-track,
.rp-owner-health-stack-track {
    position: relative;
    overflow: hidden;
    height: 10px;
    border-radius: 999px;
    background: #e7eef9;
}

.rp-owner-trend-bar span,
.rp-owner-plan-track span,
.rp-owner-health-stack-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.rp-owner-trend-bar span {
    background: linear-gradient(90deg, #1d4ed8 0%, #60a5fa 100%);
}

.rp-owner-trend-value,
.rp-owner-list-side strong,
.rp-owner-plan-stats strong,
.rp-owner-watchlist-side strong {
    color: #0f172a;
    font-size: var(--rp-text-body-sm);
    line-height: 1.45;
    font-weight: var(--rp-fw-bold);
}

.rp-owner-health-grid,
.rp-owner-two-col-stats,
.rp-owner-ops-grid {
    display: grid;
    gap: 12px;
}

.rp-owner-health-visual {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.rp-owner-health-donut-wrap {
    display: flex;
    justify-content: center;
}

.rp-owner-health-donut {
    position: relative;
    width: 172px;
    height: 172px;
    border-radius: 50%;
}

.rp-owner-health-donut::after {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.rp-owner-health-donut-center {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rp-owner-health-donut-center strong {
    color: #0f172a;
    font-size: clamp(28px, 3vw, 34px);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: var(--rp-fw-bold);
}

.rp-owner-health-donut-center span {
    margin-top: 6px;
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: 1.45;
}

.rp-owner-health-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rp-owner-health-legend div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.85);
}

.rp-owner-health-legend span {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    flex-shrink: 0;
}

.rp-owner-health-legend strong {
    color: #334155;
    font-size: var(--rp-text-caption-sm);
    line-height: 1.45;
    font-weight: var(--rp-fw-semibold);
}

.rp-owner-health-legend .is-active {
    background: #16a34a;
}

.rp-owner-health-legend .is-risk {
    background: #f59e0b;
}

.rp-owner-health-legend .is-inactive {
    background: #cbd5e1;
}

.rp-owner-health-legend .is-cancelled {
    background: #f87171;
}

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

.rp-owner-health-pill,
.rp-owner-two-col-stats > div,
.rp-owner-ops-metric {
    padding: 14px 16px;
}

.rp-owner-health-pill {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.rp-owner-health-pill span,
.rp-owner-two-col-stats span,
.rp-owner-ops-metric span {
    display: block;
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: 1.55;
}

.rp-owner-health-pill strong,
.rp-owner-two-col-stats strong,
.rp-owner-ops-metric strong {
    display: block;
    margin-top: 6px;
    color: #0f172a;
    font-size: var(--rp-text-title);
    line-height: 1.2;
    font-weight: var(--rp-fw-bold);
}

.rp-owner-two-col-stats small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: var(--rp-text-caption);
    line-height: 1.45;
}

.rp-owner-health-pill.is-active {
    background: rgba(236, 253, 245, 0.92);
}

.rp-owner-health-pill.is-risk {
    background: rgba(255, 247, 237, 0.92);
}

.rp-owner-health-pill.is-inactive {
    background: rgba(248, 250, 252, 0.98);
}

.rp-owner-health-pill.is-cancelled {
    background: rgba(254, 242, 242, 0.96);
}

.rp-owner-health-stack {
    margin-top: 14px;
}

.rp-owner-health-stack-track {
    display: flex;
}

.rp-owner-health-stack-track .is-active {
    background: linear-gradient(90deg, #16a34a 0%, #4ade80 100%);
}

.rp-owner-health-stack-track .is-risk {
    background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
}

.rp-owner-health-stack-track .is-inactive {
    background: linear-gradient(90deg, #94a3b8 0%, #cbd5e1 100%);
}

.rp-owner-health-stack-track .is-cancelled {
    background: linear-gradient(90deg, #dc2626 0%, #f87171 100%);
}

.rp-owner-two-col-stats,
.rp-owner-ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rp-owner-plan-head {
    align-items: flex-start;
}

.rp-owner-plan-overview {
    display: flex;
    overflow: hidden;
    height: 14px;
    border-radius: 999px;
    background: #e7eef9;
    margin-bottom: 14px;
}

.rp-owner-revenue-mix-bar {
    display: flex;
    overflow: hidden;
    height: 18px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #e7eef9;
}

.rp-owner-revenue-mix-bar span {
    display: block;
    height: 100%;
    min-width: 0;
}

.rp-owner-revenue-mix-bar .is-recurring {
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
}

.rp-owner-revenue-mix-bar .is-onetime {
    background: linear-gradient(90deg, #d97706 0%, #fbbf24 100%);
}

.rp-owner-plan-overview span {
    display: block;
    height: 100%;
    min-width: 0;
}

.rp-owner-plan-track span {
    background: linear-gradient(90deg, #0f766e 0%, #34d399 100%);
}

.rp-owner-watchlist-side,
.rp-owner-list-side,
.rp-owner-plan-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
    flex-shrink: 0;
}

.rp-owner-watchlist-item {
    align-items: flex-start;
}

.rp-owner-watchlist-side .rp-badge {
    text-transform: none;
}

.rp-owner-empty-state {
    padding: 20px;
    border-radius: 18px;
    border: 1px dashed rgba(148, 163, 184, 0.24);
    background: rgba(248, 250, 255, 0.82);
    color: #64748b;
    font-size: var(--rp-text-body-sm);
    line-height: 1.65;
    text-align: center;
}

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

.rp-owner-ops-metric {
    min-height: 116px;
}

@media (max-width: 1160px) {
    .rp-owner-hero,
    .rp-owner-grid.cols-2,
    .rp-owner-grid.cols-3 {
        grid-template-columns: 1fr;
    }

    .rp-owner-hero-title {
        max-width: none;
    }

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

@media (max-width: 860px) {
    .rp-owner-dashboard {
        gap: 14px;
    }

    .rp-owner-hero,
    .rp-owner-card {
        padding: 16px;
        border-radius: 20px;
    }

    .rp-owner-hero-highlight-row,
    .rp-owner-kpi-grid,
    .rp-owner-movement-grid,
    .rp-owner-chart-summary-grid,
    .rp-owner-health-grid,
    .rp-owner-two-col-stats,
    .rp-owner-ops-grid {
        grid-template-columns: 1fr;
    }

    .rp-owner-kpi-card {
        min-height: 0;
    }

    .rp-owner-trend-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rp-owner-trend-value {
        text-align: left;
    }

    .rp-owner-plan-head,
    .rp-owner-watchlist-item,
    .rp-owner-list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .rp-owner-watchlist-side,
    .rp-owner-list-side,
    .rp-owner-plan-stats {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .rp-owner-card .rp-card-title {
        font-size: clamp(20px, 5vw, 24px);
    }

    .rp-owner-hero-title {
        font-size: clamp(28px, 9vw, 36px);
    }

    .rp-owner-line-chart-footer,
    .rp-owner-health-visual,
    .rp-owner-health-legend {
        grid-template-columns: 1fr;
    }

    .rp-owner-health-donut {
        width: 152px;
        height: 152px;
    }
}

@media (max-width: 560px) {
    .rp-owner-eyebrow {
        font-size: 11px;
        padding: 6px 10px;
    }

    .rp-owner-hero-highlight strong,
    .rp-owner-hero-aside-card strong,
    .rp-owner-kpi-value {
        font-size: 28px;
    }

    .rp-owner-hero-subtitle,
    .rp-owner-empty-state {
        font-size: 13px;
    }

    .rp-owner-watchlist-item,
    .rp-owner-list-item,
    .rp-owner-trend-item,
    .rp-owner-plan-item,
    .rp-owner-aging-item,
    .rp-owner-movement-card {
        padding: 13px 14px;
        border-radius: 16px;
    }
}

@media (max-width: 640px) {
    .rp-client-plan-quantity-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

.rp-company-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    min-width: 0;
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
}

.rp-company-dashboard > * {
    min-width: 0;
}

.rp-company-platform-switch,
.rp-company-dashboard-hero,
.rp-company-panel,
.rp-company-dashboard-empty {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.95) 100%);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.rp-company-platform-switch {
    display: grid;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 255, 0.95) 100%);
}

.rp-company-platform-switch-head h3 {
    margin: 10px 0 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.2;
}

.rp-company-platform-switch-head p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.rp-company-dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
    gap: 18px;
    padding: 22px 24px;
    min-width: 0;
    background: linear-gradient(135deg, rgba(248, 251, 255, 0.98) 0%, rgba(242, 247, 255, 0.96) 100%);
}

.rp-company-dashboard-hero-main,
.rp-company-dashboard-meta,
.rp-company-dashboard-filter-card,
.rp-company-dashboard-filter-actions,
.rp-company-platform-tabs,
.rp-company-platform-tab,
.rp-company-kpi-grid,
.rp-company-kpi-card,
.rp-company-chart-suite,
.rp-company-chart-card,
.rp-company-chart-card-head,
.rp-company-chart-card-head > *,
.rp-company-chart-canvas,
.rp-company-dashboard-grid,
.rp-company-panel,
.rp-company-panel-header,
.rp-company-panel-header > *,
.rp-company-dashboard-side,
.rp-company-breakdown-grid,
.rp-company-breakdown-card,
.rp-company-spotlight-grid,
.rp-company-spotlight-card,
.rp-company-latest-report-card,
.rp-company-highlight-item,
.rp-company-month-strip,
.rp-company-month-card {
    min-width: 0;
}

.rp-company-dashboard-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.22);
    background: rgba(255, 255, 255, 0.72);
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rp-company-dashboard-title {
    margin: 14px 0 0;
    color: #0f172a;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}

.rp-company-dashboard-subtitle {
    max-width: 680px;
    margin: 12px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

.rp-company-dashboard-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.rp-company-dashboard-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.82);
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.rp-company-dashboard-pill.is-strong {
    border-color: rgba(59, 130, 246, 0.22);
    color: #1d4ed8;
}

.rp-company-dashboard-filter-card {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.88);
}

.rp-company-dashboard-filter-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
}

.rp-company-dashboard-filter-card p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}

.rp-company-dashboard-filter-label {
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rp-company-dashboard-select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    background: #fff;
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
}

.rp-company-dashboard-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.rp-company-platform-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.rp-company-platform-tab {
    display: grid;
    gap: 6px;
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rp-company-platform-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.rp-company-platform-tab-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rp-company-platform-name {
    display: block;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.rp-company-platform-tab-meta {
    display: block;
    color: #1e293b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.rp-company-platform-tab-note {
    display: block;
    color: #64748b;
    font-size: 11px;
    line-height: 1.45;
}

.rp-company-platform-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
    white-space: nowrap;
}

.rp-company-platform-state.is-live {
    background: rgba(220, 252, 231, 0.95);
    color: #15803d;
}

.rp-company-platform-state.is-empty {
    background: rgba(226, 232, 240, 0.96);
    color: #475569;
}

.rp-company-platform-state.is-coming_soon {
    background: rgba(255, 247, 237, 0.96);
    color: #c2410c;
}

.rp-company-platform-tab.is-active {
    border-color: rgba(59, 130, 246, 0.28);
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.94) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.1);
}

.rp-company-platform-tab.is-active .rp-company-platform-name {
    color: #1d4ed8;
}

.rp-company-platform-tab.is-coming_soon {
    border-color: rgba(245, 158, 11, 0.24);
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.98) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.rp-company-platform-tab.is-empty {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.rp-company-dashboard-empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 34px 28px;
    text-align: center;
}

.rp-company-dashboard-empty-badge {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.09);
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
}

.rp-company-dashboard-empty h3 {
    margin: 0;
    color: #0f172a;
    font-size: 28px;
    line-height: 1.14;
}

.rp-company-dashboard-empty p {
    max-width: 720px;
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.75;
}

.rp-company-dashboard-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.rp-company-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.rp-company-kpi-card {
    min-height: 120px;
    padding: 16px 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 255, 0.94) 100%);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

.rp-company-kpi-label {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rp-company-kpi-value {
    display: block;
    margin-top: 14px;
    color: #0f172a;
    font-size: clamp(24px, 2.8vw, 34px);
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.rp-company-chart-suite {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.rp-company-compact-suite {
    display: grid;
    gap: 18px;
}

.rp-company-compact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.rp-company-compact-card {
    padding: 22px 24px;
}

.rp-company-compact-card.is-secondary {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.94) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.rp-company-compact-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rp-company-compact-metric,
.rp-company-compact-insight-item {
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.84);
}

.rp-company-compact-metric span,
.rp-company-compact-insight-item span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rp-company-compact-metric strong,
.rp-company-compact-insight-item strong {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.15;
}

.rp-company-compact-insight-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rp-company-compact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.rp-company-compact-period {
    display: grid;
    gap: 2px;
    margin: -6px 0 14px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.86);
}

.rp-company-compact-period span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rp-company-compact-period strong {
    color: #1d4ed8;
    font-size: 15px;
    line-height: 1.45;
}

.rp-company-chart-card {
    padding: 20px 22px;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 255, 0.95) 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.rp-company-chart-card.is-wide {
    grid-column: span 2;
}

.rp-company-chart-card.is-decision {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 22px;
    align-items: start;
}

.rp-company-chart-card.is-decision .rp-company-chart-card-head {
    margin-bottom: 0;
}

.rp-company-chart-card.is-decision .rp-company-chart-card-head p {
    max-width: 40ch;
}

.rp-company-chart-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.rp-company-chart-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rp-company-chart-card-head h3 {
    margin: 12px 0 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.rp-company-chart-card-head p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

.rp-company-chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.rp-company-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.96);
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.rp-company-chart-legend i {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--legend-color, #2563eb);
}

.rp-company-chart-canvas {
    overflow: hidden;
    padding: 12px 12px 8px;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.rp-company-line-chart {
    display: block;
    width: 100%;
    height: auto;
}

.rp-company-line-guide {
    stroke: rgba(148, 163, 184, 0.22);
    stroke-width: 1;
    stroke-dasharray: 4 7;
}

.rp-company-line-path {
    fill: none;
    stroke: var(--line-color, #2563eb);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rp-company-line-point {
    fill: #fff;
    stroke: var(--line-color, #2563eb);
    stroke-width: 3;
}

.rp-company-line-axis-labels {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
}

.rp-company-line-axis-labels span {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.rp-company-decision-bars {
    display: grid;
    gap: 12px;
}

.rp-company-decision-bar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.rp-company-decision-bar-head span,
.rp-company-decision-bar-head strong {
    color: #0f172a;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.rp-company-decision-bar-track {
    overflow: hidden;
    height: 12px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.9);
}

.rp-company-decision-bar-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.rp-company-decision-bar.is-scale .rp-company-decision-bar-track span {
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
}

.rp-company-decision-bar.is-maintain .rp-company-decision-bar-track span {
    background: linear-gradient(90deg, #14b8a6 0%, #5eead4 100%);
}

.rp-company-decision-bar.is-fix .rp-company-decision-bar-track span {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}

.rp-company-decision-bar.is-pause .rp-company-decision-bar-track span {
    background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
}

.rp-company-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.9fr);
    gap: 18px;
}

.rp-company-dashboard-grid--compact {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.rp-company-panel {
    padding: 20px 22px;
}

.rp-company-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.rp-company-panel-header h3 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.2;
}

.rp-company-panel-header p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}

.rp-company-panel-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.rp-company-trend-head,
.rp-company-trend-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1.15fr) minmax(0, 1fr) 140px;
    gap: 16px;
}

.rp-company-trend-head {
    margin-bottom: 10px;
    padding: 0 2px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rp-company-trend-list {
    display: grid;
    gap: 10px;
}

.rp-company-trend-row {
    align-items: center;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.82);
}

.rp-company-trend-row.is-empty {
    border-style: dashed;
    background: rgba(248, 250, 252, 0.84);
}

.rp-company-trend-month strong,
.rp-company-trend-metrics strong,
.rp-company-trend-side strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.2;
}

.rp-company-trend-month span,
.rp-company-trend-metrics span,
.rp-company-trend-side span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}

.rp-company-trend-metrics.is-inline strong,
.rp-company-trend-side.is-plain strong {
    font-size: 15px;
}

.rp-company-trend-side.is-plain {
    display: grid;
    align-content: center;
}

.rp-company-dashboard-side {
    display: grid;
}

.rp-company-spotlight-grid,
.rp-company-decision-pulse {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rp-company-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.rp-company-breakdown-card {
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.84);
}

.rp-company-breakdown-card.is-growth {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.rp-company-breakdown-card span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rp-company-breakdown-card strong {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.2;
}

.rp-company-breakdown-card p {
    margin: 8px 0 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.65;
}

.rp-company-spotlight-card,
.rp-company-latest-report-card,
.rp-company-highlight-item,
.rp-company-decision-pulse > div {
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.84);
}

.rp-company-spotlight-card.is-alert {
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.92) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.rp-company-spotlight-card span,
.rp-company-latest-report-card span,
.rp-company-highlight-item span,
.rp-company-decision-pulse span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rp-company-spotlight-card strong,
.rp-company-latest-report-card strong,
.rp-company-highlight-item strong,
.rp-company-decision-pulse strong {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.15;
}

.rp-company-spotlight-card p,
.rp-company-latest-report-card p,
.rp-company-highlight-item p {
    margin: 8px 0 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.65;
}

.rp-company-latest-report-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
}

.rp-company-highlight-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.rp-company-decision-pulse {
    margin-top: 14px;
}

.rp-company-month-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 280px);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.rp-company-month-card {
    display: grid;
    gap: 14px;
    min-height: 250px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.86);
}

.rp-company-month-card.is-live {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 246, 255, 0.94) 100%);
}

.rp-company-month-card.is-empty {
    border-style: dashed;
    background: rgba(248, 250, 252, 0.86);
}

.rp-company-month-card-head,
.rp-company-month-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.rp-company-month-card-head span,
.rp-company-month-footer span {
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}

.rp-company-month-card-head strong,
.rp-company-month-card h4 {
    color: #0f172a;
}

.rp-company-month-card h4 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

.rp-company-month-card p {
    margin: -6px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

.rp-company-month-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.rp-company-month-status.is-ready {
    background: rgba(220, 252, 231, 0.95);
    color: #15803d;
}

.rp-company-month-status.is-empty {
    background: rgba(226, 232, 240, 0.92);
    color: #475569;
}

.rp-company-month-metrics {
    display: grid;
    gap: 12px;
}

.rp-company-month-metrics span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rp-company-month-metrics strong {
    display: block;
    margin-top: 4px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.15;
}

@media (max-width: 1280px) {
    .rp-company-month-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rp-company-dashboard-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .rp-company-platform-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-company-compact-grid {
        grid-template-columns: 1fr;
    }

    .rp-company-chart-suite {
        grid-template-columns: 1fr;
    }

    .rp-company-chart-card.is-wide {
        grid-column: auto;
    }

    .rp-company-chart-card,
    .rp-company-panel {
        padding: 20px 20px 22px;
    }

    .rp-company-chart-card.is-decision {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 1100px) {
    .rp-company-kpi-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .rp-company-dashboard-hero,
    .rp-company-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .rp-company-dashboard-grid--compact {
        grid-template-columns: 1fr;
    }

    .rp-company-trend-head,
    .rp-company-trend-row {
        grid-template-columns: 86px minmax(0, 1fr) minmax(0, 1fr) 128px;
    }

    .rp-company-chart-card-head {
        flex-direction: column;
    }

    .rp-company-chart-legend {
        justify-content: flex-start;
    }

    .rp-company-platform-tabs {
        grid-template-columns: 1fr;
    }

    .rp-company-platform-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .rp-company-platform-summary-pills {
        justify-content: flex-start;
    }
}

@media (max-width: 860px) {
    .rp-company-platform-switch,
    .rp-company-dashboard-hero,
    .rp-company-panel,
    .rp-company-dashboard-empty {
        padding: 18px;
        border-radius: 24px;
    }

    .rp-company-kpi-grid,
    .rp-company-month-grid,
    .rp-company-spotlight-grid,
    .rp-company-breakdown-grid,
    .rp-company-compact-metrics,
    .rp-company-compact-insight-list {
        grid-template-columns: 1fr 1fr;
    }

    .rp-company-panel-header,
    .rp-company-latest-report-card,
    .rp-company-month-card-head,
    .rp-company-month-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .rp-company-trend-head {
        display: none;
    }

    .rp-company-trend-row {
        grid-template-columns: 1fr;
    }

    .rp-company-line-axis-labels {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .rp-company-dashboard-title {
        font-size: 30px;
    }

    .rp-company-dashboard-subtitle,
    .rp-company-platform-switch-head p,
    .rp-company-panel-header p,
    .rp-company-month-card p,
    .rp-company-dashboard-empty p {
        font-size: 13px;
    }

    .rp-company-kpi-grid,
    .rp-company-month-grid,
    .rp-company-spotlight-grid,
    .rp-company-breakdown-grid,
    .rp-company-compact-metrics,
    .rp-company-compact-insight-list {
        grid-template-columns: 1fr;
    }

    .rp-company-platform-tabs {
        grid-template-columns: 1fr;
    }

    .rp-company-kpi-card,
    .rp-company-month-card,
    .rp-company-spotlight-card,
    .rp-company-highlight-item,
    .rp-company-latest-report-card,
    .rp-company-chart-card,
    .rp-company-platform-switch {
        border-radius: 18px;
    }

    .rp-company-line-axis-labels {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media print {
    .rp-report-tab-panel {
        display: none !important;
    }

    .rp-report-tab-panel.is-active {
        display: flex !important;
    }
    .no-print {
        display: none !important;
    }

    html,
    body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
