:root {
  font-family: "Noto Sans KR", "Pretendard", system-ui, -apple-system, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 100%;
  line-height: 1.6;
  color: #111f33;
  background: #f5f7fb;
  --paper: #f5f7fb;
  --white: #ffffff;
  --ink: #111f33;
  --muted: #52627a;
  --line: #dce4ef;
  --line-strong: #aab9cc;
  --accent: #194979;
  --dark: #142c48;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 70px; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: .22em; }
button, select, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 3rem)); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus { position: fixed; z-index: 20; top: .5rem; left: .5rem; background: var(--white); padding: .5rem .75rem; }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.045em; }

.top { position: sticky; top: 0; z-index: 10; background: #fffffff5; backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-inner, .foot-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.top-inner { min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: .58rem; font-size: 1.16rem; font-weight: 830; letter-spacing: -.045em; text-decoration: none; }
.brand-mark { width: 22px; height: 22px; border-radius: 7px; background: var(--dark); flex: none; position: relative; }
.brand-mark::before { content: ""; position: absolute; inset: 5px; border: 1.5px solid #c8d9f2; border-radius: 50%; }
.brand-mark::after { content: ""; position: absolute; top: 5px; right: 5px; width: 5px; height: 5px; border-radius: 50%; background: #f5ce87; }
.brand:hover { color: var(--accent); }
.site-nav { display: flex; gap: 1.45rem; }
.site-nav a { font-size: .91rem; font-weight: 650; text-decoration: none; color: var(--muted); }
.site-nav a:hover, .back:hover { color: var(--accent); text-decoration: underline; }
.case-link:hover { text-decoration: underline; }

.dashboard { padding-block: 1.45rem 3rem; }
.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: .6rem 1.5rem; margin-bottom: 1.15rem; }
.section-label { margin-bottom: .32rem; color: var(--accent); font-size: .88rem; font-weight: 740; }
.dashboard-heading h1 { font-size: clamp(1.55rem, 3.45vw, 2.25rem); font-weight: 810; line-height: 1.15; }
.review-date { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.dashboard-heading .review-date { flex: none; padding-bottom: .1rem; }
.review-date time { color: var(--ink); font-weight: 690; }
.card { border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.latest { padding: 1rem 1.18rem; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: .65rem; }
.panel-title h2, .detail-panel h2 { font-size: 1.06rem; font-weight: 770; }
.bar-chart { display: grid; gap: .17rem; margin-top: .52rem; }
.bar-button { display: grid; grid-template-columns: 3.15rem minmax(0, 1fr) 1.7rem; align-items: center; gap: .5rem; width: 100%; min-height: 24px; border: 0; border-radius: 4px; padding: .08rem .18rem; background: transparent; color: var(--muted); text-align: left; font-size: .86rem; font-variant-numeric: tabular-nums; }
.bar-button strong { color: var(--ink); text-align: right; font-weight: 720; }
.bar-track { display: block; height: 7px; border-radius: 5px; background: #e5edf6; overflow: hidden; }
.bar { display: block; width: var(--share); height: 100%; border-radius: inherit; background: #8ca9ce; }
.bar-button:last-child .bar, .bar-button[aria-pressed=true] .bar { background: var(--accent); }
.bar-button:hover, .bar-button[aria-pressed=true] { background: #e8f1fa; color: var(--accent); }

.incident-analytics { margin-block: 1.35rem 1.25rem; }
.analytics-title h2 { font-size: 1.45rem; }
.analytics-title > span, .analytics-card .panel-title > :is(span, a), .analytics-note {
  font-size: .875rem;
  color: var(--muted);
}
.analytics-title > span, .analytics-card .panel-title > :is(span, a) { flex: none; }
.analytics-note { margin: .35rem 0 .7rem; }
.analytics-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: .75rem; }
.analytics-card { min-width: 0; padding: .85rem 1rem; }
.analytics-card h3 { font-size: 1rem; }
.analytics-card .bar-button { min-height: 27px; }
.month-chart {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: .25rem;
  margin: .45rem 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.month-chart li > span { white-space: nowrap; }
.month-column { height: 90px; display: flex; flex-direction: column; align-items: center; justify-content: end; border-bottom: 1px solid var(--line-strong); }
.month-column strong { color: var(--ink); }
.month-bar { width: 64%; max-width: 1.55rem; height: calc(62px * var(--month-share)); margin-inline: auto; border-radius: 3px 3px 0 0; background: var(--accent); }
.stat-breakdown { margin: .45rem 0 0; font-size: .875rem; }
.stat-breakdown > div, .stat-breakdown dd { display: flex; justify-content: space-between; gap: .65rem; }
.stat-breakdown > div { padding: .18rem 0; border-bottom: 1px solid var(--line); }
.stat-breakdown > div:last-child { border-bottom: 0; }
.stat-breakdown dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.stat-breakdown dd span { min-width: 3rem; color: var(--muted); }

@media (max-width: 740px) {
  .analytics-grid { grid-template-columns: minmax(0, 1fr); }
  .analytics-card { padding-inline: .7rem; }
}
@media (max-width: 420px) {
  .month-chart { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: .5rem; }
}

.latest { align-self: stretch; display: flex; flex-direction: column; min-width: 0; border-radius: 14px; background: #142c48; color: #fff; }
.latest .panel-title h2 { color: #dfeaf7; font-size: .9rem; letter-spacing: -.01em; }
.latest-date { margin-top: .68rem; color: #c7d8ee; font-size: .86rem; font-variant-numeric: tabular-nums; }
.latest h3 { margin: .24rem 0 .85rem; font-size: clamp(1.24rem, 2.45vw, 1.78rem); font-weight: 740; }
.latest h3 a { text-decoration: none; }
.latest h3 a:hover { text-decoration: underline; }
.latest-bottom { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4rem .8rem; padding-top: .65rem; border-top: 1px solid #4a6586; }
.latest-bottom strong { color: #c0d7f4; font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.detail-action { color: #fff; font-size: .86rem; font-weight: 650; }
.detail-action:hover { color: #c0d7f4; }
.latest a:focus-visible { outline-color: #c0d7f4; }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .58rem; list-style: none; margin: 1.2rem 0 0; padding: 0; }
.metric { position: relative; width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: .45rem; border: 1px solid var(--line); border-radius: 9px; padding: .67rem .8rem; background: var(--white); color: var(--muted); text-align: left; font-size: .88rem; font-weight: 660; }
.metric strong { color: var(--accent); font-size: 1.36rem; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.metric small { margin-left: .14rem; color: var(--muted); font-size: .79rem; font-weight: 550; }
.metric:hover, .metric[aria-pressed=true] { border-color: #a5bed9; background: #e8f1fa; color: #163e66; }
.metric[aria-pressed=true] strong { color: var(--accent); }

.incident-section { min-width: 0; scroll-margin-top: .65rem; }
.incident-title { padding: 0 0 .8rem; }
.incident-title > div { display: flex; align-items: baseline; gap: .55rem; }
.incident-title h2 { font-size: 1.45rem; }
#result-count { padding: .08rem .43rem; border-radius: 5px; color: #1b4b79; background: #e8f1fa; font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.list-order { color: var(--muted); font-size: .82rem; }
.filters { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; padding-bottom: .65rem; }
.search { position: relative; flex: 1 0 100%; min-width: 0; margin-right: auto; }
.search > span:not(.visually-hidden) { position: absolute; left: .82rem; top: .79rem; width: .76rem; height: .76rem; border: 1.5px solid var(--muted); border-radius: 50%; pointer-events: none; }
.search > span:not(.visually-hidden)::after { content: ""; position: absolute; width: 5px; height: 1.5px; background: var(--muted); rotate: 45deg; bottom: -2px; right: -4px; }
.search input, .select select, .reset { min-height: 42px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--white); color: var(--ink); font-size: .9rem; }
.search input { width: 100%; padding: .4rem .6rem .4rem 2.15rem; }
.search input::placeholder { color: var(--muted); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: .74rem; top: 42%; width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); rotate: 45deg; pointer-events: none; }
.select select { appearance: none; width: 100%; padding: .4rem 1.75rem .4rem .65rem; }
.reset { padding: .4rem .65rem; color: var(--accent); font-weight: 650; }

.incident-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .56fr); gap: 1rem; align-items: start; margin: 1.35rem 0 1.25rem; }
.incident-results { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.incident-row { box-shadow: 0 2px 3px #20385306; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .55rem; min-height: 54px; padding: .7rem .86rem; border: 1px solid var(--line); border-radius: 11px; background: var(--white); }
.incident-row:hover, .incident-row:focus-within { border-color: var(--line-strong); }
.incident-row.incident-selected { background: #e8f1fa; border-color: #a5bed9; }
.case-link { color: var(--risk-ink, var(--ink)); font-size: 1rem; font-weight: 735; line-height: 1.34; text-decoration: none; overflow-wrap: anywhere; }
.row-meta { margin-top: .1rem; color: var(--muted); font-size: .82rem; line-height: 1.4; overflow-wrap: anywhere; }
.row-meta time { font-variant-numeric: tabular-nums; }
.incident-actions { display: grid; justify-items: end; justify-self: end; gap: .25rem; }
.case-preview { color: var(--accent); font-size: .83rem; font-weight: 700; background: #edf3fa; border: 1px solid #e5edf6; border-radius: 7px; padding: .2rem .48rem; text-decoration: none; }
.case-preview:hover { border-color: #9eb6cd; text-decoration: underline; }
.case-preview-notice { color: #592a80; background: #f5eafa; border-color: #ddc4ea; }
.case-preview-notice:hover { border-color: #8c60a9; }
.participation-panel { min-width: 0; padding: 1rem; scroll-margin-top: .5rem; }
.participation-panel > h2 { font-size: 1.17rem; margin-bottom: .55rem; }
.participation-back { min-height: 44px; margin: 0 0 .65rem; padding: .35rem .65rem; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--white); color: var(--accent); font-size: .89rem; font-weight: 700; }
.participation-back:hover { background: #e8f1fa; }
.detail-page .participation-panel { margin-bottom: .9rem; }
.participation-case, .participation-empty, .notice-source, .notice-eligibility { font-size: .86rem; color: var(--muted); }
.participation-case { margin-bottom: .55rem; font-weight: 650; }
.participation-index { margin: .65rem 0 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.notice-index-link { color: var(--accent); font-size: .89rem; font-weight: 700; }
.participation-notice + .participation-notice { margin-top: .85rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.notice-state { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .8rem; color: var(--muted); }
.notice-state strong { color: var(--accent); background: #e8f1fa; padding: .15rem .45rem; border-radius: 5px; }
.participation-notice h3 { margin: .45rem 0; font-size: 1rem; }
.participation-notice dl { margin: 0 0 .4rem; font-size: .86rem; color: var(--muted); }
.participation-notice dl > div { display: flex; flex-wrap: wrap; column-gap: .55rem; }
.participation-notice dt { font-weight: 650; }
.participation-notice dd { margin: 0; }
.compensation-estimate { margin: .6rem 0 .2rem; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 7px; background: #f4f8fc; }
.compensation-estimate summary, .compensation-method summary { cursor: pointer; color: var(--accent); font-weight: 700; }
.compensation-estimate summary { font-size: .9rem; }
.compensation-estimate summary strong { display: inline-block; margin-inline: .25rem; color: var(--dark); font-size: 1.06rem; white-space: nowrap; }
.compensation-estimate summary span { display: inline-block; font-size: .84rem; font-weight: 500; }
.compensation-context p { margin: .45rem 0 0; color: var(--muted); font-size: .875rem; }
.compensation-context a, .compensation-method a { color: var(--accent); }
.notice-link { display: inline-block; margin-top: .5rem; padding: .37rem .62rem; border-radius: 6px; background: #e8f1fa; color: var(--accent); font-size: .88rem; font-weight: 700; text-decoration: none; }
.notice-link:hover { text-decoration: underline; }
.notice-source { margin-top: .39rem; overflow-wrap: anywhere; }
@media (max-width: 820px) { .incident-layout { grid-template-columns: minmax(0, 1fr); } }
.badge { display: inline-block; border-radius: 3px; padding: .12rem .4rem; font-size: .82rem; font-weight: 730; line-height: 1.55; text-wrap: balance; }
.pending { background: #f4e7cd; color: #6c4b1a; }
.decided { background: #e9e3ef; color: #533961; }
.confirmed { background: #e2ede1; color: #35543c; }
.unconfirmed { background: #efe8df; color: #614933; }
.empty { padding: 2rem .75rem; border-bottom: 1px solid var(--line); text-align: center; color: var(--muted); }
.pagination { display: flex; flex-wrap: wrap; gap: .55rem 1rem; justify-content: space-between; align-items: center; padding: .65rem 0; }
#page-range { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.page-controls, #page-numbers { display: flex; align-items: center; gap: .3rem; }
.page-controls { flex-wrap: wrap; }
.page-controls button { min-width: 38px; min-height: 40px; border: 1px solid var(--line-strong); border-radius: 6px; padding: .3rem .58rem; background: var(--white); color: var(--ink); font-size: .88rem; font-weight: 680; }
.page-controls button:hover:not(:disabled):not([aria-current]) { border-color: var(--accent); color: var(--accent); }
.page-controls button[aria-current=page] { border-color: var(--dark); background: var(--dark); color: var(--white); }
.page-controls button:disabled { border-color: var(--line); background: transparent; color: var(--muted); }
#page-numbers > span { align-self: center; color: var(--muted); }

.site-footer { margin-top: auto; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.foot-inner { min-height: 62px; padding-block: .6rem; }
.visitor-count { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; padding-bottom: .85rem; }
.visitor-count strong { color: var(--ink); margin-inline-start: .25rem; font-variant-numeric: tabular-nums; }
.detail-page { max-width: 920px; padding-block: 1.55rem 3rem; }
.back { display: inline-block; margin-bottom: 1rem; font-size: .9rem; font-weight: 680; }
.case-hero, .detail-panel { padding: 1.35rem 1.55rem; }
.case-hero { margin-bottom: .9rem; border-top: 2px solid var(--dark); }
.case-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; margin-bottom: .55rem; color: var(--muted); font-size: .9rem; font-weight: 650; }
.case-hero h1, .method h1 { margin-bottom: .6rem; font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.case-hero p, .detail-panel p { color: var(--muted); }
.case-hero .review-date { margin-top: .75rem; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.detail-panel h2 { margin-bottom: .75rem; }
.detail-panel h3 { margin: .9rem 0 .45rem; font-size: 1rem; }
.scale { display: block; margin-bottom: .25rem; color: var(--accent); font-size: 1.4rem; overflow-wrap: anywhere; }
.tags, .timeline, .references ul { list-style: none; margin: 0; padding: 0; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tags li { background: #e4effb; padding: .1rem .42rem; font-size: .88rem; }
.timeline li { position: relative; padding: 0 0 .85rem .9rem; margin-left: .24rem; border-left: 1px solid var(--line-strong); }
.timeline li:last-child { padding-bottom: 0; border-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -3px; top: .42rem; width: 5px; height: 5px; background: var(--accent); }
.timeline time { display: block; color: var(--accent); font-size: .88rem; font-weight: 690; }
.references { margin-top: .9rem; }
.references a { color: var(--accent); }
.references li + li { margin-top: .3rem; }
.method h2 { margin-top: 1.2rem; }
.method p + p { margin-top: .65rem; }

@media (max-width: 740px) {
  html { scroll-padding-top: 64px; }
  .wrap { width: calc(100% - 2rem); }
  .top-inner { min-height: 54px; }
  .site-nav { gap: .85rem; }
  .dashboard { padding-top: 1.3rem; }
  .dashboard-heading { flex-direction: column; align-items: start; }
  .dashboard-heading h1 { text-wrap: initial; }
  .dashboard-heading .review-date { padding: 0; }
  .metric { padding: .55rem .62rem; }
  .metric strong { font-size: 1.16rem; }
  .latest { padding: .72rem .75rem; }
  .filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }

  .search { grid-column: 1 / -1; min-width: 0; margin: 0; }
  .select select { padding-left: .4rem; padding-right: 1.13rem; font-size: .86rem; text-overflow: ellipsis; }
  .select::after { right: .43rem; }
  .reset { justify-self: start; }
  .detail-grid { grid-template-columns: 1fr; }
  .case-hero, .detail-panel { padding: 1rem; }
}
@media (max-width: 600px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin-top: .6rem; }
  .latest-date { margin-top: .4rem; }
  .latest h3 { margin-bottom: .55rem; }
  .latest-bottom { padding-top: .4rem; }
  .dashboard .metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .incident-layout { margin-top: .9rem; }
  .pagination { flex-direction: column; align-items: center; }
  .page-controls { justify-content: center; }
  .page-controls, #page-numbers { gap: .2rem; }
  .page-controls button { min-width: 32px; padding-inline: .35rem; }
}

.heading-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; }
.site-nav .nav-help { color: var(--accent); font-weight: 760; }
.foot-inner nav { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.support-action { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: .38rem .72rem; border: 1px solid var(--accent); border-radius: 7px; background: var(--accent); color: #fff; text-decoration: none; font-size: .88rem; font-weight: 700; line-height: 1.4; }
.support-action:hover { background: #103b65; color: #fff; }
.support-action.secondary { border-color: var(--line-strong); background: var(--white); color: var(--accent); }
.support-action.secondary:hover { background: #e8f1fa; }
.support-action:disabled { background: #e9edf5; color: var(--muted); border-color: var(--line); }
.support-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .72rem; }
.case-check { margin-bottom: .9rem; }
.case-check:target, .support-section:target { scroll-margin-top: 1rem; }
.source-hint { margin-bottom: .65rem; font-size: .92rem; }
.source-row { padding: .68rem 0; border-top: 1px solid var(--line); }
.source-row:last-child { padding-bottom: 0; }
.source-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .1rem .75rem; }
.source-title a { font-weight: 690; overflow-wrap: anywhere; }
.source-title span, .source-address summary { color: var(--muted); font-size: .86rem; }
.source-address { margin-top: .31rem; }
.source-address summary, .template-panel summary { width: fit-content; cursor: pointer; }
.copy-box { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .5rem; }
.copy-box input, .copy-box textarea { flex: 1; min-width: 0; padding: .45rem .55rem; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--paper); color: var(--ink); font: inherit; font-size: .86rem; }
.copy-box textarea { flex: 0 0 100%; resize: vertical; }
.copy-box button { min-height: 35px; padding: .2rem .62rem; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--accent); background: var(--white); font-size: .87rem; font-weight: 700; }
.copy-box [role=status] { flex-basis: 100%; color: var(--muted); font-size: .86rem; }
.copy-box [role=status]:empty { display: none; }
.support-page { max-width: 1050px; padding-block: 1.45rem 3rem; }
.support-hero { padding: 1.25rem 1.35rem; border-radius: 13px; background: var(--dark); color: #fff; }
.support-hero h1 { font-size: clamp(1.65rem, 3.8vw, 2.65rem); }
.support-hero p { margin-top: .45rem; color: #dfeaf7; }
.support-nav { display: flex; flex-wrap: wrap; gap: .45rem .85rem; margin-top: .85rem; font-size: .9rem; }
.support-nav a:focus-visible { outline-color: #c0d7f4; }
.support-section { margin-top: 1.65rem; }
.support-section h2 { margin-bottom: .65rem; font-size: 1.33rem; }
.support-grid, .relief-grid { display: grid; gap: .65rem; align-items: start; }
.support-grid { grid-template-columns: 1.22fr 1fr; }
.relief-grid { grid-template-columns: 1fr 1fr 1.3fr; }
.support-panel { padding: 1rem; }
.support-panel h3, .urgent-card h3 { margin-bottom: .36rem; font-size: 1.02rem; }
.support-panel p, .urgent-card p { color: var(--muted); font-size: .94rem; }
.support-panel p + p { margin-top: .48rem; }
.support-panel p a { color: var(--accent); }
.incident-picker { margin: .75rem 0; }
.incident-picker label { display: block; margin-bottom: .28rem; font-size: .88rem; font-weight: 660; }
.incident-picker > div { display: flex; flex-wrap: wrap; gap: .4rem; }
.incident-picker select { min-width: 0; flex: 1 1 11rem; min-height: 40px; padding: .3rem .45rem; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--white); color: var(--ink); font-size: .9rem; }
.lookup-cards, .response-checklist { list-style: none; margin: .55rem 0; padding: 0; }
.lookup-cards li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem; padding: .4rem 0; border-top: 1px solid var(--line); font-size: .89rem; }
.lookup-cards a { color: var(--accent); }
.urgent-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-bottom: .65rem; padding: .75rem 1rem; border: 1px solid #f0d7ba; border-radius: 11px; background: #fff5e9; }
.response-checklist { margin: 0; }
.response-checklist label { display: flex; align-items: start; gap: .55rem; padding: .5rem 0; cursor: pointer; color: var(--muted); font-size: .94rem; }
.response-checklist input { margin-top: .3rem; width: 1rem; height: 1rem; flex: none; accent-color: var(--accent); }
.response-checklist strong { display: block; color: var(--ink); }
.support-panel .support-meta { margin-top: .55rem; font-size: .86rem; }
.template-panel { margin-top: .65rem; }
.template-panel summary { font-weight: 720; }
.template-panel p { margin-top: .45rem; }

@media (max-width: 740px) {
  .heading-actions { align-items: flex-start; }
  .site-nav { gap: .55rem; }
  .site-nav a { font-size: .82rem; }
  .support-grid, .relief-grid { grid-template-columns: 1fr; }
}
@media (max-width: 355px) {
  .site-nav { gap: .4rem; }
  .site-nav a { font-size: .78rem; }

  .brand { gap: .35rem; font-size: 1rem; }
}

.dashboard-heading .support-action { background: #e8f1fa; color: var(--accent); border-color: transparent; }
.dashboard-heading .support-action:hover { background: #dceafa; }

.dashboard-heading { position: relative; isolation: isolate; display: block; overflow: hidden; border-radius: 20px; margin-bottom: 0; background: #112541; color: #fff; }
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 51%; }
.dashboard-heading::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#0c1d37 0%,#0d2039f5 25%,#102442a8 57%,#1024420a 100%),linear-gradient(0deg,#0b182985 0%,transparent 55%); }
.hero-content { padding: clamp(1.55rem, 4vw, 3.3rem); }
.dashboard-heading .section-label { display: flex; align-items: center; gap: .45rem; margin-bottom: .7rem; color: #dce9fb; font-weight: 670; }
.dashboard-heading .section-label::before { content: ""; display: inline-block; background: #f2c573; width: 7px; height: 7px; border-radius: 50%; }
.dashboard-heading h1 { font-size: clamp(2.45rem, 5.6vw, 4.25rem); line-height: 1.03; letter-spacing: -.062em; white-space: nowrap; }
.hero-description { margin: .8rem 0 0; color: #dce7fa; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.15rem; }
.hero-related-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.hero-actions a { display: inline-flex; align-items: center; min-height: 42px; border-radius: 8px; padding: .42rem .8rem; text-decoration: none; font-size: .88rem; font-weight: 720; }
.hero-primary { background: #f0cf96; border: 1px solid #f0cf96; color: #1c293a; }
.hero-primary:hover { background: #ffe0a7; }
.hero-secondary { background: #0e2138c9; border: 1px solid #8297b2; color: #fff; }
.hero-secondary:hover { background: #264464; }
.hero-actions a:focus-visible { outline-color: #f0cf96; }
.dashboard-heading .hero-date { position: absolute; bottom: 1.25rem; right: 1.4rem; padding: .23rem .5rem; border-radius: 6px; background: #102239e5; color: #e1ecff; font-size: .78rem; }
.hero-date time { color: #fff; }
.incident-side { display: grid; min-width: 0; gap: .85rem; }
.incident-layout { margin-top: 1.5rem; }
@media (max-width: 600px) {
  .dashboard { padding-top: .85rem; }
  .dashboard-heading { border-radius: 15px; }
  .dashboard-heading::before { background: linear-gradient(90deg,#0b1d37f5,#122643a0),linear-gradient(0deg,#0b18299a,transparent 65%); }
  .hero-image { object-position: 64% center; }
  .dashboard-heading h1 { font-size: clamp(1.35rem, 7.2vw, 3.25rem); }
  .hero-content { padding-bottom: 2.6rem; }
  .dashboard-heading .hero-date { bottom: .55rem; right: .6rem; }
  .hero-description { font-size: .86rem; }
  .hero-actions { margin-top: .78rem; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .incident-row { padding: .54rem .62rem; }
  .case-link { font-size: .92rem; }
  .case-preview { font-size: .79rem; }
}
@media (max-width: 430px) {
  .site-nav a:last-child { display: none; }
}

.site-nav { flex-wrap: wrap; justify-content: flex-end; gap: .48rem 1.05rem; }
.site-nav a[aria-current=page] { color: var(--accent); font-weight: 780; text-decoration: underline; }
.case-market-shortcut { margin: 0 0 .8rem; color: var(--accent); font-size: .91rem; font-weight: 720; }
.section-page { max-width: 1060px; padding-block: 1.4rem 3rem; }
.section-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .8rem; padding: clamp(1.1rem, 4vw, 2rem); margin-bottom: 1rem; border-radius: 16px; background: #142c48; color: #fff; }
.section-hero .section-label { color: #f3cf91; }
.section-hero h1 { font-size: clamp(1.8rem, 5vw, 2.65rem); }
.section-hero h1 + p { margin-top: .4rem; color: #dce9fb; font-size: .92rem; }
.section-hero-link { padding: .3rem .65rem; border: 1px solid #7794b8; border-radius: 7px; color: #f5f9ff; font-size: .85rem; text-decoration: none; }
.section-hero-link:hover { background: #274867; }
.market-panel { padding: clamp(.75rem, 2.2vw, 1.25rem); margin-bottom: .85rem; }
.market-controls { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: .65rem; }
.market-controls label, .market-table-controls label { display: grid; gap: .2rem; min-width: 0; color: var(--muted); font-size: .86rem; font-weight: 670; }
.market-controls select, .market-table-controls select { width: 100%; min-height: 40px; padding: .3rem .45rem; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--ink); background: #fff; font: inherit; }
.market-status { margin: .65rem 0; color: var(--muted); font-size: .85rem; }
.market-panel-title { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem; border-top: 1px solid var(--line); padding-top: .65rem; }
.market-panel h2 { font-size: 1.13rem; }
.market-panel-title span, .market-event-source, .market-table-controls p { color: var(--muted); font-size: .81rem; }
.market-event-source { display: flex; flex-wrap: wrap; gap: .25rem .8rem; margin: .35rem 0 .55rem; color: var(--accent); }
.market-legend { display: flex; flex-wrap: wrap; gap: .3rem .7rem; }
.market-legend label { display: inline-flex; align-items: center; gap: .25rem; color: var(--ink); font-size: .83rem; cursor: pointer; }
.market-legend input { accent-color: var(--accent); }
.market-swatch { width: .65rem; height: .65rem; border-radius: 2px; }
.market-canvas-wrap { margin: .5rem 0 .7rem; border: 1px solid var(--line); border-radius: 9px; }
#market-chart { display: block; width: 100%; height: clamp(255px, 37vw, 395px); cursor: crosshair; }
.market-table-controls { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: .35rem .7rem; margin-bottom: .25rem; }
.market-table { width: 100%; border-collapse: collapse; font-size: .84rem; font-variant-numeric: tabular-nums; }
.market-table th, .market-table td { border-bottom: 1px solid var(--line); padding: .37rem .25rem; text-align: right; }
.market-table th:first-child { text-align: left; }
.market-table a { color: var(--accent); }
.market-up { color: #9b2d3e; }
.market-down { color: #2457a6; }
.market-method p { margin-top: .42rem; color: var(--muted); font-size: .86rem; }
.market-method a { color: var(--accent); }
.news-toolbar { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .65rem; }
.news-filters { display: flex; flex-wrap: wrap; gap: .35rem; }
[data-news-filter="대통령 발언"], [data-news-category="대통령 발언"] {
  --news-tag-ink: #233f83; --news-tag-bg: #e9efff; --news-tag-border: #aabbe8;
}
[data-news-filter="안보실·청와대"], [data-news-category="안보실·청와대"] {
  --news-tag-ink: #543477; --news-tag-bg: #f1eafb; --news-tag-border: #c6aedf;
}
[data-news-filter="정부 대책"], [data-news-category="정부 대책"] {
  --news-tag-ink: #0d574c; --news-tag-bg: #e3f5ed; --news-tag-border: #92c9b9;
}
[data-news-filter="조사·후속 조치"], [data-news-category="조사·후속 조치"] {
  --news-tag-ink: #77470e; --news-tag-bg: #fff0db; --news-tag-border: #dbb279;
}
.news-filters button {
  padding: .31rem .56rem;
  border-radius: 6px;
  border: 1px solid var(--news-tag-border, var(--line));
  color: var(--news-tag-ink, var(--ink));
  background: var(--news-tag-bg, #fff);
  font-size: .84rem;
}
.news-filters button:hover { border-color: var(--news-tag-ink, var(--accent)); }
.news-filters button[aria-pressed=true] {
  border-color: var(--news-tag-ink, var(--accent));
  background: var(--news-tag-ink, var(--accent));
  color: #fff;
  font-weight: 700;
}
#news-count { flex-shrink: 0; font-size: .83rem; color: var(--muted); }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.news-card { padding: .8rem 1rem; display: grid; align-content: start; gap: .45rem; }
.news-meta, .news-source { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem .6rem; align-items: center; font-size: .82rem; color: var(--muted); }
.news-meta span { background: var(--news-tag-bg, #e8f1fa); border-radius: 5px; padding: .12rem .35rem; color: var(--news-tag-ink, var(--accent)); font-weight: 720; }
.news-card h2 { font-size: 1.07rem; }
.news-card p { color: var(--muted); font-size: .89rem; }
.news-source { border-top: 1px solid var(--line); padding-top: .3rem; }
.news-link { color: var(--accent); font-weight: 680; }
@media (max-width: 600px) {
  .top-inner { gap: .4rem; }
  .brand { flex-shrink: 0; }
  .site-nav { gap: .25rem .48rem; }
  .site-nav a { white-space: nowrap; }
  .market-controls, .news-grid { grid-template-columns: minmax(0, 1fr); }
}

.lawsuit-section { margin: 1.5rem 0; }
.lawsuit-section h2 { margin: 0 0 .65rem; font-size: 1.2rem; }
.lawsuit-case { margin: 0 0 .7rem; }
.lawsuit-case > h3 { margin: 0 0 .65rem; }
.compensation-method { margin-top: 1rem; }
.compensation-method:target { border-color: var(--accent); }
.compensation-method p { margin: .65rem 0 0; }
.compensation-method ul { display: grid; gap: .75rem; margin: .9rem 0; padding-left: 1.4rem; }
.compensation-method li span { display: block; color: var(--accent); }
.compensation-method li p { margin-top: .15rem; color: var(--muted); }
.contact-panel { max-width: 740px; }
.contact-email { margin: 0 0 1rem; }
#contact-form { display: grid; gap: 1rem; }
#contact-form label { display: grid; gap: .35rem; color: var(--ink); font-weight: 650; }
#contact-form textarea {
  width: 100%;
  min-width: 0;
  padding: .7rem;
  border: 1px solid #b9c9dc;
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
  background: #fff;
}
#contact-form textarea { resize: vertical; }
#contact-form button { justify-self: start; cursor: pointer; }
#contact-form button:disabled { cursor: wait; opacity: .66; }
#contact-guide, #inbox-status { margin: 0; color: var(--muted); }
#contact-status { margin: 0; border-radius: 8px; background: #e8f1fa; padding: .7rem .85rem; }
.inbox-item { padding: 1rem 0; border-top: 1px solid #dce5ef; }
.inbox-item h2 { margin: 0; font-size: 1.07rem; }
.inbox-message { white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 620px) {
  .top-inner { align-items: flex-start; flex-direction: column; padding-block: .45rem; }
  .site-nav { justify-content: flex-start; gap: .3rem .75rem; }
  .site-nav a { font-size: .82rem; }
  .site-nav a:last-child { display: inline; }
}

.case-relief { margin-bottom: .85rem; }
.relief-request-section { margin-top: 1rem; }
.relief-request-section > h2 { margin-top: 0; }
.relief-case-label:not([hidden]), .relief-message-label { display: grid; gap: .35rem; font-weight: 680; }
.relief-case-label select, .relief-message-label textarea {
  width: 100%;
  min-width: 0;
  padding: .65rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
.relief-message-label textarea { resize: vertical; }
.relief-request-editor h3 { margin-bottom: .4rem; }
.relief-channels { list-style: none; display: grid; gap: .5rem; padding: 0; }
.relief-channels li { padding: .75rem; border: 1px solid var(--line); border-radius: 8px; }
.relief-address { display: block; overflow-wrap: anywhere; }
.relief-channels small, .relief-request-note, .relief-empty { color: var(--muted); }
.relief-request-editor .support-actions { margin-block: .6rem; }
.relief-request-editor .support-actions button { cursor: pointer; }
.relief-request-editor .support-actions button[hidden] { display: none; }

.inbox-item button { display: block; margin-top: .65rem; cursor: pointer; }
.inbox-item a { overflow-wrap: anywhere; }

.about-home-link { margin-block: 1rem; color: var(--accent); font-weight: 650; }
.about-page { max-width: 920px; }
.about-hero h1 + p { max-width: 43rem; font-size: 1rem; }
.about-page .detail-panel + .detail-panel { margin-top: .9rem; }
.about-page .detail-panel p + p { margin-top: .8rem; }
.about-risks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .75rem; margin-block: 1rem; }
.about-risks div { padding: .75rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.about-risks dt { margin-bottom: .25rem; font-weight: 750; }
.about-risks dd { margin: 0; color: var(--muted); }
.about-page .about-source { margin-top: .9rem; font-size: .875rem; color: var(--accent); }

.badge:is(.risk-critical, .risk-high, .risk-moderate, .risk-unknown) { background: var(--risk-bg); color: var(--risk-ink); }
.risk-critical { --risk-bg: #fbe4e8; --risk-ink: #861d35; }
.risk-high { --risk-bg: #fcead8; --risk-ink: #7c370c; }
.risk-moderate { --risk-bg: #e6eef8; --risk-ink: #233d63; }
.risk-unknown { --risk-bg: #edf0f4; --risk-ink: #46536a; }
.case-risk { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.case-risk p { margin-block: .35rem; }
.case-risk a { color: var(--accent); font-size: .875rem; }
#severity-guide { scroll-margin-top: 1rem; }
