.advantage-body { background: #f5f3eb; color: #172e35; }
.advantage-shell { max-width: 1320px; }
.advantage-shell main { margin-top: 20px; }
.advantage-shell main a { color: #075e65; text-underline-offset: 4px; }
.advantage-shell [hidden] { display: none !important; }
.adv-hero { padding: 48px 0 34px; border-bottom: 1px solid #bbc8c4; }
.adv-kicker { color: #396165; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.adv-hero h1 { margin: 20px 0; font-size: clamp(2.6rem, 6.7vw, 5.8rem); line-height: 1.03; letter-spacing: -.065em; max-width: 11ch; }
.adv-hero h1 em { color: #08726b; font-family: Georgia, serif; font-weight: 500; }
.adv-lede { max-width: 660px; font-size: 20px; line-height: 1.5; }
.adv-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 26px; }
.adv-actions a, .adv-method-note > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 750; }
.advantage-shell main .adv-actions .adv-primary { background: #173e43; color: white; text-decoration: none; padding: 13px 18px; gap: 22px; border-radius: 5px; }
.adv-date { color: #526762; font-size: 12px; line-height: 1.5; margin-top: 24px; }
.adv-states { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid #bbc8c4; }
.adv-states article { padding: 25px 22px; border-right: 1px solid #bbc8c4; }
.adv-states article:first-child { padding-left: 0; }
.adv-states article:last-child { border: 0; }
.adv-states span { color: #396165; font-size: 11px; text-transform: uppercase; font-weight: 800; }
.adv-states h2 { font-size: 21px; letter-spacing: -.035em; margin: 10px 0; }
.adv-states p { color: #4b605b; font-size: 14px; line-height: 1.5; margin-bottom: 0; }
.adv-section { padding: 42px 0 0; scroll-margin-top: 95px; }
.adv-section > header { margin-bottom: 22px; max-width: 850px; }
.adv-section h2 { font-size: clamp(1.7rem,3.2vw,2.8rem); line-height: 1.1; letter-spacing: -.045em; margin: 10px 0 14px; }
.adv-section > header > p:last-child { font-size: 15px; color: #4b605b; line-height: 1.5; }
.adv-sequence { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.adv-sequence article { padding: 24px; background: #e7eee8; border: 1px solid #c3cfc7; border-radius: 5px; }
.adv-sequence article > span { font: 14px ui-monospace,monospace; color: #396165; }
.adv-sequence h3 { font-size: 21px; margin: 16px 0 10px; }
.adv-sequence p { line-height: 1.55; font-size: 14px; }
.adv-sequence a { display: flex; align-items: center; min-height: 44px; font-size: 13px; }
.advantage-shell main summary, .advantage-shell main button, .advantage-shell main input, .advantage-shell main select { min-height: 44px; font: inherit; }
.advantage-shell main summary { cursor: pointer; font-size: 13px; padding: 12px 0; }
.adv-filters { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 12px; padding: 20px; background: #e7eee8; border: 1px solid #c3cfc7; border-radius: 5px; }
.adv-filters label { display: grid; gap: 7px; font-size: 12px; font-weight: 750; min-width: 0; }
.adv-filters input, .adv-filters select { width: 100%; min-width: 0; padding: 10px; border: 1px solid #839a91; border-radius: 3px; color: #172e35; background: white; font-size: 16px; }
.adv-filter-actions { display: flex; gap: 10px; grid-column: 1 / -1; }
.advantage-shell button { border: 1px solid #839a91; color: #173e43; background: #fffdf7; padding: 10px 16px; cursor: pointer; border-radius: 4px; }
#adv-results, .adv-empty { font-size: 13px; line-height: 1.5; color: #4b605b; margin: 18px 0; }
.adv-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.adv-card { border: 1px solid #bbc8c4; border-top: 3px solid #08726b; background: #fffefa; border-radius: 5px; padding: 24px; min-width: 0; scroll-margin-top: 95px; }
.adv-card:target { outline: 3px solid #08726b; outline-offset: 3px; }
.adv-card > header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 9px; font-size: 10px; color: #396165; text-transform: uppercase; font-weight: 800; }
.adv-card h3 { font-size: 25px; line-height: 1.13; letter-spacing: -.035em; margin: 19px 0 12px; }
.adv-gain { font-size: 15px; line-height: 1.55; }
.adv-instruments { font-size: 11px; color: #526762; line-height: 1.5; }
.adv-compare-toggle { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; }
.adv-compare-toggle input { width: 19px; accent-color: #075e65; }
.adv-comparison-jump { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px; font-size: 13px; font-weight: 750; }
.adv-detail { border-top: 1px solid #d5dfd7; margin-top: 12px; }
.adv-detail > summary { display: flex; justify-content: space-between; gap: 8px; font-weight: 750; list-style: none; }
.adv-detail > summary::-webkit-details-marker { display: none; }
.adv-detail[open] > summary > span { transform: rotate(45deg); }
.adv-record { margin: 0; }
.adv-record > div { padding: 15px 0; border-top: 1px solid #e0e6df; }
.adv-record dt { font-size: 11px; font-weight: 800; color: #396165; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .025em; }
.adv-record dd { margin: 0; font-size: 14px; line-height: 1.55; }
.adv-record dd strong { display: block; margin-top: 8px; font-size: 12px; }
.adv-evidence { margin-top: 10px; padding: 16px; background: #edf2ec; border-radius: 4px; }
.adv-evidence h4 { margin: 0 0 10px; }
.adv-evidence h5 { margin: 16px 0 8px; font-size: 14px; line-height: 1.45; }
.adv-evidence article + article { border-top: 1px solid #c3cfc7; margin-top: 16px; }
.adv-evidence p { font-size: 12px; line-height: 1.55; }
.adv-evidence a { overflow-wrap: anywhere; }
.adv-evidence nav a { display: block; padding: 10px 0; min-height: 44px; font-size: 12px; line-height: 1.45; }
.adv-evidence ul { padding-left: 18px; }
.adv-evidence li { margin-bottom: 16px; font-size: 13px; line-height: 1.5; }
.adv-evidence li > span { display: block; font-size: 11px; margin-top: 4px; }
.adv-permalink { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
#adv-comparison-content { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-bottom: 16px; }
#adv-comparison-content > article { min-width: 0; padding: 24px; background: white; border: 1px solid #bbc8c4; }
#adv-comparison-content h3 { font-size: 23px; }
.adv-method-note { max-width: 900px; line-height: 1.65; }
.adv-method-note > a { margin-right: 22px; }
.adv-method-list { max-width: 900px; padding-left: 24px; }
.adv-method-list li { padding: 12px 0; line-height: 1.65; }
@media (max-width:900px) { .adv-filters { grid-template-columns: repeat(2,minmax(0,1fr)); } .adv-sequence { grid-template-columns: 1fr; } }
@media (max-width:620px) {
  .advantage-shell { padding-left: max(16px,env(safe-area-inset-left)); padding-right: max(16px,env(safe-area-inset-right)); }
  .adv-hero { padding-top: 23px; }
  .adv-hero h1 { font-size: 49px; }
  .adv-lede { font-size: 17px; }
  .adv-states { grid-template-columns: 1fr; }
  .adv-states article, .adv-states article:first-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid #ccd6ce; }
  .adv-states h2 { font-size: 20px; margin: 7px 0; }
  .adv-states p { margin-top: 7px; }
  .adv-section { padding-top: 30px; }
  .adv-card-grid, #adv-comparison-content { grid-template-columns: 1fr; }
  .adv-card { padding: 20px; }
  .adv-card h3 { font-size: 24px; }
  .adv-filters { padding: 14px; gap: 14px 10px; }
  .adv-filters label:first-child { grid-column: 1/-1; }
  .adv-filters label:last-of-type { grid-column: 1/-1; }
  .adv-evidence { padding: 13px; }
}
@media print { .yt-nav, .adv-filters, .adv-compare-toggle, .adv-comparison-jump, .adv-filter-actions { display:none !important; } .adv-card-grid { display:block; } .adv-card { break-inside:avoid; margin-bottom:16px; } .advantage-body { background:white; } }
