/* tranvienhy.com (sites/tranvienhy/tool/build.dart).
   A legal register: warm paper, navy ink, serif headings, and one red seal
   (the stamp on a Vietnamese document) for the brand and the call to ask. */
:root {
  --paper: #f7f4ee;
  --surface: #fffdf9;
  --ink: #1d2a3a;
  --ink-soft: #55606d;
  --rule: #ddd5c8;
  --rule-soft: #ebe5da;
  --seal: #b3261e;
  --seal-soft: #f6e4e1;
  --link: #1f5d8c;
  --on-seal: #ffffff;
  --radius: 10px;
  --serif: "Noto Serif", Georgia, "Songti SC", "Noto Serif CJK SC", serif;
  --sans: "Be Vietnam Pro", system-ui, "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12171e;
    --surface: #1a212b;
    --ink: #e8e4dc;
    --ink-soft: #a7adb5;
    --rule: #2e3742;
    --rule-soft: #232b35;
    --seal: #e0605a;
    --seal-soft: #3a2020;
    --link: #8cc2ea;
    --on-seal: #12171e;
  }
}
:root[data-theme="dark"] {
  --paper: #12171e;
  --surface: #1a212b;
  --ink: #e8e4dc;
  --ink-soft: #a7adb5;
  --rule: #2e3742;
  --rule-soft: #232b35;
  --seal: #e0605a;
  --seal-soft: #3a2020;
  --link: #8cc2ea;
  --on-seal: #12171e;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--seal); }
:focus-visible { outline: 3px solid var(--seal); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 14px; }
h2 { font-size: 24px; line-height: 1.3; margin: 0 0 12px; }
h3 { font-size: 19px; line-height: 1.35; margin: 0 0 8px; }
:lang(zh) h1, :lang(ja) h1, :lang(ko) h1, :lang(zh) h2, :lang(ja) h2, :lang(ko) h2 { letter-spacing: 0; }
.lead { font-size: 18px; color: var(--ink-soft); max-width: 62ch; margin: 0 0 22px; }
.small-lead { font-size: 16px; margin-bottom: 14px; }
.small { font-size: 14px; color: var(--ink-soft); }
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 8px; white-space: nowrap; }
.btn.solid { background: var(--seal); color: var(--on-seal); }
.btn.solid:hover { background: var(--ink); color: var(--paper); }
.btn.line { background: var(--surface); color: var(--ink); border: 1px solid var(--rule); }
.btn.line:hover { border-color: var(--ink); color: var(--ink); }

