:root {
  color-scheme: light;
  --ink: #172333;
  --muted: #718092;
  --line: #e8ebef;
  --paper: #ffffff;
  --canvas: #f4f5f7;
  --navy: #172b47;
  --navy-2: #203c5e;
  --blue: #32639b;
  --green: #39785f;
  --amber: #bd8542;
  font-family: "DM Sans", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #8bb4e0; outline-offset: 3px; }
.app-shell { min-height: 100vh; }
.sidebar { width: 246px; position: fixed; z-index: 5; inset: 0 auto 0 0; display: flex; flex-direction: column; padding: 27px 16px 18px; background: #fff; border-right: 1px solid #e8eaed; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 9px; margin-bottom: 39px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: #244267; box-shadow: inset 0 0 0 1px #ffffff25; position: relative; }
.brand-mark::after { content: ""; position: absolute; width: 27px; height: 27px; border: 1px solid #d7e3f3; opacity: .42; border-radius: 7px; transform: rotate(45deg); }
.brand-mark span { position: relative; z-index: 1; font-weight: 700; font-size: 17px; }
.brand-copy strong { display: block; font-size: 15px; letter-spacing: .2px; font-weight: 700; }
.brand-copy small { display: block; margin-top: 3px; color: #8a96a3; font-size: 8px; letter-spacing: 1.05px; font-weight: 600; }
.nav-caption { padding: 0 11px; margin: 0 0 9px; color: #9aa4af; font-size: 10px; font-weight: 700; letter-spacing: 1.05px; }
.primary-nav, .subject-nav { display: grid; gap: 4px; }
.nav-item, .subject-item { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 42px; border: 0; border-radius: 8px; padding: 0 11px; text-align: left; color: #687687; background: transparent; cursor: pointer; transition: background .18s, color .18s; }
.nav-item:hover, .subject-item:hover { background: #f5f7f9; color: var(--ink); }
.nav-item.active { color: #244b79; background: #eef3f9; font-weight: 600; }
.nav-item svg, .subject-item svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.nav-item span:nth-of-type(1), .subject-item span:first-of-type { flex: 1; }
.nav-count { margin-left: auto; color: #97a2ae; font-size: 11px; font-variant-numeric: tabular-nums; }
.subject-caption { margin-top: 33px; }
.subject-nav { gap: 1px; }
.subject-item { min-height: 36px; gap: 10px; padding-left: 12px; font-size: 12px; }
.topic-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dot, #a7b4c3); }
.subject-item.selected { color: #244b79; font-weight: 600; background: #f3f6f9; }
.sidebar-bottom { margin-top: auto; }
.source-mini { border: 1px solid #e9edf1; background: #fafbfc; border-radius: 9px; padding: 13px 12px 11px; }
.source-live { display: flex; align-items: center; gap: 7px; color: #42715e; font-size: 10px; font-weight: 700; }
.source-live i, .sync-status i { width: 6px; height: 6px; border-radius: 50%; background: #4d9b73; box-shadow: 0 0 0 3px #4d9b7319; }
.source-mini p { color: #7d8995; font-size: 10px; line-height: 1.7; margin: 8px 0 9px; }
.source-mini a { display: flex; justify-content: space-between; color: #315d8a; font-size: 10px; font-weight: 600; }
.sidebar-foot { display: flex; justify-content: center; gap: 7px; color: #a0a9b3; font-size: 10px; padding-top: 15px; }
.main-area { min-height: 100vh; margin-left: 246px; }
.topbar { position: sticky; top: 0; z-index: 4; height: 63px; display: flex; align-items: center; justify-content: space-between; padding: 0 4.2vw; background: #f4f5f7eb; backdrop-filter: blur(12px); border-bottom: 1px solid #e9ebef; }
.crumb { display: flex; align-items: center; gap: 11px; color: #8b96a2; font-size: 11px; }
.crumb b { font-weight: 400; color: #c2c9d0; }
.crumb strong { color: #445264; font-weight: 600; }
.top-actions { display: flex; align-items: center; gap: 16px; }
.sync-status { display: flex; align-items: center; gap: 8px; color: #82909d; font-size: 10px; }
.sync-status b { color: #526374; font-weight: 600; font-variant-numeric: tabular-nums; }
.top-divider { height: 17px; border-left: 1px solid #dce1e6; }
.help-button { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid #cfd6de; background: transparent; color: #7c8997; border-radius: 50%; font-family: Georgia, serif; font-size: 12px; cursor: pointer; }
.content-wrap { width: min(100% - 8.4vw, 1320px); margin: 0 auto; padding: 27px 0 22px; }
.hero-card { min-height: 230px; position: relative; overflow: hidden; border-radius: 13px; background: linear-gradient(107deg, #172b47 0%, #1d385a 67%, #244768 100%); color: #fff; box-shadow: 0 8px 18px #16304b13; }
.hero-card::after { content: ""; pointer-events: none; position: absolute; inset: 0; background: linear-gradient(90deg, #162b47 0%, #162b4710 75%); }
.hero-content { position: relative; z-index: 2; padding: 27px 36px 22px; max-width: 755px; }
.hero-eyebrow { display: flex; align-items: center; gap: 9px; color: #9cb0c8; font-size: 10px; font-weight: 600; letter-spacing: .8px; }
.eyebrow-line { width: 18px; height: 1px; background: #c18d55; }
.hero-card h1 { margin: 15px 0 6px; font-size: clamp(23px, 2.2vw, 29px); line-height: 1.25; letter-spacing: -.6px; font-weight: 600; }
.hero-card p { margin: 0; color: #b5c2d1; font-size: 12px; }
.search-form { height: 47px; width: min(680px, 100%); display: flex; align-items: center; gap: 12px; margin-top: 21px; padding: 5px 5px 5px 14px; border-radius: 7px; background: #fff; box-shadow: 0 4px 14px #0b1a2e28; }
.search-form > svg { width: 18px; height: 18px; fill: none; stroke: #7d8c9b; stroke-width: 1.8; stroke-linecap: round; flex: 0 0 auto; }
.search-form input { width: 100%; min-width: 100px; border: 0; outline: 0; color: #263a50; background: transparent; font-size: 12px; }
.search-form input::placeholder { color: #a3adb7; }
.search-shortcut { display: flex; gap: 3px; flex: 0 0 auto; }
kbd { padding: 3px 5px; border: 1px solid #e6e9ec; border-radius: 4px; color: #a0a9b1; background: #fafbfc; font-family: inherit; font-size: 8px; }
.search-form button { height: 36px; display: flex; align-items: center; gap: 10px; padding: 0 15px; border: 0; border-radius: 5px; color: #fff; background: #b88348; font-size: 11px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .2s, transform .2s; }
.search-form button:hover { background: #ca965c; transform: translateY(-1px); }
.search-form button span { font-size: 13px; }
.hero-hints { display: flex; align-items: center; gap: 7px; margin-top: 11px; color: #91a3b9; font-size: 9px; }
.hint-chip { border: 1px solid #ffffff26; border-radius: 4px; padding: 3px 7px; color: #c2cfde; background: #ffffff0a; font-size: 9px; cursor: pointer; }
.hint-chip:hover { border-color: #d0a16e; color: #fff; }
.hero-stamp { position: absolute; z-index: 2; top: 31px; right: 36px; display: flex; align-items: center; gap: 9px; color: #a7b8ca; font-size: 9px; line-height: 1.55; letter-spacing: .5px; }
.hero-stamp b { font-size: 8px; letter-spacing: 1.3px; color: #758ea9; }
.stamp-ring { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid #c89a6b; border-radius: 50%; color: #d5aa7b; font-size: 11px; line-height: 1.15; text-align: center; transform: rotate(-12deg); }
.hero-orbit { position: absolute; border: 1px solid #ffffff0d; border-radius: 50%; }
.orbit-one { width: 390px; height: 390px; top: -193px; right: -83px; }
.orbit-two { width: 280px; height: 280px; top: -125px; right: -30px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.stat-card { min-height: 75px; position: relative; display: flex; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid #e9ecf0; border-radius: 9px; background: #fff; }
.stat-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 7px; font-size: 14px; font-weight: 600; }
.stat-icon.navy { color: #416994; background: #edf3f9; }
.stat-icon.green { color: #4d8669; background: #edf6f0; }
.stat-icon.amber { color: #b27a39; background: #fbf3e8; }
.stat-icon.violet { color: #7370a3; background: #f1f0f8; }
.stat-card div { display: grid; gap: 4px; }
.stat-label { color: #8793a0; font-size: 9px; }
.stat-card strong { color: #243649; font-size: 16px; line-height: 1; font-weight: 700; }
.source-stat strong { font-size: 12px; }
.stat-foot { margin-left: auto; color: #a0a9b2; font-size: 8px; white-space: nowrap; }
.source-stat .stat-foot b { margin-left: 5px; color: #486c92; font-size: 11px; }
.browse-section { margin-top: 27px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 12px; }
.section-kicker { color: #9ba5af; font-family: "DM Sans", sans-serif; font-size: 8px; font-weight: 700; letter-spacing: 1.25px; }
.section-heading h2 { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; color: #253548; font-size: 16px; font-weight: 700; letter-spacing: -.2px; }
.text-action { border: 0; background: transparent; color: #537493; font-size: 10px; cursor: pointer; }
.text-action span { margin-left: 5px; font-size: 14px; }
.topic-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.topic-card { min-height: 66px; display: flex; align-items: center; gap: 9px; padding: 10px 10px; border: 1px solid #eaedf0; border-radius: 8px; background: #fff; cursor: pointer; text-align: left; transition: border .16s, box-shadow .16s, transform .16s; }
.topic-card:hover { border-color: #c8d5e2; box-shadow: 0 4px 10px #24364b0a; transform: translateY(-1px); }
.topic-card.active { border-color: #7698b8; box-shadow: inset 0 0 0 1px #7698b8; background: #f8fafc; }
.topic-symbol { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 7px; color: var(--topic-ink); background: var(--topic-bg); font-size: 11px; font-weight: 700; }
.topic-copy { min-width: 0; }
.topic-copy strong { display: block; overflow: hidden; color: #37485a; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.topic-copy small { display: block; margin-top: 5px; color: #a3adb6; font-size: 8px; }
.library-section { margin-top: 31px; }
.library-heading { align-items: end; margin-bottom: 13px; }
.result-count { display: inline-grid; place-items: center; min-width: 22px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e9eef3; color: #5d7489; font-size: 9px; font-weight: 600; }
.library-actions { display: flex; align-items: center; gap: 8px; }
.select-wrap { position: relative; }
.select-wrap select { height: 30px; appearance: none; border: 1px solid #e3e7eb; border-radius: 5px; padding: 0 25px 0 9px; color: #718090; background: #fff; font-size: 9px; cursor: pointer; }
.select-chevron { position: absolute; top: 6px; right: 8px; color: #94a0aa; pointer-events: none; }
.filter-toggle { height: 30px; position: relative; display: flex; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid #e3e7eb; border-radius: 5px; background: #fff; color: #667687; font-size: 9px; cursor: pointer; }
.filter-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.filter-toggle i { display: none; width: 5px; height: 5px; border-radius: 50%; background: #b8824a; }
.filter-toggle.has-filter i { display: block; }
.filter-panel { display: flex; align-items: center; gap: 30px; position: relative; margin: -2px 0 11px; padding: 12px 13px; border: 1px solid #e8ebef; border-radius: 7px; background: #fff; }
.filter-panel[hidden] { display: none; }
.filter-group { display: flex; align-items: center; gap: 10px; }
.filter-group > span { color: #8995a0; font-size: 9px; white-space: nowrap; }
.filter-pills { display: flex; gap: 5px; }
.filter-pill, .type-pill, .coverage-pill { padding: 5px 8px; border: 1px solid transparent; border-radius: 4px; color: #73808c; background: #f5f6f8; font-size: 9px; cursor: pointer; }
.filter-pill.active, .type-pill.active, .coverage-pill.active { border-color: #d5e1eb; color: #315c84; background: #eff4f8; font-weight: 600; }
.reset-filters { margin-left: auto; border: 0; color: #8d99a5; background: none; font-size: 9px; cursor: pointer; }
.active-filters { display: flex; min-height: 0; gap: 6px; margin-bottom: 3px; }
.active-filters:not(:empty) { margin-bottom: 9px; }
.official-search-links:not([hidden]) { display: flex; flex-wrap: wrap; gap: 5px 14px; margin: 4px 0 11px; color: #8996a2; font-size: 9px; }
.official-search-links a { color: #587c9c; }
.active-tag { display: flex; align-items: center; gap: 6px; padding: 4px 7px; border-radius: 4px; color: #52708d; background: #eaf0f6; font-size: 9px; }
.active-tag button { padding: 0; border: 0; color: #7490a9; background: none; cursor: pointer; }
.result-list { display: grid; gap: 8px; }
.law-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; min-height: 84px; padding: 14px 16px; border: 1px solid #e9ecf0; border-radius: 8px; background: #fff; transition: border .15s, box-shadow .15s; cursor: pointer; }
.law-card:hover { border-color: #cbd8e3; box-shadow: 0 4px 13px #23364b0a; }
.law-main { min-width: 0; }
.law-title-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.law-title { overflow: hidden; color: #26394c; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.kind-badge { display: inline-flex; align-items: center; flex: 0 0 auto; height: 18px; padding: 0 6px; border: 1px solid #dce6ef; border-radius: 4px; color: #547495; background: #f3f7fa; font-size: 8px; }
.kind-badge.reg { color: #8a6a3e; background: #fbf7ef; border-color: #eee4d2; }
.kind-badge.rule { color: #6f6c9b; background: #f6f5fa; border-color: #e5e3ef; }
.kind-badge.norm { color: #387d7a; background: #eef8f6; border-color: #d7ebe7; }
.law-summary { overflow: hidden; margin: 7px 0 0; color: #85919c; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.law-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 9px; color: #9aa4ae; font-size: 8px; }
.meta-sep { color: #d0d5da; }
.law-meta .topic-label { color: #60778e; }
.law-right { display: flex; align-items: center; gap: 17px; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 4px; color: #478064; background: #eff7f1; font-size: 8px; white-space: nowrap; }
.status-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #55a273; }
.status-badge.pending { color: #986b37; background: #fbf5eb; }
.status-badge.pending::before { background: #c49253; }
.status-badge.repealed { color: #737d87; background: #f0f2f4; }
.status-badge.repealed::before { background: #8d969e; }
.favorite-button { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 6px; color: #a6b0ba; background: transparent; font-size: 16px; cursor: pointer; }
.favorite-button:hover { border-color: #e5e9ed; background: #fafbfc; }
.favorite-button.saved { color: #b67b42; }
.empty-state { padding: 40px 15px 45px; border: 1px dashed #dce2e8; border-radius: 8px; background: #fbfcfd; text-align: center; }
.empty-icon { color: #aebbc7; font-family: Georgia, serif; font-size: 33px; }
.empty-state h3 { margin: 8px 0; color: #394b5e; font-size: 13px; }
.empty-state p { color: #929eaa; font-size: 10px; }
.empty-state button { margin-top: 7px; padding: 7px 12px; border: 1px solid #dce5ed; border-radius: 5px; color: #527493; background: #fff; font-size: 10px; cursor: pointer; }
.library-footnote { display: flex; align-items: center; gap: 8px; margin-top: 11px; padding: 10px 12px; border: 1px solid #eceef1; border-radius: 6px; color: #919ca7; background: #fafbfc; font-size: 9px; line-height: 1.6; }
.footnote-mark { width: 14px; height: 14px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #c7d2dc; border-radius: 50%; color: #7d91a4; font-family: Georgia, serif; font-size: 9px; }
.library-footnote strong { color: #637687; font-weight: 600; }
.library-footnote a { margin-left: auto; color: #5d7e9e; white-space: nowrap; }
.page-footer { display: flex; justify-content: space-between; padding: 17px 2px 0; color: #a0a9b2; font-size: 9px; }
.page-footer span span { padding: 0 5px; }
.drawer-backdrop { position: fixed; z-index: 8; inset: 0; opacity: 0; visibility: hidden; background: #15253856; transition: opacity .2s, visibility .2s; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.detail-drawer { position: fixed; z-index: 9; inset: 0 0 0 auto; width: min(480px, 100vw); display: flex; flex-direction: column; background: #fff; box-shadow: -15px 0 40px #172b4714; transform: translateX(102%); transition: transform .25s ease; }
.detail-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 65px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.drawer-overline { color: #9aa5af; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.icon-button { width: 28px; height: 28px; border: 1px solid #e5e9ed; border-radius: 6px; color: #718090; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.drawer-body { overflow: auto; padding: 25px 25px 32px; }
.detail-topline { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.detail-kind { color: #557b9d; font-size: 10px; }
.detail-title { margin: 12px 0 8px; color: #21364a; font-size: 23px; line-height: 1.45; letter-spacing: -.3px; }
.detail-summary { margin: 0; color: #768493; font-size: 12px; line-height: 1.9; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 17px; }
.detail-tag { padding: 5px 8px; border-radius: 4px; color: #687c8e; background: #f1f4f6; font-size: 9px; }
.detail-actions { display: flex; gap: 8px; margin: 21px 0 23px; }
.detail-primary, .detail-secondary { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 11px; border-radius: 5px; font-size: 10px; font-weight: 600; cursor: pointer; }
.detail-primary { border: 1px solid #254e78; color: #fff; background: #254e78; }
.detail-secondary { border: 1px solid #e2e7eb; color: #647587; background: #fff; }
.detail-primary:hover { background: #315f8e; }
.detail-facts { border-top: 1px solid var(--line); }
.fact-row { display: grid; grid-template-columns: 91px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f0f2f4; font-size: 10px; }
.fact-row dt { margin: 0; color: #8e9aa5; }
.fact-row dd { margin: 0; color: #3c4e60; line-height: 1.6; }
.detail-source-box { margin-top: 21px; padding: 13px; border: 1px solid #e8edf1; border-radius: 7px; background: #fafbfc; }
.detail-source-box h3 { margin: 0 0 8px; color: #47596b; font-size: 10px; }
.detail-source-box p { margin: 0; color: #4f5d6b; font-size: 13px; line-height: 1.85; white-space: pre-line; }
.detail-source-box p + p { margin-top: 9px; }
.detail-source-box p.article-match { margin-left: -8px; padding: 7px 8px; border-left: 2px solid #5d7e9e; background: #eef5fa; }
.detail-source-box mark { color: #5e4b17; background: #fff0b8; }
.detail-source-box a { display: inline-flex; margin-top: 10px; color: #315f89; font-size: 11px; font-weight: 600; }
.law-hit { overflow: hidden; margin: 6px 0 0; color: #58697a; font-size: 11px; line-height: 1.55; text-overflow: ellipsis; }
.law-hit span { color: #315f89; font-weight: 700; }
.law-hit mark { color: #4e3e10; background: #fff0b8; }
.toast { position: fixed; z-index: 11; bottom: 24px; left: 50%; max-width: calc(100% - 32px); padding: 10px 15px; border-radius: 6px; color: #fff; background: #26394d; box-shadow: 0 6px 20px #0c1b2e2b; font-size: 10px; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.sr-only { position: absolute; overflow: hidden; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1150px) {
  .sidebar { width: 216px; }
  .main-area { margin-left: 216px; }
  .content-wrap { width: min(100% - 5vw, 1060px); }
  .topbar { padding: 0 2.5vw; }
  .topic-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat-foot { display: none; }
}
@media (max-width: 820px) {
  .sidebar { width: 64px; align-items: center; padding: 18px 8px 12px; }
  .brand { margin: 0 0 29px; padding: 0; }
  .brand-copy, .nav-caption, .nav-item span, .subject-nav, .sidebar-bottom { display: none; }
  .primary-nav { width: 100%; }
  .nav-item { justify-content: center; padding: 0; }
  .nav-item svg { width: 18px; height: 18px; }
  .nav-item span.nav-count { display: none; }
  .main-area { margin-left: 64px; }
  .content-wrap { width: calc(100% - 34px); }
  .topbar { padding: 0 17px; }
  .hero-content { padding-left: 23px; padding-right: 23px; }
  .hero-stamp { right: 20px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-foot { display: block; }
  .topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .topbar { height: 53px; }
  .crumb { gap: 7px; font-size: 10px; }
  .sync-status { gap: 6px; font-size: 0; }
  .sync-status i { display: none; }
  .sync-status b { font-size: 9px; }
  .top-divider { height: 14px; }
  .content-wrap { padding-top: 15px; }
  .hero-card { min-height: 223px; }
  .hero-content { padding: 21px 16px 17px; }
  .hero-card h1 { max-width: 280px; margin-top: 13px; font-size: 21px; }
  .hero-card p { max-width: 250px; font-size: 10px; line-height: 1.7; }
  .hero-stamp { top: 17px; right: 14px; }
  .hero-stamp > span:last-child { display: none; }
  .stamp-ring { width: 34px; height: 34px; font-size: 9px; }
  .search-form { gap: 8px; height: 43px; margin-top: 19px; padding-left: 10px; }
  .search-form input { font-size: 10px; }
  .search-shortcut { display: none; }
  .search-form button { height: 33px; padding: 0 10px; font-size: 10px; }
  .hero-hints { flex-wrap: wrap; gap: 5px; }
  .hero-hints > span { width: 100%; }
  .stats-row { gap: 7px; margin-top: 9px; }
  .stat-card { min-height: 63px; gap: 8px; padding: 9px; }
  .stat-icon { width: 25px; height: 25px; font-size: 12px; }
  .stat-card strong { font-size: 13px; }
  .stat-label { font-size: 8px; }
  .stat-foot { display: none; }
  .browse-section { margin-top: 23px; }
  .section-heading h2 { font-size: 14px; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .topic-card { min-height: 59px; gap: 7px; padding: 8px; }
  .topic-copy strong { font-size: 9px; }
  .library-section { margin-top: 25px; }
  .library-heading { align-items: end; gap: 7px; }
  .library-actions { gap: 5px; }
  .select-wrap select { height: 28px; max-width: 118px; font-size: 8px; }
  .filter-toggle { height: 28px; padding: 0 7px; }
  .filter-toggle span { font-size: 8px; }
  .filter-panel { align-items: flex-start; flex-direction: column; gap: 9px; }
  .filter-group { align-items: flex-start; flex-direction: column; gap: 5px; }
  .reset-filters { position: absolute; right: 11px; top: 11px; }
  .law-card { min-height: auto; padding: 12px 11px; }
  .law-title { font-size: 11px; }
  .law-summary { max-width: 100%; font-size: 9px; }
  .law-meta { gap: 5px 8px; font-size: 7px; }
  .law-right { gap: 5px; }
  .status-badge { padding: 4px 5px; font-size: 7px; }
  .favorite-button { width: 24px; height: 24px; }
  .library-footnote { align-items: flex-start; flex-wrap: wrap; font-size: 8px; }
  .library-footnote a { margin-left: 22px; }
  .page-footer { flex-direction: column; gap: 6px; font-size: 8px; }
  .detail-drawer { width: min(100vw, 480px); }
  .drawer-body { padding: 20px 18px 28px; }
  .detail-title { font-size: 20px; }
}
