/* state modal */
dialog.uf-modal { border: none; padding: 0; border-radius: 14px; background: var(--page); color: var(--ink);
  width: min(1280px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35); }
dialog.uf-modal::backdrop { background: rgba(10,10,12,.55); backdrop-filter: blur(2px); }
.um-head { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 22px; background: var(--surface); border-bottom: 1px solid var(--grid); }
.um-head h2 { margin: 0; font-size: 22px; }
.um-head .sub { font-size: 13px; }
.um-head .lead { font-size: 12px; padding: 3px 8px; }
.um-close { margin-left: auto; font-size: 22px; line-height: 1; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--grid); background: var(--page); color: var(--ink); cursor: pointer; }
.um-close:hover { background: var(--grid); }
.um-body { padding: 18px 22px 24px; display: grid; gap: 18px; }
.um-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 1020px) { .um-top { grid-template-columns: 1fr; } }
.um-map svg { width: 100%; height: auto; max-height: 62vh; display: block; }
.um-map path.m { stroke: var(--surface); stroke-width: .5; cursor: pointer; transition: fill .25s; }
.um-map path.m:hover { stroke: var(--ink); stroke-width: 1.6; }
.um-map path.zb { fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: .5; pointer-events: none; stroke-linejoin: round; }
.um-map .note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.um-card { background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--ring); padding: 16px 18px; min-width: 0; }
.um-card h3 { margin: 0 0 4px; font-size: 15px; }
.um-card .hint { margin: 0 0 10px; }
table.cmp { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 13px; }
table.cmp th, table.cmp td { padding: 9px 8px; text-align: right; border-bottom: 1px solid var(--grid); vertical-align: top; }
table.cmp thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); font-weight: 700; vertical-align: bottom; }
table.cmp thead th small { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
table.cmp tbody th { text-align: left; font-weight: 600; }
table.cmp tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
table.cmp td .p { font-size: 17px; font-weight: 700; display: block; }
table.cmp td .v { font-size: 11.5px; color: var(--ink-2); display: block; }
table.cmp td .d { font-size: 12px; display: block; margin-top: 3px; }
table.cmp td.now { background: color-mix(in srgb, var(--surface) 65%, var(--grid)); }
table.cmp tr.sec th { padding-top: 18px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); border-bottom: 2px solid var(--grid); }
.zt-wrap { max-height: 560px; overflow: auto; }
table.zt { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
table.zt th, table.zt td { padding: 6px 8px; border-bottom: 1px solid var(--grid); text-align: right; white-space: nowrap; }
table.zt th:nth-child(2), table.zt td:nth-child(2) { text-align: left; white-space: normal; min-width: 180px; }
table.zt thead th { position: sticky; top: 0; background: var(--surface); font-size: 11px; color: var(--ink-2); }
table.zt tbody tr:hover td { background: var(--page); }
table.zt tr.pend td { color: var(--muted); }
.bar-mini { display: inline-block; width: 46px; height: 6px; background: var(--grid); border-radius: 3px; vertical-align: middle; margin-right: 6px; overflow: hidden; }
.bar-mini i { display: block; height: 100%; background: var(--ink-2); }
.uf-click { cursor: pointer; }
.um-legend { justify-content: center; margin-top: -6px; }
.um-map h3 { font-size: 16px; }
.um-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .um-two { grid-template-columns: 1fr; } }
table.cmp td { font-size: 14px; }
table.cmp th small { display: block; font-weight: 400; color: var(--muted); font-size: 11.5px; text-transform: none; letter-spacing: 0; }
@media (max-width: 640px) {
  .um-head { padding: 12px 14px; gap: 6px 10px; }
  .um-head h2 { font-size: 19px; }
  .um-close { position: absolute; right: 12px; top: 10px; }
  .um-body { padding: 12px; gap: 12px; }
  .um-card { padding: 12px; }
  table.cmp th, table.cmp td { padding: 7px 4px; }
}
