
body.v18-page.theme-kvmrun {
    --color-bg: #f5f5f7;
    --color-bg-alt: #ffffff;
    --color-bg-subtle: #f9fafb;
    --color-bg-dark: #111827;
    --color-accent: #0071e3;
    --color-green: #111827;
    --color-text: #111827;
    --color-muted: #6b7280;
    --color-border: #e5e7eb;
    --color-border-lt: #e5e7eb;
    --primary-blue: #0071e3;
}

body.v18-page .section-eyebrow {
    color: var(--v18-muted) !important;
    letter-spacing: 0.14em !important;
    font-size: 0.75rem !important;
}

body.v18-page .breadcrumb {
    color: var(--v18-muted) !important;
}
body.v18-page .breadcrumb a {
    color: var(--v18-muted) !important;
}
body.v18-page .breadcrumb a:hover {
    color: var(--v18-ink) !important;
}

body.v18-page .hero-stripe {
    background: linear-gradient(135deg, #003a8c, #0071e3) !important;
    background-image: none !important;
}

body.v18-page .hero-pill {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #60a5fa !important;
}

body.v18-page .docs-sidebar {
    border-right-color: var(--v18-border) !important;
}
body.v18-page .sidebar-label {
    color: var(--v18-muted) !important;
}
body.v18-page .quick-link {
    color: var(--v18-muted) !important;
    border-radius: 0.5rem !important;
}
body.v18-page .quick-link:hover {
    background: #f3f4f6 !important;
    color: var(--v18-ink) !important;
}
body.v18-page .quick-link .dot {
    background: var(--v18-border) !important;
}
body.v18-page .quick-link:hover .dot,
body.v18-page .quick-link.active .dot {
    background: #0071e3 !important;
}
body.v18-page .quick-link.active {
    color: var(--v18-ink) !important;
    background: #f3f4f6 !important;
}

body.v18-page .content-header {
    border-bottom-color: var(--v18-border) !important;
}

body.v18-page .legal-section {
    background: var(--v18-surface) !important;
    border: 1px solid var(--v18-border) !important;
    border-left: 3px solid transparent !important;
    border-radius: 1.25rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}
body.v18-page .legal-section:hover {
    border-color: #d1d5db !important;
    border-left-color: #d1d5db !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}
body.v18-page .legal-section:target {
    border-left-color: #0071e3 !important;
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.1) !important;
}
body.v18-page .legal-section h2,
body.v18-page .legal-section h3 {
    color: var(--v18-ink) !important;
}
body.v18-page .legal-section p,
body.v18-page .legal-section li {
    color: var(--v18-muted) !important;
}
body.v18-page .legal-section strong {
    color: var(--v18-ink) !important;
}
body.v18-page .legal-section li::before {
    background: #0071e3 !important;
    opacity: 0.7 !important;
}
body.v18-page .section-num {
    background: #f3f4f6 !important;
    color: var(--v18-ink) !important;
    border-radius: 0.375rem !important;
}
body.v18-page .highlight-box {
    background: #eff6ff !important;
    border-left-color: #0071e3 !important;
    color: #374151 !important;
    border-radius: 0 0.75rem 0.75rem 0 !important;
}

.guide-hero { margin-bottom: 5rem; }
@media (min-width: 768px) { .guide-hero { margin-bottom: 7rem; } }

.guide-hero-badge {
    display: inline-flex; align-items: center;
    margin-bottom: 1rem;
    padding: 0.45rem 1rem; border-radius: 999px;
    background: var(--v18-surface);
    border: 1px solid var(--v18-border);
    font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em;
    text-transform: uppercase; color: #111;
}

.guide-hero-body { max-width: 72rem; }
.guide-hero-title {
    font-size: clamp(2.2rem, 4.8vw, 3.5rem);
    margin-bottom: 2rem; line-height: 1.1;
}
.guide-hero-split {
    display: flex; flex-direction: column;
    gap: 1.5rem; align-items: stretch;
}

.guide-hero-lead {
    font-size: 1.0625rem; line-height: 1.8; color: var(--v18-muted); margin: 0;
    padding-left: 1.25rem; border-left: 3px solid #0071e3;
}
.guide-hero-side { display: flex; flex-direction: column; gap: 1.5rem; }
.guide-hero-note {
    font-size: 0.9rem; line-height: 1.75; color: var(--v18-muted); margin: 0;
    padding: 1.15rem 1.35rem; border-radius: 1rem;
    background: var(--v18-surface); border: 1px solid var(--v18-border);
}
.guide-hero-note a { color: #111; font-weight: 600; text-decoration: underline; }

.guide-hero-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.guide-hero-nav-link {
    display: flex; flex-direction: column; gap: 0.35rem;
    padding: 1rem 1.15rem; border-radius: 1rem;
    background: #fff; border: 1px solid var(--v18-border);
    text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.guide-hero-nav-link:hover {
    border-color: #0071e3; box-shadow: 0 6px 20px rgba(0, 113, 227, 0.12);
    transform: translateY(-2px);
}
.guide-hero-nav-num {
    font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em;
    color: #0071e3; font-family: 'Geist', monospace;
}
.guide-hero-nav-text { font-size: 0.875rem; font-weight: 700; color: #111; }

.guide-concepts-shell {
    display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    gap: 3.5rem; align-items: start;
}
@media (max-width: 960px) {
    .guide-concepts-shell { grid-template-columns: 1fr; gap: 2.5rem; }
}

.guide-concepts-aside { position: sticky; top: 7rem; }
@media (max-width: 960px) { .guide-concepts-aside { position: static; } }

.guide-concepts-label,
.guide-faq-label {
    display: inline-block; margin-bottom: 0.85rem;
    font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em;
    text-transform: uppercase; color: #0071e3;
}
.guide-concepts-aside .v18-section-subtext { max-width: none; }

.guide-concepts-track { display: flex; flex-direction: column; gap: 0; min-width: 0; }

.guide-concept-card {
    display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.25rem;
}
@media (max-width: 640px) { .guide-concept-card { grid-template-columns: 2.75rem 1fr; gap: 0.85rem; } }

.guide-concept-marker {
    display: flex; flex-direction: column; align-items: center;
    padding-top: 1.75rem;
}
.guide-concept-step {
    width: 2.25rem; height: 2.25rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; font-weight: 800; letter-spacing: 0.04em;
    background: #f3f4f6; border: 2px solid var(--v18-border);
    color: #6b7280; flex-shrink: 0; font-family: 'Geist', monospace;
}
.guide-concept-line {
    flex: 1; width: 2px; min-height: 2rem; margin-top: 0.5rem;
    background: linear-gradient(to bottom, #d1d5db, #e5e7eb);
}
.guide-concept-card--last .guide-concept-line { display: none; }

.guide-concept-body {
    display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
    padding: 1.75rem 2rem; margin-bottom: 1.25rem;
    align-items: start;
}
@media (max-width: 640px) {
    .guide-concept-body { grid-template-columns: 1fr; padding: 1.5rem; }
}

.guide-concept-body--featured {
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%) !important;
    border-color: #d1d5db !important;
}

.guide-concept-icon {
    width: 2.75rem; height: 2.75rem; border-radius: 0.75rem;
    background: rgba(0, 113, 227, 0.08); border: 1px solid rgba(0, 113, 227, 0.18);
    display: flex; align-items: center; justify-content: center; color: #0071e3;
    flex-shrink: 0;
}
.guide-concept-content h3 {
    font-size: 1.05rem; font-weight: 800; color: #111;
    margin: 0 0 0.75rem; line-height: 1.35;
}
.guide-concept-content p {
    font-size: 0.875rem; color: var(--v18-muted); line-height: 1.78;
    margin: 0 0 0.65rem;
}
.guide-concept-content p:last-child { margin-bottom: 0; }
.guide-concept-content a { color: #111; font-weight: 600; text-decoration: underline; }

.guide-faq-shell {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 3rem; align-items: start;
    padding: 2.5rem; border-radius: 1.75rem;
    background: var(--v18-surface); border: 1px solid var(--v18-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
@media (max-width: 960px) {
    .guide-faq-shell { grid-template-columns: 1fr; gap: 2rem; padding: 1.75rem 1.25rem; }
}

.guide-faq-head { position: sticky; top: 7rem; }
@media (max-width: 960px) { .guide-faq-head { position: static; } }
.guide-faq-head .v18-section-subtext { max-width: none; }

.guide-faq-panel {
    min-width: 0; padding-left: 1.5rem;
    border-left: 2px solid var(--v18-border);
}
@media (max-width: 960px) {
    .guide-faq-panel { padding-left: 0; border-left: none; padding-top: 0.5rem; border-top: 1px solid var(--v18-border); }
}

#faqList { display: flex; flex-direction: column; gap: 0.5rem; counter-reset: faq-counter; }
.faq-item {
    counter-increment: faq-counter;
    border: none; border-radius: 0;
    overflow: visible; background: transparent; scroll-margin-top: 100px;
    border-bottom: 1px solid var(--v18-border);
    transition: border-color 0.2s;
}
.faq-item:last-child { border-bottom: none; }
.faq-item:hover { box-shadow: none; }
.faq-item.is-open { border-bottom-color: #0071e3; box-shadow: none; }

.faq-btn {
    width: 100%; display: grid; grid-template-columns: 2rem 1fr auto;
    align-items: start; gap: 0.85rem 1rem;
    padding: 1.15rem 0; text-align: left;
    background: transparent; border: none; cursor: pointer;
    transition: background 0.15s;
}
.faq-btn::before {
    content: counter(faq-counter, decimal-leading-zero);
    font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em;
    color: #9ca3af; font-family: 'Geist', monospace;
    padding-top: 0.2rem;
}
.faq-btn:hover { background: transparent; }
.faq-btn-text { font-size: 0.9375rem; font-weight: 600; color: #111; line-height: 1.5; }
.faq-icon-wrap {
    width: 1.75rem; height: 1.75rem; border-radius: 0.5rem;
    background: #f3f4f6; border: 1px solid var(--v18-border);
    display: flex; align-items: center; justify-content: center; color: #374151; flex-shrink: 0;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.25s;
}
.faq-item.is-open .faq-icon-wrap {
    background: #0071e3; color: #fff; border-color: #0071e3;
    transform: rotate(180deg);
}
.faq-body { display: none; padding: 0 0 1.25rem 2.85rem; }
.faq-item.is-open .faq-body { display: block; }
@media (max-width: 640px) { .faq-body { padding-left: 0; } }

.faq-body-inner { font-size: 0.9375rem; color: var(--v18-muted); line-height: 1.82; }
.faq-body-inner strong { color: #111; }
.faq-body-inner code {
    background: #f3f4f6; color: #111; border-radius: 4px;
    padding: 0.1em 0.4em; font-size: 0.875em; font-family: 'Geist', monospace;
}
.faq-body-inner a { color: #111; font-weight: 600; text-decoration: underline; }

body.sunset-page .docs-sidebar {
    background: rgba(255, 255, 255, 0.03) !important;
    border-right-color: rgba(255, 255, 255, 0.08) !important;
}
body.sunset-page .quick-link { color: rgba(255, 245, 238, 0.55) !important; }
body.sunset-page .quick-link:hover,
body.sunset-page .quick-link.active {
    background: rgba(255, 78, 80, 0.1) !important;
    color: #F9D423 !important;
}
body.sunset-page .quick-link.active .dot,
body.sunset-page .quick-link:hover .dot { background: #F9D423 !important; }
body.sunset-page .legal-section,
body.sunset-page .concept-card,
body.sunset-page .docs-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 20px !important;
}
body.sunset-page .legal-section h2,
body.sunset-page .concept-card h3 { color: #FFF5EE !important; }
body.sunset-page .legal-section p,
body.sunset-page .concept-card p { color: rgba(255, 245, 238, 0.55) !important; }
body.sunset-page .guide-faq-panel .faq-item {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
body.sunset-page .guide-faq-panel .faq-item.is-open {
    border-bottom-color: rgba(255, 78, 80, 0.35) !important;
    box-shadow: none !important;
}
body.sunset-page .faq-btn-text { color: #FFF5EE !important; }
body.sunset-page .faq-btn:hover { background: rgba(255, 255, 255, 0.03) !important; }
body.sunset-page .guide-faq-panel .faq-btn:hover { background: transparent !important; }
body.sunset-page .faq-icon-wrap {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 245, 238, 0.65) !important;
}
body.sunset-page .faq-item.is-open .faq-icon-wrap {
    background: linear-gradient(135deg, #FF4E50, #F9D423) !important;
    color: #220B1F !important;
    border-color: transparent !important;
}
body.sunset-page .faq-body-inner { color: rgba(255, 245, 238, 0.55) !important; }
body.sunset-page .faq-body-inner strong { color: #FFF5EE !important; }
body.sunset-page .faq-body-inner code {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #F9D423 !important;
}
body.sunset-page .faq-body-inner a { color: #F9D423 !important; }
body.sunset-page .hero-stripe {
    background: linear-gradient(135deg, rgba(255, 78, 80, 0.15), rgba(249, 212, 35, 0.08)) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
}
body.sunset-page .content-header { border-bottom-color: rgba(255, 255, 255, 0.08) !important; }
