:root { --wf-ink: #183253; --wf-muted: #607895; --wf-line: var(--app-line); }
html:has(body.welfare-page) { overflow-x: clip; }
body.welfare-page { margin: 0; padding: 0; overflow-x: clip; overflow-y: visible; background: #f9f8fc; color: var(--wf-ink); }
.welfare-page button, .welfare-page input { font-family: inherit; }
.welfare-page button { cursor: pointer; }
.wf-shell { --wf-content-offset: 170px; display: flex; width: calc(100% - var(--app-sidebar-width)); min-width: 0; min-height: 100dvh; margin-left: var(--app-sidebar-width); flex-direction: column; background: #f9f8fc; }
.wf-shell.controls-collapsed { --wf-content-offset: 114px; }
.wf-utility { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 24px; border-bottom: 1px solid var(--wf-line); color: var(--wf-muted); font-size: var(--notice-meta-size); }
.wf-live, .wf-source, .wf-source a { display: inline-flex; align-items: center; gap: 7px; }
.wf-live .live-dot { flex: 0 0 9px; width: 9px; height: 9px; }
.wf-source a { color: var(--app-blue); font-weight: 600; text-decoration: none; }
.wf-source a:hover { text-decoration: underline; }
.wf-source svg { width: 13px; height: 13px; }
.wf-heading { display: flex; min-height: 52px; align-items: center; gap: 12px; padding: 8px 24px; }
.wf-heading h1 { margin: 0; color: var(--wf-ink); font-size: 19px; font-weight: 700; letter-spacing: -.04em; }
.wf-heading-summary { display: none; margin-left: auto; color: var(--wf-muted); font-size: var(--notice-meta-size); }
.wf-shell.controls-collapsed .wf-heading-summary { display: inline; }
.wf-controls-toggle { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; gap: 6px; margin-left: auto; padding: 0 10px; border: 1px solid var(--wf-line); border-radius: 9px; background: #fff; color: var(--app-blue); font-size: 11px; font-weight: 600; }
.wf-shell.controls-collapsed .wf-controls-toggle { margin-left: 0; }
.wf-controls-toggle:hover, .wf-region-toggle:hover { background: #edf5ff; }
.wf-controls-toggle svg { width: 15px; height: 15px; }
.wf-toolbar { display: flex; min-height: 64px; align-items: center; gap: 10px; padding: 4px 24px 12px; }
.wf-toolbar[hidden], .wf-filter-panel[hidden] { display: none; }
.wf-search { display: flex; flex: 1; width: 100%; min-width: 0; height: 44px; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid #e6eaf1; border-radius: 9px; background: #fff; color: #839ab5; }
.wf-search:focus-within { border-color: #91baf4; box-shadow: 0 0 0 3px rgba(26,115,232,.1); }
.wf-search svg { flex: 0 0 18px; width: 18px; height: 18px; }
.wf-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--wf-ink); font-size: 13px; }
.wf-search input::placeholder { color: #8297ad; }
.wf-reset { display: inline-flex; min-width: 81px; height: 40px; align-items: center; justify-content: center; gap: 5px; padding: 0 9px; border: 1px solid var(--wf-line); border-radius: 9px; background: #fff; color: #436583; font-size: 11px; font-weight: 600; }
.wf-reset:hover { background: #edf5ff; }
.wf-reset svg { width: 15px; height: 15px; }
.wf-workspace { display: grid; flex: 1; min-height: 0; grid-template-columns: 226px minmax(0, 1fr) 0; padding: 0 24px 24px; transition: grid-template-columns 240ms ease; }
.wf-workspace.detail-open { grid-template-columns: 226px minmax(0, 1fr) minmax(350px, 27vw); }
.wf-filter-panel { display: flex; align-self: start; min-width: 0; flex-direction: column; margin: 0 16px 0 0; background: transparent; }
.wf-filter-panel[hidden], .wf-filter-content[hidden], .wf-region-view[hidden], .wf-district-group[hidden], .wf-type-group[hidden] { display: none; }
.wf-filter-content { display: flex; min-height: 0; flex: 1; flex-direction: column; }
.wf-filter-heading { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 8px; padding: 0 0 8px; }
.wf-filter-heading > div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.wf-filter-heading strong { color: var(--wf-ink); font-size: 13px; font-weight: 600; }
.wf-filter-heading span { display: none; }
.wf-region-reset { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border: 1px solid #e6eaf1; border-radius: 8px; background: #fff; color: #58708d; }
.wf-region-reset:hover { background: #edf5ff; color: var(--app-blue); }
.wf-region-reset svg { width: 15px; height: 15px; }
.wf-region-toggle { display: none; }
.wf-filter-all { flex: 0 0 auto; margin: 0 0 8px; font-weight: 600 !important; }
.wf-filter-scroll { padding: 0 3px 24px 0; }
.wf-filter-label { margin: 14px 5px 6px; color: #8193a8; font-size: 10px; font-weight: 500; letter-spacing: .03em; }
.wf-filter-label[hidden] { display: none; }
.wf-region-view > .wf-filter-label { display: none; }
.wf-region-view { display: flex; flex-direction: column; gap: 8px; }
.wf-region-list { display: flex; flex-direction: column; gap: 8px; }
.wf-district-list, .wf-type-list { display: flex; flex-direction: column; gap: 5px; }
.wf-filter-button { display: flex; width: 100%; min-height: 32px; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid #e8edf4; border-radius: 8px; background: #fff; color: #3f5875; text-align: left; font-size: 14px; font-weight: 600; line-height: 1.45; }
.wf-filter-button span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-filter-button small { margin-left: auto; color: #7890a9; font-size: 11px; font-weight: 500; }
.wf-filter-button svg { flex: 0 0 14px; width: 14px; height: 14px; color: var(--app-blue); }
.wf-filter-button:hover { border-color: #c8dcf7; background: #f4f8ff; }
.wf-filter-button.active { border-color: #aacbf5; background: #eaf3ff; color: #1859ad; }
.wf-filter-button.active small { color: #1859ad; }
.wf-filter-all, .wf-region-list .wf-filter-button { justify-content: center; }
.wf-filter-all span, .wf-region-list .wf-filter-button span { flex: 0 1 auto; }
.wf-filter-all small, .wf-region-list .wf-filter-button small { margin-left: 0; }
.wf-filter-all svg, .wf-region-list .wf-filter-button svg { position: absolute; right: 7px; }
.wf-filter-all, .wf-region-list .wf-filter-button { position: relative; }
.wf-region-breadcrumb { display: flex; align-items: center; gap: 5px; margin: 10px 2px; color: var(--wf-muted); font-size: 11px; }
.wf-region-breadcrumb button { min-height: 44px; padding: 3px 8px; border: 0; background: transparent; color: var(--app-blue); font-size: 11px; font-weight: 500; }
.wf-region-breadcrumb button:hover { text-decoration: underline; }
.wf-region-breadcrumb svg { width: 12px; height: 12px; }
.wf-region-breadcrumb span { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.wf-region-back { display: flex; width: 100%; min-height: 44px; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid var(--wf-line); border-radius: 9px; background: #fff; color: #335b87; font-size: 11px; font-weight: 600; }
.wf-region-back:hover { background: #edf5ff; }
.wf-region-back svg { width: 14px; height: 14px; }
.wf-district-list { margin-top: 9px; }
.wf-type-group { margin-top: 16px; padding-top: 7px; border-top: 1px solid var(--wf-line); }
.wf-results { display: flex; min-width: 0; flex-direction: column; background: transparent; }
.wf-results-heading { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 9px; padding: 0 0 8px; }
.wf-results-heading strong { color: var(--wf-ink); font-size: 13px; font-weight: 700; }
.wf-results-heading span { display: none; }
.wf-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; gap: 12px; }
.wf-card { display: flex; min-width: 0; min-height: 190px; flex-direction: column; gap: 7px; padding: 18px; border: 1px solid #e1e7ef; border-radius: 12px; background: #fff; box-shadow: 0 1px 4px rgba(20,50,90,.035); color: inherit; text-align: left; }
.wf-card:hover, .wf-card.active { border-color: #9fc5fa; box-shadow: 0 7px 18px rgba(20,70,130,.11); }
.wf-card:focus-visible { outline: 3px solid #2f7de1; outline-offset: 2px; }
.wf-card-top { display: flex; min-width: 0; align-items: center; flex-wrap: wrap; gap: 6px; }
.wf-badge { display: inline-flex; max-width: 155px; min-height: var(--notice-badge-height); align-items: center; overflow: hidden; padding: 2px 7px; border-radius: 5px; background: #eef2f7; color: #3f5b79; font-size: var(--notice-badge-size); font-weight: 600; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.wf-badge.agency { background: #eaf3ff; color: #1453a1; }
.wf-badge.region { background: #ddf7ed; color: #067451; }
.wf-card-title { display: -webkit-box; overflow: hidden; color: var(--wf-ink); font-size: 18px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.wf-card-summary { display: -webkit-box; overflow: hidden; color: #4b5565; font-size: 14px; line-height: 1.5; overflow-wrap: break-word; word-break: keep-all; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.wf-card-meta { display: flex; margin-top: auto; flex-direction: column; align-items: stretch; gap: 4px; padding-top: 8px; border-top: 1px solid #edf2f7; color: var(--wf-muted); font-size: 12px; }
.wf-card-facts { display: grid; gap: 2px; min-width: 0; }
.wf-card-fact { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 8px; min-width: 0; line-height: 1.4; }
.wf-card-fact b { color: #4b6785; font-weight: 500; }
.wf-card-fact span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-card-action { align-self: flex-end; color: var(--app-blue); font-weight: 500; }
.wf-more { display: inline-flex; align-self: center; min-height: 38px; align-items: center; gap: 5px; margin: 0 16px 24px; padding: 0 17px; border: 1px solid #b8d5ff; border-radius: 9px; background: #fff; color: var(--app-blue); font-size: 12px; font-weight: 500; }
.wf-more:hover { background: #edf5ff; }
.wf-more[hidden] { display: none; }
.wf-more svg { width: 15px; height: 15px; }
.wf-empty { grid-column: 1 / -1; margin: 0; padding: 35px 12px; border: 1px dashed #cbd9e9; border-radius: var(--notice-radius); background: #fff; color: var(--wf-muted); font-size: 13px; text-align: center; }
.wf-detail { position: sticky; top: 0; display: flex; height: calc(100dvh - var(--wf-content-offset)); min-width: 0; overflow: hidden; align-self: start; flex-direction: column; border-left: 1px solid var(--wf-line); background: #fff; opacity: 0; visibility: hidden; transform: translateX(-12px); transition: opacity 180ms ease, transform 220ms ease; }
.wf-detail.open { opacity: 1; visibility: visible; transform: translateX(0); }
.wf-detail-head { display: flex; min-height: 65px; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 15px; border-bottom: 1px solid var(--wf-line); }
.wf-detail-head span { color: #6c86a5; font-size: 10px; font-weight: 600; }
.wf-detail-head h2 { margin: 3px 0 0; color: var(--wf-ink); font-size: 17px; font-weight: 700; }
.wf-detail-close { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; padding: 0; border: 1px solid var(--wf-line); border-radius: 9px; background: #fff; color: var(--app-blue); }
.wf-detail-close:hover { background: #edf5ff; }
.wf-detail-close svg { width: 18px; height: 18px; }
.wf-detail-content { min-height: 0; overflow-y: auto; padding: 16px; }
.wf-detail-title { margin: 12px 0 14px; color: var(--wf-ink); font-size: 18px; font-weight: var(--notice-title-weight); line-height: var(--notice-title-leading); overflow-wrap: anywhere; }
.wf-detail-summary { margin: 0 0 12px; color: #425d7c; font-size: 13px; line-height: 1.6; white-space: pre-line; overflow-wrap: break-word; word-break: keep-all; }
.wf-detail-section { margin: 10px 0; padding: 12px; border: 1px solid var(--wf-line); border-radius: var(--notice-radius); background: #fff; }
.wf-detail-section h3 { margin: 0 0 6px; color: var(--wf-muted); font-size: var(--notice-meta-size); font-weight: 700; }
.wf-detail-section p { margin: 0; color: var(--wf-ink); font-size: 13px; line-height: 1.6; white-space: pre-line; overflow-wrap: break-word; word-break: keep-all; }
.wf-official-link { display: flex; min-height: 42px; align-items: center; justify-content: center; gap: 7px; margin-top: 17px; padding: 8px 12px; border-radius: 9px; background: var(--app-blue); color: #fff; font-size: 12px; font-weight: 600; text-align: center; text-decoration: none; }
.wf-official-link:hover { background: #093e91; }
.wf-official-link svg { width: 15px; height: 15px; }
.wf-official-source { margin: 8px 0 0; color: var(--wf-muted); font-size: var(--notice-meta-size); line-height: 1.5; overflow-wrap: anywhere; }
.wf-footer { display: flex; justify-content: space-between; gap: 12px; padding: 13px 24px; border-top: 1px solid var(--wf-line); color: var(--wf-muted); font-size: 11px; }
.wf-footer a { color: var(--app-blue); }

@media (max-width: 1180px) {
  .wf-workspace { grid-template-columns: 226px minmax(0,1fr) 0; }
  .wf-workspace.detail-open { grid-template-columns: 226px minmax(0,1fr) minmax(330px,34vw); }
  .wf-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wf-workspace.detail-open .wf-list { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 980px) {
  .wf-shell { width: 100%; margin: 0; }
  .wf-detail { position: fixed; top: 64px; right: 0; bottom: 0; z-index: 102; display: none; width: min(100%,480px); height: calc(100dvh - 64px); border-left: 1px solid var(--wf-line); box-shadow: -8px 0 30px rgba(20,50,90,.14); }
  .wf-detail.open { display: flex; }
  .wf-list, .wf-workspace.detail-open .wf-list { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 820px) {
  .wf-workspace, .wf-workspace.detail-open, .wf-shell.controls-collapsed .wf-workspace, .wf-shell.controls-collapsed .wf-workspace.detail-open { display: flex; flex-direction: column; padding: 0; }
  .wf-filter-panel { align-self: stretch; width: auto; margin: 8px 12px; border: 1px solid #e1e7ef; border-radius: 12px; background: #fff; }
  .wf-results { padding: 0 12px; }
  .wf-region-toggle { display: flex; width: 100%; min-height: 52px; align-items: center; gap: 8px; padding: 8px 13px; border: 0; background: #fff; color: var(--wf-ink); text-align: left; font-size: 12px; font-weight: 600; }
  .wf-region-toggle small { min-width: 0; flex: 1; overflow: hidden; color: var(--wf-muted); font-size: 11px; font-weight: 600; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
  .wf-region-toggle svg { width: 16px; height: 16px; color: var(--app-blue); transition: transform 180ms ease; }
  .wf-filter-content { padding: 10px; border-top: 1px solid var(--wf-line); }
  .wf-filter-button { min-height: 44px; }
  .wf-region-reset { flex-basis: 44px; width: 44px; height: 44px; }
  .wf-filter-heading { min-height: 52px; }
}
@media (max-width: 620px) {
  .wf-utility { min-height: 42px; padding: 0 12px; font-size: 10px; }
  .wf-source { font-size: 0; }
  .wf-source a { font-size: 10px; }
  .wf-heading { min-height: 54px; padding: 8px 10px; }
  .wf-heading h1 { font-size: 16px; }
  .wf-controls-toggle { min-height: 44px; }
  .wf-shell.controls-collapsed .wf-heading-summary { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .wf-toolbar { min-height: 62px; padding: 8px 10px; }
  .wf-search { height: 44px; }
  .wf-search input { font-size: 11px; }
  .wf-reset { min-width: 44px; width: 44px; height: 44px; overflow: hidden; white-space: nowrap; font-size: 0; }
  .wf-filter-panel { margin: 8px; }
  .wf-results { padding: 0 8px; }
  .wf-region-toggle { min-height: 48px; padding: 8px 11px; }
  .wf-results-heading { padding: 9px 0; }
  .wf-results-heading span { display: none; }
  .wf-list, .wf-workspace.detail-open .wf-list { grid-template-columns: minmax(0,1fr); padding: 0 0 12px; gap: 12px; }
  .wf-card { min-height: 210px; padding: 20px; }
  .wf-more { min-height: 44px; }
  .wf-detail-close { flex-basis: 44px; width: 44px; height: 44px; }
  .wf-detail { top: 58px; width: 100%; height: calc(100dvh - 58px); border-left: 0; }
  .wf-footer { padding: 12px; font-size: 10px; }
}
.wf-shell.controls-collapsed .wf-workspace { grid-template-columns: minmax(0,1fr) 0; }
.wf-shell.controls-collapsed .wf-workspace.detail-open { grid-template-columns: minmax(0,1fr) minmax(350px,27vw); }
@media (max-width: 820px) { .wf-shell.controls-collapsed .wf-workspace, .wf-shell.controls-collapsed .wf-workspace.detail-open { display: flex; } }
@media (max-width: 390px) {
  .wf-card-meta { font-size: 13px; line-height: 1.45; }
  .wf-card-fact { line-height: 1.45; }
  .wf-card-action { font-size: 12px; }
  .wf-official-source { font-size: 13px; line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) { .wf-workspace, .wf-detail { transition-duration: .01ms; } }