/* Header */
header.top { background: var(--surface); border-bottom: 1px solid var(--rule); }
header.top > .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.seal { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 2px solid var(--seal); border-radius: 6px; color: var(--seal); font: 700 13px/1 var(--serif); letter-spacing: 0.04em; transform: rotate(-4deg); box-shadow: inset 0 0 0 2px var(--surface), inset 0 0 0 3px var(--seal); }
.brand-name { display: flex; flex-direction: column; font: 600 19px/1.15 var(--serif); white-space: nowrap; }
.brand-name small { font: 400 13px/1.3 var(--sans); color: var(--ink-soft); }
.topnav { display: flex; align-items: center; gap: 6px; }
.links { display: flex; gap: 2px; margin-right: 6px; }
.links a, .links-row a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 10px; border-radius: 6px; white-space: nowrap; }
.links a:hover, .links-row a:hover { background: var(--seal-soft); color: var(--seal); }
.links a[aria-current], .links-row a[aria-current] { color: var(--seal); box-shadow: inset 0 -2px 0 var(--seal); border-radius: 0; }
header.top > .links-row { display: none; }
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; padding: 8px 10px; border-radius: 6px; border: 1px solid var(--rule); }
.langs summary::-webkit-details-marker { display: none; }
.globe { width: 15px; height: 15px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; }
.globe::before { content: ""; position: absolute; inset: 0 4px; border: 1.5px solid currentColor; border-top: 0; border-bottom: 0; border-radius: 50%; }
.lang-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 16px 30px -18px rgba(29, 42, 58, 0.5); padding: 6px; display: grid; min-width: 150px; }
.lang-panel a { padding: 8px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.lang-panel a:hover { background: var(--seal-soft); }
.lang-panel a[aria-current] { font-weight: 700; color: var(--seal); }
.theme { width: 36px; height: 36px; border: 1px solid var(--rule); border-radius: 50%; background: var(--surface); cursor: pointer; display: grid; place-items: center; padding: 0; }
.theme i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink); background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
/* Seven sections: the subtitle gives way first, then the links move to a row. */
@media (max-width: 1320px) { .brand { flex: none; } .brand-name small { display: none; } .links { margin-right: 2px; } .links a { padding: 8px 6px; font-size: 14px; } .topnav { gap: 4px; } }
@media (max-width: 1220px) {
  .links { display: none; }
  header.top > .links-row { display: flex; gap: 2px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
}
@media (max-width: 900px) {
  .links { display: none; }
  header.top > .links-row { display: flex; gap: 2px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .ask-top { display: none; }
  .brand-name small { display: none; }
}
.crumbs { font-size: 14px; color: var(--ink-soft); padding-top: 16px; overflow-wrap: anywhere; }
.crumbs a { color: var(--ink-soft); }

/* Home */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 36px 0 44px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--seal); margin: 0 0 12px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 56px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.hero-actions .btn { padding: 12px 22px; font-size: 16px; }
.docket { margin: 0; position: relative; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 22px 22px 18px; box-shadow: 8px 8px 0 -1px var(--paper), 8px 8px 0 0 var(--rule), 0 26px 40px -30px rgba(29, 42, 58, 0.6); }
.docket::after { content: "TVH"; position: absolute; right: 18px; bottom: 16px; width: 58px; height: 58px; display: grid; place-items: center; border: 2px solid var(--seal); border-radius: 50%; color: var(--seal); font: 700 14px var(--serif); transform: rotate(-12deg); opacity: 0.75; }
.docket-head { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--rule-soft); padding-bottom: 10px; margin-bottom: 12px; }
.docket-q { font: 600 20px/1.35 var(--serif); margin: 0 0 14px; }
.docket-lines i { display: block; height: 8px; border-radius: 4px; background: var(--rule-soft); margin-bottom: 8px; }
.docket-steps { list-style: none; counter-reset: s; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; max-width: 75%; }
.docket-steps li { counter-increment: s; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.docket-steps li::before { content: counter(s); width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 12px; }
.block { border-top: 1px solid var(--rule); padding: 30px 0 8px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.block-head a { font-size: 15px; font-weight: 500; }

/* Lists of pages */
.cards { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.cards a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.cards a:hover { border-color: var(--seal); transform: translateY(-2px); color: var(--ink); }
.cards b { font: 600 18px/1.35 var(--serif); }
.cards span:not(.tag) { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--seal); background: var(--seal-soft); padding: 2px 8px; border-radius: 4px; }
.vi-only { font-size: 12px; font-style: normal; color: var(--ink-soft); }
.group { margin-top: 26px; }
.provinces { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 20px; }
.provinces li { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--rule-soft); }
.provinces a { color: var(--ink); text-decoration: none; font-weight: 500; }
.provinces a:hover { color: var(--seal); }
.count { font-size: 13px; color: var(--ink-soft); font-family: var(--sans); font-weight: 400; }

/* A Q&A or procedure page */
.doc { padding: 12px 0 8px; }
.doc.narrow { max-width: 72ch; }
.kicker { font-size: 14px; color: var(--ink-soft); margin: 8px 0 10px; }
.kicker a { color: var(--seal); text-decoration: none; font-weight: 600; }
.doc h1 { font-size: clamp(28px, 4.4vw, 42px); max-width: 26ch; }
.meta { color: var(--ink-soft); font-size: 15px; margin: 0 0 20px; }
.translated { border-left: 3px solid var(--rule); padding-left: 10px; }
.doc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
.prose { max-width: 70ch; }
.prose > p:first-child { font-size: 19px; line-height: 1.6; padding: 16px 18px; background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--seal); border-radius: 6px; }
.prose h2 { margin-top: 34px; scroll-margin-top: 16px; }
.prose h3 { margin-top: 24px; }
.prose li { margin-bottom: 6px; }
.prose ol, .prose ul { padding-left: 22px; }
.tablewrap { overflow-x: auto; margin: 16px 0; }
table.grid { border-collapse: collapse; width: 100%; min-width: 420px; font-size: 15px; background: var(--surface); }
.grid th, .grid td { border: 1px solid var(--rule-soft); padding: 10px 12px; text-align: left; vertical-align: top; }
.grid thead th { background: var(--rule-soft); font-weight: 600; }
.side { position: sticky; top: 16px; display: grid; gap: 16px; font-size: 15px; }
.toc { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); padding: 14px 16px; }
.toc p, .basis p { margin: 0 0 8px; font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--seal); }
.basis { border-left: 3px solid var(--seal); padding-left: 12px; }
.disclaimer { margin: 0; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 20px; }
  .doc-grid { grid-template-columns: 1fr; gap: 20px; }
  .side { position: static; }
}

