/* Ratings Prime — 2026 VA Disability Rates page. Scoped to .rp-rates-page; shared style.css is untouched. */
.rp-rates-page{--forest:#163A2D;--ivory:#F8F6F1;--gold:#B79247;--charcoal:#242424;--sage-50:#EDF2EC;--sage-100:#E2EBE0;--stone:#F1F0EB;--muted:#536159;--divider:#D6DDD5;--ctrl:#6D7B70;--error:#9D2929;background:var(--ivory);color:var(--charcoal)}
.rp-rates-page nav:not(.scrolled){background:#0F2B21;padding:10px 0}
.rp-rates-page h1,.rp-rates-page h2,.rp-rates-page h3{text-transform:none;letter-spacing:0}
@media(max-width:1023px){.rp-rates-page .chat-btn{width:52px;height:52px;bottom:14px;right:12px;animation:none}.rp-rates-page .chat-btn svg{width:24px;height:24px}}
.rp-rates-page .rp-main{padding-top:68px}
.rp-rates-page .rp-wrap{max-width:1280px;margin:0 auto;padding:0 16px}
.rp-rates-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rp-rates-page .rp-skip{position:absolute;left:16px;top:-60px;background:var(--forest);color:#fff;padding:10px 14px;border-radius:8px;z-index:95;font:600 14px Inter,system-ui,sans-serif}
.rp-rates-page .rp-skip:focus{top:80px;outline:2px solid var(--gold)}
.rp-rates-page *:focus-visible{outline:2px solid var(--forest);outline-offset:2px;box-shadow:0 0 0 2px var(--ivory)}

/* ---- header: full-bleed photo, title on the image */
.rp-rates-page .rp-head{position:relative;height:300px;background:var(--forest);overflow:hidden;margin:0 0 20px}
.rp-rates-page .rp-head-pic,.rp-rates-page .rp-head-art{position:absolute;inset:0;width:100%;height:100%}
.rp-rates-page .rp-head-art{object-fit:cover;object-position:60% 55%}
.rp-rates-page .rp-head-scrim{position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,42,32,.8) 0%,rgba(14,42,32,.5) 45%,rgba(14,42,32,.08) 100%),linear-gradient(0deg,rgba(14,42,32,.45) 0%,rgba(14,42,32,0) 50%)}
.rp-rates-page .rp-head-in{position:relative;height:100%;display:flex;flex-direction:column;justify-content:center;padding-top:40px}
.rp-rates-page .rp-eyebrow{font:600 11px/1 Inter,system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#D6BA76;margin:0 0 10px}
.rp-rates-page .rp-h1{font:700 34px/1.08 'Libre Baskerville',Georgia,serif;color:#fff;margin:0 0 8px;letter-spacing:-.01em;text-shadow:0 1px 2px rgba(0,0,0,.25)}
.rp-rates-page .rp-sub{font:400 17px/1.4 Inter,system-ui,sans-serif;color:#F3EFE6;margin:0 0 12px}
.rp-rates-page .rp-sub .long{display:none}
.rp-rates-page .rp-meta{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px;font:500 13px/1.4 Inter,system-ui,sans-serif;color:#F3EFE6}
.rp-rates-page .rp-meta li{display:inline-flex;align-items:center;gap:7px}
.rp-rates-page .rp-meta svg{width:16px;height:16px;fill:none;stroke:#D6BA76;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rp-rates-page .rp-credit{position:absolute;right:12px;bottom:6px;font:400 10.5px/1.4 Inter,system-ui,sans-serif;color:rgba(248,246,241,.75);margin:0}
.rp-rates-page .rp-credit a{color:inherit}
/* ---- tools grid: estimator first in DOM, table first on desktop */
.rp-rates-page .rp-tools{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"est" "chart";gap:16px;align-items:start}
.rp-rates-page .rp-est{grid-area:est;background:var(--sage-50);border:1px solid var(--divider);border-radius:12px;padding:16px}
.rp-rates-page .rp-chart{grid-area:chart;min-width:0}
.rp-rates-page .rp-est h2{font:700 20px/1.3 'Libre Baskerville',Georgia,serif;color:var(--forest);margin:0 0 12px}
.rp-rates-page .rp-field{margin:0 0 12px}
.rp-rates-page .rp-field>label,.rp-rates-page .rp-lbl{display:block;font:500 14px/1.4 Inter,system-ui,sans-serif;color:var(--charcoal);margin:0 0 6px}
.rp-rates-page select,.rp-rates-page input[type=number],.rp-rates-page input[type=text]{width:100%;min-height:44px;border:1px solid var(--ctrl);border-radius:8px;background:#fff;color:var(--charcoal);font:500 16px Inter,system-ui,sans-serif;padding:8px 12px;-moz-appearance:textfield}
.rp-rates-page input::-webkit-outer-spin-button,.rp-rates-page input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.rp-rates-page select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23163A2D' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}
.rp-rates-page .rp-count{display:flex;align-items:stretch;gap:6px}
.rp-rates-page .rp-count input{text-align:center;font-variant-numeric:tabular-nums}
.rp-rates-page .rp-count button{flex:0 0 44px;min-height:44px;border:1px solid var(--ctrl);border-radius:8px;background:#fff;color:var(--forest);font:600 20px/1 Inter,system-ui,sans-serif;cursor:pointer}
.rp-rates-page .rp-count button:hover:not(:disabled){background:var(--sage-100)}
.rp-rates-page .rp-count button:disabled{opacity:.45;cursor:default}
.rp-rates-page .rp-err{display:block;color:var(--error);font:500 13px/1.4 Inter,system-ui,sans-serif;margin:6px 0 0}
.rp-rates-page .rp-err[hidden]{display:none}
.rp-rates-page input[aria-invalid=true]{border-color:var(--error);box-shadow:inset 0 0 0 1px var(--error)}
.rp-rates-page .rp-field>label.rp-switch,.rp-rates-page .rp-switch{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer;font:500 14px/1.4 Inter,system-ui,sans-serif;margin:0}
.rp-rates-page .rp-switch .knob{display:block}
.rp-rates-page .rp-switch input{position:absolute;opacity:0;width:1px;height:1px}
.rp-rates-page .rp-switch .knob{flex:0 0 44px;width:44px;height:26px;border-radius:13px;background:#fff;border:1px solid var(--ctrl);position:relative;transition:background .15s}
.rp-rates-page .rp-switch .knob::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--ctrl);transition:transform .15s,background .15s}
.rp-rates-page .rp-switch input:checked+.knob{background:var(--forest);border-color:var(--forest)}
.rp-rates-page .rp-switch input:checked+.knob::after{transform:translateX(18px);background:#fff}
.rp-rates-page .rp-switch input:focus-visible+.knob{outline:2px solid var(--forest);outline-offset:2px}
.rp-rates-page .rp-switch .state{font-weight:400;color:var(--muted)}
.rp-rates-page .rp-switch input:checked~.state::before{content:"On"}
.rp-rates-page .rp-switch input:not(:checked)~.state::before{content:"Off"}
.rp-rates-page .rp-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:379px){.rp-rates-page .rp-two{grid-template-columns:1fr}}
.rp-rates-page .rp-adv-btn{width:100%;min-height:44px;border:1px solid var(--ctrl);border-radius:8px;background:#fff;color:var(--forest);font:600 14px Inter,system-ui,sans-serif;padding:8px 12px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;margin:4px 0 0}
.rp-rates-page .rp-adv-btn::after{content:"+";font-size:20px;line-height:1}
.rp-rates-page .rp-adv-btn[aria-expanded=true]::after{content:"\2212"}
.rp-rates-page .rp-adv{padding:12px 0 0}
.rp-rates-page .rp-adv[hidden]{display:none}
.rp-rates-page .rp-help{font:400 13px/1.5 Inter,system-ui,sans-serif;color:var(--muted);margin:4px 0 0}
.rp-rates-page .rp-help a{color:var(--forest)}
.rp-rates-page .rp-period{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0;background:var(--stone);border:1px solid var(--divider);border-radius:10px;padding:3px}
.rp-rates-page .rp-period button{min-height:38px;min-width:96px;border:0;background:transparent;color:var(--forest);border-radius:8px;font:600 14px Inter,system-ui,sans-serif;cursor:pointer}
.rp-rates-page .rp-period button[aria-pressed=true]{background:var(--forest);color:var(--ivory);border-color:var(--forest)}
.rp-rates-page .rp-period button[aria-pressed=true]::before{content:"\2713\00a0"}
.rp-rates-page .rp-chart-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 10px}
.rp-rates-page .rp-chart-head h2{margin:0}
.rp-rates-page .rp-cards{display:grid;grid-template-columns:1fr;gap:12px;margin:20px 0 0}
.rp-rates-page .rp-cards a{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--divider);border-radius:12px;padding:14px 16px;text-decoration:none;color:var(--charcoal);min-height:64px}
.rp-rates-page .rp-cards a:hover{background:var(--sage-50)}
.rp-rates-page .rp-cards svg{width:26px;height:26px;flex:0 0 26px;fill:none;stroke:var(--forest);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.rp-rates-page .rp-cards b{display:block;font:600 15px/1.3 Inter,system-ui,sans-serif;color:var(--charcoal)}
.rp-rates-page .rp-cards small{display:block;font:400 13px/1.4 Inter,system-ui,sans-serif;color:var(--muted)}
.rp-rates-page .rp-cards span{flex:1}
.rp-rates-page .rp-cards i{font-style:normal;font-size:22px;color:var(--muted)}
@media(min-width:768px){.rp-rates-page .rp-cards{grid-template-columns:1fr 1fr 1fr}}
.rp-rates-page .rp-result{border-top:1px solid var(--divider);margin-top:16px;padding-top:16px}
.rp-rates-page .rp-result-l{font:500 14px/1.4 Inter,system-ui,sans-serif;color:var(--muted);margin:0 0 4px}
.rp-rates-page .rp-amount{font:600 32px/1.15 Inter,system-ui,sans-serif;color:var(--charcoal);font-variant-numeric:tabular-nums;letter-spacing:-.01em;overflow-wrap:anywhere;margin:0 0 4px}
.rp-rates-page .rp-amount-meta{font:400 14px/1.45 Inter,system-ui,sans-serif;color:var(--charcoal);margin:0}
.rp-rates-page .rp-tax{font:400 12px/1.4 Inter,system-ui,sans-serif;color:var(--muted);margin:6px 0 0}
.rp-rates-page .rp-low{font:400 13px/1.5 Inter,system-ui,sans-serif;color:var(--forest);background:#fff;border:1px solid var(--divider);border-radius:8px;padding:10px 12px;margin:12px 0 0}
.rp-rates-page .rp-low[hidden]{display:none}
.rp-rates-page .rp-nojs{font:400 13px/1.5 Inter,system-ui,sans-serif;color:var(--charcoal);background:#fff;border:1px solid var(--divider);border-radius:8px;padding:10px 12px;margin:0 0 12px}
.rp-rates-page.js-ready .rp-nojs{display:none}

/* ---- table */
.rp-rates-page .rp-chart h2{font:700 20px/1.3 'Libre Baskerville',Georgia,serif;color:var(--forest);margin:0 0 10px}
.rp-rates-page .rp-tablewrap{background:#fff;border:1px solid var(--divider);border-radius:12px;overflow:hidden}
.rp-rates-page table.rp-table{width:100%;border-collapse:collapse;table-layout:fixed;font:400 16px/1.5 Inter,system-ui,sans-serif}
.rp-rates-page .rp-table caption{text-align:left;font:400 13px/1.5 Inter,system-ui,sans-serif;color:var(--muted);padding:12px 12px 8px}
.rp-rates-page .rp-table caption a{color:var(--forest)}
.rp-rates-page .rp-table th,.rp-rates-page .rp-table td{padding:0 12px;border-top:1px solid var(--divider);text-align:right;vertical-align:middle;min-height:48px;height:48px}
.rp-rates-page .rp-table thead th{font:600 13px/1.4 Inter,system-ui,sans-serif;color:var(--muted);background:#fff;height:44px;border-top:0}
.rp-rates-page .rp-table th:first-child,.rp-rates-page .rp-table td:first-child{text-align:left}
.rp-rates-page .rp-table tbody tr:nth-child(even){background:var(--stone)}
.rp-rates-page .rp-table tbody tr:hover{background:var(--sage-50)}
.rp-rates-page .rp-table tbody tr.is-selected{background:var(--sage-100);box-shadow:inset 3px 0 0 var(--forest)}
.rp-rates-page .rp-table td{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.rp-rates-page .rp-table tbody th{font-weight:500}
.rp-rates-page .rt-pick{min-height:44px;min-width:44px;padding:0 4px;border:0;background:transparent;color:var(--charcoal);font:500 16px Inter,system-ui,sans-serif;cursor:pointer;border-radius:6px;display:inline-flex;align-items:center;gap:8px}
.rp-rates-page .rt-pick:hover{color:var(--forest)}
.rp-rates-page .rt-selected{font:600 11px/1 Inter,system-ui,sans-serif;color:var(--forest);background:#fff;border:1px solid var(--forest);border-radius:10px;padding:3px 7px;letter-spacing:.02em}
.rp-rates-page .rt-selected[hidden]{display:none}
.rp-rates-page .rp-table col.c-rating{width:34%}
.rp-rates-page .rp-foot{font:400 13px/1.5 Inter,system-ui,sans-serif;color:var(--muted);margin:10px 2px 0}
/* phone: one pay column that follows the period */
@media(max-width:1023px){
  .rp-rates-page .rp-table .col-annual,.rp-rates-page .rp-table col.c-annual{display:none}
  .rp-rates-page.period-annual .rp-table .col-annual,.rp-rates-page.period-annual .rp-table col.c-annual{display:table-cell}
  .rp-rates-page.period-annual .rp-table col.c-annual{display:table-column}
  .rp-rates-page.period-annual .rp-table .col-monthly,.rp-rates-page.period-annual .rp-table col.c-monthly{display:none}
  .rp-rates-page .rp-table col.c-rating{width:44%}
}

/* ---- SMC + education */
.rp-rates-page .rp-section{margin:28px 0 0}
.rp-rates-page .rp-section h2{font:700 22px/1.3 'Libre Baskerville',Georgia,serif;color:var(--forest);margin:0 0 6px}
.rp-rates-page .rp-section>p.lead{font:400 15px/1.55 Inter,system-ui,sans-serif;color:var(--charcoal);margin:0 0 14px;max-width:70ch}
.rp-rates-page .rp-smc{background:#fff;border:1px solid var(--divider);border-radius:12px;padding:16px}
.rp-rates-page .rp-smc .rp-field{max-width:560px}
.rp-rates-page .rp-smc-out{border-top:1px solid var(--divider);margin-top:14px;padding-top:14px;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rp-rates-page .rp-smc-out[hidden]{display:none}
.rp-rates-page .rp-smc-out .k{font:500 13px/1.4 Inter,system-ui,sans-serif;color:var(--muted)}
.rp-rates-page .rp-smc-out .v{font:600 26px/1.2 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;color:var(--charcoal)}
.rp-rates-page .rp-smc-out .full{grid-column:1/-1;font:400 14px/1.55 Inter,system-ui,sans-serif;color:var(--charcoal)}
.rp-rates-page .rp-smc-scope{font:500 13px/1.5 Inter,system-ui,sans-serif;color:var(--forest);margin:10px 0 0}
.rp-rates-page details.rp-d{background:#fff;border:1px solid var(--divider);border-radius:12px;margin:0 0 10px}
.rp-rates-page details.rp-d summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;min-height:52px;font:600 16px/1.35 Inter,system-ui,sans-serif;color:var(--forest)}
.rp-rates-page details.rp-d summary::-webkit-details-marker{display:none}
.rp-rates-page details.rp-d summary::after{content:"+";font-size:22px;line-height:1;color:var(--gold)}
.rp-rates-page details.rp-d[open] summary::after{content:"\2212"}
.rp-rates-page details.rp-d .body{padding:0 16px 16px;font:400 15px/1.6 Inter,system-ui,sans-serif;color:var(--charcoal)}
.rp-rates-page details.rp-d .body p{margin:0 0 10px;max-width:72ch}
.rp-rates-page details.rp-d .body ul{margin:0 0 10px;padding-left:20px}
.rp-rates-page details.rp-d .body li{margin:0 0 6px}
.rp-rates-page details.rp-d .body a{color:var(--forest)}
.rp-rates-page details.rp-d .body h3{font:600 15px/1.4 Inter,system-ui,sans-serif;color:var(--forest);margin:12px 0 6px}
.rp-rates-page .rp-mini{width:auto;border-collapse:collapse;font:400 14px/1.4 Inter,system-ui,sans-serif;margin:6px 0 12px}
.rp-rates-page .rp-mini th,.rp-rates-page .rp-mini td{border:1px solid var(--divider);padding:6px 10px;text-align:right;font-variant-numeric:tabular-nums}
.rp-rates-page .rp-mini th:first-child,.rp-rates-page .rp-mini td:first-child{text-align:left}
.rp-rates-page .rp-links{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 8px}
.rp-rates-page .rp-links .btn{min-height:44px;display:inline-flex;align-items:center}
.rp-rates-page .rp-links .btn-outline{color:var(--forest);border-color:var(--forest)}
.rp-rates-page .rp-after{height:28px}

/* ---- tablet */
@media(min-width:768px){
  .rp-rates-page .rp-wrap{max-width:760px;padding:0 24px}
  .rp-rates-page .rp-head{height:320px}
  .rp-rates-page .rp-h1{font-size:42px}
}
/* ---- desktop: photo header, chart left / estimator right */
@media(min-width:1024px){
  .rp-rates-page .rp-main{padding-top:60px}
  .rp-rates-page .rp-wrap{max-width:none;padding:0 24px}
  .rp-rates-page .rp-head{height:340px;margin:0 0 24px}
  .rp-rates-page .rp-head-in{padding-top:48px}
  .rp-rates-page .rp-h1{font-size:52px;margin-bottom:10px}
  .rp-rates-page .rp-sub{font-size:19px;margin-bottom:16px}
  .rp-rates-page .rp-sub .long{display:inline}
  .rp-rates-page .rp-meta{font-size:14px;gap:8px 24px}
  .rp-rates-page .rp-credit{right:28px;bottom:10px}
  .rp-rates-page .rp-tools{grid-template-columns:300px minmax(0,1fr);grid-template-areas:"est chart";gap:24px}
  .rp-rates-page .rp-est{padding:20px;position:sticky;top:76px}
  .rp-rates-page .rp-table th,.rp-rates-page .rp-table td{padding:0 20px}
  .rp-rates-page .rp-table col.c-rating{width:28%}
  .rp-rates-page .rp-amount{font-size:34px}
  .rp-rates-page .rp-two{grid-template-columns:1fr}
}
@media(min-width:1280px){
  .rp-rates-page .rp-wrap{max-width:1280px;padding:0 32px}
  .rp-rates-page .rp-head{height:360px}
  .rp-rates-page .rp-h1{font-size:58px}
  .rp-rates-page .rp-tools{grid-template-columns:minmax(300px,3fr) minmax(0,7fr)}
  .rp-rates-page .rp-table th,.rp-rates-page .rp-table td{padding:0 24px}
  .rp-rates-page .rp-amount{font-size:36px}
}
@media(prefers-reduced-motion:reduce){.rp-rates-page *{transition:none!important}}

/* ---- v5.7 facelift */
.rp-rates-page .rp-opt{font-weight:400;color:var(--muted)}
.rp-rates-page .rp-k{margin-top:10px}
.rp-rates-page #rpKCount{margin-top:8px}
.rp-rates-page .rp-est h2,.rp-rates-page .rp-chart h2,.rp-rates-page .rp-section h2{font-size:22px;letter-spacing:-.01em}
.rp-rates-page .rp-est{box-shadow:0 1px 0 rgba(22,58,45,.04),0 12px 32px -18px rgba(22,58,45,.25)}
.rp-rates-page .rp-tablewrap{box-shadow:0 1px 0 rgba(22,58,45,.04),0 12px 32px -18px rgba(22,58,45,.25)}
.rp-rates-page .rp-amount{font-size:36px}
.rp-rates-page .rp-result{background:#fff;border:1px solid var(--divider);border-radius:10px;padding:14px 16px;margin-top:16px}
.rp-rates-page .rp-table thead th{letter-spacing:.02em;text-transform:uppercase;font-size:12px}
.rp-rates-page .rp-table th,.rp-rates-page .rp-table td{height:52px}
.rp-rates-page .rp-table tbody th{font-weight:600}
.rp-rates-page details.rp-d summary{font-size:17px}
.rp-rates-page .rp-section>p.lead{color:var(--muted)}
@media(min-width:1024px){.rp-rates-page .rp-amount{font-size:40px}.rp-rates-page .rp-est{padding:24px}}
