:root {
  
  --bg: #f4f4f4;
  --card: #ffffff;
  --ink: #141414;
  --sub: #474747;
  --muted: #696969;            
  --line: #dedede;
  --grid: #ececec;
  --acc: #141414;
  --acc-soft: #ebebeb;
  --chart: #1c1c1c;
  --neg: #b3261e;
  --alt: #b45309;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --card: #1a1a1a;
    --ink: #ededed;
    --sub: #b4b4b4;
    --muted: #8f8f8f;
    --line: #2f2f2f;
    --grid: #252525;
    --acc: #f2f2f2;
    --acc-soft: #2b2b2b;
    --chart: #e4e4e4;
    --neg: #ff8a80;
    --alt: #f0a35e;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 "Pretendard GOV Variable", "Pretendard GOV", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
a { color: var(--acc); }
button { font: inherit; color: inherit; }
.wrap { max-width: 920px; margin: 0 auto; padding: 32px 16px 64px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.neg { color: var(--neg); }
.miss { color: var(--muted); font-size: 12px; font-weight: 400 !important; }


.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
h1 { margin: 0; font-size: 26px; letter-spacing: -.02em; line-height: 1.25; min-width: 0; }
h1 .home { color: inherit; text-decoration: none; }
.nav { display: flex; gap: 6px; flex: 0 0 auto; }
.nav-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--sub); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.nav-btn:hover { color: var(--acc); border-color: var(--acc); }
.nav-btn:focus-visible { outline: 2px solid var(--acc); outline-offset: 1px; }
.nav-btn.on { color: var(--ink); border-color: var(--acc); background: var(--acc-soft); }
@media (max-width: 640px) {
  .wrap { padding-top: 18px; }
  .head { margin-top: -18px; padding-top: 12px; }
  h1 { font-size: 21px; }
  .nav-btn { padding: 0; width: 44px; }
  .nav-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}



.head { position: sticky; top: 0; z-index: 5; margin: -32px -10px 0; padding: 22px 10px 0; background: var(--bg); }
.head.stuck { box-shadow: 0 1px 0 var(--line); }   
.search { padding: 10px 0; display: flex; gap: 8px; align-items: stretch; }
.search input {
  text-overflow: ellipsis;
  flex: 1 1 auto; min-width: 0; width: 100%; font: inherit; font-size: 16px; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px;
}
.search input:focus { outline: 2px solid var(--acc); outline-offset: 1px; border-color: transparent; }
.status { color: var(--sub); font-size: 14px; margin: 12px 0; min-height: 1.6em; }
.status.err { color: var(--neg); }


.hits { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.hits li + li { border-top: 1px solid var(--line); }
.hit { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 16px; background: none; border: 0; text-align: left; cursor: pointer; }
.hit:hover, .hit:focus-visible { background: var(--acc-soft); outline: none; }
.hit-nm { font-weight: 600; }
.hit-nm mark { background: transparent; color: var(--ink); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.hit-meta { margin-left: auto; font-size: 12px; color: var(--sub); text-align: right; }
.hit-meta .est, .est { color: var(--muted); font-size: .92em; opacity: .85; }
@media (max-width: 640px) { .hit { flex-wrap: wrap; gap: 2px 10px; min-height: 52px; } .hit-nm { flex: 1 1 auto; } .hit-meta { order: 3; flex-basis: 100%; margin-left: 0; text-align: left; } .hit-go { order: 2; } }
.hit-go { color: var(--muted); font-size: 18px; line-height: 1; }
.hits-h { margin: 18px 2px 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.hit.gone .hit-nm { color: var(--sub); font-weight: 500; }

.notes { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; margin-bottom: 14px; }
.notes-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.notes-wrap .notes { margin-bottom: 0; height: calc(100% - 22px); box-sizing: border-box; }
.note-title { margin: 0 0 6px 2px; font-size: 13px; font-weight: 700; color: var(--sub); }
.notes ul { margin: 0; padding-left: 16px; max-height: calc(6 * 1.6em); overflow-y: auto; font-size: 13px; line-height: 1.6; color: var(--sub); }
.notes li { margin: 0; }
.notes li.none { list-style: none; margin-left: -16px; color: var(--muted); }
.notes li.dated { list-style: none; margin-left: -16px; display: grid; grid-template-columns: 6.4em 1fr; gap: 0 8px; }
.notes li .sub { color: var(--muted); font-size: 12px; margin-left: 2px; }
.notes li .dt { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.notes ul.tl { padding-left: 0; list-style: none; }
.notes ul.tl li.dated { position: relative; margin-left: 0; padding: 0 0 6px 18px; }
.notes ul.tl li.dated::before { content: ""; position: absolute; left: 1px; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--card); border: 2px solid var(--acc); box-sizing: border-box; }
.notes ul.tl li.dated::after { content: ""; position: absolute; left: 5px; top: calc(.5em + 10px); bottom: -.45em; border-left: 1px solid var(--line); }
.notes ul.tl li.dated:last-child { padding-bottom: 0; }
.notes ul.tl li.dated:last-child::after { display: none; }
.notes ul.tl .dt { color: var(--sub); font-weight: 600; }
.notes ul.infos { padding-left: 0; list-style: none; }
.notes li.info { position: relative; padding-left: 20px; }
.notes li.info + li.info { margin-top: 4px; }
.notes li.info::before { content: "i"; position: absolute; left: 0; top: .22em; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--muted); color: var(--muted);
  font: 700 9.5px/11px Georgia, serif; text-align: center; box-sizing: border-box; }
@media (max-width: 720px) { .notes-wrap { grid-template-columns: 1fr; } .notes-wrap .notes { height: auto; } }
.linkish { padding: 0; border: 0; background: none; font: inherit; color: var(--acc); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }


.detail, .trend { scroll-margin-top: calc(var(--stick, 120px) + 8px); }
.detail { margin-top: 4px; }
.d-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 16px; margin-bottom: 8px; }
.back { flex-basis: 100%; text-align: left; background: none; border: 0; padding: 0; color: var(--acc); cursor: pointer; font-size: 14px; }
.meta { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.d-head select { font: inherit; font-size: 14px; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }


.kpi-row { margin-bottom: 14px; }
.kpi-box { display: flex; flex-direction: column; min-width: 0; }
.d-name { margin: 0; font-size: 24px; letter-spacing: -.02em; text-wrap: balance; }
.kpi-box .meta { margin: 2px 0 0; }
.rgn-text { margin: 8px 0 12px; font-size: 14px; line-height: 1.5; }
.rgn-text p { margin: 0; }
.rgn-text p.addr { color: var(--sub); font-size: 13px; margin-bottom: 2px; }
.d-name .old { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 4px; letter-spacing: -.01em; }
.hit-nm .old { font-weight: 400; color: var(--muted); }
.d-name .hwan { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip { display: inline-flex; align-items: baseline; gap: 5px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 13px; line-height: 1.5; max-width: 100%; }
.chip-l { color: var(--muted); font-size: 12px; }
.chip-v { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip.miss .chip-v { font-weight: 400; color: var(--muted); }
.chip.est { border-style: dashed; }
.chip-e { font-size: 10.5px; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 860px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kpi-box { min-width: 0; }
.kpi-hd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 8px; }
.kpi-hd select { font: inherit; font-size: 14px; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.kpi-h { margin: 0; font-size: 15px; font-weight: 650; }
.kpi {
  min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer;
}
.kpi:hover { border-color: var(--acc); }
.kpi.on { border-color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); }
.kpi-l { font-size: 14px; font-weight: 600; color: var(--ink); }
.kpi-v { font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.rk { display: flex; flex-direction: column; gap: 0; width: 100%; margin-top: 6px; padding-top: 5px; border-top: 1px dashed var(--line); }
.rk-row { display: flex; justify-content: space-between; gap: 6px; line-height: 1.35; font-size: 11.5px; color: var(--sub); font-variant-numeric: tabular-nums; }
.rk-row.miss { color: var(--muted); }
.rk-bar { display: block; height: 4px; margin: 0 0 5px; border-radius: 2px; background: var(--grid); overflow: hidden; }
.rk-fill { display: block; height: 100%; border-radius: 2px; background: var(--chart); opacity: .8; }
.kpi-hint { font-size: 12px; color: var(--muted); }
.rk-g { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-n { color: var(--ink); font-weight: 600; white-space: nowrap; }
.rk-n small { color: var(--muted); font-weight: 400; font-size: 11px; }
@media (max-width: 420px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


.trend { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 10px; margin-bottom: 14px; }
.trend-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.trend-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.trend-h h3 { margin: 0; font-size: 15px; }
.unit { font-size: 12px; color: var(--muted); }
.segs { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg { background: none; border: 0; padding: 4px 10px; min-height: 30px; font-size: 12px; color: var(--sub); cursor: pointer; }
.seg + .seg { border-left: 1px solid var(--line); }
.seg.on { background: var(--acc-soft); color: var(--ink); font-weight: 600; }
.chart-wrap { position: relative; margin-top: 6px; }
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--grid); stroke-width: 1; }
.chart .axis0 { stroke: var(--line); stroke-width: 1; }
.chart .tick { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.chart .line { fill: none; stroke: var(--chart); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--chart); opacity: .1; }
.chart .dot { fill: var(--chart); stroke: var(--card); stroke-width: 2; }
.chart .dot.hot { r: 6; }
.chart .cross { stroke: var(--sub); stroke-width: 1; }
.chart .endlabel { fill: var(--ink); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart .sel-band { fill: var(--acc-soft); }
.chart .tick.sel { fill: var(--ink); font-weight: 650; }
.chart .dot.sel { stroke-width: 2.5; }
.chart .dot.partial { fill: var(--card); stroke: var(--chart); stroke-width: 2; }   
.chart .miss-dot { fill: var(--card); stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 2 2; }
.tip {
  position: absolute; transform: translate(-50%, calc(-100% - 12px)); pointer-events: none;
  background: var(--ink); color: var(--bg); border-radius: 8px; padding: 6px 10px; font-size: 12px; white-space: nowrap;
  display: flex; flex-direction: column; gap: 1px; font-variant-numeric: tabular-nums;
}
.tip.below { transform: translate(-50%, 14px); }
.tip[hidden] { display: none; }


.tabbox { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: clip; }
.tabs { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; position: sticky; top: var(--stick, 68px); z-index: 4; background: var(--card); }
.tab { flex: 0 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 16px; cursor: pointer; color: var(--sub); font-size: 14px; }
.tab.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--acc); }
.panel { padding: 6px 16px 16px; }
.panel-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; align-items: center; padding: 6px 0; }
.hint { font-size: 12px; color: var(--muted); }
.sec + .sec { margin-top: 14px; }
.sec h3 { margin: 8px 0 4px; font-size: 13px; color: var(--ink); font-weight: 700; }


.tbl-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 6px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--muted); font-weight: 500; font-size: 12px; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.rto { color: var(--muted); font-size: 13px; }
.item { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.item:hover { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.item .u { color: var(--muted); font-size: 11px; }
tr.d1 td:first-child { padding-left: 20px; }
tr.d2 td:first-child { padding-left: 36px; }
tr.d3 td:first-child { padding-left: 52px; }
tr.d1 td, tr.d2 td, tr.d3 td { font-size: 13px; }
tr.d2 td:first-child .item, tr.d3 td:first-child .item { color: var(--sub); }
tr.total td { font-weight: 650; }
tr.on td { background: var(--acc-soft); }

.foot { margin-top: 36px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--sub); }

.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; margin-bottom: 10px; }
.foot-top:empty, .foot-top:not(:has(:not([hidden]))) { display: none; }
.visits { margin: 0 0 0 auto; display: flex; gap: 12px; font-variant-numeric: tabular-nums; }
.visits[hidden] { display: none; }
.visits b { color: var(--ink); font-weight: 700; }
.foot p { margin: 2px 0; }
.foot .note { margin-bottom: 14px; }
.credits { padding-top: 0; }
.credits dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 0; margin: 4px 0 0; }
.credits dt { color: var(--sub); }
.credits dt::after { content: " :"; white-space: pre; margin-right: 6px; }
.credits dd { margin: 0; }   
.credit-src { list-style: none; margin: 0; padding: 0; }
.credit-src li { margin: 0; }

:root { --fss: #555555; --fss-soft: #f7f7f7; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --fss: #a8a8a8; --fss-soft: #202020; } }
.src { display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 500; color: var(--muted); white-space: nowrap; vertical-align: 1px; }
.src::before { content: "("; } .src::after { content: ")"; }
.src.fss { color: var(--fss); }
.sec h3 .src, .trend h3 .src { font-size: 11px; }
tr.fss td { background: var(--fss-soft); }
td .alt { font-size: 10.5px; color: var(--alt); white-space: nowrap; margin-left: 6px; }
.chart.fss .line { stroke: var(--fss); stroke-dasharray: 5 3; } .chart.fss .area { fill: var(--fss); } .chart.fss .dot { fill: var(--fss); } .chart.fss .dot.partial { fill: var(--card); stroke: var(--fss); }

.top h1 .upd { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; white-space: nowrap; }

dialog.help { border: 1px solid var(--line); border-radius: 14px; padding: 0; max-width: min(560px, calc(100vw - 32px)); width: 100%; background: var(--card); color: var(--ink); box-shadow: 0 10px 40px rgba(0,0,0,.18); }
dialog.help::backdrop { background: rgba(0, 0, 0, .4); }
.help-in { padding: 16px 20px 20px; max-height: min(80vh, 640px); overflow-y: auto; font-size: 14px; line-height: 1.65; }
.help-top { display: flex; align-items: center; justify-content: space-between; position: sticky; top: -16px; background: var(--card); padding-top: 4px; }
.help-top h2 { margin: 0; font-size: 18px; }
.help-x { border: 0; background: none; font-size: 24px; line-height: 1; color: var(--sub); cursor: pointer; padding: 4px 8px; }
.help h3 { margin: 0 0 6px; font-size: 15px; color: var(--ink); }
.help p { margin: 0; }
.help ul { margin: 0; padding-left: 18px; }
.help ul ul { margin: 2px 0 4px; padding-left: 16px; list-style: circle; }
.help li { margin: 1px 0; }
.help-sec p + p, .help-sec p + ol, .help-sec ol + p { margin-top: 8px; }
.help-sec ol { margin: 4px 0 0; padding-left: 20px; }
.help-note { font-size: 13px; color: var(--sub); }
.help-toc { margin: 10px 0 4px; padding: 10px 14px; background: var(--bg); border-radius: 10px; }
.help-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 20px; font-size: 14px; }
.help-toc a { color: var(--ink); text-underline-offset: 3px; }
.help-sec { padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); scroll-margin-top: 44px; }
.ver { margin: 0; font-size: 12px; color: var(--sub); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.ver[hidden] { display: none; }
.ver-d { margin-left: 4px; }
.ver-v { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.ver-btn { margin-left: 10px; padding: 3px 10px; min-height: 28px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 12px; cursor: pointer; }
.ver-btn:hover { border-color: var(--acc); }
.changelog { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; }
.changelog li { padding: 10px 0; border-top: 1px solid var(--line); }
.changelog li:first-child { border-top: 0; }
.cl-h { font-weight: 700; font-variant-numeric: tabular-nums; }

.cl-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 12px 0 0; padding-bottom: 2px; }
.cl-tab { flex: 0 0 auto; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--sub); font-size: 13px; font-variant-numeric: tabular-nums; cursor: pointer; }
.cl-tab.on { border-color: var(--acc); background: var(--acc-soft); color: var(--ink); font-weight: 700; }
.cl-panel { margin-top: 12px; font-size: 14px; line-height: 1.7; }
.cl-panel .changelog { margin: 0; }
.notes.empty ul { color: var(--muted); list-style: none; padding-left: 0; }



.analysis { margin-bottom: 20px; }
.ana-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 4px 0 10px; }
.ana-head h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.ana-scope { margin: 0; color: var(--sub); font-size: 14px; }
.ana-ctl { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; margin: 0 -10px 12px; padding: 6px 10px 10px; position: sticky; top: var(--stick, 68px); z-index: 4; background: var(--bg); border-bottom: 1px solid var(--line); }
.ana-f { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
.ana-f.off { opacity: .55; }
.ana-f select { font: inherit; font-size: 14px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; min-width: 7.5em; }
.ana-note { margin: 0 0 10px; font-size: 12.5px; color: var(--muted); }
.ana-ctl .ana-note { margin: 0 0 8px; }
.ana-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }   
.ana-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.ana-card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.ana-card h3 small { font-size: 12px; font-weight: 400; color: var(--muted); }

.ana-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.ana-list { min-width: 0; }
.ana-list + .ana-list { position: relative; }
.ana-list + .ana-list::before { content: ""; position: absolute; left: -14px; top: 2px; bottom: 2px; border-left: 1px solid var(--line); }
.ana-list h4 { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.ana-list.best h4 { color: var(--acc); }
.ana-list.full { grid-column: 1 / -1; }
.ana-list.full ol { columns: 2; column-gap: 16px; }
.ana-list.full li { break-inside: avoid; }
.ana-list.full h4 { color: var(--sub); }
.ana-list.worst h4 { color: var(--sub); }
.ana-list ol { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.75; }
.ana-list li { position: relative; display: grid; grid-template-columns: 2.4em minmax(0, 1fr) 5.9em; gap: 4px; align-items: baseline; padding: 1px 6px; border-radius: 6px; isolation: isolate; }
.ana-list li + li { margin-top: 2px; }

.ana-bar { position: absolute; left: calc(2.4em + 10px); bottom: 1px; height: 3px; z-index: -1; border-radius: 2px; background: var(--chart); opacity: .35; }
.ana-bar.neg { background: var(--neg); opacity: .45; }
.ana-list li:nth-child(even) { background: color-mix(in srgb, var(--bg) 70%, transparent); }
.ana-list h4 { padding: 0 6px; }
.ana-rk { color: var(--muted); font-variant-numeric: tabular-nums; text-align: left; }
.ana-nm { font-weight: 500; text-decoration: none; text-align: left; min-width: 0; word-break: keep-all; overflow-wrap: break-word; line-height: 1.4; padding: 2px 0; }
.ana-nm:hover { text-decoration: underline; }
.ana-v { font-variant-numeric: tabular-nums; color: var(--sub); white-space: nowrap; text-align: right; }
.ana-tabs { display: none; }
@media (max-width: 640px) {
  .ana-ctl { position: static; }
  .ana-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 10px; padding: 8px 16px; position: sticky; top: var(--stick, 68px); z-index: 4; background: var(--bg); }
  .ana-tab { flex: 0 0 auto; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--sub); font-size: 14px; cursor: pointer; }
  .ana-tab.on { border-color: var(--acc); background: var(--acc-soft); color: var(--ink); font-weight: 650; }
  .ana-grid > .ana-card:not(.cur) { display: none; }
}
.ana-v.neg { color: var(--neg); }
.ana-none { margin: 0; font-size: 13px; color: var(--muted); }
@media (max-width: 520px) { .ana-cols { grid-template-columns: 1fr; gap: 14px; } .ana-list + .ana-list::before { left: 0; right: 0; top: -8px; bottom: auto; border-left: 0; border-top: 1px solid var(--line); } .ana-list.full ol { columns: 1; } }
.ana-comp { margin: 0 0 8px; font-size: 13px; color: var(--sub); }
.ana-sum { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: -2px 0 10px; padding: 6px 10px; background: var(--acc-soft); border-radius: 8px; font-size: 12.5px; }
.ana-stat { display: inline-flex; gap: 5px; align-items: baseline; color: var(--sub); }
.ana-stat b { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.ana-stat b.neg { color: var(--neg); }
@media (max-width: 520px) { .ana-ctl { display: grid; grid-template-columns: 1fr 1fr; } .ana-ctl .ana-note { grid-column: 1 / -1; } .ana-f select { width: 100%; min-width: 0; } }


.sk-wrap { margin-top: 8px; }
.sk { background: linear-gradient(90deg, var(--grid) 0%, var(--line) 50%, var(--grid) 100%); background-size: 200% 100%; border-radius: 10px; animation: sk 1.3s ease-in-out infinite; }
.sk-title { height: 28px; width: 46%; margin-bottom: 10px; }
.sk-line { height: 14px; width: 62%; margin-bottom: 8px; }
.sk-chips { height: 26px; width: 80%; margin-bottom: 14px; border-radius: 999px; }
.sk-kpi { height: 112px; border-radius: 12px; }
.sk-note { height: 74px; border-radius: 12px; }
.sk-chart { height: 280px; border-radius: 12px; }
.sk-ctl { height: 56px; width: 72%; margin-bottom: 14px; }
.sk-card { height: 340px; border-radius: 12px; }
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }


@media (pointer: coarse) {
  .seg { min-height: 40px; padding: 4px 12px; }
  .kpi-hd select, .d-head select, .ana-f select { min-height: 44px; }
  .ana-list li { padding-top: 4px; padding-bottom: 4px; }
  .linkish { min-height: 28px; }
  .help-x { min-width: 44px; min-height: 44px; }
}