/* Courts */
.courts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.court { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; }
.court h3 { font-size: 17px; }
.court dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 8px 0 0; font-size: 15px; }
.court dt { color: var(--ink-soft); }
.court dd { margin: 0; overflow-wrap: anywhere; }
.covers { margin-top: 10px; font-size: 14px; }
.covers summary { cursor: pointer; color: var(--link); }
.covers p { color: var(--ink-soft); margin: 8px 0 0; }

/* The way to a person */
.ask { margin: 40px 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 30px 32px; border-radius: 14px; background: var(--ink); color: var(--paper); }
.ask h2 { color: var(--paper); font-size: 28px; }
.ask p { color: color-mix(in srgb, var(--paper) 82%, transparent); }
.ask .small { color: color-mix(in srgb, var(--paper) 65%, transparent); margin: 12px 0 0; }
.ask-actions { margin: 18px 0 0; }
.ask .btn.solid:hover { background: var(--paper); color: var(--ink); }
.tiers { list-style: none; counter-reset: t; margin: 0; padding: 0; display: grid; gap: 10px; }
.tiers li { counter-increment: t; position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px 12px 52px; border: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); border-radius: 10px; }
.tiers li::before { content: counter(t); position: absolute; left: 14px; top: 13px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--seal); color: var(--on-seal); font-weight: 700; font-size: 14px; }
.tiers b { color: var(--paper); }
.tiers span { grid-column: 1; font-size: 14px; color: color-mix(in srgb, var(--paper) 70%, transparent); }
.tiers em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--paper); border: 1px solid color-mix(in srgb, var(--paper) 40%, transparent); border-radius: 999px; padding: 3px 10px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ask { background: var(--surface); border: 1px solid var(--rule); } :root:not([data-theme="light"]) .ask h2, :root:not([data-theme="light"]) .tiers b, :root:not([data-theme="light"]) .tiers em { color: var(--ink); } :root:not([data-theme="light"]) .ask p, :root:not([data-theme="light"]) .tiers span { color: var(--ink-soft); } }
:root[data-theme="dark"] .ask { background: var(--surface); border: 1px solid var(--rule); }
:root[data-theme="dark"] .ask h2, :root[data-theme="dark"] .tiers b, :root[data-theme="dark"] .tiers em { color: var(--ink); }
:root[data-theme="dark"] .ask p, :root[data-theme="dark"] .tiers span { color: var(--ink-soft); }
@media (max-width: 900px) { .ask { grid-template-columns: 1fr; padding: 24px 20px; } }

/* Footer */
footer.bottom { border-top: 1px solid var(--rule); background: var(--surface); font-size: 14px; color: var(--ink-soft); padding: 22px 0 36px; }
footer.bottom p { max-width: 82ch; margin: 0 0 10px; }
.foot-links a, .foot-langs a { margin-right: 16px; display: inline-block; }
.foot-langs a[aria-current] { font-weight: 700; color: var(--ink); text-decoration: none; }
.review { font-size: 14px; margin: -8px 0 20px; padding: 8px 12px; border-radius: 6px; background: var(--surface); border: 1px solid var(--rule); max-width: 70ch; }
.review.pending { border-color: color-mix(in srgb, var(--seal) 40%, var(--rule)); background: var(--seal-soft); }
.foot-company { color: var(--ink); }

