
@font-face { font-family: "Jakarta"; src: url(/fonts/plus-jakarta-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(/fonts/plus-jakarta-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(/fonts/plus-jakarta-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(/fonts/plus-jakarta-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(/fonts/plus-jakarta-sans-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(/fonts/caveat-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: block; }
@font-face { font-family: "Jakarta Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo"), local("Helvetica"), local("Roboto"); size-adjust: 103.4%; ascent-override: 100.6%; descent-override: 21.3%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta Fallback"; font-weight: 500; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo"), local("Helvetica"), local("Roboto"); size-adjust: 106%; ascent-override: 98.1%; descent-override: 20.8%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta Fallback"; font-weight: 600; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold"), local("Helvetica Bold"), local("Roboto Bold"); size-adjust: 100.1%; ascent-override: 103.9%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold"), local("Helvetica Bold"), local("Roboto Bold"); size-adjust: 102.4%; ascent-override: 101.6%; descent-override: 21.5%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta Fallback"; font-weight: 800; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold"), local("Helvetica Bold"), local("Roboto Bold"); size-adjust: 102.5%; ascent-override: 101.5%; descent-override: 21.5%; line-gap-override: 0%; }
@font-face { font-family: "Caveat Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold"), local("Helvetica Bold"), local("Roboto Bold"); size-adjust: 69.6%; ascent-override: 138%; descent-override: 43%; line-gap-override: 0%; }
:root {
  --paper: #fcfcfb; --card: #ffffff; --card-2: #f4f3ef; --card-3: #eeede8;
  --ink: #16161a; --soft: #46464d; --muted: #67676e; --line: #e8e6e0; --line-2: #d9d7d0;
  --pencil: #66666e;
  --acc: #1a7cff; --acc-btn: #0b63d6; --acc-ink: #0b5fd6;
  --acc-hl: rgba(26,124,255,.2); --acc-tint: #eaf2ff; --dot: rgba(26,124,255,.085);
  --sel-bg: rgba(26,124,255,.24); --sel-ink: inherit;
  --ot: #c2410c; --ot-tint: #fff1e8;
  --shadow-hover: 0 1px 2px rgba(20,20,30,.05), 0 10px 28px rgba(20,20,30,.08);
  --shadow-note: 0 1px 1px rgba(20,20,30,.06), 0 2px 4px rgba(20,20,30,.05), 0 18px 32px -16px rgba(20,20,30,.28);
  --shadow-pop: 0 24px 64px rgba(10,10,20,.25);
  --shadow-press: 0 1px 2px rgba(20,20,30,.1), 0 2px 8px rgba(20,20,30,.06);
  --font: "Jakarta", "Jakarta Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Caveat Fallback", "Bradley Hand", "Segoe Print", cursive;
  
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-7: 32px; --sp-8: 40px; --sp-9: 48px; --sp-10: 64px;
  --sec-gap: var(--sp-9); --pad-card: 28px; --pad-tile: 18px; --gutter: 24px;
  
  --r-xs: 8px; --r-s: 12px; --r-m: 16px; --r-l: 24px; --r-pill: 999px;
  
  --h-s: 40px; --h-m: 48px; --h-chip: 44px;
  
  --fs-2xs: 0.6875rem; --fs-xs: 0.75rem; --fs-sm: 0.8125rem; --fs-ui: 0.875rem; --fs-md: 0.9375rem; --fs-base: 1rem; --fs-lg: 1.0625rem; --fs-xl: 1.25rem;
  --fs-h1: clamp(1.875rem, 4.4vw, 2.75rem); --fs-h1-home: clamp(2.125rem, 4.6vw, 3.25rem); --fs-h2: clamp(1.375rem, 2.6vw, 1.75rem); --fs-h3: 1.0625rem; --fs-hand: 1.5rem;
  --measure: 70ch;
  --focus-ring: 2px solid var(--acc); --focus-offset: 2px;
  color-scheme: light;
}
html[data-theme="dark"] {
  --paper: #131316; --card: #1c1c20; --card-2: #25252a; --card-3: #2d2d33;
  --ink: #f3f2ee; --soft: #c9c8c3; --muted: #a2a1a8; --line: #2c2c32; --line-2: #3a3a42; --pencil: #a9a9b1;
  --acc: #5aa2ff; --acc-btn: #2370e0; --acc-ink: #8fc0ff; --acc-hl: rgba(90,162,255,.28); --acc-tint: #1a2638;
  --sel-bg: rgba(90,162,255,.38);
  --dot: rgba(255,255,255,.045);
  --ot: #ff9a5c; --ot-tint: #33231a;
  --shadow-hover: 0 1px 2px rgba(0,0,0,.35), 0 12px 30px rgba(0,0,0,.35);
  --shadow-note: 0 1px 2px rgba(0,0,0,.4), 0 18px 32px -16px rgba(0,0,0,.6);
  --shadow-pop: 0 24px 64px rgba(0,0,0,.55);
  --shadow-press: 0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.3);
  color-scheme: dark;
}
@media (max-width: 640px) { :root { --pad-card: 16px; --pad-tile: 16px; --sec-gap: var(--sp-8); } }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0; color: var(--ink); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased;
  background-color: var(--paper);
  background-image: linear-gradient(var(--dot) 1px, transparent 1px), linear-gradient(90deg, var(--dot) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px;
}
@media (min-width: 1180px) {
  body::before { content: ""; position: fixed; top: 0; bottom: 0; left: calc(50% - 556px); width: 1.5px; background: var(--margin-c); pointer-events: none; }
}
a { text-decoration: none; }
a:hover { text-underline-offset: 3px; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1 { font-size: var(--fs-h1-home); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); line-height: 1.2; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
h3 { font-size: var(--fs-h3); line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
.wrap { max-width: 1104px; margin: 0 auto; padding: 0 24px; position: relative; }
.e { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -.28em; flex: none; }
.hand { font-family: var(--font); color: var(--muted); font-size: var(--fs-sm); line-height: 1.3; font-weight: 600; letter-spacing: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hdr { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hdr .wrap { min-height: 64px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: .3em; font-weight: 800; letter-spacing: -.035em; font-size: var(--fs-xl); color: var(--ink); text-decoration: none; flex: none; }
.logo i { width: 1.04em; height: 1.04em; background: url(/emoji/dollar-banknote.webp) center / contain no-repeat; flex: none; display: block; }
.logo span { word-spacing: .14em; }
.logo span em { font-style: normal; color: var(--acc); }
.nav { display: flex; gap: 4px; }
.nav a { height: var(--h-s); padding: 0 12px; border-radius: var(--r-s); display: flex; align-items: center; gap: 7px; font-size: var(--fs-md); font-weight: 600; color: var(--soft); white-space: nowrap; text-decoration: none; }
.nav a .e { width: 20px; height: 20px; }
.nav a:hover { background: var(--card-2); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.hdr-r { margin-left: auto; }
.ib { width: var(--h-s); height: var(--h-s); border-radius: var(--r-s); display: grid; place-items: center; color: var(--ink); background: none; border: 0; cursor: pointer; padding: 0; }
.ib:hover { background: var(--card-2); }
@media (max-width: 940px) {
  .hdr .wrap { flex-wrap: wrap; gap: 0 12px; padding-top: 8px; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin: 4px -24px 0; padding: 0 24px 10px; scroll-padding: 24px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
}
.crumbs { font-size: var(--fs-ui); color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.head { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: center; }
.head .big-e { grid-row: span 2; background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; place-items: center; }
.head .hand { align-self: end; }
.head h1 { align-self: start; }
.head .lede { grid-column: 1 / -1; margin-top: 10px; }
.lede { color: var(--soft); line-height: 1.6; }
@media (max-width: 560px) {
  .head { grid-template-columns: 1fr; gap: 10px; }
  .head .big-e { grid-row: auto; width: 60px; height: 60px; border-radius: var(--r-m); }
  .head .big-e img { width: 40px; height: 40px; }
}
.layout { flex-wrap: wrap; gap: 32px; align-items: flex-start; display: block; padding-bottom: 64px; }
.main-col { flex: 999 1 620px; min-width: 0; display: grid; gap: 48px; }
.side-col { flex: 1 1 280px; display: grid; gap: 24px; position: sticky; top: 96px; }
@media (max-width: 940px) { .side-col { position: static; } }
.sheet { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); }
.tool { padding: 28px; display: grid; gap: 28px; }
.tool-sec { display: grid; gap: 16px; }
.tool-sec + .tool-sec { padding-top: 28px; border-top: 1px dashed var(--line); }
.label-h { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.label-h .e { width: 18px; height: 18px; }
@media (max-width: 560px) { .tool { padding: 20px; gap: 24px; } .tool-sec + .tool-sec { padding-top: 24px; } }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px 28px; min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field > .flabel { font-size: var(--fs-sm); font-weight: 600; }
input, select {
  width: 100%; min-width: 0; height: var(--h-m); border: 0; border-bottom: 1.5px solid color-mix(in srgb, var(--ink) 70%, transparent); border-radius: 0;
  background: transparent; font: 600 var(--fs-xl) var(--font); font-variant-numeric: tabular-nums; color: var(--ink);
  outline: none; -webkit-appearance: none; appearance: none; padding: 0 2px;
}
select { font-size: var(--fs-base); padding-right: 28px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236e6e75' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 0 center/20px no-repeat; }
input:is([type="checkbox"], [type="radio"]) { -webkit-appearance: auto; appearance: auto; width: 20px; height: 20px; min-width: 0; margin: 0; padding: 0; border: 0; flex: none; accent-color: var(--acc-btn); cursor: pointer; }
input:focus, select:focus { border-bottom-color: var(--acc); box-shadow: 0 1.5px 0 var(--acc); }
input::placeholder { color: color-mix(in srgb, var(--muted) 60%, transparent); }
input[type="time"]::-webkit-calendar-picker-indicator { opacity: .4; cursor: pointer; }
html[data-theme="dark"] input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(1); }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 2px; top: 50%; transform: translateY(-50%); font: 600 var(--fs-xl) var(--font); color: var(--muted); }
.money input { padding-left: 18px; }
.seg { display: flex; gap: 4px; padding: 4px; background: var(--card-2); width: fit-content; max-width: 100%; }
.seg button { padding: 0 16px; border: 0; background: transparent; font: 600 var(--fs-md) var(--font); color: var(--soft); cursor: pointer; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-press); }
html[data-theme="dark"] .seg button[aria-pressed="true"] { background: var(--card-3); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 640px) { .btns:has(> .btn + .btn) > .btn { flex: 1 1 auto; } } 
.btn { padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 var(--fs-md) var(--font); border: 0; background: var(--card-2); color: var(--ink); cursor: pointer; text-decoration: none !important; transition: background .15s; }
.btn:hover { background: var(--card-3); }
.btn .e { width: 20px; height: 20px; }
.btn-acc { background: var(--acc-btn); color: #fff; }
.btn-acc:hover { background: color-mix(in srgb, var(--acc-btn) 88%, #000); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: color-mix(in srgb, var(--ink) 85%, var(--acc)); }
.status { font-size: var(--fs-ui); color: var(--muted); min-height: 22px; }
.tc { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; table-layout: fixed; }
.tc th { text-align: left; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); padding: 0 10px 10px; }
.tc td, .tc tbody th { padding: 6px 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.tc tbody th { font-size: var(--fs-md); font-weight: 700; color: var(--ink); width: 64px; text-align: left; }
.tc th:first-child, .tc td:first-child { padding-left: 0; }
.tc th:last-child, .tc td:last-child { padding-right: 0; text-align: right; }
.tc td input { font-size: var(--fs-lg); height: 44px; }
.tc td.brk { width: 92px; }
.tc td.hrs { font-weight: 700; font-size: var(--fs-lg); white-space: nowrap; width: auto; }
.tc td.hrs.empty { color: var(--muted); font-weight: 500; }
.tc .ml { display: none; }
.tc tr.wk th { padding: 18px 0 6px; border-top: 0; }
.tc tr.wk th span { font-family: var(--font); font-size: var(--fs-sm); color: var(--muted); font-weight: 600; }
.tc tr.wk:first-child th { padding-top: 0; }
.tag-ot { display: inline-block; margin-right: 8px; padding: 2px 7px; font-size: var(--fs-2xs); font-weight: 800; letter-spacing: .04em; color: var(--ot); background: var(--ot-tint); vertical-align: 2px; border-radius: var(--r-pill); }
@media (max-width: 640px) {
  .tc tbody tr { display: grid; grid-template-columns: 1fr 1fr 76px; gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--line); }
  .tc tbody tr.wk { display: block; border-top: 0; padding: 12px 0 0; }
  .tc tbody th, .tc td { border: 0; padding: 0; width: auto; }
  .tc tbody th { grid-column: 1 / 3; align-self: center; font-size: var(--fs-ui); line-height: 1.2; }
  .tc td.hrs { grid-column: 3; grid-row: 1; text-align: right; }
  .tc .ml { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); display: none; }
}
.result { background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow-note); border: 1px solid var(--line); padding: 24px 28px; display: grid; gap: 20px; }
.big-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 32px; }
.big { display: grid; gap: 6px; }
.big b { font-size: clamp(2.75rem, 7vw, 3.75rem); line-height: 1; font-weight: 800; letter-spacing: -.045em; font-variant-numeric: tabular-nums; width: fit-content; margin-left: -4px; }
.big small { font-size: var(--fs-md); color: var(--soft); }
.rows { display: grid; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; border-top: 1px dashed color-mix(in srgb, var(--acc) 30%, var(--line)); font-size: var(--fs-md); }
.row span { display: flex; align-items: center; gap: 8px; }
.row b { font-weight: 700; font-variant-numeric: tabular-nums; }
.row.ot b { color: var(--ot); }
.conv { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px 28px; align-items: end; }
.answer { display: grid; gap: 6px; }
.answer b { font-size: clamp(2.75rem, 8vw, 4rem); line-height: 1; font-weight: 800; letter-spacing: -.045em; font-variant-numeric: tabular-nums; width: fit-content; margin-left: -4px; background: none; padding: 0; margin: 0; }
.answer small { font-size: var(--fs-md); color: var(--soft); }
.err { color: var(--ot); font-size: var(--fs-ui); min-height: 22px; }
.ad { border: 1.5px dashed color-mix(in srgb, var(--muted) 40%, transparent); border-radius: var(--r-m); display: grid; place-items: center; color: var(--muted); font-size: var(--fs-sm); text-align: center; padding: 12px; background: color-mix(in srgb, var(--card-2) 70%, transparent); }
.ad-lead { min-height: 110px; }
.ad-rect { min-height: 280px; }
.ad-anchor { position: fixed; left: 0; right: 0; bottom: 0; min-height: 60px; border-radius: 0; border-width: 1.5px 0 0; z-index: 30; display: none; background: var(--card-2); }
@media (max-width: 720px) { body { padding-bottom: 64px; } .side-col .ad { display: none; } }
.prose { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 680px; }
.prose h2 { display: flex; align-items: center; gap: 12px; }
.prose h2 .e { width: 32px; height: 32px; }
.prose p, .prose li { color: var(--soft); }
.prose ol { padding-left: 22px; display: grid; gap: 8px; }
.note { background: var(--card); border-radius: var(--r-l); padding: 22px 26px 12px; box-shadow: var(--shadow-note); border: 1px solid var(--line); max-width: 520px; }
.note .hand { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.note .hand .e { width: 24px; height: 24px; }
.note .row { font-weight: 600; color: var(--ink); }
.note .row:first-of-type { border-top: 0; }
.faq { display: grid; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; font-size: var(--fs-base); padding: 8px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--card-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%2346464d' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }
details[open] summary::after { background-color: var(--acc-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12h12' fill='none' stroke='%2346464d' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
html[data-theme="dark"] summary::after { filter: invert(1); background-color: #d6d5d0; }
details p { padding: 0 44px 18px 0; color: var(--soft); font-size: var(--fs-md); }
.side { padding: 22px 24px 10px; }
.side .hand { display: block; margin-bottom: 8px; }
.links { list-style: none; padding: 0; }
.links a { display: flex; align-items: center; gap: 12px; min-height: 52px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: var(--fs-md); text-decoration: none; }
.links li:first-child a { border-top: 0; }
.links a .e { width: 24px; height: 24px; }
.links a::after { content: "›"; margin-left: auto; font-size: 1.375rem; color: var(--muted); }
.links a:hover { color: var(--acc-ink); }
.ref { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.ref div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); padding: 10px 14px; display: flex; justify-content: space-between; gap: 8px; font-variant-numeric: tabular-nums; font-size: var(--fs-md); }
.ref div span { color: var(--muted); }
.ref div b { font-weight: 700; }
.chart { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.chart th { text-align: left; font-size: var(--fs-sm); color: var(--muted); font-weight: 600; padding: 0 12px 10px; }
.chart td { padding: 0 12px; height: 46px; border-top: 1px solid var(--line); font-size: var(--fs-md); }
.chart th:first-child, .chart td:first-child { padding-left: 24px; }
.chart td:first-child { font-weight: 700; }
.chart tr.hit td { background: var(--acc-tint); }
.chart-box { padding: 20px 0 8px; overflow-x: auto; max-width: 560px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.hero-l { display: grid; }
.hero-l .btns { margin-top: 8px; }
.hero-r { position: relative; min-height: 300px; }
.peek { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-note); padding: 18px 20px; display: grid; gap: 4px; }
.peek b { line-height: 1.1; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow-wrap: normal; font-size: clamp(1.375rem, 6.4vw, 2.125rem); }
.peek small { color: var(--muted); font-size: var(--fs-sm); }
.peek-1 { left: 0; top: 14px; width: 62%; transform: rotate(-2deg); }
.peek-2 { right: 0; top: 150px; width: 56%; transform: rotate(1.5deg); }
.float-e { position: absolute; width: 84px; height: 84px; }
.float-e.a { right: 8%; top: -6px; }
.float-e.b { width: 64px; height: 64px; left: 30%; bottom: 0; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; padding-top: 36px; } .hero-r { min-height: 280px; max-width: 460px; } }
.sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 72px; }
.sec-h { display: grid; gap: 6px; }
.folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.folder { position: relative; display: grid; gap: 14px; align-content: start; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.folder:hover { border-color: color-mix(in srgb, var(--acc) 45%, var(--line)); box-shadow: var(--shadow-hover); }
.folder-top { display: flex; align-items: center; justify-content: space-between; }
.folder-top img { width: 52px; height: 52px; }
.count { font-weight: 700; color: var(--muted); background: var(--card-2); padding: 4px 10px; }
.folder p { color: var(--muted); font-size: var(--fs-ui); line-height: 1.5; }
.folder ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.folder li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-ui); font-weight: 600; color: var(--soft); min-height: 30px; }
.folder li .e { width: 18px; height: 18px; }
.folder .soon { position: absolute; top: -12px; right: 18px; font-family: var(--font); font-size: var(--fs-sm); font-weight: 600; font-weight: 700; color: var(--pencil); background: var(--paper); padding: 0 6px; border-radius: var(--r-xs); }
.folder.dim { opacity: .82; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { height: 42px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); text-decoration: none; color: var(--ink); font-weight: 600; font-size: var(--fs-ui); font-variant-numeric: tabular-nums; }
.chips a span { font-weight: 500; color: var(--muted); }
.chips a:hover { border-color: var(--acc); color: var(--acc-ink); }
.foot { background: color-mix(in srgb, var(--paper) 92%, transparent); }
.foot .wrap { flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--muted); }
@media (max-width: 560px) { .wrap { padding: 0 16px; } .nav { margin: 4px -16px 0; padding: 0 16px 10px; } .result { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.scribble { display: block; color: var(--acc); margin-top: -2px; }
.head .scribble { grid-column: 2; }
@media (max-width: 560px) { .head .scribble { grid-column: 1; } }
@media (max-width: 480px) { .chart .sp { display: none; } }
.tabbar { display: none; }
@media (max-width: 720px) {
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-top: 1px solid var(--line); }
  .tab { display: grid; justify-items: center; gap: 2px; padding: 6px 0 2px; border: 0; background: none; color: var(--muted); font: 600 var(--fs-2xs) var(--font); text-decoration: none; cursor: pointer; border-radius: var(--r-s); }
  .tab[aria-current="page"] { color: var(--acc-btn); }
  html[data-theme="dark"] .tab[aria-current="page"] { color: var(--acc-ink); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .ad-anchor { display: none; }
  .hdr .nav { display: none; }
  .hdr .wrap { flex-wrap: nowrap; padding-top: 0; }
  .hdr [data-open-search] { display: none; }
}
.search-bg { position: fixed; inset: 0; z-index: 60; background: rgba(10,10,15,.32); display: flex; align-items: flex-start; justify-content: center; padding: 10vh 16px 16px; }
.search-bg[hidden] { display: none; }
.search-sheet { width: 100%; max-width: 560px; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow-pop); border: 1px solid var(--line); padding: 14px; display: grid; gap: 10px; max-height: 76vh; overflow: hidden; grid-template-rows: auto auto 1fr; }
.grab { display: none; width: 40px; height: 5px; border-radius: 3px; background: var(--line); justify-self: center; }
.search-box { display: flex; align-items: center; gap: 10px; background: var(--card-2); border-radius: var(--r-s); padding: 0 6px 0 12px; color: var(--muted); }
.search-box input { border: 0; box-shadow: none !important; font-weight: 500; height: 46px; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-x { border: 0; background: none; color: var(--acc-ink); font: 600 var(--fs-md) var(--font); padding: 8px 8px; cursor: pointer; }
.search-res { overflow-y: auto; display: grid; align-content: start; gap: 2px; padding-bottom: 6px; }
.search-res h4 { margin: 12px 8px 4px; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.search-res a, .search-res .soon-row { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: var(--r-s); color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-md); }
.search-res a:hover, .search-res a.on { background: var(--card-2); }
.search-res .e { width: 28px; height: 28px; }
.search-res small { display: block; font-weight: 500; font-size: var(--fs-sm); color: var(--muted); }
.search-res .soon-row { color: var(--muted); }
.search-res .soon-row em { margin-left: auto; font-style: normal; font-family: var(--font); font-size: var(--fs-xl); }
.search-res .none { padding: 16px 8px; color: var(--muted); }
@media (max-width: 720px) {
  .search-bg { align-items: flex-end; padding: 0; }
  .search-sheet { border-radius: var(--r-l) var(--r-l) 0 0; max-width: none; max-height: 88vh; padding: 8px 14px calc(14px + env(safe-area-inset-bottom)); border-bottom: 0; }
  .grab { display: block; margin: 2px 0 4px; }
}
.hdr-r { display: flex; align-items: center; gap: 4px; }
@media (max-width: 380px) { .hdr-r { gap: 0; } } 
main > .sec:last-child { padding-bottom: 72px; }
.status:empty { display: none; }
html { scrollbar-gutter: stable; }
html.lock { overflow: hidden; }
:focus { outline: none; }
:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.btn:focus-visible, .seg button:focus-visible, .ib:focus-visible, .tab:focus-visible, .chips a:focus-visible { outline-offset: 2px; }
input:focus-visible, select:focus-visible { outline: none; }
input:is([type="checkbox"], [type="radio"]):focus { box-shadow: none; }
input:is([type="checkbox"], [type="radio"]):focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
.btn:active, .seg button:active, .chips a:active, .tab:active, .ib:active { transform: none; filter: brightness(.96); }
button, a { touch-action: manipulation; }
.search-bg { opacity: 0; }
.search-bg.in { opacity: 1; }
.search-box input { font-size: var(--fs-lg); }
.row { border-top: 1px solid var(--line); }
.row span { color: var(--soft); }
.row b { color: var(--ink); }
.big b { background: none; padding: 0; margin: 0; }
.big b::after, .answer b::after { content: ""; display: block; }
.sumstrip { display: none; }
.crumbs { padding-top: 24px; }
@media (max-width: 640px) {
  .crumbs { padding-top: 14px; font-size: var(--fs-sm); }
  .head { grid-template-columns: 48px 1fr; gap: 2px 12px; padding: 10px 0 16px; }
  .head h1 { font-size: 1.75rem; line-height: 1.1; }
  .head .lede { font-size: var(--fs-md); line-height: 1.5; margin-top: 6px; }
  .tool { padding: 16px; gap: 18px; }
  .tool-sec { gap: 12px; }
  .tool-sec + .tool-sec { padding-top: 18px; }
  .fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; }
  .fields .field:has(.seg) { grid-column: 1 / -1; }
  input, select { font-size: var(--fs-lg); height: 44px; }
  
  select { font-size: var(--fs-base); padding-right: 22px; background-size: 18px; }
  .money::before { font-size: var(--fs-lg); }
  .conv { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .conv .answer { grid-column: 1 / -1; }
  .answer b, .big b { font-size: 2.75rem; }
  .result { padding: 16px 18px; gap: 14px; }
  .big-pair { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .big b { font-size: 2.125rem; }
  .big small { font-size: var(--fs-xs); line-height: 1.35; }
  
  .sumstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 10px 14px; border-radius: var(--r-s); background: var(--acc-tint); font-size: var(--fs-ui); color: var(--soft); margin-bottom: -4px; }
  .sumstrip b { color: var(--ink); font-size: var(--fs-lg); font-variant-numeric: tabular-nums; margin-left: 4px; }
  .sumstrip a { margin-left: auto; font-weight: 600; font-size: var(--fs-sm); }
  
  .tc, .tc tbody { display: table; width: 100%; }
  .tc tbody { display: table-row-group; }
  .tc thead { display: table-header-group; }
  .tc tbody tr, .tc tbody tr.wk { display: table-row; padding: 0; border: 0; margin: 0; }
  .tc th, .tc td, .tc tbody th { display: table-cell; border-top: 1px solid var(--line); padding: 4px 3px; }
  .tc thead th { border-top: 0; padding-bottom: 6px; font-size: var(--fs-xs); }
  .tc th:first-child, .tc td:first-child { padding-left: 0; width: 52px; }
  .tc th:last-child, .tc td.hrs { display: none; }
  .tc td.brk { width: 58px; padding-right: 0; }
  .tc .dh { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: 2px; display: block; }
  .tc td input { font-size: var(--fs-base); height: 44px; padding: 0; min-width: 0; }
  .tc input[type="time"]::-webkit-calendar-picker-indicator { display: none; }
  .tc tr.wk th { padding: 12px 0 2px; border-top: 0; }
}
.tc .dh { display: none; }
@media (max-width: 360px) { .head h1 { font-size: 1.5625rem; } .tc th:first-child, .tc td:first-child { width: 44px !important; } }
@media (min-width: 900px) {
  .tool-sec .conv { grid-template-columns: repeat(2, minmax(0, 200px)) minmax(0, 1fr); }
  .tool-sec .conv .answer { grid-column: auto; align-self: end; }
}
details.more { border: 0; border-radius: var(--r-s); background: var(--card-2); }
details.more:last-child { border: 0; }
details.more summary { min-height: 48px; padding: 6px 14px; font-size: var(--fs-ui); font-weight: 500; color: var(--soft); justify-content: flex-start; }
details.more summary b { color: var(--ink); font-weight: 700; margin-left: 4px; }
details.more summary::after { margin-left: auto; background-color: var(--card); }
details.more[open] summary::after { background-color: var(--acc-tint); }
details.more > .fields { padding: 4px 14px 16px; }
@media (max-width: 640px) { .fields:first-child { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .fields:first-child .field:has(.seg) { grid-column: auto; } }
.seg { flex-wrap: wrap; }
details.more summary { flex-wrap: nowrap; gap: 12px; }
details.more summary > span { white-space: nowrap; }
details.more summary > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; } 
@media (max-width: 640px) { .seg button { font-size: var(--fs-ui); } details.more summary { font-size: var(--fs-sm); padding: 4px 10px 4px 12px; } }
@media (max-width: 360px) { details.more summary > span:nth-child(2) { display: none; } }
html { scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (max-width: 999px) { html:has(.ttc .sumstrip) { scroll-padding-top: 128px; } }
html.theming, html.theming * { transition: background-color .18s ease, color .18s ease, border-color .18s ease !important; }
@media (hover: none) {
  .tc tbody tr:hover, .chart tbody tr:hover { background: none; }
  .btn:hover { background: var(--card-2); } .btn-acc:hover { background: var(--acc-btn); }
  .nav a:hover { background: none; } .chips a:hover { border-color: var(--line); color: var(--ink); }
  a.folder:hover { border-color: var(--line); box-shadow: var(--shadow); }
  .links a:hover, .rel:hover { color: var(--ink); }
}
@media (hover: hover) { .tc tbody tr:hover { background: none; } }
.head { padding: 12px 0 24px; }
.head .big-e { width: 64px; height: 64px; }
.head .big-e img { width: 42px; height: 42px; }
.head h1 { font-size: var(--fs-h1); }
.lede { font-size: var(--fs-lg); }
@media (max-width: 640px) { .head .hand { display: none; } .head { grid-template-columns: 44px 1fr; align-items: center; } .head .big-e { grid-row: 1; width: 44px; height: 44px; } .head .big-e img { width: 28px; height: 28px; } }
.tool-tc { display: grid; gap: 24px; }
.tc-left { display: grid; gap: 16px; min-width: 0; align-content: start; }
.tc-right { display: grid; gap: 12px; align-content: start; }
@media (min-width: 1000px) {
  .tool-tc { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .tc-right .result { box-shadow: none; background: var(--card-2); border: 0; }
}
.tc-right .result { padding: 20px 22px; gap: 14px; }
.tc-right .big { gap: 2px; }
.tc-right .big b { font-size: clamp(2.375rem, 5vw, 3.25rem); }
.tc-right .big + .big { padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 999px) and (min-width: 641px) { .tc-right .result { grid-template-columns: 1fr 1fr; } .tc-right .result .rows { grid-column: 1 / -1; } .tc-right .big + .big { border-top: 0; padding-top: 0; } }
.tc-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding-top: 4px; }
.lnks { display: flex; gap: 4px; flex-wrap: wrap; }
.lnk { padding: 0 12px; background: var(--card-2); color: var(--ink); font: 600 var(--fs-sm) var(--font); cursor: pointer; }
@media (hover: hover) { .lnk:hover { background: var(--card-3); } }
.tc thead th:nth-child(1) { width: 64px; } .tc thead th:nth-child(4) { width: 84px; } .tc thead th:nth-child(5) { width: 64px; }
.tm, .bk { display: flex; align-items: center; gap: 4px; border-bottom: 1.5px solid color-mix(in srgb, var(--ink) 55%, transparent); }
.tm:focus-within, .bk:focus-within { border-bottom-color: var(--acc); box-shadow: 0 1.5px 0 var(--acc); }
.tm input, .bk input { border: 0; box-shadow: none; height: 44px; font-size: var(--fs-lg); padding: 0 2px; min-width: 0; flex: 1; }
.tm input.bad { color: var(--ot); }
.ap { flex: none; padding: 0 6px; background: var(--card-2); color: var(--soft); font: 700 var(--fs-xs) var(--font); letter-spacing: .02em; cursor: pointer; }
@media (hover: hover) { .ap:hover { background: var(--acc-tint); color: var(--acc-ink); } }
.bk span { color: var(--muted); font-size: var(--fs-ui); font-weight: 600; padding-right: 2px; }
.tc td { padding-top: 4px; padding-bottom: 4px; }
@media (max-width: 640px) {
  .tc thead th:nth-child(1) { width: 46px; } .tc thead th:nth-child(4) { width: 56px; }
  .tm { gap: 2px; } .tm input, .bk input { font-size: var(--fs-base); height: 42px; }
  .ap { font-size: var(--fs-2xs); }
  .bk span { font-size: var(--fs-xs); }
  .tc-bar .flabel { font-size: var(--fs-xs); }
  .lnk { padding: 0 10px; font-size: var(--fs-xs); }
  .tc-right .result { grid-template-columns: 1fr 1fr; padding: 16px; gap: 12px; }
  .tc-right .result .rows { grid-column: 1 / -1; }
  .tc-right .big + .big { border-top: 0; padding-top: 0; }
  .tc-right .big b { font-size: 2rem; }
}
.actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.act { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: 0; background: var(--card-2); color: var(--ink); font: 600 var(--fs-ui) var(--font); cursor: pointer; padding: 0 10px; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.act .e { width: 20px; height: 20px; }
.act-main { grid-column: 1 / -1; background: var(--acc-btn); color: #fff; }
@media (hover: hover) { .act:hover { background: var(--card-3); } .act-main:hover { background: color-mix(in srgb, var(--acc-btn) 88%, #000); } }
.sumstrip a { text-decoration: none; }
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(10,10,15,.4); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .16s ease; }
.modal[hidden] { display: none; }
.modal.in { opacity: 1; }
.modal-card { width: 100%; max-width: 420px; max-height: 92vh; overflow: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px; display: grid; gap: 12px; box-shadow: var(--shadow-pop); }
.modal-h { display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-lg); }
.modal-card img { width: 100%; height: auto; border-radius: var(--r-s); border: 1px solid var(--line); }
.modal-tip { font-size: var(--fs-sm); color: var(--muted); }
.modal .btns .btn { flex: 1; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translateX(-50%); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font-weight: 600; font-size: var(--fs-ui); transition: opacity .18s ease; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; }
.toast .e { width: 20px; height: 20px; }
@media (max-width: 720px) { .toast { bottom: calc(88px + env(safe-area-inset-bottom)); } }
@media (max-width: 720px) { .tabbar { transition: opacity .16s ease, visibility .16s; } html.typing .tabbar { opacity: 0; visibility: hidden; } }
.related { display: grid; gap: 12px; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.rel { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); color: var(--ink); font-weight: 600; font-size: var(--fs-md); text-decoration: none; }
.rel .e { width: 24px; height: 24px; }
@media (hover: hover) { .rel:hover { border-color: color-mix(in srgb, var(--acc) 45%, var(--line)); } }
.ref div.hit, .chart tr.hit td { background: var(--acc-tint); }
@media (prefers-reduced-motion: reduce) { html.theming, html.theming * { transition: none !important; } }
@media (max-width: 640px) {
  .tc-left > .fields { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .tc-left > .fields .field:has(.seg) { grid-column: auto; }
  .tc-bar .flabel { display: none; }
  .tc-bar { justify-content: flex-start; padding-top: 0; }
}
.split-bar { display: flex; height: 14px; border-radius: var(--r-pill); overflow: hidden; background: var(--card-2); margin-top: 8px; }
.split-bar i { display: block; height: 100%; }
#barNet, #bKeep { background: var(--acc); }
.b-fed { background: #7d8da6; } .b-fica { background: #b4bfcf; } .b-state { background: #5b7fa6; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--fs-sm); color: var(--soft); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.k-net { background: var(--acc); } .k-fed { background: #7d8da6; } .k-fica { background: #b4bfcf; } .k-state { background: #5b7fa6; }
.row.total { border-top: 1.5px solid var(--ink); font-weight: 700; }
.row.total span { color: var(--ink); font-weight: 700; }
.fine { font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }
.tc-right .fine { padding: 0 4px; }
.rel .abbr { width: 30px; height: 30px; border-radius: var(--r-xs); background: var(--acc-tint); color: var(--acc-ink); font-size: var(--fs-xs); font-weight: 800; display: grid; place-items: center; flex: none; }
.periods { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-top: 4px; }
.periods th, .periods td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--line); font-size: var(--fs-md); }
.periods thead th { border-top: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); padding-top: 0; }
.periods tbody th { font-weight: 600; }
.periods td { font-weight: 700; text-align: right; } .periods thead th:not(:first-child) { text-align: right; }
.periods th:first-child { padding-left: 0; } .periods td:last-child, .periods th:last-child { padding-right: 0; }
.flinks { list-style: none; padding: 0; display: grid; gap: 2px; }
.flinks a { display: flex; align-items: center; gap: 8px; min-height: 36px; font-weight: 600; font-size: var(--fs-md); color: var(--ink); text-decoration: none; }
.flinks a:hover { color: var(--acc-ink); }
.flinks .e { width: 20px; height: 20px; }
@media (max-width: 720px) { .tabbar5 { grid-template-columns: repeat(5, 1fr); } .tab span { font-size: 0.625rem; } }
.prose ul { padding-left: 22px; display: grid; gap: 8px; margin: 0; }
html[data-theme="dark"] .b-fed, html[data-theme="dark"] .k-fed { background: #fbbf24; }
[hidden] { display: none !important; }
.tc-right .result > .row { grid-column: 1 / -1; }
.tc-right .result.solo { grid-template-columns: 1fr; }
.result.solo .big + .big { border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 640px) { [data-hs] .tc-right { display: none; } }
body::before { content: ""; pointer-events: none; z-index: 0; left: calc(50% - 556px); }
main.wrap, .foot { position: relative; z-index: 1; }
@media (max-width: 1179px) {
  body::before { left: 11px; }
  .wrap { padding-left: 24px; padding-right: 18px; }
  .hdr .wrap { padding-left: 18px; }
}
@media (max-width: 720px) {
  :root { --dot: rgba(26,124,255,.13); }
  html[data-theme="dark"] { --dot: rgba(255,255,255,.07); }
}
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
main.wrap { flex: 1 0 auto; width: 100%; padding-bottom: 64px; }
main:focus, main:focus-visible { outline: none; }
.layout, main > .sec:last-child { padding-bottom: 0; }
.foot { margin-top: 0; flex: none; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-xs); font-weight: 700; }
.skip:focus { top: 8px; text-decoration: none; }
.nav a[aria-current="true"] { color: var(--ink); background: var(--acc-tint); }
html[data-theme="dark"] .nav a[aria-current="true"] { color: var(--ink); }
.hdr-r .ib { width: 44px; height: 44px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; padding-top: 40px; padding-bottom: 24px; }
.foot-brand p { font-size: var(--fs-ui); color: var(--soft); line-height: 1.55; }
.foot-col h2 { margin-bottom: 8px; align-items: center; margin: 0; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); min-height: 0; display: block; }
.foot-col h2 a { color: inherit; display: inline-flex; align-items: center; min-height: 24px; }
.foot-col li a:hover { color: var(--acc-ink); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 20px; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 959px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; max-width: 560px; } }
@media (max-width: 600px) {
  .foot-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .foot-col ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .foot-col li a { min-height: 44px; }
}
@media (max-width: 720px) {
  .tabbar { padding-left: max(8px, env(safe-area-inset-left)); padding-right: max(8px, env(safe-area-inset-right)); }
  .tab { min-height: 52px; min-width: 44px; }
  html { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  main.wrap { padding-bottom: 48px; }
  .hdr .hdr-search, .hdr .hdr-tools { display: none; }
}
.search-bg { transition: opacity .16s ease; }
.search-res .qg { display: grid; gap: 2px; }
.search-res a { min-height: 52px; }
.search-res a.on { outline: 2px solid var(--acc); outline-offset: -2px; }
.search-x { min-height: 44px; }
.tools-sheet { max-width: 760px; grid-template-rows: auto auto minmax(0, 1fr); }
.sheet-h { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 0 8px; }
.sheet-h :is(h2, .sheet-t) { font-size: var(--fs-xl); margin: 0; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.sheet-h .ib { width: 44px; height: 44px; }
.tools-body { overflow-y: auto; display: grid; gap: 20px; padding: 4px 4px 8px; overscroll-behavior: contain; }
.tools-body h3 { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 0 4px 6px; }
.tools-body h3 a { color: var(--muted); }
.tgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 4px; }
.tgrid a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 8px; border-radius: var(--r-s); color: var(--ink); font-weight: 600; font-size: var(--fs-md); line-height: 1.3; }
.tgrid a:hover { background: var(--card-2); text-decoration: none; }
.tgrid .e { width: 28px; height: 28px; }
.tgrid small { display: block; font-weight: 500; font-size: var(--fs-xs); color: var(--muted); }
.schips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.schips a { display: grid; place-items: center; min-height: 44px; border-radius: var(--r-xs); background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: var(--fs-ui); }
.schips a:hover { border-color: var(--acc); text-decoration: none; }
.glist { list-style: none; padding: 0; margin: 0; display: grid; }
.glist a { display: flex; align-items: center; min-height: 44px; padding: 4px 8px; border-radius: var(--r-xs); color: var(--ink); font-weight: 500; font-size: var(--fs-md); line-height: 1.35; }
.glist a:hover { background: var(--card-2); text-decoration: none; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.crumbs li + li::before { content: "/"; color: color-mix(in srgb, var(--muted) 50%, transparent); }
.crumbs [aria-current] { color: var(--soft); }
.calc { padding: 28px; display: grid; gap: 24px; }
.calc-h { display: flex; align-items: center; gap: 10px; }
.calc-h .e { width: 28px; height: 28px; }
.calc-h h2 { font-size: var(--fs-xl); text-wrap: pretty; } 
.calc-body { display: grid; gap: 24px; }
.calc-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; align-content: start; }
.calc-body > *, .calc-in > *, .tool > *, .tc-left > *, .tc-right > * { min-width: 0; }
.calc-out { display: grid; gap: 12px; min-width: 0; align-content: start; }
@media (min-width: 960px) {
  .calc-body { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 32px; }
  .calc-out .result { box-shadow: none; background: var(--card-2); border: 0; }
}
@media (max-width: 640px) { .calc { padding: 16px; gap: 16px; } .calc-body { gap: 18px; } }
.fp-field .inp { display: flex; align-items: center; gap: 6px; border-bottom: 1.5px solid color-mix(in srgb, var(--ink) 70%, transparent); }
.fp-field .inp:focus-within { border-bottom-color: var(--acc); box-shadow: 0 1.5px 0 var(--acc); }
.fp-field .inp input, .fp-field .inp select { border: 0; box-shadow: none; flex: 1; padding: 0 2px; }
.fp-field .affix { flex: none; font: 600 1.125rem var(--font); color: var(--muted); }
.fp-field .affix.suf { font-size: var(--fs-md); font-weight: 600; }
.fp-field .hint { font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; }
.fp-field .fe { font-size: var(--fs-sm); color: var(--ot); line-height: 1.4; font-weight: 600; }
.fp-field .fe:empty { display: none; }
.fp-field.bad .inp { border-bottom-color: var(--ot); }
@media (max-width: 640px) { .fp-field .affix { font-size: var(--fs-base); } .fp-field .inp input { font-size: var(--fs-lg); } }
.fp-result .big b { overflow-wrap: anywhere; }
.fp-result .r-extra { display: grid; gap: 12px; }
.bd { display: grid; gap: 8px; }
.bd-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.bd-t th, .bd-t td { padding: 10px 8px; border-top: 1px solid var(--line); text-align: right; font-size: var(--fs-md); vertical-align: middle; }
.bd-t thead th { border-top: 0; padding-top: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.bd-t th:first-child { text-align: left; padding-left: 0; }
.bd-t td:last-child, .bd-t th:last-child { padding-right: 0; }
.bd-t tbody th { font-weight: 500; color: var(--soft); }
.bd-t td { font-weight: 700; color: var(--ink); }
.bd-t tr.is-total th, .bd-t tr.is-total td { border-top: 1.5px solid var(--ink); color: var(--ink); font-weight: 800; }
.bd-t tr.is-tax td { color: var(--ink); }
.bd-t tr.is-note th, .bd-t tr.is-note td { color: var(--muted); font-weight: 500; }
.bd-t .dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: 0; }
@media (max-width: 640px) {
  .bd-t.multi thead { display: none; }
  .bd-t.multi, .bd-t.multi tbody { display: block; }
  .bd-t.multi tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
  .bd-t.multi tr.is-total { border-top: 1.5px solid var(--ink); }
  .bd-t.multi th, .bd-t.multi td { border: 0 !important; padding: 0; text-align: left; }
  .bd-t.multi tbody th { grid-column: 1 / -1; font-weight: 700; color: var(--ink); }
  .bd-t.multi td::before { content: attr(data-label); display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.stat .s-l { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stat .s-l .e { width: 20px; height: 20px; }
.stat .s-v { font-size: 1.625rem; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.stat .s-s { font-size: var(--fs-sm); color: var(--soft); line-height: 1.4; }
.srcs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.srcs h2 { display: flex; align-items: center; gap: 10px; }
.srcs h2 .e { width: 26px; height: 26px; }
.srcs ol { padding-left: 22px; margin: 0; display: grid; gap: 6px; font-size: var(--fs-ui); color: var(--soft); }
.srcs a, .srcs li, .srcs span { overflow-wrap: anywhere; }
.srcs .meta { font-size: var(--fs-sm); color: var(--muted); }
.disc { display: flex; align-items: flex-start; }
.disc .e { width: 22px; height: 22px; }
.disc a { font-weight: 600; }
.yr-wrap { display: grid; gap: 6px; }
.yr button { min-height: 44px; height: 44px; font-variant-numeric: tabular-nums; }
.info-fig { margin: 0; display: grid; gap: 10px; }
.info-art { background: var(--card); border: 1px solid var(--line); padding: 16px; overflow: hidden; }
.info-art svg, .info-art img { display: block; width: 100%; height: auto; }
.info-fig figcaption { font-size: var(--fs-ui); color: var(--soft); }
.info-fig .more { font-size: var(--fs-ui); }
.info-fig .more > div { padding: 0 14px 14px; color: var(--soft); }
.ad-slot { display: grid; gap: 4px; justify-items: center; overflow: hidden; }
.ad-slot .ad-lbl { font-size: var(--fs-2xs); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ad-slot ins { display: block; width: 100%; }
.ad-slot.k-lead ins { min-height: 100px; } .ad-slot.k-rect ins { min-height: 280px; } .ad-slot.k-inline ins { min-height: 250px; }
.faq-sec { display: grid; gap: 12px; max-width: 760px; }
.faq-a { padding: 0 44px 18px 0; color: var(--soft); font-size: var(--fs-md); display: grid; gap: 10px; }
.faq-a p { padding: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.tcard { height: 100%; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-content: start; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.tcard img { width: 44px; height: 44px; grid-row: span 2; }
.tcard h3 { font-size: var(--fs-base); align-self: end; }
.tcard p { font-size: var(--fs-ui); color: var(--soft); line-height: 1.45; }
.tcard .count { grid-column: 2; justify-self: start; margin-top: 6px; }
@media (hover: hover) { a.tcard:hover { border-color: color-mix(in srgb, var(--acc) 45%, var(--line)); } }
.sec-h p { color: var(--soft); }
.state-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 6px; list-style: none; padding: 0; margin: 0; }
.state-chips li { display: flex; }
.state-chips a { flex: 1; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 12px 4px 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); color: var(--ink); font-size: var(--fs-ui); font-weight: 600; line-height: 1.25; }
.state-chips a > span { min-width: 0; }
.state-chips small { color: var(--muted); font-weight: 500; }
.state-chips a b { color: var(--acc-ink); }
.state-chips a:hover { border-color: var(--acc); text-decoration: none; }
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.guide-list a { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); color: var(--ink); font-weight: 600; font-size: var(--fs-md); line-height: 1.35; }
.guide-list a .e { width: 26px; height: 26px; }
.guide-list a:hover { border-color: color-mix(in srgb, var(--acc) 45%, var(--line)); text-decoration: none; }
.doc { max-width: 800px; }
.doc.prose { max-width: 800px; }
.prose h2:not(:first-child) { margin-top: 20px; }
.prose h3 { margin-top: 8px; font-size: var(--fs-h3); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .fine { font-size: var(--fs-ui); }
.updated { font-size: var(--fs-ui); color: var(--muted); }
@media (max-width: 640px) { .doc { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .search-bg, .tabbar, .toast, .tcard { transition: none !important; } }
.sec.first { padding-top: 8px; }
.h-link { color: inherit; } .h-link:hover { color: var(--acc-ink); }
.main-col, .faq-sec, .related, .bd, .stats, .info-fig, .yr-wrap, .sec-h, .disc > *, .result, .fp-result, .calc-out > * { min-width: 0; }
.main-col > *, .sec > *, .prose > *, .srcs > *, .calc-out > *, .result > *, .bd > * { min-width: 0; }
.prose li, .prose p, .faq-a, .srcs ol, .disc { overflow-wrap: break-word; }
.prose a, .faq-a a, .disc a { overflow-wrap: anywhere; }
.tbl-x { -webkit-overflow-scrolling: touch; }
.tbl-x > table { margin: 0; }
@media (max-width: 640px) {
  main table:not(.tc) th, main table:not(.tc) td { overflow-wrap: break-word; }
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
  .fields > .field:last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
  .hero-card .fields > .field:last-child { grid-column: auto; }
  .fp-field .inp { min-width: 0; }
  .fp-field .inp input, .fp-field .inp select { min-width: 0; width: 100%; }
  .seg { flex-wrap: wrap; max-width: 100%; }
  .seg button { min-width: 0; }
  .big b { overflow-wrap: anywhere; max-width: 100%; }
}
@media (max-width: 400px) {
  .result { padding: 16px; }
}
@media print {
  @page { margin: 12mm; }
  html, body { background: #fff !important; color: #000; }
  body { background-image: none !important; display: block; min-height: 0; padding: 0 !important; font-size: 11pt; }
  body::before, .hdr, .tabbar, .foot, .ad, .ad-slot, .ad-anchor, .skip, .toast, .search-bg, .modal { display: none !important; }
  .sheet, .result, .note, .stat { box-shadow: none !important; }
  main.wrap { padding: 0 !important; max-width: none; }
  
  html[data-print="tool"] [data-print-path] { display: block !important; position: static !important; margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: none !important; max-width: none !important; }
  html[data-print="tool"] [data-print-path] > :not([data-print-path]):not([data-print-target]) { display: none !important; }
  html[data-print="tool"] [data-print-target] { border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; background: #fff !important; }
  
  .ttc { display: block !important; }
  .ttc .actions, .ttc .tc-bar, .ttc details.more, .ttc .sumstrip, .ttc .ttc-fine, .ttc .ttc-warn:empty { display: none !important; }
  .ttc .tc-left > .fields .seg button:not([aria-pressed="true"]) { display: none; }
  .ttc .seg { background: none; padding: 0; }
  .ttc .seg button { box-shadow: none !important; padding: 0; height: auto; font-size: 11pt; color: #000; }
  .ttc .fields { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 4px 24px; margin-bottom: 6px; }
  .ttc input, .ttc .tm, .ttc .bk, .ttc .money { border: 0 !important; box-shadow: none !important; height: 22px !important; font-size: 11pt !important; color: #000; background: none !important; }
  .ttc .ttc-head { display: grid !important; font-size: 9pt; }
  .ttc .ttc-day { padding: 1px 0 !important; break-inside: avoid; font-size: 10pt; }
  .ttc .ttc-dl, .ttc .ttc-tot { display: flex !important; gap: 6px; align-items: baseline; justify-content: flex-start; }
  .ttc .ttc-tot { justify-content: flex-end; }
  .ttc .ttc-dl b, .ttc .ttc-tot b { display: inline !important; font-size: 10pt !important; }
  .ttc .ttc-dl small, .ttc .ttc-tot small { display: inline !important; font-size: 8pt !important; }
  .ttc .ttc-tot small { display: none !important; }
  .ttc input, .ttc .ap, .ttc .bk span { font-size: 10pt !important; }
  .ttc .tm input, .ttc .bk input { height: 18px !important; }
  .ttc .tm, .ttc .bk { height: 18px !important; }
  .ttc .ttc-c .ml { display: none !important; }
  .ttc .ttc-wk { padding: 6px 0 2px !important; break-after: avoid; }
  .ttc .ap { background: none !important; height: auto; min-width: 0; padding: 0 2px; min-height: 0 !important; color: #000; }
  .ttc .tc-right { margin-top: 10px; break-inside: avoid; position: static !important; }
  .ttc .tc-right .result { grid-template-columns: 1fr 1fr; background: none !important; border: 1px solid #999 !important; padding: 10px 14px !important; gap: 6px; }
  .ttc .tc-right .result .rows, .ttc .tc-right .result > .row { grid-column: 1 / -1; }
  .ttc .tc-right .big + .big { border-top: 0; padding-top: 0; }
  .ttc .tc-right .big b { font-size: 22pt !important; }
  .ttc .row { min-height: 24px; }
  .tpc, .tpc * { visibility: visible !important; }
}
:root { --h-s: max(40px, 2.5rem); --h-m: max(48px, 3rem); }
h1, h2, h3, .big b, .answer b, .stat .s-v { overflow-wrap: break-word; }
.seg button { height: auto; min-height: 40px; }
.tm input, .bk input { height: max(44px, 2.75rem); }
@media (max-width: 640px) {
  input, select, .tc td input { height: max(44px, 2.75rem); }
  .tm input, .bk input { height: max(44px, 2.75rem); }
}
@media (max-width: 640px) { .head { grid-template-columns: 44px minmax(0, 1fr); } }
@media (max-width: 22em) {
  h1, h2, h3, .lede, .hand, .big b, .answer b, .peek b, .stat .s-v, .fp-field label, .flabel { overflow-wrap: anywhere; hyphens: auto; }
  .fields, .fields:first-child, .tc-left > .fields, .big-pair, .conv, .tc-right .result, .actions { grid-template-columns: minmax(0, 1fr) !important; }
  .fields .field, .tc-right .result .rows, .act-main { grid-column: auto !important; }
  .hero-r { display: none; }
  .row { flex-wrap: wrap; }
}
.field { grid-template-columns: minmax(0, 1fr); }
.field > label, .field > .flabel, .fp-field .hint, .big .hand, .big b, .big small, .peek b, .peek .hand, .row span { overflow-wrap: anywhere; }
.row span { min-width: 0; flex: 1 1 auto; }
.row > span { min-width: 42%; } 
.row b { flex: 0 1 auto; text-align: right; overflow-wrap: break-word; max-width: 58%; } 
.bd { overflow-x: auto; }
@media (max-width: 640px) { .tc-right .result, .big-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fields > * { min-width: 0; }
.fields > .field, .fields > .bn-gu-out { grid-template-columns: minmax(0, 1fr); }
.fields .hand, .fields b, .fields small { overflow-wrap: anywhere; }
@media (max-width: 959px) { .calc-body { grid-template-columns: minmax(0, 1fr); } }
.mw-ans { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .mw-ans { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.mw-ans > *, .stat, .tpc-months > *, .state-chips li, .state-chips a { min-width: 0; }
.stat { grid-template-columns: minmax(0, 1fr); }
.mw-rate, .stat .s-l, .stat .s-v, .state-chips li > span, .state-chips a, .fine a, .tpc-m h3 { overflow-wrap: anywhere; }
.btn { max-width: 100%; white-space: normal; height: auto; min-height: var(--h-m); text-align: center; line-height: 1.25; }
.calc { grid-template-columns: minmax(0, 1fr); }
.calc > *, details.more > *, details.more summary > span { min-width: 0; }
details.more summary > span:first-child { white-space: normal; }
.mw-list { grid-template-columns: minmax(0, 1fr); }
.mw-list li { min-width: 0; overflow-wrap: anywhere; }
.it-ul, .prose ul, .prose ol, .srcs ol { grid-template-columns: minmax(0, 1fr); }
.it-ul li, .prose li { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 940px) and (min-width: 721px) { .hdr .nav { margin: 4px -18px 0; padding: 0 18px 10px; scroll-padding: 18px; } }
.sh-fb[aria-pressed="true"] span { color: #fff !important; }
@media (max-width: 640px), (pointer: coarse) { .seg button { min-height: 44px; } }
.ap { box-sizing: border-box; height: 44px; min-width: 44px; border: solid transparent; border-width: 8px 2px; margin: -8px -2px; background-clip: padding-box; border-radius: 16px / 16px; }
@media (max-width: 640px) { .ap { border-width: 9px 6px; margin: -9px -6px; min-width: 44px; height: 44px; padding: 0 4px; border-radius: 17px; } }
.lnk { box-sizing: border-box; height: 44px; border: 4px solid transparent; border-width: 4px 0; margin: -4px 0; background-clip: padding-box; border-radius: 14px / 14px; min-width: 44px; }
@media (max-width: 640px) { .lnk { height: 44px; border-width: 5px 0; margin: -5px 0; border-radius: 15px / 15px; } }
.sumstrip a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; margin: -12px -8px -12px auto; padding: 0 8px; }
@media (max-width: 640px), (pointer: coarse) { .sh-fb { min-height: 44px !important; } }
body { overflow-wrap: break-word; }
h1, h2, h3 { overflow-wrap: anywhere; }
@media (max-width: 640px) { .seg button { flex: 1 1 auto; white-space: normal; line-height: 1.2; } }
.hdr .logo { font-size: clamp(14px, 1rem, 18px); font-weight: 700; letter-spacing: -.02em; }
@media (min-width: 1000px) { .hdr .logo { font-size: clamp(15px, 1.0625rem, 19px); } }
.hdr .wrap > * { min-width: 0; }
.doc ol, .doc ul { grid-template-columns: minmax(0, 1fr); }
.doc li { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 959px) {
  .calc-body { gap: 18px; }
  .calc-body > .calc-in { display: contents; }
  .calc-body > .calc-in > * { order: 3; }
  .calc-body > .calc-in > :first-child { order: 1; }
  .calc-body > .calc-out { order: 2; }
}
.field { align-content: start; }
@supports (grid-template-rows: subgrid) and selector(:has(*)) {
  .fields:not(:has(> :not(.field))) > .field { grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .fields:not(:has(> :not(.field))) > .field > label, .fields:not(:has(> :not(.field))) > .field > .flabel { align-self: end; padding-bottom: 6px; }
  .fields:not(:has(> :not(.field))) { row-gap: 0; }
  .fields:not(:has(> :not(.field))) > .field > .hint, .fields:not(:has(> :not(.field))) > .field > .fe { margin-top: 6px; }
  .fields:not(:has(> :not(.field))) > .field { padding-bottom: 14px; }
}
.fp-field .inp select { padding-right: 26px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
@media (max-width: 640px) { .fp-field .inp select { padding-right: 22px; } }
.peek, .peek-1, .peek-2 { min-width: 0; }
html[data-theme="dark"] summary::after, html[data-theme="dark"] details.more summary::after {
  filter: none; background-color: var(--card-3); box-shadow: inset 0 0 0 1px #4a4a52;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23f3f2ee' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
html[data-theme="dark"] details[open] summary::after, html[data-theme="dark"] details.more[open] summary::after {
  background-color: var(--acc-tint); box-shadow: inset 0 0 0 1px var(--acc);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%238fc0ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.head .byline { grid-column: 1 / -1; margin: 4px 0 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.head .byline a { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.consent { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; max-width: 560px; margin: 0 auto; background: var(--card); color: var(--ink); border: 1px solid var(--line); padding: 14px 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: var(--fs-ui); line-height: 1.45; border-radius: var(--r-m); box-shadow: var(--shadow-note); }
.consent p { margin: 0; flex: 1 1 260px; min-width: 0; }
.consent-b { display: flex; gap: 8px; flex: none; }
.consent .btn { height: 38px; padding: 0 14px; font-size: var(--fs-ui); }
@media (max-width: 720px) { .consent { bottom: calc(76px + env(safe-area-inset-bottom)); } }
.hdr-saved { position: relative; width: auto !important; padding: 0 10px; gap: 6px; text-decoration: none !important; color: var(--ink); display: inline-flex; align-items: center; }
.hdr-saved-t { font-weight: 600; font-size: var(--fs-ui); }
.hdr-saved .cnt { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-xs); color: #fff; font: 700 11px/18px var(--font); text-align: center; }
@media (max-width: 420px) { .hdr-saved-t { display: none; } .hdr-saved { padding: 0; width: 44px !important; justify-content: center; } }
.fields > .field:only-child { grid-column: 1 / -1; }
::selection { background: var(--sel-bg); color: var(--ink); }
.big b::selection, .answer b::selection { background: var(--sel-bg); }
.mark { background: none; padding: 0; text-decoration-line: underline; text-decoration-color: var(--acc-hl); text-decoration-thickness: .36em;
  text-underline-offset: -.3em; text-decoration-skip-ink: none; -webkit-text-decoration-skip: none; text-decoration-skip: none; }
.big b::after, .answer b::after { height: 6px; margin-top: var(--sp-1); width: 64px; border-radius: var(--r-pill); background: var(--acc-hl); }
code, kbd { font: 500 .9em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--card-2); color: var(--ink); border-radius: var(--r-xs); padding: .1em .35em; }
.prose a, .disc a, .srcs a, .faq-a a, .fine a { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: 3px; }
.prose a:hover, .disc a:hover, .srcs a:hover, .faq-a a:hover, .fine a:hover { text-decoration-color: currentColor; }
.nav a[aria-current] { background: var(--acc-tint); color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 22%, transparent); }
html[data-theme="dark"] .nav a[aria-current] { color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 35%, transparent); }
@media (max-width: 940px) { .nav a[aria-current] { background: var(--acc-tint); } }
.nav a .e, .nav a img { flex: none; width: 20px; height: 20px; }
[data-theme-toggle]:empty::before { content: ""; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: var(--ico-moon) center/20px no-repeat; mask: var(--ico-moon) center/20px no-repeat; }
html[data-theme="dark"] [data-theme-toggle]:empty::before { -webkit-mask-image: var(--ico-sun); mask-image: var(--ico-sun); }
:root { --ico-moon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z'/%3E%3C/svg%3E");
  --ico-sun: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); }
.hdr .logo { min-height: 44px; }
.hdr-r { flex: none; }
.hdr-r .ib, .hdr-saved { flex: none; }
.hdr-saved .cnt { pointer-events: none; }
main.wrap > :is(.disc, .srcs, .faq-sec, .page-prose, .info-fig, .stats, .ad-slot, .ctx-tip, .related, .sheet.doc, .calc-wrap) { margin-top: var(--sec-gap); }
main.wrap > .head + :is(.disc, .srcs, .faq-sec, .page-prose, .info-fig, .stats, .ad-slot, .ctx-tip, .related, .sheet.doc, .calc-wrap) { margin-top: 0; }
.related { margin-top: var(--sec-gap); }
main.wrap > :not(.head, .crumbs, .btns) + :is(.sheet, .stats, div[data-qp], div[data-mt], div[data-pc], .calc) { margin-top: var(--sp-6); }
main.wrap > .head:first-child { padding-top: var(--sp-8); }
:root { --col-read: 760px; }
.prose { max-width: min(100%, var(--col-read)); }
.prose p, .prose li { max-width: var(--measure); }
.faq-sec, .srcs, .disc, .page-prose, .doc, .doc.prose, .ctx-tip p { max-width: var(--col-read); }
.doc { padding: var(--pad-card); }
.lede { max-width: var(--measure); }
.sec-h p { max-width: var(--measure); }
.disc { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-m); background: var(--card-2); color: var(--soft); font-size: var(--fs-ui); line-height: 1.55; gap: var(--sp-3); border: 1px solid var(--line); }
.disc p { min-width: 0; }
.disc .e { margin-top: 1px; }
html[data-theme="dark"] .disc { background: var(--card); }
.ctx-tip p, .pc-callout { border-radius: var(--r-m); }
.sheet, .result, .note { border-radius: var(--r-l); }
.calc, .tool { padding: var(--pad-card); }
.tcard, .stat, .folder { padding: var(--pad-tile); border-radius: var(--r-m); }
.stat { box-shadow: var(--shadow); }
.rel, .guide-list a, .state-chips a, .chips a, .schips a, details.more, .search-box, .ref div { border-radius: var(--r-s); }
.info-art { border-radius: var(--r-m); }
@media (hover: hover) {
  a.tcard:hover, a.folder:hover, .rel:hover, .guide-list a:hover { box-shadow: var(--shadow-hover); border-color: color-mix(in srgb, var(--acc) 45%, var(--line)); }
}
.count { border-radius: var(--r-pill); font-size: var(--fs-sm); }
.head .big-e { border-radius: var(--r-m); }
@media (max-width: 640px) { .head .big-e { border-radius: var(--r-s); } }
.btn { border-radius: var(--r-s); }
.seg { border-radius: var(--r-s); }
.seg button { border-radius: var(--r-xs); }
.act { border-radius: var(--r-s); }
.modal-card, .search-sheet { border-radius: var(--r-l); box-shadow: var(--shadow-pop); }
.toast { box-shadow: var(--shadow-pop); }
html[data-theme="dark"] .consent { border-color: var(--line-2); }
.prose h2, .sec h2, .faq-sec h2, .related h2, .srcs h2 { font-size: var(--fs-h2); }
.srcs h2 { font-size: var(--fs-xl); }
.related h2 { font-size: var(--fs-xl); }
.head .lede-box { grid-column: 1 / -1; margin-top: 10px; display: block; min-width: 0; }
.head .lede-box .lede { margin: 0; }
.lede-more { display: none; }
@media (max-width: 640px) {
  .head { padding-bottom: var(--sp-4); }
  .head .lede-box { margin-top: 6px; display: flex; align-items: flex-end; gap: var(--sp-2); }
  .head.has-clamp:not(.is-open) .lede { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .head.has-clamp:not(.is-open) .byline { display: none; }
  .lede-more { display: inline-flex; align-items: center; flex: none; min-height: 44px; margin: -11px -4px -11px 0; padding: 0 var(--sp-2); border: 0; background: none;
    font: 600 var(--fs-md) var(--font); color: var(--acc-ink); cursor: pointer; border-radius: var(--r-xs); }
  .lede-more::after { content: ""; width: 7px; height: 7px; margin-left: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
  .head.is-open .lede-more::after { transform: translateY(2px) rotate(-135deg); }
  .head .lede-box .lede { flex: 1 1 auto; min-width: 0; }
}
.prose table, .doc table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: var(--fs-md); margin: var(--sp-2) 0; }
.prose th, .prose td, .doc th, .doc td { text-align: left; padding: 10px var(--sp-3) 10px 0; border-top: 1px solid var(--line); vertical-align: top; color: var(--soft); }
.prose thead th, .doc thead th { border-top: 0; padding-top: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); vertical-align: bottom; }
.prose tbody th, .prose td:first-child, .doc tbody th { color: var(--ink); font-weight: 600; }
.prose tr > :last-child, .doc tr > :last-child { padding-right: 0; }
@media (max-width: 760px) { :is(.prose, .doc) > table { display: block; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; } }
.tbl-x { --tbl-bg: var(--paper); position: relative; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
:is(.sheet, .note, .stat, .tcard) .tbl-x { --tbl-bg: var(--card); }
:is(details.more, .disc) .tbl-x { --tbl-bg: var(--card-2); }
@media (min-width: 960px) { .calc-out .result .tbl-x { --tbl-bg: var(--card-2); } }
@media (min-width: 1000px) { .tc-right .result .tbl-x { --tbl-bg: var(--card-2); } }
.tbl-x[data-scroll] {
  background:
    linear-gradient(to right, var(--tbl-bg) 40%, transparent) left / 28px 100% no-repeat local,
    linear-gradient(to left, var(--tbl-bg) 40%, transparent) right / 28px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(20,20,30,.16), transparent) left / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(20,20,30,.16), transparent) right / 12px 100% no-repeat scroll;
}
html[data-theme="dark"] .tbl-x[data-scroll] { background:
    linear-gradient(to right, var(--tbl-bg) 40%, transparent) left / 28px 100% no-repeat local,
    linear-gradient(to left, var(--tbl-bg) 40%, transparent) right / 28px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.6), transparent) left / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.6), transparent) right / 12px 100% no-repeat scroll; }
.tbl-x[data-scroll] > table:not(.multi) :is(th, td) { min-width: 8.5em; }
.tbl-x[data-scroll] > table:not(.multi) tr > :first-child { min-width: 6.5em; max-width: 9em; }
.tbl-x[data-scroll] > table:not(.multi) tr > :first-child { position: sticky; left: 0; z-index: 1; background: var(--tbl-bg); box-shadow: 1px 0 0 var(--line); padding-right: var(--sp-3); }
input, select, textarea { color: var(--ink); caret-color: var(--acc); }
select option { color: var(--ink); background: var(--card); }
textarea { width: 100%; font: 400 var(--fs-base)/1.5 var(--font); background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-s); padding: var(--sp-3); }
input:-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: 0 0 0 40px var(--card) inset !important; }
.foot .logo { min-height: 44px; }
.hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: var(--sp-9); align-items: start; padding: var(--sp-9) 0 var(--sp-4); }
.hero-l { gap: var(--sp-4); align-content: start; padding-top: var(--sp-7); }
.hero-l h1 { font-size: var(--fs-h1-home); max-width: 620px; }
.hero-l .lede { font-size: var(--fs-lg); }
.hero-quick { list-style: none; padding: 0; margin: var(--sp-2) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); max-width: 560px; }
.hero-quick a { display: flex; align-items: center; gap: 10px; min-height: var(--h-chip); padding: 6px var(--sp-3); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s);
  color: var(--ink); font-weight: 600; font-size: var(--fs-ui); line-height: 1.25; text-decoration: none !important; }
.hero-quick a img { width: 24px; height: 24px; flex: none; }
@media (hover: hover) { .hero-quick a:hover { border-color: color-mix(in srgb, var(--acc) 45%, var(--line)); box-shadow: var(--shadow-hover); } }
.hero-card { position: relative; padding: var(--pad-card); display: grid; gap: var(--sp-5); box-shadow: var(--shadow-note); }
.hero-card-h { display: flex; align-items: center; gap: var(--sp-3); }
.hero-card-h img { width: 36px; height: 36px; flex: none; }
.hero-card-h h2 { font-size: var(--fs-xl); line-height: 1.25; }
.hero-card-h .hand { display: block; margin-bottom: 2px; }
.hero-card .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--sp-5); }
.hero-card .fields > .field:first-child { grid-column: 1 / -1; }
.hero-card .btn { width: 100%; }
.hero-card .hero-ex { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px var(--sp-3); padding-top: var(--sp-4); border-top: 1px dashed var(--line-2); font-size: var(--fs-sm); color: var(--muted); }
.hero-card .hero-ex > span { white-space: nowrap; }
.hero-card .hero-ex b { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero-card .float-e { position: absolute; width: 64px; height: 64px; right: -14px; top: -28px; transform: rotate(8deg); pointer-events: none; }
.hero + .sec { padding-top: var(--sp-9); }
main > .sec { padding-top: var(--sp-10); }
@media (max-width: 959px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); padding-top: var(--sp-7); }
  .hero-l { padding-top: 0; }
  .hero-card { max-width: 560px; }
}
@media (max-width: 640px) {
  .hero { padding-top: var(--sp-5); gap: var(--sp-5); }
  .hero-l { gap: var(--sp-3); }
  .hero-l .lede { font-size: var(--fs-md); line-height: 1.55; }
  .hero-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card { padding: var(--sp-4) var(--sp-4) var(--sp-5); gap: var(--sp-4); }
  .hero-card-h h2 { font-size: var(--fs-lg); }
  .hero-card .fields { column-gap: var(--sp-4); }
  .hero-card .float-e { width: 48px; height: 48px; right: -6px; top: -20px; }
  main > .sec { padding-top: var(--sp-9); }
  .hero + .sec { padding-top: var(--sp-8); }
}
@media (max-width: 640px) { .hero { display: flex; flex-direction: column; align-items: stretch; } .hero-l { display: contents; } .hero-l > .hand { order: 0; } .hero-l > h1 { order: 1; } .hero-l > .lede { order: 2; } .hero-card { order: 3; } .hero-quick { order: 4; margin-top: 0; } }
.guide { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); max-width: var(--col-read); }
.guide > * { margin: 0 !important; max-width: none; }
.guide .disc { max-width: none; }
@media (min-width: 1180px) {
  .guide-wrap { display: grid; grid-template-columns: minmax(0, var(--col-read)) minmax(220px, 1fr); gap: var(--sp-8); align-items: start; }
  .guide-wrap > .guide-toc { position: sticky; top: 88px; grid-column: 2; grid-row: 1; max-height: calc(100vh - 112px); overflow: auto; }
  .guide-wrap > .guide { grid-column: 1; grid-row: 1; }
}
.guide-toc { padding: var(--sp-5) var(--sp-6); }
.guide-toc h2 { font-size: var(--fs-md); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 var(--sp-2); }
.guide-toc ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; font-size: var(--fs-md); }
.guide-meta { margin: 0 0 var(--sp-6); }
@media (max-width: 1179px) { .guide-wrap { display: grid; gap: var(--sp-6); } .guide-wrap > .guide-toc { max-width: var(--col-read); } }
.crumbs li + li::before { color: var(--muted); }
.folder .soon, .search-res .soon-row em { color: var(--muted); }
.tab { color: var(--muted); }
.hdr-saved .cnt { background: var(--acc-btn); }
input::placeholder { color: var(--muted); opacity: .85; }
li.fpa-item.fpa-ex { opacity: 1; }
li.fpa-item.fpa-ex b, li.fpa-item.fpa-ex .fpa-num { color: var(--soft); font-weight: 600; }
li.fpa-item.fpa-ex small { color: var(--muted); }
svg.tm .tm-t.c3 rect { fill: color-mix(in srgb, var(--acc-btn) 90%, var(--card)); }
.car-h { font-size: 1.125rem; margin: 18px 0 8px; }
.calc-after .car-h:first-child { margin-top: 0; }
:is(.car-chk, .mt-chk) > label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; font-size: var(--fs-md); font-weight: 600; color: var(--ink); line-height: 1.35; cursor: pointer; }
:is(.car-chk, .mt-chk) input { width: 22px; height: 22px; accent-color: var(--acc-btn, var(--acc)); flex: none; margin: 0; }
.fields > :is(.car-chk, .mt-chk) { grid-column: 1 / -1; }
.car-q { border: 0; padding: 0; margin: 16px 0 0; display: grid; gap: 2px; min-width: 0; }
.car-q legend { font-size: 0.8125rem; font-weight: 600; color: var(--muted); padding: 0; margin-bottom: 4px; }
.ci-loan { margin-top: 16px; }
.car-am { margin-top: 12px; }
.car-am > div { padding: 0 14px 14px; max-height: 70vh; overflow: auto; }
.cp-mo .bd-t td, .cp-mo .bd-t th { font-size: 0.875rem; padding-top: 6px; padding-bottom: 6px; }
.car-prose table { display: block; max-width: 100%; overflow-x: auto; }
.nav .ns { display: none; }
@media (min-width: 941px) {
  .nav-n5 .nl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-n5 .ns { display: inline; }
}
@media (min-width: 941px) and (max-width: 1099px) { .nav-n5 { gap: 2px; } .nav-n5 a { padding: 0 9px; } }
@media (min-width: 960px) { .foot-grid.fg-5 { grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr)); gap: 28px; } }
.ts-secs { display: none; }
.ts-secs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); gap: 6px; }
.ts-secs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 60px; padding: 6px 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 0.75rem; line-height: 1.2; text-align: center; }
.ts-secs a[aria-current] { background: var(--acc-tint); border-color: transparent; }
.ts-secs a:hover { text-decoration: none; border-color: var(--acc); }
.ts-secs .e { width: 24px; height: 24px; }
@media (max-width: 720px) { .ts-secs { display: block; } }
.ctx-tip p { background: var(--acc-tint); color: var(--ink); border-radius: 14px; padding: 12px 16px; max-width: 72ch; line-height: 1.55; }
.ctx-tip a { font-weight: 600; }
.crumbs a { display: inline-flex; align-items: center; min-height: 28px; }
@media (max-width: 560px) {
  .crumbs { padding-top: 20px; font-size: 0.8125rem; }
  .crumbs li:last-child:not(:first-child):not(:nth-child(2)) { display: none; }
  
  .crumbs ol { flex-wrap: nowrap; gap: 4px 6px; }
  .crumbs li { min-width: 0; gap: 6px; }
  .crumbs li:first-child { flex: none; }
  .crumbs li a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; line-height: 28px; }
}
:root {
  --link: #2a5aa0; --link-hover: #1d4790; --link-ul: color-mix(in srgb, var(--link) 32%, transparent);
  --stack: var(--sp-6);      
}
html[data-theme="dark"] { --link: #9ec0ea; --link-hover: #c4daf5; }
@media (max-width: 720px) {
  :root { --margin-c: rgba(222, 72, 98, .4); }
  html[data-theme="dark"] { --margin-c: rgba(206, 128, 146, .34); }
}
@media (max-width: 640px) { :root { --stack: var(--sp-5); } }
a { color: var(--link); }
a:hover { text-decoration: none; }
:where(main, .foot, .search-sheet) :where(p, li, td, dd, figcaption, blockquote) a:where(:not([class])),
.prose a, .faq-a a, .disc a, .fine a, .ctx-tip a, .head .byline a {
  color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em;
  text-decoration-color: var(--link-ul); text-decoration-skip-ink: auto; transition: text-decoration-color .15s, color .15s;
}
:where(main, .foot, .search-sheet) :where(p, li, td, dd, figcaption, blockquote) a:where(:not([class])):is(:hover, :focus-visible),
.prose a:is(:hover, :focus-visible), .faq-a a:is(:hover, :focus-visible), .disc a:is(:hover, :focus-visible), .fine a:is(:hover, :focus-visible), .ctx-tip a:is(:hover, :focus-visible) {
  color: var(--link-hover); text-decoration-color: currentColor;
}
.head .byline a { color: inherit; }
:is(.sp-box, .state-chips, .rel-grid, .cards, .guide-list, .chips, .links, .flinks, .crumbs, .tgrid, .glist, .schips, .search-res, .foot-col, .foot-trust, .foot-legal, .hero-quick, .guide-toc, .mw-list) a,
:is(table th, table td) > a, :is(table th, table td) > :not(p) a {
  text-decoration: none;
}
:is(table th, table td) a { color: var(--link); font-weight: 600; }
:is(table th, table td) a:hover { color: var(--link-hover); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.srcs a { color: var(--link); text-decoration: none; }
.srcs a:is(:hover, :focus-visible) { color: var(--link-hover); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.srcs .meta a { color: var(--muted); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .22em; }
.crumbs a:hover { color: var(--ink); text-decoration: none; }
.state-chips a b, .rel .abbr { color: var(--soft); background: var(--card-2); }
.state-chips a b { display: grid; place-items: center; width: 28px; height: 22px; border-radius: var(--r-xs); font-size: var(--fs-2xs); font-weight: 800; flex: none; }
@media (hover: hover) { .state-chips a:hover b, .rel:hover .abbr { background: var(--acc-tint); color: var(--link); } .state-chips a:hover { border-color: color-mix(in srgb, var(--acc) 45%, var(--line)); } }
.links a:hover, .flinks a:hover, .h-link:hover { color: var(--link); }
.lede-more, .search-x { color: var(--link); }
.btn-acc, .act-main { background: var(--acc-btn); color: #fff; }
body::before { background: var(--margin-c); width: 1.5px; }
.sp-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); padding: var(--pad-card); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); }
.sp-search { display: flex; align-items: center; gap: var(--sp-3); min-height: var(--h-m); padding: 0 var(--sp-4); background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r-s); color: var(--muted); }
.sp-search:focus-within { border-color: var(--acc); background: var(--card); box-shadow: 0 0 0 3px var(--acc-hl); }
.sp-search svg { flex: none; }
.sp-search input { flex: 1; height: var(--h-m); border: 0 !important; box-shadow: none !important; padding: 0; font: 500 var(--fs-base) var(--font); background: transparent; }
.sp-search input:focus-visible { outline: none; }
.sp-set { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); min-width: 0; }
.sp-set + .sp-set { padding-top: var(--sp-4); border-top: 1px dashed var(--line-2); }
.sp-set-h { font-size: var(--fs-base); }
.sp-js .sp-set:not([data-active]), .sp-js .sp-set-h, .sp-q .sp-set,
html.js [data-state-picker] .sp-set:not([data-active]), html.js [data-state-picker] .sp-set-h { display: none; }
.sp-js .sp-set + .sp-set, html.js [data-state-picker] .sp-set + .sp-set { padding-top: 0; border-top: 0; }
html.js .sp-search[data-sp-js][hidden] { display: flex !important; }
html.js .seg[data-sp-js][hidden] { display: flex; }
@media (max-width: 640px) { html.js .seg[data-sp-js][hidden] { display: grid; } }
.sp-l { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 calc(var(--sp-3) * -1 + var(--sp-2)); }
.sp-pop, .sp-grid, .sp-res { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr)); }
.sp-pop li, .sp-grid li, .sp-res li { min-width: 0; }
.sp-pop a, .sp-grid a, .sp-res a { display: flex; align-items: center; gap: 10px; min-height: var(--h-chip); padding: 0 var(--sp-3) 0 var(--sp-2); border-radius: var(--r-s); border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: var(--fs-ui); line-height: 1.25; transition: border-color .15s, background-color .15s; }
.sp-pop a span, .sp-grid a span, .sp-res a span { min-width: 0; overflow-wrap: anywhere; }
.sp-pop b, .sp-grid b, .sp-res b { display: grid; place-items: center; flex: none; width: 30px; height: 24px; border-radius: var(--r-xs); background: var(--card-2); color: var(--soft); font-size: var(--fs-2xs); font-weight: 800; letter-spacing: .02em; }
.sp-grid a { border-color: transparent; background: none; min-height: 40px; }
@media (hover: hover) {
  .sp-pop a:hover, .sp-res a:hover { border-color: color-mix(in srgb, var(--acc) 45%, var(--line)); color: var(--link); }
  .sp-grid a:hover { background: var(--card-2); color: var(--link); }
  .sp-pop a:hover b, .sp-grid a:hover b, .sp-res a:hover b { background: var(--acc-tint); color: var(--link); }
}
.sp-res a:focus-visible, .sp-pop a:focus-visible, .sp-grid a:focus-visible { outline-offset: 0; }
.sp-res .sp-none { padding: var(--sp-3) 0; color: var(--muted); font-size: var(--fs-ui); grid-column: 1 / -1; }
details.sp-all { border: 0; border-radius: var(--r-s); }
details.sp-all:last-child { border-bottom: 0; }
details.sp-all > summary { min-height: var(--h-m); padding: 0 var(--sp-2) 0 var(--sp-4); background: var(--card-2); border-radius: var(--r-s); font-size: var(--fs-md); font-weight: 600; color: var(--ink); justify-content: flex-start; gap: var(--sp-3); }
details.sp-all > summary .sp-az { margin-left: auto; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
details.sp-all > summary::after { background-color: var(--card); }
details.sp-all[open] > summary { margin-bottom: var(--sp-3); }
@media (hover: hover) { details.sp-all > summary:hover { background: var(--card-3); } }
.sp-view { margin: 0 0 var(--sp-3); }
.sp-regs { display: grid; gap: var(--sp-4); }
.sp-reg h4 { margin: 0 0 var(--sp-2); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sp-note { margin: 0; }
.sp-sets { margin-bottom: calc(var(--sp-1) * -1); }
@media (min-width: 900px) { .sp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .sp-pop { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .sp-box { padding: var(--sp-4); gap: var(--sp-3); }
  .sp-pop, .sp-grid, .sp-res { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .sp-pop a, .sp-res a { padding: 0 var(--sp-2) 0 6px; gap: var(--sp-2); font-size: var(--fs-sm); }
  .sp-grid a { padding: 0 6px; gap: var(--sp-2); font-size: var(--fs-sm); }
  .sp-pop b, .sp-grid b, .sp-res b { width: 28px; }
  .sp-view.seg { width: 100%; }
}
@media (max-width: 22em) { .sp-pop, .sp-grid, .sp-res { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
  .stat { padding: var(--sp-3); gap: 2px; box-shadow: none; }
  .stat .s-l { font-size: var(--fs-xs); }
  .stat .s-l .e { width: 16px; height: 16px; }
  .stat .s-v { font-size: var(--fs-xl); }
  .stat .s-s { font-size: var(--fs-xs); line-height: 1.35; }
  .head .byline { font-size: var(--fs-xs); }
}
@media (max-width: 22em) { .stats { grid-template-columns: minmax(0, 1fr); } }
main.wrap > :is(.sheet, .stats, .calc, .sp, .result, .note, .mw-ans) + :is(.sheet, .stats, .calc, .result, .note, div[data-qp], div[data-mt], div[data-pc]) { margin-top: var(--stack); }
main.wrap > .head + :is(.sheet, .stats, .calc, .calc-wrap, div[data-qp], div[data-mt], div[data-pc], .mw-ans) { margin-top: 0; }
main.wrap > .stats + :is(.sec, .related, .srcs, .faq-sec, .disc) { margin-top: 0; }
.sec > .stats, .sec > .disc, .sec > .bd, .sec > .sheet, .sec > .info-fig { margin-top: 0; }
.sec-h + .fine, .sec > .fine + .bd { margin-top: calc(var(--sp-2) * -1); }
main.wrap > .disc { margin-top: var(--sec-gap); }
main.wrap > .ad-slot + :is(.sec, .sp) { padding-top: var(--sec-gap); }
.cards > li, .folders > *, .rel-grid > *, .stats > li { min-width: 0; }
.cards > li > .tcard { height: 100%; }
.cards, .rel-grid { align-items: stretch; }
.foot { background: var(--card); border-top: 1px solid var(--line); padding-bottom: 0; color: var(--soft); }
html[data-theme="dark"] .foot { background: color-mix(in srgb, var(--card) 70%, var(--paper)); }
.foot .wrap { display: block; padding-top: 0; padding-bottom: 0; color: inherit; font-size: var(--fs-ui); }
.foot .foot-top { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: var(--sp-8); padding-top: var(--sp-9); padding-bottom: var(--sp-8); }
.foot-brand { display: grid; gap: var(--sp-3); align-content: start; max-width: 340px; }
.foot-brand .logo, .foot .logo { color: var(--ink); }
.foot-brand .logo span em { color: var(--acc); }
.foot-brand > p { font-size: var(--fs-ui); line-height: 1.55; color: var(--soft); margin: 0; }
.foot-trust { list-style: none; margin: var(--sp-1) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.foot-trust a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--sp-3); border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); color: var(--soft); font-size: var(--fs-sm); font-weight: 600; }
@media (hover: hover) { .foot-trust a:hover { color: var(--ink); border-color: var(--line-2); } }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-7) var(--sp-6); align-items: start; min-width: 0; }
.fc-3 .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.foot .foot-col { display: block; min-width: 0; }
.foot-acc, .foot-acc:last-child { border: 0; }
.foot-acc > summary { min-height: 0; padding: 0; margin: 0 0 var(--sp-3); cursor: default; display: block; }
.foot-acc > summary::after { display: none; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-2); }
.foot-col li a { align-items: center; color: var(--soft); font-size: var(--fs-ui); display: block; min-height: 0; padding: 0; line-height: 1.4; }
.foot-col li a:hover, .foot-legal a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: var(--line-2); }
.foot-col .foot-hub a { color: var(--ink); font-weight: 600; }
.foot .foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2) var(--sp-6); padding-top: var(--sp-5); padding-bottom: var(--sp-6); border-top: 0; position: relative; }
.foot-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1) var(--sp-5); font-size: var(--fs-sm); color: var(--muted); }
.foot-legal a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); }
.foot-note { margin: 0; font-size: var(--fs-sm); color: var(--muted); max-width: 520px; line-height: 1.5; }
@media (min-width: 1100px) {
  .foot .foot-top { grid-template-columns: minmax(220px, 248px) minmax(0, 1fr); gap: var(--sp-8); }
  .foot-cols { column-gap: var(--sp-5); }
}
@media (min-width: 641px) and (max-width: 1099px) {
  .foot-brand { max-width: none; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--sp-7); align-items: center; }
  .foot-brand > p { max-width: 520px; }
  .foot-trust { grid-column: 1 / -1; }
  .foot .foot-top { gap: var(--sp-7); }
}
@media (min-width: 641px) and (max-width: 860px) { .foot-cols { gap: var(--sp-6) var(--sp-5); } .foot-col li a { font-size: var(--fs-sm); } }
@media (max-width: 640px) {
  .foot .foot-top { gap: var(--sp-6); padding-top: var(--sp-8); padding-bottom: var(--sp-4); }
  .foot-cols { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
  .foot-col { border-bottom: 1px solid var(--line); }
  .foot-acc > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin: 0; cursor: pointer; }
  .foot-acc > summary::after { display: block; width: 24px; height: 24px; background-size: 14px; }
  .foot-col h2 { font-size: var(--fs-sm); color: var(--ink); letter-spacing: .04em; }
  .foot-acc[open] > ul { padding-bottom: var(--sp-4); }
  .foot-col ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-4); gap: 0 var(--sp-4); }
  .foot-col li a { font-size: var(--fs-sm); display: flex; align-items: center; min-height: 44px; line-height: 1.3; }
  .foot .foot-base { flex-direction: column; align-items: flex-start; gap: var(--sp-2); padding-bottom: var(--sp-5); }
  .foot-legal { gap: 0 var(--sp-5); }
  .foot-legal > li:first-child { flex-basis: 100%; padding-top: var(--sp-2); }
  .foot-legal a { min-height: 44px; }
}
.foot .foot-base::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: var(--line); }
@media (max-width: 1179px) { .foot .foot-base::before { right: 18px; } }
@media (max-width: 560px) { .foot .foot-base::before { left: 16px; right: 16px; } }
main.wrap > .car-prose { margin-top: var(--sec-gap); }
.car-prose > * + * { margin-top: var(--sec-gap); }
main.wrap > .disc + .car-prose { margin-top: var(--sec-gap); }
main.wrap > .stats { margin-bottom: 0; }
main.wrap > .stats + :is(section, .sec, .mw-sec, div) { margin-top: var(--sp-6); }
main.wrap > .head { padding-bottom: var(--sp-6); }
@media (max-width: 640px) { main.wrap > .head { padding-bottom: var(--sp-4); } }
@media (max-width: 640px) {
  .seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; }
  .seg button { padding: 4px 6px; }
}
@media (max-width: 640px) {
  details.more summary { flex-wrap: wrap; row-gap: 0; position: relative; padding-right: 48px; }
  details.more summary > span { white-space: normal; }
  details.more summary > span:nth-child(2) { display: block; flex-basis: 100%; overflow: visible; text-overflow: clip; font-size: var(--fs-xs); color: var(--muted); line-height: 1.35; padding-bottom: 2px; }
  details.more summary::after { position: absolute; right: 10px; top: 50%; margin: -14px 0 0; } 
}
.cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.tcard { grid-template-rows: auto 1fr auto; }
.tcard img { align-self: start; }
.tcard p { align-self: start; }
.tcard .count { align-self: end; }
@media (min-width: 1000px) { .cards:has(> li:nth-child(5)) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 641px) and (max-width: 1023px) { .stats:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sec > .bd, .sec > .tbl-x, .sec > .mw-scroll, .sec > .it-tw, .page-prose > .tbl-x, .sec > div > .tbl-x:only-child { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: var(--sp-2) var(--sp-4); }
.sec > .tbl-x { --tbl-bg: var(--card); }
@media (max-width: 640px) { .sec > .bd, .sec > .tbl-x, .sec > .mw-scroll, .sec > .it-tw { padding: var(--sp-1) var(--sp-3); } }
.guide-toc a { color: var(--soft); }
.guide-toc a:hover { color: var(--link); }
.guide-meta a, .byline a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .22em; }
html[data-theme="dark"] svg.tm .tm-t.c1 rect { fill: #1e3a5f; }
html[data-theme="dark"] svg.tm .tm-t.c2 rect { fill: #2a5ea8; }
html[data-theme="dark"] svg.tm :is(.tm-t.c1, .tm-t.c2) :is(.tm-a, .tm-v) { fill: #e6f0ff; }
html[data-theme="dark"] .sh-legend i.c1 { background: #1e3a5f; }
html[data-theme="dark"] .sh-legend i.c2 { background: #2a5ea8; }
@media (max-width: 380px) { .hero-card select { font-size: var(--fs-md); padding-right: 22px; background-size: 16px; } }
.fpa-item a { text-decoration: none; }
@media (max-width: 760px) {
  .tbl-x > table:is(.mw-all, .it-cmp, .sh-t) :is(th, td) { min-width: 0; max-width: none; }
  .tbl-x > table:is(.mw-all, .it-cmp, .sh-t) tr > :first-child { position: static; background: none !important; box-shadow: none; }
}
:is(.result, .calc-out, details.more, .disc, .tc-right) .btn:not(.btn-acc, .btn-ink) { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) { :is(.result, .calc-out, details.more, .disc, .tc-right) .btn:not(.btn-acc, .btn-ink):hover { background: var(--card-3); } }
@media (max-width: 640px) {
  .btns:has(> [data-a="save"]):has(> [data-a="share"]):has(> [data-a="clear"]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); gap: 6px; }
  .btns:has(> [data-a="clear"]) > .btn { padding: 0 var(--sp-2); font-size: var(--fs-ui); }
}
input:not([type="checkbox"], [type="radio"], [type="range"]):focus-visible, select:focus-visible { background-color: var(--acc-tint); box-shadow: 0 2px 0 var(--acc); border-radius: var(--r-xs) var(--r-xs) 0 0; }
.fp-field .inp:has(:focus-visible), .tm:has(:focus-visible), .bk:has(:focus-visible), .money:has(:focus-visible) { background-color: var(--acc-tint); box-shadow: 0 2px 0 var(--acc); border-radius: var(--r-xs) var(--r-xs) 0 0; }
:is(.fp-field .inp, .tm, .bk, .money, .sp-search, .search-box) :is(input, select):focus-visible { background-color: transparent; box-shadow: none !important; }
.sp-search input:focus-visible, .search-box input:focus-visible { background: transparent; }
.calc-in > .yr-wrap { grid-template-columns: auto auto; justify-content: start; align-items: center; column-gap: 14px; }
.calc-in > .yr-wrap > .fine { grid-column: 1 / -1; margin: 0; }
@media (max-width: 959px) { .calc-body > .calc-in > .yr-wrap { order: 1; } }
@media (max-width: 640px) { .calc-in > .yr-wrap { grid-template-columns: auto minmax(0, 1fr); } .calc-in > .yr-wrap .seg { width: 100%; } }
.r-h { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); margin: 0 0 6px; }
.car-rows .row.is-note span, .car-rows .row.is-note b { color: var(--muted); font-weight: 500; }
.car-otd > .car-h { margin-top: 4px; }
.car-otd > .fine { margin: 8px 0 0; }
@media (min-width: 721px) and (max-width: 940px) {
  .hdr .wrap { flex-wrap: nowrap; padding-top: 0; gap: 0 10px; }
  .hdr .nav { order: 0; flex: 1 1 auto; flex-basis: auto; overflow: visible; margin: 0; padding: 0; gap: 2px; justify-content: center; min-width: 0; }
  .hdr .nav a { background: none; box-shadow: none; padding: 0 9px; gap: 0; font-size: var(--fs-ui); }
  .hdr .nav a .e { display: none; }
  .hdr .nav a[aria-current] { background: var(--acc-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 22%, transparent); }
  .hdr .nav-n5 .nl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hdr .nav-n5 .ns { display: inline; }
  .hdr-saved-t { display: none; }
  .hdr-saved { padding: 0; width: 44px !important; justify-content: center; }
  .hdr-r { gap: 0; }
}
@media (min-width: 721px) and (max-width: 759px) { .hdr .nav-n5 a:nth-child(n+4) { display: none; } }
@media (min-width: 941px) and (max-width: 999px) { .hdr .nav a .e { display: none; } .hdr .nav a { gap: 0; } .hdr-saved-t { display: none; } .hdr-saved { padding: 0; width: 44px !important; justify-content: center; } }
@media (max-width: 999px) {
  .ttc .sumstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 8px 14px; border-radius: var(--r-s); background: var(--acc-tint); font-size: var(--fs-ui); color: var(--soft); margin-bottom: -4px;
    position: sticky; top: 72px; z-index: 5; box-shadow: 0 0 0 1px color-mix(in srgb, var(--acc) 18%, transparent), 0 6px 16px -8px rgba(0,0,0,.25); }
  .ttc .sumstrip b { color: var(--ink); font-size: var(--fs-lg); font-variant-numeric: tabular-nums; margin-left: 4px; }
  .ttc .sumstrip a { font-weight: 600; font-size: var(--fs-sm); }
}
.bd.pc-cmp { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m, 16px); padding: 6px 16px 4px; }
.bd.pc-cmp .bd-t th[scope="row"] { font-weight: 600; }
@media (max-width: 760px) {
  .bd-t.multi.pc-cmp-t { display: table; }
  .bd-t.multi.pc-cmp-t thead { display: table-header-group; }
  .bd-t.multi.pc-cmp-t tbody { display: table-row-group; }
  .bd-t.multi.pc-cmp-t tr { display: table-row; padding: 0; }
  .bd-t.multi.pc-cmp-t thead th { padding-top: 8px; }
  .bd-t.multi.pc-cmp-t th, .bd-t.multi.pc-cmp-t td { display: table-cell; border-top: 1px solid var(--line) !important; padding: 9px 0 9px 8px; text-align: right; font-size: var(--fs-ui); }
  .bd-t.multi.pc-cmp-t thead th { border-top: 0 !important; }
  .bd-t.multi.pc-cmp-t tr.is-total :is(th, td) { border-top: 1.5px solid var(--ink) !important; }
  .bd-t.multi.pc-cmp-t :is(th, td):first-child { text-align: left; padding-left: 0; }
  .bd-t.multi.pc-cmp-t tbody th { grid-column: auto; font-weight: 600; overflow-wrap: normal; word-break: normal; hyphens: manual; }
  .bd-t.multi.pc-cmp-t td { font-size: var(--fs-sm); padding-left: 6px; }
  .bd-t.multi.pc-cmp-t td::before { content: none; }
  .bd-t.multi.pc-cmp-t td { white-space: nowrap; }
  .bd.pc-cmp { padding: 4px 12px 2px; }
}
@media (max-width: 760px) { .bd-t.multi tr:has(> td:nth-of-type(3):last-of-type) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sum-chip { display: inline-block; margin-left: 6px !important; padding: 1px 8px; border-radius: var(--r-pill); background: var(--card); color: var(--muted) !important; font-size: var(--fs-xs); font-weight: 600 !important; line-height: 1.5; vertical-align: 1px; white-space: nowrap; }
.sum-chip.on { background: var(--acc-tint); color: var(--acc-ink, var(--ink)) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 30%, transparent); }
.pc-bd-det { margin-top: 8px; }
.pc-bd-det > #pc-bd { padding: 0 14px 12px; }
.big small { text-wrap: pretty; }
details > summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2346464d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: transform .2s ease, background-color .2s ease;
}
details[open] > summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%230b5fd6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: rotate(180deg);
}
html[data-theme="dark"] details > summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23f3f2ee' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
html[data-theme="dark"] details[open] > summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%238fc0ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
:is(.faq > details, details.acc, details.toc-acc) > summary { -webkit-tap-highlight-color: transparent; }
:is(.faq > details, details.acc, details.toc-acc) > summary:focus-visible { outline: var(--focus-ring); outline-offset: 2px; border-radius: var(--r-xs); }
@media (hover: hover) { :is(.faq > details, details.acc) > summary:hover { color: var(--acc-ink); } }
@media (prefers-reduced-motion: reduce) { :is(.faq > details, details.acc, details.toc-acc) > summary::after { transition: none; } }
details.acc-sec { min-width: 0; }
.prose > details.acc-sec + details.acc-sec { margin-top: -16px; } 
details.acc-sec > summary { min-height: 56px; padding: 10px 0; gap: var(--sp-4); }
details.acc-sec > summary > :is(h2, h3) { margin: 0; min-width: 0; color: inherit; line-height: 1.3; overflow-wrap: break-word; }
details.acc-sec > summary > h2 { font-size: var(--fs-xl); }
details.acc-sec > summary > h3 { font-size: var(--fs-h3); }
details.acc-sec > .acc-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 2px 0 var(--sp-6); }
details.acc-sec > .acc-body > * { min-width: 0; margin: 0; }
details.acc-sec > .acc-body p { padding: 0; font-size: inherit; }
details.acc-sec > .acc-body > h3:not(:first-child) { margin-top: 8px; }
.acc-body details.acc-sec:last-child { border-bottom: 1px solid var(--line); }
details.acc-sec:has(+ :not(details.acc-sec)) { border-bottom: 1px solid var(--line); }
.keypts { background: var(--card-2); border-radius: var(--r-m); padding: var(--sp-4) var(--sp-5) var(--sp-5); display: grid; gap: var(--sp-2); }
.keypts-h { margin: 0; font-size: var(--fs-sm) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted) !important; }
.prose .keypts ul { margin: 0; padding-left: 20px; gap: var(--sp-2); }
.prose .keypts li { color: var(--ink); max-width: none; }
.keypts li::marker { color: var(--acc); }
details.toc-acc, details.toc-acc:last-child { border: 0; }
details.toc-acc > summary { display: block; min-height: 0; padding: 0; cursor: default; }
details.toc-acc > summary::after, details.toc-acc > summary .toc-n { display: none; }
@media (max-width: 640px) {
  .guide-toc { padding: 2px var(--sp-5); }
  details.toc-acc > summary { display: flex; align-items: center; gap: var(--sp-3); min-height: 52px; cursor: pointer; }
  details.toc-acc > summary h2 { margin: 0; }
  details.toc-acc > summary .toc-n { display: inline; margin-left: auto; font-size: var(--fs-sm); font-weight: 500; color: var(--muted); white-space: nowrap; }
  details.toc-acc > summary::after { display: block; width: 26px; height: 26px; background-size: 16px; }
  details.toc-acc[open] > ol { padding: var(--sp-1) 0 var(--sp-4); }
}
.tbl-long { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); min-width: 0; }
.tbl-long > .tbl-x { min-width: 0; }
@media (max-width: 760px) { .tbl-long > .tbl-x > table:not(.multi):has(tr > :nth-child(4)) :is(th, td) { min-width: 8.5em; } .tbl-long > .tbl-x > table:not(.multi):has(tr > :nth-child(4)) tr > :first-child { min-width: 6.5em; max-width: 9em; } }
html.js .tbl-long:not(.is-all):not(.is-filter) tbody > tr:nth-child(n+11) { display: none !important; }
.tbl-long tbody > tr[hidden] { display: none; }
html:not(.js) .tbl-long > :is(.tbl-find, .tbl-all) { display: none; }
.tbl-find { display: flex; align-items: center; gap: var(--sp-2); width: 100%; max-width: 320px; min-height: 44px; padding: 0 var(--sp-3); background: var(--card-2); border-radius: var(--r-s); color: var(--muted); }
.tbl-find svg { flex: none; }
.tbl-find input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: var(--fs-base); }
.tbl-find input::placeholder { color: var(--muted); }
.tbl-find input:focus-visible { outline: none; background: transparent !important; box-shadow: none !important; border-radius: 0; }
.tbl-find:has(input:focus-visible) { background-color: var(--acc-tint); box-shadow: 0 2px 0 var(--acc); border-radius: var(--r-s) var(--r-s) 0 0; }
.tbl-none { margin: 0; font-size: var(--fs-ui); color: var(--muted); }
.tbl-all { justify-self: start; display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 44px; padding: 0 var(--sp-4) 0 var(--sp-5); border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--card); color: var(--ink); font: inherit; font-size: var(--fs-ui); font-weight: 600; cursor: pointer; }
.tbl-all::after { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s ease; }
.tbl-all[aria-expanded="true"]::after { transform: rotate(180deg); }
@media (hover: hover) { .tbl-all:hover { border-color: color-mix(in srgb, var(--acc) 45%, var(--line-2)); color: var(--acc-ink); } }
.tbl-long.is-filter > .tbl-all { display: none; }
@media (prefers-reduced-motion: reduce) { .tbl-all::after { transition: none; } }
@media print { .tbl-long > :is(.tbl-find, .tbl-all) { display: none !important; } } 
.am-tw { margin: 4px 0 16px; overflow-x: auto; }
.am-tt { width: 100%; font-variant-numeric: tabular-nums; }
.am-tt th a { font-weight: 600; }
.hdr-pin svg path { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; transition: fill .15s ease; }
.hdr-pin[aria-pressed="true"] { color: #e8a317; }
.hdr-pin[aria-pressed="true"] svg path { fill: currentColor; }
@media (prefers-reduced-motion: reduce) { .hdr-pin svg path { transition: none; } }
.hero-quick a.is-pinned { border-color: color-mix(in srgb, #f5b82e 45%, var(--line)); }
.fpa-fav { display: flex; align-items: center; gap: 10px; }
.seg.fpa-tabs[role="tablist"] { display: flex; grid-template-columns: none; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
.seg.fpa-tabs::-webkit-scrollbar { display: none; }
.seg.fpa-tabs button { flex: 1 0 auto; padding: 0 14px; scroll-snap-align: start; }
.fpa-item > a.fpa-fav { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-decoration: none; color: var(--ink); }
.fpa-item > a.fpa-fav img { width: 28px; height: 28px; flex: none; }
.seg.fpa-tabs[data-more-r] { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
.seg.fpa-tabs[data-more-l] { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); }
.seg.fpa-tabs[data-more-l][data-more-r] { -webkit-mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
@media (max-width: 640px) { .head > h1 { align-self: center; } }
.head:not(:has(> .hand)) > .big-e { grid-row: 1; }
.head:not(:has(> .hand)) > h1 { align-self: center; }
@media (max-width: 640px) { .hero:has(.hero-quick.has-pinned) .hero-quick { order: 3; } .hero:has(.hero-quick.has-pinned) .hero-card { order: 4; } }
.nw { white-space: nowrap; } 
.row .rl { display: block; } .row .rl .nw { display: inline; } 
.fields > .field.field-full { grid-column: 1 / -1; }
select:focus-visible { background-color: transparent; border-radius: 0; }
:root:not([data-theme="dark"]) { --muted: #5c5c63; }
.field > label, .field > .flabel { color: var(--soft); }
@media (min-width: 761px) { .field > label, .field > .flabel { font-size: var(--fs-ui); } }
.disc, .srcs, .faq-sec { max-width: none; }
:root:not([data-theme="dark"]) { --dot: rgba(26,124,255,.06); --soft: #3d3d44; }
.foot.ft { background: transparent; border-top: 0; color: var(--soft); padding: var(--sp-8) 0 var(--sp-6); }
html[data-theme="dark"] .foot.ft { background: transparent; }
.ft-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); padding: var(--sp-7); display: grid; gap: var(--sp-6); }
.ft-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4) var(--sp-7); flex-wrap: wrap; padding-bottom: var(--sp-5); border-bottom: 1px solid var(--line); }
.ft-tag { margin: 0; max-width: 520px; font-size: var(--fs-ui); line-height: 1.5; color: var(--muted); }
.ft-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--sp-6); }
.ft-acc { border: 0 !important; }
.ft-acc > summary { list-style: none; cursor: default; min-height: 0; padding: 0; }
.ft-acc > summary::-webkit-details-marker { display: none; }
.ft-acc > summary::after { display: none; }
.ft-col :is(h2, .ft-t) { display: block;  margin: 0 0 var(--sp-3); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ft-col a { color: var(--soft); text-decoration: none; font-size: var(--fs-ui); line-height: 1.35; }
.ft-col a:hover { color: var(--acc-ink); }
.ft-col .ft-all a { color: var(--acc-ink); font-weight: 600; }
.ft-base { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3) var(--sp-6); flex-wrap: wrap; padding: var(--sp-5) var(--sp-2) 0; font-size: var(--fs-sm); color: var(--muted); }
.ft-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }
.ft-legal a { color: var(--muted); text-decoration: none; }
.ft-legal a:hover { color: var(--ink); }
.ft-note { margin: 0; max-width: 520px; line-height: 1.5; }
@media (max-width: 640px) {
  .foot.ft { padding: var(--sp-6) 0 var(--sp-5); margin-top: var(--sp-7); }
  .ft-card { padding: var(--sp-5); gap: var(--sp-3); border-radius: var(--r-l); }
  .ft-head { padding-bottom: var(--sp-4); }
  .ft-cols { grid-template-columns: 1fr; gap: 0; }
  .ft-col + .ft-col { border-top: 1px solid var(--line); }
  .ft-acc > summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
  .ft-acc > summary::after { display: block; }
  .ft-col :is(h2, .ft-t) { margin: 0; }
  .ft-acc[open] > ul { padding: 0 0 var(--sp-4); }
  .ft-base { flex-direction: column; align-items: flex-start; padding: var(--sp-4) var(--sp-2) 0; }
}
:root { --shadow: 0 0 0 1px rgba(20,20,30,.015), 0 1px 3px rgba(20,20,30,.05), 0 4px 18px rgba(20,20,30,.06); }
html[data-theme="dark"] { --shadow: 0 0 0 1px rgba(0,0,0,.25), 0 2px 6px rgba(0,0,0,.35), 0 6px 22px rgba(0,0,0,.35); }
@media (min-width: 641px) {
  .head:has(> .hand) > .big-e { grid-row: 2; align-self: center; }
  .head:has(> .hand) > .hand { grid-column: 2; grid-row: 1; }
  .head:has(> .hand) > h1 { grid-column: 2; grid-row: 2; align-self: center; }
}
html.theming, html.theming *, html.theming *::before, html.theming *::after { transition: none !important; }
@media (max-width: 640px) { .ft-acc > summary { width: 100%; } .ft-acc > summary::after { margin-left: auto; } .ft-legal { gap: var(--sp-2) var(--sp-4); } }
.foot.ft { margin-top: var(--sp-5); }
@media (max-width: 640px) { .ft-col, .ft-acc { display: block; width: 100%; } .ft-legal li:first-child { flex-basis: 100%; } }
@view-transition { navigation: none; }
:root { --shadow-sm: 0 0 0 1px rgba(20,20,30,.012), 0 1px 2px rgba(20,20,30,.05), 0 2px 8px rgba(20,20,30,.045); }
html[data-theme="dark"] { --shadow-sm: 0 0 0 1px rgba(0,0,0,.2), 0 1px 3px rgba(0,0,0,.3), 0 3px 10px rgba(0,0,0,.25); }
.sheet, .hero-card, .ft-card, .tcard, .bd:not(.result .bd), .info-art, .it-tw, .sh-dl > div, li.stat,
:is(.prose, .page-prose, .pc-tw, .guide, .doc) > .tbl-x { box-shadow: var(--shadow) !important; }
.rel-grid a, a.rel, .hero-quick a, .tbl-all, .pc-sort select, .sp-box, .state-chips a { box-shadow: var(--shadow-sm) !important; }
.disc, details.more, .tbl-find { box-shadow: none; border: 0; }
:is(.bd, .it-tw, .sheet, .tcard, .ft-card, .info-art) .tbl-x { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
@media (hover: hover) { .rel-grid a:hover, a.rel:hover, .hero-quick a:hover, .tcard:hover { box-shadow: var(--shadow-hover) !important; } }
@media (max-width: 640px) {
  .search-bg { padding-top: 0; }
  .search-sheet { max-height: calc(100vh - 140px); max-height: calc(100dvh - 72px); padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .search-res, .tools-body { padding-bottom: 12px; }
  .ts-secs ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; overflow: visible; }
  .ts-secs li { min-width: 0; }
  .ts-secs a { min-width: 0; padding-left: 2px !important; padding-right: 2px !important; }
  .ts-secs a span { font-size: var(--fs-xs); white-space: nowrap; overflow: hidden; text-overflow: clip; }
}
@media (max-width: 640px) { .search-bg .search-sheet { border-radius: var(--r-l) var(--r-l) 0 0 !important; } }
main h1 { font-size: 48px !important; line-height: 1.08 !important; }
:is(.sec-h, .prose, .page-prose, .guide, .doc) > h2:not(.keypts-h), .sec-h h2 { font-size: 28px !important; line-height: 1.2 !important; font-weight: 700 !important; }
:is(.prose, .page-prose, .guide, .doc) h3:not(.guide-toc *) { font-size: 20px !important; line-height: 1.3 !important; font-weight: 700 !important; }
:is(.prose, .page-prose, .guide, .doc) :is(p, li):not(.guide-toc *, .toc-acc *), .head .lede, .hero .lede { font-size: 17px !important; }
@media (max-width: 640px) {
  main h1 { font-size: 30px !important; }
  :is(.sec-h, .prose, .page-prose, .guide, .doc) > h2:not(.keypts-h), .sec-h h2 { font-size: 22px !important; }
  :is(.prose, .page-prose, .guide, .doc) h3:not(.guide-toc *) { font-size: 18px !important; }
  :is(.prose, .page-prose, .guide, .doc) :is(p, li):not(.guide-toc *, .toc-acc *), .head .lede, .hero .lede, .rows .row span { font-size: 16px !important; }
  .field > label, .field > .flabel { font-size: 14px; }
  .tabbar span { font-size: 11px; }
}
details.acc-sec > summary > h2, details.acc-sec > summary > h3 { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
@media (max-width: 640px) { details.acc-sec > summary > h2, details.acc-sec > summary > h3 { font-size: 18px; } }
.btns:has(> [data-a="save"]) { align-items: center; gap: 4px 6px; }
.btns:has(> [data-a="save"]) > .btn:not(.btn-ink) { background: none !important; border: 0 !important; box-shadow: none !important; color: var(--acc-ink) !important; padding: 0 12px; white-space: nowrap; }
.btns:has(> [data-a="save"]) > .btn:not(.btn-ink):hover { background: var(--acc-tint) !important; }
html[data-theme="dark"] .btns:has(> [data-a="save"]) > .btn:not(.btn-ink):hover { background: rgba(90,162,255,.12) !important; }
@media (max-width: 640px) {
  .btns:has(> [data-a="save"]) > .btn:not(.btn-ink) { flex: 0 1 auto; padding: 0 8px; font-size: 15px; }
  
  .btns:has(> [data-a="save"]):has(> .btn:nth-child(4)) { justify-content: center; }
  .btns:has(> [data-a="save"]):has(> .btn:nth-child(4)) > .btn-ink { flex: 1 0 100% !important; }
}
body { position: relative; }
body::before { position: absolute; top: 0; bottom: 0; }
:root { --margin-c: rgba(222, 72, 98, .24); }
html[data-theme="dark"] { --margin-c: rgba(206, 128, 146, .22); }
.btn-ink, html[data-theme="dark"] .btn-ink { background: var(--acc-btn); color: #fff; }
.btn-ink:hover, html[data-theme="dark"] .btn-ink:hover { background: color-mix(in srgb, var(--acc-btn) 88%, #000); }
.logo i { display: none; }
.logo span::before { content: ""; display: inline-block; width: 1.6em; height: 1.6em; margin-right: .4em; vertical-align: -.42em; background: url(/icons/icon.svg) center / 100% 100% no-repeat; }
.float-e { display: none; }
h1 .mark { text-decoration: none; }
.hdr { border-bottom-color: transparent; box-shadow: 0 1px 0 rgba(20,20,30,.05), 0 6px 18px -10px rgba(20,20,30,.18); }
html[data-theme="dark"] .hdr { box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 8px 20px -10px rgba(0,0,0,.6); }
.result .bd { background: #f3f7fd; border-radius: 14px; margin: var(--sp-2) -14px 0; padding: 2px 14px; }
html[data-theme="dark"] .result .bd { background: rgba(90,162,255,.07); }
.result .bd-t thead th { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
