:root {
  --ink: #16212e; --muted: #5b6b7c; --line: #dfe6ee; --bg: #ffffff; --soft: #f4f7fb;
  --brand: #0f4c5c; --brand-2: #e76f51; --yes: #1b7f4b; --no: #b42318; --warn: #b54708;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Noto Sans SC", sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-2); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.main-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 6px 0; }
.main-nav a[aria-current] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }

main { padding-bottom: 40px; }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.2; margin: 24px 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 1.4rem; margin: 36px 0 12px; line-height: 1.3; }
h3 { font-size: 1.1rem; margin: 0 0 6px; }
.lede { font-size: 1.12rem; color: #2c3b4c; max-width: 820px; }
.crumbs { font-size: 0.875rem; color: var(--muted); margin-top: 18px; }
.crumbs a { color: var(--muted); }

.hero { padding: 24px 0 8px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.button, button { display: inline-block; background: var(--brand); color: #fff; border: 0; border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover, button:hover { background: #0b3a47; color: #fff; }
.button.ghost { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 24px 0; }
.facts > div { background: var(--soft); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.facts .big { font-size: 1.8rem; font-weight: 700; color: var(--brand); line-height: 1.1; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }
.card h2 { margin-top: 0; font-size: 1.2rem; }
.card ul { padding-left: 18px; margin: 8px 0 0; }
.card-src { font-size: 0.8rem; color: var(--muted); margin: 8px 0 0; }
.zh { color: #334155; }
.big-zh { font-size: 1.25rem; margin: 0; }
dl.mini { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 8px 0 0; font-size: 0.92rem; }
dl.mini dt { color: var(--muted); }
dl.mini dd { margin: 0; }

.table-wrap { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--soft); font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
table.kv th { width: 30%; background: var(--soft); font-weight: 600; }
tr.total td { font-weight: 700; background: #fbfcfe; }
sup.cite { font-size: 0.7em; margin-left: 1px; }
sup.cite a { text-decoration: none; }

.steps { padding-left: 22px; }
.steps li { margin: 8px 0; }
.country-list { line-height: 1.9; }

.callout { border-radius: var(--radius); padding: 14px 16px; margin: 18px 0; background: var(--soft); border-left: 4px solid var(--brand); }
.callout.warn { background: #fff8eb; border-left-color: var(--warn); }

.disclaimer { margin: 40px 0 0; padding: 14px 16px; border: 1px dashed var(--line); border-radius: var(--radius); font-size: 0.9rem; color: var(--muted); }

.sources { margin-top: 40px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.sources ol { padding-left: 22px; }
.sources li { margin: 6px 0; word-break: break-word; }

.illus { margin: 20px 0; }
.illus svg { width: 100%; height: auto; max-width: 720px; display: block; }
.illus figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.illus.phones { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.illus.phones svg.phone { width: 180px; max-width: 30%; min-width: 150px; }
.illus.phones figcaption { flex-basis: 100%; }

.taxi { display: flex; flex-direction: column; gap: 4px; background: #fffdf5; border: 2px solid #f0c36d; border-radius: var(--radius); padding: 18px; margin: 10px 0; font-size: 1.35rem; max-width: 560px; }
.taxi strong { font-size: 1.6rem; }

.compare-chart { background: var(--soft); border-radius: var(--radius); padding: 18px; margin: 20px 0; }
.bar-row { display: grid; grid-template-columns: 70px 1fr 140px; align-items: center; gap: 12px; margin: 10px 0; }
.bar-label { font-weight: 600; }
.bar-track { position: relative; height: 18px; background: #e4ebf2; border-radius: 9px; }
.bar { position: absolute; top: 0; height: 100%; border-radius: 9px; min-width: 6px; }
.bar-cn { background: var(--brand); }
.bar-us { background: var(--brand-2); }
.bar-val { font-variant-numeric: tabular-nums; font-size: 0.92rem; }

form label { display: flex; flex-direction: column; gap: 4px; font-weight: 500; font-size: 0.95rem; margin: 8px 0; }
input, select, textarea { font: inherit; padding: 10px 12px; border: 1px solid #c8d3df; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
textarea { resize: vertical; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 16px; }
fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 12px 0; padding: 8px 14px; }
legend { font-weight: 600; padding: 0 6px; }
label.radio, label.check { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; }
label.radio input, label.check input { width: auto; margin-top: 5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.tool, .calc { background: var(--soft); border-radius: var(--radius); padding: 18px; margin: 18px 0; }
.calc-out { display: block; margin: 12px 0 4px; font-size: 1.05rem; }
.calc-out table { background: #fff; border-radius: 8px; }
.result .answer { border-radius: var(--radius); padding: 14px 16px; margin: 12px 0; border: 1px solid var(--line); background: #fff; }
.answer h3 { margin-bottom: 4px; }
.answer.yes { border-left: 5px solid var(--yes); }
.answer.yes h3 { color: var(--yes); }
.answer.no { border-left: 5px solid var(--no); }
.answer.no h3 { color: var(--no); }
.answer.warn { border-left: 5px solid var(--warn); }
.answer.warn h3 { color: var(--warn); }
.answer.info { border-left: 5px solid var(--brand); }
.answer .src { font-size: 0.85rem; color: var(--muted); margin-bottom: 0; }

.lead { margin-top: 36px; background: #0f4c5c; color: #eaf3f5; border-radius: 16px; padding: 22px; }
.lead h2 { color: #fff; margin-top: 0; }
.lead a { color: #ffd6c9; }
.lead input, .lead select, .lead textarea { border-color: transparent; }
.lead button { background: var(--brand-2); }
.lead button:hover { background: #cf5a3d; }
.form-status { min-height: 1.4em; font-weight: 600; }

.site-footer { border-top: 1px solid var(--line); background: var(--soft); padding: 28px 0; margin-top: 40px; font-size: 0.92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(170px, auto)); gap: 4px 24px; }

@media (max-width: 640px) {
  .bar-row { grid-template-columns: 50px 1fr 110px; gap: 8px; }
  table.kv th { width: 38%; }
  .main-nav { gap: 12px; font-size: 0.95rem; }
}

.doc-filter { max-width: 420px; }
.doc-table { max-height: 640px; overflow: auto; }
.doc-table thead th { position: sticky; top: 0; z-index: 1; }
.doc-table td { font-size: 0.9rem; }
