html.vp-root { scroll-padding-top: 128px; }
.vp-page { background: radial-gradient(ellipse at top, #2f282450, transparent 65%), var(--bg); }
.vp-page .site-header { padding-inline: max(16px, calc((100vw - 1200px) / 2)); }
.vp-page .vp-back { font-size: 11px; padding-inline: 11px; }
.vp-main { width: min(100%, 1200px); padding: 0 16px 24px; margin: 0 auto; }
.vp-main:focus { outline: none; }
.vp-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px 18px; margin: 18px 0 16px; }
.vp-hero h1 { max-width: 640px; font-family: var(--display-font); font-size: clamp(34px, 5.8vw, 54px); font-weight: 400; line-height: 1.08; letter-spacing: .01em; }
.vp-hero .eyebrow { margin-bottom: 12px; }
.vp-hero .hero-description { max-width: 600px; margin-top: 12px; font-size: 14px; line-height: 1.65; }
.vp-hero .hero-actions { display: flex; flex-direction: row; flex-wrap: wrap; gap: 9px; position: relative; z-index: 1; }
.vp-hero .hero-actions .button { min-height: 44px; }
.vp-hero .hero-scene { width: 95%; opacity: .36; }
.vp-research-line { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.vp-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border: 1px solid #5a564b; border-radius: 3px; color: #d9d0bf; background: #302d26; font-size: 10px; font-weight: 650; line-height: 1.35; }
.vp-badge.watch { border-color: #966357; background: var(--red-soft); color: #f0c1b5; }
.vp-badge.check { border-color: #837552; background: #383125; color: #ecd8a9; }
.vp-badge.no-alert { border-color: #657257; background: var(--green-soft); color: #cad9bb; }
.vp-jump-nav { position: sticky; top: 58px; z-index: 25; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 6px; border: 1px solid var(--border); border-radius: 4px; background: #1e1d1af7; box-shadow: 0 6px 12px #0003; }
.vp-jump-nav a { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; padding: 8px 4px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 650; border: 1px solid transparent; border-radius: 3px; text-align: center; }
.vp-jump-nav a:hover { color: var(--text); background: var(--surface-hover); border-color: #625b4b; }
.vp-jump-nav a:first-child { color: #edc3b5; }
.vp-section { margin-top: 30px; min-width: 0; }
.vp-section-heading { margin-bottom: 16px; }
.vp-section-heading .tiny-label { margin-bottom: 6px; color: #c09c83; }
.vp-section-heading h2 { font-family: var(--display-font); font-size: 29px; font-weight: 400; line-height: 1.2; letter-spacing: .025em; }
.vp-section-heading > p:last-child { max-width: 740px; margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.vp-split, .vp-roof-guide, .vp-optional-list { display: grid; gap: 12px; }
.vp-card { min-width: 0; padding: 17px; border: 1px solid #49473e; border-radius: 4px; background: linear-gradient(145deg, #29272180, transparent 60%), var(--surface); box-shadow: inset 0 1px 0 #8b7f6210; }
.vp-card h3 { font-size: 16px; line-height: 1.45; font-weight: 650; overflow-wrap: anywhere; }
.vp-card > h3 { margin: 11px 0 7px; }
.vp-card > p, .vp-optional-body > p, .vp-audit-body > p { color: var(--muted); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.vp-card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.vp-card-heading h3 { font-family: var(--display-font); font-size: 26px; font-weight: 400; letter-spacing: .025em; line-height: 1.2; margin-top: 4px; }
.vp-card-number { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 45px; height: 45px; border: 1px solid #735348; border-radius: 3px; color: #dcb19d; background: #3b2b25; font-family: var(--display-font); font-size: 24px; letter-spacing: .02em; }
.vp-note { padding: 12px 14px; border: 1px solid #595445; border-left: 3px solid #9c8761; border-radius: 3px; background: #2d2a23; color: #d4cbbb; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.vp-note p { margin-top: 6px; color: var(--muted); }
.vp-profile { margin-bottom: 14px; border-color: #586046; border-left-color: #81906c; background: #272c23; }
.vp-core-card .vp-meta { margin-top: 8px; }
.vp-plan-card > .vp-note { margin-bottom: 18px; }
.vp-plan-content { display: flex; flex-direction: column; gap: 18px; }
.vp-step { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.vp-step > div { min-width: 0; }
.vp-step-number { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 25px; height: 25px; margin-top: 1px; border: 1px solid #5d5f4e; border-radius: 3px; color: var(--green); background: #2b3027; font-size: 11px; font-weight: 700; }
.vp-step h3 { font-size: 13px; line-height: 1.7; }
.vp-step p { color: var(--muted); font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.vp-step h3 + p { margin-top: 4px; }
.vp-sources { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 7px; }
.vp-sources a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 7px; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.vp-core-card { display: flex; flex-direction: column; gap: 15px; margin-top: 12px; border-color: #675b46; background: #28261f; }
.vp-core-card > div { min-width: 0; }
.vp-core-card h3 { margin: 4px 0 10px; }
.vp-core-ids { color: #d7dfc5; font-family: Consolas, 'Courier New', monospace; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; user-select: text; }
.vp-copy-controls { display: flex; align-items: flex-start; flex-direction: column; gap: 7px; }
.vp-copy-status { max-width: 300px; min-height: 18px; color: var(--green); font-size: 11px; line-height: 1.5; }
.vp-placeholder { color: var(--faint); font-size: 12px; line-height: 1.7; }
.vp-roof-guide > .vp-card:first-child { border-top: 2px solid #a86650; }
.vp-meta { display: block; color: var(--faint); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.vp-meta code { display: inline-block; max-width: 100%; margin: 4px 4px 4px 0; padding: 5px 8px; color: #cbd6b9; background: #292d25; border: 1px solid #505746; border-radius: 3px; font-size: 11px; overflow-wrap: anywhere; }
.vp-snapshot-status { margin-bottom: 12px; padding: 13px 15px; border: 1px solid #605846; border-radius: 4px; color: var(--muted); background: #28251f; font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.vp-snapshot-status strong { color: var(--text); font-weight: 650; }
.vp-snapshot-status .text-button { min-height: 44px; padding: 8px; margin-left: 4px; }
.vp-map-warning { margin-top: 10px; color: #e4c8a7; }
.vp-audit-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 17px; }
.vp-audit-metrics:empty { display: none; }
.vp-audit-metrics > div { min-width: 0; padding: 12px 13px; border: 1px solid #49473e; border-radius: 3px; background: #211f1c; }
.vp-audit-metrics strong { display: block; font-family: var(--display-font); font-size: 27px; font-weight: 400; line-height: 1.2; color: #e2d7c1; }
.vp-audit-metrics span { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; line-height: 1.4; letter-spacing: .055em; overflow-wrap: anywhere; }
.vp-audit-tools { display: flex; flex-direction: column; gap: 12px; }
.vp-field { display: flex; flex-direction: column; min-width: 0; gap: 6px; }
.vp-field > span { color: var(--muted); font-size: 11px; font-weight: 650; }
.vp-field input, .vp-field select { min-width: 0; min-height: 46px; width: 100%; padding: 10px 12px; border: 1px solid #605c4e; border-radius: 4px; background: #1c1c19; color: var(--text); font-size: 16px; }
.vp-field input::placeholder { color: #a9a294; opacity: 1; }
.vp-field input:hover, .vp-field select:hover { border-color: #8e7d63; }
.vp-audit-count { min-height: 20px; margin: 14px 0 9px; color: var(--faint); font-size: 11px; }
.vp-audit-list { display: flex; flex-direction: column; gap: 7px; }
.vp-audit-row { min-width: 0; background: #22211d; border: 1px solid #46443b; border-radius: 4px; }
.vp-audit-row > summary, .vp-optional > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 13px 14px; list-style: none; }
.vp-audit-row > summary::-webkit-details-marker, .vp-optional > summary::-webkit-details-marker { display: none; }
.vp-audit-row > summary > span:first-child, .vp-optional > summary > span:first-child { min-width: 0; }
.vp-audit-row > summary strong { font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.vp-audit-row > summary .vp-meta { margin-top: 3px; }
.vp-audit-row > summary > .vp-badge { max-width: 110px; text-align: center; justify-content: center; flex-shrink: 0; }
.vp-audit-row > summary::after { content: '+'; flex-shrink: 0; color: var(--faint); font-size: 18px; width: 12px; text-align: center; }
.vp-audit-row[open] > summary::after { content: '−'; }
.vp-audit-row > summary:hover, .vp-optional > summary:hover { background: #302d25; }
.vp-audit-row[open] { border-color: #78654e; }
.vp-audit-body { padding: 0 14px 14px; border-top: 1px solid #3f3c32; }
.vp-audit-body > p { margin-top: 12px; }
.vp-audit-body > p.vp-meta { font-size: 11px; color: var(--faint); }
.vp-optional { padding: 0; align-self: start; }
.vp-optional > summary { min-height: 102px; padding: 16px; }
.vp-optional > summary strong { display: block; font-size: 15px; line-height: 1.5; margin: 4px 0; overflow-wrap: anywhere; }
.vp-optional > summary .vp-meta:first-child { color: #c7af83; font-size: 10px; }
.vp-expand { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border: 1px solid #695e48; border-radius: 3px; color: #d6c4a3; font-size: 21px; line-height: 1; }
.vp-optional[open] .vp-expand { font-size: 0; }
.vp-optional[open] .vp-expand::before { content: '−'; font-size: 21px; }
.vp-optional[open] { border-color: #79664e; }
.vp-optional-body { padding: 15px 16px; border-top: 1px solid #49453a; }
.vp-optional-body > .vp-meta { margin-top: 11px; }
.vp-test-plan, .vp-source-list { margin: 0; padding: 0; list-style: none; }
.vp-test-plan { display: grid; gap: 12px; padding: 18px; background: #20211c; border: 1px solid #515644; border-radius: 4px; }
.vp-test-plan .vp-step { gap: 13px; }
.vp-test-plan .vp-step p { font-size: 13px; }
.vp-source-list { display: grid; gap: 7px; }
.vp-source-list > li, .vp-source { min-width: 0; border: 1px solid #454139; border-radius: 3px; background: #211f1b; }
.vp-source-list a, .vp-source a { display: flex; align-items: center; min-height: 48px; padding: 11px 14px; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.vp-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin-top: 30px; padding-top: 17px; border-top: 1px solid #444034; color: var(--faint); font-size: 10px; letter-spacing: .05em; }
.vp-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; letter-spacing: 0; }

@media (min-width: 640px) {
  .vp-page .site-header { padding-inline: max(24px, calc((100vw - 1200px) / 2 + 24px)); }
  .vp-main { padding: 0 24px 28px; }
  .vp-hero { padding: 27px; margin-top: 24px; }
  .vp-jump-nav { gap: 8px; padding-inline: 12px; }
  .vp-jump-nav a { font-size: 13px; }
  .vp-section { margin-top: 38px; }
  .vp-section-heading h2 { font-size: 34px; }
  .vp-audit-tools { flex-direction: row; align-items: flex-end; }
  .vp-search { flex: 1; }
  .vp-field:not(.vp-search) { width: 215px; }
  .vp-audit-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vp-audit-row > summary { padding-inline: 18px; }
  .vp-audit-row > summary > span:first-child { flex: 1; }
  .vp-audit-body { padding-inline: 18px; }
  .vp-source-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 850px) {
  .vp-hero { flex-direction: row; align-items: center; gap: 30px; }
  .vp-hero .hero-actions { flex-direction: column; flex-shrink: 0; }
  .vp-hero .hero-scene { width: 65%; opacity: .48; }
  .vp-split, .vp-optional-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vp-plan-card { padding: 21px; }
  .vp-core-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .vp-copy-controls { flex-shrink: 0; max-width: 270px; }
  .vp-roof-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vp-test-plan { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 25px; padding: 22px; }
}

@media (min-width: 1024px) {
  html.vp-root { scroll-padding-top: 134px; }
  .vp-jump-nav { top: 64px; }
  .vp-page .vp-back { font-size: 12px; }
  .vp-hero .hero-actions .button { min-height: 44px; }
}

@media (max-width: 420px) {
  .vp-page .site-header { padding-inline: 12px; gap: 8px; }
  .vp-page .vp-back { padding-inline: 8px; font-size: 10px; }
  .vp-main { padding-inline: 12px; }
  .vp-hero { padding: 20px 15px; }
  .vp-hero h1 { font-size: 35px; }
  .vp-hero .hero-description { font-size: 13px; }
  .vp-hero .hero-actions { gap: 7px; }
  .vp-hero .hero-actions .button { padding-inline: 11px; font-size: 11px; }
  .vp-jump-nav { padding-inline: 3px; }
  .vp-jump-nav a { font-size: 11px; }
  .vp-audit-row > summary { gap: 8px; padding-inline: 11px; }
  .vp-audit-row > summary > .vp-badge { max-width: 88px; font-size: 9px; padding-inline: 6px; }
  .vp-audit-row > summary::after { width: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html.vp-root { scroll-behavior: auto; }
  .vp-page *, .vp-page *::before, .vp-page *::after { animation: none !important; transition: none !important; }
}