/* Original texts (front matter links) and news from other sites. */
.originals { margin-top: 16px; }
.originals ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.originals li { font-size: 14px; line-height: 1.45; }
.originals .host { display: block; font-size: 12px; color: var(--ink-soft); }
.news { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.news li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.news li:last-child { border-bottom: 0; }
.news a { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; }
.news a:hover b { color: var(--seal); }
.news b { font: 600 17px/1.4 var(--serif); }
.news span { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.news small { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-soft); }
.news-box .news { max-width: 760px; }

/* Funnel: the "send your case" block, the form, the docked composer. */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn.ghost { color: var(--paper); border: 1px solid color-mix(in srgb, var(--paper) 40%, transparent); }
.btn.ghost:hover { background: var(--paper); color: var(--ink); }
:root[data-theme="dark"] .btn.ghost { color: var(--ink); border-color: var(--rule); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.ghost { color: var(--ink); border-color: var(--rule); } }
.ask-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.funnel { margin: 28px 0; padding: 22px 24px; border: 1px solid color-mix(in srgb, var(--seal) 35%, var(--rule)); border-left: 5px solid var(--seal); border-radius: 12px; background: var(--surface); }
.funnel h2 { font-size: 23px; margin-bottom: 6px; }
.funnel p { margin: 0 0 12px; max-width: 70ch; }
.funnel.compact h2 { font-size: 20px; }
.funnel-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0 !important; }
.lead-form { display: grid; gap: 6px; margin: 8px 0 0; }
.lead-form label { font-weight: 600; font-size: 14px; margin-top: 6px; }
.lead-form input:not([type="checkbox"]), .lead-form select, .lead-form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 10px 12px; }
.lead-form textarea { resize: vertical; min-height: 96px; }
.lead-form :is(input, select, textarea):focus { outline: 2px solid var(--seal); outline-offset: 1px; border-color: transparent; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-row > div { display: grid; gap: 6px; }
.lead-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.lead-form .consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--seal); }
.lead-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 10px 0 0; }
.lead-actions button { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.lead-actions button:disabled { opacity: 0.6; cursor: wait; }
.lead-status { font-size: 15px; }
.lead-status.ok { color: #2d7a3e; font-weight: 600; }
.lead-status.err { color: var(--seal); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-page h2 { margin-top: 28px; }
.thanks { padding: 48px 16px; }
@media (max-width: 600px) { .lead-row { grid-template-columns: 1fr; gap: 0; } }

.lead-dialog { width: min(620px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 1px solid var(--rule); border-radius: 16px; padding: 20px 22px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45); }
.lead-dialog::backdrop { background: rgba(18, 23, 30, 0.45); }
.lead-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lead-dialog-head h2 { margin: 0; font-size: 22px; }
.lead-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }

body.has-dock { padding-bottom: 92px; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--paper) 55%, transparent); pointer-events: none; }
.dock-card { pointer-events: auto; max-width: 760px; margin: 0 auto; display: flex; align-items: flex-end; gap: 8px; padding: 8px 8px 8px 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: 26px; box-shadow: 0 12px 32px -14px rgba(29, 42, 58, 0.45); transition: border-color 0.15s, box-shadow 0.15s; }
.dock-card:focus-within { border-color: var(--seal); box-shadow: 0 14px 36px -12px rgba(179, 38, 30, 0.35); }
.dock textarea { flex: 1; min-width: 0; resize: none; border: 0; outline: 0; background: transparent; color: var(--ink); font: 16px/1.5 var(--sans); padding: 7px 0; max-height: 160px; height: 38px; }
.dock textarea::placeholder { color: var(--ink-soft); }
.dock-send { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--seal); color: var(--on-seal); cursor: pointer; }
.dock-send:hover { background: var(--ink); color: var(--paper); }
.dock-send:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (max-width: 600px) {
  body.has-dock { padding-bottom: 76px; }
  .dock { padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .dock-card { padding: 5px 5px 5px 14px; border-radius: 22px; }
  .dock textarea { font-size: 16px; height: 34px; padding: 5px 0; }
  .dock-send { width: 34px; height: 34px; }
}
@media print { .dock, .lead-dialog { display: none; } }

/* The warehouse */
.vb-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.vb-list li { border-bottom: 1px solid var(--rule-soft); }
.vb-list a { display: grid; gap: 3px; padding: 12px 0; color: var(--ink); text-decoration: none; }
.vb-list a:hover b { color: var(--seal); }
.vb-num { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--seal); }
.vb-list b { font: 600 17px/1.4 var(--serif); }
.vb-list small { font-size: 13px; color: var(--ink-soft); }
.st { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; padding: 1px 7px; border-radius: 999px; border: 1px solid currentColor; vertical-align: 1px; white-space: nowrap; }
.st-co { color: #2d7a3e; }
.st-chua { color: #a86a00; }
.st-het { color: var(--seal); }
.st-cong-van, .st-khong-ro { color: var(--ink-soft); }
:root[data-theme="dark"] .st-co { color: #7fd093; }
:root[data-theme="dark"] .st-chua { color: #f0bf5a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .st-co { color: #7fd093; } :root:not([data-theme="light"]) .st-chua { color: #f0bf5a; } }
.vb-filter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 6px 0 10px; padding: 16px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; }
.vb-filter label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink-soft); min-width: 0; }
.vb-filter .vb-q { grid-column: 1 / -1; }
.vb-filter input, .vb-filter select { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 9px 10px; width: 100%; min-width: 0; }
@media (max-width: 900px) { .vb-filter { grid-template-columns: 1fr 1fr; } }
.vb h1 { max-width: 34ch; font-size: clamp(24px, 3.6vw, 34px); }
.vb-h-num { display: block; font: 700 15px/1.4 var(--sans); letter-spacing: 0.03em; color: var(--seal); margin-bottom: 6px; }
.vb-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 18px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; font-size: 15px; }
.vb-facts dt { color: var(--ink-soft); }
.vb-facts dd { margin: 0; overflow-wrap: anywhere; }
.vb-ended { border-left: 4px solid var(--seal); padding: 4px 0 4px 14px; font-size: 15px; }
.vb-note { margin: 10px 0 20px; }
.vb-note .review { margin: 0 0 12px; }
.vb-body { font-size: 16px; line-height: 1.7; max-width: 72ch; overflow-wrap: anywhere; }
.vb-body h2 { font-size: 20px; text-align: center; margin: 30px 0 12px; scroll-margin-top: 16px; }
.vb-body h3 { font-size: 17px; margin: 22px 0 8px; scroll-margin-top: 16px; }
.vb-body p { margin: 0 0 10px; scroll-margin-top: 16px; }
.vb-body p:target, .vb-body h3:target { background: var(--seal-soft); border-radius: 4px; }
.vb-body .anchor { color: inherit; text-decoration: none; }
.vb-provenance { border-left: 3px solid var(--rule); padding-left: 10px; }
.vb-toc { max-height: 50vh; overflow: auto; }
.rel { font-size: 14px; }
.rel p { margin: 0 0 6px; font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.rel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rel li span { display: block; color: var(--ink-soft); font-size: 13px; line-height: 1.4; }
.digest-nav { display: flex; justify-content: space-between; gap: 12px; }
.docket-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 82%; }
.docket-docs a { display: grid; gap: 2px; color: var(--ink); text-decoration: none; }
.docket-docs b { font-size: 13px; color: var(--seal); letter-spacing: 0.02em; }
.docket-docs span { font: 600 16px/1.35 var(--serif); }
.docket-docs a:hover span { color: var(--seal); }

/* Danh bạ luật sư (/luat-su/) */
.ls-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ls-note { border-left: 3px solid var(--rule); padding-left: 10px; max-width: 80ch; }
.ls-sources { margin: 8px 0; padding-left: 20px; font-size: 15px; }
.ls-sources li { margin: 4px 0; overflow-wrap: anywhere; }
.ls-map { margin-left: 6px; font-size: 14px; white-space: nowrap; }
.ls-fix { margin: 14px 0 6px; font-weight: 600; }
.ls-lawyers { margin: 0; padding-left: 18px; }
