:root {
    --rk-blue: #4285F4;
    --rk-blue-dark: #3367d6;
    --rk-blue-soft: #e8f0fe;
    --rk-red: #EA4335;
    --rk-red-dark: #d33426;
    --rk-red-soft: #fce8e6;
    --rk-yellow: #FBBC05;
    --rk-yellow-soft: #fef9c3;
    --rk-green: #34A853;
    --rk-green-dark: #2d8f47;
    --rk-green-soft: #dcfce7;
    --rk-primary: var(--rk-blue);
    --rk-primary-dark: var(--rk-blue-dark);
    --rk-primary-soft: var(--rk-blue-soft);
    --rk-orange: var(--rk-blue);
    --rk-orange-dark: var(--rk-blue-dark);
    --rk-orange-soft: var(--rk-blue-soft);
    --rk-ink: #374151;
    --rk-ink-strong: #111827;
    --rk-muted: #6b7280;
    --rk-border: #e5e7eb;
    --rk-white: #ffffff;
    --rk-bg: #ffffff;
}

* {
    box-sizing: border-box;
}

body.rk-body {
    margin: 0;
    color: var(--rk-ink);
    background: var(--rk-bg);
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

.rk-nav {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--rk-border);
    backdrop-filter: blur(10px);
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.rk-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    max-width: 220px;
}

@media (min-width: 992px) {
    .rk-brand {
        max-width: 260px;
    }

    .rk-brand-logo {
        height: 48px;
    }
}

.rk-brand-logo,
.rk-footer-logo,
.rk-auth-logo {
    width: auto;
    display: block;
    object-fit: contain;
    border-radius: 6px;
}

.rk-brand-logo {
    height: 44px;
}

.rk-footer-logo {
    height: 52px;
}

.rk-auth-logo {
    height: 56px;
    margin: 0 auto;
}

.rk-brand-mark,
.rk-footer-mark,
.rk-admin-mark,
.rk-auth-mark {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
}

.rk-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.rk-wordmark {
    display: inline-flex;
    align-items: baseline;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    font-size: 1.25rem;
}

.rk-word-rating {
    color: var(--rk-ink-strong);
}

.rk-word-karo {
    display: inline-flex;
    align-items: baseline;
}

.rk-word-karo .k { color: var(--rk-blue); }
.rk-word-karo .a { color: var(--rk-red); }
.rk-word-karo .r { color: var(--rk-yellow); }
.rk-word-karo .o { color: var(--rk-green); }

.rk-brand-tagline {
    font-size: 0.62rem;
    line-height: 1.25;
    color: var(--rk-muted);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 210px;
}

.rk-nav-links .nav-link {
    color: #4b5563 !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.45rem 0.7rem !important;
}

.rk-nav-links .nav-link:hover,
.rk-nav-links .nav-link.active {
    color: var(--rk-primary) !important;
}

.rk-nav .navbar-toggler {
    border-color: var(--rk-border);
}

.btn-rk {
    background: var(--rk-primary);
    border: 1px solid var(--rk-primary);
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.55rem 1.15rem;
}

.btn-rk:hover,
.btn-rk:focus {
    background: var(--rk-primary-dark);
    border-color: var(--rk-primary-dark);
    color: #fff;
}

.btn-rk-ghost {
    background: #fff;
    border: 1px solid #d1d5db;
    color: var(--rk-ink-strong);
    font-weight: 700;
    border-radius: 999px;
    padding: 0.55rem 1.05rem;
}

.btn-rk-ghost:hover {
    background: #f9fafb;
    color: var(--rk-ink-strong);
    border-color: #9ca3af;
}

.rk-main {
    min-height: calc(100vh - 180px);
}

/* Hero — full uncropped image, text over left side */
.rk-hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #f4f5f7;
}

.rk-hero-stage {
    position: relative;
    width: 100%;
}

.rk-hero-full-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

.rk-hero-inner {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.rk-hero-inner .container,
.rk-hero-copy {
    pointer-events: auto;
}

.rk-hero-copy {
    max-width: min(42rem, 52%);
    padding: 1.25rem 0;
}

.rk-hero-panel {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.72) 55%,
        rgba(255, 255, 255, 0.45) 100%
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    padding: 1.65rem 1.75rem 1.5rem;
}

.rk-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #eef5ff;
    border: 1px solid #c9dcff;
    color: #1d4ed8;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.01em;
    border-radius: 999px;
    padding: 0.5rem 1rem;
}

.rk-badge-icon {
    flex-shrink: 0;
}

.rk-hero-title {
    font-size: clamp(2.35rem, 4.8vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin: 1.1rem 0 1.15rem;
    text-wrap: balance;
}

.rk-hero-title-dark {
    color: #0b1220;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.rk-better-word {
    color: var(--rk-blue);
    text-shadow: 0 2px 14px rgba(66, 133, 244, 0.22);
}

.rk-reviews-word {
    letter-spacing: -0.03em;
}

.rk-reviews-word .c1 { color: #EA4335; }
.rk-reviews-word .c2 { color: var(--rk-yellow); }
.rk-reviews-word .c3 { color: #E6A800; }
.rk-reviews-word .c4 { color: #34A853; }
.rk-reviews-word .c5 { color: #4285F4; }
.rk-reviews-word .c6 { color: #EA4335; }
.rk-reviews-word .c7 { color: #34A853; }

.rk-hero-lead {
    font-size: clamp(1.05rem, 1.7vw, 1.2rem);
    line-height: 1.65;
    color: #3f4b59;
    font-weight: 500;
    max-width: 36rem;
    margin-bottom: 1.55rem;
}

.rk-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.95rem;
    margin-bottom: 1.65rem;
}

.rk-cta-primary {
    padding: 0.95rem 1.7rem !important;
    font-size: 1.08rem !important;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 10px 24px rgba(66, 133, 244, 0.28);
}

.rk-cta-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(66, 133, 244, 0.34);
}

.btn-rk-demo {
    background: #fff;
    border: 1.5px solid #93c5fd;
    color: #111827;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.9rem 1.4rem;
    font-size: 1.02rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.btn-rk-demo:hover {
    background: var(--rk-orange-soft);
    border-color: var(--rk-orange);
    color: #111827;
}

.rk-play {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--rk-orange);
    color: var(--rk-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rk-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem 1.75rem;
}

.rk-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.rk-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rk-trust-green { background: #e7f8ed; color: var(--rk-green); }
.rk-trust-blue { background: #e8f1ff; color: var(--rk-blue); }
.rk-trust-red { background: #fdeceb; color: var(--rk-red); }

.rk-trust-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 0.86rem;
    color: #4b5563;
}

.rk-trust-text strong {
    color: #111827;
    font-size: 0.98rem;
    font-weight: 800;
}

/* Trusted businesses strip */
.rk-trusted {
    background: #fff;
    padding: 2.75rem 0 3rem;
    border-bottom: 1px solid #f0f2f5;
}

.rk-trusted-title {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.82rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 2rem;
}

.rk-trusted-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem 1rem;
    max-width: 980px;
    margin: 0 auto;
}

.rk-trusted-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    color: #2c3e50;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.rk-trusted-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rk-trusted-icon svg {
    width: 28px;
    height: 28px;
}

/* Sections */
.rk-section {
    padding: 4rem 0;
}

.rk-section-alt {
    background: #fafafa;
}

.rk-section-title {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--rk-ink-strong);
    letter-spacing: -0.02em;
}

.rk-section-lead {
    color: var(--rk-muted);
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* How it works */
.rk-how {
    background: #f4f7fb;
}

.rk-how-header {
    margin-bottom: 2.75rem;
}

.rk-how-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: #e8f0fe;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.rk-how-title {
    font-size: clamp(1.85rem, 3.4vw, 2.65rem);
    font-weight: 800;
    color: var(--rk-ink-strong);
    letter-spacing: -0.03em;
    margin: 0 0 0.65rem;
}

.rk-how-lead {
    color: var(--rk-muted);
    font-size: 1.02rem;
    margin: 0 auto;
    max-width: 34rem;
}

.rk-how-flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0.35rem;
    max-width: 1180px;
    margin: 0 auto;
}

.rk-how-card {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    padding: 1.35rem 1.1rem 1.25rem;
    text-align: center;
}

.rk-how-step {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
}

.rk-how-step-blue { background: var(--rk-blue); }
.rk-how-step-green { background: var(--rk-green); }
.rk-how-step-orange { background: var(--rk-yellow); }
.rk-how-step-red { background: var(--rk-red); }

.rk-how-icon {
    width: 64px;
    height: 64px;
    margin: 0.35rem auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rk-how-icon svg {
    width: 100%;
    height: 100%;
}

.rk-how-icon-blue { color: var(--rk-blue); }
.rk-how-icon-phone { color: #111827; }
.rk-how-icon-ai svg { width: 72px; height: 72px; }
.rk-how-icon-google svg { width: 52px; height: 52px; }

.rk-how-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--rk-ink-strong);
    margin: 0 0 0.55rem;
    line-height: 1.35;
}

.rk-how-card p {
    margin: 0;
    color: var(--rk-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.rk-how-arrow {
    flex: 0 0 auto;
    align-self: center;
    color: #cbd5e1;
    width: 18px;
}

.rk-how-arrow svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Why choose */
.rk-why {
    background: #fff;
    overflow: hidden;
}

.rk-why-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: var(--rk-blue-soft);
    color: var(--rk-blue);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.rk-why-badge-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.rk-why-title {
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    font-weight: 800;
    color: var(--rk-ink-strong);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 1rem;
    max-width: 28rem;
}

.rk-why-growth {
    color: var(--rk-green);
}

.rk-why-lead {
    color: var(--rk-muted);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 0 1.5rem;
    max-width: 34rem;
}

.rk-why-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: grid;
    gap: 0.85rem;
}

.rk-why-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: #374151;
}

.rk-why-list-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rk-why-list-icon svg {
    width: 16px;
    height: 16px;
}

.rk-why-list-green {
    background: #dcfce7;
    color: #16a34a;
}

.rk-why-list-blue {
    background: #dbeafe;
    color: #2563eb;
}

.rk-why-list-orange {
    background: #ffedd5;
    color: #ea580c;
}

.rk-why-list-red {
    background: #fee2e2;
    color: #ef4444;
}

.rk-why-list-purple {
    background: #ede9fe;
    color: #7c3aed;
}

.rk-why-cta {
    padding: 0.85rem 1.35rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 999px;
}

.rk-why-visual {
    max-width: 560px;
    margin: 0 auto;
}

.rk-why-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Features grid */
.rk-power-features {
    background: #f8fafc;
}

.rk-features-header {
    margin-bottom: 2.5rem;
}

.rk-features-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.rk-features-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    color: var(--rk-ink-strong);
    letter-spacing: -0.03em;
    margin: 0 0 0.55rem;
}

.rk-features-lead {
    color: var(--rk-muted);
    font-size: 1rem;
    margin: 0;
}

.rk-features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
    max-width: 1180px;
    margin: 0 auto;
}

.rk-features-card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    padding: 1.25rem 1.15rem 1.15rem;
    height: 100%;
}

.rk-features-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.rk-features-icon svg {
    width: 22px;
    height: 22px;
}

.rk-features-icon-blue {
    background: #dbeafe;
    color: #2563eb;
}

.rk-features-icon-orange {
    background: #ffedd5;
}

.rk-features-icon-orange svg {
    width: 24px;
    height: 24px;
}

.rk-features-icon-chart {
    background: #eff6ff;
}

.rk-features-icon-chart svg {
    width: 24px;
    height: 24px;
}

.rk-features-icon-purple {
    background: #ede9fe;
    color: #7c3aed;
}

.rk-features-icon-green {
    background: #dcfce7;
}

.rk-features-icon-green svg {
    width: 24px;
    height: 24px;
}

.rk-features-icon-yellow {
    background: #fef9c3;
    color: #ca8a04;
}

.rk-features-icon-red {
    background: #fee2e2;
    color: #ef4444;
}

.rk-features-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--rk-ink-strong);
    margin: 0 0 0.45rem;
    line-height: 1.35;
}

.rk-features-card p {
    margin: 0;
    color: var(--rk-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* Pricing */
.rk-pricing {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(239, 127, 26, 0.06), transparent 55%),
        #fff;
}

.rk-pricing-stage {
    display: flex;
    justify-content: center;
    width: 100%;
}

.rk-pricing-header {
    margin-bottom: 2.5rem;
}

.rk-pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.rk-pricing-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    color: var(--rk-ink-strong);
    letter-spacing: -0.03em;
    margin: 0 0 0.55rem;
}

.rk-pricing-highlight {
    color: #2563eb;
}

.rk-pricing-lead {
    color: var(--rk-muted);
    font-size: 1rem;
    margin: 0;
}

.rk-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
    justify-content: center;
    justify-items: stretch;
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
    width: 100%;
}

.rk-pricing-grid-n1 {
    grid-template-columns: minmax(260px, 340px);
}

.rk-pricing-grid-n2 {
    grid-template-columns: repeat(2, minmax(260px, 320px));
}

.rk-pricing-grid-n3 {
    grid-template-columns: repeat(3, minmax(240px, 320px));
}

.rk-pricing-grid-n4,
.rk-pricing-grid-wide {
    grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
    max-width: 1180px;
}

.rk-price-card {
    --price-accent: #94a3b8;
    --price-soft: #f1f5f9;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 1.35rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    padding: 1.5rem 1.3rem 1.3rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.rk-price-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--price-accent);
}

.rk-price-card-free {
    --price-accent: #64748b;
    --price-soft: #f1f5f9;
}

.rk-price-card-starter {
    --price-accent: #EA4335;
    --price-soft: #fce8e6;
}

.rk-price-card-pro {
    --price-accent: #4285F4;
    --price-soft: #e8f0fe;
}

.rk-price-card-enterprise {
    --price-accent: #34A853;
    --price-soft: #e6f4ea;
}

.rk-price-card-default {
    --price-accent: #F4B400;
    --price-soft: #fef7e0;
}

.rk-price-card:hover {
    transform: translateY(-4px);
    border-color: #d0d7e2;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.rk-price-card-popular {
    border: 2px solid #2563eb;
    box-shadow: 0 14px 36px rgba(37, 99, 235, 0.14);
    background:
        linear-gradient(180deg, #f8fbff 0%, #fff 42%);
}

.rk-price-card-popular:hover {
    box-shadow: 0 20px 44px rgba(37, 99, 235, 0.18);
}

.rk-price-popular {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: #2563eb;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    z-index: 2;
}

.rk-price-card-head {
    margin-bottom: 0.35rem;
}

.rk-price-kicker {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--price-accent);
    background: var(--price-soft);
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
    margin-bottom: 0.65rem;
}

.rk-price-name {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--rk-ink-strong);
    margin: 0 0 0.55rem;
}

.rk-price-name-starter {
    color: var(--rk-red);
}

.rk-price-name-pro {
    color: #2563eb;
}

.rk-price-name-enterprise {
    color: #15803d;
}

.rk-price-amount {
    margin-bottom: 0.65rem;
    color: var(--rk-ink-strong);
}

.rk-price-amount strong {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.rk-price-amount span {
    font-size: 0.92rem;
    color: var(--rk-muted);
    font-weight: 500;
}

.rk-price-custom strong {
    font-size: 1.75rem;
}

.rk-price-features {
    list-style: none;
    padding: 0.85rem 0 0;
    margin: 0 0 1.15rem;
    flex: 1 1 auto;
    display: grid;
    gap: 0.55rem;
    border-top: 1px solid #f1f5f9;
}

.rk-price-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.45;
}

.rk-price-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.rk-price-check-green {
    background: #dcfce7;
    color: #16a34a;
}

.rk-price-check-blue {
    background: #dbeafe;
    color: #2563eb;
}

.rk-price-card-foot {
    margin-top: auto;
}

.rk-price-btn {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    font-weight: 700;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.rk-price-btn-muted {
    background: #f3f4f6;
    color: var(--rk-ink-strong);
}

.rk-price-btn-muted:hover {
    background: #e5e7eb;
    color: var(--rk-ink-strong);
}

.rk-price-btn-orange {
    background: var(--rk-red);
    color: #fff;
}

.rk-price-btn-orange:hover {
    background: var(--rk-red-dark);
    color: #fff;
}

.rk-price-btn-blue {
    background: #2563eb;
    color: #fff;
}

.rk-price-btn-blue:hover {
    background: #1d4ed8;
    color: #fff;
}

.rk-price-btn-outline {
    background: #eff6ff;
    color: #2563eb;
}

.rk-price-btn-outline:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

.rk-feature {
    background: #fff;
    border: 1px solid var(--rk-border);
    border-radius: 16px;
    padding: 1.25rem;
    height: 100%;
}

.rk-feature h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.rk-feature p {
    color: var(--rk-muted);
    margin: 0;
    font-size: 0.92rem;
}

.rk-feature {
    border-top: 3px solid var(--rk-primary);
}

.col-md-4:nth-child(2) .rk-feature {
    border-top-color: var(--rk-blue);
}

.col-md-4:nth-child(3) .rk-feature {
    border-top-color: var(--rk-green);
}

.rk-faq details {
    background: #fff;
    border: 1px solid var(--rk-border);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.7rem;
}

.rk-faq summary {
    font-weight: 700;
    cursor: pointer;
    color: var(--rk-ink-strong);
}

.rk-faq p {
    margin: 0.65rem 0 0;
    color: var(--rk-muted);
}

.rk-price-faq-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.rk-price-faq details {
    border-radius: 1rem;
    padding: 0;
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rk-price-faq details:hover {
    border-color: #d0d7e2;
}

.rk-price-faq details[open] {
    border-color: #bfdbfe;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

.rk-price-faq summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    font-size: 1rem;
}

.rk-price-faq summary::-webkit-details-marker {
    display: none;
}

.rk-price-faq summary::after {
    content: "+";
    flex: 0 0 auto;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #475569;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.rk-price-faq details[open] summary::after {
    content: "–";
    background: #e8f0fe;
    color: #2563eb;
}

.rk-price-faq details[open] summary {
    color: #1d4ed8;
}

.rk-price-faq p {
    margin: 0;
    padding: 0 1.15rem 1.1rem;
    line-height: 1.6;
}

/* CTA banner */
.rk-cta {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    padding: 3.25rem 0;
}

.rk-cta-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.9;
}

.rk-cta-blob-yellow {
    width: 120px;
    height: 120px;
    background: #facc15;
    bottom: -40px;
    left: -20px;
}

.rk-cta-blob-orange {
    width: 90px;
    height: 90px;
    background: var(--rk-yellow);
    bottom: 10px;
    left: 70px;
}

.rk-cta-blob-red {
    width: 110px;
    height: 110px;
    background: #f87171;
    top: -30px;
    right: 80px;
}

.rk-cta-blob-blue {
    width: 130px;
    height: 130px;
    background: #60a5fa;
    top: -50px;
    right: -20px;
}

.rk-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.rk-cta-copy {
    max-width: 36rem;
}

.rk-cta-title {
    color: #fff;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.55rem;
    line-height: 1.25;
}

.rk-cta-lead {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    font-size: 1rem;
}

.rk-cta-action {
    text-align: center;
    flex-shrink: 0;
}

.rk-cta-btn {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 999px;
    white-space: nowrap;
}

.rk-cta-note {
    margin: 0.55rem 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
}

/* Footer */
.rk-footer {
    background: #fff;
    color: var(--rk-ink);
    border-top: 1px solid #f0f2f5;
}

.rk-footer-main {
    padding: 3.5rem 0 2.5rem;
}

.rk-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.rk-footer-mark {
    height: 40px;
}

.rk-footer-tagline {
    font-size: 0.82rem;
    color: var(--rk-muted);
    margin: 0 0 0.65rem;
}

.rk-footer-desc {
    color: var(--rk-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 1.1rem;
    max-width: 22rem;
}

.rk-footer-social {
    display: flex;
    gap: 0.55rem;
}

.rk-social {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.rk-social:hover {
    transform: translateY(-2px);
}

.rk-social svg {
    width: 16px;
    height: 16px;
}

.rk-social-fb {
    background: #1877f2;
    color: #fff;
}

.rk-social-ig {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    color: #fff;
}

.rk-social-li {
    background: #0a66c2;
    color: #fff;
}

.rk-social-yt {
    background: #374151;
    color: #fff;
}

.rk-footer-heading {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--rk-ink-strong);
    margin: 0 0 0.85rem;
}

.rk-footer-links,
.rk-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.rk-footer-links a,
.rk-footer-contact a {
    color: var(--rk-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.rk-footer-links a:hover,
.rk-footer-contact a:hover {
    color: var(--rk-primary);
}

.rk-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--rk-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.rk-footer-contact-icon {
    width: 18px;
    height: 18px;
    color: var(--rk-primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.rk-footer-contact-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.rk-footer-bar {
    border-top: 1px solid #eef0f3;
    padding: 1rem 0 1.25rem;
}

.rk-footer-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.rk-footer-bar p {
    margin: 0;
    font-size: 0.82rem;
    color: #9ca3af;
}

.rk-footer-heart {
    color: #ef4444;
}

.rk-footer-legal a {
    color: inherit;
    text-decoration: none;
}

.rk-footer-legal a:hover {
    color: var(--rk-blue);
}

.rk-nav-dropdown {
    border: 1px solid var(--rk-border);
    border-radius: 14px;
    padding: 0.45rem;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.1);
    min-width: 14rem;
}

.rk-nav-dropdown .dropdown-item {
    border-radius: 10px;
    font-weight: 500;
    padding: 0.55rem 0.75rem;
}

.rk-nav-dropdown .dropdown-item:hover,
.rk-nav-dropdown .dropdown-item:focus {
    background: var(--rk-blue-soft);
    color: var(--rk-ink-strong);
}

.rk-page-hero {
    padding: 3rem 0 1.5rem;
    background:
        radial-gradient(700px 280px at 10% 0%, rgba(66, 133, 244, 0.12), transparent 60%),
        radial-gradient(600px 260px at 90% 10%, rgba(234, 67, 53, 0.08), transparent 55%),
        #fff;
    border-bottom: 1px solid var(--rk-border);
}

.rk-page-kicker {
    color: var(--rk-blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.rk-page-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--rk-ink-strong);
    margin-bottom: 0.75rem;
}

.rk-page-lead {
    max-width: 40rem;
    color: var(--rk-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.rk-page-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.rk-page-list li {
    position: relative;
    padding: 0.7rem 0 0.7rem 1.7rem;
    border-bottom: 1px solid #f3f4f6;
    color: var(--rk-ink);
}

.rk-page-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.05rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--rk-blue);
}

.rk-page-steps {
    counter-reset: rkstep;
}

.rk-page-steps li {
    counter-increment: rkstep;
    padding-left: 2.4rem;
}

.rk-page-steps li::before {
    content: counter(rkstep);
    width: 1.5rem;
    height: 1.5rem;
    top: 0.7rem;
    border-radius: 8px;
    background: var(--rk-blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.rk-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.rk-page-panel {
    background: #fff;
    border: 1px solid var(--rk-border);
    border-radius: 16px;
    padding: 1.35rem;
}

.rk-solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.rk-solution-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--rk-border);
    border-radius: 16px;
    padding: 1.2rem;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.rk-solution-card:hover {
    border-color: #c7d7fb;
    transform: translateY(-2px);
    color: inherit;
}

.rk-solutions-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
}

.rk-solutions-mini a {
    color: var(--rk-blue);
    font-weight: 600;
    text-decoration: none;
}

.rk-solutions-mini a:hover {
    text-decoration: underline;
}

.rk-faq-item {
    border: 1px solid var(--rk-border);
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 0.65rem;
}

.rk-faq-item .accordion-button:not(.collapsed) {
    background: var(--rk-blue-soft);
    color: var(--rk-ink-strong);
    box-shadow: none;
}

.rk-legal-prose p {
    color: var(--rk-ink);
    line-height: 1.65;
}

.rk-hiw-hero {
    padding: 3.5rem 0 2.75rem;
    background:
        radial-gradient(900px 360px at 8% -10%, rgba(66, 133, 244, 0.14), transparent 55%),
        radial-gradient(700px 300px at 95% 0%, rgba(251, 188, 5, 0.12), transparent 50%),
        radial-gradient(500px 240px at 50% 100%, rgba(234, 67, 53, 0.06), transparent 55%),
        #fff;
    border-bottom: 1px solid var(--rk-border);
}

.rk-hiw-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.rk-hiw-title {
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: var(--rk-ink-strong);
    margin: 0.85rem 0 1rem;
}

.rk-hiw-lead {
    color: var(--rk-muted);
    font-size: 1.1rem;
    line-height: 1.65;
    margin: 0 auto 1.5rem;
    max-width: 38rem;
}

.rk-hiw-actions {
    justify-content: center;
}

.rk-hiw-steps {
    padding-top: 3.5rem;
}

.rk-hiw-flow {
    margin-top: 2.5rem;
}

.rk-hiw-card {
    padding: 1.75rem 1.25rem 1.5rem;
    min-height: 280px;
}

.rk-hiw-card h3 {
    font-size: 1.15rem;
}

.rk-hiw-card p {
    font-size: 0.98rem;
}

.rk-hiw-paths {
    padding-top: 1rem;
}

.rk-hiw-path-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--rk-border);
    border-radius: 20px;
    padding: 1.5rem 1.4rem;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04);
}

.rk-hiw-path-happy {
    border-top: 4px solid var(--rk-green);
}

.rk-hiw-path-ai {
    border-top: 4px solid var(--rk-yellow);
}

.rk-hiw-path-top {
    margin-bottom: 0.85rem;
}

.rk-hiw-path-stars {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: #f59e0b;
    margin-bottom: 0.35rem;
}

.rk-hiw-path-stars-low {
    color: #a8a29e;
}

.rk-hiw-path-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--rk-ink-strong);
}

.rk-hiw-path-card > p {
    color: var(--rk-muted);
    line-height: 1.55;
    margin-bottom: 1rem;
}

.rk-hiw-path-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--rk-ink);
}

.rk-hiw-path-card li {
    margin-bottom: 0.4rem;
}

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

@media (max-width: 991.98px) {
    .rk-hiw-guard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rk-hiw-card {
        min-height: 0;
    }
}

@media (max-width: 575.98px) {
    .rk-hiw-hero {
        padding: 2.5rem 0 2rem;
    }

    .rk-hiw-guard-grid {
        grid-template-columns: 1fr;
    }
}

.rk-feat-hero {
    padding: 3.5rem 0 2.75rem;
    background:
        radial-gradient(900px 360px at 90% -10%, rgba(66, 133, 244, 0.14), transparent 55%),
        radial-gradient(700px 300px at 5% 0%, rgba(52, 168, 83, 0.1), transparent 50%),
        radial-gradient(500px 240px at 50% 110%, rgba(251, 188, 5, 0.1), transparent 55%),
        #fff;
    border-bottom: 1px solid var(--rk-border);
}

.rk-demo-hero {
    padding: 3.25rem 0 2.75rem;
    background:
        radial-gradient(820px 340px at 100% 0%, rgba(66, 133, 244, 0.16), transparent 55%),
        radial-gradient(640px 280px at 0% 20%, rgba(234, 67, 53, 0.08), transparent 50%),
        radial-gradient(520px 240px at 55% 100%, rgba(251, 188, 5, 0.1), transparent 55%),
        #fff;
    border-bottom: 1px solid var(--rk-border);
    overflow: hidden;
}

.rk-demo-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem 2.5rem;
    align-items: center;
}

.rk-demo-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: var(--rk-ink-strong);
    margin: 0.85rem 0 1rem;
}

.rk-demo-lead {
    color: var(--rk-muted);
    font-size: 1.08rem;
    line-height: 1.65;
    margin: 0 0 1.35rem;
    max-width: 34rem;
}

.rk-demo-actions {
    justify-content: flex-start;
    margin-bottom: 1.15rem;
}

.rk-demo-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
}

.rk-demo-hero-pills span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--rk-border);
    font-size: 0.8rem;
    font-weight: 650;
    color: var(--rk-ink);
}

.rk-demo-hero-pills svg {
    color: var(--rk-blue);
    flex-shrink: 0;
}

.rk-demo-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 360px;
}

.rk-demo-phone {
    width: min(100%, 250px);
    border-radius: 1.75rem;
    background: #111;
    padding: 0.55rem;
    box-shadow:
        0 24px 48px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(15, 23, 42, 0.08);
    transform: rotate(2deg);
    animation: rk-demo-float 4.5s ease-in-out infinite;
}

.rk-demo-phone-notch {
    width: 4.5rem;
    height: 0.7rem;
    background: #222;
    border-radius: 999px;
    margin: 0.2rem auto 0.55rem;
}

.rk-demo-phone-screen {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 40%);
    border-radius: 1.3rem;
    padding: 1.1rem 1rem 1.2rem;
    min-height: 300px;
}

.rk-demo-phone-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rk-blue);
}

.rk-demo-phone-q {
    margin: 0.45rem 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--rk-ink-strong);
    letter-spacing: -0.02em;
}

.rk-demo-phone-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.95rem;
    color: #F4B400;
    font-size: 1.25rem;
    line-height: 1;
}

.rk-demo-phone-stars .is-muted {
    color: #e7e5e4;
}

.rk-demo-phone-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0.9rem;
    padding: 0.8rem 0.85rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    margin-bottom: 0.85rem;
}

.rk-demo-phone-card strong {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.25rem;
    color: var(--rk-ink-strong);
}

.rk-demo-phone-card p {
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.45;
    color: var(--rk-muted);
}

.rk-demo-phone-btn {
    background: var(--rk-blue);
    color: #fff;
    text-align: center;
    border-radius: 999px;
    padding: 0.65rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 750;
}

.rk-demo-float {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--rk-border);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--rk-ink);
    animation: rk-demo-float 3.8s ease-in-out infinite;
}

.rk-demo-float-qr {
    top: 12%;
    left: 2%;
    color: var(--rk-blue);
}

.rk-demo-float-ai {
    bottom: 18%;
    right: 0;
    animation-delay: 0.6s;
}

@keyframes rk-demo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.rk-demo-phone {
    animation: rk-demo-phone-bob 5s ease-in-out infinite;
}

@keyframes rk-demo-phone-bob {
    0%, 100% { transform: rotate(2deg) translateY(0); }
    50% { transform: rotate(2deg) translateY(-10px); }
}

.rk-demo-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.9rem;
}

.rk-demo-step {
    position: relative;
    background: #fff;
    border: 1px solid var(--rk-border);
    border-radius: 1.1rem;
    padding: 1.15rem 1rem 1.2rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rk-demo-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.rk-demo-step-blue::before { background: var(--rk-blue); }
.rk-demo-step-green::before { background: var(--rk-green); }
.rk-demo-step-yellow::before { background: var(--rk-yellow); }
.rk-demo-step-red::before { background: var(--rk-red); }

.rk-demo-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.rk-demo-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    background: #f4f4f5;
    color: var(--rk-ink);
}

.rk-demo-step-blue .rk-demo-step-num { background: var(--rk-blue-soft); color: var(--rk-blue-dark); }
.rk-demo-step-green .rk-demo-step-num { background: var(--rk-green-soft); color: var(--rk-green-dark); }
.rk-demo-step-yellow .rk-demo-step-num { background: var(--rk-yellow-soft); color: #92400e; }
.rk-demo-step-red .rk-demo-step-num { background: var(--rk-red-soft); color: var(--rk-red-dark); }

.rk-demo-step-icon {
    display: inline-flex;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.7rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    background: #f8fafc;
    color: var(--rk-ink);
}

.rk-demo-step-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.rk-demo-step h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
}

.rk-demo-step p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--rk-muted);
}

.rk-demo-try-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.rk-demo-try {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    padding: 1rem 1.05rem;
    background: #fff;
    border: 1px solid var(--rk-border);
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.rk-demo-try-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rk-demo-try-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.rk-demo-try-blue { background: var(--rk-blue-soft); color: var(--rk-blue); }
.rk-demo-try-green { background: var(--rk-green-soft); color: var(--rk-green-dark); }
.rk-demo-try-yellow { background: var(--rk-yellow-soft); color: #92400e; }
.rk-demo-try-red { background: var(--rk-red-soft); color: var(--rk-red); }

.rk-demo-try h3 {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    font-weight: 800;
}

.rk-demo-try p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--rk-muted);
}

.rk-demo-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.5rem 1.6rem;
    border-radius: 1.25rem;
    background:
        linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(52, 168, 83, 0.08));
    border: 1px solid var(--rk-border);
}

.rk-demo-cta h2 {
    margin: 0 0 0.35rem;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.rk-demo-cta p {
    margin: 0;
    color: var(--rk-muted);
    max-width: 34rem;
}

.rk-demo-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

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

    .rk-demo-hero-visual {
        order: -1;
        min-height: 320px;
    }

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

@media (max-width: 575.98px) {
    .rk-demo-steps,
    .rk-demo-try-grid {
        grid-template-columns: 1fr;
    }

    .rk-demo-float-qr {
        left: 0;
    }

    .rk-demo-float-ai {
        right: 0;
    }
}

.rk-feat-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.rk-feat-title {
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: var(--rk-ink-strong);
    margin: 0.85rem 0 1rem;
}

.rk-feat-lead {
    color: var(--rk-muted);
    font-size: 1.1rem;
    line-height: 1.65;
    margin: 0 auto 1.5rem;
    max-width: 40rem;
}

.rk-feat-actions {
    justify-content: center;
}

.rk-feat-grid-section {
    padding-top: 3.25rem;
}

.rk-feat-card {
    --feat-accent: #4285F4;
    --feat-soft: #e8f0fe;
    position: relative;
    overflow: hidden;
    min-height: 250px;
    padding: 1.35rem 1.2rem 1.2rem;
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rk-feat-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--feat-accent);
    opacity: 0.9;
}

.rk-feat-card::after {
    content: "";
    position: absolute;
    right: -28%;
    top: -40%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--feat-soft);
    opacity: 0.55;
    pointer-events: none;
}

.rk-feat-card-blue {
    --feat-accent: #4285F4;
    --feat-soft: #e8f0fe;
}

.rk-feat-card-yellow {
    --feat-accent: #F4B400;
    --feat-soft: #fef7e0;
}

.rk-feat-card-green {
    --feat-accent: #34A853;
    --feat-soft: #e6f4ea;
}

.rk-feat-card-red {
    --feat-accent: #EA4335;
    --feat-soft: #fce8e6;
}

.rk-feat-card:hover {
    transform: translateY(-4px);
    border-color: #d0d7e2;
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.08);
}

.rk-feat-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.rk-feat-card-top .rk-features-icon {
    margin-bottom: 0;
}

.rk-feat-card-kicker {
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--feat-accent);
    background: var(--feat-soft);
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
}

.rk-feat-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}

.rk-feat-card p {
    position: relative;
    z-index: 1;
    font-size: 0.92rem;
    line-height: 1.55;
    flex: 1 1 auto;
}

.rk-feat-card-chips {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.95rem;
}

.rk-feat-card-chips span {
    font-size: 0.7rem;
    font-weight: 650;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e8ecf1;
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
}

.rk-feat-spotlights {
    padding-top: 1rem;
}

.rk-feat-spotlight {
    --spot-accent: #4285F4;
    --spot-soft: #e8f0fe;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.75rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.65rem 1.55rem;
    background: #fff;
    border: 1px solid var(--rk-border);
    border-radius: 1.4rem;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rk-feat-spotlight::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--spot-accent);
}

.rk-feat-spotlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.07);
}

.rk-feat-spot-blue {
    --spot-accent: #4285F4;
    --spot-soft: #e8f0fe;
}

.rk-feat-spot-green {
    --spot-accent: #34A853;
    --spot-soft: #e6f4ea;
}

.rk-feat-spot-yellow {
    --spot-accent: #F4B400;
    --spot-soft: #fef7e0;
}

.rk-feat-spot-red {
    --spot-accent: #EA4335;
    --spot-soft: #fce8e6;
}

.rk-feat-spotlight-reverse {
    direction: rtl;
}

.rk-feat-spotlight-reverse > * {
    direction: ltr;
}

.rk-feat-spotlight-reverse::before {
    left: auto;
    right: 0;
}

.rk-feat-spotlight-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.65rem;
}

.rk-feat-tag-blue { background: var(--rk-blue-soft); color: var(--rk-blue-dark); }
.rk-feat-tag-green { background: var(--rk-green-soft); color: var(--rk-green-dark); }
.rk-feat-tag-yellow { background: var(--rk-yellow-soft); color: #92400e; }
.rk-feat-tag-red { background: var(--rk-red-soft); color: var(--rk-red-dark); }

.rk-feat-spotlight-copy h3 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
    color: var(--rk-ink-strong);
}

.rk-feat-spotlight-copy > p {
    color: var(--rk-muted);
    line-height: 1.6;
    margin-bottom: 0.95rem;
}

.rk-feat-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.rk-feat-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    color: var(--rk-ink);
    font-size: 0.95rem;
    line-height: 1.45;
}

.rk-feat-check-list code {
    font-size: 0.85em;
    background: #f1f5f9;
    border-radius: 6px;
    padding: 0.05rem 0.35rem;
    color: #334155;
}

.rk-feat-check {
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    background: var(--spot-soft);
    color: var(--spot-accent);
    margin-top: 0.05rem;
}

.rk-feat-spotlight-panel {
    border-radius: 1.15rem;
    min-height: 240px;
    display: grid;
    place-items: center;
    padding: 1.35rem;
    position: relative;
    overflow: hidden;
}

.rk-feat-spotlight-panel::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    right: -40px;
    bottom: -50px;
    pointer-events: none;
}

.rk-feat-panel-blue { background: linear-gradient(160deg, #e8f0fe, #f8fafc); }
.rk-feat-panel-green { background: linear-gradient(160deg, #dcfce7, #f8fafc); }
.rk-feat-panel-yellow { background: linear-gradient(160deg, #fef9c3, #f8fafc); }
.rk-feat-panel-red { background: linear-gradient(160deg, #fce8e6, #f8fafc); }

.rk-feat-mock {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 270px;
    background: #fff;
    border: 1px solid var(--rk-border);
    border-radius: 1rem;
    padding: 0.85rem 1rem 1rem;
    text-align: center;
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.08);
}

.rk-feat-mock-head {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}

.rk-feat-mock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e2e8f0;
}

.rk-feat-mock-dot:nth-child(1) { background: #fca5a5; }
.rk-feat-mock-dot:nth-child(2) { background: #fcd34d; }
.rk-feat-mock-dot:nth-child(3) { background: #86efac; }

.rk-feat-mock-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--rk-muted);
    margin-bottom: 0.65rem;
}

.rk-feat-mock-qr {
    width: 118px;
    height: 118px;
    margin: 0 auto 0.75rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background:
        linear-gradient(90deg, #111 0 18%, transparent 18% 28%, #111 28% 46%, transparent 46% 58%, #111 58% 78%, transparent 78% 100%),
        linear-gradient(#111 0 18%, transparent 18% 28%, #111 28% 46%, transparent 46% 58%, #111 58% 78%, transparent 78% 100%);
    background-size: 24px 24px;
    background-color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
}

.rk-feat-mock-qr span {
    border: 3px solid #111;
    border-radius: 3px;
    background: #fff;
}

.rk-feat-mock-qr span:nth-child(4) {
    border-style: dashed;
    opacity: 0.55;
}

.rk-feat-mock-link {
    display: block;
    font-size: 0.78rem;
    color: var(--rk-blue);
    font-weight: 600;
}

.rk-feat-mock-status {
    display: inline-block;
    margin-top: 0.65rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #166534;
    background: #dcfce7;
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
}

.rk-feat-mock-text,
.rk-feat-mock-ai {
    text-align: left;
}

.rk-feat-mock-chip {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    background: #f3f4f6;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.55rem;
}

.rk-feat-mock-text p,
.rk-feat-mock-ai p {
    font-size: 0.9rem;
    color: var(--rk-ink);
    line-height: 1.45;
    margin-bottom: 0.75rem;
}

.rk-feat-mock-btn {
    display: inline-flex;
    background: var(--rk-blue);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.4rem 0.8rem;
}

.rk-feat-mock-row {
    display: flex;
    gap: 0.35rem;
}

.rk-feat-mock-row span {
    flex: 1;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.35rem 0.2rem;
    border-radius: 8px;
    background: #f3f4f6;
    color: var(--rk-muted);
}

.rk-feat-mock-row span.is-on {
    background: var(--rk-yellow-soft);
    color: #92400e;
}

.rk-feat-mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    width: 100%;
    max-width: 300px;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.rk-feat-mock-stats .rk-feat-stat {
    background: #fff;
    border: 1px solid var(--rk-border);
    border-radius: 14px;
    padding: 0.95rem 0.45rem;
    text-align: center;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.05);
}

.rk-feat-stat-blue strong { color: #1d4ed8; }
.rk-feat-stat-green strong { color: #15803d; }
.rk-feat-stat-red strong { color: #b91c1c; }

.rk-feat-mock-stats strong {
    display: block;
    font-size: 1.25rem;
}

.rk-feat-mock-stats span {
    font-size: 0.72rem;
    color: var(--rk-muted);
    font-weight: 600;
}

.rk-cta-note-link {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .rk-feat-spotlight,
    .rk-feat-spotlight-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .rk-feat-spotlight-reverse::before {
        left: 0;
        right: auto;
        width: 100%;
        height: 4px;
        bottom: auto;
    }

    .rk-feat-card {
        min-height: 0;
    }
}

@media (max-width: 575.98px) {
    .rk-feat-hero {
        padding: 2.5rem 0 2rem;
    }

    .rk-feat-spotlight {
        padding: 1.2rem;
    }
}

.rk-sol-hero,
.rk-price-hero {
    padding: 3.5rem 0 2.75rem;
    border-bottom: 1px solid var(--rk-border);
}

.rk-sol-hero {
    background:
        radial-gradient(900px 360px at 12% -10%, rgba(66, 133, 244, 0.14), transparent 55%),
        radial-gradient(700px 300px at 95% 10%, rgba(52, 168, 83, 0.1), transparent 50%),
        #fff;
}

.rk-sol-hero-industry {
    background:
        radial-gradient(900px 360px at 85% -10%, rgba(234, 67, 53, 0.1), transparent 55%),
        radial-gradient(700px 300px at 5% 0%, rgba(66, 133, 244, 0.12), transparent 50%),
        #fff;
}

.rk-price-hero {
    background:
        radial-gradient(900px 360px at 50% -20%, rgba(251, 188, 5, 0.16), transparent 55%),
        radial-gradient(700px 300px at 0% 40%, rgba(66, 133, 244, 0.1), transparent 50%),
        #fff;
}

.rk-sol-hero-inner,
.rk-price-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.rk-sol-title,
.rk-price-hero-title {
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: var(--rk-ink-strong);
    margin: 0.85rem 0 1rem;
}

.rk-sol-lead,
.rk-price-hero-lead {
    color: var(--rk-muted);
    font-size: 1.1rem;
    line-height: 1.65;
    margin: 0 auto 1.5rem;
    max-width: 40rem;
}

.rk-sol-actions,
.rk-price-hero-actions {
    justify-content: center;
}

.rk-sol-grid-section {
    padding-top: 3.25rem;
}

.rk-sol-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.rk-sol-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.rk-sol-card {
    --sol-accent: var(--rk-blue);
    --sol-soft: var(--rk-blue-soft);
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background:
        linear-gradient(180deg, #fff 0%, #fcfcfd 100%);
    border: 1px solid var(--rk-border);
    border-radius: 20px;
    padding: 1.35rem 1.25rem 1.25rem;
    min-height: 280px;
    overflow: hidden;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.rk-sol-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--sol-accent);
}

.rk-sol-card::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--sol-soft);
    opacity: 0.65;
    pointer-events: none;
}

.rk-sol-card-blue {
    --sol-accent: var(--rk-blue);
    --sol-soft: #e8f0fe;
}

.rk-sol-card-yellow {
    --sol-accent: #eab308;
    --sol-soft: #fef9c3;
}

.rk-sol-card-red {
    --sol-accent: var(--rk-red);
    --sol-soft: #fce8e6;
}

.rk-sol-card-green {
    --sol-accent: var(--rk-green);
    --sol-soft: #dcfce7;
}

.rk-sol-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.08);
    color: inherit;
}

.rk-sol-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.95rem;
}

.rk-sol-card-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--sol-soft);
    color: var(--sol-accent);
    flex-shrink: 0;
}

.rk-sol-card-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.rk-sol-card-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sol-accent);
}

.rk-sol-card h2 {
    position: relative;
    z-index: 1;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.25;
    margin-bottom: 0.55rem;
    color: var(--rk-ink-strong);
}

.rk-sol-card p {
    position: relative;
    z-index: 1;
    color: var(--rk-muted);
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 0.95rem;
    flex: 1;
}

.rk-sol-card-chips {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.rk-sol-card-chips span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--rk-ink);
    background: #f3f4f6;
    border-radius: 999px;
    padding: 0.28rem 0.55rem;
}

.rk-sol-card-cta,
.rk-sol-card-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    align-self: flex-start;
    font-weight: 700;
    font-size: 0.88rem;
    color: #fff;
    background: var(--sol-accent);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.rk-sol-card:hover .rk-sol-card-cta {
    filter: brightness(1.05);
    transform: translateX(2px);
}

.rk-sol-card-compact {
    min-height: 200px;
    padding: 1.15rem 1.1rem;
}

.rk-sol-card-compact h2 {
    font-size: 1.05rem;
}

.rk-sol-journey .rk-why-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.rk-sol-trust-panel {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 1.35rem;
    padding: 1.15rem 1.15rem 1.25rem;
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.06);
}

.rk-sol-trust-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    padding: 0 0.15rem;
}

.rk-sol-trust-panel-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.rk-sol-trust-panel-all {
    font-size: 0.88rem;
    font-weight: 650;
    color: var(--rk-blue, #4285F4);
    text-decoration: none;
}

.rk-sol-trust-panel-all:hover {
    color: #1a73e8;
}

.rk-sol-trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.rk-sol-tile {
    --sol-accent: #4285F4;
    --sol-accent-soft: #e8f0fe;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    border: 1px solid #e8ecf1;
    background: #fff;
    background-image: linear-gradient(135deg, var(--sol-accent-soft) 0%, #ffffff 62%);
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rk-sol-tile-blue {
    --sol-accent: #4285F4;
    --sol-accent-soft: #e8f0fe;
}

.rk-sol-tile-yellow {
    --sol-accent: #F4B400;
    --sol-accent-soft: #fef7e0;
}

.rk-sol-tile-red {
    --sol-accent: #EA4335;
    --sol-accent-soft: #fce8e6;
}

.rk-sol-tile-green {
    --sol-accent: #34A853;
    --sol-accent-soft: #e6f4ea;
}

.rk-sol-tile:hover {
    transform: translateY(-2px);
    border-color: #d0d7e2;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
    color: inherit;
}

.rk-sol-tile-icon {
    flex: 0 0 auto;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sol-accent-soft);
    color: var(--sol-accent);
}

.rk-sol-tile-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.rk-sol-tile-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.rk-sol-tile-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.25;
}

.rk-sol-tile-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.rk-sol-tile-arrow {
    flex: 0 0 auto;
    color: var(--sol-accent);
    font-weight: 700;
    opacity: 0.55;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.rk-sol-tile:hover .rk-sol-tile-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.rk-sol-tile:hover .rk-sol-tile-hint {
    color: #64748b;
}

.rk-price-include-grid {
    gap: 1rem;
}

.rk-price-include-card {
    --feat-accent: #4285F4;
    --feat-soft: #e8f0fe;
    position: relative;
    overflow: hidden;
    border-radius: 1.2rem;
    padding: 1.25rem 1.15rem 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rk-price-include-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--feat-accent);
}

.rk-price-include-card::after {
    content: "";
    position: absolute;
    right: -24%;
    top: -36%;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--feat-soft);
    opacity: 0.55;
    pointer-events: none;
}

.rk-price-include-blue { --feat-accent: #4285F4; --feat-soft: #e8f0fe; }
.rk-price-include-green { --feat-accent: #34A853; --feat-soft: #e6f4ea; }
.rk-price-include-yellow { --feat-accent: #F4B400; --feat-soft: #fef7e0; }
.rk-price-include-red { --feat-accent: #EA4335; --feat-soft: #fce8e6; }

.rk-price-include-card:hover {
    transform: translateY(-3px);
    border-color: #d0d7e2;
    box-shadow: 0 16px 32px rgba(17, 24, 39, 0.08);
}

.rk-price-include-card .rk-feat-card-top,
.rk-price-include-card h3,
.rk-price-include-card p,
.rk-price-include-card .rk-feat-card-chips {
    position: relative;
    z-index: 1;
}

.rk-price-include-card .rk-feat-card-kicker {
    color: var(--feat-accent);
    background: var(--feat-soft);
}

.rk-price-include-card .rk-feat-card-chips {
    margin-top: 0.85rem;
}

.rk-price-copy {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
    min-height: 0;
    margin: 0 0 0.35rem;
}

@media (max-width: 991.98px) {
    .rk-sol-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .rk-sol-card {
        min-height: 0;
    }
}

@media (max-width: 575.98px) {
    .rk-sol-hero,
    .rk-price-hero {
        padding: 2.5rem 0 2rem;
    }

    .rk-sol-grid,
    .rk-price-include-grid,
    .rk-sol-trust {
        grid-template-columns: 1fr;
    }

    .rk-sol-trust-panel {
        padding: 1rem;
    }
}

.rk-res-hero {
    padding: 3.5rem 0 2.75rem;
    border-bottom: 1px solid var(--rk-border);
    background:
        radial-gradient(900px 360px at 15% -10%, rgba(66, 133, 244, 0.14), transparent 55%),
        radial-gradient(700px 300px at 95% 0%, rgba(251, 188, 5, 0.12), transparent 50%),
        #fff;
}

.rk-res-hero-guide {
    background:
        radial-gradient(900px 360px at 85% -10%, rgba(52, 168, 83, 0.12), transparent 55%),
        radial-gradient(700px 300px at 5% 10%, rgba(66, 133, 244, 0.12), transparent 50%),
        #fff;
}

.rk-res-hero-faq {
    background:
        radial-gradient(900px 360px at 50% -15%, rgba(66, 133, 244, 0.14), transparent 55%),
        radial-gradient(600px 280px at 0% 40%, rgba(234, 67, 53, 0.08), transparent 50%),
        #fff;
}

.rk-res-hero-help {
    background:
        radial-gradient(900px 360px at 10% -10%, rgba(52, 168, 83, 0.12), transparent 55%),
        radial-gradient(700px 300px at 100% 20%, rgba(66, 133, 244, 0.12), transparent 50%),
        #fff;
}

.rk-res-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.rk-res-title {
    font-size: clamp(2rem, 4.2vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: var(--rk-ink-strong);
    margin: 0.85rem 0 1rem;
}

.rk-res-lead {
    color: var(--rk-muted);
    font-size: 1.1rem;
    line-height: 1.65;
    margin: 0 auto 1.5rem;
    max-width: 40rem;
}

.rk-res-actions {
    justify-content: center;
}

.rk-res-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

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

.rk-res-card {
    --res-accent: #4285F4;
    --res-soft: #e8f0fe;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--rk-border);
    border-radius: 1.25rem;
    padding: 1.35rem 1.25rem;
    min-height: 230px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.rk-res-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--res-accent);
}

.rk-res-card::after {
    content: "";
    position: absolute;
    right: -26%;
    top: -38%;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--res-soft);
    opacity: 0.55;
    pointer-events: none;
}

.rk-res-card-blue { --res-accent: #4285F4; --res-soft: #e8f0fe; }
.rk-res-card-green { --res-accent: #34A853; --res-soft: #e6f4ea; }
.rk-res-card-yellow { --res-accent: #F4B400; --res-soft: #fef7e0; }
.rk-res-card-red { --res-accent: #EA4335; --res-soft: #fce8e6; }

.rk-res-card:hover {
    border-color: #d0d7e2;
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.08);
    color: inherit;
}

.rk-res-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.rk-res-card-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--res-soft);
    color: var(--res-accent);
}

.rk-res-card-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.rk-res-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--res-accent);
    background: var(--res-soft);
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
    margin-bottom: 0;
}

.rk-res-card > .rk-res-card-tag {
    align-self: flex-start;
    margin-bottom: 0.75rem;
}

.rk-res-card h2 {
    position: relative;
    z-index: 1;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.55rem;
    color: var(--rk-ink-strong);
}

.rk-res-card p {
    position: relative;
    z-index: 1;
    color: var(--rk-muted);
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    flex: 1;
}

.rk-res-card-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    align-self: flex-start;
    font-weight: 700;
    color: var(--res-accent);
    font-size: 0.9rem;
    background: var(--res-soft);
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    transition: transform 0.15s ease, background 0.15s ease;
}

.rk-res-card:hover .rk-res-card-link {
    transform: translateX(2px);
}

.rk-res-practical .rk-why-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.rk-res-side-panel {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 1.35rem;
    padding: 1.15rem;
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.06);
}

.rk-res-side-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    padding: 0 0.15rem;
}

.rk-res-side-panel-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.rk-res-side-panel-all {
    font-size: 0.88rem;
    font-weight: 650;
    color: var(--rk-blue, #4285F4);
    text-decoration: none;
}

.rk-res-side-panel-all:hover {
    color: #1a73e8;
}

.rk-res-side-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.rk-res-side-link {
    --side-accent: #4285F4;
    --side-soft: #e8f0fe;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    background: #fff;
    background-image: linear-gradient(135deg, var(--side-soft) 0%, #ffffff 62%);
    border: 1px solid #e8ecf1;
    border-radius: 1rem;
    padding: 0.85rem 0.9rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rk-res-side-blue { --side-accent: #4285F4; --side-soft: #e8f0fe; }
.rk-res-side-green { --side-accent: #34A853; --side-soft: #e6f4ea; }
.rk-res-side-yellow { --side-accent: #F4B400; --side-soft: #fef7e0; }
.rk-res-side-red { --side-accent: #EA4335; --side-soft: #fce8e6; }

.rk-res-side-link:hover {
    transform: translateY(-2px);
    border-color: #d0d7e2;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
    color: inherit;
}

.rk-res-side-icon {
    flex: 0 0 auto;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--side-soft);
    color: var(--side-accent);
}

.rk-res-side-icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

.rk-res-side-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.rk-res-side-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.25;
}

.rk-res-side-hint {
    font-size: 0.74rem;
    color: #94a3b8;
    font-weight: 500;
}

.rk-res-side-arrow {
    flex: 0 0 auto;
    color: var(--side-accent);
    font-weight: 700;
    opacity: 0.55;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.rk-res-side-link:hover .rk-res-side-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.rk-res-side-link:hover .rk-res-side-hint {
    color: #64748b;
}

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

.rk-res-steps {
    display: grid;
    gap: 0.9rem;
    max-width: 860px;
    margin: 0 auto;
}

.rk-res-steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
    gap: 1rem;
}

.rk-res-step {
    --step-accent: #4285F4;
    --step-soft: #e8f0fe;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: #fff;
    border: 1px solid var(--rk-border);
    border-radius: 1.2rem;
    padding: 1.25rem 1.15rem;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rk-res-step::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--step-accent);
}

.rk-res-step-blue { --step-accent: #4285F4; --step-soft: #e8f0fe; }
.rk-res-step-green { --step-accent: #34A853; --step-soft: #e6f4ea; }
.rk-res-step-yellow { --step-accent: #F4B400; --step-soft: #fef7e0; }
.rk-res-step-red { --step-accent: #EA4335; --step-soft: #fce8e6; }

.rk-res-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.rk-res-step-num {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.75rem;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--step-accent);
    background: var(--step-soft);
}

.rk-res-step h3 {
    font-size: 1.02rem;
    font-weight: 800;
    margin: 0;
    color: var(--rk-ink-strong);
    line-height: 1.3;
}

.rk-res-step p {
    margin: 0;
    color: var(--rk-muted);
    line-height: 1.55;
    font-size: 0.9rem;
}

.rk-guide-panel {
    --spot-accent: #34A853;
    --spot-soft: #e6f4ea;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--rk-border);
    border-radius: 1.35rem;
    padding: 1.5rem 1.4rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.rk-guide-panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--spot-accent);
}

.rk-guide-panel-do {
    --spot-accent: #34A853;
    --spot-soft: #e6f4ea;
}

.rk-guide-panel-dont {
    --spot-accent: #EA4335;
    --spot-soft: #fce8e6;
}

.rk-guide-panel-top {
    margin-bottom: 1rem;
}

.rk-guide-panel-top h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0.55rem 0 0;
    color: var(--rk-ink-strong);
}

.rk-feat-check-list-warn .rk-feat-check {
    background: var(--spot-soft);
    color: var(--spot-accent);
}

.rk-faq-page-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.rk-faq-group {
    margin-bottom: 2rem;
}

.rk-faq-group-head {
    margin-bottom: 0.85rem;
}

.rk-faq-group-badge {
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1d4ed8;
    background: #e8f0fe;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
}

.rk-faq-group-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
    color: var(--rk-ink-strong);
}

.rk-faq-accordion .rk-faq-item {
    border: 1px solid var(--rk-border);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 0.7rem;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.rk-faq-accordion .accordion-button {
    font-weight: 700;
    color: var(--rk-ink-strong);
    box-shadow: none;
    background: #fff;
    padding: 1rem 1.15rem;
}

.rk-faq-accordion .accordion-button:not(.collapsed) {
    color: #1d4ed8;
    background: #f8fbff;
}

.rk-faq-accordion .accordion-body {
    color: var(--rk-muted);
    line-height: 1.6;
    padding: 0 1.15rem 1.1rem;
}

.rk-help-checklist .rk-why-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.rk-help-contact-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(160deg, #e8f0fe 0%, #ffffff 42%);
    border: 1px solid #dbe7fb;
    border-radius: 1.35rem;
    padding: 1.35rem 1.3rem 1.25rem;
    box-shadow: 0 14px 36px rgba(37, 99, 235, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.rk-help-contact-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #4285F4;
}

.rk-help-contact-card::after {
    content: "";
    position: absolute;
    right: -18%;
    top: -28%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(66, 133, 244, 0.12);
    pointer-events: none;
}

.rk-help-contact-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.rk-help-contact-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #4285F4;
    border: 1px solid #dbe7fb;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.08);
}

.rk-help-contact-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.rk-help-contact-tag {
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1d4ed8;
    background: #fff;
    border: 1px solid #dbe7fb;
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
}

.rk-help-contact-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--rk-ink-strong);
}

.rk-help-contact-card p {
    position: relative;
    z-index: 1;
    color: var(--rk-muted);
    line-height: 1.55;
    margin: 0;
    font-size: 0.95rem;
}

.rk-help-contact-card p a {
    color: #2563eb;
    font-weight: 650;
    text-decoration: none;
}

.rk-help-contact-card p a:hover {
    text-decoration: underline;
}

.rk-help-contact-meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.rk-help-contact-meta span {
    font-size: 0.72rem;
    font-weight: 650;
    color: #475569;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
}

.rk-help-contact-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.35rem;
    padding-top: 0.95rem;
    border-top: 1px solid #e4ebf7;
}

.rk-help-contact-actions .btn {
    margin: 0;
}

.rk-help-contact-mail {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.rk-help-contact-mail:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .rk-res-grid,
    .rk-res-grid-related,
    .rk-res-grid-4,
    .rk-res-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rk-res-card {
        min-height: 0;
    }

    .rk-res-side-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .rk-res-hero {
        padding: 2.5rem 0 2rem;
    }

    .rk-res-grid,
    .rk-res-grid-related,
    .rk-res-grid-4,
    .rk-res-steps-grid {
        grid-template-columns: 1fr;
    }

    .rk-res-side-panel {
        padding: 1rem;
    }
}

/* Auth / dashboard wrappers */
.rk-page {
    padding: 2rem 0 3rem;
}

.rk-auth-shell {
    padding: 2.5rem 0 3.25rem;
    background:
        radial-gradient(820px 340px at 0% 0%, rgba(66, 133, 244, 0.12), transparent 55%),
        radial-gradient(640px 280px at 100% 10%, rgba(52, 168, 83, 0.1), transparent 50%),
        radial-gradient(520px 240px at 50% 100%, rgba(251, 188, 5, 0.08), transparent 55%),
        #f8fafc;
    border-bottom: 1px solid var(--rk-border);
}

.rk-auth-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.5rem 2rem;
    align-items: stretch;
    max-width: 980px;
    margin: 0 auto;
}

.rk-auth-aside {
    padding: 1.75rem 1.5rem 1.75rem 0.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rk-auth-aside-title {
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: var(--rk-ink-strong);
    margin: 0.85rem 0 0.85rem;
}

.rk-auth-aside-lead {
    color: var(--rk-muted);
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
    max-width: 28rem;
}

.rk-auth-aside-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.rk-auth-aside-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.rk-auth-aside-list strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--rk-ink-strong);
    margin-bottom: 0.15rem;
}

.rk-auth-aside-list span:last-child {
    display: block;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--rk-muted);
}

.rk-auth-aside-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rk-auth-aside-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.rk-auth-aside-icon-blue { background: var(--rk-blue-soft); color: var(--rk-blue); }
.rk-auth-aside-icon-green { background: var(--rk-green-soft); color: var(--rk-green-dark); }
.rk-auth-aside-icon-red { background: var(--rk-red-soft); color: var(--rk-red); }

.rk-auth-card,
.rk-stat,
.rk-dash-panel {
    background: #fff;
    border: 1px solid var(--rk-border);
    border-radius: 16px;
}

.rk-auth-card {
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}

.rk-auth-card-login {
    position: relative;
    overflow: hidden;
    padding: 1.85rem 1.7rem 1.6rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    align-self: center;
}

.rk-auth-card-accent {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rk-blue), var(--rk-green), var(--rk-yellow), var(--rk-red));
}

.rk-auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.rk-auth-form-title {
    margin: 0;
    text-align: center;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--rk-ink-strong);
}

.rk-auth-form-sub {
    margin: 0.3rem 0 1.25rem;
    text-align: center;
    color: var(--rk-muted);
    font-size: 0.92rem;
}

.rk-auth-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    width: 100%;
    margin-bottom: 1.15rem;
    padding: 0.28rem;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid var(--rk-border);
}

.rk-auth-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: var(--rk-muted);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    text-align: center;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.rk-auth-toggle-btn:hover {
    color: var(--rk-ink-strong);
    background: rgba(255, 255, 255, 0.7);
}

.rk-auth-toggle-btn.is-active {
    background: var(--rk-blue);
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(66, 133, 244, 0.28);
}

.rk-auth-toggle-btn.is-active:hover {
    background: var(--rk-blue-dark);
    color: #fff !important;
    transform: none;
}

.rk-auth-submit {
    display: block;
    width: auto;
    min-width: 8.5rem;
    max-width: 100%;
    margin: 0.35rem auto 0;
    padding: 0.62rem 1.45rem !important;
    font-size: 0.95rem !important;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(66, 133, 244, 0.24);
}

/* —— Login page polish —— */
.rk-login-shell {
    position: relative;
    overflow: hidden;
}

.rk-login-shell::before,
.rk-login-shell::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.rk-login-shell::before {
    width: 380px;
    height: 380px;
    top: -100px;
    right: -70px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.16), transparent 70%);
    animation: rk-reg-float 12s ease-in-out infinite;
}

.rk-login-shell::after {
    width: 300px;
    height: 300px;
    bottom: -90px;
    left: -50px;
    background: radial-gradient(circle, rgba(234, 67, 53, 0.1), transparent 70%);
    animation: rk-reg-float 14s ease-in-out infinite reverse;
}

.rk-login-split {
    position: relative;
    z-index: 1;
}

.rk-login-badge {
    animation: rk-reg-rise 0.55s ease both;
}

.rk-login-aside .rk-auth-aside-title {
    animation: rk-reg-rise 0.65s ease 0.05s both;
}

.rk-login-aside .rk-auth-aside-lead {
    animation: rk-reg-rise 0.65s ease 0.1s both;
}

.rk-login-aside-item {
    animation: rk-reg-rise 0.55s ease calc(0.15s + var(--d, 0) * 0.08s) both;
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rk-login-aside-item:hover {
    border-color: rgba(66, 133, 244, 0.18);
    background: rgba(255, 255, 255, 0.72);
    transform: translateX(4px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.rk-login-aside-item:hover .rk-auth-aside-icon {
    transform: scale(1.06) rotate(-3deg);
}

.rk-login-aside-item .rk-auth-aside-icon {
    transition: transform 0.25s ease;
}

.rk-login-card {
    animation: rk-reg-rise 0.6s ease 0.08s both;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rk-login-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
}

.rk-login-alert {
    animation: rk-reg-rise 0.3s ease both;
}

.rk-login-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.rk-login-otp-hint {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--rk-blue);
    text-decoration: none !important;
    white-space: nowrap;
}

.rk-login-otp-hint:hover {
    color: var(--rk-blue-dark);
    text-decoration: underline !important;
}

.rk-auth-input-pass .form-control {
    padding-right: 2.75rem;
}

.rk-pass-toggle {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--rk-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.rk-pass-toggle:hover {
    color: var(--rk-ink-strong);
    background: #f1f5f9;
}

.rk-login-field .form-control {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rk-login-field .form-control:hover {
    border-color: #cbd5e1;
}

.rk-login-field .rk-auth-input:focus-within .form-control,
.rk-login-field .form-control:focus {
    border-color: var(--rk-blue);
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.15);
    transform: translateY(-1px);
}

.rk-otp-input {
    letter-spacing: 0.35em;
    font-weight: 700;
}

.rk-login-note {
    margin: -0.25rem 0 0;
    font-size: 0.82rem;
    color: var(--rk-muted);
    text-align: center;
    line-height: 1.45;
}

.rk-login-resend {
    text-align: center;
    margin-top: 0.65rem;
}

.rk-login-resend-btn {
    border: 0;
    background: transparent;
    color: var(--rk-blue);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.rk-login-resend-btn:hover {
    color: var(--rk-blue-dark);
    text-decoration: underline;
}

.rk-login-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0 0.85rem;
    color: var(--rk-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.rk-login-divider::before,
.rk-login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--rk-border);
}

.rk-login-social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.rk-login-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.55rem;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--rk-border);
    background: #fff;
    color: var(--rk-ink);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: not-allowed;
    opacity: 0.72;
    transition: border-color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.rk-login-social-btn span {
    color: var(--rk-ink-strong);
}

.rk-login-social-btn em {
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--rk-muted);
    background: #f1f5f9;
    border-radius: 999px;
    padding: 0.12rem 0.4rem;
}

.rk-login-social-btn:disabled:hover {
    background: #fafafa;
    border-color: #cbd5e1;
}

.rk-auth-submit {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rk-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(66, 133, 244, 0.3);
}

@media (max-width: 575.98px) {
    .rk-login-social {
        grid-template-columns: 1fr;
    }

    .rk-login-label-row {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rk-login-shell::before,
    .rk-login-shell::after,
    .rk-login-badge,
    .rk-login-aside .rk-auth-aside-title,
    .rk-login-aside .rk-auth-aside-lead,
    .rk-login-aside-item,
    .rk-login-card {
        animation: none !important;
    }

    .rk-login-aside-item:hover,
    .rk-login-card:hover,
    .rk-auth-submit:hover,
    .rk-login-field .form-control:focus {
        transform: none;
    }
}

.rk-auth-form {
    display: grid;
    gap: 0.95rem;
}

.rk-auth-field .form-label {
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--rk-ink);
    margin-bottom: 0.35rem;
}

.rk-auth-input {
    position: relative;
}

.rk-auth-input-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.1rem;
    height: 1.1rem;
    color: #a8a29e;
    pointer-events: none;
    display: inline-flex;
}

.rk-auth-input-icon svg {
    width: 100%;
    height: 100%;
}

.rk-auth-input .form-control {
    padding-left: 2.55rem;
    min-height: 2.85rem;
    border-radius: 0.85rem;
    border-color: #e7e5e4;
}

.rk-auth-input .form-control:focus {
    border-color: var(--rk-blue);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
}

.rk-auth-foot {
    margin: 1.15rem 0 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--rk-ink);
}

.rk-auth-foot a {
    font-weight: 750;
    color: var(--rk-blue);
    text-decoration: none;
}

.rk-auth-foot a:hover {
    text-decoration: underline;
}

.rk-auth-foot-muted {
    margin: 0.45rem 0 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--rk-muted);
}

.rk-auth-foot-muted a {
    color: var(--rk-ink);
    font-weight: 650;
    text-decoration: none;
}

.rk-auth-foot-muted a:hover {
    color: var(--rk-blue);
}

.rk-auth-mark {
    height: 52px;
}

@media (max-width: 991.98px) {
    .rk-auth-split {
        grid-template-columns: 1fr;
        max-width: 460px;
    }

    .rk-auth-aside {
        padding: 0 0 0.25rem;
        text-align: center;
        align-items: center;
    }

    .rk-auth-aside-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .rk-auth-aside-list {
        width: 100%;
        text-align: left;
    }
}

/* —— Register wizard —— */
.rk-reg-shell {
    position: relative;
    overflow: hidden;
}

.rk-reg-shell::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.16), transparent 70%);
    top: -120px;
    right: -80px;
    pointer-events: none;
    animation: rk-reg-float 12s ease-in-out infinite;
}

.rk-reg-shell::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 168, 83, 0.14), transparent 70%);
    bottom: -100px;
    left: -60px;
    pointer-events: none;
    animation: rk-reg-float 14s ease-in-out infinite reverse;
}

@keyframes rk-reg-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(18px, -14px) scale(1.05); }
}

.rk-reg-split {
    max-width: 1040px;
    position: relative;
    z-index: 1;
}

.rk-reg-badge {
    animation: rk-reg-rise 0.55s ease both;
}

.rk-reg-aside .rk-auth-aside-title {
    animation: rk-reg-rise 0.65s ease 0.05s both;
}

.rk-reg-aside .rk-auth-aside-lead {
    animation: rk-reg-rise 0.65s ease 0.1s both;
}

.rk-reg-aside-item {
    animation: rk-reg-rise 0.55s ease calc(0.15s + var(--d, 0) * 0.08s) both;
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rk-reg-aside-item:hover {
    border-color: rgba(66, 133, 244, 0.18);
    background: rgba(255, 255, 255, 0.72);
    transform: translateX(4px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.rk-reg-aside-item:hover .rk-auth-aside-icon {
    transform: scale(1.06) rotate(-3deg);
}

.rk-reg-aside-item .rk-auth-aside-icon {
    transition: transform 0.25s ease;
}

.rk-reg-card {
    animation: rk-reg-rise 0.6s ease 0.08s both;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rk-reg-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
}

@keyframes rk-reg-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rk-reg-sub {
    margin-bottom: 1rem;
}

.rk-reg-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 1.25rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border: 1px solid var(--rk-border);
}

.rk-reg-step {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border: 0;
    background: transparent;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rk-reg-step:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
}

.rk-reg-step.is-active {
    background: #fff;
    box-shadow: 0 8px 18px rgba(66, 133, 244, 0.14);
}

.rk-reg-step.is-done .rk-reg-step-num {
    background: var(--rk-green);
    color: #fff;
}

.rk-reg-step-num {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    background: #e2e8f0;
    color: var(--rk-muted);
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.rk-reg-step.is-active .rk-reg-step-num {
    background: var(--rk-blue);
    color: #fff;
    transform: scale(1.06);
}

.rk-reg-step-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.rk-reg-step-meta strong {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--rk-ink-strong);
}

.rk-reg-step-meta small {
    font-size: 0.68rem;
    color: var(--rk-muted);
}

.rk-reg-step-line {
    width: 2.25rem;
    height: 3px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.rk-reg-step-line span {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rk-blue), var(--rk-green));
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.rk-reg-alert {
    animation: rk-reg-rise 0.35s ease both;
}

.rk-reg-panel {
    display: none;
}

.rk-reg-panel.is-active {
    display: block;
}

.rk-reg-panel.is-enter {
    animation: rk-reg-panel-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rk-reg-panel-in {
    from {
        opacity: 0;
        transform: translateX(16px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.rk-reg-panel-head {
    margin-bottom: 1rem;
}

.rk-reg-panel-head h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--rk-ink-strong);
}

.rk-reg-panel-head p {
    margin: 0.25rem 0 0;
    font-size: 0.86rem;
    color: var(--rk-muted);
}

.rk-reg-fields {
    display: grid;
    gap: 0.9rem;
}

.rk-reg-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.rk-reg-field .form-control {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rk-reg-field .form-control:hover {
    border-color: #cbd5e1;
}

.rk-reg-field .rk-auth-input:focus-within .form-control,
.rk-reg-field .form-control:focus {
    border-color: var(--rk-blue);
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.15);
    transform: translateY(-1px);
}

.rk-reg-field.is-invalid .form-control {
    border-color: var(--rk-red);
    box-shadow: 0 0 0 4px rgba(234, 67, 53, 0.12);
}

.rk-reg-field.is-valid .form-control {
    border-color: var(--rk-green);
}

.rk-auth-input-area .form-control {
    padding-left: 0.9rem;
    min-height: 5.5rem;
    resize: vertical;
}

.rk-reg-hint {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: var(--rk-muted);
    transition: color 0.2s ease;
}

.rk-reg-hint.is-ok {
    color: var(--rk-green-dark);
    font-weight: 600;
}

.rk-reg-progress {
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
    margin: -0.35rem 0 1.15rem;
    overflow: hidden;
}

.rk-reg-progress span {
    display: block;
    height: 100%;
    width: 50%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rk-blue), var(--rk-green));
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.rk-reg-strength {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
    margin-top: 0.4rem;
}

.rk-reg-strength span {
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
    transition: background 0.2s ease;
}

.rk-reg-strength.is-s1 span:nth-child(1) { background: #f59e0b; }
.rk-reg-strength.is-s2 span:nth-child(1),
.rk-reg-strength.is-s2 span:nth-child(2) { background: #FBBC05; }
.rk-reg-strength.is-s3 span { background: var(--rk-green); }

.rk-reg-match {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    min-height: 1.1em;
}

.rk-reg-match.is-ok { color: var(--rk-green-dark); }
.rk-reg-match.is-bad { color: var(--rk-red); }

.rk-reg-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.55rem;
}

.rk-reg-chip {
    appearance: none;
    border: 1px solid var(--rk-border);
    background: #fff;
    color: var(--rk-ink);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.rk-reg-chip:hover {
    border-color: #93c5fd;
    background: var(--rk-blue-soft);
    color: var(--rk-blue-dark);
    transform: translateY(-1px);
}

.rk-reg-chip.is-on {
    background: var(--rk-blue);
    border-color: var(--rk-blue);
    color: #fff;
}

.rk-reg-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.1rem;
    margin: 1.1rem 0 0.25rem;
    color: var(--rk-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.rk-reg-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.rk-reg-trust svg {
    color: var(--rk-blue);
}

.rk-reg-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

.rk-reg-actions .rk-auth-submit {
    margin-top: 0;
}

.rk-reg-actions .btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.rk-reg-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(66, 133, 244, 0.22);
}

.rk-reg-actions-split {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    width: 100%;
}

.rk-reg-actions-split .rk-reg-back:hover {
    box-shadow: none;
    background: #f8fafc;
}

.rk-reg-submit {
    min-width: 0;
    width: 100%;
    margin: 0 !important;
}

@media (max-width: 767.98px) {
    .rk-reg-grid-2 {
        grid-template-columns: 1fr;
    }

    .rk-reg-step-meta small {
        display: none;
    }

    .rk-reg-step-line {
        width: 1.25rem;
    }

    .rk-reg-actions-split {
        grid-template-columns: 1fr;
    }

    .rk-reg-back {
        order: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rk-reg-shell::before,
    .rk-reg-shell::after,
    .rk-reg-badge,
    .rk-reg-aside .rk-auth-aside-title,
    .rk-reg-aside .rk-auth-aside-lead,
    .rk-reg-aside-item,
    .rk-reg-card,
    .rk-reg-panel.is-enter {
        animation: none !important;
    }

    .rk-reg-aside-item:hover,
    .rk-reg-card:hover,
    .rk-reg-actions .btn:hover,
    .rk-reg-field .form-control:focus {
        transform: none;
    }
}

.rk-stat {
    padding: 1rem;
    text-align: center;
}

.rk-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--rk-primary);
}

.rk-stat-label {
    color: var(--rk-muted);
    font-size: 0.85rem;
}

.rk-dash-panel {
    padding: 1.25rem;
}

.form-control:focus {
    border-color: var(--rk-primary);
    box-shadow: 0 0 0 0.2rem rgba(66, 133, 244, 0.18);
}

a {
    color: var(--rk-primary-dark);
}

.alert-success {
    background: #e6f4ea;
    border-color: #ceead6;
    color: #137333;
}

.alert-danger {
    background: #fce8e6;
    border-color: #f5c2c0;
    color: #c5221f;
}

@media (max-width: 991.98px) {
    .rk-brand-tagline { display: none; }
    .rk-nav-links { margin-top: 0.75rem; }
    .rk-nav-actions { margin-top: 0.5rem; margin-bottom: 0.5rem; gap: 0.5rem !important; }

    .rk-hero-inner {
        position: static;
        display: block;
        padding: 1.75rem 0 0.5rem;
        text-align: center;
        order: 1;
    }

    .rk-hero-full-img {
        width: 100%;
        height: auto;
        margin-top: 0.5rem;
        order: 2;
    }

    .rk-hero-copy {
        max-width: 40rem;
        margin: 0 auto;
        padding: 0 0 1rem;
    }

    .rk-hero-panel {
        background: #fff;
        border: 1px solid #eef0f3;
        padding: 1.35rem 1.2rem 1.25rem;
    }

    .rk-hero-title {
        font-size: clamp(2.1rem, 8vw, 2.75rem);
    }

    .rk-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .rk-hero-actions {
        justify-content: center;
    }

    .rk-trust-row {
        justify-content: center;
        text-align: left;
    }

    .rk-hero-stage {
        display: flex;
        flex-direction: column;
    }

    .rk-trusted {
        padding: 2.25rem 0 2.4rem;
    }

    .rk-trusted-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.35rem 0.75rem;
    }

    .rk-how-flow {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        max-width: 28rem;
    }

    .rk-how-arrow {
        display: none;
    }

    .rk-how-card {
        padding: 1.25rem 1.1rem 1.15rem;
    }

    .rk-why-visual {
        max-width: 100%;
        margin-top: 0.5rem;
    }

    .rk-features-grid {
        grid-template-columns: 1fr;
    }

    .rk-pricing-grid,
    .rk-pricing-grid-n1,
    .rk-pricing-grid-n2,
    .rk-pricing-grid-n3,
    .rk-pricing-grid-n4,
    .rk-pricing-grid-wide {
        grid-template-columns: minmax(0, 1fr);
        max-width: 24rem;
        justify-content: center;
    }

    .rk-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .rk-cta-copy {
        max-width: none;
    }

    .rk-footer-bar-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .rk-trusted-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .rk-how-flow {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        max-width: 720px;
    }

    .rk-how-arrow {
        display: none;
    }

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

    .rk-pricing-grid,
    .rk-pricing-grid-n2,
    .rk-pricing-grid-n3,
    .rk-pricing-grid-n4,
    .rk-pricing-grid-wide {
        grid-template-columns: repeat(2, minmax(0, 280px));
        justify-content: center;
    }

    .rk-pricing-grid-n1 {
        grid-template-columns: minmax(0, 320px);
    }
}

@media (min-width: 992px) {
    .rk-brand-mark { height: 46px; }

    .rk-hero-copy {
        max-width: min(44rem, 54%);
    }

    .rk-trusted-grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 0.75rem;
    }
}

@media (min-width: 1400px) {
    .rk-hero-title {
        font-size: 4.15rem;
    }

    .rk-hero-panel {
        padding: 2rem 2.1rem 1.75rem;
    }
}

/* Admin panel */
.rk-admin-body {
    margin: 0;
    min-height: 100vh;
    background: #faf8f5;
    color: #111827;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    overflow-x: hidden;
}

.rk-admin-shell {
    display: flex;
    min-height: 100vh;
    max-width: 100%;
    overflow-x: clip;
}

.rk-admin-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #0A0A0A;
    color: #fff;
    padding: 1.25rem 0.85rem;
    display: none;
}

.rk-admin-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.35rem 0.6rem 1.25rem;
}

.rk-admin-mark {
    height: 36px;
}

.rk-admin-brand .rk-word-rating {
    color: #fff;
}

.rk-admin-brand-sub {
    font-size: 0.72rem;
    color: #9ca3af;
    font-weight: 600;
}

.rk-admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.rk-admin-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #d1d5db;
    text-decoration: none;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
}

.rk-admin-link:hover,
.rk-admin-link.active {
    background: rgba(66, 133, 244, 0.16);
    color: #fff;
}

.rk-admin-link.active {
    box-shadow: inset 3px 0 0 var(--rk-blue);
}

.rk-admin-link i {
    font-size: 1.05rem;
}

.rk-nav-soon {
    margin-left: auto;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
    font-weight: 700;
}

.rk-admin-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
    overflow-x: clip;
    background: linear-gradient(180deg, #f8f8f7 0%, #f5f5f4 45%, #f3f2f1 100%);
}

.rk-admin-main::before {
    display: none;
}

@keyframes rk-admin-aurora {
    from { opacity: 0.85; transform: translateY(0); }
    to { opacity: 1; transform: translateY(10px); }
}

.rk-admin-header {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(28, 25, 23, 0.06);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 20;
}

.rk-admin-header-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #6b7280;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rk-admin-toggle {
    border: 1px solid #e5e7eb;
}

.rk-admin-user {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #e5e7eb;
}

.rk-admin-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--rk-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.rk-admin-content {
    position: relative;
    z-index: 1;
    padding: 1.5rem 1.25rem 2.5rem;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}

.rk-admin-page-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.rk-admin-kicker {
    margin: 0 0 0.25rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rk-blue);
}

.rk-admin-page-title {
    margin: 0;
    font-size: clamp(1.55rem, 2.4vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0A0A0A;
}

.rk-admin-page-sub {
    margin: 0.3rem 0 0;
    color: #6b7280;
    font-size: 0.92rem;
}

.rk-admin-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.rk-admin-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.rk-admin-metric {
    --m-accent: var(--rk-blue);
    --m-soft: var(--rk-blue-soft);
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.05rem 1.1rem 1rem;
    box-shadow: 0 8px 22px rgba(10, 10, 10, 0.04);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rk-admin-metric::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 3px;
    background: var(--m-accent);
}

.rk-admin-metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(10, 10, 10, 0.07);
}

.rk-admin-metric-blue { --m-accent: #4285F4; --m-soft: #e8f0fe; }
.rk-admin-metric-green { --m-accent: #34A853; --m-soft: #e6f4ea; }
.rk-admin-metric-yellow { --m-accent: #F4B400; --m-soft: #fef7e0; }
.rk-admin-metric-red { --m-accent: #EA4335; --m-soft: #fce8e6; }

.rk-admin-metric.is-muted {
    opacity: 0.72;
}

.rk-admin-metric-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.7rem;
}

.rk-admin-metric-icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--m-soft);
    color: var(--m-accent);
    font-size: 1.05rem;
}

.rk-admin-metric-label {
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
}

.rk-admin-metric-value {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0A0A0A;
    line-height: 1.1;
}

.rk-admin-metric-hint {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 600;
}

.rk-admin-metric-muted {
    margin-top: 0.15rem;
    color: #9ca3af;
    font-weight: 650;
    font-size: 0.95rem;
}

.rk-admin-metric-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.65rem;
    font-size: 0.82rem;
    font-weight: 750;
    color: var(--m-accent);
    text-decoration: none;
}

.rk-admin-metric-link:hover {
    text-decoration: underline;
}

.rk-admin-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1.1rem;
    padding: 1.15rem 1.2rem 1.25rem;
    box-shadow: 0 8px 22px rgba(10, 10, 10, 0.04);
}

.rk-admin-panel-table {
    padding: 1.05rem 0 0;
}

.rk-admin-panel-table .rk-admin-panel-head {
    padding: 0 1.2rem 0.85rem;
}

.rk-admin-panel-head {
    margin-bottom: 0.95rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #f3f4f6;
}

.rk-admin-panel-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0A0A0A;
}

.rk-admin-panel-sub {
    margin: 0.25rem 0 0;
    color: #6b7280;
    font-size: 0.88rem;
}

.rk-admin-filter {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 22px rgba(10, 10, 10, 0.03);
}

.rk-admin-filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
}

.rk-admin-filter-field {
    min-width: 140px;
}

.rk-admin-filter-grow {
    flex: 1 1 220px;
}

.rk-admin-filter-field .form-label {
    font-size: 0.78rem;
    font-weight: 750;
    color: #6b7280;
    margin-bottom: 0.3rem;
}

.rk-admin-filter-field .form-control,
.rk-admin-filter-field .form-select {
    border-radius: 0.75rem;
    min-height: 2.55rem;
}

.rk-admin-filter-actions {
    display: flex;
    gap: 0.5rem;
}

.rk-admin-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: capitalize;
    line-height: 1.2;
}

.rk-admin-pill-success { background: #e6f4ea; color: #137333; }
.rk-admin-pill-warn { background: #fef7e0; color: #a16207; }
.rk-admin-pill-danger { background: #fce8e6; color: #b91c1c; }
.rk-admin-pill-muted { background: #f3f4f6; color: #4b5563; }

.rk-admin-muted {
    color: #9ca3af;
}

.rk-admin-table-name {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.rk-admin-avatar-sm {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f0fe;
    color: #1967d2;
    font-size: 0.78rem;
    font-weight: 800;
    flex-shrink: 0;
}

.rk-admin-row-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rk-admin-row-icon-green { background: #e6f4ea; color: #137333; }
.rk-admin-row-icon-yellow { background: #fef7e0; color: #a16207; }
.rk-admin-row-icon-blue { background: #e8f0fe; color: #1967d2; }

.rk-admin-table-empty {
    text-align: center;
    color: #9ca3af;
    padding: 2.5rem 1rem !important;
    font-weight: 600;
}

.rk-admin-soon {
    --s-accent: #4285F4;
    --s-soft: #e8f0fe;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.15rem;
    align-items: start;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1.15rem;
    padding: 1.5rem 1.4rem;
    box-shadow: 0 10px 28px rgba(10, 10, 10, 0.04);
    position: relative;
    overflow: hidden;
}

.rk-admin-soon::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--s-accent);
}

.rk-admin-soon-blue { --s-accent: #4285F4; --s-soft: #e8f0fe; }
.rk-admin-soon-green { --s-accent: #34A853; --s-soft: #e6f4ea; }
.rk-admin-soon-yellow { --s-accent: #F4B400; --s-soft: #fef7e0; }

.rk-admin-soon-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--s-soft);
    color: var(--s-accent);
    font-size: 1.35rem;
}

.rk-admin-soon-copy h2 {
    margin: 0.65rem 0 0.4rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.rk-admin-soon-copy > p {
    margin: 0 0 0.85rem;
    color: #6b7280;
    max-width: 40rem;
}

.rk-admin-soon-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.rk-admin-soon-list li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 650;
    color: #374151;
    font-size: 0.92rem;
}

.rk-admin-soon-list i {
    color: var(--s-accent);
}

.rk-admin-profile-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1.15rem;
    padding: 1.2rem 1.3rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 22px rgba(10, 10, 10, 0.04);
    position: relative;
    overflow: hidden;
}

.rk-admin-profile-hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4285F4, #34A853, #F4B400, #EA4335);
}

.rk-admin-profile-hero-main {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    min-width: 0;
}

.rk-admin-profile-avatar {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f0fe;
    color: #1967d2;
    font-size: 1.25rem;
    font-weight: 800;
    flex-shrink: 0;
}

.rk-admin-profile-avatar-red {
    background: #fce8e6;
    color: #c5221f;
}

.rk-admin-profile-avatar-green {
    background: #e6f4ea;
    color: #137333;
}

.rk-admin-profile-avatar-yellow {
    background: #fef7e0;
    color: #a16207;
}

.rk-admin-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.85rem;
}

.rk-admin-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.8rem;
    background: #fafafa;
    font-size: 0.88rem;
    font-weight: 650;
    color: #374151;
    cursor: pointer;
    margin: 0;
}

.rk-admin-check .form-check-input {
    margin: 0;
    float: none;
}

.rk-admin-check:hover {
    border-color: #d1d5db;
    background: #fff;
}

.rk-admin-plan-preview {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.05rem 1.1rem 1.15rem;
    background:
        linear-gradient(180deg, #fffef8 0%, #fff 55%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.rk-admin-plan-preview-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}

.rk-admin-plan-preview-badge {
    display: inline-flex;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #e6f4ea;
    color: #137333;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rk-admin-plan-preview-badge.is-draft {
    background: #f3f4f6;
    color: #6b7280;
}

.rk-admin-plan-preview-order {
    font-size: 0.75rem;
    font-weight: 700;
    color: #9ca3af;
}

.rk-admin-plan-preview-name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0A0A0A;
}

.rk-admin-plan-preview-slug {
    margin: 0.15rem 0 0.75rem;
    color: #9ca3af;
    font-size: 0.82rem;
    font-weight: 650;
}

.rk-admin-plan-preview-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
}

.rk-admin-plan-preview-price strong {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0A0A0A;
}

.rk-admin-plan-preview-price span {
    color: #6b7280;
    font-size: 0.86rem;
    font-weight: 650;
}

.rk-admin-plan-preview-desc {
    margin: 0 0 0.85rem;
    color: #6b7280;
    font-size: 0.86rem;
    line-height: 1.5;
    min-height: 2.6rem;
}

.rk-admin-plan-preview-limits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.rk-admin-plan-preview-limits li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 650;
    color: #374151;
}

.rk-admin-plan-preview-limits i {
    color: #F4B400;
}

.rk-admin-timeline {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0.95rem 1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 8px 22px rgba(10, 10, 10, 0.04);
}

.rk-admin-timeline li {
    position: relative;
    display: grid;
    gap: 0.2rem;
    padding-top: 1.1rem;
    min-width: 0;
}

.rk-admin-timeline li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0.42rem;
    left: 1rem;
    right: -0.75rem;
    height: 2px;
    background: #e5e7eb;
}

.rk-admin-timeline-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    background: #e5e7eb;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #d1d5db;
}

.rk-admin-timeline li.is-done .rk-admin-timeline-dot,
.rk-admin-timeline li.is-current .rk-admin-timeline-dot {
    background: #34A853;
    box-shadow: 0 0 0 1px #34A853;
}

.rk-admin-timeline li.is-current .rk-admin-timeline-dot {
    background: #4285F4;
    box-shadow: 0 0 0 1px #4285F4;
}

.rk-admin-timeline li.is-skip .rk-admin-timeline-dot {
    background: #f3f4f6;
}

.rk-admin-timeline strong {
    font-size: 0.82rem;
    font-weight: 800;
    color: #111827;
}

.rk-admin-timeline span:last-child {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 600;
    word-break: break-word;
}

@media (max-width: 991.98px) {
    .rk-admin-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rk-admin-timeline li:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .rk-admin-timeline {
        grid-template-columns: 1fr;
    }

    .rk-admin-timeline li:not(:last-child)::after {
        display: none;
    }

    .rk-admin-check-grid {
        grid-template-columns: 1fr;
    }
}

.rk-admin-detail-span-2 {
    grid-column: 1 / -1;
}

.rk-admin-form-section {
    margin-bottom: 1.25rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid #f3f4f6;
}

.rk-admin-form-section:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.rk-admin-form-section-title {
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
}

.rk-admin-textarea {
    border-radius: 0.8rem;
    border-color: #e5e7eb;
    min-height: 5rem;
}

.rk-admin-textarea:focus {
    border-color: #4285F4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
}

.rk-admin-panel-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.rk-admin-profile-name {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0A0A0A;
}

.rk-admin-profile-meta {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.1rem;
}

.rk-admin-profile-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.55rem;
}

.rk-admin-profile-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 1.75rem;
}

.rk-admin-profile-hero-stats > div {
    display: grid;
    gap: 0.2rem;
}

.rk-admin-profile-stat-label {
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9ca3af;
}

.rk-admin-profile-hero-stats strong {
    font-size: 0.92rem;
    font-weight: 750;
    color: #111827;
}

.rk-admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1rem;
    margin: 0;
}

.rk-admin-detail-grid > div {
    min-width: 0;
}

.rk-admin-detail-grid dt {
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.rk-admin-detail-grid dd {
    margin: 0;
    font-weight: 650;
    color: #111827;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.rk-admin-panel-action .rk-admin-panel-head {
    margin-bottom: 0.85rem;
}

.rk-admin-action-note {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.85rem 0.9rem;
    border-radius: 0.85rem;
    background: #f9fafb;
    border: 1px solid #eef0f3;
    margin-bottom: 0.9rem;
    color: #4b5563;
    font-size: 0.88rem;
}

.rk-admin-action-note i {
    color: #4285F4;
    margin-top: 0.1rem;
}

.rk-admin-side-link {
    display: inline-flex;
    margin-top: 0.95rem;
    font-size: 0.86rem;
    font-weight: 750;
    color: #4285F4;
    text-decoration: none;
}

.rk-admin-side-link:hover {
    text-decoration: underline;
    color: #1967d2;
}

.rk-admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem 1rem;
}

.rk-admin-form-span-2 {
    grid-column: 1 / -1;
}

.rk-admin-form-field .form-label {
    font-size: 0.82rem;
    font-weight: 750;
    color: #374151;
    margin-bottom: 0.35rem;
}

.rk-admin-input {
    position: relative;
}

.rk-admin-input-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    font-size: 0.95rem;
    line-height: 1;
}

.rk-admin-input .form-control {
    padding-left: 2.45rem;
    min-height: 2.75rem;
    border-radius: 0.8rem;
    border-color: #e5e7eb;
}

.rk-admin-input .form-control:focus {
    border-color: #4285F4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
}

.rk-admin-input .form-control:disabled {
    background: #f9fafb;
    color: #6b7280;
}

.rk-admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.rk-admin-edit-side {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.rk-admin-edit-notes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.rk-admin-edit-notes li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.86rem;
    color: #4b5563;
    font-weight: 600;
}

.rk-admin-edit-notes i {
    color: #4285F4;
    margin-top: 0.15rem;
}

@media (max-width: 767.98px) {
    .rk-admin-detail-grid,
    .rk-admin-form-grid {
        grid-template-columns: 1fr;
    }

    .rk-admin-profile-hero-stats {
        width: 100%;
    }
}

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

.rk-admin-quick {
    --q-accent: #4285F4;
    --q-soft: #e8f0fe;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.9rem 0.95rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.95rem;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.rk-admin-quick:hover {
    transform: translateY(-2px);
    border-color: #d1d5db;
    box-shadow: 0 10px 22px rgba(10, 10, 10, 0.06);
    color: inherit;
}

.rk-admin-quick-blue { --q-accent: #4285F4; --q-soft: #e8f0fe; }
.rk-admin-quick-green { --q-accent: #34A853; --q-soft: #e6f4ea; }
.rk-admin-quick-yellow { --q-accent: #F4B400; --q-soft: #fef7e0; }
.rk-admin-quick-red { --q-accent: #EA4335; --q-soft: #fce8e6; }

.rk-admin-quick-icon {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--q-soft);
    color: var(--q-accent);
    font-size: 1.05rem;
}

.rk-admin-quick-copy {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.rk-admin-quick-copy strong {
    font-size: 0.94rem;
    font-weight: 800;
    color: #0A0A0A;
}

.rk-admin-quick-copy span {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 600;
}

.rk-admin-quick-arrow {
    color: #9ca3af;
    font-size: 0.95rem;
}

.rk-admin-quick:hover .rk-admin-quick-arrow {
    color: var(--q-accent);
}

@media (max-width: 1199.98px) {
    .rk-admin-metric-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .rk-admin-metric-grid,
    .rk-admin-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .rk-admin-metric-grid,
    .rk-admin-quick-grid {
        grid-template-columns: 1fr;
    }
}

.rk-admin-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 8px 24px rgba(10, 10, 10, 0.04);
}

.rk-admin-card-label {
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 600;
}

.rk-admin-card-value {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0A0A0A;
    margin-top: 0.35rem;
}

.rk-admin-card-muted {
    margin-top: 0.45rem;
    color: #9ca3af;
    font-weight: 600;
}

.rk-admin-table thead th {
    background: #f9fafb;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.rk-admin-empty {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.rk-admin-offcanvas {
    background: #0A0A0A;
    color: #fff;
}

.rk-admin-body .btn-rk {
    border-radius: 10px;
    background: var(--rk-blue);
    border-color: var(--rk-blue);
}

.rk-admin-body .btn-rk:hover {
    background: var(--rk-blue-dark);
    border-color: var(--rk-blue-dark);
}

.rk-admin-body .pagination .page-item.active .page-link {
    background: var(--rk-blue);
    border-color: var(--rk-blue);
}

.rk-admin-body .pagination .page-link {
    color: #0A0A0A;
}

@media (min-width: 992px) {
    .rk-admin-sidebar {
        display: block;
        position: sticky;
        top: 0;
        height: 100vh;
        overflow-y: auto;
    }

    .rk-admin-content {
        padding: 1.75rem 2rem 3rem;
    }
}

/* Business dashboard */
.rk-biz-body {
    margin: 0;
    min-height: 100vh;
    background: #f6f4f1;
    color: #0A0A0A;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

.rk-biz-shell {
    display: flex;
    min-height: 100vh;
}

.rk-biz-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #0A0A0A;
    color: #fff;
    padding: 1.25rem 0.85rem;
    display: none;
}

.rk-biz-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.35rem 0.6rem 1.25rem;
}

.rk-biz-mark {
    height: 36px;
}

.rk-biz-brand .rk-word-rating {
    color: #fff;
}

.rk-biz-brand-sub {
    font-size: 0.72rem;
    color: #d6d3d1;
    font-weight: 600;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rk-biz-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.rk-biz-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #d1d5db;
    text-decoration: none;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
}

.rk-biz-link:hover,
.rk-biz-link.active {
    background: rgba(239, 127, 26, 0.18);
    color: #fff;
}

.rk-biz-link.active {
    box-shadow: inset 3px 0 0 #EF7F1A;
}

.rk-biz-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.rk-biz-header {
    background: #fff;
    border-bottom: 1px solid #e7e5e4;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 20;
}

.rk-biz-header-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #78716c;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rk-biz-toggle,
.rk-biz-user {
    border: 1px solid #e7e5e4;
}

.rk-biz-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #EF7F1A;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.rk-biz-content {
    padding: 1.5rem 1.25rem 2.5rem;
}

.rk-biz-card {
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 8px 24px rgba(10, 10, 10, 0.04);
}

.rk-biz-card-label {
    color: #78716c;
    font-size: 0.82rem;
    font-weight: 600;
}

.rk-biz-card-value {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0A0A0A;
    margin-top: 0.35rem;
}

.rk-biz-card-muted {
    margin-top: 0.45rem;
    color: #a8a29e;
    font-weight: 600;
}

.rk-biz-page-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rk-biz-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #EF7F1A;
}

.rk-biz-page-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0A0A0A;
}

.rk-biz-page-sub {
    margin: 0.35rem 0 0;
    color: #78716c;
    font-size: 0.95rem;
}

.rk-biz-page-actions {
    position: relative;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.rk-biz-page-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    z-index: 1;
    pointer-events: auto;
    text-decoration: none;
    cursor: pointer;
}

.rk-biz-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.rk-biz-metric {
    --m-accent: #EF7F1A;
    --m-soft: #fff4eb;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 1.15rem;
    padding: 1.2rem 1.15rem;
    box-shadow: 0 10px 28px rgba(28, 25, 23, 0.05);
    min-height: 148px;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rk-biz-metric::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--m-accent);
}

.rk-biz-metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(28, 25, 23, 0.08);
}

.rk-biz-metric-business { --m-accent: #34A853; --m-soft: #e6f4ea; }
.rk-biz-metric-google { --m-accent: #4285F4; --m-soft: #e8f0fe; }
.rk-biz-metric-qr { --m-accent: #EF7F1A; --m-soft: #fff4eb; }
.rk-biz-metric-sessions { --m-accent: #EA4335; --m-soft: #fce8e6; }

.rk-biz-metric-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.rk-biz-metric-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--m-soft);
    color: var(--m-accent);
    font-size: 1.05rem;
}

.rk-biz-metric-label {
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #78716c;
}

.rk-biz-metric-value {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0A0A0A;
    line-height: 1.2;
}

.rk-biz-metric-muted {
    font-size: 1.25rem;
    font-weight: 750;
    color: #a8a29e;
}

.rk-biz-metric-hint {
    font-size: 0.82rem;
    color: #78716c;
    margin-top: auto;
}

.rk-biz-metric-link {
    margin-top: auto;
    font-size: 0.86rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.rk-biz-metric-link:hover {
    color: #1d4ed8;
}

.rk-biz-pill {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 750;
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
    margin-top: 0.15rem;
}

.rk-biz-pill-success {
    background: #e6f4ea;
    color: #137333;
}

.rk-biz-pill-muted {
    background: #f5f5f4;
    color: #57534e;
}

.rk-biz-panel {
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 1.2rem;
    padding: 1.25rem 1.25rem 0.85rem;
    box-shadow: 0 10px 28px rgba(28, 25, 23, 0.05);
}

.rk-biz-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid #f5f5f4;
}

.rk-biz-panel-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0A0A0A;
}

.rk-biz-panel-sub {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: #78716c;
}

.rk-biz-panel-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    white-space: nowrap;
}

.rk-biz-panel-link:hover {
    color: #1d4ed8;
}

.rk-biz-table thead th {
    background: transparent;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #78716c;
    font-weight: 750;
    border-bottom-color: #f5f5f4;
    padding-top: 0.35rem;
}

.rk-biz-table tbody td {
    border-bottom-color: #f5f5f4;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.rk-biz-table tbody tr:last-child td {
    border-bottom: 0;
}

.rk-biz-table-name {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.rk-biz-table-qr-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff4eb;
    color: #EF7F1A;
}

.rk-biz-empty {
    background: #fff;
    border: 1px dashed #d6d3d1;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: #78716c;
}

.rk-biz-empty-icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: #fff4eb;
    color: #EF7F1A;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 1199.98px) {
    .rk-biz-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .rk-biz-metric-grid {
        grid-template-columns: 1fr;
    }

    .rk-biz-page-title {
        font-size: 1.45rem;
    }
}

.rk-biz-offcanvas {
    background: #0A0A0A;
    color: #fff;
}

.rk-biz-body .btn-rk {
    border-radius: 10px;
    background: #EF7F1A;
    border-color: #EF7F1A;
    color: #fff;
}

.rk-biz-body .btn-rk:hover {
    background: #d66e10;
    border-color: #d66e10;
    color: #fff;
}

.rk-biz-body .pagination .page-item.active .page-link {
    background: #EF7F1A;
    border-color: #EF7F1A;
}

.rk-biz-profile-status {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.rk-biz-profile-chip {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    box-shadow: 0 6px 16px rgba(28, 25, 23, 0.04);
}

.rk-biz-profile-chip-wide {
    border-radius: 1rem;
}

.rk-biz-profile-chip-label {
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #78716c;
}

.rk-biz-profile-chip-text {
    font-size: 0.86rem;
    color: #57534e;
}

.rk-biz-profile-form {
    display: grid;
    gap: 1rem;
}

.rk-biz-form-section {
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 1.2rem;
    padding: 1.25rem 1.3rem 1.35rem;
    box-shadow: 0 10px 28px rgba(28, 25, 23, 0.045);
}

.rk-biz-form-section-head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid #f5f5f4;
}

.rk-biz-form-section-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff4eb;
    color: #EF7F1A;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rk-biz-form-section-head h2 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    color: #0A0A0A;
}

.rk-biz-form-section-head p {
    margin: 0.2rem 0 0;
    font-size: 0.86rem;
    color: #78716c;
}

.rk-biz-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.95rem 1rem;
}

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

.rk-biz-field {
    grid-column: span 2;
    min-width: 0;
}

.rk-biz-field-auto {
    grid-column: auto;
}

.rk-biz-field-2 {
    grid-column: span 2;
}

.rk-biz-field-full {
    grid-column: 1 / -1;
}

.rk-biz-field .form-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #44403c;
    margin-bottom: 0.35rem;
}

.rk-biz-field .form-control,
.rk-biz-field .form-select {
    border-radius: 0.75rem;
    border-color: #e7e5e4;
    padding: 0.65rem 0.8rem;
}

.rk-biz-field .form-control:focus,
.rk-biz-field .form-select:focus {
    border-color: #EF7F1A;
    box-shadow: 0 0 0 0.2rem rgba(239, 127, 26, 0.16);
}

.rk-biz-logo-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rk-biz-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.rk-biz-highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    padding: 0.75rem 0.8rem;
    border: 1px solid #e7e5e4;
    border-radius: 0.9rem;
    background: #fafaf9;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    color: #44403c;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.rk-biz-highlight:hover,
.rk-biz-highlight.is-checked {
    border-color: #fdba74;
    background: #fff7ed;
    box-shadow: 0 8px 18px rgba(239, 127, 26, 0.08);
}

.rk-biz-highlight .form-check-input {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.rk-biz-highlight .form-check-input:checked {
    background-color: #EF7F1A;
    border-color: #EF7F1A;
}

.rk-biz-form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 1.1rem;
    padding: 1rem 1.2rem;
    box-shadow: 0 10px 28px rgba(28, 25, 23, 0.045);
    position: sticky;
    bottom: 0.75rem;
    z-index: 5;
}

.rk-biz-form-footer-note {
    margin: 0;
    font-size: 0.88rem;
    color: #78716c;
}

.rk-biz-form-footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

@media (max-width: 991.98px) {
    .rk-biz-profile-status {
        grid-template-columns: 1fr 1fr;
    }

    .rk-biz-profile-chip-wide {
        grid-column: 1 / -1;
    }

    .rk-biz-form-grid,
    .rk-biz-form-grid-3,
    .rk-biz-highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .rk-biz-profile-status,
    .rk-biz-form-grid,
    .rk-biz-form-grid-3,
    .rk-biz-highlight-grid {
        grid-template-columns: 1fr;
    }

    .rk-biz-field,
    .rk-biz-field-2,
    .rk-biz-field-auto {
        grid-column: 1 / -1;
    }

    .rk-biz-form-footer {
        position: static;
    }
}

.rk-biz-logo-preview {
    height: 64px;
    width: auto;
    border-radius: 10px;
    border: 1px solid #e7e5e4;
}

.rk-qr-thumb {
    border-radius: 8px;
    border: 1px solid #e7e5e4;
    object-fit: contain;
    background: #fff;
}

.rk-qr-preview-lg {
    width: 220px;
    height: 220px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #e7e5e4;
    background: #fff;
}

.rk-biz-static-qr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    padding: 0.35rem 0.25rem 0.75rem;
}

.rk-biz-static-qr-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 1rem;
}

.rk-biz-static-qr-meta .rk-biz-url {
    word-break: break-all;
    font-size: 0.85rem;
}

@media (max-width: 767.98px) {
    .rk-biz-static-qr {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .rk-biz-static-qr-meta .d-flex {
        justify-content: center;
    }
}

/* —— Enhanced dashboard (modern hub) —— */
.rk-dash {
    --dash-ink: #1c1917;
    --dash-muted: #78716c;
    --dash-line: rgba(28, 25, 23, 0.08);
    --dash-orange: #EF7F1A;
    --dash-orange-deep: #d96a0c;
    --dash-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-dash::before {
    content: "";
    position: absolute;
    inset: -1.25rem -0.5rem auto;
    height: 220px;
    background:
        radial-gradient(ellipse 60% 80% at 12% 20%, rgba(239, 127, 26, 0.16), transparent 60%),
        radial-gradient(ellipse 50% 70% at 88% 10%, rgba(66, 133, 244, 0.1), transparent 55%),
        radial-gradient(ellipse 40% 50% at 55% 0%, rgba(52, 168, 83, 0.08), transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: rk-dash-aurora 10s ease-in-out infinite alternate;
}

@keyframes rk-dash-aurora {
    from { transform: translateY(0) scale(1); opacity: 0.9; }
    to { transform: translateY(8px) scale(1.03); opacity: 1; }
}

.rk-dash-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.35rem;
    animation: rk-dash-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-dash-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dash-orange);
}

.rk-dash-title {
    margin: 0;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--dash-ink);
    line-height: 1.15;
}

.rk-dash-lead {
    margin: 0.4rem 0 0;
    color: var(--dash-muted);
    font-size: 0.98rem;
    max-width: 36rem;
}

.rk-dash-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    flex-shrink: 0;
}

.rk-dash-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.65rem 1.05rem;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-dash-btn i { font-size: 1rem; }

.rk-dash-btn-primary {
    background: linear-gradient(135deg, var(--dash-orange), var(--dash-orange-deep));
    color: #fff;
    box-shadow: 0 10px 24px rgba(239, 127, 26, 0.28);
}

.rk-dash-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 28px rgba(239, 127, 26, 0.38);
}

.rk-dash-btn-ghost {
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--dash-line);
    color: var(--dash-ink);
    backdrop-filter: blur(8px);
}

.rk-dash-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--dash-orange-deep);
    background: #fff;
}

.rk-dash-btn-soft {
    background: #fafaf9;
    border-color: var(--dash-line);
    color: var(--dash-ink);
}

.rk-dash-btn-soft:hover {
    background: #fff;
    border-color: rgba(239, 127, 26, 0.4);
    color: var(--dash-orange-deep);
    transform: translateY(-1px);
}

.rk-dash-btn-block { width: 100%; }
.rk-dash-btn.is-copied {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.rk-dash-stage {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 1.15rem;
    align-items: start;
}

.rk-dash-qr,
.rk-dash-profile,
.rk-dash-metric {
    animation: rk-dash-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.08s);
}

@keyframes rk-dash-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

.rk-dash-qr {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--dash-line);
    border-radius: 1.5rem;
    padding: 1.35rem 1.25rem 1.4rem;
    text-align: center;
    box-shadow: 0 18px 40px rgba(28, 25, 23, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.rk-dash-qr:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(28, 25, 23, 0.1);
}

.rk-dash-qr-glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 60%;
    background: radial-gradient(circle at 50% 80%, rgba(239, 127, 26, 0.22), transparent 65%);
    pointer-events: none;
}

.rk-dash-qr-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dash-orange-deep);
    background: var(--dash-soft);
    border: 1px solid rgba(239, 127, 26, 0.18);
}

.rk-dash-qr-frame {
    position: relative;
    width: min(100%, 240px);
    margin: 0 auto 1rem;
    padding: 0.9rem;
    border-radius: 1.25rem;
    background: linear-gradient(160deg, #fff, #fafaf9);
    border: 1px solid var(--dash-line);
}

.rk-dash-qr-ring {
    position: absolute;
    inset: -6px;
    border-radius: 1.4rem;
    border: 1px dashed rgba(239, 127, 26, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.45s ease;
    pointer-events: none;
}

.rk-dash-qr:hover .rk-dash-qr-ring {
    opacity: 1;
    transform: rotate(2deg);
}

.rk-dash-qr-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    display: block;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.rk-dash-qr:hover .rk-dash-qr-img {
    transform: scale(1.03);
}

.rk-dash-qr-name {
    margin: 0 0 0.55rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dash-ink);
}

.rk-dash-qr-copy {
    margin: 0.7rem 0 1.05rem;
    font-size: 0.88rem;
    color: var(--dash-muted);
    line-height: 1.45;
}

.rk-dash-qr-actions {
    display: grid;
    gap: 0.5rem;
}

.rk-dash-qr-empty {
    min-height: 320px;
    display: grid;
    place-content: center;
    gap: 0.75rem;
    color: var(--dash-muted);
}

.rk-dash-qr-empty i { font-size: 2.4rem; color: var(--dash-orange); }

.rk-dash-main {
    display: grid;
    gap: 1rem;
}

.rk-dash-profile {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--dash-line);
    border-radius: 1.5rem;
    padding: 1.25rem 1.35rem 1.4rem;
    box-shadow: 0 18px 40px rgba(28, 25, 23, 0.05);
    backdrop-filter: blur(10px);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.rk-dash-profile:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(28, 25, 23, 0.08);
}

.rk-dash-profile-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 1.15rem;
}

.rk-dash-profile-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dash-ink);
}

.rk-dash-profile-head p {
    margin: 0.15rem 0 0;
    font-size: 0.84rem;
    color: var(--dash-muted);
}

.rk-dash-profile-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--dash-orange);
    background: var(--dash-soft);
    font-size: 1.15rem;
}

.rk-dash-edit {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--dash-muted);
    background: #fafaf9;
    border: 1px solid var(--dash-line);
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.rk-dash-edit:hover {
    color: var(--dash-orange-deep);
    background: var(--dash-soft);
    border-color: rgba(239, 127, 26, 0.3);
    transform: translateY(-1px) rotate(-6deg);
}

.rk-dash-brand {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    margin-bottom: 1.1rem;
}

.rk-dash-logo {
    width: auto;
    max-width: 140px;
    height: 72px;
    border-radius: 14px;
    object-fit: contain;
    object-position: left center;
    border: 1px solid var(--dash-line);
    background: #fff;
    padding: 0.35rem 0.45rem;
    box-shadow: 0 8px 20px rgba(28, 25, 23, 0.06);
    transition: transform 0.3s ease;
}

.rk-dash-profile:hover .rk-dash-logo {
    transform: scale(1.03);
}

.rk-dash-logo-fallback {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    background: linear-gradient(145deg, var(--dash-orange), #f59e0b);
    border: none;
    border-radius: 18px;
}

.rk-dash-brand-meta h3 {
    margin: 0 0 0.45rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dash-ink);
}

.rk-dash-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.rk-dash-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: #f5f5f4;
    color: #57534e;
    border: 1px solid transparent;
}

.rk-dash-chip-ok {
    background: #ecfdf5;
    color: #047857;
}

.rk-dash-chip-cat {
    background: var(--dash-soft);
    color: var(--dash-orange-deep);
    border-color: rgba(239, 127, 26, 0.15);
}

.rk-dash-pulse {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    animation: rk-dash-pulse 1.8s ease-out infinite;
}

@keyframes rk-dash-pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.rk-dash-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-dash-story {
    margin-bottom: 1.1rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, #fafaf9, #fff);
    border: 1px solid var(--dash-line);
}

.rk-dash-story p {
    margin: 0;
    color: #44403c;
    font-size: 0.95rem;
    line-height: 1.55;
}

.rk-dash-links {
    display: grid;
    gap: 0.65rem;
}

.rk-dash-link-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem 0.95rem;
    border-radius: 1rem;
    border: 1px solid var(--dash-line);
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.rk-dash-link-card:hover {
    transform: translateX(4px);
    border-color: rgba(239, 127, 26, 0.35);
    box-shadow: 0 10px 24px rgba(28, 25, 23, 0.06);
    background: #fffaf5;
}

.rk-dash-link-card.is-warn {
    background: #fffbeb;
    border-color: #fde68a;
}

.rk-dash-link-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #f5f5f4;
    color: #57534e;
    font-size: 1.05rem;
}

.rk-dash-link-icon-g { background: #e8f0fe; color: #4285F4; }
.rk-dash-link-icon-qr { background: var(--dash-soft); color: var(--dash-orange); }

.rk-dash-link-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.rk-dash-link-text strong {
    font-size: 0.92rem;
    font-weight: 750;
    color: var(--dash-ink);
}

.rk-dash-link-text small {
    font-size: 0.78rem;
    color: var(--dash-muted);
}

.rk-dash-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.rk-dash-link-arrow {
    color: #a8a29e;
    transition: transform 0.25s ease, color 0.25s ease;
}

.rk-dash-link-card:hover .rk-dash-link-arrow {
    color: var(--dash-orange);
    transform: translate(2px, -2px);
}

.rk-dash-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.rk-dash-metric {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem 1.05rem;
    border-radius: 1.2rem;
    background: #fff;
    border: 1px solid var(--dash-line);
    box-shadow: 0 10px 24px rgba(28, 25, 23, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.rk-dash-metric:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 127, 26, 0.25);
    box-shadow: 0 16px 32px rgba(28, 25, 23, 0.08);
}

.rk-dash-metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #eff6ff;
    color: #2563eb;
    flex-shrink: 0;
}

.rk-dash-metric-icon.is-orange { background: var(--dash-soft); color: var(--dash-orange); }
.rk-dash-metric-icon.is-green { background: #ecfdf5; color: #059669; }
.rk-dash-metric-icon.is-muted { background: #f5f5f4; color: #a8a29e; }

.rk-dash-metric-num,
.rk-dash-metric-text {
    display: block;
    margin: 0.1rem 0;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--dash-ink);
    line-height: 1.1;
}

.rk-dash-metric small {
    color: var(--dash-muted);
    font-size: 0.78rem;
}

@media (max-width: 991.98px) {
    .rk-dash-stage { grid-template-columns: 1fr; }
    .rk-dash-top { flex-direction: column; align-items: flex-start; }
    .rk-dash-qr { max-width: 420px; margin: 0 auto; width: 100%; }
}

@media (max-width: 575.98px) {
    .rk-dash-metrics { grid-template-columns: 1fr; }
    .rk-dash-top-actions { width: 100%; }
    .rk-dash-top-actions .rk-dash-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-dash::before,
    .rk-dash-top,
    .rk-dash-qr,
    .rk-dash-profile,
    .rk-dash-metric,
    .rk-dash-pulse {
        animation: none !important;
    }
    .rk-dash-qr:hover,
    .rk-dash-profile:hover,
    .rk-dash-metric:hover,
    .rk-dash-btn:hover,
    .rk-dash-link-card:hover {
        transform: none;
    }
}

.rk-biz-qr-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    gap: 1.15rem;
    align-items: start;
}

.rk-biz-qr-form {
    display: grid;
    gap: 1rem;
}

.rk-biz-form-footer-inline {
    position: static;
    margin-top: 0.35rem;
}

.rk-biz-qr-tips {
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 1.2rem;
    padding: 1.25rem 1.2rem;
    box-shadow: 0 10px 28px rgba(28, 25, 23, 0.045);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.rk-biz-qr-tips-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.rk-biz-qr-tips-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.rk-biz-qr-tips-list li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-size: 0.9rem;
    color: #57534e;
    line-height: 1.45;
}

.rk-biz-qr-tip-num {
    flex: 0 0 auto;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    background: #fff4eb;
    color: #EF7F1A;
}

.rk-biz-qr-detail-layout {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 1.15rem;
    align-items: start;
}

.rk-biz-qr-preview-card {
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 1.2rem;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 10px 28px rgba(28, 25, 23, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rk-biz-qr-preview-frame {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1;
    border-radius: 1rem;
    border: 1px solid #e7e5e4;
    background: #fafaf9;
    display: grid;
    place-items: center;
    padding: 0.85rem;
    margin-bottom: 0.85rem;
}

.rk-biz-qr-preview-frame .rk-qr-preview-lg {
    width: 100%;
    height: auto;
    max-width: 180px;
    border: 0;
}

.rk-biz-qr-preview-name {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0A0A0A;
}

.rk-biz-detail-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.15rem;
    margin: 0;
}

.rk-biz-detail-list dt {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-biz-detail-list dd {
    margin: 0.3rem 0 0;
    font-size: 0.95rem;
    font-weight: 650;
    color: #292524;
    word-break: break-word;
}

.rk-biz-detail-full {
    grid-column: 1 / -1;
}

.rk-biz-detail-link {
    color: #2563eb;
    font-weight: 650;
    text-decoration: none;
}

.rk-biz-detail-link:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .rk-biz-qr-form-layout,
    .rk-biz-qr-detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .rk-biz-detail-list {
        grid-template-columns: 1fr;
    }
}

.rk-customer-body {
    --rk-c-amber: #EF7F1A;
    --rk-c-amber-bright: #ff9a3c;
    --rk-c-ink: #fffaf5;
    --rk-c-muted: #b7ada3;
    --rk-c-panel: rgba(22, 18, 15, 0.82);
    --rk-c-line: rgba(239, 127, 26, 0.22);
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(239, 127, 26, 0.18), transparent 55%),
        radial-gradient(900px 500px at 110% 20%, rgba(255, 170, 80, 0.1), transparent 50%),
        linear-gradient(165deg, #120e0b 0%, #0a0908 45%, #15100c 100%);
    color: var(--rk-c-ink);
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    position: relative;
    overflow-x: hidden;
}

.rk-customer-atmosphere {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.rk-customer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.55;
    animation: rkOrbFloat 14s ease-in-out infinite;
}

.rk-customer-orb-a {
    width: 280px;
    height: 280px;
    top: -80px;
    left: -60px;
    background: rgba(239, 127, 26, 0.35);
}

.rk-customer-orb-b {
    width: 220px;
    height: 220px;
    right: -40px;
    top: 28%;
    background: rgba(255, 196, 120, 0.18);
    animation-delay: -4s;
}

.rk-customer-orb-c {
    width: 320px;
    height: 320px;
    left: 35%;
    bottom: -140px;
    background: rgba(120, 70, 30, 0.28);
    animation-delay: -7s;
}

.rk-customer-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
    opacity: 0.45;
}

@keyframes rkOrbFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(18px, -22px, 0) scale(1.06); }
}

.rk-customer-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem 2rem;
}

.rk-customer-stage {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: rkStageIn 0.55s ease-out both;
}

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

.rk-customer-card {
    width: 100%;
    max-width: 440px;
    min-width: 0;
    overflow: hidden;
    background:
        linear-gradient(165deg, rgba(40, 28, 18, 0.92), rgba(16, 13, 11, 0.94));
    border: 1px solid var(--rk-c-line);
    border-radius: 24px;
    padding: 1.55rem 1.35rem 1.45rem;
    text-align: center;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 24px 48px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
}

.rk-customer-card:has(.rk-draft-card) {
    max-width: 520px;
    text-align: left;
}

.rk-customer-logo {
    height: 64px;
    width: auto;
    margin: 0 auto 0.85rem;
    border: 0;
    background: transparent;
    object-fit: contain;
}

.rk-customer-kicker {
    color: var(--rk-c-amber);
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.rk-customer-copy {
    color: #d6d3d1;
    line-height: 1.5;
}

.rk-customer-desc {
    color: var(--rk-c-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 100%;
    margin: 0.55rem 0 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.rk-customer-welcome {
    color: #e7e5e4;
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}

.rk-customer-alert {
    background: rgba(127, 29, 29, 0.45);
    color: #fecaca;
    border: 1px solid rgba(248, 113, 113, 0.25);
    border-radius: 14px;
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.rk-customer-form {
    text-align: center;
}

.rk-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0.35rem;
    margin: 0.15rem 0 0.55rem;
}

.rk-stars input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.rk-star-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    min-width: 2.7rem;
    color: #57534e;
}

.rk-star-icon {
    display: grid;
    place-items: center;
    width: 2.85rem;
    height: 2.85rem;
    transition: transform 0.15s ease, color 0.15s ease, filter 0.15s ease;
}

.rk-star-icon svg {
    display: block;
    fill: currentColor;
}

.rk-star-num {
    font-size: 0.78rem;
    color: #a8a29e;
    margin-top: 0.15rem;
    font-weight: 600;
}

.rk-stars label:hover .rk-star-icon,
.rk-stars label:hover ~ label .rk-star-icon,
.rk-stars input:checked ~ label .rk-star-icon,
.rk-stars input:focus-visible + label .rk-star-icon {
    color: var(--rk-c-amber);
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(239, 127, 26, 0.35));
}

.rk-customer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffb057 0%, var(--rk-c-amber) 48%, #d96a0d 100%);
    color: #1c120a;
    font-weight: 800;
    padding: 0.9rem 1.25rem;
    font-size: 1rem;
    letter-spacing: -0.01em;
    box-shadow: 0 12px 28px rgba(239, 127, 26, 0.28);
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.rk-customer-btn:hover,
.rk-customer-btn:focus {
    background: linear-gradient(135deg, #ffc078 0%, #f08a28 48%, #e07010 100%);
    color: #1c120a;
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 14px 32px rgba(239, 127, 26, 0.34);
}

.rk-customer-textarea {
    width: 100%;
    border: 1px solid #292524;
    background: #0A0A0A;
    color: #fff;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    resize: vertical;
    min-height: 140px;
}

.rk-customer-textarea:focus {
    outline: 2px solid #EF7F1A;
    border-color: #EF7F1A;
}

.rk-customer-optional {
    color: #78716c;
    font-size: 0.82rem;
}

.rk-tag-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.rk-tag {
    cursor: pointer;
    margin: 0;
}

.rk-tag input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rk-tag span {
    display: inline-block;
    border: 1px solid #44403c;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    font-size: 0.88rem;
    color: #e7e5e4;
}

.rk-tag input:checked + span {
    background: #EF7F1A;
    border-color: #EF7F1A;
    color: #0A0A0A;
    font-weight: 600;
}

.rk-customer-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

.rk-customer-brand-mark {
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--rk-c-amber), transparent);
    margin-bottom: 0.7rem;
    opacity: 0.85;
}

.rk-customer-brand {
    margin: 0 0 0.25rem;
    text-align: center;
    color: var(--rk-c-amber);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rk-customer-tagline {
    text-align: center;
    color: #78716c;
    font-size: 0.78rem;
    margin: 0;
    max-width: 280px;
}

.rk-customer-form-left {
    text-align: left;
}

.rk-customer-label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: #e7e5e4;
    margin-bottom: 0.4rem;
}

.rk-customer-select {
    width: 100%;
    border: 1px solid #292524;
    background: #0A0A0A;
    color: #fff;
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
}

.rk-customer-select:focus {
    outline: 2px solid #EF7F1A;
    border-color: #EF7F1A;
}

.rk-customer-note {
    background: #1c140d;
    color: #f5d0a9;
    border: 1px solid #3f2a16;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    font-size: 0.88rem;
    margin-bottom: 1rem;
    text-align: left;
}

.rk-customer-success {
    background: #132016;
    color: #bbf7d0;
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.rk-customer-link {
    color: #EF7F1A;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 575.98px) {
    .rk-customer-card {
        padding: 1.3rem 1rem 1.25rem;
        border-radius: 20px;
    }

    .rk-star-label {
        min-width: 2.45rem;
    }

    .rk-star-icon {
        width: 2.65rem;
        height: 2.65rem;
    }

    .rk-customer-btn {
        padding: 0.85rem 1.1rem;
    }
}

/* —— Customer journey (rating + suggestions): modern light —— */
.rk-customer-body:has(.rk-suggest),
.rk-customer-body:has(.rk-entry) {
    --rk-s-ink: #14201b;
    --rk-s-muted: #5b6b63;
    --rk-s-line: #d7e3dc;
    --rk-s-soft: #eef6f1;
    --rk-s-card: #ffffff;
    --rk-s-accent: #ef7f1a;
    --rk-s-accent-deep: #d96a0d;
    --rk-s-teal: #0f766e;
    background:
        radial-gradient(900px 480px at 8% -8%, rgba(15, 118, 110, 0.14), transparent 55%),
        radial-gradient(700px 420px at 100% 0%, rgba(239, 127, 26, 0.16), transparent 50%),
        radial-gradient(600px 380px at 50% 110%, rgba(56, 189, 248, 0.08), transparent 45%),
        linear-gradient(180deg, #f4faf7 0%, #eef3f0 48%, #f7f3ee 100%);
    color: var(--rk-s-ink);
}

.rk-customer-body:has(.rk-suggest) .rk-customer-atmosphere,
.rk-customer-body:has(.rk-entry) .rk-customer-atmosphere {
    opacity: 0.55;
}

.rk-customer-body:has(.rk-suggest) .rk-customer-orb-a,
.rk-customer-body:has(.rk-entry) .rk-customer-orb-a {
    background: rgba(15, 118, 110, 0.18);
}

.rk-customer-body:has(.rk-suggest) .rk-customer-orb-b,
.rk-customer-body:has(.rk-entry) .rk-customer-orb-b {
    background: rgba(239, 127, 26, 0.16);
}

.rk-customer-body:has(.rk-suggest) .rk-customer-orb-c,
.rk-customer-body:has(.rk-entry) .rk-customer-orb-c {
    background: rgba(34, 197, 94, 0.1);
}

.rk-customer-body:has(.rk-suggest) .rk-customer-grid,
.rk-customer-body:has(.rk-entry) .rk-customer-grid {
    background-image:
        linear-gradient(rgba(15, 118, 110, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 118, 110, 0.04) 1px, transparent 1px);
    opacity: 0.7;
}

.rk-customer-shell:has(.rk-suggest),
.rk-customer-shell:has(.rk-entry) {
    min-height: 100vh;
    width: 100%;
    padding: 1.25rem 0.85rem 1.5rem;
    align-items: center;
    justify-content: center;
}

.rk-customer-stage:has(.rk-suggest),
.rk-customer-stage:has(.rk-entry) {
    width: 80%;
    max-width: 430px;
}

.rk-customer-card:has(.rk-suggest),
.rk-customer-card:has(.rk-entry) {
    position: relative;
    width: 100%;
    max-width: none;
    padding: 1.2rem 1.05rem 1.05rem;
    text-align: left;
    overflow: hidden;
    background: var(--rk-s-card);
    border: 1px solid rgba(20, 32, 27, 0.06);
    border-radius: 22px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 18px 40px rgba(20, 40, 32, 0.08),
        0 4px 14px rgba(15, 118, 110, 0.05);
    backdrop-filter: none;
    color: var(--rk-s-ink);
}

.rk-customer-card:has(.rk-suggest)::before,
.rk-customer-card:has(.rk-entry)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0f766e, #34d399 40%, #ef7f1a 78%, #fbbf24);
    opacity: 1;
}

.rk-customer-stage:has(.rk-suggest) .rk-customer-footer,
.rk-customer-stage:has(.rk-entry) .rk-customer-footer {
    margin-top: 0.85rem;
    width: 100%;
}

.rk-customer-stage:has(.rk-suggest) .rk-customer-brand-mark,
.rk-customer-stage:has(.rk-entry) .rk-customer-brand-mark {
    background: linear-gradient(90deg, transparent, #0f766e, #ef7f1a, transparent);
}

.rk-customer-stage:has(.rk-suggest) .rk-customer-brand,
.rk-customer-stage:has(.rk-entry) .rk-customer-brand {
    color: #0f766e;
    font-size: 0.84rem;
}

.rk-customer-stage:has(.rk-entry) .rk-customer-tagline,
.rk-customer-stage:has(.rk-suggest) .rk-customer-tagline {
    color: #6b7c74;
    font-size: 0.72rem;
}

/* Entry (rating) page — portal style */
.rk-customer-body:has(.rk-entry),
.rk-customer-body:has(.rk-feedback) {
    --rk-s-ink: #2b2118;
    --rk-s-muted: #8a7d72;
    --rk-s-line: #f0e2d4;
    --rk-s-soft: #fff7ef;
    --rk-s-card: #ffffff;
    --rk-s-accent: #ef7f1a;
    --rk-s-accent-deep: #d96a0d;
    background:
        radial-gradient(circle at 12% 8%, rgba(239, 127, 26, 0.08), transparent 40%),
        radial-gradient(circle at 90% 0%, rgba(239, 127, 26, 0.06), transparent 42%),
        #f7f1ea;
    color: var(--rk-s-ink);
}

.rk-customer-body:has(.rk-entry) .rk-customer-atmosphere,
.rk-customer-body:has(.rk-feedback) .rk-customer-atmosphere {
    opacity: 0.35;
}

.rk-customer-body:has(.rk-entry) .rk-customer-orb-a,
.rk-customer-body:has(.rk-entry) .rk-customer-orb-b,
.rk-customer-body:has(.rk-entry) .rk-customer-orb-c,
.rk-customer-body:has(.rk-feedback) .rk-customer-orb-a,
.rk-customer-body:has(.rk-feedback) .rk-customer-orb-b,
.rk-customer-body:has(.rk-feedback) .rk-customer-orb-c {
    background: rgba(239, 127, 26, 0.12);
}

.rk-customer-body:has(.rk-entry) .rk-customer-grid,
.rk-customer-body:has(.rk-feedback) .rk-customer-grid {
    background-image: radial-gradient(rgba(120, 90, 60, 0.12) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.55;
}

.rk-customer-shell:has(.rk-entry),
.rk-customer-shell:has(.rk-feedback) {
    min-height: 100vh;
    width: 100%;
    padding: 1.25rem 0.85rem 1.5rem;
    align-items: center;
    justify-content: center;
}

.rk-customer-stage:has(.rk-entry),
.rk-customer-stage:has(.rk-feedback) {
    width: 88%;
    max-width: 420px;
}

.rk-customer-card:has(.rk-entry),
.rk-customer-card:has(.rk-feedback) {
    position: relative;
    width: 100%;
    max-width: none;
    padding: 1.55rem 1.2rem 1.2rem;
    text-align: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(239, 127, 26, 0.12);
    border-radius: 28px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 18px 40px rgba(180, 110, 40, 0.1),
        0 0 0 1px rgba(239, 127, 26, 0.03);
    backdrop-filter: none;
    color: var(--rk-s-ink);
}

.rk-customer-card:has(.rk-entry)::before,
.rk-customer-card:has(.rk-feedback)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #ef7f1a, #fbbf24);
    opacity: 1;
}

.rk-customer-stage:has(.rk-entry) .rk-customer-footer,
.rk-customer-stage:has(.rk-feedback) .rk-customer-footer {
    margin-top: 0.85rem;
    width: 100%;
}

.rk-customer-stage:has(.rk-entry) .rk-customer-brand-mark,
.rk-customer-stage:has(.rk-feedback) .rk-customer-brand-mark {
    background: linear-gradient(90deg, transparent, #ef7f1a, transparent);
}

.rk-customer-stage:has(.rk-entry) .rk-customer-brand,
.rk-customer-stage:has(.rk-feedback) .rk-customer-brand {
    color: #ef7f1a;
    font-size: 0.84rem;
}

.rk-customer-stage:has(.rk-entry) .rk-customer-tagline,
.rk-customer-stage:has(.rk-feedback) .rk-customer-tagline {
    color: #8a7d72;
    font-size: 0.72rem;
}

.rk-entry {
    text-align: center;
    animation: rkEntryIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rkEntryIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.rk-entry-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.95rem;
}

.rk-entry-logo-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 270px;
    padding: 0;
    margin-bottom: 0.85rem;
    background: transparent;
    border: none;
    box-shadow: none;
}

.rk-entry-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 56px;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    margin: 0;
}

.rk-entry-platform-logo {
    max-height: 52px;
}

.rk-entry-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0 auto 1.25rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    color: #e66a00;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid rgba(239, 127, 26, 0.38);
    box-shadow: 0 2px 8px rgba(239, 127, 26, 0.08);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.rk-entry-rate {
    text-align: center;
}

.rk-entry-title {
    font-family: Sora, "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.45rem, 5vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin: 0;
    color: #2b2118;
}

.rk-entry-question {
    margin: 0.55rem 0 0;
    font-family: Sora, "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.05rem, 3.5vw, 1.2rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #3d3228;
}

.rk-entry-welcome {
    margin: 0.55rem auto 0;
    max-width: 20rem;
    color: #8a7d72;
    font-size: 0.86rem;
    line-height: 1.5;
}

.rk-entry-alert {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 0.6rem 0.75rem;
    font-size: 0.82rem;
    margin: 0.85rem 0 0;
    text-align: left;
}

.rk-entry-form {
    margin-top: 1.2rem;
}

.rk-entry-form.is-submitting {
    pointer-events: none;
    opacity: 0.85;
}

.rk-entry-form.is-submitting .rk-entry-hint {
    color: #ef7f1a;
}

.rk-entry .rk-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0.55rem;
    margin: 0;
    padding: 0.35rem 0;
    border: 0;
    background: transparent;
}

.rk-entry .rk-stars input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.rk-entry .rk-star-label {
    cursor: pointer;
    color: #d6c7b8;
    animation: rkStarIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.05s + var(--i, 0) * 45ms);
    transition: color 0.18s ease;
}

@keyframes rkStarIn {
    from { opacity: 0; transform: translateY(8px) scale(0.9); }
    to { opacity: 1; transform: none; }
}

.rk-entry .rk-star-icon {
    display: grid;
    place-items: center;
    line-height: 0;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.2s ease;
}

.rk-entry .rk-star-icon svg {
    display: block;
    overflow: visible;
}

.rk-entry .rk-star-outline {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linejoin: round;
    transition: stroke-width 0.18s ease, stroke 0.18s ease;
}

.rk-entry .rk-star-fill {
    fill: currentColor;
    opacity: 0;
    transform-origin: center;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

/* Hover: orange outline only (no fill) */
.rk-entry .rk-stars label:hover,
.rk-entry .rk-stars label:hover ~ label,
.rk-entry .rk-stars input:focus-visible + label {
    color: #ef7f1a;
}

.rk-entry .rk-stars label:hover .rk-star-icon,
.rk-entry .rk-stars label:hover ~ label .rk-star-icon,
.rk-entry .rk-stars input:focus-visible + label .rk-star-icon {
    transform: translateY(-2px) scale(1.05);
}

.rk-entry .rk-stars label:hover .rk-star-outline,
.rk-entry .rk-stars label:hover ~ label .rk-star-outline,
.rk-entry .rk-stars input:focus-visible + label .rk-star-outline {
    stroke-width: 2.1;
}

/* Clicked: solid filled stars */
.rk-entry .rk-stars input:checked ~ label,
.rk-entry .rk-stars input:checked + label {
    color: #ef7f1a;
}

.rk-entry .rk-stars input:checked ~ label .rk-star-fill,
.rk-entry .rk-stars input:checked + label .rk-star-fill {
    opacity: 1;
}

.rk-entry .rk-stars input:checked ~ label .rk-star-icon,
.rk-entry .rk-stars input:checked + label .rk-star-icon {
    transform: translateY(-3px) scale(1.08);
    filter: drop-shadow(0 8px 12px rgba(239, 127, 26, 0.3));
}

.rk-entry .rk-stars input:checked + label .rk-star-icon {
    transform: translateY(-4px) scale(1.12);
}

.rk-entry .rk-star-icon.is-pop {
    animation: rkStarPop 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes rkStarPop {
    0% { transform: scale(0.82) rotate(-10deg); }
    55% { transform: scale(1.18) rotate(6deg); }
    100% { transform: scale(1.12) rotate(0deg); }
}

.rk-entry-hint {
    margin: 0.85rem 0 0;
    color: #9a8c80;
    font-size: 0.86rem;
    font-weight: 600;
    min-height: 1.35rem;
    transition: color 0.2s ease;
}

.rk-entry-hint.is-set {
    color: #ef7f1a;
    font-weight: 750;
}

.rk-entry-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.rk-entry-stat {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-align: left;
    padding: 0.7rem 0.7rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(239, 127, 26, 0.18);
    box-shadow: 0 8px 18px rgba(180, 110, 40, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rk-entry-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(180, 110, 40, 0.1);
}

.rk-entry-stat-icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
    color: #fff;
    background: linear-gradient(145deg, #ff9a3c, #ef7f1a);
    box-shadow: 0 8px 14px rgba(239, 127, 26, 0.28);
}

.rk-entry-stat-icon svg {
    display: block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.rk-entry-stat-icon svg path {
    fill: currentColor;
}

.rk-entry-stat-copy {
    min-width: 0;
}

.rk-entry-stat strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: #2b2118;
    line-height: 1.1;
}

.rk-entry-stat-copy span {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.68rem;
    color: #8a7d72;
    line-height: 1.25;
}

@media (prefers-reduced-motion: reduce) {
    .rk-entry,
    .rk-entry .rk-star-label,
    .rk-entry .rk-star-icon.is-pop {
        animation: none !important;
    }
}

@media (max-width: 575.98px) {
    .rk-customer-stage:has(.rk-entry),
    .rk-customer-stage:has(.rk-feedback) {
        width: 94%;
        max-width: 420px;
    }

    .rk-customer-card:has(.rk-entry),
    .rk-customer-card:has(.rk-feedback) {
        padding: 1.35rem 1rem 1.05rem;
        border-radius: 24px;
    }

    .rk-entry .rk-stars {
        gap: 0.4rem;
    }

    .rk-entry .rk-star-icon svg {
        width: 36px;
        height: 36px;
    }

    .rk-entry-stat {
        padding: 0.6rem 0.55rem;
        gap: 0.45rem;
    }
}


/* Feedback page — portal light form */
.rk-feedback {
    text-align: center;
    animation: rkEntryIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-feedback-main {
    text-align: center;
}

.rk-feedback-form {
    margin-top: 1.15rem;
    text-align: left;
}

.rk-feedback-panel {
    padding: 0.8rem 0.85rem 0.9rem;
    border-radius: 18px;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(239, 127, 26, 0.08), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
    border: 1px solid rgba(239, 127, 26, 0.14);
    box-shadow: 0 10px 24px rgba(180, 110, 40, 0.05);
}

.rk-customer-stage:has(.rk-feedback) {
    width: 92%;
    max-width: 460px;
}

.rk-feedback-label {
    display: block;
    margin: 0 0 0.4rem;
    color: #2b2118;
    font-size: 0.8rem;
    font-weight: 750;
}

.rk-feedback-label span {
    color: #8a7d72;
    font-weight: 600;
}

.rk-feedback-label-tags {
    margin-top: 0.7rem;
}

.rk-feedback-textarea {
    width: 100%;
    border: 1px solid rgba(239, 127, 26, 0.22);
    background: #fff;
    color: #2b2118;
    border-radius: 14px;
    padding: 0.65rem 0.85rem;
    resize: vertical;
    min-height: 72px;
    height: 72px;
    max-height: 140px;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.rk-feedback-textarea::placeholder {
    color: #a89888;
}

.rk-feedback-textarea:focus {
    outline: none;
    border-color: #ef7f1a;
    box-shadow: 0 0 0 4px rgba(239, 127, 26, 0.12);
}

.rk-feedback-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rk-feedback-tag {
    cursor: pointer;
    margin: 0;
}

.rk-feedback-tag input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rk-feedback-tag span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(43, 33, 24, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #5c4f44;
    padding: 0.42rem 0.78rem;
    font-size: 0.78rem;
    font-weight: 650;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.rk-feedback-tag:hover span {
    border-color: rgba(239, 127, 26, 0.45);
    color: #c2410c;
    transform: translateY(-1px);
}

.rk-feedback-tag input:checked + span {
    background: linear-gradient(135deg, #fff4e8, #ffe8d0);
    border-color: #ef7f1a;
    color: #c2410c;
    box-shadow: 0 6px 14px rgba(239, 127, 26, 0.14);
}

.rk-feedback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: 0.85rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef7f1a 0%, #f59e0b 55%, #d97706 100%);
    color: #fff;
    font-weight: 800;
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    box-shadow: 0 12px 24px rgba(239, 127, 26, 0.26);
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.rk-feedback-btn:hover,
.rk-feedback-btn:focus {
    color: #fff;
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(239, 127, 26, 0.34);
}

.rk-feedback-btn svg {
    transition: transform 0.18s ease;
}

.rk-feedback-btn:hover svg {
    transform: translateX(3px);
}

.rk-feedback .rk-entry-stats {
    margin-top: 0.95rem;
}


/* —— Suggestions page details —— */
.rk-suggest {
    text-align: left;
}

.rk-suggest-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.rk-suggest-progress span {
    height: 4px;
    border-radius: 999px;
    background: #e2ebe6;
}

.rk-suggest-progress span.is-done,
.rk-suggest-progress span.is-current {
    background: linear-gradient(90deg, #0f766e, #14b8a6);
}

.rk-suggest-progress span.is-current {
    background: linear-gradient(90deg, #ef7f1a, #fbbf24);
}

.rk-suggest-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.rk-suggest-step,
.rk-suggest-secure {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.34rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}

.rk-suggest-step {
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    box-shadow: 0 8px 16px rgba(15, 118, 110, 0.22);
}

.rk-suggest-secure {
    color: var(--rk-s-muted);
    border: 1px solid var(--rk-s-line);
    background: var(--rk-s-soft);
}

.rk-suggest-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.rk-suggest-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--rk-s-line);
    padding: 0.2rem;
}

.rk-suggest-logo-fallback {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-family: Sora, "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    background: linear-gradient(145deg, #14b8a6 0%, #0f766e 70%);
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.22);
    flex-shrink: 0;
}

.rk-suggest-head-copy {
    min-width: 0;
    flex: 1;
}

.rk-suggest-kicker {
    margin: 0;
    color: #0f766e;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.68rem;
    text-transform: uppercase;
}

.rk-suggest-title {
    font-family: Sora, "Plus Jakarta Sans", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--rk-s-ink);
    margin: 0.12rem 0 0;
    line-height: 1.15;
}

.rk-suggest-desc {
    color: var(--rk-s-muted);
    font-size: 0.76rem;
    line-height: 1.4;
    margin: 0.28rem 0 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rk-suggest-lead-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border: 1px solid rgba(239, 127, 26, 0.25);
    margin-bottom: 0.85rem;
    text-align: center;
}

.rk-suggest-lead {
    color: #4b382a;
    font-size: 0.82rem;
    line-height: 1.4;
}

.rk-suggest-lead strong {
    color: #e66a00;
    font-weight: 800;
}

.rk-suggest-alert {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
    margin-bottom: 0.7rem;
}

.rk-suggest-empty {
    padding: 1rem;
    border-radius: 14px;
    background: var(--rk-s-soft);
    border: 1px dashed var(--rk-s-line);
    color: var(--rk-s-muted);
    font-size: 0.84rem;
    text-align: center;
}

.rk-suggest-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.55rem;
}

.rk-suggest-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 650;
    color: var(--rk-s-muted);
    background: var(--rk-s-soft);
    border: 1px solid var(--rk-s-line);
}

.rk-suggest-meta-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: #94a3b8;
    flex-shrink: 0;
}

.rk-suggest-meta-dot-live {
    background: #ef7f1a;
    box-shadow: 0 0 0 0 rgba(239, 127, 26, 0.45);
    animation: rkSuggestPulse 1.8s ease-out infinite;
}

@keyframes rkSuggestPulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 127, 26, 0.45); }
    70% { box-shadow: 0 0 0 6px rgba(239, 127, 26, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 127, 26, 0); }
}

.rk-suggest-meta-pill strong {
    color: var(--rk-s-ink);
    font-weight: 800;
}

.rk-suggest-meta-timer {
    color: #9a3412;
    border-color: #fed7aa;
    background: #fff7ed;
}

.rk-suggest-panel {
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(248, 250, 252, 0.7);
    padding: 0.35rem;
    margin-bottom: 0.6rem;
}

.rk-suggest-scroll {
    display: grid;
    gap: 0.6rem;
    padding: 0.1rem 0.15rem 0.1rem 0.05rem;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.rk-suggest-scroll.is-shuffling {
    opacity: 0.4;
    transform: translateY(2px);
}

.rk-suggest-scroll::-webkit-scrollbar {
    width: 4px;
}

.rk-suggest-scroll::-webkit-scrollbar-thumb {
    background: rgba(239, 127, 26, 0.35);
    border-radius: 999px;
}

.rk-suggest-item {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.75rem;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    animation: rkSuggestItemIn 0.42s ease both;
    animation-delay: calc(var(--i, 0) * 40ms);
}

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

.rk-suggest-item:hover,
.rk-suggest-item:focus-within {
    border-color: rgba(239, 127, 26, 0.38);
    box-shadow: 0 10px 24px rgba(239, 127, 26, 0.09);
    transform: translateY(-1px);
}

.rk-suggest-form {
    display: grid;
    gap: 0.45rem;
}

.rk-suggest-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.rk-suggest-num {
    display: inline-grid;
    place-items: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ef7f1a, #f97316);
}

.rk-suggest-edit-hint {
    font-size: 0.64rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
}

.rk-suggest-text {
    width: 100%;
    min-height: 4.2rem;
    max-height: 6rem;
    resize: vertical;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: var(--rk-s-ink);
    font-size: 0.86rem;
    line-height: 1.45;
    padding: 0.6rem 0.75rem;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.rk-suggest-text:focus {
    outline: none;
    background: #fff;
    border-color: rgba(239, 127, 26, 0.5);
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.12);
}

.rk-suggest-actions {
    display: flex;
    justify-content: flex-end;
}

.rk-suggest-use {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: auto;
    min-width: 8.5rem;
    border: 0;
    border-radius: 999px;
    padding: 0.58rem 1.1rem;
    font-size: 0.84rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ef7f1a 0%, #f59e0b 55%, #e66a00 100%);
    box-shadow: 0 8px 18px rgba(239, 127, 26, 0.28);
    transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.rk-suggest-use svg {
    transition: transform 0.16s ease;
}

.rk-suggest-use:hover,
.rk-suggest-use:focus {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(239, 127, 26, 0.34);
    color: #fff;
}

.rk-suggest-use:hover svg,
.rk-suggest-use:focus svg {
    transform: translateX(2px);
}

.rk-suggest-foot-box {
    padding: 0.5rem 0.7rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(239, 127, 26, 0.2);
}

.rk-suggest-foot {
    font-size: 0.74rem;
    color: var(--rk-s-muted);
    line-height: 1.4;
}

.rk-suggest-foot-warn {
    color: #b45309;
}

.rk-suggest-change {
    margin-top: 0.7rem;
    text-align: center;
}

.rk-suggest-back {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #0f766e;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
}

.rk-suggest-back:hover {
    color: #0d9488;
}

.rk-draft-card {
    text-align: left;
    border: 1px solid #292524;
    border-radius: 16px;
    padding: 1rem 0.9rem 0.9rem;
    margin-bottom: 0.9rem;
    background: #101010;
}

.rk-draft-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: #fff;
}

.rk-draft-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 0.75rem;
}

.rk-draft-actions-single {
    grid-template-columns: 1fr;
}

.rk-draft-actions .rk-customer-btn {
    text-decoration: none;
}

.rk-btn-secondary {
    background: #fff;
}

.rk-btn-ghost {
    background: transparent;
    color: #EF7F1A;
    border: 1px solid #EF7F1A;
}

.rk-btn-ghost:hover,
.rk-btn-ghost:focus {
    background: #EF7F1A;
    color: #0A0A0A;
}

@media (min-width: 992px) {
    .rk-biz-sidebar {
        display: block;
        position: sticky;
        top: 0;
        align-self: flex-start;
        height: 100vh;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .rk-biz-content {
        padding: 1.75rem 2rem 3rem;
    }
}

.rk-analytics-filters {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.rk-range-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rk-range-pill {
    border: 1px solid #e7e5e4;
    background: #fff;
    color: #0A0A0A;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.rk-range-pill.active,
.rk-range-pill:hover {
    background: #EF7F1A;
    border-color: #EF7F1A;
    color: #fff;
}

.rk-custom-range {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.rk-custom-range .form-control {
    max-width: 11rem;
}

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

.rk-biz-metric-yellow { --m-accent: #F4B400; --m-soft: #fef7e0; }
.rk-biz-metric-orange { --m-accent: #EF7F1A; --m-soft: #fff4eb; }
.rk-biz-metric-green { --m-accent: #34A853; --m-soft: #e6f4ea; }

.rk-biz-pill-warn {
    background: #fef3c7;
    color: #92400e;
}

.rk-biz-pill-info {
    background: #e0f2fe;
    color: #075985;
}

.rk-biz-pill-danger {
    background: #fee2e2;
    color: #b91c1c;
}

.rk-biz-url {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
    color: #57534e;
    background: #f5f5f4;
    border-radius: 0.45rem;
    padding: 0.28rem 0.45rem;
    vertical-align: middle;
}

.rk-biz-qr-table .rk-qr-thumb {
    border-radius: 0.65rem;
    border: 1px solid #e7e5e4;
    background: #fff;
}

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

.rk-biz-sub-card {
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 1.15rem;
    padding: 1.2rem 1.15rem;
    box-shadow: 0 10px 28px rgba(28, 25, 23, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.rk-biz-sub-card-current {
    border-color: #fdba74;
    background: linear-gradient(180deg, #fff7ed 0%, #fff 48%);
}

.rk-biz-sub-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.rk-biz-sub-plan-name {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0A0A0A;
}

.rk-biz-sub-plan-name-sm {
    font-size: 1.15rem;
}

.rk-biz-sub-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.rk-biz-sub-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 0.85rem;
    margin: 0.35rem 0 0;
}

.rk-biz-sub-meta dt {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-biz-sub-meta dd {
    margin: 0.15rem 0 0;
    font-size: 0.88rem;
    font-weight: 650;
    color: #44403c;
}

.rk-biz-panel-head-plain {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.rk-biz-compare-table th:first-child,
.rk-biz-compare-table td:first-child {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 1;
}

.rk-biz-filter-bar.rk-analytics-filters {
    flex-direction: column;
    align-items: stretch;
}

.rk-biz-filter-bar .rk-range-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rk-biz-filter-bar .rk-custom-range {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

@media (max-width: 1199.98px) {
    .rk-biz-sub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .rk-biz-sub-grid {
        grid-template-columns: 1fr;
    }

    .rk-biz-url {
        max-width: 140px;
    }
}

.rk-biz-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 1.15rem;
    padding: 1rem 1.15rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 28px rgba(28, 25, 23, 0.045);
}

.rk-biz-filter-field {
    min-width: 160px;
}

.rk-biz-filter-grow {
    flex: 1 1 240px;
    min-width: 220px;
}

.rk-biz-filter-field .form-label {
    font-size: 0.78rem;
    font-weight: 750;
    color: #78716c;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.rk-biz-filter-field .form-control,
.rk-biz-filter-field .form-select {
    border-radius: 0.75rem;
    border-color: #e7e5e4;
}

.rk-biz-filter-input {
    position: relative;
}

.rk-biz-filter-input i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a8a29e;
    pointer-events: none;
}

.rk-biz-filter-input .form-control {
    padding-left: 2.35rem;
}

.rk-biz-filter-actions {
    display: flex;
    gap: 0.5rem;
    padding-bottom: 1px;
}

.rk-biz-panel-table {
    padding-bottom: 0.35rem;
}

.rk-biz-library-table th:nth-child(2),
.rk-biz-library-table td:nth-child(2) {
    min-width: 280px;
    max-width: 420px;
}

.rk-biz-star-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
    background: #fff4eb;
    color: #EF7F1A;
}

.rk-biz-star-3 { background: #fef7e0; color: #a16207; }
.rk-biz-star-4 { background: #fff4eb; color: #c2410c; }
.rk-biz-star-5 { background: #e6f4ea; color: #137333; }

.rk-biz-review-text {
    font-size: 0.92rem;
    color: #1c1917;
    line-height: 1.45;
    font-weight: 560;
}

.rk-biz-review-meta {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    color: #a8a29e;
}

.rk-biz-origin {
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: capitalize;
    color: #57534e;
    background: #f5f5f4;
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
}

.rk-biz-row-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
}

.rk-biz-row-actions form {
    display: inline;
}

@media (max-width: 991.98px) {
    .rk-biz-metric-grid-3 {
        grid-template-columns: 1fr;
    }
}

.rk-metric-card .rk-biz-card-value {
    font-size: 1.7rem;
}

.rk-funnel-panel,
.rk-rating-panel {
    height: auto;
}

.rk-funnel {
    display: grid;
    gap: 0;
}

.rk-funnel-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f3f1ef;
}

.rk-funnel-step:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.rk-funnel-step:first-child {
    padding-top: 0;
}

.rk-funnel-step.is-zero {
    opacity: 0.55;
}

.rk-funnel-icon {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff4eb;
    color: #EF7F1A;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.rk-funnel-label-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.55rem;
    margin-bottom: 0.28rem;
}

.rk-funnel-label {
    font-weight: 750;
    color: #0A0A0A;
    font-size: 0.86rem;
    line-height: 1.2;
}

.rk-funnel-note {
    font-size: 0.7rem;
    color: #a8a29e;
    line-height: 1.2;
}

.rk-funnel-track {
    height: 5px;
    background: #f5f5f4;
    border-radius: 999px;
    overflow: hidden;
}

.rk-funnel-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #EF7F1A, #fbbf24);
}

.rk-funnel-stats {
    display: grid;
    justify-items: end;
    gap: 0.05rem;
    min-width: 3.2rem;
}

.rk-funnel-count {
    font-weight: 800;
    font-size: 0.98rem;
    color: #0A0A0A;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.rk-funnel-pct {
    color: #EF7F1A;
    font-weight: 750;
    font-size: 0.72rem;
    line-height: 1.1;
}

.rk-rating-avg {
    display: grid;
    justify-items: end;
    line-height: 1;
    flex-shrink: 0;
}

.rk-rating-avg-value {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0A0A0A;
    letter-spacing: -0.03em;
}

.rk-rating-avg-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #EF7F1A;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.2rem;
}

.rk-rating-bars {
    display: grid;
    gap: 0.55rem;
}

.rk-rating-row {
    display: grid;
    grid-template-columns: 3.2rem minmax(0, 1fr) 2rem 3.2rem;
    gap: 0.55rem;
    align-items: center;
}

.rk-rating-track {
    height: 10px;
    background: #f4f1ee;
    border-radius: 999px;
    overflow: hidden;
}

.rk-rating-fill {
    height: 100%;
    border-radius: 999px;
    background: #EF7F1A;
    transition: width 0.35s ease;
}

.rk-rating-row-5 .rk-rating-fill { background: #34A853; }
.rk-rating-row-4 .rk-rating-fill { background: #F4B400; }
.rk-rating-row-3 .rk-rating-fill { background: #EF7F1A; }
.rk-rating-row-2 .rk-rating-fill { background: #FB8C00; }
.rk-rating-row-1 .rk-rating-fill { background: #EA4335; }

.rk-rating-count,
.rk-rating-pct {
    font-size: 0.84rem;
    text-align: right;
    font-weight: 700;
    color: #57534e;
}

.rk-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    font-size: 0.82rem;
    font-weight: 650;
    color: #57534e;
}

.rk-dot {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 2px;
    margin-right: 0.3rem;
    vertical-align: middle;
}

.rk-dot-scans { background: #0A0A0A; }
.rk-dot-sessions { background: #EF7F1A; }
.rk-dot-ratings { background: #f5c518; }
.rk-dot-feedback { background: #16a34a; }
.rk-dot-ai { background: #2563eb; }
.rk-dot-copies { background: #7c3aed; }

.rk-daily-panel {
    padding-bottom: 0.85rem;
}

.rk-daily-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.55rem 1rem;
    margin-bottom: 0.75rem;
}

.rk-chart-legend-inline {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.55rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 650;
    color: #78716c;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 0.1rem;
    scrollbar-width: none;
}

.rk-chart-legend-inline::-webkit-scrollbar {
    display: none;
}

.rk-daily-wrap {
    display: grid;
    grid-template-columns: 1.8rem minmax(0, 1fr);
    gap: 0.45rem;
    align-items: stretch;
}

.rk-daily-yaxis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0.15rem 0 1.35rem;
    font-size: 0.65rem;
    font-weight: 750;
    color: #a8a29e;
    line-height: 1;
}

.rk-daily-chart {
    position: relative;
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding: 0.2rem 0.2rem 0.35rem;
    align-items: flex-end;
    min-height: 0;
    height: calc(72px + 1.45rem);
    border-left: 1px solid #ebe7e4;
    border-bottom: 1px solid #ebe7e4;
    background: transparent;
    border-radius: 0;
    scrollbar-width: thin;
    scrollbar-color: #d6d3d1 transparent;
}

.rk-daily-grid {
    position: absolute;
    inset: 0.2rem 0 1.35rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    z-index: 0;
}

.rk-daily-grid span {
    display: block;
    width: 100%;
    border-top: 1px dashed #eceae8;
}

.rk-daily-col {
    position: relative;
    z-index: 1;
    min-width: 2.1rem;
    width: 2.1rem;
    text-align: center;
    flex: 0 0 auto;
    cursor: default;
}

.rk-daily-col.has-data {
    cursor: pointer;
}

.rk-daily-col:hover .rk-daily-tooltip,
.rk-daily-col:focus-within .rk-daily-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -8px);
}

.rk-daily-col.has-data:hover .rk-daily-stack {
    filter: brightness(1.05);
    box-shadow: 0 6px 14px rgba(28, 25, 23, 0.12);
}

.rk-daily-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translate(-50%, 0);
    z-index: 8;
    min-width: 148px;
    padding: 0.6rem 0.7rem;
    border-radius: 0.8rem;
    background: #0A0A0A;
    color: #fff;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    display: grid;
    gap: 0.28rem;
    text-align: left;
}

.rk-daily-tooltip strong {
    font-size: 0.8rem;
    margin-bottom: 0.1rem;
}

.rk-daily-tooltip span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    color: #d6d3d1;
}

.rk-daily-tooltip-muted {
    color: #a8a29e !important;
}

.rk-daily-tooltip-total {
    margin-top: 0.15rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff !important;
    font-weight: 700;
}

.rk-daily-stack-area {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
}

.rk-daily-stack {
    width: 14px;
    display: flex;
    flex-direction: column-reverse;
    border-radius: 5px 5px 2px 2px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(28, 25, 23, 0.08);
    transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.rk-daily-seg {
    width: 100%;
    min-height: 0;
}

.rk-daily-label {
    font-size: 0.62rem;
    font-weight: 650;
    color: #a8a29e;
    margin-top: 0.3rem;
    white-space: nowrap;
}

.rk-daily-col.has-data .rk-daily-label {
    color: #292524;
    font-weight: 750;
}

@media (min-width: 768px) {
    .rk-daily-col {
        min-width: 2.35rem;
        width: 2.35rem;
    }

    .rk-daily-stack {
        width: 16px;
    }
}

@media (max-width: 767.98px) {
    .rk-daily-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

.rk-biz-perf-table thead a {
    color: #78716c;
    text-decoration: none;
}

.rk-biz-perf-table thead a:hover {
    color: #EF7F1A;
}

.rk-biz-conv {
    display: inline-flex;
    font-weight: 750;
    font-size: 0.86rem;
    color: #57534e;
    background: #f5f5f4;
    border-radius: 999px;
    padding: 0.28rem 0.55rem;
}

.rk-biz-conv.is-good {
    background: #e6f4ea;
    color: #137333;
}

.rk-biz-activity-time {
    font-size: 0.82rem;
    color: #a8a29e;
    white-space: nowrap;
}

.rk-biz-event {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 650;
    color: #292524;
}

.rk-biz-event i {
    color: #EF7F1A;
}

.rk-biz-star-1 { background: #fce8e6; color: #b91c1c; }
.rk-biz-star-2 { background: #ffedd5; color: #c2410c; }

.rk-price-card-current {
    border-color: #EF7F1A;
    box-shadow: 0 0 0 2px rgba(239, 127, 26, 0.2);
}

.rk-price-current {
    display: inline-block;
    background: #EF7F1A;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.5rem;
}

.rk-sub-current {
    border-top: 4px solid #EF7F1A;
}

/* �� Library usage meters �� */
.rk-lib-usage {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.15rem;
}

.rk-lib-usage-card {
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 1.15rem;
    padding: 1rem 1.1rem 1.05rem;
    box-shadow: 0 10px 24px rgba(28, 25, 23, 0.04);
    position: relative;
    overflow: hidden;
}

.rk-lib-usage-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
}

.rk-lib-usage-qr::before { background: #EF7F1A; }
.rk-lib-usage-ai::before { background: #4285F4; }
.rk-lib-usage-lib::before { background: #34A853; }

.rk-lib-usage-top {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.45rem;
}

.rk-lib-usage-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #f5f5f4;
    color: #57534e;
}

.rk-lib-usage-qr .rk-lib-usage-icon { background: #fff7ed; color: #EF7F1A; }
.rk-lib-usage-ai .rk-lib-usage-icon { background: #e8f0fe; color: #4285F4; }
.rk-lib-usage-lib .rk-lib-usage-icon { background: #ecfdf5; color: #34A853; }

.rk-lib-usage-label {
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-lib-usage-value {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #1c1917;
    line-height: 1.15;
}

.rk-lib-usage-value span {
    font-size: 1rem;
    font-weight: 650;
    color: #a8a29e;
}

.rk-lib-usage-bar {
    height: 6px;
    border-radius: 999px;
    background: #f5f5f4;
    margin: 0.65rem 0 0.55rem;
    overflow: hidden;
}

.rk-lib-usage-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fbbf24, #EF7F1A);
    transition: width 0.45s ease;
}

.rk-lib-usage-ai .rk-lib-usage-bar span {
    background: linear-gradient(90deg, #60a5fa, #4285F4);
}

.rk-lib-usage-lib .rk-lib-usage-bar span {
    background: linear-gradient(90deg, #4ade80, #34A853);
    width: 100% !important;
    opacity: 0.35;
}

.rk-lib-usage-hint {
    font-size: 0.82rem;
    color: #78716c;
}

.rk-lib-usage-hint strong {
    color: #1c1917;
    font-weight: 750;
}

@media (max-width: 991.98px) {
    .rk-lib-usage { grid-template-columns: 1fr; }
}

/* Enhanced business profile */
.rk-prof {
    --p-ink: #1c1917;
    --p-muted: #78716c;
    --p-line: rgba(28, 25, 23, 0.08);
    --p-orange: #EF7F1A;
    --p-deep: #d96a0c;
    --p-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-prof::before {
    content: "";
    position: absolute;
    inset: -1.2rem -0.4rem auto;
    height: 200px;
    background:
        radial-gradient(ellipse 55% 80% at 8% 10%, rgba(239, 127, 26, 0.16), transparent 60%),
        radial-gradient(ellipse 45% 70% at 92% 0%, rgba(66, 133, 244, 0.1), transparent 55%);
    pointer-events: none;
    z-index: -1;
    animation: rk-prof-aurora 9s ease-in-out infinite alternate;
}

@keyframes rk-prof-aurora {
    from { opacity: 0.85; transform: translateY(0); }
    to { opacity: 1; transform: translateY(6px); }
}

.rk-prof-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.15rem;
    margin-bottom: 1.2rem;
    animation: rk-prof-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-prof-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--p-orange);
}

.rk-prof-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--p-ink);
}

.rk-prof-lead {
    margin: 0.4rem 0 0;
    color: var(--p-muted);
    max-width: 34rem;
    font-size: 0.96rem;
}

.rk-prof-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rk-prof-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.65rem 1.05rem;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-prof-btn-primary {
    background: linear-gradient(135deg, var(--p-orange), var(--p-deep));
    color: #fff;
    box-shadow: 0 10px 24px rgba(239, 127, 26, 0.28);
}

.rk-prof-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 28px rgba(239, 127, 26, 0.38);
}

.rk-prof-btn-ghost {
    background: rgba(255,255,255,0.75);
    border-color: var(--p-line);
    color: var(--p-ink);
    backdrop-filter: blur(8px);
}

.rk-prof-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--p-deep);
}

.rk-prof-banner {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1.1rem;
    padding: 0.95rem 1.05rem;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, #fff7ed, #fff);
    border: 1px solid rgba(239, 127, 26, 0.2);
    animation: rk-prof-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.08s);
}

.rk-prof-banner strong { display: block; color: var(--p-ink); font-weight: 800; }
.rk-prof-banner p { margin: 0.15rem 0 0; color: var(--p-muted); font-size: 0.9rem; }
.rk-prof-banner-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--p-orange);
    color: #fff;
    flex-shrink: 0;
}

.rk-prof-layout {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 1.1rem;
    align-items: start;
}

.rk-prof-layout-solo {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
    width: 100%;
}

.rk-prof-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem 1.25rem;
}

.rk-prof-form-row {
    min-width: 0;
}

.rk-prof-form-row-full {
    grid-column: 1 / -1;
}

.rk-prof-form-row label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.88rem;
    font-weight: 750;
    color: #44403c;
}

.rk-prof-form-row label em {
    color: #ef4444;
    font-style: normal;
}

.rk-prof-form-row label span {
    color: #a8a29e;
    font-weight: 600;
}

.rk-prof-card-form .rk-prof-card-body {
    padding: 1.5rem 1.75rem 0.35rem;
}

.rk-prof-card-form .rk-prof-input {
    min-height: 52px;
    padding: 0.2rem 1rem;
    border-radius: 1rem;
    background: #fafaf9;
}

.rk-prof-card-form .rk-prof-input:focus-within {
    background: #fff;
}

.rk-prof-card-form .rk-prof-input-area {
    min-height: 160px;
}

.rk-prof-card-form .rk-prof-input textarea {
    min-height: 148px;
}

.rk-prof-card-form .rk-prof-footer {
    padding: 1.25rem 1.75rem 1.45rem;
}

.rk-prof-aside,
.rk-prof-card {
    animation: rk-prof-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.08s);
}

@keyframes rk-prof-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.rk-prof-preview,
.rk-prof-checklist,
.rk-prof-card {
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--p-line);
    border-radius: 1.4rem;
    box-shadow: 0 16px 36px rgba(28, 25, 23, 0.05);
}

.rk-prof-preview {
    position: relative;
    overflow: hidden;
    padding: 1.2rem 1.15rem 1.25rem;
    text-align: center;
    margin-bottom: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-prof-preview:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(28, 25, 23, 0.08);
}

.rk-prof-preview-glow {
    position: absolute;
    inset: -30% -20% auto;
    height: 55%;
    background: radial-gradient(circle at 50% 80%, rgba(239, 127, 26, 0.2), transparent 65%);
    pointer-events: none;
}

.rk-prof-aside-label {
    margin: 0 0 0.75rem;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a8a29e;
    position: relative;
}

.rk-prof-logo-stage {
    position: relative;
    min-height: 140px;
    border-radius: 1.15rem;
    border: 1px dashed rgba(239, 127, 26, 0.35);
    background: linear-gradient(165deg, #fff, #fafaf9);
    display: grid;
    place-items: center;
    padding: 1rem;
    margin-bottom: 0.85rem;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.rk-prof-logo-stage.has-logo {
    border-style: solid;
    border-color: var(--p-line);
}

.rk-prof-logo-img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.rk-prof-logo-empty {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    color: var(--p-muted);
    font-size: 0.88rem;
    font-weight: 650;
}

.rk-prof-logo-empty i { font-size: 1.6rem; color: var(--p-orange); }

.rk-prof-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    background: var(--p-soft);
    border: 1px solid rgba(239, 127, 26, 0.22);
    color: var(--p-deep);
    font-weight: 750;
    font-size: 0.88rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.rk-prof-upload:hover {
    transform: translateY(-1px);
    background: #ffedd5;
    box-shadow: 0 8px 18px rgba(239, 127, 26, 0.15);
}

.rk-prof-hint {
    margin: 0.55rem 0 0;
    font-size: 0.8rem;
    color: var(--p-muted);
    line-height: 1.4;
}

.rk-prof-aside {
    display: grid;
    gap: 0.9rem;
}

.rk-prof-identity {
    position: relative;
    overflow: hidden;
    padding: 1.2rem 1.15rem 1.15rem;
    border-radius: 1.4rem;
    background: linear-gradient(160deg, #fff7ed 0%, #fff 55%);
    border: 1px solid var(--p-line);
    box-shadow: 0 16px 36px rgba(28, 25, 23, 0.05);
}

.rk-prof-identity-glow {
    position: absolute;
    inset: -35% -20% auto;
    height: 70%;
    background: radial-gradient(circle at 30% 60%, rgba(239, 127, 26, 0.22), transparent 60%);
    pointer-events: none;
}

.rk-prof-identity-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 0.9rem;
    border-radius: 18px;
    background: linear-gradient(145deg, #EF7F1A, #d96a0c);
    color: #fff;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    box-shadow: 0 12px 26px rgba(239, 127, 26, 0.28);
}

.rk-prof-identity-copy {
    position: relative;
    margin-bottom: 1rem;
}

.rk-prof-identity-copy strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--p-ink);
    line-height: 1.25;
    margin-bottom: 0.2rem;
}

.rk-prof-identity-copy span {
    font-size: 0.84rem;
    font-weight: 650;
    color: var(--p-muted);
}

.rk-prof-progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.45rem;
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-prof-progress-top strong {
    color: var(--p-deep);
    font-size: 0.82rem;
    letter-spacing: 0;
    text-transform: none;
}

.rk-prof-progress-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(28, 25, 23, 0.06);
    overflow: hidden;
}

.rk-prof-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #EF7F1A, #34A853);
    transition: width 0.35s ease;
}

.rk-prof-checklist {
    padding: 1.05rem 1.1rem 1.15rem;
    transition: transform 0.3s ease;
}

.rk-prof-checklist:hover { transform: translateY(-2px); }

.rk-prof-checklist ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.rk-prof-checklist li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.9rem;
    font-weight: 650;
    color: #a8a29e;
    padding: 0.45rem 0.55rem;
    border-radius: 0.75rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.rk-prof-checklist li.is-done {
    color: #44403c;
    background: #f0fdf4;
}

.rk-prof-checklist i { color: #d6d3d1; font-size: 1rem; }
.rk-prof-checklist li.is-done i { color: #10b981; }

.rk-prof-tip {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    padding: 0.95rem 1rem;
    border-radius: 1.2rem;
    background: #fff;
    border: 1px solid var(--p-line);
    box-shadow: 0 10px 24px rgba(28, 25, 23, 0.04);
}

.rk-prof-tip-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #fff7ed;
    color: var(--p-orange);
    flex-shrink: 0;
}

.rk-prof-tip strong {
    display: block;
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--p-ink);
    margin-bottom: 0.15rem;
}

.rk-prof-tip p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--p-muted);
}

.rk-prof-sections {
    display: grid;
    gap: 1.15rem;
}

.rk-prof-card {
    width: 100%;
    padding: 0;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.rk-prof-card:hover {
    transform: none;
    box-shadow: 0 20px 44px rgba(28, 25, 23, 0.07);
}

.rk-prof-card-head {
    display: flex;
    gap: 0.95rem;
    align-items: center;
    margin: 0;
    padding: 1.35rem 1.5rem 1.25rem;
    background: linear-gradient(135deg, #fff7ed 0%, #fff 62%);
    border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

.rk-prof-card-body {
    padding: 1.35rem 1.5rem 0.5rem;
}

.rk-prof-card-head h2 {
    margin: 0;
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--p-ink);
}

.rk-prof-card-head p {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
    color: var(--p-muted);
}

.rk-prof-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #EF7F1A, #d96a0c);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 10px 22px rgba(239, 127, 26, 0.28);
    flex-shrink: 0;
}

.rk-prof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.95rem 1rem;
}

.rk-prof-field-full { grid-column: 1 / -1; }

.rk-prof-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.82rem;
    font-weight: 750;
    color: #44403c;
}

.rk-prof-field label em {
    color: #ef4444;
    font-style: normal;
}

.rk-prof-field label span {
    color: #a8a29e;
    font-weight: 600;
}

.rk-prof-input {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.15rem 0.85rem;
    min-height: 48px;
    border-radius: 0.95rem;
    border: 1px solid var(--p-line);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rk-prof-input:focus-within {
    border-color: rgba(239, 127, 26, 0.55);
    box-shadow: 0 0 0 4px rgba(239, 127, 26, 0.12);
    transform: translateY(-1px);
}

.rk-prof-input i {
    color: #a8a29e;
    flex-shrink: 0;
}

.rk-prof-input:focus-within i { color: var(--p-orange); }

.rk-prof-input input,
.rk-prof-input textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--p-ink);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.7rem 0;
}

.rk-prof-input-area {
    align-items: flex-start;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.rk-prof-input textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.rk-prof-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin: 0;
    padding: 1.2rem 1.5rem 1.35rem;
    border-top: 1px solid var(--p-line);
    background: #fafaf9;
}

.rk-prof-footer p {
    margin: 0;
    color: var(--p-muted);
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .rk-prof-layout { grid-template-columns: 1fr; }
    .rk-prof-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
    .rk-prof-grid,
    .rk-prof-form { grid-template-columns: 1fr; }
    .rk-prof-top-actions { width: 100%; }
    .rk-prof-top-actions .rk-prof-btn { flex: 1; }
    .rk-prof-footer { flex-direction: column; align-items: stretch; }
    .rk-prof-card-head,
    .rk-prof-card-body,
    .rk-prof-card-form .rk-prof-card-body,
    .rk-prof-footer,
    .rk-prof-card-form .rk-prof-footer { padding-left: 1.1rem; padding-right: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-prof::before,
    .rk-prof-top,
    .rk-prof-banner,
    .rk-prof-aside,
    .rk-prof-card { animation: none !important; }
    .rk-prof-preview:hover,
    .rk-prof-card:hover,
    .rk-prof-btn:hover { transform: none; }
}

/* Enhanced business library */
.rk-libx {
    --lx-ink: #1c1917;
    --lx-muted: #78716c;
    --lx-line: rgba(28, 25, 23, 0.08);
    --lx-orange: #EF7F1A;
    --lx-deep: #d96a0c;
    --lx-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-libx::before {
    content: "";
    position: absolute;
    inset: -1.2rem -0.4rem auto;
    height: 220px;
    background:
        radial-gradient(ellipse 50% 80% at 12% 0%, rgba(239, 127, 26, 0.15), transparent 60%),
        radial-gradient(ellipse 40% 70% at 88% 10%, rgba(66, 133, 244, 0.1), transparent 55%),
        radial-gradient(ellipse 35% 60% at 55% 40%, rgba(52, 168, 83, 0.06), transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: rk-libx-aurora 10s ease-in-out infinite alternate;
}

@keyframes rk-libx-aurora {
    from { opacity: 0.8; transform: translateY(0) scale(1); }
    to { opacity: 1; transform: translateY(8px) scale(1.02); }
}

@keyframes rk-libx-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

.rk-libx-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.15rem;
    margin-bottom: 1.25rem;
    animation: rk-libx-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-libx-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lx-orange);
}

.rk-libx-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--lx-ink);
}

.rk-libx-lead {
    margin: 0.4rem 0 0;
    color: var(--lx-muted);
    max-width: 36rem;
    font-size: 0.96rem;
}

.rk-libx-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rk-libx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-libx-btn-primary {
    background: linear-gradient(135deg, var(--lx-orange), var(--lx-deep));
    color: #fff;
    box-shadow: 0 10px 22px rgba(239, 127, 26, 0.28);
}

.rk-libx-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 28px rgba(239, 127, 26, 0.38);
}

.rk-libx-btn-ghost {
    background: rgba(255,255,255,0.8);
    border-color: var(--lx-line);
    color: var(--lx-ink);
    backdrop-filter: blur(8px);
}

.rk-libx-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--lx-deep);
}

.rk-libx-btn-soft {
    background: var(--lx-soft);
    border-color: rgba(239, 127, 26, 0.18);
    color: var(--lx-deep);
}

.rk-libx-btn-soft:hover {
    transform: translateY(-2px);
    background: #ffedd5;
    color: var(--lx-deep);
}

.rk-libx-btn-danger {
    background: #fff;
    border-color: rgba(239, 68, 68, 0.25);
    color: #dc2626;
    padding-inline: 0.7rem;
}

.rk-libx-btn-danger:hover {
    transform: translateY(-2px);
    background: #fef2f2;
    border-color: rgba(239, 68, 68, 0.45);
}

.rk-libx-meters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
    margin-bottom: 1.15rem;
}

.rk-libx-meter {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--lx-line);
    border-radius: 1.35rem;
    padding: 1.1rem 1.15rem 1.1rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.05);
    animation: rk-libx-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.07s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-libx-meter:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(28, 25, 23, 0.08);
}

.rk-libx-meter-glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 70%;
    pointer-events: none;
    opacity: 0.7;
}

.rk-libx-meter-qr .rk-libx-meter-glow {
    background: radial-gradient(circle at 40% 80%, rgba(239, 127, 26, 0.22), transparent 65%);
}
.rk-libx-meter-ai .rk-libx-meter-glow {
    background: radial-gradient(circle at 40% 80%, rgba(66, 133, 244, 0.2), transparent 65%);
}
.rk-libx-meter-lib .rk-libx-meter-glow {
    background: radial-gradient(circle at 40% 80%, rgba(52, 168, 83, 0.18), transparent 65%);
}

.rk-libx-meter-top {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.rk-libx-meter-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 1rem;
}

.rk-libx-meter-qr .rk-libx-meter-icon { background: #fff7ed; color: #EF7F1A; }
.rk-libx-meter-ai .rk-libx-meter-icon { background: #e8f0fe; color: #4285F4; }
.rk-libx-meter-lib .rk-libx-meter-icon { background: #ecfdf5; color: #34A853; }

.rk-libx-meter-label {
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-libx-meter-value {
    position: relative;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--lx-ink);
    line-height: 1.1;
}

.rk-libx-meter-value span {
    font-size: 1rem;
    font-weight: 650;
    color: #a8a29e;
}

.rk-libx-meter-bar {
    height: 7px;
    border-radius: 999px;
    background: #f5f5f4;
    margin: 0.75rem 0 0.55rem;
    overflow: hidden;
    position: relative;
}

.rk-libx-meter-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.rk-libx-meter-qr .rk-libx-meter-bar span {
    background: linear-gradient(90deg, #fbbf24, #EF7F1A);
}
.rk-libx-meter-ai .rk-libx-meter-bar span {
    background: linear-gradient(90deg, #60a5fa, #4285F4);
}
.rk-libx-meter-lib .rk-libx-meter-bar span,
.rk-libx-meter-bar-soft span {
    background: linear-gradient(90deg, #4ade80, #34A853);
    opacity: 0.4;
}

.rk-libx-meter-hint {
    margin: 0;
    position: relative;
    font-size: 0.82rem;
    color: var(--lx-muted);
}

.rk-libx-meter-hint strong {
    color: var(--lx-ink);
    font-weight: 750;
}

.rk-libx-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1.2rem;
    padding: 1rem 1.1rem;
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--lx-line);
    border-radius: 1.35rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.04);
    animation: rk-libx-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.07s);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.rk-libx-filters:hover {
    box-shadow: 0 18px 36px rgba(28, 25, 23, 0.07);
}

.rk-libx-filter-field {
    min-width: 140px;
}

.rk-libx-filter-grow {
    flex: 1 1 220px;
    min-width: 200px;
}

.rk-libx-filter-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-libx-filter-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0 0.85rem;
    border-radius: 0.95rem;
    border: 1px solid var(--lx-line);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rk-libx-filter-input:focus-within {
    border-color: rgba(239, 127, 26, 0.55);
    box-shadow: 0 0 0 4px rgba(239, 127, 26, 0.12);
    transform: translateY(-1px);
}

.rk-libx-filter-input i { color: #a8a29e; flex-shrink: 0; }
.rk-libx-filter-input:focus-within i { color: var(--lx-orange); }

.rk-libx-filter-input input,
.rk-libx-filter-input select {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--lx-ink);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.65rem 0;
}

.rk-libx-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding-bottom: 1px;
}

.rk-libx-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: rgba(255,255,255,0.94);
    border: 1px dashed rgba(239, 127, 26, 0.3);
    border-radius: 1.5rem;
    animation: rk-libx-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.07s);
}

.rk-libx-empty-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    background: var(--lx-soft);
    color: var(--lx-orange);
    font-size: 1.7rem;
}

.rk-libx-empty h2 {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--lx-ink);
}

.rk-libx-empty p {
    margin: 0 auto;
    max-width: 28rem;
    color: var(--lx-muted);
    font-size: 0.95rem;
}

.rk-libx-list {
    animation: rk-libx-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.07s);
}

.rk-libx-list-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.rk-libx-list-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--lx-ink);
}

.rk-libx-list-head p {
    margin: 0.2rem 0 0;
    font-size: 0.84rem;
    color: var(--lx-muted);
}

.rk-libx-table-wrap {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--lx-line);
    border-radius: 1.35rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
}

.rk-libx-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    margin: 0;
}

.rk-libx-table thead th {
    padding: 0.8rem 1rem;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a29e;
    background: #fafaf9;
    border-bottom: 1px solid var(--lx-line);
    white-space: nowrap;
}

.rk-libx-table tbody td {
    padding: 0.95rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

.rk-libx-table tbody tr:last-child td {
    border-bottom: 0;
}

.rk-libx-table tbody tr {
    transition: background 0.2s ease;
}

.rk-libx-table tbody tr:hover {
    background: #fffaf5;
}

.rk-libx-table-text {
    margin: 0;
    max-width: 28rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--lx-ink);
    line-height: 1.45;
}

.rk-libx-table-meta {
    font-size: 0.82rem;
    font-weight: 650;
    color: var(--lx-muted);
    text-transform: capitalize;
    white-space: nowrap;
}

.rk-libx-table-actions-col {
    width: 1%;
    white-space: nowrap;
}

.rk-libx-table-actions {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
    justify-content: flex-end;
}

.rk-libx-table-actions form {
    display: inline;
    margin: 0;
}

.rk-libx-btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
}

.rk-libx-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
}

.rk-libx-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.15rem 1.2rem 1.15rem;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--lx-line);
    border-radius: 1.35rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
    animation: rk-libx-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.28s + var(--d, 0) * 0.05s);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.rk-libx-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 127, 26, 0.22);
    box-shadow: 0 22px 44px rgba(28, 25, 23, 0.09);
}

.rk-libx-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.rk-libx-stars {
    display: inline-flex;
    gap: 0.12rem;
    font-size: 0.95rem;
    color: #d6d3d1;
}

.rk-libx-stars-3 .bi-star-fill { color: #f59e0b; }
.rk-libx-stars-4 .bi-star-fill { color: #f97316; }
.rk-libx-stars-5 .bi-star-fill { color: #EF7F1A; }

.rk-libx-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.rk-libx-pill-success { background: #ecfdf5; color: #047857; }
.rk-libx-pill-info { background: #e8f0fe; color: #1d4ed8; }
.rk-libx-pill-muted { background: #f5f5f4; color: #78716c; }
.rk-libx-pill-warn { background: #fff7ed; color: #c2410c; }

.rk-libx-card-text {
    margin: 0;
    flex: 1;
    color: #44403c;
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 550;
}

.rk-libx-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 650;
    color: #a8a29e;
}

.rk-libx-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.rk-libx-card-meta i { font-size: 0.85rem; }

.rk-libx-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-top: 0.15rem;
    border-top: 1px solid var(--lx-line);
    padding-top: 0.85rem;
}

.rk-libx-card-actions form { display: inline; margin: 0; }

.rk-libx-pager {
    margin-top: 1.15rem;
    display: flex;
    justify-content: center;
}

.rk-libx-pager .pagination { margin: 0; }

@media (max-width: 991.98px) {
    .rk-libx-meters { grid-template-columns: 1fr; }
    .rk-libx-top { flex-direction: column; align-items: flex-start; }
    .rk-libx-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    .rk-libx-filters { flex-direction: column; align-items: stretch; }
    .rk-libx-filter-actions { width: 100%; }
    .rk-libx-filter-actions .rk-libx-btn { flex: 1; }
    .rk-libx-card-actions .rk-libx-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-libx::before,
    .rk-libx-top,
    .rk-libx-meter,
    .rk-libx-filters,
    .rk-libx-empty,
    .rk-libx-list,
    .rk-libx-card { animation: none !important; }
    .rk-libx-meter:hover,
    .rk-libx-card:hover,
    .rk-libx-btn:hover { transform: none; }
}

/* Enhanced business analytics */
.rk-analx {
    --ax-ink: #1c1917;
    --ax-muted: #78716c;
    --ax-line: rgba(28, 25, 23, 0.08);
    --ax-orange: #EF7F1A;
    --ax-deep: #d96a0c;
    --ax-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-analx::before {
    content: "";
    position: absolute;
    inset: -1.2rem -0.4rem auto;
    height: 220px;
    background:
        radial-gradient(ellipse 50% 80% at 10% 0%, rgba(239, 127, 26, 0.14), transparent 60%),
        radial-gradient(ellipse 40% 70% at 90% 8%, rgba(66, 133, 244, 0.1), transparent 55%);
    pointer-events: none;
    z-index: -1;
    animation: rk-analx-aurora 10s ease-in-out infinite alternate;
}

@keyframes rk-analx-aurora {
    from { opacity: 0.85; transform: translateY(0); }
    to { opacity: 1; transform: translateY(8px); }
}

@keyframes rk-analx-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.rk-analx-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
    animation: rk-analx-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-analx-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ax-orange);
}

.rk-analx-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ax-ink);
}

.rk-analx-lead {
    margin: 0.35rem 0 0;
    color: var(--ax-muted);
    font-size: 0.95rem;
}

.rk-analx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-analx-btn-primary {
    background: linear-gradient(135deg, var(--ax-orange), var(--ax-deep));
    color: #fff;
    box-shadow: 0 10px 22px rgba(239, 127, 26, 0.28);
}

.rk-analx-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 28px rgba(239, 127, 26, 0.38);
}

.rk-analx-btn-ghost {
    background: rgba(255,255,255,0.8);
    border-color: var(--ax-line);
    color: var(--ax-ink);
}

.rk-analx-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--ax-deep);
}

.rk-analx-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.15rem;
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--ax-line);
    border-radius: 1.25rem;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.04);
    animation: rk-analx-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-analx-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.rk-analx-pill {
    border: 1px solid var(--ax-line);
    background: #fff;
    color: #57534e;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.rk-analx-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--ax-deep);
}

.rk-analx-pill.is-active {
    background: linear-gradient(135deg, var(--ax-orange), var(--ax-deep));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 18px rgba(239, 127, 26, 0.28);
}

.rk-analx-custom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.rk-analx-custom input[type="date"] {
    border: 1px solid var(--ax-line);
    border-radius: 0.75rem;
    padding: 0.45rem 0.65rem;
    font-weight: 600;
    color: var(--ax-ink);
    background: #fff;
}

.rk-analx-custom-sep {
    color: var(--ax-muted);
    font-size: 0.85rem;
    font-weight: 650;
}

.rk-analx-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: rgba(255,255,255,0.94);
    border: 1px dashed rgba(239, 127, 26, 0.3);
    border-radius: 1.5rem;
    animation: rk-analx-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-analx-empty-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    background: var(--ax-soft);
    color: var(--ax-orange);
    font-size: 1.7rem;
}

.rk-analx-empty h2 {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
    font-weight: 800;
}

.rk-analx-empty p {
    margin: 0 auto 1.1rem;
    max-width: 26rem;
    color: var(--ax-muted);
}

.rk-analx-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.rk-analx-kpi {
    position: relative;
    overflow: hidden;
    padding: 1rem 1.05rem;
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--ax-line);
    border-radius: 1.25rem;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.045);
    animation: rk-analx-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-analx-kpi:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(28, 25, 23, 0.08);
}

.rk-analx-kpi-glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 70%;
    pointer-events: none;
}

.rk-analx-kpi-qr .rk-analx-kpi-glow { background: radial-gradient(circle at 40% 80%, rgba(239, 127, 26, 0.2), transparent 65%); }
.rk-analx-kpi-sessions .rk-analx-kpi-glow { background: radial-gradient(circle at 40% 80%, rgba(66, 133, 244, 0.18), transparent 65%); }
.rk-analx-kpi-ratings .rk-analx-kpi-glow { background: radial-gradient(circle at 40% 80%, rgba(251, 191, 36, 0.22), transparent 65%); }
.rk-analx-kpi-copies .rk-analx-kpi-glow { background: radial-gradient(circle at 40% 80%, rgba(52, 168, 83, 0.18), transparent 65%); }
.rk-analx-kpi-google .rk-analx-kpi-glow { background: radial-gradient(circle at 40% 80%, rgba(234, 67, 53, 0.16), transparent 65%); }

.rk-analx-kpi-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    position: relative;
}

.rk-analx-kpi-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--ax-soft);
    color: var(--ax-orange);
    font-size: 0.95rem;
}

.rk-analx-kpi-sessions .rk-analx-kpi-icon { background: #e8f0fe; color: #4285F4; }
.rk-analx-kpi-ratings .rk-analx-kpi-icon { background: #fffbeb; color: #d97706; }
.rk-analx-kpi-copies .rk-analx-kpi-icon { background: #ecfdf5; color: #34A853; }
.rk-analx-kpi-google .rk-analx-kpi-icon { background: #fef2f2; color: #ea4335; }

.rk-analx-kpi-label {
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-analx-kpi-value {
    position: relative;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ax-ink);
}

.rk-analx-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.rk-analx-panel {
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--ax-line);
    border-radius: 1.35rem;
    padding: 1.15rem 1.2rem 1.2rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
    animation: rk-analx-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.05s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-analx-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(28, 25, 23, 0.07);
}

.rk-analx-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.rk-analx-panel-head h2 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--ax-ink);
}

.rk-analx-panel-head p {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    color: var(--ax-muted);
}

.rk-analx-avg {
    text-align: right;
    line-height: 1.1;
}

.rk-analx-avg strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--ax-orange);
}

.rk-analx-avg span {
    font-size: 0.72rem;
    font-weight: 700;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rk-analx-muted { color: var(--ax-muted); margin: 0; font-size: 0.92rem; }

.rk-analx-funnel {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.rk-analx-funnel-step {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 0.7rem;
    align-items: center;
}

.rk-analx-funnel-step.is-zero { opacity: 0.45; }

.rk-analx-funnel-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--ax-soft);
    color: var(--ax-orange);
}

.rk-analx-funnel-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #44403c;
    margin-bottom: 0.3rem;
}

.rk-analx-funnel-track {
    height: 7px;
    border-radius: 999px;
    background: #f5f5f4;
    overflow: hidden;
}

.rk-analx-funnel-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fbbf24, #EF7F1A);
    transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.rk-analx-funnel-stats {
    text-align: right;
    line-height: 1.15;
}

.rk-analx-funnel-stats strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ax-ink);
}

.rk-analx-funnel-stats span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #a8a29e;
}

.rk-analx-ratings {
    display: grid;
    gap: 0.7rem;
}

.rk-analx-rating-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px 48px;
    gap: 0.55rem;
    align-items: center;
}

.rk-analx-rating-label {
    font-weight: 800;
    font-size: 0.88rem;
    color: #44403c;
}

.rk-analx-rating-track {
    height: 9px;
    border-radius: 999px;
    background: #f5f5f4;
    overflow: hidden;
}

.rk-analx-rating-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.rk-analx-rating-5 .rk-analx-rating-track span { background: linear-gradient(90deg, #fbbf24, #EF7F1A); }
.rk-analx-rating-4 .rk-analx-rating-track span { background: linear-gradient(90deg, #fdba74, #f97316); }
.rk-analx-rating-3 .rk-analx-rating-track span { background: linear-gradient(90deg, #fde68a, #f59e0b); }
.rk-analx-rating-2 .rk-analx-rating-track span { background: linear-gradient(90deg, #fdba74, #ea580c); }
.rk-analx-rating-1 .rk-analx-rating-track span { background: linear-gradient(90deg, #fca5a5, #ef4444); }

.rk-analx-rating-count,
.rk-analx-rating-pct {
    font-size: 0.8rem;
    font-weight: 700;
    color: #78716c;
    text-align: right;
}

.rk-analx-daily { margin-bottom: 1.1rem; }

.rk-analx-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #78716c;
}

.rk-analx-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.rk-analx-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d6d3d1;
}

.rk-analx-dot-scans { background: #EF7F1A; }
.rk-analx-dot-sessions { background: #4285F4; }
.rk-analx-dot-ratings { background: #f59e0b; }
.rk-analx-dot-copies { background: #34A853; }

.rk-analx-daily-wrap {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.5rem;
}

.rk-analx-daily-yaxis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 700;
    color: #a8a29e;
    padding-bottom: 1.4rem;
}

.rk-analx-daily-chart {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scroll-behavior: smooth;
}

.rk-analx-daily-col {
    position: relative;
    flex: 0 0 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rk-analx-daily-area {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.rk-analx-daily-stack {
    width: 18px;
    border-radius: 6px 6px 3px 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
    transition: transform 0.2s ease;
}

.rk-analx-daily-col:hover .rk-analx-daily-stack {
    transform: translateY(-3px) scaleY(1.04);
}

.rk-analx-daily-seg {
    width: 100%;
    min-height: 3px;
}

.rk-analx-daily-seg.rk-analx-dot-scans { background: #EF7F1A; }
.rk-analx-daily-seg.rk-analx-dot-sessions { background: #4285F4; }
.rk-analx-daily-seg.rk-analx-dot-ratings { background: #f59e0b; }
.rk-analx-daily-seg.rk-analx-dot-copies { background: #34A853; }

.rk-analx-daily-label {
    margin-top: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: #a8a29e;
    white-space: nowrap;
}

.rk-analx-daily-tip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 140px;
    padding: 0.55rem 0.7rem;
    background: #1c1917;
    color: #fff;
    border-radius: 0.75rem;
    font-size: 0.72rem;
    font-weight: 650;
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.rk-analx-daily-tip strong { font-weight: 800; }
.rk-analx-daily-tip .rk-analx-muted { color: #a8a29e; }
.rk-analx-daily-col:hover .rk-analx-daily-tip {
    display: flex;
    transform: translateX(-50%) translateY(0);
}

.rk-analx-qr {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
    padding: 1.2rem 1.3rem;
    background: linear-gradient(135deg, #fff7ed, #fff);
    border: 1px solid rgba(239, 127, 26, 0.2);
    border-radius: 1.35rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.05);
    animation: rk-analx-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.05s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-analx-qr:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(28, 25, 23, 0.08);
}

.rk-analx-qr-glow {
    position: absolute;
    inset: -30% 40% auto -10%;
    height: 80%;
    background: radial-gradient(circle, rgba(239, 127, 26, 0.18), transparent 65%);
    pointer-events: none;
}

.rk-analx-qr-copy { position: relative; }
.rk-analx-qr-copy h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ax-ink);
}
.rk-analx-qr-copy p:last-child {
    margin: 0.25rem 0 0;
    color: var(--ax-muted);
    font-size: 0.85rem;
}

.rk-analx-qr-stats {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.rk-analx-qr-stats div {
    text-align: center;
    min-width: 64px;
}

.rk-analx-qr-stats strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ax-ink);
}

.rk-analx-qr-stats span {
    font-size: 0.72rem;
    font-weight: 700;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rk-analx-qr-conv { color: var(--ax-orange) !important; }

.rk-analx-recent { margin-bottom: 0.5rem; }

.rk-analx-feed {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.rk-analx-feed-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 0.7rem;
    align-items: center;
    padding: 0.7rem 0.75rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rk-analx-feed-item:hover {
    background: #fafaf9;
    border-color: var(--ax-line);
    transform: translateX(3px);
}

.rk-analx-feed-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--ax-soft);
    color: var(--ax-orange);
}

.rk-analx-feed-body strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 750;
    color: var(--ax-ink);
}

.rk-analx-feed-body span {
    font-size: 0.78rem;
    color: var(--ax-muted);
}

.rk-analx-feed-star {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--ax-orange);
}

@media (max-width: 1199.98px) {
    .rk-analx-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .rk-analx-split { grid-template-columns: 1fr; }
    .rk-analx-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
    .rk-analx-kpis { grid-template-columns: 1fr 1fr; }
    .rk-analx-qr-stats { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-analx::before,
    .rk-analx-top,
    .rk-analx-filters,
    .rk-analx-kpi,
    .rk-analx-panel,
    .rk-analx-qr,
    .rk-analx-empty { animation: none !important; }
    .rk-analx-kpi:hover,
    .rk-analx-panel:hover,
    .rk-analx-btn:hover,
    .rk-analx-feed-item:hover { transform: none; }
}

/* Enhanced business subscription */
.rk-subx {
    --sx-ink: #1c1917;
    --sx-muted: #78716c;
    --sx-line: rgba(28, 25, 23, 0.08);
    --sx-orange: #EF7F1A;
    --sx-deep: #d96a0c;
    --sx-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-subx::before {
    content: "";
    position: absolute;
    inset: -1.2rem -0.4rem auto;
    height: 220px;
    background:
        radial-gradient(ellipse 50% 80% at 8% 0%, rgba(239, 127, 26, 0.15), transparent 60%),
        radial-gradient(ellipse 40% 70% at 92% 10%, rgba(66, 133, 244, 0.1), transparent 55%);
    pointer-events: none;
    z-index: -1;
    animation: rk-subx-aurora 10s ease-in-out infinite alternate;
}

@keyframes rk-subx-aurora {
    from { opacity: 0.85; transform: translateY(0); }
    to { opacity: 1; transform: translateY(8px); }
}

@keyframes rk-subx-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.rk-subx-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    animation: rk-subx-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-subx-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sx-orange);
}

.rk-subx-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--sx-ink);
}

.rk-subx-lead {
    margin: 0.4rem 0 0;
    color: var(--sx-muted);
    max-width: 34rem;
    font-size: 0.96rem;
}

.rk-subx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-subx-btn-ghost {
    background: rgba(255,255,255,0.8);
    border-color: var(--sx-line);
    color: var(--sx-ink);
}

.rk-subx-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--sx-deep);
}

.rk-subx-banner {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1.15rem;
    padding: 0.95rem 1.05rem;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, #fff7ed, #fff);
    border: 1px solid rgba(239, 127, 26, 0.2);
    animation: rk-subx-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.07s);
}

.rk-subx-banner strong { display: block; color: var(--sx-ink); font-weight: 800; }
.rk-subx-banner p { margin: 0.15rem 0 0; color: var(--sx-muted); font-size: 0.9rem; }

.rk-subx-banner-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--sx-orange);
    color: #fff;
    flex-shrink: 0;
}

.rk-subx-empty {
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin-bottom: 1.15rem;
    background: rgba(255,255,255,0.94);
    border: 1px dashed rgba(239, 127, 26, 0.3);
    border-radius: 1.5rem;
    animation: rk-subx-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-subx-empty-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 0.85rem;
    border-radius: 16px;
    background: var(--sx-soft);
    color: var(--sx-orange);
    font-size: 1.5rem;
}

.rk-subx-empty h2 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.rk-subx-empty p {
    margin: 0;
    color: var(--sx-muted);
}

.rk-subx-summary {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 0.95rem;
    margin-bottom: 1.35rem;
}

.rk-subx-plan,
.rk-subx-meter {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--sx-line);
    border-radius: 1.35rem;
    padding: 1.15rem 1.2rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.05);
    animation: rk-subx-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.07s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-subx-plan:hover,
.rk-subx-meter:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(28, 25, 23, 0.08);
}

.rk-subx-plan-glow {
    position: absolute;
    inset: -35% -15% auto;
    height: 70%;
    background: radial-gradient(circle at 40% 80%, rgba(239, 127, 26, 0.22), transparent 65%);
    pointer-events: none;
}

.rk-subx-plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    position: relative;
}

.rk-subx-plan-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--sx-soft);
    color: var(--sx-orange);
    font-size: 1.1rem;
}

.rk-subx-label {
    margin: 0;
    position: relative;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-subx-plan-name {
    margin: 0.35rem 0 0.75rem;
    position: relative;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--sx-ink);
}

.rk-subx-plan-meta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.1rem;
    font-size: 0.84rem;
    font-weight: 650;
    color: var(--sx-muted);
}

.rk-subx-plan-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.rk-subx-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: capitalize;
}

.rk-subx-pill-success { background: #ecfdf5; color: #047857; }
.rk-subx-pill-info { background: #e8f0fe; color: #1d4ed8; }
.rk-subx-pill-warn { background: #fff7ed; color: #c2410c; }
.rk-subx-pill-muted { background: #f5f5f4; color: #78716c; }

.rk-subx-meter-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.rk-subx-meter-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
}

.rk-subx-meter-qr .rk-subx-meter-icon { background: #fff7ed; color: #EF7F1A; }
.rk-subx-meter-ai .rk-subx-meter-icon { background: #e8f0fe; color: #4285F4; }

.rk-subx-meter-value {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--sx-ink);
    line-height: 1.1;
}

.rk-subx-meter-value span {
    font-size: 1rem;
    font-weight: 650;
    color: #a8a29e;
}

.rk-subx-meter-bar {
    height: 7px;
    border-radius: 999px;
    background: #f5f5f4;
    margin: 0.7rem 0 0.5rem;
    overflow: hidden;
}

.rk-subx-meter-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.rk-subx-meter-qr .rk-subx-meter-bar span {
    background: linear-gradient(90deg, #fbbf24, #EF7F1A);
}

.rk-subx-meter-ai .rk-subx-meter-bar span {
    background: linear-gradient(90deg, #60a5fa, #4285F4);
}

.rk-subx-hint {
    margin: 0;
    font-size: 0.82rem;
    color: var(--sx-muted);
}

.rk-subx-plans {
    animation: rk-subx-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.07s);
}

.rk-subx-plans-head {
    margin-bottom: 1rem;
}

.rk-subx-plans-head h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--sx-ink);
}

.rk-subx-plans-head p {
    margin: 0.25rem 0 0;
    font-size: 0.88rem;
    color: var(--sx-muted);
}

.rk-subx .rk-price-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-subx .rk-price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 44px rgba(28, 25, 23, 0.1);
}

.rk-subx-status {
    margin-top: 1.1rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    font-weight: 650;
    font-size: 0.92rem;
}

.rk-subx-status.is-info {
    background: #e8f0fe;
    color: #1d4ed8;
    border: 1px solid rgba(66, 133, 244, 0.25);
}

.rk-subx-status.is-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid rgba(52, 168, 83, 0.25);
}

.rk-subx-status.is-danger {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.rk-subx-status.is-warning {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid rgba(239, 127, 26, 0.25);
}

@media (max-width: 991.98px) {
    .rk-subx-summary { grid-template-columns: 1fr; }
    .rk-subx-top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-subx::before,
    .rk-subx-top,
    .rk-subx-banner,
    .rk-subx-empty,
    .rk-subx-plan,
    .rk-subx-meter,
    .rk-subx-plans { animation: none !important; }
    .rk-subx-plan:hover,
    .rk-subx-meter:hover,
    .rk-subx .rk-price-card:hover,
    .rk-subx-btn:hover { transform: none; }
}

/* Enhanced business payments */
.rk-payx {
    --px-ink: #1c1917;
    --px-muted: #78716c;
    --px-line: rgba(28, 25, 23, 0.08);
    --px-orange: #EF7F1A;
    --px-deep: #d96a0c;
    --px-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-payx::before {
    content: "";
    position: absolute;
    inset: -1.2rem -0.4rem auto;
    height: 200px;
    background:
        radial-gradient(ellipse 50% 80% at 10% 0%, rgba(239, 127, 26, 0.14), transparent 60%),
        radial-gradient(ellipse 40% 70% at 90% 8%, rgba(52, 168, 83, 0.08), transparent 55%);
    pointer-events: none;
    z-index: -1;
    animation: rk-payx-aurora 10s ease-in-out infinite alternate;
}

@keyframes rk-payx-aurora {
    from { opacity: 0.85; transform: translateY(0); }
    to { opacity: 1; transform: translateY(8px); }
}

@keyframes rk-payx-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.rk-payx-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    animation: rk-payx-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-payx-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--px-orange);
}

.rk-payx-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--px-ink);
}

.rk-payx-lead {
    margin: 0.35rem 0 0;
    color: var(--px-muted);
    font-size: 0.95rem;
}

.rk-payx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-payx-btn-primary {
    background: linear-gradient(135deg, var(--px-orange), var(--px-deep));
    color: #fff;
    box-shadow: 0 10px 22px rgba(239, 127, 26, 0.28);
}

.rk-payx-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 28px rgba(239, 127, 26, 0.38);
}

.rk-payx-btn-ghost {
    background: rgba(255,255,255,0.8);
    border-color: var(--px-line);
    color: var(--px-ink);
}

.rk-payx-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--px-deep);
}

.rk-payx-btn-soft {
    background: var(--px-soft);
    border-color: rgba(239, 127, 26, 0.18);
    color: var(--px-deep);
}

.rk-payx-btn-soft:hover {
    transform: translateY(-2px);
    background: #ffedd5;
    color: var(--px-deep);
}

.rk-payx-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.rk-payx-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.05rem;
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--px-line);
    border-radius: 1.2rem;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.04);
    animation: rk-payx-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.07s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-payx-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(28, 25, 23, 0.07);
}

.rk-payx-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--px-soft);
    color: var(--px-orange);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rk-payx-stat-ok .rk-payx-stat-icon { background: #ecfdf5; color: #34A853; }
.rk-payx-stat-bad .rk-payx-stat-icon { background: #fef2f2; color: #ef4444; }

.rk-payx-stat strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--px-ink);
    line-height: 1.1;
}

.rk-payx-stat span {
    font-size: 0.78rem;
    font-weight: 700;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rk-payx-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: rgba(255,255,255,0.94);
    border: 1px dashed rgba(239, 127, 26, 0.3);
    border-radius: 1.5rem;
    animation: rk-payx-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-payx-empty-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    background: var(--px-soft);
    color: var(--px-orange);
    font-size: 1.7rem;
}

.rk-payx-empty h2 {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
    font-weight: 800;
}

.rk-payx-empty p {
    margin: 0 auto 1.1rem;
    max-width: 26rem;
    color: var(--px-muted);
}

.rk-payx-list {
    animation: rk-payx-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.07s);
}

.rk-payx-list-head {
    margin-bottom: 0.9rem;
}

.rk-payx-list-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--px-ink);
}

.rk-payx-list-head p {
    margin: 0.2rem 0 0;
    font-size: 0.84rem;
    color: var(--px-muted);
}

.rk-payx-table-wrap {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--px-line);
    border-radius: 1.35rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
}

.rk-payx-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    margin: 0;
}

.rk-payx-table thead th {
    padding: 0.8rem 1rem;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a29e;
    background: #fafaf9;
    border-bottom: 1px solid var(--px-line);
    white-space: nowrap;
}

.rk-payx-table tbody td {
    padding: 0.95rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

.rk-payx-table tbody tr:last-child td {
    border-bottom: 0;
}

.rk-payx-table tbody tr {
    transition: background 0.2s ease;
}

.rk-payx-table tbody tr:hover {
    background: #fffaf5;
}

.rk-payx-table-plan {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.rk-payx-table-plan strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--px-ink);
}

.rk-payx-table-date {
    font-size: 0.86rem;
    font-weight: 650;
    color: var(--px-muted);
    white-space: nowrap;
}

.rk-payx-table-amount {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--px-ink);
    white-space: nowrap;
}

.rk-payx-table-ref {
    display: inline-block;
    max-width: 12rem;
    padding: 0.28rem 0.55rem;
    border-radius: 0.55rem;
    background: #f5f5f4;
    border: 1px solid rgba(28, 25, 23, 0.06);
    font-size: 0.76rem;
    font-weight: 650;
    color: #57534e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.rk-payx-table-actions-col {
    width: 1%;
    white-space: nowrap;
}

.rk-payx-btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
}

.rk-payx-table .rk-payx-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.rk-payx-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
}

.rk-payx-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.15rem 1.2rem;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--px-line);
    border-radius: 1.35rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
    animation: rk-payx-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.25s + var(--d, 0) * 0.05s);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.rk-payx-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 127, 26, 0.22);
    box-shadow: 0 22px 44px rgba(28, 25, 23, 0.09);
}

.rk-payx-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.rk-payx-card-plan {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    min-width: 0;
}

.rk-payx-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--px-soft);
    color: var(--px-orange);
    flex-shrink: 0;
}

.rk-payx-card-plan strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--px-ink);
}

.rk-payx-card-plan span {
    font-size: 0.78rem;
    color: var(--px-muted);
    font-weight: 600;
}

.rk-payx-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: capitalize;
    flex-shrink: 0;
}

.rk-payx-pill-success { background: #ecfdf5; color: #047857; }
.rk-payx-pill-danger { background: #fef2f2; color: #b91c1c; }
.rk-payx-pill-warn { background: #fff7ed; color: #c2410c; }
.rk-payx-pill-muted { background: #f5f5f4; color: #78716c; }

.rk-payx-card-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0.75rem;
    padding-top: 0.15rem;
}

.rk-payx-amount strong,
.rk-payx-ref code {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--px-ink);
    margin-bottom: 0.15rem;
}

.rk-payx-ref code {
    font-size: 0.78rem;
    font-weight: 650;
    background: #fafaf9;
    padding: 0.25rem 0.45rem;
    border-radius: 0.45rem;
    border: 1px solid var(--px-line);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.rk-payx-amount span,
.rk-payx-ref span {
    font-size: 0.72rem;
    font-weight: 700;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rk-payx-card-foot {
    border-top: 1px solid var(--px-line);
    padding-top: 0.85rem;
}

.rk-payx-pager {
    margin-top: 1.15rem;
    display: flex;
    justify-content: center;
}

.rk-payx-pager .pagination { margin: 0; }

.rk-payx-detail {
    position: relative;
    overflow: hidden;
    max-width: 640px;
    padding: 1.35rem 1.4rem 1.4rem;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--px-line);
    border-radius: 1.45rem;
    box-shadow: 0 16px 36px rgba(28, 25, 23, 0.06);
    animation: rk-payx-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-payx-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(28, 25, 23, 0.08);
}

.rk-payx-detail-glow {
    position: absolute;
    inset: -35% -10% auto;
    height: 60%;
    background: radial-gradient(circle at 30% 80%, rgba(239, 127, 26, 0.18), transparent 65%);
    pointer-events: none;
}

.rk-payx-detail-head {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.rk-payx-label {
    margin: 0 0 0.25rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-payx-detail-amount {
    margin: 0;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--px-ink);
}

.rk-payx-detail-grid {
    position: relative;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.rk-payx-detail-grid > div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: baseline;
    padding: 0.65rem 0;
    border-top: 1px solid var(--px-line);
}

.rk-payx-detail-grid dt {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 750;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rk-payx-detail-grid dd {
    margin: 0;
    font-weight: 650;
    color: var(--px-ink);
    word-break: break-all;
}

.rk-payx-detail-grid code {
    font-size: 0.85rem;
    background: #fafaf9;
    padding: 0.2rem 0.4rem;
    border-radius: 0.4rem;
    border: 1px solid var(--px-line);
}

@media (max-width: 991.98px) {
    .rk-payx-cards { grid-template-columns: 1fr; }
    .rk-payx-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
    .rk-payx-stats { grid-template-columns: 1fr; }
    .rk-payx-card-body { grid-template-columns: 1fr; }
    .rk-payx-detail-grid > div { grid-template-columns: 1fr; gap: 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-payx::before,
    .rk-payx-top,
    .rk-payx-stat,
    .rk-payx-empty,
    .rk-payx-list,
    .rk-payx-card,
    .rk-payx-detail { animation: none !important; }
    .rk-payx-stat:hover,
    .rk-payx-card:hover,
    .rk-payx-detail:hover,
    .rk-payx-btn:hover { transform: none; }
}

/* Enhanced admin dashboard */
.rk-adx {
    --ax-ink: #1c1917;
    --ax-muted: #78716c;
    --ax-line: rgba(28, 25, 23, 0.08);
    --ax-orange: #EF7F1A;
    --ax-deep: #d96a0c;
    --ax-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-adx::before {
    content: "";
    position: absolute;
    inset: -1.2rem -0.4rem auto;
    height: 240px;
    background:
        radial-gradient(ellipse 50% 80% at 8% 0%, rgba(239, 127, 26, 0.16), transparent 60%),
        radial-gradient(ellipse 40% 70% at 88% 10%, rgba(66, 133, 244, 0.12), transparent 55%),
        radial-gradient(ellipse 35% 60% at 50% 50%, rgba(52, 168, 83, 0.07), transparent 55%);
    pointer-events: none;
    z-index: -1;
    animation: rk-adx-aurora 10s ease-in-out infinite alternate;
}

@keyframes rk-adx-aurora {
    from { opacity: 0.8; transform: translateY(0) scale(1); }
    to { opacity: 1; transform: translateY(10px) scale(1.03); }
}

@keyframes rk-adx-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

.rk-adx-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.15rem;
    margin-bottom: 1.35rem;
    animation: rk-adx-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-adx-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ax-orange);
}

.rk-adx-title {
    margin: 0;
    font-size: clamp(1.55rem, 2.5vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--ax-ink);
}

.rk-adx-lead {
    margin: 0.4rem 0 0;
    color: var(--ax-muted);
    max-width: 36rem;
    font-size: 0.96rem;
}

.rk-adx-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rk-adx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.65rem 1.05rem;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-adx-btn-primary {
    background: linear-gradient(135deg, var(--ax-orange), var(--ax-deep));
    color: #fff;
    box-shadow: 0 10px 24px rgba(239, 127, 26, 0.3);
}

.rk-adx-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 30px rgba(239, 127, 26, 0.4);
}

.rk-adx-btn-ghost {
    background: rgba(255,255,255,0.85);
    border-color: var(--ax-line);
    color: var(--ax-ink);
    backdrop-filter: blur(8px);
}

.rk-adx-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--ax-deep);
}

.rk-adx-btn-soft {
    background: var(--ax-soft);
    border-color: rgba(239, 127, 26, 0.18);
    color: var(--ax-deep);
}

.rk-adx-btn-soft:hover {
    transform: translateY(-2px);
    background: #ffedd5;
    color: var(--ax-deep);
}

.rk-adx-btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
}

.rk-adx-spotlight {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.3rem 1.4rem;
    margin-bottom: 1.15rem;
    background: linear-gradient(135deg, #1c1917 0%, #292524 55%, #44403c 100%);
    border-radius: 1.5rem;
    color: #fff;
    box-shadow: 0 18px 40px rgba(28, 25, 23, 0.22);
    animation: rk-adx-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.05s);
}

.rk-adx-spotlight-glow {
    position: absolute;
    inset: -50% 40% auto -20%;
    height: 120%;
    background: radial-gradient(circle, rgba(239, 127, 26, 0.35), transparent 60%);
    pointer-events: none;
}

.rk-adx-spotlight-main {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.95rem;
    min-width: 0;
}

.rk-adx-spotlight-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(239, 127, 26, 0.2);
    color: #fdba74;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.rk-adx-spotlight-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-adx-spotlight-main h2 {
    margin: 0.15rem 0 0;
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.rk-adx-spotlight-main p {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    color: #d6d3d1;
    font-weight: 600;
}

.rk-adx-spotlight-split {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: wrap;
}

.rk-adx-spotlight-split > div {
    min-width: 70px;
}

.rk-adx-spotlight-split strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.rk-adx-spotlight-split span {
    font-size: 0.74rem;
    font-weight: 700;
    color: #a8a29e;
}

.rk-adx-spotlight .rk-adx-btn-soft {
    background: rgba(255, 247, 237, 0.95);
    border-color: transparent;
}

.rk-adx-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
    margin-bottom: 1.25rem;
}

.rk-adx-kpi {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.15rem 1.2rem 1.1rem;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--ax-line);
    border-radius: 1.35rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.05);
    text-decoration: none;
    color: inherit;
    animation: rk-adx-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.rk-adx-kpi:hover {
    transform: translateY(-5px);
    border-color: rgba(239, 127, 26, 0.22);
    box-shadow: 0 22px 44px rgba(28, 25, 23, 0.1);
    color: inherit;
}

.rk-adx-kpi.is-muted {
    opacity: 0.55;
    pointer-events: none;
}

.rk-adx-kpi-glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 70%;
    pointer-events: none;
    opacity: 0.85;
}

.rk-adx-kpi-orange .rk-adx-kpi-glow { background: radial-gradient(circle at 40% 80%, rgba(239, 127, 26, 0.22), transparent 65%); }
.rk-adx-kpi-green .rk-adx-kpi-glow { background: radial-gradient(circle at 40% 80%, rgba(52, 168, 83, 0.2), transparent 65%); }
.rk-adx-kpi-teal .rk-adx-kpi-glow { background: radial-gradient(circle at 40% 80%, rgba(20, 184, 166, 0.2), transparent 65%); }
.rk-adx-kpi-blue .rk-adx-kpi-glow { background: radial-gradient(circle at 40% 80%, rgba(66, 133, 244, 0.2), transparent 65%); }
.rk-adx-kpi-red .rk-adx-kpi-glow { background: radial-gradient(circle at 40% 80%, rgba(234, 67, 53, 0.18), transparent 65%); }
.rk-adx-kpi-purple .rk-adx-kpi-glow { background: radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.18), transparent 65%); }

.rk-adx-kpi-top {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    position: relative;
}

.rk-adx-kpi-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.rk-adx-kpi-orange .rk-adx-kpi-icon { background: #fff7ed; color: #EF7F1A; }
.rk-adx-kpi-green .rk-adx-kpi-icon { background: #ecfdf5; color: #34A853; }
.rk-adx-kpi-teal .rk-adx-kpi-icon { background: #f0fdfa; color: #0d9488; }
.rk-adx-kpi-blue .rk-adx-kpi-icon { background: #e8f0fe; color: #4285F4; }
.rk-adx-kpi-red .rk-adx-kpi-icon { background: #fef2f2; color: #EA4335; }
.rk-adx-kpi-purple .rk-adx-kpi-icon { background: #f5f3ff; color: #7c3aed; }

.rk-adx-kpi-label {
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-adx-kpi-value {
    position: relative;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--ax-ink);
    line-height: 1.1;
    margin-top: 0.25rem;
}

.rk-adx-kpi-foot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 650;
    color: var(--ax-muted);
}

.rk-adx-kpi-go {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #fafaf9;
    color: var(--ax-orange);
    transition: transform 0.25s ease, background 0.2s ease;
}

.rk-adx-kpi:hover .rk-adx-kpi-go {
    transform: translate(2px, -2px);
    background: var(--ax-soft);
}

.rk-adx-kpi-muted {
    position: relative;
    margin-top: 0.5rem;
    color: var(--ax-muted);
    font-weight: 650;
}

.rk-adx-panel {
    margin-bottom: 1.15rem;
    padding: 1.2rem 1.25rem 1.3rem;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--ax-line);
    border-radius: 1.45rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
    animation: rk-adx-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.05s);
}

.rk-adx-panel-head {
    margin-bottom: 1rem;
}

.rk-adx-panel-head h2 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--ax-ink);
}

.rk-adx-panel-head p {
    margin: 0.2rem 0 0;
    font-size: 0.88rem;
    color: var(--ax-muted);
}

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

.rk-adx-action {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.05rem;
    border-radius: 1.15rem;
    border: 1px solid var(--ax-line);
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
    animation: rk-adx-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.35s + var(--d, 0) * 0.05s);
}

.rk-adx-action:hover {
    transform: translateY(-3px) translateX(2px);
    border-color: rgba(239, 127, 26, 0.25);
    box-shadow: 0 14px 28px rgba(28, 25, 23, 0.08);
    color: inherit;
}

.rk-adx-action-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.rk-adx-action-green .rk-adx-action-icon { background: #ecfdf5; color: #34A853; }
.rk-adx-action-orange .rk-adx-action-icon { background: #fff7ed; color: #EF7F1A; }
.rk-adx-action-blue .rk-adx-action-icon { background: #e8f0fe; color: #4285F4; }
.rk-adx-action-red .rk-adx-action-icon { background: #fef2f2; color: #EA4335; }

.rk-adx-action-copy {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}

.rk-adx-action-copy strong {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--ax-ink);
}

.rk-adx-action-copy span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ax-muted);
}

.rk-adx-action-arrow {
    color: #a8a29e;
    transition: transform 0.25s ease, color 0.2s ease;
}

.rk-adx-action:hover .rk-adx-action-arrow {
    transform: translateX(4px);
    color: var(--ax-orange);
}

.rk-adx-panel-head-inline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.rk-adx-plans {
    margin-bottom: 1.15rem;
    padding: 1.2rem 1.25rem 1.25rem;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--ax-line);
    border-radius: 1.45rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
    animation: rk-adx-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.05s);
}

.rk-adx-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.rk-adx-plan {
    padding: 1rem 1.05rem;
    border-radius: 1.15rem;
    border: 1px solid var(--ax-line);
    background: #fff;
    animation: rk-adx-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.35s + var(--d, 0) * 0.05s);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rk-adx-plan:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(28, 25, 23, 0.08);
}

.rk-adx-plan.is-off { opacity: 0.6; }

.rk-adx-plan-muted { background: linear-gradient(180deg, #fafaf9, #fff); }
.rk-adx-plan-blue { background: linear-gradient(180deg, #f8fbff, #fff); }
.rk-adx-plan-green { background: linear-gradient(180deg, #f6fdf9, #fff); }
.rk-adx-plan-orange { background: linear-gradient(180deg, #fffaf5, #fff); }

.rk-adx-plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.rk-adx-plan-top strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ax-ink);
}

.rk-adx-plan-price {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--ax-ink);
    line-height: 1;
    margin-bottom: 0.55rem;
}

.rk-adx-plan-price span {
    font-size: 0.8rem;
    font-weight: 650;
    color: var(--ax-muted);
    margin-left: 0.15rem;
}

.rk-adx-plan-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--ax-muted);
}

.rk-adx-plan-meta em {
    font-style: normal;
    font-weight: 800;
    color: var(--ax-ink);
}

.rk-adx-mini-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 750;
    text-transform: capitalize;
    background: #f5f5f4;
    color: #78716c;
    flex-shrink: 0;
}

.rk-adx-mini-pill.is-on { background: #ecfdf5; color: #047857; }
.rk-adx-mini-pill.is-warn { background: #fff7ed; color: #c2410c; }
.rk-adx-mini-pill.is-off { background: #fef2f2; color: #b91c1c; }
.rk-adx-mini-pill.is-muted { background: #f5f5f4; color: #78716c; }

.rk-adx-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.rk-adx-split .rk-adx-panel { margin-bottom: 0; }

.rk-adx-feed {
    display: grid;
    gap: 0.45rem;
}

.rk-adx-feed-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.8rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rk-adx-feed-row:hover {
    background: #fafaf9;
    border-color: var(--ax-line);
    transform: translateX(3px);
    color: inherit;
}

.rk-adx-feed-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.rk-adx-feed-icon-green { background: #ecfdf5; color: #34A853; }
.rk-adx-feed-icon-red { background: #fef2f2; color: #EA4335; }

.rk-adx-feed-copy {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
    flex: 1;
}

.rk-adx-feed-copy strong {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--ax-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rk-adx-feed-copy span {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--ax-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rk-adx-empty {
    padding: 1.5rem 1rem;
    text-align: center;
    color: var(--ax-muted);
    font-weight: 650;
    font-size: 0.9rem;
    border: 1px dashed var(--ax-line);
    border-radius: 1rem;
}

.rk-adx-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border-radius: 1.45rem;
    background: linear-gradient(135deg, #fff7ed, #fff);
    border: 1px solid rgba(239, 127, 26, 0.22);
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.05);
    animation: rk-adx-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.05s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-adx-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(28, 25, 23, 0.08);
}

.rk-adx-banner-glow {
    position: absolute;
    inset: -40% 50% auto -10%;
    height: 90%;
    background: radial-gradient(circle, rgba(239, 127, 26, 0.2), transparent 65%);
    pointer-events: none;
}

.rk-adx-banner-copy {
    position: relative;
    max-width: 32rem;
}

.rk-adx-banner-copy h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ax-ink);
}

.rk-adx-banner-copy p:last-child {
    margin: 0.3rem 0 0;
    color: var(--ax-muted);
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .rk-adx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rk-adx-top { flex-direction: column; align-items: flex-start; }
    .rk-adx-actions { grid-template-columns: 1fr; }
    .rk-adx-split,
    .rk-adx-plan-grid { grid-template-columns: 1fr; }
    .rk-adx-spotlight { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
    .rk-adx-kpis { grid-template-columns: 1fr; }
    .rk-adx-top-actions { width: 100%; }
    .rk-adx-top-actions .rk-adx-btn { flex: 1; }
    .rk-adx-spotlight-split { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-adx::before,
    .rk-adx-top,
    .rk-adx-kpi,
    .rk-adx-panel,
    .rk-adx-action,
    .rk-adx-banner,
    .rk-adx-spotlight,
    .rk-adx-plans,
    .rk-adx-plan { animation: none !important; }
    .rk-adx-kpi:hover,
    .rk-adx-action:hover,
    .rk-adx-banner:hover,
    .rk-adx-btn:hover,
    .rk-adx-plan:hover,
    .rk-adx-feed-row:hover { transform: none; }
}

/* Enhanced admin businesses list */
.rk-abx {
    --bx-ink: #1c1917;
    --bx-muted: #78716c;
    --bx-line: rgba(28, 25, 23, 0.08);
    --bx-orange: #EF7F1A;
    --bx-deep: #d96a0c;
    --bx-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-abx::before {
    content: "";
    position: absolute;
    inset: -1.2rem -0.4rem auto;
    height: 220px;
    background:
        radial-gradient(ellipse 50% 80% at 10% 0%, rgba(239, 127, 26, 0.14), transparent 60%),
        radial-gradient(ellipse 40% 70% at 90% 8%, rgba(52, 168, 83, 0.1), transparent 55%);
    pointer-events: none;
    z-index: -1;
    animation: rk-abx-aurora 10s ease-in-out infinite alternate;
}

@keyframes rk-abx-aurora {
    from { opacity: 0.85; transform: translateY(0); }
    to { opacity: 1; transform: translateY(8px); }
}

@keyframes rk-abx-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.rk-abx-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    animation: rk-abx-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-abx-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bx-orange);
}

.rk-abx-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--bx-ink);
}

.rk-abx-lead {
    margin: 0.35rem 0 0;
    color: var(--bx-muted);
    font-size: 0.95rem;
    max-width: 34rem;
}

.rk-abx-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rk-abx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-abx-btn-sm {
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
}

.rk-abx-btn-primary {
    background: linear-gradient(135deg, var(--bx-orange), var(--bx-deep));
    color: #fff;
    box-shadow: 0 10px 22px rgba(239, 127, 26, 0.28);
}

.rk-abx-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 28px rgba(239, 127, 26, 0.38);
}

.rk-abx-btn-ghost {
    background: rgba(255,255,255,0.85);
    border-color: var(--bx-line);
    color: var(--bx-ink);
}

.rk-abx-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--bx-deep);
}

.rk-abx-btn-soft {
    background: var(--bx-soft);
    border-color: rgba(239, 127, 26, 0.18);
    color: var(--bx-deep);
}

.rk-abx-btn-soft:hover {
    transform: translateY(-2px);
    background: #ffedd5;
    color: var(--bx-deep);
}

.rk-abx-btn-activate {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
    animation: rk-abx-activate-pulse 2.2s ease-in-out infinite;
}

.rk-abx-btn-activate:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 8px 22px rgba(34, 197, 94, 0.5);
    animation: none;
}

@keyframes rk-abx-activate-pulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35); }
    50%       { box-shadow: 0 4px 22px rgba(34, 197, 94, 0.6), 0 0 0 4px rgba(34, 197, 94, 0.12); }
}

.rk-abx-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.rk-abx-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.05rem;
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--bx-line);
    border-radius: 1.2rem;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.04);
    animation: rk-abx-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-abx-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(28, 25, 23, 0.07);
}

.rk-abx-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rk-abx-stat-icon-green { background: #ecfdf5; color: #34A853; }
.rk-abx-stat-icon-teal { background: #f0fdfa; color: #0d9488; }
.rk-abx-stat-icon-orange { background: #fff7ed; color: #EF7F1A; }
.rk-abx-stat-icon-red { background: #fef2f2; color: #EA4335; }

.rk-abx-stat strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--bx-ink);
    line-height: 1.1;
}

.rk-abx-stat span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rk-abx-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1.2rem;
    padding: 1rem 1.1rem;
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--bx-line);
    border-radius: 1.35rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.04);
    animation: rk-abx-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-abx-filter-field { min-width: 140px; }
.rk-abx-filter-grow { flex: 1 1 220px; min-width: 200px; }

.rk-abx-filter-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-abx-filter-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0 0.85rem;
    border-radius: 0.95rem;
    border: 1px solid var(--bx-line);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rk-abx-filter-input:focus-within {
    border-color: rgba(239, 127, 26, 0.55);
    box-shadow: 0 0 0 4px rgba(239, 127, 26, 0.12);
    transform: translateY(-1px);
}

.rk-abx-filter-input i { color: #a8a29e; flex-shrink: 0; }
.rk-abx-filter-input:focus-within i { color: var(--bx-orange); }

.rk-abx-filter-input input,
.rk-abx-filter-input select {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--bx-ink);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.65rem 0;
}

.rk-abx-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rk-abx-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: rgba(255,255,255,0.94);
    border: 1px dashed rgba(239, 127, 26, 0.3);
    border-radius: 1.5rem;
    animation: rk-abx-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-abx-empty-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    background: var(--bx-soft);
    color: var(--bx-orange);
    font-size: 1.7rem;
}

.rk-abx-empty h2 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.rk-abx-empty p {
    margin: 0;
    color: var(--bx-muted);
}

.rk-abx-table-wrap {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--bx-line);
    border-radius: 1.35rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
    animation: rk-abx-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-abx-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    margin: 0;
}

.rk-abx-table thead th {
    padding: 0.85rem 1rem;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a29e;
    background: #fafaf9;
    border-bottom: 1px solid var(--bx-line);
    white-space: nowrap;
}

.rk-abx-table tbody td {
    padding: 0.95rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

.rk-abx-table tbody tr:last-child td {
    border-bottom: 0;
}

.rk-abx-table tbody tr {
    transition: background 0.2s ease;
}

.rk-abx-table tbody tr:hover {
    background: #fffaf5;
}

.rk-abx-table-biz,
.rk-abx-table-owner,
.rk-abx-table-paid,
.rk-abx-table-plan {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.rk-abx-table-biz {
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
}

.rk-abx-table-biz strong,
.rk-abx-table-owner strong,
.rk-abx-table-paid strong,
.rk-abx-table-plan strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--bx-ink);
    line-height: 1.25;
}

.rk-abx-table-biz > div > span,
.rk-abx-table-owner > span,
.rk-abx-table-paid > span,
.rk-abx-table-plan > span {
    font-size: 0.78rem;
    color: var(--bx-muted);
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
}

.rk-abx-table-plan span.is-warn {
    color: #c2410c;
    font-weight: 700;
}

.rk-abx-table-num {
    font-size: 1rem;
    font-weight: 800;
    color: var(--bx-ink);
}

.rk-abx-table-actions-col {
    width: 1%;
    white-space: nowrap;
}

.rk-abx-table-actions {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    justify-content: flex-end;
}

.rk-abx-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
}

.rk-abx-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.15rem 1.2rem;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--bx-line);
    border-radius: 1.35rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
    animation: rk-abx-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.28s + var(--d, 0) * 0.04s);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.rk-abx-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 127, 26, 0.22);
    box-shadow: 0 22px 44px rgba(28, 25, 23, 0.09);
}

.rk-abx-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.rk-abx-card-biz {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    min-width: 0;
}

.rk-abx-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    color: #34A853 !important;
    flex-shrink: 0;
    font-size: 1.15rem;
    line-height: 1;
}

.rk-abx-card-icon i {
    display: block;
    line-height: 1;
}

.rk-abx-card-biz strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--bx-ink);
}

.rk-abx-card-biz span {
    font-size: 0.78rem;
    color: var(--bx-muted);
    font-weight: 600;
    word-break: break-all;
}

.rk-abx-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: capitalize;
    flex-shrink: 0;
}

.rk-abx-pill-success { background: #ecfdf5; color: #047857; }
.rk-abx-pill-muted { background: #f5f5f4; color: #78716c; }
.rk-abx-pill-warn { background: #fff7ed; color: #c2410c; }

.rk-abx-card-owner {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.7rem 0.8rem;
    border-radius: 0.95rem;
    background: #fafaf9;
    border: 1px solid var(--bx-line);
}

.rk-abx-card-owner > i {
    color: var(--bx-orange);
    margin-top: 0.15rem;
}

.rk-abx-card-owner strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 750;
    color: var(--bx-ink);
}

.rk-abx-card-owner span {
    font-size: 0.78rem;
    color: var(--bx-muted);
}

.rk-abx-card-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.rk-abx-card-metrics > div {
    text-align: center;
    padding: 0.55rem 0.35rem;
    border-radius: 0.85rem;
    background: #fff;
    border: 1px solid var(--bx-line);
}

.rk-abx-card-metrics strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--bx-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.rk-abx-card-metrics span {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rk-abx-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    border-top: 1px solid var(--bx-line);
    padding-top: 0.85rem;
}

.rk-abx-pager {
    margin-top: 1.15rem;
    display: flex;
    justify-content: center;
}

.rk-abx-pager .pagination { margin: 0; }

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

@media (max-width: 991.98px) {
    .rk-abx-stats { grid-template-columns: 1fr 1fr; }
    .rk-abx-grid { grid-template-columns: 1fr; }
    .rk-abx-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
    .rk-abx-stats { grid-template-columns: 1fr; }
    .rk-abx-filters { flex-direction: column; align-items: stretch; }
    .rk-abx-filter-field,
    .rk-abx-filter-grow { min-width: 0; width: 100%; }
    .rk-abx-card-metrics { grid-template-columns: 1fr; }
    .rk-abx-card-actions .rk-abx-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-abx::before,
    .rk-abx-top,
    .rk-abx-stat,
    .rk-abx-filters,
    .rk-abx-empty,
    .rk-abx-card { animation: none !important; }
    .rk-abx-stat:hover,
    .rk-abx-card:hover,
    .rk-abx-btn:hover { transform: none; }
}

/* Enhanced admin business detail */
.rk-abv {
    --bv-ink: #1c1917;
    --bv-muted: #78716c;
    --bv-line: rgba(28, 25, 23, 0.08);
    --bv-orange: #EF7F1A;
    --bv-deep: #d96a0c;
    --bv-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-abv::before {
    content: "";
    position: absolute;
    inset: -1.2rem -0.4rem auto;
    height: 220px;
    background:
        radial-gradient(ellipse 50% 80% at 8% 0%, rgba(239, 127, 26, 0.15), transparent 60%),
        radial-gradient(ellipse 40% 70% at 92% 10%, rgba(52, 168, 83, 0.1), transparent 55%);
    pointer-events: none;
    z-index: -1;
    animation: rk-abv-aurora 10s ease-in-out infinite alternate;
}

@keyframes rk-abv-aurora {
    from { opacity: 0.85; transform: translateY(0); }
    to { opacity: 1; transform: translateY(8px); }
}

@keyframes rk-abv-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.rk-abv-masthead {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.15rem;
    padding: 1.35rem 1.4rem 1.25rem;
    background:
        linear-gradient(145deg, rgba(255, 247, 237, 0.95) 0%, rgba(255, 255, 255, 0.98) 38%, #fff 100%);
    border: 1px solid var(--bv-line);
    border-radius: 1.55rem;
    box-shadow: 0 18px 40px rgba(28, 25, 23, 0.06);
    animation: rk-abv-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.07s);
}

.rk-abv-masthead-glow {
    position: absolute;
    inset: -40% -10% auto;
    height: 70%;
    background:
        radial-gradient(circle at 12% 60%, rgba(239, 127, 26, 0.2), transparent 55%),
        radial-gradient(circle at 88% 30%, rgba(66, 133, 244, 0.1), transparent 50%);
    pointer-events: none;
}

.rk-abv-masthead-top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.15rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

.rk-abv-masthead-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.rk-abv-masthead-logo,
.rk-abv-masthead-mark {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 28px rgba(239, 127, 26, 0.18);
}

.rk-abv-masthead-logo {
    background: #fff;
    border: 1px solid var(--bv-line);
    padding: 0.45rem;
    overflow: hidden;
}

.rk-abv-masthead-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.rk-abv-masthead-mark {
    background: linear-gradient(145deg, #EF7F1A, #d96a0c);
    color: #fff;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.rk-abv-masthead-copy { min-width: 0; }

.rk-abv-masthead-title-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.55rem 0.7rem;
}

.rk-abv-eyebrow {
    margin: 0 0 0.28rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bv-orange);
}

.rk-abv-title {
    margin: 0;
    font-size: clamp(1.55rem, 2.4vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--bv-ink);
}

.rk-abv-id {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(28, 25, 23, 0.05);
    color: var(--bv-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.rk-abv-lead {
    margin: 0.3rem 0 0;
    color: var(--bv-muted);
    font-size: 0.92rem;
}

.rk-abv-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.7rem;
}

.rk-abv-pills-tight { margin: 0.75rem 0 1rem; }

.rk-abv-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: capitalize;
}

.rk-abv-pill-success { background: #ecfdf5; color: #047857; }
.rk-abv-pill-warn { background: #fff7ed; color: #c2410c; }
.rk-abv-pill-muted { background: #f5f5f4; color: #78716c; }
.rk-abv-pill-danger { background: #fef2f2; color: #b91c1c; }
.rk-abv-pill-soft { background: #e8f0fe; color: #1d4ed8; }

.rk-abv-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rk-abv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-abv-btn-block { width: 100%; margin-top: 0.55rem; }
.rk-abv-btn-sm { padding: 0.4rem 0.75rem; font-size: 0.78rem; }

.rk-abv-btn-primary {
    background: linear-gradient(135deg, var(--bv-orange), var(--bv-deep));
    color: #fff;
    box-shadow: 0 10px 22px rgba(239, 127, 26, 0.28);
}

.rk-abv-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 28px rgba(239, 127, 26, 0.38);
}

.rk-abv-btn-ghost {
    background: rgba(255,255,255,0.85);
    border-color: var(--bv-line);
    color: var(--bv-ink);
}

.rk-abv-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--bv-deep);
}

.rk-abv-btn-soft {
    background: var(--bv-soft);
    border-color: rgba(239, 127, 26, 0.18);
    color: var(--bv-deep);
}

.rk-abv-btn-soft:hover {
    transform: translateY(-2px);
    background: #ffedd5;
    color: var(--bv-deep);
}

.rk-abv-btn-danger {
    background: #fff;
    border-color: rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

.rk-abv-btn-danger:hover {
    transform: translateY(-2px);
    background: #fef2f2;
    border-color: rgba(239, 68, 68, 0.5);
}

.rk-abv-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d6d3d1;
    display: inline-block;
}

.rk-abv-hero-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.rk-abv-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    padding: 1rem 1rem 0.95rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(28, 25, 23, 0.07);
    box-shadow: 0 10px 22px rgba(28, 25, 23, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
    animation: rk-abv-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.12s + var(--s, 0) * 0.06s);
}

.rk-abv-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(28, 25, 23, 0.09);
    border-color: rgba(239, 127, 26, 0.22);
}

.rk-abv-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.rk-abv-stat-orange .rk-abv-stat-icon { background: #fff7ed; color: #EF7F1A; }
.rk-abv-stat-green .rk-abv-stat-icon { background: #ecfdf5; color: #34A853; }
.rk-abv-stat-red .rk-abv-stat-icon { background: #fef2f2; color: #EA4335; }
.rk-abv-stat-blue .rk-abv-stat-icon { background: #e8f0fe; color: #4285F4; }

.rk-abv-stat-orange { background: linear-gradient(180deg, #fffaf5 0%, #fff 70%); }
.rk-abv-stat-green { background: linear-gradient(180deg, #f4fdf7 0%, #fff 70%); }
.rk-abv-stat-red { background: linear-gradient(180deg, #fff8f7 0%, #fff 70%); }
.rk-abv-stat-blue { background: linear-gradient(180deg, #f5f8ff 0%, #fff 70%); }

.rk-abv-stat strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--bv-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.rk-abv-stat span {
    font-size: 0.68rem;
    font-weight: 750;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rk-abv-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.85fr);
    gap: 1rem;
    align-items: start;
}

.rk-abv-main,
.rk-abv-side {
    display: grid;
    gap: 1rem;
}

.rk-abv-panel {
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--bv-line);
    border-radius: 1.35rem;
    padding: 1.15rem 1.2rem 1.25rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
    animation: rk-abv-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.07s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-abv-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(28, 25, 23, 0.07);
}

.rk-abv-panel-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.rk-abv-panel-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff7ed;
    color: #EF7F1A;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rk-abv-panel-icon-green { background: #ecfdf5; color: #34A853; }
.rk-abv-panel-icon-blue { background: #e8f0fe; color: #4285F4; }
.rk-abv-panel-icon-red { background: #fef2f2; color: #EA4335; }

.rk-abv-panel-head h2 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--bv-ink);
}

.rk-abv-panel-head p {
    margin: 0.15rem 0 0;
    font-size: 0.84rem;
    color: var(--bv-muted);
}

.rk-abv-owner,
.rk-abv-plan {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.rk-abv-owner-avatar {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--bv-orange), var(--bv-deep));
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 10px 22px rgba(239, 127, 26, 0.28);
    position: relative;
}

.rk-abv-owner-avatar::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 20px;
    border: 2px solid rgba(239, 127, 26, 0.2);
    pointer-events: none;
}

.rk-abv-plan-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: var(--bv-soft);
    color: var(--bv-orange) !important;
    font-size: 1.15rem;
    flex-shrink: 0;
    line-height: 1;
}

.rk-abv-plan-icon i {
    display: block;
    line-height: 1;
}

.rk-abv-owner-copy,
.rk-abv-plan > div {
    min-width: 0;
}

.rk-abv-owner strong,
.rk-abv-plan strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--bv-ink);
    margin-bottom: 0.2rem;
}

.rk-abv-owner-line {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.86rem;
    color: var(--bv-muted);
    font-weight: 650;
    text-decoration: none;
    margin-top: 0.15rem;
}

.rk-abv-owner-line:hover { color: var(--bv-deep); }

.rk-abv-owner-line i {
    color: var(--bv-orange);
    font-size: 0.9rem;
}

.rk-abv-plan > div > span {
    display: block;
    font-size: 0.82rem;
    color: var(--bv-muted);
    font-weight: 600;
}

.rk-abv-owner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
    padding-top: 0.95rem;
    border-top: 1px solid var(--bv-line);
}

.rk-abv-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.rk-abv-field {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.9rem 0.95rem;
    border-radius: 1.1rem;
    background: #fafaf9;
    border: 1px solid var(--bv-line);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rk-abv-field:hover {
    background: #fff;
    border-color: rgba(239, 127, 26, 0.2);
    transform: translateY(-1px);
}

.rk-abv-field-full { grid-column: 1 / -1; }

.rk-abv-field-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--bv-line);
    color: var(--bv-orange);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.rk-abv-field-icon-maps {
    color: #EA4335;
}

.rk-abv-label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-abv-fields strong,
.rk-abv-dates strong {
    font-size: 0.95rem;
    font-weight: 750;
    color: var(--bv-ink);
}

.rk-abv-fields p {
    margin: 0;
    color: #44403c;
    font-size: 0.94rem;
    line-height: 1.55;
    font-weight: 550;
}

.rk-abv-url-wrap { min-width: 0; flex: 1; }

.rk-abv-url-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.rk-abv-link {
    display: block;
    flex: 1;
    min-width: 0;
    word-break: break-all;
    color: var(--bv-deep);
    font-weight: 650;
    font-size: 0.88rem;
    text-decoration: none;
    line-height: 1.4;
}

.rk-abv-link:hover { text-decoration: underline; }

.rk-abv-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.rk-abv-muted {
    margin: 0;
    color: var(--bv-muted);
    font-size: 0.92rem;
}

.rk-abv-note {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.8rem 0.9rem;
    border-radius: 1rem;
    background: #fff7ed;
    border: 1px solid rgba(239, 127, 26, 0.2);
    margin-bottom: 0.85rem;
}

.rk-abv-note i { color: var(--bv-orange); margin-top: 0.1rem; }
.rk-abv-note p { margin: 0; font-size: 0.86rem; color: #78716c; line-height: 1.4; }

@media (max-width: 991.98px) {
    .rk-abv-layout { grid-template-columns: 1fr; }
    .rk-abv-masthead-top { flex-direction: column; align-items: flex-start; }
    .rk-abv-hero-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575.98px) {
    .rk-abv-fields { grid-template-columns: 1fr; }
    .rk-abv-hero-stats { grid-template-columns: 1fr; }
    .rk-abv-top-actions { width: 100%; }
    .rk-abv-top-actions .rk-abv-btn { flex: 1; }
    .rk-abv-masthead-brand { align-items: flex-start; }
    .rk-abv-masthead-logo,
    .rk-abv-masthead-mark { width: 60px; height: 60px; border-radius: 16px; }
    .rk-abv-masthead-mark { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-abv::before,
    .rk-abv-masthead,
    .rk-abv-stat,
    .rk-abv-panel { animation: none !important; }
    .rk-abv-panel:hover,
    .rk-abv-btn:hover,
    .rk-abv-stat:hover,
    .rk-abv-field:hover { transform: none; }
}

/* Enhanced admin business plan page */
.rk-abp {
    --bp-ink: #1c1917;
    --bp-muted: #78716c;
    --bp-line: rgba(28, 25, 23, 0.08);
    --bp-orange: #EF7F1A;
    --bp-deep: #d96a0c;
    --bp-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-abp::before {
    content: "";
    position: absolute;
    inset: -1.2rem -0.4rem auto;
    height: 220px;
    background:
        radial-gradient(ellipse 50% 80% at 10% 0%, rgba(239, 127, 26, 0.15), transparent 60%),
        radial-gradient(ellipse 40% 70% at 90% 8%, rgba(66, 133, 244, 0.1), transparent 55%);
    pointer-events: none;
    z-index: -1;
    animation: rk-abp-aurora 10s ease-in-out infinite alternate;
}

@keyframes rk-abp-aurora {
    from { opacity: 0.85; transform: translateY(0); }
    to { opacity: 1; transform: translateY(8px); }
}

@keyframes rk-abp-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.rk-abp-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    animation: rk-abp-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-abp-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bp-orange);
}

.rk-abp-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--bp-ink);
}

.rk-abp-lead {
    margin: 0.35rem 0 0;
    color: var(--bp-muted);
    font-size: 0.95rem;
}

.rk-abp-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rk-abp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-abp-btn-sm { padding: 0.45rem 0.8rem; font-size: 0.8rem; }

.rk-abp-btn-primary {
    background: linear-gradient(135deg, var(--bp-orange), var(--bp-deep));
    color: #fff;
    box-shadow: 0 10px 22px rgba(239, 127, 26, 0.28);
}

.rk-abp-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 28px rgba(239, 127, 26, 0.38);
}

.rk-abp-btn-ghost {
    background: rgba(255,255,255,0.85);
    border-color: var(--bp-line);
    color: var(--bp-ink);
}

.rk-abp-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--bp-deep);
}

.rk-abp-btn-soft {
    background: var(--bp-soft);
    border-color: rgba(239, 127, 26, 0.18);
    color: var(--bp-deep);
}

.rk-abp-btn-soft:hover {
    transform: translateY(-2px);
    background: #ffedd5;
    color: var(--bp-deep);
}

.rk-abp-summary {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.25fr);
    gap: 1rem;
    margin-bottom: 1.15rem;
    align-items: start;
}

.rk-abp-current {
    position: relative;
    overflow: hidden;
    padding: 1.3rem 1.3rem 1.25rem;
    background: linear-gradient(165deg, rgba(255,247,237,0.95) 0%, rgba(255,255,255,0.98) 45%, #fff 100%);
    border: 1px solid var(--bp-line);
    border-radius: 1.5rem;
    box-shadow: 0 16px 36px rgba(28, 25, 23, 0.055);
    animation: rk-abp-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.07s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-abp-current.is-empty {
    background: linear-gradient(165deg, #fafaf9 0%, #fff 55%);
}

.rk-abp-current:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(28, 25, 23, 0.09);
}

.rk-abp-current-glow {
    position: absolute;
    inset: -40% -15% auto;
    height: 70%;
    background:
        radial-gradient(circle at 30% 80%, rgba(239, 127, 26, 0.22), transparent 60%),
        radial-gradient(circle at 85% 30%, rgba(66, 133, 244, 0.08), transparent 50%);
    pointer-events: none;
}

.rk-abp-current-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.rk-abp-label {
    margin: 0;
    position: relative;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-abp-empty-plan {
    position: relative;
    text-align: center;
    padding: 0.85rem 0.5rem 1.1rem;
}

.rk-abp-empty-plan-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    border-radius: 16px;
    background: #f5f5f4;
    color: #a8a29e;
    font-size: 1.4rem;
}

.rk-abp-empty-plan .rk-abp-plan-name {
    text-align: center;
}

.rk-abp-empty-plan .rk-abp-muted {
    max-width: 18rem;
    margin: 0.4rem auto 0.9rem;
    font-size: 0.88rem;
    line-height: 1.45;
}

.rk-abp-current-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0.65rem 0 0.85rem;
}

.rk-abp-plan-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--bp-soft);
    color: var(--bp-orange);
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(239, 127, 26, 0.15);
}

.rk-abp-plan-name {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--bp-ink);
}

.rk-abp-current-head p {
    margin: 0.15rem 0 0;
    color: var(--bp-muted);
    font-size: 0.85rem;
}

.rk-abp-pills {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.rk-abp-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: capitalize;
}

.rk-abp-pill-success { background: #ecfdf5; color: #047857; }
.rk-abp-pill-warn { background: #fff7ed; color: #c2410c; }
.rk-abp-pill-muted { background: #f5f5f4; color: #78716c; }
.rk-abp-pill-danger { background: #fef2f2; color: #b91c1c; }
.rk-abp-pill-soft { background: #e8f0fe; color: #1d4ed8; }

.rk-abp-meta {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.rk-abp-meta strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.95rem;
    font-weight: 750;
    color: var(--bp-ink);
}

.rk-abp-foot-stats {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bp-line);
}

.rk-abp-foot-stat {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-align: left;
    padding: 0.8rem 0.85rem;
    border-radius: 1.05rem;
    background: #fff;
    border: 1px solid var(--bp-line);
    box-shadow: 0 6px 14px rgba(28, 25, 23, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rk-abp-foot-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(28, 25, 23, 0.07);
}

.rk-abp-foot-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.rk-abp-foot-stat-orange .rk-abp-foot-icon { background: #fff7ed; color: #EF7F1A; }
.rk-abp-foot-stat-green .rk-abp-foot-icon { background: #ecfdf5; color: #34A853; }

.rk-abp-foot-stats strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--bp-ink);
    line-height: 1.1;
}

.rk-abp-foot-stats span {
    font-size: 0.7rem;
    font-weight: 700;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rk-abp-catalog,
.rk-abp-panel {
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--bp-line);
    border-radius: 1.45rem;
    padding: 1.15rem 1.2rem 1.25rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
    animation: rk-abp-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.07s);
}

.rk-abp-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.rk-abp-section-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--bp-ink);
}

.rk-abp-section-head p {
    margin: 0.2rem 0 0;
    font-size: 0.84rem;
    color: var(--bp-muted);
}

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

.rk-abp-plan-card {
    position: relative;
    padding: 1rem 1.05rem;
    border-radius: 1.15rem;
    border: 1px solid var(--bp-line);
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
    animation: rk-abp-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.3s + var(--d, 0) * 0.05s);
}

.rk-abp-plan-card-muted { background: linear-gradient(180deg, #fafaf9, #fff); }
.rk-abp-plan-card-blue { background: linear-gradient(180deg, #f8fbff, #fff); }
.rk-abp-plan-card-green { background: linear-gradient(180deg, #f6fdf9, #fff); }
.rk-abp-plan-card-orange { background: linear-gradient(180deg, #fffaf5, #fff); }

.rk-abp-plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 127, 26, 0.28);
    box-shadow: 0 14px 28px rgba(28, 25, 23, 0.08);
}

.rk-abp-plan-card.is-current {
    border-color: rgba(239, 127, 26, 0.45);
    background: linear-gradient(165deg, #fff7ed, #fff);
    box-shadow: 0 12px 28px rgba(239, 127, 26, 0.12);
}

.rk-abp-plan-card.is-inactive { opacity: 0.55; }

.rk-abp-badge {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: var(--bp-orange);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rk-abp-plan-card-top {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
    padding-right: 3.5rem;
}

.rk-abp-plan-card-top strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--bp-ink);
}

.rk-abp-plan-card-top span {
    font-size: 0.88rem;
    font-weight: 750;
    color: var(--bp-orange);
}

.rk-abp-plan-feats {
    list-style: none;
    margin: 0 0 0.85rem;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.rk-abp-plan-feats li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 650;
    color: #57534e;
}

.rk-abp-plan-feats i { color: var(--bp-orange); }

.rk-abp-plan-link {
    font-size: 0.82rem;
    font-weight: 750;
    color: var(--bp-deep);
    text-decoration: none;
}

.rk-abp-plan-link:hover { text-decoration: underline; }

.rk-abp-muted { color: var(--bp-muted); margin: 0.5rem 0 0; }

.rk-abp-empty {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.35rem 1.2rem;
    border-radius: 1.15rem;
    border: 1px dashed rgba(239, 127, 26, 0.3);
    background: #fffaf5;
    color: var(--bp-muted);
}

.rk-abp-empty-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid rgba(239, 127, 26, 0.2);
    color: var(--bp-orange);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.rk-abp-empty strong {
    display: block;
    color: var(--bp-ink);
    font-weight: 800;
    margin-bottom: 0.15rem;
}

.rk-abp-empty p { margin: 0; font-weight: 650; font-size: 0.86rem; }

.rk-abp-pay-list {
    display: grid;
    gap: 0.55rem;
}

.rk-abp-pay-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 0.8rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: 1.15rem;
    border: 1px solid var(--bp-line);
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 14px rgba(28, 25, 23, 0.025);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease;
    animation: rk-abp-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.35s + var(--d, 0) * 0.04s);
}

.rk-abp-pay-row:hover {
    background: #fffaf5;
    border-color: rgba(239, 127, 26, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(28, 25, 23, 0.07);
    color: inherit;
}

.rk-abp-pay-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff7ed;
    color: var(--bp-orange);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.rk-abp-pay-main strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--bp-ink);
}

.rk-abp-pay-main span {
    font-size: 0.78rem;
    color: var(--bp-muted);
    font-weight: 600;
}

.rk-abp-pay-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.rk-abp-pay-amount strong {
    font-weight: 800;
    color: var(--bp-ink);
    font-size: 1rem;
}

.rk-abp-pay-go {
    color: #d6d3d1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.rk-abp-pay-row:hover .rk-abp-pay-go {
    color: var(--bp-orange);
    transform: translateX(3px);
}

@media (max-width: 991.98px) {
    .rk-abp-summary { grid-template-columns: 1fr; }
    .rk-abp-plan-grid { grid-template-columns: 1fr; }
    .rk-abp-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
    .rk-abp-meta { grid-template-columns: 1fr; }
    .rk-abp-pay-row {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.55rem 0.75rem;
    }
    .rk-abp-pay-amount {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .rk-abp-pay-go { display: none; }
    .rk-abp-top-actions { width: 100%; }
    .rk-abp-top-actions .rk-abp-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-abp::before,
    .rk-abp-top,
    .rk-abp-current,
    .rk-abp-catalog,
    .rk-abp-panel,
    .rk-abp-plan-card,
    .rk-abp-pay-row { animation: none !important; }
    .rk-abp-current:hover,
    .rk-abp-plan-card:hover,
    .rk-abp-pay-row:hover,
    .rk-abp-btn:hover,
    .rk-abp-foot-stat:hover { transform: none; }
}

/* Enhanced admin business payments page */
.rk-abpay {
    --py-ink: #1c1917;
    --py-muted: #78716c;
    --py-line: rgba(28, 25, 23, 0.08);
    --py-orange: #EF7F1A;
    --py-deep: #d96a0c;
    --py-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-abpay::before {
    content: "";
    position: absolute;
    inset: -1.2rem -0.4rem auto;
    height: 220px;
    background:
        radial-gradient(ellipse 50% 80% at 10% 0%, rgba(239, 127, 26, 0.14), transparent 60%),
        radial-gradient(ellipse 40% 70% at 90% 8%, rgba(52, 168, 83, 0.1), transparent 55%);
    pointer-events: none;
    z-index: -1;
    animation: rk-abpay-aurora 10s ease-in-out infinite alternate;
}

@keyframes rk-abpay-aurora {
    from { opacity: 0.85; transform: translateY(0); }
    to { opacity: 1; transform: translateY(8px); }
}

@keyframes rk-abpay-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.rk-abpay-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    animation: rk-abpay-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-abpay-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--py-orange);
}

.rk-abpay-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--py-ink);
}

.rk-abpay-lead {
    margin: 0.35rem 0 0;
    color: var(--py-muted);
    font-size: 0.95rem;
    max-width: 36rem;
}

.rk-abpay-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rk-abpay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-abpay-btn-sm { padding: 0.45rem 0.8rem; font-size: 0.8rem; }

.rk-abpay-btn-primary {
    background: linear-gradient(135deg, var(--py-orange), var(--py-deep));
    color: #fff;
    box-shadow: 0 10px 22px rgba(239, 127, 26, 0.28);
}

.rk-abpay-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 28px rgba(239, 127, 26, 0.38);
}

.rk-abpay-btn-ghost {
    background: rgba(255,255,255,0.85);
    border-color: var(--py-line);
    color: var(--py-ink);
}

.rk-abpay-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--py-deep);
}

.rk-abpay-btn-soft {
    background: var(--py-soft);
    border-color: rgba(239, 127, 26, 0.18);
    color: var(--py-deep);
}

.rk-abpay-btn-soft:hover {
    transform: translateY(-2px);
    background: #ffedd5;
    color: var(--py-deep);
}

.rk-abpay-spotlight {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 1.35rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1c1917 0%, #292524 55%, #44403c 100%);
    border-radius: 1.45rem;
    color: #fff;
    box-shadow: 0 16px 36px rgba(28, 25, 23, 0.2);
    animation: rk-abpay-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-abpay-spotlight-glow {
    position: absolute;
    inset: -50% 35% auto -15%;
    height: 120%;
    background: radial-gradient(circle, rgba(239, 127, 26, 0.35), transparent 60%);
    pointer-events: none;
}

.rk-abpay-spotlight-main {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.rk-abpay-spotlight-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: rgba(239, 127, 26, 0.2);
    color: #fdba74;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.rk-abpay-spotlight-label {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-abpay-spotlight-main h2 {
    margin: 0.15rem 0 0;
    font-size: clamp(1.6rem, 2.8vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.rk-abpay-spotlight-main p {
    margin: 0.3rem 0 0;
    font-size: 0.86rem;
    color: #d6d3d1;
    font-weight: 600;
}

.rk-abpay-spotlight-meta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
}

.rk-abpay-spotlight-meta strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
}

.rk-abpay-spotlight-meta span {
    font-size: 0.72rem;
    font-weight: 700;
    color: #a8a29e;
}

.rk-abpay-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.rk-abpay-stat {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.05rem 1.1rem;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--py-line);
    border-radius: 1.25rem;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.045);
    animation: rk-abpay-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-abpay-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(28, 25, 23, 0.08);
}

.rk-abpay-stat-glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 70%;
    pointer-events: none;
}

.rk-abpay-stat-orange .rk-abpay-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(239, 127, 26, 0.2), transparent 65%); }
.rk-abpay-stat-green .rk-abpay-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(52, 168, 83, 0.18), transparent 65%); }
.rk-abpay-stat-blue .rk-abpay-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(66, 133, 244, 0.16), transparent 65%); }
.rk-abpay-stat-red .rk-abpay-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(234, 67, 53, 0.14), transparent 65%); }

.rk-abpay-stat-icon {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.rk-abpay-stat-orange .rk-abpay-stat-icon { background: #fff7ed; color: #EF7F1A; }
.rk-abpay-stat-green .rk-abpay-stat-icon { background: #ecfdf5; color: #34A853; }
.rk-abpay-stat-blue .rk-abpay-stat-icon { background: #e8f0fe; color: #4285F4; }
.rk-abpay-stat-red .rk-abpay-stat-icon { background: #fef2f2; color: #EA4335; }

.rk-abpay-stat strong {
    position: relative;
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--py-ink);
    line-height: 1.1;
}

.rk-abpay-stat span {
    position: relative;
    font-size: 0.75rem;
    font-weight: 700;
    color: #a8a29e;
}

.rk-abpay-panel {
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--py-line);
    border-radius: 1.45rem;
    padding: 1.2rem 1.25rem 1.3rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
    animation: rk-abpay-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-abpay-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.rk-abpay-panel-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--py-ink);
}

.rk-abpay-panel-head p {
    margin: 0.2rem 0 0;
    font-size: 0.84rem;
    color: var(--py-muted);
}

.rk-abpay-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.rk-abpay-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--py-line);
    background: #fff;
    color: #57534e;
    font-size: 0.78rem;
    font-weight: 750;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rk-abpay-chip:hover {
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--py-deep);
    transform: translateY(-1px);
}

.rk-abpay-chip.is-on {
    background: linear-gradient(135deg, var(--py-orange), var(--py-deep));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 16px rgba(239, 127, 26, 0.25);
}

.rk-abpay-empty {
    text-align: center;
    padding: 2.5rem 1.25rem;
    border-radius: 1.2rem;
    border: 1px dashed rgba(239, 127, 26, 0.3);
}

.rk-abpay-empty-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 0.85rem;
    border-radius: 16px;
    background: var(--py-soft);
    color: var(--py-orange);
    font-size: 1.5rem;
}

.rk-abpay-empty h3 {
    margin: 0 0 0.3rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.rk-abpay-empty p {
    margin: 0 0 0.85rem;
    color: var(--py-muted);
}

.rk-abpay-table-wrap {
    overflow-x: visible;
    margin: 0;
}

.rk-abpay-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 0;
}

.rk-abpay-table thead th {
    padding: 0.75rem 0.85rem;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a29e;
    background: #fafaf9;
    border-bottom: 1px solid var(--py-line);
    white-space: nowrap;
}

.rk-abpay-table tbody td {
    padding: 0.9rem 0.85rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

.rk-abpay-table tbody tr:last-child td {
    border-bottom: 0;
}

.rk-abpay-table tbody tr {
    transition: background 0.2s ease;
}

.rk-abpay-table tbody tr:hover {
    background: #fffaf5;
}

.rk-abpay-table-plan {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.rk-abpay-table-plan strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--py-ink);
}

.rk-abpay-table-date {
    font-size: 0.84rem;
    font-weight: 650;
    color: var(--py-muted);
    white-space: nowrap;
}

.rk-abpay-table-amount {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--py-ink);
    white-space: nowrap;
}

.rk-abpay-table-ref {
    display: block;
    max-width: 100%;
    padding: 0.28rem 0.5rem;
    border-radius: 0.5rem;
    background: #f5f5f4;
    border: 1px solid rgba(28, 25, 23, 0.06);
    font-size: 0.72rem;
    font-weight: 650;
    color: #57534e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rk-abpay-table-actions-col {
    width: 6.5rem;
    white-space: nowrap;
}

.rk-abpay-table thead th:nth-child(1),
.rk-abpay-table tbody td:nth-child(1) { width: 14%; }
.rk-abpay-table thead th:nth-child(2),
.rk-abpay-table tbody td:nth-child(2) { width: 12%; }
.rk-abpay-table thead th:nth-child(3),
.rk-abpay-table tbody td:nth-child(3) { width: 10%; }
.rk-abpay-table thead th:nth-child(4),
.rk-abpay-table tbody td:nth-child(4) { width: 12%; }
.rk-abpay-table thead th:nth-child(5),
.rk-abpay-table tbody td:nth-child(5) { width: 13%; }
.rk-abpay-table thead th:nth-child(6),
.rk-abpay-table tbody td:nth-child(6) { width: 13%; }
.rk-abpay-table thead th:nth-child(7),
.rk-abpay-table tbody td:nth-child(7) { width: 8%; }
.rk-abpay-table thead th:nth-child(8),
.rk-abpay-table tbody td:nth-child(8) { width: 8%; }

.rk-abpay-table .rk-abpay-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    font-size: 0.95rem;
}

.rk-abpay-table-plan strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rk-abpay-table-date,
.rk-abpay-table-amount,
.rk-abpay-provider {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: block;
}

.rk-abpay-table thead th,
.rk-abpay-table tbody td {
    padding: 0.75rem 0.55rem;
}

@media (max-width: 1199.98px) {
    .rk-abpay-table thead th:nth-child(8),
    .rk-abpay-table tbody td:nth-child(8),
    .rk-abpay-table thead th:nth-child(4),
    .rk-abpay-table tbody td:nth-child(4) {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .rk-abpay-table thead th:nth-child(5),
    .rk-abpay-table tbody td:nth-child(5),
    .rk-abpay-table thead th:nth-child(6),
    .rk-abpay-table tbody td:nth-child(6) {
        display: none;
    }
}

.rk-abpay-list {
    display: grid;
    gap: 0.75rem;
}

.rk-abpay-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1.3fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1.05rem 1.15rem;
    border-radius: 1.25rem;
    border: 1px solid var(--py-line);
    background: #fff;
    box-shadow: 0 10px 24px rgba(28, 25, 23, 0.035);
    animation: rk-abpay-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.28s + var(--d, 0) * 0.04s);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.rk-abpay-card:hover {
    transform: translateY(-3px);
    border-color: rgba(239, 127, 26, 0.25);
    box-shadow: 0 18px 36px rgba(28, 25, 23, 0.08);
}

.rk-abpay-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
    min-width: 0;
}

.rk-abpay-card-plan {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    min-width: 0;
}

.rk-abpay-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--py-soft);
    color: var(--py-orange);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.rk-abpay-card-plan strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--py-ink);
}

.rk-abpay-card-plan span {
    font-size: 0.78rem;
    color: var(--py-muted);
    font-weight: 600;
}

.rk-abpay-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: capitalize;
    flex-shrink: 0;
}

.rk-abpay-pill-success { background: #ecfdf5; color: #047857; }
.rk-abpay-pill-warn { background: #fff7ed; color: #c2410c; }
.rk-abpay-pill-danger { background: #fef2f2; color: #b91c1c; }
.rk-abpay-pill-muted { background: #f5f5f4; color: #78716c; }

.rk-abpay-card-amount {
    text-align: right;
    min-width: 7rem;
}

.rk-abpay-card-amount strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--py-ink);
}

.rk-abpay-card-amount span {
    font-size: 0.74rem;
    font-weight: 650;
    color: var(--py-muted);
}

.rk-abpay-card-refs {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.rk-abpay-label {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-abpay-card-refs code {
    display: block;
    font-size: 0.75rem;
    font-weight: 650;
    background: #fafaf9;
    padding: 0.3rem 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--py-line);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--py-ink);
}

.rk-abpay-card-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.rk-abpay-provider {
    font-size: 0.72rem;
    font-weight: 750;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 1100px) {
    .rk-abpay-card {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    .rk-abpay-card-top { grid-column: 1 / -1; }
    .rk-abpay-card-amount { text-align: left; }
    .rk-abpay-card-foot {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        grid-column: 1 / -1;
        border-top: 1px solid var(--py-line);
        padding-top: 0.75rem;
    }
}

@media (max-width: 991.98px) {
    .rk-abpay-stats { grid-template-columns: 1fr 1fr; }
    .rk-abpay-top { flex-direction: column; align-items: flex-start; }
    .rk-abpay-spotlight { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
    .rk-abpay-stats { grid-template-columns: 1fr; }
    .rk-abpay-card { grid-template-columns: 1fr; }
    .rk-abpay-top-actions { width: 100%; }
    .rk-abpay-top-actions .rk-abpay-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-abpay::before,
    .rk-abpay-top,
    .rk-abpay-stat,
    .rk-abpay-panel,
    .rk-abpay-card,
    .rk-abpay-spotlight { animation: none !important; }
    .rk-abpay-stat:hover,
    .rk-abpay-card:hover,
    .rk-abpay-btn:hover,
    .rk-abpay-chip:hover { transform: none; }
}

/* Enhanced admin plans catalog */
.rk-apl {
    --pl-ink: #1c1917;
    --pl-muted: #78716c;
    --pl-line: rgba(28, 25, 23, 0.08);
    --pl-orange: #EF7F1A;
    --pl-deep: #d96a0c;
    --pl-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-apl::before {
    content: "";
    position: absolute;
    inset: -1.2rem -0.4rem auto;
    height: 220px;
    background:
        radial-gradient(ellipse 50% 80% at 8% 0%, rgba(239, 127, 26, 0.14), transparent 60%),
        radial-gradient(ellipse 40% 70% at 92% 10%, rgba(66, 133, 244, 0.1), transparent 55%);
    pointer-events: none;
    z-index: -1;
    animation: rk-apl-aurora 10s ease-in-out infinite alternate;
}

@keyframes rk-apl-aurora {
    from { opacity: 0.85; transform: translateY(0); }
    to { opacity: 1; transform: translateY(8px); }
}

@keyframes rk-apl-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.rk-apl-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    animation: rk-apl-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-apl-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pl-orange);
}

.rk-apl-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--pl-ink);
}

.rk-apl-lead {
    margin: 0.35rem 0 0;
    color: var(--pl-muted);
    font-size: 0.95rem;
    max-width: 36rem;
}

.rk-apl-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rk-apl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-apl-btn-sm { padding: 0.45rem 0.8rem; font-size: 0.8rem; }

.rk-apl-btn-primary {
    background: linear-gradient(135deg, var(--pl-orange), var(--pl-deep));
    color: #fff;
    box-shadow: 0 10px 22px rgba(239, 127, 26, 0.28);
}

.rk-apl-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 28px rgba(239, 127, 26, 0.38);
}

.rk-apl-btn-ghost {
    background: rgba(255,255,255,0.85);
    border-color: var(--pl-line);
    color: var(--pl-ink);
}

.rk-apl-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--pl-deep);
}

.rk-apl-btn-soft {
    background: var(--pl-soft);
    border-color: rgba(239, 127, 26, 0.18);
    color: var(--pl-deep);
}

.rk-apl-btn-soft:hover {
    transform: translateY(-2px);
    background: #ffedd5;
    color: var(--pl-deep);
}

.rk-apl-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.rk-apl-stat {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.05rem 1.1rem;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--pl-line);
    border-radius: 1.25rem;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.045);
    animation: rk-apl-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-apl-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(28, 25, 23, 0.08);
}

.rk-apl-stat-glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 70%;
    pointer-events: none;
}

.rk-apl-stat-orange .rk-apl-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(239, 127, 26, 0.2), transparent 65%); }
.rk-apl-stat-green .rk-apl-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(52, 168, 83, 0.18), transparent 65%); }
.rk-apl-stat-blue .rk-apl-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(66, 133, 244, 0.16), transparent 65%); }
.rk-apl-stat-teal .rk-apl-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(20, 184, 166, 0.16), transparent 65%); }

.rk-apl-stat-icon {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.rk-apl-stat-orange .rk-apl-stat-icon { background: #fff7ed; color: #EF7F1A; }
.rk-apl-stat-green .rk-apl-stat-icon { background: #ecfdf5; color: #34A853; }
.rk-apl-stat-blue .rk-apl-stat-icon { background: #e8f0fe; color: #4285F4; }
.rk-apl-stat-teal .rk-apl-stat-icon { background: #f0fdfa; color: #0d9488; }

.rk-apl-stat strong {
    position: relative;
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--pl-ink);
    line-height: 1.1;
}

.rk-apl-stat span {
    position: relative;
    font-size: 0.75rem;
    font-weight: 700;
    color: #a8a29e;
}

.rk-apl-empty {
    text-align: center;
    padding: 2.8rem 1.5rem;
    background: rgba(255,255,255,0.95);
    border: 1px dashed rgba(239, 127, 26, 0.3);
    border-radius: 1.45rem;
    animation: rk-apl-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-apl-empty-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 0.85rem;
    border-radius: 16px;
    background: var(--pl-soft);
    color: var(--pl-orange);
    font-size: 1.5rem;
}

.rk-apl-empty h2 {
    margin: 0 0 0.3rem;
    font-size: 1.15rem;
    font-weight: 800;
}

.rk-apl-empty p {
    margin: 0 0 1rem;
    color: var(--pl-muted);
}

.rk-apl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.rk-apl-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.3rem 1.25rem 1.2rem;
    background: rgba(255,255,255,0.97);
    border: 1px solid var(--pl-line);
    border-radius: 1.5rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
    animation: rk-apl-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.22s + var(--d, 0) * 0.05s);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.rk-apl-card-muted { background: linear-gradient(180deg, #fafaf9 0%, #fff 40%); }
.rk-apl-card-blue { background: linear-gradient(180deg, #f8fbff 0%, #fff 40%); }
.rk-apl-card-green { background: linear-gradient(180deg, #f3fdf7 0%, #fff 42%); }
.rk-apl-card-orange { background: linear-gradient(180deg, #fffaf5 0%, #fff 40%); }

.rk-apl-card:hover {
    transform: translateY(-6px);
    border-color: rgba(239, 127, 26, 0.28);
    box-shadow: 0 24px 48px rgba(28, 25, 23, 0.11);
}

.rk-apl-card.is-featured {
    border-color: rgba(52, 168, 83, 0.35);
    box-shadow: 0 18px 40px rgba(52, 168, 83, 0.12);
    transform: scale(1.02);
}

.rk-apl-card.is-featured:hover {
    transform: scale(1.02) translateY(-4px);
    border-color: rgba(52, 168, 83, 0.5);
}

.rk-apl-card.is-inactive {
    opacity: 0.72;
    transform: none;
}

.rk-apl-ribbon {
    position: absolute;
    top: 0.95rem;
    right: -2.1rem;
    z-index: 2;
    padding: 0.28rem 2.4rem;
    background: linear-gradient(135deg, #34A853, #059669);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transform: rotate(35deg);
    box-shadow: 0 6px 14px rgba(52, 168, 83, 0.3);
}

.rk-apl-card-glow {
    position: absolute;
    inset: -30% -10% auto;
    height: 55%;
    pointer-events: none;
}

.rk-apl-card-orange .rk-apl-card-glow { background: radial-gradient(circle at 30% 80%, rgba(239, 127, 26, 0.16), transparent 65%); }
.rk-apl-card-blue .rk-apl-card-glow { background: radial-gradient(circle at 30% 80%, rgba(66, 133, 244, 0.14), transparent 65%); }
.rk-apl-card-green .rk-apl-card-glow { background: radial-gradient(circle at 30% 80%, rgba(52, 168, 83, 0.16), transparent 65%); }
.rk-apl-card-muted .rk-apl-card-glow { background: radial-gradient(circle at 30% 80%, rgba(168, 162, 158, 0.16), transparent 65%); }

.rk-apl-card-top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
}

.rk-apl-card-name {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    min-width: 0;
}

.rk-apl-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    box-shadow: 0 6px 14px rgba(28, 25, 23, 0.06);
}

.rk-apl-card-orange .rk-apl-card-icon { background: #fff7ed; color: #EF7F1A; }
.rk-apl-card-blue .rk-apl-card-icon { background: #e8f0fe; color: #4285F4; }
.rk-apl-card-green .rk-apl-card-icon { background: #ecfdf5; color: #34A853; }
.rk-apl-card-muted .rk-apl-card-icon { background: #f5f5f4; color: #78716c; }

.rk-apl-card-name strong {
    display: block;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--pl-ink);
}

.rk-apl-card-name span {
    font-size: 0.78rem;
    color: var(--pl-muted);
    font-weight: 600;
}

.rk-apl-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    flex-shrink: 0;
}

.rk-apl-pill-success { background: #ecfdf5; color: #047857; }
.rk-apl-pill-muted { background: #f5f5f4; color: #78716c; }

.rk-apl-card-price {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.rk-apl-card-price strong {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--pl-ink);
    line-height: 1;
}

.rk-apl-card-price span {
    font-size: 0.82rem;
    font-weight: 650;
    color: var(--pl-muted);
}

.rk-apl-yearly {
    position: relative;
    margin: -0.35rem 0 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #a8a29e;
}

.rk-apl-desc {
    position: relative;
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--pl-muted);
    font-weight: 600;
    min-height: 2.5em;
}

.rk-apl-subs {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--pl-line);
    font-size: 0.78rem;
    font-weight: 700;
    color: #57534e;
}

.rk-apl-subs i { color: var(--pl-orange); }
.rk-apl-subs em {
    font-style: normal;
    font-weight: 800;
    color: var(--pl-ink);
}

.rk-apl-feats {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0.85rem 0 0;
    border-top: 1px solid var(--pl-line);
    display: grid;
    gap: 0.5rem;
    flex: 1;
}

.rk-apl-feats li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    color: var(--pl-ink);
    font-weight: 600;
}

.rk-apl-feats li i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #fafaf9;
    color: var(--pl-orange);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.rk-apl-feats li em {
    font-style: normal;
    font-weight: 800;
}

.rk-apl-feats li.is-on i {
    background: #ecfdf5;
    color: #059669;
}

.rk-apl-feats li.is-off {
    color: #a8a29e;
}

.rk-apl-feats li.is-off i {
    background: #f5f5f4;
    color: #a8a29e;
}

.rk-apl-feats li.is-extras {
    color: #57534e;
    font-size: 0.82rem;
}

.rk-apl-feats li.is-extras i {
    background: #fff7ed;
    color: var(--pl-orange);
}

.rk-apl-card-foot {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    border-top: 1px solid var(--pl-line);
    padding-top: 0.95rem;
    margin-top: auto;
}

.rk-apl-card-foot form {
    display: inline;
    margin: 0;
}

@media (max-width: 991.98px) {
    .rk-apl-stats { grid-template-columns: 1fr 1fr; }
    .rk-apl-grid { grid-template-columns: 1fr 1fr; }
    .rk-apl-top { flex-direction: column; align-items: flex-start; }
    .rk-apl-card.is-featured { transform: none; }
    .rk-apl-card.is-featured:hover { transform: translateY(-4px); }
}

@media (max-width: 575.98px) {
    .rk-apl-stats,
    .rk-apl-grid { grid-template-columns: 1fr; }
    .rk-apl-top-actions { width: 100%; }
    .rk-apl-top-actions .rk-apl-btn { flex: 1; }
    .rk-apl-ribbon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-apl::before,
    .rk-apl-top,
    .rk-apl-stat,
    .rk-apl-empty,
    .rk-apl-card { animation: none !important; }
    .rk-apl-stat:hover,
    .rk-apl-card:hover,
    .rk-apl-card.is-featured,
    .rk-apl-card.is-featured:hover,
    .rk-apl-btn:hover { transform: none; }
}

/* Enhanced admin plan create/edit form */
.rk-apf {
    --pf-ink: #1c1917;
    --pf-muted: #78716c;
    --pf-line: rgba(28, 25, 23, 0.08);
    --pf-orange: #EF7F1A;
    --pf-deep: #d96a0c;
    --pf-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-apf::before {
    content: "";
    position: absolute;
    inset: -1.2rem -0.4rem auto;
    height: 220px;
    background:
        radial-gradient(ellipse 50% 80% at 10% 0%, rgba(239, 127, 26, 0.14), transparent 60%),
        radial-gradient(ellipse 40% 70% at 90% 8%, rgba(52, 168, 83, 0.08), transparent 55%);
    pointer-events: none;
    z-index: -1;
    animation: rk-apf-aurora 10s ease-in-out infinite alternate;
}

@keyframes rk-apf-aurora {
    from { opacity: 0.85; transform: translateY(0); }
    to { opacity: 1; transform: translateY(8px); }
}

@keyframes rk-apf-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.rk-apf-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    animation: rk-apf-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-apf-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pf-orange);
}

.rk-apf-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--pf-ink);
}

.rk-apf-lead {
    margin: 0.35rem 0 0;
    color: var(--pf-muted);
    font-size: 0.95rem;
    max-width: 36rem;
}

.rk-apf-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rk-apf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.65rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-apf-btn-primary {
    background: linear-gradient(135deg, var(--pf-orange), var(--pf-deep));
    color: #fff;
    box-shadow: 0 10px 22px rgba(239, 127, 26, 0.28);
}

.rk-apf-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 28px rgba(239, 127, 26, 0.38);
}

.rk-apf-btn-ghost {
    background: rgba(255,255,255,0.85);
    border-color: var(--pf-line);
    color: var(--pf-ink);
}

.rk-apf-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--pf-deep);
}

.rk-apf-btn-soft {
    background: var(--pf-soft);
    border-color: rgba(239, 127, 26, 0.18);
    color: var(--pf-deep);
}

.rk-apf-btn-soft:hover {
    transform: translateY(-2px);
    background: #ffedd5;
    color: var(--pf-deep);
}

.rk-apf-top-actions form {
    display: inline;
    margin: 0;
}

.rk-apf-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.rk-apf-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--pf-line);
    font-size: 0.76rem;
    font-weight: 700;
    color: #57534e;
}

.rk-apf-meta-chip.is-on {
    background: #ecfdf5;
    border-color: rgba(52, 168, 83, 0.2);
    color: #047857;
}

.rk-apf-meta-chip.is-off {
    background: #f5f5f4;
    color: #78716c;
}

.rk-apf-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.rk-apf-stat {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.05rem 1.1rem;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--pf-line);
    border-radius: 1.25rem;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.045);
    animation: rk-apf-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-apf-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(28, 25, 23, 0.08);
}

.rk-apf-stat-glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 70%;
    pointer-events: none;
}

.rk-apf-stat-orange .rk-apf-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(239, 127, 26, 0.2), transparent 65%); }
.rk-apf-stat-green .rk-apf-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(52, 168, 83, 0.18), transparent 65%); }
.rk-apf-stat-blue .rk-apf-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(66, 133, 244, 0.16), transparent 65%); }
.rk-apf-stat-teal .rk-apf-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(20, 184, 166, 0.16), transparent 65%); }

.rk-apf-stat-icon {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.rk-apf-stat-orange .rk-apf-stat-icon { background: #fff7ed; color: #EF7F1A; }
.rk-apf-stat-green .rk-apf-stat-icon { background: #ecfdf5; color: #34A853; }
.rk-apf-stat-blue .rk-apf-stat-icon { background: #e8f0fe; color: #4285F4; }
.rk-apf-stat-teal .rk-apf-stat-icon { background: #f0fdfa; color: #0d9488; }

.rk-apf-stat strong {
    position: relative;
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--pf-ink);
    line-height: 1.1;
}

.rk-apf-stat span {
    position: relative;
    font-size: 0.75rem;
    font-weight: 700;
    color: #a8a29e;
}

.rk-apf-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
    gap: 1.1rem;
    align-items: start;
}

.rk-apf-form {
    display: grid;
    gap: 0.95rem;
}

.rk-apf-panel {
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--pf-line);
    border-radius: 1.35rem;
    padding: 1.2rem 1.25rem 1.3rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
    animation: rk-apf-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-apf-panel-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.rk-apf-panel-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff7ed;
    color: #EF7F1A;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rk-apf-panel-icon-green { background: #ecfdf5; color: #34A853; }
.rk-apf-panel-icon-blue { background: #e8f0fe; color: #4285F4; }
.rk-apf-panel-icon-teal { background: #f0fdfa; color: #0d9488; }

.rk-apf-panel-head h2 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--pf-ink);
}

.rk-apf-panel-head p {
    margin: 0.15rem 0 0;
    font-size: 0.82rem;
    color: var(--pf-muted);
}

.rk-apf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 0.95rem;
}

.rk-apf-span-2 { grid-column: 1 / -1; }

.rk-apf-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    font-weight: 750;
    color: #57534e;
}

.rk-apf-input {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0 0.9rem;
    background: #fff;
    border: 1px solid var(--pf-line);
    border-radius: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rk-apf-input:focus-within {
    border-color: rgba(239, 127, 26, 0.45);
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.12);
}

.rk-apf-input i {
    color: #a8a29e;
    font-size: 1rem;
    flex-shrink: 0;
}

.rk-apf-input input,
.rk-apf-field textarea,
.rk-apf-field select {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.72rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pf-ink);
    font-family: inherit;
    outline: none;
}

.rk-apf-field textarea,
.rk-apf-field select {
    padding: 0.72rem 0.9rem;
    border: 1px solid var(--pf-line);
    border-radius: 0.9rem;
    background: #fff;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rk-apf-field textarea:focus,
.rk-apf-field select:focus {
    border-color: rgba(239, 127, 26, 0.45);
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.12);
    outline: none;
}

.rk-apf-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%78716c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2rem;
}

.rk-apf-hint {
    margin: 0.35rem 0 0;
    font-size: 0.76rem;
    color: #a8a29e;
    font-weight: 600;
}

.rk-apf-presets {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding: 0.7rem 0.85rem;
    border-radius: 1rem;
    background: #fafaf9;
    border: 1px solid var(--pf-line);
}

.rk-apf-presets-label {
    font-size: 0.74rem;
    font-weight: 750;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 0.25rem;
}

.rk-apf-preset {
    border: 1px solid var(--pf-line);
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 750;
    color: #57534e;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rk-apf-preset:hover {
    transform: translateY(-1px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--pf-deep);
}

.rk-apf-preset.is-on {
    background: linear-gradient(135deg, var(--pf-orange), var(--pf-deep));
    border-color: transparent;
    color: #fff;
}

.rk-apf-toggles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 1rem;
}

.rk-apf-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 0.95rem;
    border: 1px solid var(--pf-line);
    border-radius: 1rem;
    background: #fafaf9;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rk-apf-toggle:hover {
    border-color: rgba(239, 127, 26, 0.3);
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(28, 25, 23, 0.05);
}

.rk-apf-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rk-apf-toggle-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.rk-apf-toggle-copy strong {
    font-size: 0.88rem;
    font-weight: 750;
    color: var(--pf-ink);
}

.rk-apf-toggle-copy em {
    font-style: normal;
    font-size: 0.74rem;
    color: var(--pf-muted);
    font-weight: 600;
}

.rk-apf-switch {
    position: relative;
    width: 44px;
    height: 26px;
    border-radius: 999px;
    background: #d6d3d1;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.rk-apf-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(28, 25, 23, 0.18);
    transition: transform 0.2s ease;
}

.rk-apf-toggle input:checked + .rk-apf-switch {
    background: linear-gradient(135deg, var(--pf-orange), var(--pf-deep));
}

.rk-apf-toggle input:checked + .rk-apf-switch::after {
    transform: translateX(18px);
}

.rk-apf-toggle:has(input:checked) {
    background: #fff7ed;
    border-color: rgba(239, 127, 26, 0.25);
}

.rk-apf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    animation: rk-apf-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-apf-aside {
    display: grid;
    gap: 0.95rem;
    position: sticky;
    top: 1rem;
}

.rk-apf-preview {
    position: relative;
    overflow: hidden;
    padding: 1.3rem 1.25rem 1.35rem;
    background: rgba(255,255,255,0.97);
    border: 1px solid var(--pf-line);
    border-radius: 1.45rem;
    box-shadow: 0 16px 36px rgba(28, 25, 23, 0.06);
    animation: rk-apf-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-apf-preview-glow {
    position: absolute;
    inset: -35% -15% auto;
    height: 55%;
    background: radial-gradient(circle at 40% 80%, rgba(239, 127, 26, 0.18), transparent 65%);
    pointer-events: none;
}

.rk-apf-preview-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.rk-apf-preview-badge {
    display: inline-flex;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    background: #ecfdf5;
    color: #047857;
}

.rk-apf-preview-badge.is-draft {
    background: #f5f5f4;
    color: #78716c;
}

.rk-apf-preview-order {
    font-size: 0.75rem;
    font-weight: 700;
    color: #a8a29e;
}

.rk-apf-preview-name {
    position: relative;
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--pf-ink);
}

.rk-apf-preview-slug {
    position: relative;
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    font-weight: 650;
    color: var(--pf-muted);
}

.rk-apf-preview-price {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin: 0.9rem 0 0.65rem;
}

.rk-apf-preview-price strong {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--pf-ink);
    line-height: 1;
}

.rk-apf-preview-price span {
    font-size: 0.85rem;
    font-weight: 650;
    color: var(--pf-muted);
}

.rk-apf-preview-year {
    position: relative;
    margin: -0.35rem 0 0.65rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #a8a29e;
}

.rk-apf-preview-desc {
    position: relative;
    margin: 0 0 1rem;
    font-size: 0.88rem;
    color: var(--pf-muted);
    line-height: 1.45;
    min-height: 2.6em;
}

.rk-apf-preview-limits {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.rk-apf-preview-limits li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    font-weight: 650;
    color: var(--pf-ink);
}

.rk-apf-preview-limits li.is-off {
    color: #a8a29e;
}

.rk-apf-preview-limits li.is-off i {
    background: #f5f5f4;
    color: #a8a29e;
}

.rk-apf-preview-limits i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--pf-soft);
    color: var(--pf-orange);
    font-size: 0.85rem;
}

.rk-apf-preview-flags {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.9rem;
}

.rk-apf-preview-flags span {
    display: inline-flex;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid rgba(239, 127, 26, 0.18);
    font-size: 0.72rem;
    font-weight: 750;
    color: var(--pf-deep);
}

.rk-apf-tips {
    padding: 1.15rem 1.2rem;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--pf-line);
    border-radius: 1.35rem;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.04);
    animation: rk-apf-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-apf-tips h3 {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--pf-ink);
}

.rk-apf-tip-cards {
    display: grid;
    gap: 0.55rem;
}

.rk-apf-tip-card {
    padding: 0.8rem 0.85rem;
    border-radius: 1rem;
    border: 1px solid var(--pf-line);
    background: #fafaf9;
}

.rk-apf-tip-card-blue { background: linear-gradient(180deg, #f8fbff, #fff); }
.rk-apf-tip-card-green { background: linear-gradient(180deg, #f6fdf9, #fff); }

.rk-apf-tip-card strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--pf-ink);
}

.rk-apf-tip-card > span {
    display: block;
    margin: 0.15rem 0 0.45rem;
    font-size: 0.8rem;
    font-weight: 750;
    color: var(--pf-orange);
}

.rk-apf-tip-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.2rem;
}

.rk-apf-tip-card li {
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--pf-muted);
}

@media (max-width: 991.98px) {
    .rk-apf-layout { grid-template-columns: 1fr; }
    .rk-apf-aside { position: static; }
    .rk-apf-top { flex-direction: column; align-items: flex-start; }
    .rk-apf-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575.98px) {
    .rk-apf-grid,
    .rk-apf-toggles { grid-template-columns: 1fr; }
    .rk-apf-actions { width: 100%; }
    .rk-apf-actions .rk-apf-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-apf::before,
    .rk-apf-top,
    .rk-apf-panel,
    .rk-apf-actions,
    .rk-apf-preview,
    .rk-apf-tips,
    .rk-apf-stat { animation: none !important; }
    .rk-apf-btn:hover,
    .rk-apf-toggle:hover,
    .rk-apf-preset:hover,
    .rk-apf-stat:hover { transform: none; }
}

/* Enhanced admin subscriptions list */
.rk-asub {
    --su-ink: #1c1917;
    --su-muted: #78716c;
    --su-line: rgba(28, 25, 23, 0.08);
    --su-orange: #EF7F1A;
    --su-deep: #d96a0c;
    --su-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-asub::before {
    content: "";
    position: absolute;
    inset: -1.2rem -0.4rem auto;
    height: 220px;
    background:
        radial-gradient(ellipse 50% 80% at 10% 0%, rgba(239, 127, 26, 0.14), transparent 60%),
        radial-gradient(ellipse 40% 70% at 90% 8%, rgba(66, 133, 244, 0.1), transparent 55%);
    pointer-events: none;
    z-index: -1;
    animation: rk-asub-aurora 10s ease-in-out infinite alternate;
}

@keyframes rk-asub-aurora {
    from { opacity: 0.85; transform: translateY(0); }
    to { opacity: 1; transform: translateY(8px); }
}

@keyframes rk-asub-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.rk-asub-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    animation: rk-asub-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-asub-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--su-orange);
}

.rk-asub-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--su-ink);
}

.rk-asub-lead {
    margin: 0.35rem 0 0;
    color: var(--su-muted);
    font-size: 0.95rem;
    max-width: 36rem;
}

.rk-asub-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rk-asub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-asub-btn-sm { padding: 0.45rem 0.8rem; font-size: 0.8rem; }

.rk-asub-btn-primary {
    background: linear-gradient(135deg, var(--su-orange), var(--su-deep));
    color: #fff;
    box-shadow: 0 10px 22px rgba(239, 127, 26, 0.28);
}

.rk-asub-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 28px rgba(239, 127, 26, 0.38);
}

.rk-asub-btn-ghost {
    background: rgba(255,255,255,0.85);
    border-color: var(--su-line);
    color: var(--su-ink);
}

.rk-asub-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--su-deep);
}

.rk-asub-btn-soft {
    background: var(--su-soft);
    border-color: rgba(239, 127, 26, 0.18);
    color: var(--su-deep);
}

.rk-asub-btn-soft:hover {
    transform: translateY(-2px);
    background: #ffedd5;
    color: var(--su-deep);
}

.rk-asub-spotlight {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 1.35rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1c1917 0%, #292524 55%, #44403c 100%);
    border-radius: 1.45rem;
    color: #fff;
    box-shadow: 0 16px 36px rgba(28, 25, 23, 0.2);
    animation: rk-asub-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-asub-spotlight-glow {
    position: absolute;
    inset: -50% 35% auto -15%;
    height: 120%;
    background: radial-gradient(circle, rgba(239, 127, 26, 0.35), transparent 60%);
    pointer-events: none;
}

.rk-asub-spotlight-main {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.rk-asub-spotlight-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: rgba(239, 127, 26, 0.2);
    color: #fdba74;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.rk-asub-spotlight-label {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-asub-spotlight-main h2 {
    margin: 0.15rem 0 0;
    font-size: clamp(1.6rem, 2.8vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.rk-asub-spotlight-main p {
    margin: 0.3rem 0 0;
    font-size: 0.86rem;
    color: #d6d3d1;
    font-weight: 600;
}

.rk-asub-spotlight-meta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
}

.rk-asub-spotlight-meta strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
}

.rk-asub-spotlight-meta span {
    font-size: 0.72rem;
    font-weight: 700;
    color: #a8a29e;
}

.rk-asub-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.rk-asub-stat {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.05rem 1.1rem;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--su-line);
    border-radius: 1.25rem;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.045);
    text-decoration: none;
    color: inherit;
    animation: rk-asub-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease;
}

.rk-asub-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(28, 25, 23, 0.08);
    border-color: rgba(239, 127, 26, 0.25);
    color: inherit;
}

.rk-asub-stat.is-selected {
    border-color: rgba(239, 127, 26, 0.4);
    box-shadow: 0 14px 30px rgba(239, 127, 26, 0.12);
}

.rk-asub-stat-glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 70%;
    pointer-events: none;
}

.rk-asub-stat-orange .rk-asub-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(239, 127, 26, 0.2), transparent 65%); }
.rk-asub-stat-green .rk-asub-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(52, 168, 83, 0.18), transparent 65%); }
.rk-asub-stat-blue .rk-asub-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(66, 133, 244, 0.16), transparent 65%); }
.rk-asub-stat-red .rk-asub-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(234, 67, 53, 0.14), transparent 65%); }

.rk-asub-stat-icon {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.rk-asub-stat-orange .rk-asub-stat-icon { background: #fff7ed; color: #EF7F1A; }
.rk-asub-stat-green .rk-asub-stat-icon { background: #ecfdf5; color: #34A853; }
.rk-asub-stat-blue .rk-asub-stat-icon { background: #e8f0fe; color: #4285F4; }
.rk-asub-stat-red .rk-asub-stat-icon { background: #fef2f2; color: #EA4335; }

.rk-asub-stat strong {
    position: relative;
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--su-ink);
    line-height: 1.1;
}

.rk-asub-stat span {
    position: relative;
    font-size: 0.75rem;
    font-weight: 700;
    color: #a8a29e;
}

.rk-asub-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--su-line);
    border-radius: 1.25rem;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.04);
    animation: rk-asub-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-asub-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 160px;
}

.rk-asub-filter-grow { flex: 1 1 220px; }

.rk-asub-filter-field label {
    font-size: 0.76rem;
    font-weight: 750;
    color: #57534e;
}

.rk-asub-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.85rem;
    background: #fff;
    border: 1px solid var(--su-line);
    border-radius: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rk-asub-input:focus-within {
    border-color: rgba(239, 127, 26, 0.45);
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.12);
}

.rk-asub-input i { color: #a8a29e; }

.rk-asub-input input,
.rk-asub-filter-field select {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.68rem 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--su-ink);
    font-family: inherit;
    outline: none;
}

.rk-asub-filter-field select {
    padding: 0.68rem 0.85rem;
    border: 1px solid var(--su-line);
    border-radius: 0.9rem;
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%78716c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2rem;
}

.rk-asub-filter-field select:focus {
    border-color: rgba(239, 127, 26, 0.45);
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.12);
    outline: none;
}

.rk-asub-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rk-asub-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: -0.35rem 0 1rem;
    animation: rk-asub-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-asub-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--su-line);
    background: #fff;
    color: #57534e;
    font-size: 0.78rem;
    font-weight: 750;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rk-asub-chip:hover {
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--su-deep);
    transform: translateY(-1px);
}

.rk-asub-chip.is-on {
    background: linear-gradient(135deg, var(--su-orange), var(--su-deep));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 16px rgba(239, 127, 26, 0.25);
}

.rk-asub-panel {
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--su-line);
    border-radius: 1.45rem;
    padding: 1.15rem 1.2rem 1.25rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
    animation: rk-asub-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-asub-panel-head {
    margin-bottom: 0.95rem;
}

.rk-asub-panel-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--su-ink);
}

.rk-asub-panel-head p {
    margin: 0.2rem 0 0;
    font-size: 0.84rem;
    color: var(--su-muted);
}

.rk-asub-empty {
    text-align: center;
    padding: 2.5rem 1.25rem;
    border-radius: 1.2rem;
    border: 1px dashed rgba(239, 127, 26, 0.3);
}

.rk-asub-empty-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 0.85rem;
    border-radius: 16px;
    background: var(--su-soft);
    color: var(--su-orange);
    font-size: 1.5rem;
}

.rk-asub-empty h3 {
    margin: 0 0 0.3rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.rk-asub-empty p {
    margin: 0;
    color: var(--su-muted);
}

.rk-asub-empty .rk-asub-btn {
    margin-top: 1rem;
}

.rk-asub-table-wrap {
    overflow-x: auto;
    margin: 0 -0.15rem;
}

.rk-asub-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    margin: 0;
}

.rk-asub-table thead th {
    padding: 0.75rem 0.85rem;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a29e;
    background: #fafaf9;
    border-bottom: 1px solid var(--su-line);
    white-space: nowrap;
}

.rk-asub-table tbody td {
    padding: 0.9rem 0.85rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

.rk-asub-table tbody tr:last-child td {
    border-bottom: 0;
}

.rk-asub-table tbody tr {
    transition: background 0.2s ease;
}

.rk-asub-table tbody tr:hover {
    background: #fffaf5;
}

.rk-asub-table-biz {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.rk-asub-table-biz strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--su-ink);
    line-height: 1.25;
}

.rk-asub-table-biz > div > span,
.rk-asub-table-plan > span {
    display: block;
    font-size: 0.78rem;
    color: var(--su-muted);
    font-weight: 600;
    line-height: 1.3;
}

.rk-asub-table-plan strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--su-ink);
}

.rk-asub-table-date {
    font-size: 0.88rem;
    font-weight: 650;
    color: var(--su-ink);
    white-space: nowrap;
}

.rk-asub-table-actions-col {
    width: 1%;
    white-space: nowrap;
}

.rk-asub-table-actions {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    justify-content: flex-end;
}

.rk-asub-list {
    display: grid;
    gap: 0.7rem;
}

.rk-asub-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--su-line);
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 8px 20px rgba(28, 25, 23, 0.03);
    animation: rk-asub-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.28s + var(--d, 0) * 0.04s);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.rk-asub-card:hover {
    transform: translateY(-3px);
    border-color: rgba(239, 127, 26, 0.25);
    box-shadow: 0 16px 34px rgba(28, 25, 23, 0.08);
}

.rk-asub-card-main {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    min-width: 0;
    flex: 1;
}

.rk-asub-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: var(--su-soft);
    color: var(--su-orange) !important;
    font-size: 1.15rem;
    flex-shrink: 0;
    line-height: 1;
}

.rk-asub-card-icon i {
    display: block;
    line-height: 1;
}

.rk-asub-card-copy { min-width: 0; }

.rk-asub-card-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.rk-asub-card-title-row strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--su-ink);
}

.rk-asub-card-sub {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    color: var(--su-muted);
    font-weight: 600;
}

.rk-asub-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.5rem;
}

.rk-asub-plan-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid rgba(239, 127, 26, 0.18);
    font-size: 0.78rem;
    font-weight: 750;
    color: var(--su-deep);
}

.rk-asub-plan-chip i { color: var(--su-orange); }

.rk-asub-plan-chip em {
    font-style: normal;
    color: #a8a29e;
    font-weight: 650;
}

.rk-asub-cycle {
    display: inline-flex;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: #e8f0fe;
    font-size: 0.74rem;
    font-weight: 750;
    color: #1d4ed8;
    text-transform: capitalize;
}

.rk-asub-card-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.45rem;
    font-size: 0.78rem;
    font-weight: 650;
    color: #a8a29e;
}

.rk-asub-card-dates i {
    margin-right: 0.25rem;
    color: var(--su-orange);
}

.rk-asub-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 750;
    text-transform: capitalize;
}

.rk-asub-pill-success { background: #ecfdf5; color: #047857; }
.rk-asub-pill-warn { background: #fff7ed; color: #c2410c; }
.rk-asub-pill-danger { background: #fef2f2; color: #b91c1c; }
.rk-asub-pill-muted { background: #f5f5f4; color: #78716c; }

.rk-asub-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    flex-shrink: 0;
}

.rk-asub-pager {
    margin-top: 1rem;
}

.rk-asub-pager .pagination {
    margin: 0;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .rk-asub-stats { grid-template-columns: 1fr 1fr; }
    .rk-asub-top { flex-direction: column; align-items: flex-start; }
    .rk-asub-spotlight { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
    .rk-asub-card {
        flex-direction: column;
        align-items: stretch;
    }
    .rk-asub-card-actions { width: 100%; }
    .rk-asub-card-actions .rk-asub-btn { flex: 1; }
}

@media (max-width: 575.98px) {
    .rk-asub-stats { grid-template-columns: 1fr; }
    .rk-asub-filter-actions { width: 100%; }
    .rk-asub-filter-actions .rk-asub-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-asub::before,
    .rk-asub-top,
    .rk-asub-stat,
    .rk-asub-filter,
    .rk-asub-panel,
    .rk-asub-card,
    .rk-asub-spotlight,
    .rk-asub-chips { animation: none !important; }
    .rk-asub-stat:hover,
    .rk-asub-card:hover,
    .rk-asub-btn:hover,
    .rk-asub-chip:hover { transform: none; }
}

/* Enhanced admin subscription detail */
.rk-asuv {
    --sv-ink: #1c1917;
    --sv-muted: #78716c;
    --sv-line: rgba(28, 25, 23, 0.08);
    --sv-orange: #EF7F1A;
    --sv-deep: #d96a0c;
    --sv-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-asuv::before {
    content: "";
    position: absolute;
    inset: -1.2rem -0.4rem auto;
    height: 220px;
    background:
        radial-gradient(ellipse 50% 80% at 10% 0%, rgba(239, 127, 26, 0.14), transparent 60%),
        radial-gradient(ellipse 40% 70% at 92% 10%, rgba(52, 168, 83, 0.08), transparent 55%);
    pointer-events: none;
    z-index: -1;
    animation: rk-asuv-aurora 10s ease-in-out infinite alternate;
}

@keyframes rk-asuv-aurora {
    from { opacity: 0.85; transform: translateY(0); }
    to { opacity: 1; transform: translateY(8px); }
}

@keyframes rk-asuv-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.rk-asuv-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
    animation: rk-asuv-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-asuv-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sv-orange);
}

.rk-asuv-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--sv-ink);
}

.rk-asuv-lead {
    margin: 0.35rem 0 0;
    color: var(--sv-muted);
    font-size: 0.95rem;
}

.rk-asuv-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.7rem;
}

.rk-asuv-meta-chip {
    display: inline-flex;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--sv-line);
    font-size: 0.74rem;
    font-weight: 700;
    color: #57534e;
    text-transform: capitalize;
}

.rk-asuv-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rk-asuv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-asuv-btn-primary {
    background: linear-gradient(135deg, var(--sv-orange), var(--sv-deep));
    color: #fff;
    box-shadow: 0 10px 22px rgba(239, 127, 26, 0.28);
}

.rk-asuv-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 28px rgba(239, 127, 26, 0.38);
}

.rk-asuv-btn-ghost {
    background: rgba(255,255,255,0.85);
    border-color: var(--sv-line);
    color: var(--sv-ink);
}

.rk-asuv-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--sv-deep);
}

.rk-asuv-btn-soft {
    background: var(--sv-soft);
    border-color: rgba(239, 127, 26, 0.18);
    color: var(--sv-deep);
}

.rk-asuv-btn-soft:hover {
    transform: translateY(-2px);
    background: #ffedd5;
    color: var(--sv-deep);
}

.rk-asuv-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: capitalize;
}

.rk-asuv-pill-success { background: #ecfdf5; color: #047857; }
.rk-asuv-pill-warn { background: #fff7ed; color: #c2410c; }
.rk-asuv-pill-danger { background: #fef2f2; color: #b91c1c; }
.rk-asuv-pill-muted { background: #f5f5f4; color: #78716c; }

.rk-asuv-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.35rem 1.4rem;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--sv-line);
    border-radius: 1.45rem;
    box-shadow: 0 16px 36px rgba(28, 25, 23, 0.055);
    animation: rk-asuv-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-asuv-hero-glow {
    position: absolute;
    inset: -40% -10% auto;
    height: 70%;
    background: radial-gradient(circle at 30% 80%, rgba(239, 127, 26, 0.18), transparent 65%);
    pointer-events: none;
}

.rk-asuv-hero-main {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.rk-asuv-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--sv-soft);
    color: var(--sv-orange);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.rk-asuv-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-asuv-hero-main h2 {
    margin: 0.15rem 0 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--sv-ink);
}

.rk-asuv-hero-main p {
    margin: 0.15rem 0 0;
    font-size: 0.85rem;
    color: var(--sv-muted);
    font-weight: 600;
}

.rk-asuv-hero-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    min-width: min(420px, 100%);
}

.rk-asuv-hero-stats strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--sv-ink);
}

.rk-asuv-timeline {
    list-style: none;
    margin: 0 0 1.1rem;
    padding: 1rem 1.1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--sv-line);
    border-radius: 1.25rem;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.04);
    animation: rk-asuv-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-asuv-timeline li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-left: 1.1rem;
    opacity: 0.55;
}

.rk-asuv-timeline li.is-done,
.rk-asuv-timeline li.is-current { opacity: 1; }

.rk-asuv-timeline li.is-skip { opacity: 0.4; }

.rk-asuv-timeline-dot {
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d6d3d1;
    box-shadow: 0 0 0 3px #f5f5f4;
}

.rk-asuv-timeline li.is-done .rk-asuv-timeline-dot {
    background: #34A853;
    box-shadow: 0 0 0 3px #ecfdf5;
}

.rk-asuv-timeline li.is-current .rk-asuv-timeline-dot {
    background: var(--sv-orange);
    box-shadow: 0 0 0 3px #fff7ed;
    animation: rk-asuv-pulse 1.6s ease-in-out infinite;
}

@keyframes rk-asuv-pulse {
    0%, 100% { box-shadow: 0 0 0 3px #fff7ed; }
    50% { box-shadow: 0 0 0 6px rgba(239, 127, 26, 0.18); }
}

.rk-asuv-timeline strong {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--sv-ink);
}

.rk-asuv-timeline span {
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--sv-muted);
}

.rk-asuv-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr);
    gap: 1rem;
    align-items: start;
}

.rk-asuv-main,
.rk-asuv-aside {
    display: grid;
    gap: 0.95rem;
}

.rk-asuv-aside { position: sticky; top: 1rem; }

.rk-asuv-panel,
.rk-asuv-side {
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--sv-line);
    border-radius: 1.35rem;
    padding: 1.2rem 1.25rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
    animation: rk-asuv-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-asuv-panel-head,
.rk-asuv-side-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.rk-asuv-panel-icon,
.rk-asuv-side-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff7ed;
    color: #EF7F1A;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rk-asuv-panel-icon-blue,
.rk-asuv-side-icon-green { }

.rk-asuv-panel-icon-blue { background: #e8f0fe; color: #4285F4; }
.rk-asuv-side-icon-green { background: #ecfdf5; color: #34A853; }

.rk-asuv-panel-head h2,
.rk-asuv-side-head h2 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--sv-ink);
}

.rk-asuv-panel-head p,
.rk-asuv-side-head p {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: var(--sv-muted);
}

.rk-asuv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
    margin: 0;
}

.rk-asuv-span-2 { grid-column: 1 / -1; }

.rk-asuv-grid dt {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-asuv-grid dd {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sv-ink);
}

.rk-asuv-break {
    word-break: break-all;
    font-size: 0.85rem !important;
    font-weight: 650 !important;
}

.rk-asuv-link {
    color: var(--sv-deep);
    font-weight: 750;
    text-decoration: none;
}

.rk-asuv-link:hover { text-decoration: underline; }

.rk-asuv-side-name {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--sv-ink);
}

.rk-asuv-side-meta {
    margin: 0.2rem 0 0.85rem;
    font-size: 0.82rem;
    color: var(--sv-muted);
    font-weight: 600;
}

.rk-asuv-side-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 750;
    color: var(--sv-deep);
    text-decoration: none;
}

.rk-asuv-side-link:hover { text-decoration: underline; }

.rk-asuv-note {
    display: flex;
    gap: 0.55rem;
    margin-top: 1rem;
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    background: #fff7ed;
    border: 1px solid rgba(239, 127, 26, 0.15);
}

.rk-asuv-note i {
    color: var(--sv-orange);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.rk-asuv-note p {
    margin: 0;
    font-size: 0.82rem;
    color: #9a3412;
    line-height: 1.4;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .rk-asuv-layout { grid-template-columns: 1fr; }
    .rk-asuv-aside { position: static; }
    .rk-asuv-top { flex-direction: column; align-items: flex-start; }
    .rk-asuv-hero { flex-direction: column; align-items: flex-start; }
    .rk-asuv-hero-stats { width: 100%; min-width: 0; }
    .rk-asuv-timeline { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575.98px) {
    .rk-asuv-grid,
    .rk-asuv-hero-stats,
    .rk-asuv-timeline { grid-template-columns: 1fr; }
    .rk-asuv-top-actions { width: 100%; }
    .rk-asuv-top-actions .rk-asuv-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-asuv::before,
    .rk-asuv-top,
    .rk-asuv-hero,
    .rk-asuv-timeline,
    .rk-asuv-panel,
    .rk-asuv-side,
    .rk-asuv-timeline li.is-current .rk-asuv-timeline-dot { animation: none !important; }
    .rk-asuv-btn:hover { transform: none; }
}

/* Enhanced admin payments list */
.rk-apay {
    --py-ink: #1c1917;
    --py-muted: #78716c;
    --py-line: rgba(28, 25, 23, 0.08);
    --py-orange: #EF7F1A;
    --py-deep: #d96a0c;
    --py-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-apay::before {
    content: "";
    position: absolute;
    inset: -1.2rem -0.4rem auto;
    height: 220px;
    background:
        radial-gradient(ellipse 50% 80% at 10% 0%, rgba(239, 127, 26, 0.14), transparent 60%),
        radial-gradient(ellipse 40% 70% at 90% 8%, rgba(52, 168, 83, 0.1), transparent 55%);
    pointer-events: none;
    z-index: -1;
    animation: rk-apay-aurora 10s ease-in-out infinite alternate;
}

@keyframes rk-apay-aurora {
    from { opacity: 0.85; transform: translateY(0); }
    to { opacity: 1; transform: translateY(8px); }
}

@keyframes rk-apay-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.rk-apay-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    animation: rk-apay-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-apay-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--py-orange);
}

.rk-apay-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--py-ink);
}

.rk-apay-lead {
    margin: 0.35rem 0 0;
    color: var(--py-muted);
    font-size: 0.95rem;
    max-width: 36rem;
}

.rk-apay-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rk-apay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-apay-btn-sm { padding: 0.45rem 0.8rem; font-size: 0.8rem; }

.rk-apay-btn-primary {
    background: linear-gradient(135deg, var(--py-orange), var(--py-deep));
    color: #fff;
    box-shadow: 0 10px 22px rgba(239, 127, 26, 0.28);
}

.rk-apay-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 14px 28px rgba(239, 127, 26, 0.38);
}

.rk-apay-btn-ghost {
    background: rgba(255,255,255,0.85);
    border-color: var(--py-line);
    color: var(--py-ink);
}

.rk-apay-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 127, 26, 0.35);
    color: var(--py-deep);
}

.rk-apay-btn-soft {
    background: var(--py-soft);
    border-color: rgba(239, 127, 26, 0.18);
    color: var(--py-deep);
}

.rk-apay-btn-soft:hover {
    transform: translateY(-2px);
    background: #ffedd5;
    color: var(--py-deep);
}

.rk-apay-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.rk-apay-stat {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.05rem 1.1rem;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--py-line);
    border-radius: 1.25rem;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.045);
    animation: rk-apay-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk-apay-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(28, 25, 23, 0.08);
}

.rk-apay-stat-glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 70%;
    pointer-events: none;
}

.rk-apay-stat-orange .rk-apay-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(239, 127, 26, 0.2), transparent 65%); }
.rk-apay-stat-green .rk-apay-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(52, 168, 83, 0.18), transparent 65%); }
.rk-apay-stat-blue .rk-apay-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(66, 133, 244, 0.16), transparent 65%); }
.rk-apay-stat-red .rk-apay-stat-glow { background: radial-gradient(circle at 40% 80%, rgba(234, 67, 53, 0.14), transparent 65%); }

.rk-apay-stat-icon {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.rk-apay-stat-orange .rk-apay-stat-icon { background: #fff7ed; color: #EF7F1A; }
.rk-apay-stat-green .rk-apay-stat-icon { background: #ecfdf5; color: #34A853; }
.rk-apay-stat-blue .rk-apay-stat-icon { background: #e8f0fe; color: #4285F4; }
.rk-apay-stat-red .rk-apay-stat-icon { background: #fef2f2; color: #EA4335; }

.rk-apay-stat strong {
    position: relative;
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--py-ink);
    line-height: 1.1;
}

.rk-apay-stat span {
    position: relative;
    font-size: 0.75rem;
    font-weight: 700;
    color: #a8a29e;
}

.rk-apay-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--py-line);
    border-radius: 1.25rem;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.04);
    animation: rk-apay-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-apay-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 140px;
}

.rk-apay-filter-grow { flex: 1 1 200px; }

.rk-apay-filter-field label {
    font-size: 0.76rem;
    font-weight: 750;
    color: #57534e;
}

.rk-apay-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.85rem;
    background: #fff;
    border: 1px solid var(--py-line);
    border-radius: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rk-apay-input:focus-within {
    border-color: rgba(239, 127, 26, 0.45);
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.12);
}

.rk-apay-input i { color: #a8a29e; }

.rk-apay-input input,
.rk-apay-filter-field select {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.68rem 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--py-ink);
    font-family: inherit;
    outline: none;
}

.rk-apay-filter-field select {
    padding: 0.68rem 0.85rem;
    border: 1px solid var(--py-line);
    border-radius: 0.9rem;
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%78716c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2rem;
}

.rk-apay-filter-field select:focus {
    border-color: rgba(239, 127, 26, 0.45);
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.12);
    outline: none;
}

.rk-apay-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rk-apay-panel {
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--py-line);
    border-radius: 1.45rem;
    padding: 1.15rem 1.2rem 1.25rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
    animation: rk-apay-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-apay-panel-head { margin-bottom: 0.95rem; }

.rk-apay-panel-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--py-ink);
}

.rk-apay-panel-head p {
    margin: 0.2rem 0 0;
    font-size: 0.84rem;
    color: var(--py-muted);
}

.rk-apay-empty {
    text-align: center;
    padding: 2.5rem 1.25rem;
    border-radius: 1.2rem;
    border: 1px dashed rgba(239, 127, 26, 0.3);
}

.rk-apay-empty-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 0.85rem;
    border-radius: 16px;
    background: var(--py-soft);
    color: var(--py-orange);
    font-size: 1.5rem;
}

.rk-apay-empty h3 {
    margin: 0 0 0.3rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.rk-apay-empty p {
    margin: 0;
    color: var(--py-muted);
}

.rk-apay-table-wrap {
    overflow-x: auto;
    margin: 0 -0.15rem;
}

.rk-apay-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    margin: 0;
}

.rk-apay-table thead th {
    padding: 0.75rem 0.85rem;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a29e;
    background: #fafaf9;
    border-bottom: 1px solid var(--py-line, rgba(28, 25, 23, 0.08));
    white-space: nowrap;
}

.rk-apay-table tbody td {
    padding: 0.9rem 0.85rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

.rk-apay-table tbody tr:last-child td {
    border-bottom: 0;
}

.rk-apay-table tbody tr {
    transition: background 0.2s ease;
}

.rk-apay-table tbody tr:hover {
    background: #fffaf5;
}

.rk-apay-table-biz {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.rk-apay-table-biz strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--py-ink, #1c1917);
    line-height: 1.25;
}

.rk-apay-table-biz > div > span {
    display: block;
    font-size: 0.78rem;
    color: var(--py-muted, #78716c);
    font-weight: 600;
    line-height: 1.3;
}

.rk-apay-table-plan {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--py-ink, #1c1917);
}

.rk-apay-table-amount strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--py-ink, #1c1917);
    white-space: nowrap;
}

.rk-apay-table-ref {
    display: inline-block;
    max-width: 11rem;
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--py-muted, #78716c);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.rk-apay-table-actions-col {
    width: 1%;
    white-space: nowrap;
}

.rk-apay-table-actions {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    justify-content: flex-end;
}

.rk-apay-list {
    display: grid;
    gap: 0.7rem;
}

.rk-apay-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--py-line);
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 8px 20px rgba(28, 25, 23, 0.03);
    animation: rk-apay-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.28s + var(--d, 0) * 0.04s);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.rk-apay-card:hover {
    transform: translateY(-3px);
    border-color: rgba(239, 127, 26, 0.25);
    box-shadow: 0 16px 34px rgba(28, 25, 23, 0.08);
}

.rk-apay-card-main {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    min-width: 0;
    flex: 1;
}

.rk-apay-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: var(--py-soft);
    color: var(--py-orange) !important;
    font-size: 1.15rem;
    flex-shrink: 0;
    line-height: 1;
}

.rk-apay-card-icon i {
    display: block;
    line-height: 1;
}

.rk-apay-card-copy { min-width: 0; }

.rk-apay-card-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.rk-apay-card-title-row strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--py-ink);
}

.rk-apay-card-sub {
    margin: 0.2rem 0 0;
    font-size: 0.84rem;
    color: var(--py-muted);
    font-weight: 600;
}

.rk-apay-card-sub em {
    font-style: normal;
    font-weight: 800;
    color: var(--py-ink);
}

.rk-apay-card-refs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.45rem;
    font-size: 0.76rem;
    font-weight: 650;
    color: #a8a29e;
}

.rk-apay-card-refs i {
    margin-right: 0.2rem;
    color: var(--py-orange);
}

.rk-apay-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 750;
    text-transform: capitalize;
}

.rk-apay-pill-success { background: #ecfdf5; color: #047857; }
.rk-apay-pill-warn { background: #fff7ed; color: #c2410c; }
.rk-apay-pill-danger { background: #fef2f2; color: #b91c1c; }
.rk-apay-pill-muted { background: #f5f5f4; color: #78716c; }

.rk-apay-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    flex-shrink: 0;
}

.rk-apay-pager {
    margin-top: 1rem;
}

.rk-apay-pager .pagination {
    margin: 0;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .rk-apay-stats { grid-template-columns: 1fr 1fr; }
    .rk-apay-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
    .rk-apay-card {
        flex-direction: column;
        align-items: stretch;
    }
    .rk-apay-card-actions { width: 100%; }
    .rk-apay-card-actions .rk-apay-btn { flex: 1; }
}

@media (max-width: 575.98px) {
    .rk-apay-stats { grid-template-columns: 1fr; }
    .rk-apay-filter-actions { width: 100%; }
    .rk-apay-filter-actions .rk-apay-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-apay::before,
    .rk-apay-top,
    .rk-apay-stat,
    .rk-apay-filter,
    .rk-apay-panel,
    .rk-apay-card { animation: none !important; }
    .rk-apay-stat:hover,
    .rk-apay-card:hover,
    .rk-apay-btn:hover { transform: none; }
}

/* Enhanced admin payment detail */
.rk-apv {
    --pv-ink: #1c1917;
    --pv-muted: #78716c;
    --pv-line: rgba(28, 25, 23, 0.08);
    --pv-orange: #EF7F1A;
    --pv-deep: #d96a0c;
    --pv-soft: #fff7ed;
    position: relative;
    isolation: isolate;
}

.rk-apv::before {
    display: none;
}

@keyframes rk-apv-aurora {
    from { opacity: 0.85; transform: translateY(0); }
    to { opacity: 1; transform: translateY(8px); }
}

@keyframes rk-apv-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.rk-apv-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
    animation: rk-apv-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-apv-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-apv-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--pv-ink);
}

.rk-apv-lead {
    margin: 0.35rem 0 0;
    color: var(--pv-muted);
    font-size: 0.95rem;
}

.rk-apv-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.7rem;
}

.rk-apv-meta-chip {
    display: inline-flex;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--pv-line);
    font-size: 0.74rem;
    font-weight: 700;
    color: #57534e;
    text-transform: capitalize;
}

.rk-apv-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.rk-apv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rk-apv-btn-primary {
    background: #1c1917;
    color: #fff;
    box-shadow: 0 10px 22px rgba(28, 25, 23, 0.18);
}

.rk-apv-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    background: #292524;
    box-shadow: 0 14px 28px rgba(28, 25, 23, 0.22);
}

.rk-apv-btn-ghost {
    background: #fff;
    border-color: var(--pv-line);
    color: var(--pv-ink);
}

.rk-apv-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(28, 25, 23, 0.2);
    color: var(--pv-ink);
    background: #fafaf9;
}

.rk-apv-btn-soft {
    background: #f5f5f4;
    border-color: rgba(28, 25, 23, 0.1);
    color: var(--pv-ink);
}

.rk-apv-btn-soft:hover {
    transform: translateY(-2px);
    background: #e7e5e4;
    color: var(--pv-ink);
}

.rk-apv-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: capitalize;
}

.rk-apv-pill-success { background: #ecfdf5; color: #047857; }
.rk-apv-pill-warn { background: #fff7ed; color: #c2410c; }
.rk-apv-pill-danger { background: #fef2f2; color: #b91c1c; }
.rk-apv-pill-muted { background: #f5f5f4; color: #78716c; }

.rk-apv-summary {
    display: grid;
    grid-template-columns: minmax(200px, 0.85fr) minmax(0, 1.4fr);
    gap: 1.1rem;
    align-items: stretch;
    padding: 1.25rem 1.35rem;
    margin-bottom: 1rem;
    background: #fff;
    border: 1px solid var(--pv-line);
    border-radius: 1.35rem;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.04);
    animation: rk-apv-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-apv-summary-amount {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.85rem 1rem;
    border-radius: 1.05rem;
    background: #fafaf9;
    border: 1px solid rgba(28, 25, 23, 0.06);
}

.rk-apv-summary-amount strong {
    margin-top: 0.25rem;
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--pv-ink);
    line-height: 1.15;
}

.rk-apv-summary-plan {
    margin-top: 0.35rem;
    font-size: 0.86rem;
    font-weight: 650;
    color: var(--pv-muted);
}

.rk-apv-summary-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    align-content: center;
}

.rk-apv-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-apv-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.95rem 1rem;
}

.rk-apv-field {
    min-width: 0;
}

.rk-apv-field-full {
    grid-column: 1 / -1;
}

.rk-apv-field label,
.rk-apv-field .rk-apv-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-apv-field-value {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.65rem 0.9rem;
    border-radius: 0.9rem;
    background: #fafaf9;
    border: 1px solid rgba(28, 25, 23, 0.08);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--pv-ink);
    word-break: break-word;
}

.rk-apv-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.84rem !important;
    font-weight: 650 !important;
}

.rk-apv-hero {
    display: none;
}

.rk-apv-timeline {
    list-style: none;
    margin: 0 0 1.1rem;
    padding: 1rem 1.1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--pv-line);
    border-radius: 1.25rem;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.04);
    animation: rk-apv-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-apv-timeline li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-left: 1.1rem;
    opacity: 0.55;
}

.rk-apv-timeline li.is-done,
.rk-apv-timeline li.is-current { opacity: 1; }

.rk-apv-timeline li.is-skip { opacity: 0.4; }

.rk-apv-timeline-dot {
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d6d3d1;
    box-shadow: 0 0 0 3px #f5f5f4;
}

.rk-apv-timeline li.is-done .rk-apv-timeline-dot {
    background: #34A853;
    box-shadow: 0 0 0 3px #ecfdf5;
}

.rk-apv-timeline li.is-current .rk-apv-timeline-dot {
    background: #1c1917;
    box-shadow: 0 0 0 3px #f5f5f4;
    animation: rk-apv-pulse 1.6s ease-in-out infinite;
}

@keyframes rk-apv-pulse {
    0%, 100% { box-shadow: 0 0 0 3px #f5f5f4; }
    50% { box-shadow: 0 0 0 6px rgba(28, 25, 23, 0.12); }
}

.rk-apv-timeline strong {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--pv-ink);
}

.rk-apv-timeline span {
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--pv-muted);
    word-break: break-all;
}

.rk-apv-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr);
    gap: 1rem;
    align-items: start;
}

.rk-apv-main,
.rk-apv-aside {
    display: grid;
    gap: 0.95rem;
}

.rk-apv-aside { position: sticky; top: 1rem; }

.rk-apv-panel,
.rk-apv-side {
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--pv-line);
    border-radius: 1.35rem;
    padding: 1.2rem 1.25rem;
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.045);
    animation: rk-apv-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--d, 0) * 0.06s);
}

.rk-apv-panel-head,
.rk-apv-side-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.rk-apv-panel-icon,
.rk-apv-side-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #f5f5f4;
    color: #57534e;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rk-apv-panel-icon-blue,
.rk-apv-panel-icon-slate,
.rk-apv-side-icon-slate { background: #f5f5f4; color: #57534e; }
.rk-apv-side-icon-green { background: #ecfdf5; color: #34A853; }
.rk-apv-side-icon-blue { background: #e8f0fe; color: #4285F4; }

.rk-apv-panel-head h2,
.rk-apv-side-head h2 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--pv-ink);
}

.rk-apv-panel-head p,
.rk-apv-side-head p {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: var(--pv-muted);
}

.rk-apv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
    margin: 0;
}

.rk-apv-span-2 { grid-column: 1 / -1; }

.rk-apv-grid dt {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #a8a29e;
}

.rk-apv-grid dd {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--pv-ink);
}

.rk-apv-break {
    word-break: break-all;
    font-size: 0.85rem !important;
    font-weight: 650 !important;
}

.rk-apv-side-name {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--pv-ink);
}

.rk-apv-side-meta {
    margin: 0.2rem 0 0.85rem;
    font-size: 0.82rem;
    color: var(--pv-muted);
    font-weight: 600;
}

.rk-apv-side-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 750;
    color: #44403c;
    text-decoration: none;
}

.rk-apv-side-link:hover { text-decoration: underline; color: var(--pv-ink); }

.rk-apv-note {
    display: flex;
    gap: 0.55rem;
    margin-top: 1rem;
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    background: #fafaf9;
    border: 1px solid rgba(28, 25, 23, 0.08);
}

.rk-apv-note i {
    color: #78716c;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.rk-apv-note p {
    margin: 0;
    font-size: 0.82rem;
    color: #57534e;
    line-height: 1.4;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .rk-apv-layout { grid-template-columns: 1fr; }
    .rk-apv-aside { position: static; }
    .rk-apv-top { flex-direction: column; align-items: flex-start; }
    .rk-apv-summary { grid-template-columns: 1fr; }
    .rk-apv-timeline { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575.98px) {
    .rk-apv-grid,
    .rk-apv-form,
    .rk-apv-summary-fields,
    .rk-apv-timeline { grid-template-columns: 1fr; }
    .rk-apv-top-actions { width: 100%; }
    .rk-apv-top-actions .rk-apv-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-apv::before,
    .rk-apv-top,
    .rk-apv-hero,
    .rk-apv-timeline,
    .rk-apv-panel,
    .rk-apv-side,
    .rk-apv-timeline li.is-current .rk-apv-timeline-dot { animation: none !important; }
    .rk-apv-btn:hover { transform: none; }
}

/* ==========================================================================
   Card header wash fix - full color behind logo/label, no mid-cut / clipping
   ========================================================================== */

/* Glow layers: fill the card so wash never stops mid-icon */
.rk-adx-kpi-glow,
.rk-analx-kpi-glow,
.rk-abpay-stat-glow,
.rk-asub-stat-glow,
.rk-apay-stat-glow,
.rk-apl-stat-glow,
.rk-apf-stat-glow,
.rk-apl-card-glow,
.rk-abv-masthead-glow,
.rk-abp-current-glow,
.rk-apv-hero-glow,
.rk-asuv-hero-glow,
.rk-apf-preview-glow,
.rk-libx-meter-glow,
.rk-payx-detail-glow,
.rk-subx-plan-glow {
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    opacity: 0.95;
}

/* Keep glow intensity at the top (behind logo/label) */
.rk-adx-kpi-orange .rk-adx-kpi-glow,
.rk-abpay-stat-orange .rk-abpay-stat-glow,
.rk-asub-stat-orange .rk-asub-stat-glow,
.rk-apay-stat-orange .rk-apay-stat-glow,
.rk-apl-stat-orange .rk-apl-stat-glow,
.rk-apf-stat-orange .rk-apf-stat-glow,
.rk-analx-kpi-qr .rk-analx-kpi-glow {
    background: radial-gradient(ellipse 120% 90% at 20% 0%, rgba(239, 127, 26, 0.22), transparent 70%) !important;
}

.rk-adx-kpi-green .rk-adx-kpi-glow,
.rk-abpay-stat-green .rk-abpay-stat-glow,
.rk-asub-stat-green .rk-asub-stat-glow,
.rk-apay-stat-green .rk-apay-stat-glow,
.rk-apl-stat-green .rk-apl-stat-glow,
.rk-apf-stat-green .rk-apf-stat-glow,
.rk-analx-kpi-copies .rk-analx-kpi-glow {
    background: radial-gradient(ellipse 120% 90% at 20% 0%, rgba(52, 168, 83, 0.2), transparent 70%) !important;
}

.rk-adx-kpi-teal .rk-adx-kpi-glow,
.rk-apl-stat-teal .rk-apl-stat-glow,
.rk-apf-stat-teal .rk-apf-stat-glow {
    background: radial-gradient(ellipse 120% 90% at 20% 0%, rgba(20, 184, 166, 0.2), transparent 70%) !important;
}

.rk-adx-kpi-blue .rk-adx-kpi-glow,
.rk-abpay-stat-blue .rk-abpay-stat-glow,
.rk-asub-stat-blue .rk-asub-stat-glow,
.rk-apay-stat-blue .rk-apay-stat-glow,
.rk-apl-stat-blue .rk-apl-stat-glow,
.rk-apf-stat-blue .rk-apf-stat-glow,
.rk-analx-kpi-sessions .rk-analx-kpi-glow {
    background: radial-gradient(ellipse 120% 90% at 20% 0%, rgba(66, 133, 244, 0.2), transparent 70%) !important;
}

.rk-adx-kpi-red .rk-adx-kpi-glow,
.rk-abpay-stat-red .rk-abpay-stat-glow,
.rk-asub-stat-red .rk-asub-stat-glow,
.rk-apay-stat-red .rk-apay-stat-glow,
.rk-analx-kpi-google .rk-analx-kpi-glow {
    background: radial-gradient(ellipse 120% 90% at 20% 0%, rgba(234, 67, 53, 0.2), transparent 70%) !important;
}

.rk-adx-kpi-purple .rk-adx-kpi-glow {
    background: radial-gradient(ellipse 120% 90% at 20% 0%, rgba(139, 92, 246, 0.18), transparent 70%) !important;
}

.rk-analx-kpi-ratings .rk-analx-kpi-glow {
    background: radial-gradient(ellipse 120% 90% at 20% 0%, rgba(251, 191, 36, 0.22), transparent 70%) !important;
}

.rk-abv-masthead-glow {
    background:
        radial-gradient(ellipse 90% 80% at 15% 0%, rgba(239, 127, 26, 0.2), transparent 65%),
        radial-gradient(ellipse 70% 70% at 85% 10%, rgba(66, 133, 244, 0.1), transparent 60%) !important;
}

.rk-abp-current-glow,
.rk-apv-hero-glow,
.rk-asuv-hero-glow {
    background: radial-gradient(ellipse 100% 80% at 25% 0%, rgba(239, 127, 26, 0.18), transparent 70%) !important;
}

/* KPI / stat cards: soft accent wash covers icon + label fully */
.rk-adx-kpi-orange,
.rk-abpay-stat-orange,
.rk-asub-stat-orange,
.rk-apay-stat-orange,
.rk-apl-stat-orange,
.rk-apf-stat-orange {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 78%) !important;
}

.rk-adx-kpi-green,
.rk-abpay-stat-green,
.rk-asub-stat-green,
.rk-apay-stat-green,
.rk-apl-stat-green,
.rk-apf-stat-green {
    background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 78%) !important;
}

.rk-adx-kpi-teal,
.rk-apl-stat-teal,
.rk-apf-stat-teal {
    background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 78%) !important;
}

.rk-adx-kpi-blue,
.rk-abpay-stat-blue,
.rk-asub-stat-blue,
.rk-apay-stat-blue,
.rk-apl-stat-blue,
.rk-apf-stat-blue {
    background: linear-gradient(180deg, #e8f0fe 0%, #ffffff 78%) !important;
}

.rk-adx-kpi-red,
.rk-abpay-stat-red,
.rk-asub-stat-red,
.rk-apay-stat-red {
    background: linear-gradient(180deg, #fef2f2 0%, #ffffff 78%) !important;
}

.rk-adx-kpi-purple {
    background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 78%) !important;
}

.rk-analx-kpi-qr { background: linear-gradient(180deg, #fff7ed 0%, #ffffff 78%) !important; }
.rk-analx-kpi-sessions { background: linear-gradient(180deg, #e8f0fe 0%, #ffffff 78%) !important; }
.rk-analx-kpi-ratings { background: linear-gradient(180deg, #fffbeb 0%, #ffffff 78%) !important; }
.rk-analx-kpi-copies { background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 78%) !important; }
.rk-analx-kpi-google { background: linear-gradient(180deg, #fef2f2 0%, #ffffff 78%) !important; }

/* Labels / values: stop descender clipping */
.rk-adx-kpi,
.rk-analx-kpi {
    padding-top: 1.2rem !important;
}

.rk-adx-kpi-top,
.rk-analx-kpi-top {
    min-height: 2.6rem;
    align-items: center;
    overflow: visible;
}

.rk-adx-kpi-label,
.rk-analx-kpi-label,
.rk-abpay-stat span,
.rk-asub-stat span,
.rk-apay-stat span,
.rk-apl-stat span,
.rk-apf-stat span {
    line-height: 1.35 !important;
    overflow: visible !important;
}

.rk-adx-kpi-value,
.rk-analx-kpi strong,
.rk-abpay-stat strong,
.rk-asub-stat strong,
.rk-apay-stat strong,
.rk-apl-stat strong,
.rk-apf-stat strong {
    line-height: 1.2 !important;
    overflow: visible !important;
}

.rk-adx-kpi-icon,
.rk-analx-kpi-icon,
.rk-abpay-stat-icon,
.rk-asub-stat-icon,
.rk-apay-stat-icon,
.rk-apl-stat-icon,
.rk-apf-stat-icon {
    overflow: visible;
    flex-shrink: 0;
}

/* Business masthead: keep soft brand wash + readable title */
.rk-abv-masthead {
    overflow: visible;
}

.rk-abv-masthead-title-row .rk-abv-title {
    line-height: 1.15 !important;
    overflow: visible !important;
}

/* Plan current / payment / subscription heroes */
.rk-abp-current {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 55%) !important;
}

.rk-abp-current.is-empty {
    background: linear-gradient(180deg, #fafaf9 0%, #ffffff 55%) !important;
}

.rk-asuv-hero {
    background: linear-gradient(180deg, #fafaf9 0%, #ffffff 72%) !important;
}

.rk-apv-summary,
.rk-asuv-hero-main h2,
.rk-apv-label,
.rk-asuv-label,
.rk-abp-label,
.rk-abp-plan-name {
    line-height: 1.3 !important;
    overflow: visible !important;
}

.rk-apv-summary {
    background: #fff !important;
}

/* Plan catalog cards: wash deeper past logo */
.rk-apl-card-muted { background: linear-gradient(180deg, #fafaf9 0%, #fff 72%) !important; }
.rk-apl-card-blue { background: linear-gradient(180deg, #f8fbff 0%, #fff 72%) !important; }
.rk-apl-card-green { background: linear-gradient(180deg, #f3fdf7 0%, #fff 72%) !important; }
.rk-apl-card-orange { background: linear-gradient(180deg, #fffaf5 0%, #fff 72%) !important; }

/* Panel heads with icon: breathing room, no clip */
.rk-abv-panel-head,
.rk-apv-panel-head,
.rk-apv-side-head,
.rk-asuv-panel-head,
.rk-asuv-side-head,
.rk-abpay-panel-head,
.rk-apf-panel-head,
.rk-apay-panel-head,
.rk-asub-panel-head,
.rk-adx-panel-head {
    align-items: center;
    overflow: visible;
}

.rk-abv-panel-head h2,
.rk-apv-panel-head h2,
.rk-apv-side-head h2,
.rk-asuv-panel-head h2,
.rk-asuv-side-head h2,
.rk-abpay-panel-head h2,
.rk-apf-panel-head h2,
.rk-apay-panel-head h2,
.rk-asub-panel-head h2,
.rk-adx-panel-head h2 {
    line-height: 1.3 !important;
    overflow: visible !important;
}

.rk-abv-panel-head p,
.rk-apv-panel-head p,
.rk-apv-side-head p,
.rk-asuv-panel-head p,
.rk-asuv-side-head p,
.rk-abpay-panel-head p,
.rk-apf-panel-head p,
.rk-apay-panel-head p,
.rk-asub-panel-head p,
.rk-adx-panel-head p {
    line-height: 1.4 !important;
    overflow: visible !important;
}

/* ==========================================================================
   Spotlight + banner fix - padding, full glow, no clipped text
   ========================================================================== */

.rk-adx-spotlight,
.rk-abpay-spotlight,
.rk-asub-spotlight {
    padding: 1.55rem 1.5rem !important;
    min-height: 7.25rem;
    align-items: center !important;
    box-sizing: border-box;
}

.rk-adx-spotlight-glow,
.rk-abpay-spotlight-glow,
.rk-asub-spotlight-glow {
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    background: radial-gradient(ellipse 70% 120% at 12% 50%, rgba(239, 127, 26, 0.42), transparent 68%) !important;
}

.rk-adx-spotlight-main,
.rk-abpay-spotlight-main,
.rk-asub-spotlight-main {
    align-items: center;
    overflow: visible;
}

.rk-adx-spotlight-icon,
.rk-abpay-spotlight-icon,
.rk-asub-spotlight-icon {
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px rgba(239, 127, 26, 0.12);
}

.rk-adx-spotlight-label,
.rk-abpay-spotlight-label,
.rk-asub-spotlight-label {
    line-height: 1.35 !important;
    overflow: visible !important;
    padding-top: 0.05rem;
}

.rk-adx-spotlight-main h2,
.rk-abpay-spotlight-main h2,
.rk-asub-spotlight-main h2 {
    line-height: 1.15 !important;
    overflow: visible !important;
    margin-top: 0.2rem !important;
}

.rk-adx-spotlight-main p,
.rk-abpay-spotlight-main p,
.rk-asub-spotlight-main p {
    line-height: 1.4 !important;
    overflow: visible !important;
    margin-top: 0.4rem !important;
    padding-bottom: 0.1rem;
}

.rk-adx-spotlight-split,
.rk-abpay-spotlight-meta,
.rk-asub-spotlight-meta {
    align-items: center;
    gap: 1.35rem !important;
}

.rk-adx-spotlight-split strong,
.rk-abpay-spotlight-meta strong,
.rk-asub-spotlight-meta strong {
    line-height: 1.2 !important;
    overflow: visible !important;
}

.rk-adx-spotlight-split span,
.rk-abpay-spotlight-meta span,
.rk-asub-spotlight-meta span {
    display: block;
    line-height: 1.35 !important;
    overflow: visible !important;
    padding-bottom: 0.05rem;
}

/* Catalog / plans banner on dashboard */
.rk-adx-banner {
    padding: 1.45rem 1.5rem !important;
    min-height: 6.5rem;
    align-items: center !important;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 55%) !important;
    border: 1px solid rgba(239, 127, 26, 0.18) !important;
}

.rk-adx-banner-glow {
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    background: radial-gradient(ellipse 55% 90% at 8% 40%, rgba(239, 127, 26, 0.22), transparent 70%) !important;
}

.rk-adx-banner-copy {
    overflow: visible;
    padding: 0.15rem 0;
}

.rk-adx-banner-copy .rk-adx-eyebrow {
    margin: 0 0 0.35rem !important;
    line-height: 1.35 !important;
    overflow: visible !important;
}

.rk-adx-banner-copy h2 {
    line-height: 1.3 !important;
    overflow: visible !important;
    margin: 0 !important;
}

.rk-adx-banner-copy p:last-child {
    line-height: 1.45 !important;
    overflow: visible !important;
    margin: 0.45rem 0 0 !important;
    padding-bottom: 0.1rem;
}

/* ==========================================================================
   Admin full-bleed background - remove boxed page auroras
   ========================================================================== */

/* Page wrappers no longer paint their own inset aurora (causes boxed look) */
.rk-adx::before,
.rk-abx::before,
.rk-abv::before,
.rk-abp::before,
.rk-abpay::before,
.rk-apl::before,
.rk-apf::before,
.rk-asub::before,
.rk-asuv::before,
.rk-apay::before,
.rk-apv::before {
    display: none !important;
}

/* Page titles: no clipping against tight line boxes */
.rk-adx-top,
.rk-abx-top,
.rk-abv-masthead,
.rk-abp-top,
.rk-abpay-top,
.rk-apl-top,
.rk-apf-top,
.rk-asub-top,
.rk-asuv-top,
.rk-apay-top,
.rk-apv-top {
    overflow: visible !important;
}

.rk-adx-eyebrow,
.rk-abx-eyebrow,
.rk-abv-eyebrow,
.rk-abp-eyebrow,
.rk-abpay-eyebrow,
.rk-apl-eyebrow,
.rk-apf-eyebrow,
.rk-asub-eyebrow,
.rk-asuv-eyebrow,
.rk-apay-eyebrow,
.rk-apv-eyebrow {
    line-height: 1.4 !important;
    overflow: visible !important;
}

.rk-adx-title,
.rk-abx-title,
.rk-abv-title,
.rk-abp-title,
.rk-abpay-title,
.rk-apl-title,
.rk-apf-title,
.rk-asub-title,
.rk-asuv-title,
.rk-apay-title,
.rk-apv-title {
    line-height: 1.2 !important;
    overflow: visible !important;
}

.rk-adx-lead,
.rk-abx-lead,
.rk-abv-lead,
.rk-abp-lead,
.rk-abpay-lead,
.rk-apl-lead,
.rk-apf-lead,
.rk-asub-lead,
.rk-asuv-lead,
.rk-apay-lead,
.rk-apv-lead {
    line-height: 1.45 !important;
    overflow: visible !important;
}

@media (prefers-reduced-motion: reduce) {
    .rk-admin-main::before { animation: none !important; }
}

/* ==========================================================================
   Admin responsive - kill horizontal page scroll
   ========================================================================== */

.rk-admin-body,
.rk-admin-shell,
.rk-admin-main,
.rk-admin-content {
    max-width: 100%;
}

.rk-adx,
.rk-abx,
.rk-abv,
.rk-abp,
.rk-abpay,
.rk-apl,
.rk-apf,
.rk-asub,
.rk-asuv,
.rk-apay,
.rk-apv {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}

@media (max-width: 1199.98px) {
    .rk-adx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .rk-apl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .rk-abv-layout,
    .rk-abp-layout,
    .rk-apf-layout,
    .rk-asuv-layout,
    .rk-apv-layout { grid-template-columns: 1fr !important; }
    .rk-abv-hero-stats,
    .rk-abpay-stats,
    .rk-asub-stats,
    .rk-apay-stats,
    .rk-apl-stats,
    .rk-apf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 767.98px) {
    .rk-adx-kpis,
    .rk-abpay-stats,
    .rk-asub-stats,
    .rk-apay-stats,
    .rk-apl-stats,
    .rk-apf-stats,
    .rk-abv-hero-stats,
    .rk-apl-grid { grid-template-columns: 1fr !important; }

    .rk-adx-top,
    .rk-abx-top,
    .rk-abv-masthead-top,
    .rk-abp-top,
    .rk-abpay-top,
    .rk-apl-top,
    .rk-apf-top,
    .rk-asub-top,
    .rk-asuv-top,
    .rk-apay-top,
    .rk-apv-top {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .rk-adx-top-actions,
    .rk-abx-top-actions,
    .rk-abv-top-actions,
    .rk-abp-top-actions,
    .rk-abpay-top-actions,
    .rk-apl-top-actions,
    .rk-apf-top-actions,
    .rk-asub-top-actions,
    .rk-asuv-top-actions,
    .rk-apay-top-actions,
    .rk-apv-top-actions {
        width: 100%;
    }

    .rk-adx-spotlight,
    .rk-abpay-spotlight,
    .rk-asub-spotlight,
    .rk-apv-hero,
    .rk-asuv-hero {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .rk-adx-spotlight-split,
    .rk-abpay-spotlight-meta,
    .rk-asub-spotlight-meta,
    .rk-apv-hero-stats,
    .rk-asuv-hero-stats {
        width: 100%;
        min-width: 0 !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 575.98px) {
    .rk-adx-spotlight-split,
    .rk-abpay-spotlight-meta,
    .rk-asub-spotlight-meta,
    .rk-apv-hero-stats,
    .rk-asuv-hero-stats,
    .rk-abv-hero-stats {
        grid-template-columns: 1fr !important;
    }

    .rk-admin-content {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Prevent featured plan cards from spilling past the viewport */
.rk-apl-card.is-featured {
    transform: none !important;
}
.rk-apl-card.is-featured:hover {
    transform: translateY(-4px) !important;
}

/* Pagination wrap */
.rk-abx-pager,
.rk-asub-pager,
.rk-apay-pager,
.rk-abpay-pager {
    max-width: 100%;
    overflow-x: auto;
}

.rk-abx-pager .pagination,
.rk-asub-pager .pagination,
.rk-apay-pager .pagination {
    flex-wrap: wrap;
    justify-content: center;
}

/* Waiting-for-admin approval popup */
body.rk-wait-modal-lock {
    overflow: hidden;
}

.rk-wait-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.rk-wait-modal.is-open {
    display: flex;
}

.rk-wait-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    animation: rk-wait-fade 0.25s ease both;
}

.rk-wait-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    animation: rk-wait-pop 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-wait-modal-card {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
    padding: 1.5rem 1.4rem 1.35rem;
    text-align: center;
}

.rk-wait-modal-icon {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 0.9rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef3c7;
    color: #92400e;
    font-size: 1.45rem;
}

.rk-wait-modal-title {
    margin: 0 0 0.55rem;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #78350f;
    line-height: 1.3;
}

.rk-wait-modal-copy {
    margin: 0 0 1.2rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #92400e;
}

.rk-wait-modal-btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: #f59e0b;
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.7rem 1.4rem;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.rk-wait-modal-btn:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(217, 119, 6, 0.28);
}

.rk-wait-modal-btn:focus-visible {
    outline: 3px solid rgba(245, 158, 11, 0.35);
    outline-offset: 2px;
}

@keyframes rk-wait-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rk-wait-pop {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rk-wait-modal-backdrop,
    .rk-wait-modal-dialog {
        animation: none !important;
    }
}

/* Payment failure modal � modern + mobile sheet */
.rk-pay-fail {
    position: fixed;
    inset: 0;
    z-index: 1120;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.rk-pay-fail.is-open {
    display: flex;
}

.rk-pay-fail-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(5px);
    animation: rk-wait-fade 0.25s ease both;
}

.rk-pay-fail-sheet {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    max-height: min(92vh, 720px);
    overflow: auto;
    background: #fff;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -12px 48px rgba(15, 23, 42, 0.22);
    padding: 1.15rem 1.25rem 1.5rem;
    animation: rk-pay-fail-up 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-pay-fail-sheet::before {
    content: "";
    display: block;
    width: 2.5rem;
    height: 0.28rem;
    border-radius: 999px;
    background: #e2e8f0;
    margin: 0 auto 0.85rem;
}

.rk-pay-fail-x {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2.1rem;
    height: 2.1rem;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.rk-pay-fail-x:hover {
    background: #e2e8f0;
    transform: scale(1.05);
}

.rk-pay-fail-hero {
    display: flex;
    justify-content: center;
    margin: 0.35rem 0 1rem;
}

.rk-pay-fail-art {
    position: relative;
    width: 7.5rem;
    height: 5.5rem;
    border-radius: 1.1rem;
    background: linear-gradient(160deg, #eef2ff, #f8fafc 55%, #fee2e2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.rk-pay-fail-bag,
.rk-pay-fail-coins {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.rk-pay-fail-bag { color: #4285F4; transform: rotate(-8deg); }
.rk-pay-fail-coins { color: #FBBC05; transform: rotate(8deg); }

.rk-pay-fail-badge {
    position: absolute;
    right: 0.45rem;
    bottom: 0.35rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #EA4335;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 8px 16px rgba(234, 67, 53, 0.35);
    animation: rk-pay-fail-pulse 1.6s ease-in-out infinite;
}

.rk-pay-fail-title {
    margin: 0 0 0.45rem;
    text-align: center;
    font-size: clamp(1.15rem, 4.2vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111827;
    line-height: 1.25;
    padding-inline: 1.5rem;
}

.rk-pay-fail-copy {
    margin: 0 auto 1.1rem;
    text-align: center;
    max-width: 22rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #64748b;
}

.rk-pay-fail-retry-label {
    margin: 0 0 0.85rem;
    text-align: center;
    font-size: 0.88rem;
    color: #334155;
}

.rk-pay-fail-retry-label strong {
    color: #111827;
    font-weight: 800;
}

.rk-pay-fail-actions {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.rk-pay-fail-btn {
    appearance: none;
    border: 0;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.rk-pay-fail-btn-primary {
    background: linear-gradient(135deg, #4285F4, #3367d6);
    color: #fff;
    box-shadow: 0 12px 24px rgba(66, 133, 244, 0.28);
}

.rk-pay-fail-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(66, 133, 244, 0.34);
}

.rk-pay-fail-btn-ghost {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.rk-pay-fail-btn-ghost:hover {
    background: #f1f5f9;
}

.rk-pay-fail-tips {
    list-style: none;
    margin: 0;
    padding: 0.75rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    display: grid;
    gap: 0.55rem;
}

.rk-pay-fail-tips li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.55rem;
    align-items: start;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #64748b;
}

.rk-pay-fail-tips i {
    color: #4285F4;
    font-size: 1rem;
    margin-top: 0.05rem;
}

@keyframes rk-pay-fail-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rk-pay-fail-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@media (min-width: 576px) {
    .rk-pay-fail {
        align-items: center;
        padding: 1.25rem;
    }

    .rk-pay-fail-sheet {
        border-radius: 20px;
        box-shadow: 0 28px 64px rgba(15, 23, 42, 0.24);
        animation-name: rk-wait-pop;
    }

    .rk-pay-fail-sheet::before {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rk-pay-fail-backdrop,
    .rk-pay-fail-sheet,
    .rk-pay-fail-badge {
        animation: none !important;
    }
}

/* Admin template upload help */
.rk-abv-upload-help {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.rk-abv-upload-help-top strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--rk-ink-strong);
    margin-bottom: 0.35rem;
}

.rk-abv-upload-steps {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--rk-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.rk-abv-upload-steps li + li {
    margin-top: 0.2rem;
}

.rk-abv-template-dl {
    display: grid;
    gap: 0.45rem;
}

/* Full-page payment failure */
.rk-pfail {
    position: relative;
    min-height: calc(100vh - 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0.75rem 2rem;
    overflow: hidden;
}

.rk-pfail-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.rk-pfail-glow-a {
    width: 280px;
    height: 280px;
    background: rgba(234, 67, 53, 0.18);
    top: 8%;
    right: 8%;
    animation: rk-pfail-float 10s ease-in-out infinite;
}

.rk-pfail-glow-b {
    width: 240px;
    height: 240px;
    background: rgba(66, 133, 244, 0.14);
    bottom: 10%;
    left: 6%;
    animation: rk-pfail-float 12s ease-in-out infinite reverse;
}

.rk-pfail-card {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
    padding: 1.75rem 1.35rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    animation: rk-pfail-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rk-pfail-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.rk-pfail-visual {
    position: relative;
    height: 8.5rem;
    margin: 0 auto 1rem;
    max-width: 16rem;
}

.rk-pfail-orb {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 5.5rem;
    height: 5.5rem;
}

.rk-pfail-orb-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(234, 67, 53, 0.25);
    animation: rk-pfail-ring 2.2s ease-out infinite;
}

.rk-pfail-orb-core {
    position: absolute;
    inset: 0.55rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #ef4444, #dc2626);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    box-shadow: 0 18px 36px rgba(220, 38, 38, 0.35);
}

.rk-pfail-float {
    position: absolute;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.9rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    animation: rk-pfail-bob 3.2s ease-in-out infinite;
}

.rk-pfail-float-bag {
    left: 0.4rem;
    top: 1.1rem;
    color: #4285F4;
    animation-delay: 0.1s;
}

.rk-pfail-float-card {
    right: 0.2rem;
    top: 0.7rem;
    color: #34A853;
    animation-delay: 0.35s;
}

.rk-pfail-float-coin {
    right: 1.4rem;
    bottom: 0.35rem;
    color: #FBBC05;
    animation-delay: 0.55s;
}

.rk-pfail-kicker {
    margin: 0 0 0.35rem;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rk-pfail-title {
    margin: 0 0 0.55rem;
    font-size: clamp(1.35rem, 4.5vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #0f172a;
    line-height: 1.2;
}

.rk-pfail-copy {
    margin: 0 auto 1.15rem;
    max-width: 28rem;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.55;
}

.rk-pfail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin: 0 auto 1.2rem;
    max-width: 22rem;
}

.rk-pfail-meta > div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.7rem 0.75rem;
    text-align: left;
}

.rk-pfail-meta span {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.15rem;
}

.rk-pfail-meta strong {
    font-size: 0.98rem;
    color: #0f172a;
    font-weight: 800;
}

.rk-pfail-actions {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1.1rem;
}

.rk-pfail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.rk-pfail-btn-primary {
    background: linear-gradient(135deg, #4285F4, #3367d6);
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(66, 133, 244, 0.28);
}

.rk-pfail-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(66, 133, 244, 0.34);
    color: #fff !important;
}

.rk-pfail-btn-ghost {
    background: #fff;
    color: #334155 !important;
    border: 1px solid #e2e8f0;
}

.rk-pfail-btn-ghost:hover {
    background: #f8fafc;
    color: #0f172a !important;
}

.rk-pfail-link {
    display: inline-block;
    margin-top: 0.15rem;
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none !important;
}

.rk-pfail-link:hover {
    color: #4285F4;
}

.rk-pfail-tips {
    list-style: none;
    margin: 0;
    padding: 0.85rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fafc, #fff);
    border: 1px solid #eef2f7;
    display: grid;
    gap: 0.65rem;
    text-align: left;
}

.rk-pfail-tips li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.55rem;
    align-items: start;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #64748b;
}

.rk-pfail-tips i {
    color: #4285F4;
    margin-top: 0.1rem;
}

@keyframes rk-pfail-rise {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes rk-pfail-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(12px, -10px); }
}

@keyframes rk-pfail-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes rk-pfail-ring {
    0% { transform: scale(0.85); opacity: 0.9; }
    100% { transform: scale(1.35); opacity: 0; }
}

@media (min-width: 768px) {
    .rk-pfail-card {
        padding: 2rem 2rem 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rk-pfail-card,
    .rk-pfail-glow,
    .rk-pfail-float,
    .rk-pfail-orb-ring {
        animation: none !important;
    }
}
