.wc-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin: 4px 0 20px; }
.wc-stats div { padding: 12px 14px; border-right: 1px solid var(--line); }
.wc-stats div:last-child { border-right: 0; }
.wc-stats b { display: block; font-family: var(--serif); font-size: 27px; line-height: 1.1; }
.wc-stats span { display: block; margin-top: 3px; font-size: 10px; line-height: 1.5; color: var(--ink-3); }
.wc-callout { border-left: 2px solid var(--red); background: var(--paper-2); padding: 11px 14px; margin: 0 0 12px; font-size: 12.5px; line-height: 1.85; color: var(--ink-2); }
.wc-callout b { color: var(--ink); }
.wc-intro { margin: 0; font-size: 11.5px; line-height: 1.8; color: var(--ink-2); }
.wc-kicker { margin: 0 0 4px; font-family: var(--sans); font-size: 9px; letter-spacing: .14em; color: var(--red); }
.wc-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: 9px; }
.wc-head h2 { margin: 0; }
.wc-head > p { max-width: 330px; margin: 0; font-size: 10px; line-height: 1.7; color: var(--ink-3); text-align: right; }
.wc-filter { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 9px; }
.wc-filter button { border: 1px solid var(--line); background: transparent; padding: 4px 7px; font-family: var(--sans); font-size: 9px; color: var(--ink-3); cursor: pointer; }
.wc-filter button:hover, .wc-filter button.is-active { border-color: var(--ink); color: var(--ink); background: var(--paper-2); }
.wc-map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 20px; align-items: stretch; }
.wc-map-wrap { position: relative; border: 1px solid var(--line); background: #f8f2e6; min-width: 0; }
.wc-map { width: 100%; height: auto; aspect-ratio: 2 / 1; min-height: 360px; }
.wc-legend { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; background: rgba(251,246,234,.94); padding: 4px 8px; font-family: var(--sans); font-size: 8px; color: var(--ink-3); }
.wc-legend span { display: inline-flex; align-items: center; gap: 4px; }
.wc-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; }
.wc-dot--on { background: #a94738; }
.wc-dot--off { background: #e8ddcb; border: 1px solid #c8bba8; }
.wc-dot--other { background: #d8d0c2; border: 1px solid #bdb3a3; }
.wc-side { border-top: 1px solid var(--ink); display: flex; flex-direction: column; }
.wc-progress { padding: 9px 0 10px; border-bottom: 1px solid var(--line); }
.wc-progress-top { display: flex; align-items: baseline; gap: 3px; }
.wc-progress-top b { font-family: var(--serif); font-size: 38px; line-height: 1; color: var(--red); }
.wc-progress-top span { font-size: 11px; color: var(--ink-3); }
.wc-bar { height: 4px; background: #e8ddcb; margin: 8px 0 5px; overflow: hidden; }
.wc-bar i { display: block; width: 0; height: 100%; background: var(--red); transition: width .35s ease; }
.wc-progress p { margin: 0; font-size: 9px; color: var(--ink-3); }
.wc-region-list { padding: 4px 0; overflow: auto; }
.wc-region-row { display: grid; grid-template-columns: 1fr auto auto; gap: 7px; align-items: baseline; padding: 5px 0; border-bottom: 1px solid var(--line-soft); font-size: 10px; color: var(--ink-2); }
.wc-region-row b { font-weight: 400; color: var(--ink-3); font-size: 9px; }
.wc-region-row em { font-style: normal; font-family: var(--mono); font-size: 8px; color: var(--red); }
.wc-controls { display: flex; flex-wrap: wrap; gap: 4px; border-top: 1px solid var(--line); padding-top: 8px; margin-top: auto; }
.wc-controls button, .wc-import { border: 1px solid var(--line); background: transparent; padding: 4px 6px; font: 8px var(--sans); color: var(--ink-3); cursor: pointer; text-decoration: none; }
.wc-controls button:hover, .wc-import:hover { color: var(--red); border-color: #d8b7a8; }
.wc-import { position: relative; overflow: hidden; }
.wc-import input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.wc-local { margin: 6px 0 0; font-size: 8px; line-height: 1.6; color: var(--ink-3); }
.wc-search { margin: 0 0 9px; }
.wc-search input { width: 100%; border: 1px solid var(--line); background: var(--paper); padding: 7px 9px; font: 11px var(--sans); color: var(--ink); outline: none; }
.wc-search input:focus { border-color: var(--ink); }
#wc-table { border-top: 1px solid var(--ink); }
.wc-region-block { padding: 0 0 11px; }
.wc-region-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding: 7px 0 4px; margin-bottom: 3px; }
.wc-region-head h3 { margin: 0; font-family: var(--serif); font-size: 19px; }
.wc-region-head span { font-size: 9px; color: var(--ink-3); }
.wc-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.wc-row { display: grid; grid-template-columns: 22px 1fr 46px; gap: 7px; align-items: center; padding: 4px 3px; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.wc-row:hover { background: var(--paper-2); }
.wc-row:focus-visible { outline: 1px solid var(--red); outline-offset: -1px; }
.wc-check { width: 16px; height: 16px; border: 1px solid var(--line); color: transparent; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; }
.wc-row.is-on .wc-check { background: #a94738; border-color: #a94738; color: #fff; }
.wc-name { font-family: var(--serif); font-size: 13px; color: var(--ink); line-height: 1.35; }
.wc-en { display: block; font-family: var(--sans); font-size: 7px; color: var(--ink-3); line-height: 1.4; }
.wc-row.is-on .wc-name { color: var(--red); }
.wc-status { font-size: 8px; color: var(--ink-3); text-align: right; }
.wc-row.is-on .wc-status { color: var(--red); }
.wc-notes { margin: 0; padding-left: 18px; }
.wc-notes li { margin: 0 0 6px; font-size: 11px; line-height: 1.75; color: var(--ink-2); }
.wc-notes code { font-family: var(--mono); font-size: 9px; color: var(--red); }
@media (max-width: 980px) {
  .wc-map-layout { grid-template-columns: 1fr; }
  .wc-side { border-top: 0; }
  .wc-map { height: auto; min-height: 300px; }
  .wc-region-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
}
@media (max-width: 640px) {
  .wc-stats { grid-template-columns: 1fr 1fr; }
  .wc-stats div:nth-child(2) { border-right: 0; }
  .wc-stats div:nth-child(1), .wc-stats div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .wc-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .wc-head > p { text-align: left; }
  .wc-map { height: auto; min-height: 260px; }
  .wc-rows { grid-template-columns: 1fr; }
  .wc-legend { gap: 7px; font-size: 7px; }
}
