
    
    
    
    
    
    
    
    
    .rv-page { background: #f4f6fb; color: #0f172a; min-height: 100vh; }
    .rv-page main { background: linear-gradient(180deg, #07111f 0, #07111f 34rem, #f4f6fb 34rem, #f4f6fb 100%); }
    .rv-intro { position: relative; overflow: hidden; padding: 5.4rem 0 6.2rem; border: 0; background: radial-gradient(circle at 82% 8%, rgba(196,163,90,0.24), transparent 28rem), radial-gradient(circle at 8% 0%, rgba(99,179,237,0.14), transparent 24rem), #07111f; }
    .rv-intro::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), transparent 82%); }
    .rv-intro__inner { position: relative; max-width: 980px; }
    .rv-label { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1rem; border: 1px solid rgba(196,163,90,0.28); border-radius: 999px; background: rgba(196,163,90,0.11); color: #f7d983; padding: 0.46rem 0.72rem; font-family: var(--tsd-font-mono); font-size: 0.8125rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
    .rv-label::before { content: ''; width: 0.42rem; height: 0.42rem; border-radius: 999px; background: #c4a35a; box-shadow: 0 0 0 5px rgba(196,163,90,0.14); }
    .rv-intro h1 { max-width: 930px; margin: 0 0 1rem; color: #fff; font-size: clamp(2.75rem, 6vw, 5.7rem); line-height: 0.94; letter-spacing: -0.07em; }
    .rv-intro p { max-width: 760px; margin: 0 0 1.6rem; color: #cbd5e1; font-size: clamp(1.04rem, 1.5vw, 1.24rem); line-height: 1.7; }
    .rv-meta { display: flex; flex-wrap: wrap; gap: 0.65rem; }
    .rv-meta span { display: inline-flex; align-items: center; gap: 0.48rem; border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; background: rgba(255,255,255,0.07); color: #e2e8f0; padding: 0.55rem 0.8rem; font-size: 0.86rem; font-weight: 800; backdrop-filter: blur(14px); }
    .rv-meta span::before { content: ''; width: 0.38rem; height: 0.38rem; border-radius: 999px; background: #c4a35a; }
    .rv-tool { position: relative; z-index: 2; margin-top: -4.25rem; padding: 0 0 5rem; }
    .rv-layout { display: grid; grid-template-columns: minmax(390px, 0.95fr) minmax(0, 0.78fr); gap: 1rem; align-items: stretch; }
    .rv-panel { background: #fff; border: 1px solid rgba(226,232,240,0.95); border-radius: 28px; box-shadow: 0 28px 90px rgba(15,23,42,0.16); }
    .rv-form-card { position: relative; overflow: hidden; padding: clamp(1.25rem, 3vw, 2rem); }
    .rv-form-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #c4a35a, #1e3a5f); }
    .rv-panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: 1.15rem; margin-bottom: 1.15rem; border-bottom: 1px solid #edf1f6; }
    .rv-panel-header h2 { margin: 0 0 0.35rem; color: #0f172a; font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.08; letter-spacing: -0.04em; }
    .rv-panel-header p { margin: 0; color: #64748b; font-size: 0.95rem; line-height: 1.6; }
    .rv-small-pill { flex: 0 0 auto; border: 1px solid #dbe7ff; border-radius: 999px; background: #f5f8ff; color: #1e3a5f; padding: 0.45rem 0.68rem; font-size: 0.73rem; font-weight: 900; letter-spacing: 0.02em; }
    .rv-section-label { margin: 1.2rem 0 0.75rem; color: #475569; font-size: 0.8125rem; font-weight: 950; letter-spacing: 0.09em; text-transform: uppercase; }
    .rv-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
    .rv-field { display: flex; flex-direction: column; gap: 0.42rem; margin-bottom: 0.95rem; }
    .rv-field label { color: #1f2a44; font-size: 0.85rem; font-weight: 850; }
    .rv-field input { width: 100%; min-height: 3.15rem; border: 1px solid #d4dce8; border-radius: 14px; background: #fff; color: #0f172a; padding: 0.92rem 1rem; font: inherit; transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; }
    .rv-field input::placeholder { color: #94a3b8; }
    .rv-field input:focus { outline: none; border-color: #1e3a5f; box-shadow: 0 0 0 4px rgba(30,58,95,0.12); background: #fff; }
    .rv-help { color: #64748b; font-size: 0.78rem; line-height: 1.45; }
    .rv-mode-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; margin: 0 0 1rem; padding: 0.32rem; border: 1px solid #dde5ef; border-radius: 15px; background: #f8fafc; }
    .rv-mode-tabs label { display: flex; align-items: center; justify-content: center; min-height: 2.85rem; border: 1px solid transparent; border-radius: 11px; cursor: pointer; color: #475569; font-size: 0.86rem; font-weight: 900; text-align: center; transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease; }
    .rv-mode-tabs input { position: absolute; opacity: 0; pointer-events: none; }
    .rv-mode-tabs label:has(input:checked) { background: #fff; border-color: #d7c47f; color: #0f172a; box-shadow: 0 10px 26px rgba(15,23,42,0.08); }
    .rv-mode-section { border: 1px solid #edf1f6; border-radius: 18px; background: #fbfcfe; padding: 1.05rem; margin-bottom: 1.05rem; }
    .rv-mode-section[hidden] { display: none; }
    .rv-submit { width: 100%; min-height: 3.35rem; margin-top: 0.25rem; border: 0; border-radius: 14px; background: #10233f; box-shadow: 0 16px 34px rgba(16,35,63,0.22); }
    .rv-submit:hover { background: #0b1b32; transform: translateY(-1px); }
    .rv-status { display: none; margin-top: 0.9rem; padding: 0.8rem 0.9rem; border-radius: 12px; font-size: 0.88rem; }
    .rv-status.is-visible { display: block; }
    .rv-status--error { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
    .rv-status--info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
    .rv-note { margin: 0.9rem 0 0; color: #64748b; font-size: 0.78rem; line-height: 1.55; }
    .rv-debug-panel { margin: 1rem 0; border: 1px solid #bfdbfe; border-radius: 16px; background: #eff6ff; color: #1e3a5f; padding: 0.95rem; }
    .rv-debug-panel strong { display: block; margin-bottom: 0.25rem; color: #172554; }
    .rv-debug-panel span { display: block; color: #1d4ed8; font-size: 0.86rem; line-height: 1.5; }
    .rv-explainer { display: flex; flex-direction: column; padding: clamp(1.25rem, 3vw, 2rem); background: linear-gradient(155deg, #0f172a 0%, #17243d 58%, #223250 100%); color: #e2e8f0; border-color: rgba(255,255,255,0.08); box-shadow: 0 28px 90px rgba(2,6,23,0.22); }
    .rv-explainer .rv-panel-header { border-bottom-color: rgba(255,255,255,0.1); }
    .rv-explainer h2 { color: #fff; }
    .rv-explainer p { color: #cbd5e1; }
    .rv-flow { display: grid; gap: 0.75rem; margin-top: 0.2rem; }
    .rv-flow__item { display: grid; grid-template-columns: 2.15rem 1fr; gap: 0.85rem; align-items: start; border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; background: rgba(255,255,255,0.055); padding: 0.95rem; }
    .rv-flow__num { display: inline-flex; align-items: center; justify-content: center; width: 2.15rem; height: 2.15rem; border-radius: 999px; background: rgba(196,163,90,0.16); color: #f7d983; font-family: var(--tsd-font-mono); font-size: 0.8125rem; font-weight: 900; }
    .rv-flow__item strong { display: block; margin-bottom: 0.2rem; color: #fff; }
    .rv-flow__item div span { color: #cbd5e1; font-size: 0.88rem; line-height: 1.5; }
    .rv-mini-callout { margin-top: auto; border: 1px solid rgba(196,163,90,0.28); border-radius: 16px; background: rgba(196,163,90,0.1); color: #fde9a6; padding: 1rem; font-size: 0.9rem; line-height: 1.55; }
    .rv-modal-open { overflow: hidden; }
    .rv-modal { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; padding: 1rem; }
    .rv-modal.is-open { display: grid; }
    .rv-modal__backdrop { position: absolute; inset: 0; background: rgba(5,10,20,0.72); backdrop-filter: blur(12px); }
    .rv-modal__dialog { position: relative; width: min(980px, 100%); max-height: min(91vh, 900px); overflow: hidden; border: 1px solid rgba(255,255,255,0.18); border-radius: 30px; background: #fff; box-shadow: 0 34px 140px rgba(0,0,0,0.42); }
    .rv-modal__body { max-height: min(91vh, 900px); overflow: auto; padding: clamp(1.35rem, 3.4vw, 2.25rem); }
    .rv-modal__close { position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 2.35rem; height: 2.35rem; border: 1px solid #dde5ef; border-radius: 999px; background: #fff; color: #475569; cursor: pointer; font-size: 1.25rem; line-height: 1; box-shadow: 0 8px 20px rgba(15,23,42,0.08); }
    .rv-modal__close:hover { color: #0f172a; border-color: #cbd5e1; }
    .rv-modal-view[hidden] { display: none; }
    .rv-stepper { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 2.8rem 1.25rem 0; }
    .rv-stepper span { border: 1px solid #dde5ef; border-radius: 999px; color: #64748b; padding: 0.4rem 0.66rem; font-size: 0.8125rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
    .rv-stepper span.is-active { border-color: #d9c282; background: #fff7df; color: #7c5b15; }
    .rv-modal h2 { margin: 0 0 0.5rem; color: #0f172a; font-size: clamp(1.7rem, 3.2vw, 2.55rem); line-height: 1.03; letter-spacing: -0.055em; }
    .rv-modal p { max-width: 660px; color: #64748b; line-height: 1.65; }
    .rv-modal-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 0.85rem; }
    .rv-modal-actions .tsd-btn { border-radius: 14px; }
    .rv-modal-status { display: none; margin-top: 0.9rem; padding: 0.85rem 0.95rem; border-radius: 12px; font-size: 0.88rem; }
    .rv-modal-status.is-visible { display: block; }
    .rv-modal-status--error { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
    .rv-modal-status--info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
    .rv-scan { display: grid; place-items: center; min-height: 480px; text-align: center; }
    .rv-scan__orb { position: relative; width: 6.4rem; height: 6.4rem; margin: 0 auto 1.35rem; border-radius: 999px; background: radial-gradient(circle, #fff 0 36%, #f8fafc 37% 100%); box-shadow: inset 0 0 0 1px #dde5ef, 0 22px 55px rgba(30,58,95,0.16); }
    .rv-scan__orb::before { content: ''; position: absolute; inset: 0.55rem; border-radius: inherit; border: 2px solid transparent; border-top-color: #1e3a5f; border-right-color: #c4a35a; animation: rv-spin 1.1s linear infinite; }
    .rv-scan__orb::after { content: ''; position: absolute; inset: 2.35rem; border-radius: inherit; background: #c4a35a; animation: rv-pulse 1.2s ease-in-out infinite; }
    .rv-scan-list { display: grid; gap: 0.55rem; width: min(480px, 100%); margin: 1.25rem auto 0; padding: 0; list-style: none; text-align: left; }
    .rv-scan-status { margin: 0.55rem auto 0; color: #1e3a5f; font-weight: 800; }
    .rv-scan-list li { position: relative; display: grid; grid-template-columns: 0.8rem 1fr auto; align-items: center; gap: 0.58rem; border: 1px solid #edf1f6; border-radius: 14px; background: #fbfcfe; padding: 0.78rem 0.9rem; color: #64748b; font-size: 0.92rem; transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease; }
    .rv-scan-list li::before { content: ''; width: 0.52rem; height: 0.52rem; border-radius: 999px; background: #cbd5e1; }
    .rv-scan-list li::after { content: 'Waiting'; color: #94a3b8; font-size: 0.8125rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
    .rv-scan-list li.is-active { border-color: #d9c282; background: #fffaf0; color: #172033; transform: translateY(-1px); }
    .rv-scan-list li.is-active::before { background: #c4a35a; box-shadow: 0 0 0 5px rgba(196,163,90,0.18); animation: rv-step-pulse 1s ease-in-out infinite; }
    .rv-scan-list li.is-active::after { content: 'Now'; color: #7c5b15; }
    .rv-scan-list li.is-done { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }
    .rv-scan-list li.is-done::before { background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,0.12); }
    .rv-scan-list li.is-done::after { content: 'Done'; color: #047857; }
    .rv-report-output { min-height: 360px; }
    @keyframes rv-spin { to { transform: rotate(360deg); } }
    @keyframes rv-pulse { 0%, 100% { transform: scale(0.82); opacity: 0.65; } 50% { transform: scale(1); opacity: 1; } }
    @keyframes rv-step-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(196,163,90,0.14); } 50% { box-shadow: 0 0 0 8px rgba(196,163,90,0.08); } }
    .rv-result-kicker { color: #7c5b15; font-family: var(--tsd-font-mono); font-size: 0.8125rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.55rem; }
    .rv-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 1rem 0; }
    .rv-metric { border: 1px solid #dde5ef; border-radius: 12px; background: #fff; padding: 0.9rem; }
    .rv-metric strong { display: block; color: #101827; font-family: var(--tsd-font-mono); font-size: 2rem; line-height: 1; margin-bottom: 0.35rem; }
    .rv-metric span { color: #64748b; font-size: 0.8125rem; font-weight: 850; letter-spacing: 0.05em; text-transform: uppercase; }
    .rv-callout { border: 1px solid #ead8a8; border-radius: 12px; background: #fffaf0; color: #3f3214; padding: 0.95rem; margin: 1rem 0; }
    .rv-table-wrap { overflow: hidden; border: 1px solid #dde5ef; border-radius: 12px; margin-top: 1rem; background: #fff; }
    .rv-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
    .rv-table th, .rv-table td { padding: 0.82rem 0.75rem; border-bottom: 1px solid #edf1f6; text-align: left; vertical-align: top; }
    .rv-table tr:last-child td { border-bottom: 0; }
    .rv-table th { background: #f8fafc; color: #64748b; font-size: 0.8125rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
    .rv-pill { display: inline-flex; border-radius: 999px; background: #f1f5f9; color: #334155; padding: 0.2rem 0.52rem; font-size: 0.72rem; font-weight: 900; }
    .rv-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: space-between; align-items: center; margin-top: 1.1rem; border: 1px solid #dde5ef; border-radius: 14px; background: #101827; color: #fff; padding: 1rem; }
    .rv-cta h3 { margin: 0 0 0.2rem; color: #fff; font-size: 1.05rem; }
    .rv-cta p { margin: 0; color: #cbd5e1; font-size: 0.88rem; }
    .rv-cta a { color: #0f172a; }
    .rv-section { padding: 4rem 0; background: #fff; border-top: 1px solid #e6ebf2; }
    .rv-section h2 { max-width: 760px; color: #101827; letter-spacing: -0.035em; }
    .rv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
    .rv-step { padding: 1.15rem; box-shadow: none; }
    .rv-step b { display: inline-flex; margin-bottom: 0.85rem; color: #7c5b15; font-family: var(--tsd-font-mono); font-size: 0.8rem; }
    .rv-step h3 { margin-bottom: 0.5rem; font-size: 1.18rem; }
    .rv-step p { margin: 0; color: #64748b; font-size: 0.92rem; }
    @media (max-width: 1040px) { .rv-layout { grid-template-columns: 1fr; } .rv-tool { margin-top: -3rem; } }
    @media (max-width: 720px) { .rv-intro { padding: 3.5rem 0 5rem; } .rv-field-grid, .rv-summary, .rv-steps, .rv-mode-tabs { grid-template-columns: 1fr; } .rv-panel-header { display: block; } .rv-small-pill { display: inline-flex; margin-top: 0.75rem; } .rv-table-wrap { overflow: visible; border: 0; background: transparent; } .rv-table { min-width: 0; display: block; } .rv-table thead { display: none; } .rv-table tbody, .rv-table tr { display: block; } .rv-table tr { border: 1px solid #dde5ef; border-radius: 12px; background: #fff; margin: 0 0 0.75rem; padding: 0.35rem 0; } .rv-table tr:last-child { margin-bottom: 0; } .rv-table td { display: block; width: auto; border-bottom: 0; padding: 0.5rem 0.9rem; } .rv-table td::before { content: attr(data-label); display: block; margin-bottom: 0.15rem; color: #7c5b15; font-size: 0.8125rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; } .rv-modal { padding: 0.5rem; } .rv-modal__dialog, .rv-panel { border-radius: 22px; } }
  
/* Integrate the retained calculator with the refreshed site. */
.legacy-tool .rv-tool{margin-top:0;padding-top:0}.legacy-tool .rv-section{padding:45px 24px;margin:50px 0;border-radius:20px;background:#193447;color:#faf8f2}.legacy-tool .rv-section h2{color:#faf8f2;font-size:32px}.legacy-tool .rv-step h3{color:#152f40}.legacy-tool .tsd-eyebrow{color:#d9b35b;font-size:11px;letter-spacing:.08em}.legacy-tool .rv-intro{display:none}.rv-modal .tsd-btn{display:inline-flex;padding:14px 22px;background:#d9b35b;color:#0c2031;border-radius:30px;text-decoration:none}.legacy-tool .rv-submit{background:#d9b35b;color:#0c2031}.rv-modal input{color-scheme:light}.rv-modal h2,.rv-modal h3{color:#152f40}


/* Audit batch 9D (2026-09-15). */
/* The right-hand panel ends with its own content instead of stretching to the
   height of the form beside it, so the column no longer bottoms out in space. */
@media (min-width:1041px){.rv-layout{align-items:start}}
/* The one eyebrow inside the retained tool matches every other eyebrow on the site. */
.legacy-tool .tsd-eyebrow{text-transform:uppercase}
/* The failure and still-processing views state their heading without adding an
   H2 to the page outline from a view that is hidden until it is needed. */
.rv-report-title{margin:0 0 0.35rem;color:#0f172a;font-size:1.25rem;font-weight:900;line-height:1.25}
