/* Blue and white. Flat surfaces, typographic hierarchy, minimal decoration. */
:root { --blue:#245bcc; --blue-dark:#17449f; --ink:#202b3d; --muted:#5c687a; --line:#dce2ea; --soft:#f5f7fa; }
body { background:var(--soft); color:var(--ink); }
.site-header { background:#fff; color:var(--ink); border-bottom:1px solid var(--line); box-shadow:none; }
.header-inner { max-width:1360px; gap:28px; }
.logo-icon { color:#fff; background:var(--blue); border-radius:6px; }
.logo-text { color:#173d80; }
.logo-text h1 { font-weight:800; letter-spacing:-.5px; }
.logo-text span { color:var(--muted); opacity:1; }
.header-search { max-width:560px; }
.header-search input { background:#f6f8fb; border:1px solid #b8c5d7; border-radius:6px; color:var(--ink); backdrop-filter:none; }
.header-search input::placeholder { color:#5c687a; }
.header-search input:focus { background:#fff; border-color:var(--blue); }
.search-icon { color:#516177; opacity:1; }
.btn-consult { background:#fff; color:#34445d; border:1px solid #aab8cc; border-radius:5px; }
.btn-consult:hover { background:#f2f6fc; box-shadow:none; transform:none; }
.hero { background:#fff; color:var(--ink); border-bottom:1px solid var(--line); }
.hero h2 { color:#172b4b; letter-spacing:-1px; }
.hero p { color:var(--muted); opacity:1; }
.hero-home { padding:35px 24px 32px; text-align:left; }
.hero-inner { max-width:1360px; margin:auto; display:grid; grid-template-columns:minmax(0,1.45fr) minmax(340px,1fr); gap:42px; align-items:center; }
.hero-home h2 { font-size:32px; line-height:1.45; font-weight:750; margin-bottom:12px; }
.hero-home p { font-size:15px; line-height:1.8; margin-bottom:14px; max-width:610px; }
.hero-home .intake-basis { color:#687386; font-size:12px; margin-bottom:0; }
.stats-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; }
.stat-item { text-align:center; padding:5px 12px; min-width:0; }
.stat-item + .stat-item { border-left:1px solid var(--line); }
.stat-num { color:#1b4489; font-size:30px; font-weight:750; letter-spacing:-1px; }
.stat-label { color:var(--muted); font-size:12px; opacity:1; margin-top:9px; }
.main-layout { max-width:1408px; gap:28px; padding-top:28px; }
.sidebar { background:#fff; border:1px solid var(--line); box-shadow:none; border-radius:6px; padding:22px 18px; }
.sidebar-title { color:var(--ink); font-size:17px; font-weight:750; letter-spacing:-.3px; text-transform:none; padding-bottom:14px; border-bottom-color:var(--line); }
.filter-help, .region-help, .region-count-note { color:var(--muted); }
.filter-section h3, .district-label { color:#364357; }
.chip { background:#fff; color:#536075; border:1px solid #c7d0dd; border-radius:4px; font-weight:500; }
.chip:hover { background:#f5f8ff; border-color:#7d9fdc; color:var(--blue-dark); }
.chip.active { background:#edf3ff; border-color:var(--blue); color:#17449f; font-weight:700; }
.filter-select, .sort-select, .age-input { background:#fff; color:#34445d; border:1px solid #aab8cc; border-radius:5px; }
.filter-select:focus, .sort-select:focus, .age-input:focus { border-color:var(--blue); }
.btn-reset { background:#f6f8fa; border:1px solid #c8d1dd; color:#4f5d73; border-radius:5px; }
.btn-reset:hover { background:#edf1f7; color:var(--ink); }
.btn-filter-done, .btn-mobile-filter { background:var(--blue); border:1px solid var(--blue); border-radius:5px; }
.btn-filter-done:hover, .btn-mobile-filter:hover { background:var(--blue-dark); }
.status-tabs { gap:0 6px; border-bottom:1px solid #cfd8e6; margin-bottom:20px; }
.status-tab { background:transparent; color:#5a6679; border:0; border-bottom:3px solid transparent; border-radius:0; padding:9px 12px 11px; }
.status-tab:hover { background:#edf2fa; border-color:#b6c8e8; color:#245bcc; }
.status-tab.active { background:transparent; border-color:var(--blue); color:#17449f; }
.status-tab .tab-count, .status-tab.active .tab-count, .status-tab:not(.active) .tab-count { color:inherit; background:transparent; font-size:12px; padding:0 2px; font-weight:700; }
.content-header { padding:0 0 2px; }
.result-count { color:var(--muted); }
.result-count strong { color:var(--ink); font-size:18px; }
.region-result-note { background:#eef3fb; color:#4e607c; border:0; border-left:2px solid #7597ce; border-radius:0; }
.cards-grid { gap:18px; }
.policy-card { background:#fff; border:1px solid #d7dfe9; border-radius:7px; box-shadow:none; padding:22px; cursor:default; transition:border-color .15s; }
.policy-card::before { display:none; }
.policy-card:hover { transform:none; box-shadow:none; border-color:#92a9cd; }
.card-title { color:#1f2f47; font-size:18px; font-weight:750; letter-spacing:-.35px; }
.card-ministry, .deadline-info, .info-label, .detail-label, .amount-label, .amount-title { color:var(--muted); }
.info-value { color:#37445a; }
.category-badge { background:#eef2f8; color:#485d7d; border-radius:3px; }
.status-badge { border-radius:3px; }
.card-amount { background:#f4f7fc; border:0; border-radius:4px; padding:13px 14px; }
.amount-value { color:#264f91; font-weight:650; }
.tag { background:#f6f8fa; border-color:#d9e0ea; color:#5c687a; border-radius:3px; }
.card-footer { border-color:#e4e9f0; }
.btn-detail { background:#fff; color:var(--blue-dark); border:1px solid #9cb3d8; border-radius:5px; }
.btn-detail:hover { color:#fff; background:var(--blue); border-color:var(--blue); }
.modal-overlay { background:rgba(24,39,61,.58); backdrop-filter:none; }
.modal { border-radius:10px; }
.modal, .modal-header { background:#fff; }
.modal-header { border-color:var(--line); }
.modal-title { color:#1f2f47; }
.modal-footer { background:#f5f7fa; border-color:var(--line); }
.btn-close { color:#34445d; background:#f0f3f7; }
.description-box { background:#f5f7fa; border-color:#8ba5ce; border-radius:5px; color:#37445a; }
.amount-highlight { background:#edf3fd; border-radius:5px; }
.amount-big { color:#214f9d; }
.detail-value { color:#2c3c55; }
.modal-tag { background:#f3f6fb; border-color:#d0daea; color:#435e88; border-radius:4px; }
.btn-apply, .btn-consult-big { background:var(--blue); box-shadow:none; border-radius:5px; }
.btn-apply:hover, .btn-consult-big:hover { background:var(--blue-dark); box-shadow:none; transform:none; }
.btn-ask { background:#53657d; border-radius:5px; }
.btn-ask:hover { background:#3a4d68; box-shadow:none; transform:none; }
.btn-modal-close { background:#fff; border-color:#aab8cc; color:#34445d; border-radius:5px; }
.document-source, .guide-definitions dt, .guide-section a:not(.btn-consult-big) { color:var(--blue-dark); }
.consult-banner { background:#fff; border:1px solid var(--line); border-radius:6px; color:#263c5b; text-align:left; padding:28px; }
.consult-banner p { color:var(--muted); opacity:1; }
.site-footer { background:#edf1f6; border-top:1px solid #d4dce7; color:#5a6679; }
.site-footer strong { color:#33455f; }
.guide-section { background:#fff; border:1px solid var(--line); border-radius:6px; box-shadow:none; }
.guide-section h2 { color:#1f3d6a; }
.skip-link { background:#fff; color:var(--blue-dark); }
:is(button,a,input,select,[tabindex]):focus-visible { outline-color:#245bcc; }
@media (max-width:1100px) {
  .hero-inner { grid-template-columns:minmax(0,1.3fr) minmax(300px,1fr); gap:24px; }
  .hero-home h2 { font-size:28px; }
}
@media (max-width:900px) {
  .hero-inner { grid-template-columns:minmax(0,1fr); gap:24px; }
  .stats-row { max-width:490px; width:100%; }
  .stat-item { text-align:left; padding-left:20px; }
  .stat-item:first-child { padding-left:0; }
}
@media (max-width:600px) {
  .site-header { padding:12px 16px; }
  .header-inner { gap:12px; }
  .hero-home { padding:25px 16px 24px; }
  .hero-home h2 { font-size:25px; line-height:1.45; letter-spacing:-.8px; margin-bottom:10px; }
  .hero-home p { font-size:14px; line-height:1.8; }
  .hero-home .intake-basis { font-size:12px; }
  .stat-num { font-size:26px; }
  .stat-item { padding:0 8px 0 14px; }
  .stat-label { font-size:12px; margin-top:8px; }
  .main-layout { padding:20px 12px; gap:20px; }
  .policy-card { padding:19px; }
  .status-tabs { gap:0 3px; }
  .status-tab { padding-left:9px; padding-right:9px; }
  .consult-banner { padding:22px 18px; }
}
@media (forced-colors:active) {
  .site-header,.hero,.sidebar,.policy-card,.card-amount,.region-result-note,.consult-banner { background:Canvas; color:CanvasText; border-color:CanvasText; }
  .site-header .header-search input,.site-header .btn-consult,.btn-detail { background:Canvas; color:CanvasText; border-color:CanvasText; }
  .chip.active,.status-tab.active,.btn-filter-done,.btn-mobile-filter,.btn-apply { background:Highlight; color:HighlightText; border-color:Highlight; }
  .stat-num,.stat-label,.hero p,.hero h2 { color:CanvasText; }
}
