/* C extends A's V3 tokens and capsule; D owns the narrow menu behavior. */
body.design-v3[data-v3-navigation] header.v3-header nav>a.nav-account{background:#fffaf0;color:#2a2523}
body.design-v3[data-v3-navigation] header.v3-header .v3-nav-columns:has(>[data-v3-bench][hidden]){grid-template-columns:1fr;width:min(320px,100%)}
body.design-v3[data-v3-navigation] header.v3-header .v3-nav-columns strong{padding:8px 14px;color:var(--muted);font-size:.82rem}
body.design-v3[data-v3-navigation] header.v3-header .v3-nav-group>summary::-webkit-details-marker{display:none}
body.design-v3[data-v3-navigation] header.v3-header .header-language{position:relative}
body.design-v3[data-v3-navigation] header.v3-header .header-language[open]>a{position:relative}
body.design-v3[data-v3-navigation] header.v3-header .v3-nav-panel{max-height:calc(100dvh - 110px);overflow-y:auto}
body.design-v3[data-v3-navigation] [data-v3-plans] .plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;grid-auto-rows:auto;margin-top:34px}
body.design-v3[data-v3-navigation] [data-v3-plans] .plan-grid>.card{display:flex;flex-direction:column;gap:10px;grid-row:auto;padding:28px;border:0;border-radius:var(--r);background:var(--card);box-shadow:var(--shadow)}
body.design-v3[data-v3-navigation] [data-v3-plans] .plan-grid>.v2-plan-recommended{box-shadow:0 0 0 2px var(--rust),var(--shadow)}
body.design-v3[data-v3-navigation] [data-v3-plans] .plan-grid>.card>*{grid-row:auto}
body.design-v3[data-v3-navigation] [data-v3-plans] .plan-grid>.card>dl{display:block;flex:1;margin:6px 0 10px}
body.design-v3[data-v3-navigation] [data-v3-plans] .v3-plan-row{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:10px 0;border-bottom:1px solid var(--line);font-size:.95rem}
body.design-v3[data-v3-navigation] [data-v3-plans] .v3-plan-row:last-child{border:0}
body.design-v3[data-v3-navigation] [data-v3-plans] .v3-plan-row dt{margin:0;color:var(--muted);font-weight:400}
body.design-v3[data-v3-navigation] [data-v3-plans] .v3-plan-row dd{margin:0;text-align:left;font-weight:600;font-variant-numeric:tabular-nums;hyphens:none;overflow-wrap:normal;word-break:normal}
body.design-v3[data-v3-navigation] [data-v3-plans] p[data-price-interval]{font:700 clamp(1.8rem,3vw,2.4rem)/1.3 var(--serif);color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap;margin-block:12px}
body.design-v3[data-v3-navigation] [data-v3-plans] p[data-price-interval] small{font:400 1rem/1.5 var(--sans);color:var(--muted);white-space:nowrap}
body.design-v3[data-v3-navigation] [data-v3-plans] .v2-plan-actions{margin-top:auto;display:grid;gap:8px}
body.design-v3[data-v3-navigation] [data-v3-plans] .v2-plan-actions :is(a,button){width:100%;margin:0;white-space:nowrap}
body.design-v3[data-v3-navigation] [data-v3-plans] [data-plan=desk] [data-checkout]{background:var(--rust);color:var(--on-rust)}
body.design-v3[data-v3-navigation] [data-v3-plans] .billing-switch{display:flex;flex-wrap:wrap;gap:4px;width:fit-content;max-width:100%;padding:8px;border:0;border-radius:24px;box-shadow:var(--shadow);margin-top:22px}
body.design-v3[data-v3-navigation] [data-v3-plans] .billing-switch legend{padding:0 8px;color:var(--muted);font-size:.9rem}
body.design-v3[data-v3-navigation] [data-v3-plans] .billing-switch label{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 20px;margin:0;border-radius:999px;cursor:pointer;font-size:.92rem;white-space:nowrap}
body.design-v3[data-v3-navigation] [data-v3-plans] .billing-switch input{position:absolute;min-width:1px;min-height:1px;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
body.design-v3[data-v3-navigation] [data-v3-plans] .billing-switch label:has(input:checked){background:var(--ink);color:var(--on-ink)}
body.design-v3[data-v3-navigation] [data-v3-plans] .billing-switch label:has(input:focus-visible){outline:3px solid var(--rust);outline-offset:3px}
body.design-v3[data-v3-navigation].design-page-subscribe main>section:first-child{padding-top:clamp(48px,7vw,90px)}
body.design-v3[data-v3-navigation].design-page-subscribe main>section:first-child>h1{max-width:none}
@media(min-width:1101px){
  body.design-v3[data-v3-navigation] header.v3-header .v3-desktop-plans{display:flex}
  body.design-v3[data-v3-navigation] header.v3-header>.nav>.v3-mobile-plans{display:none}
  body.design-v3[data-v3-navigation] header.v3-header .header-language[open]{position:relative;align-self:center}
  body.design-v3[data-v3-navigation] header.v3-header .header-language[open]>a{position:absolute;left:0;min-width:150px;top:100%}
  body.design-v3[data-v3-navigation] header.v3-header .header-language[open]>a~a{top:calc(100% + 44px)}
  body.design-v3[data-v3-navigation] header.v3-header .header-language[open]>a~a~a{top:calc(100% + 88px)}
}
@media(max-width:1100px){
  body.design-v3[data-v3-navigation] header.v3-header .v3-nav-panel{max-height:none;overflow:visible}
  body.design-v3[data-v3-navigation] header.v3-header .v3-nav-columns{width:auto}
}
@media(max-width:900px){body.design-v3[data-v3-navigation] [data-v3-plans] .plan-grid{grid-template-columns:1fr}}
@media(max-width:390px){body.design-v3[data-v3-navigation] [data-v3-plans] .plan-grid>.card{padding:22px}}
