/*
 * tMP-AI: the state pages. Builds on compare.css (same tokens, same frame); this adds the figures
 * row, the map and the bars. Amber is phone-only, blue is online, grey is unknown — the same
 * meaning everywhere on the page.
 */

.tmpai-st__figs { list-style: none; margin: 34px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 48px; max-width: 860px; }
.tmpai-st__figs li { display: flex; flex-direction: column; }
.tmpai-st__figs li span:last-child { font-size: 14.5px; font-weight: 600; color: var(--ink); margin-top: 6px; }

.tmpai-st__two { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 48px; align-items: start; }
.tmpai-st__mapcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 16px; }
.tmpai-st__map { display: block; width: 100%; height: auto; max-height: 560px; }
.tmpai-st__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13.5px; color: var(--ink2); margin: 12px 0 0; }
.tmpai-st__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.tmpai-st__dot--phone { background: var(--amber); }
.tmpai-st__dot--online { background: var(--blue-deep); }
.tmpai-st__dot--unk { background: #9AA5AB; }

.tmpai-st__bars { list-style: none; margin: 18px 0 0; padding: 0; }
.tmpai-st__bars li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 48px; align-items: center; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line2); font-size: 15px; }
.tmpai-st__bars li:first-child { border-top: 0; }
.tmpai-st__bl { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tmpai-st__bl a { color: var(--ink); }
.tmpai-st__bar { position: relative; height: 10px; border-radius: 5px; background: rgba(15, 32, 41, 0.06); overflow: hidden; }
.tmpai-st__bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--p); min-width: 3px; border-radius: 5px; background: var(--blue-deep); }
.tmpai-st__bar--phone::after { background: var(--amber); }
.tmpai-st__bar--quiet::after { background: #9AA5AB; }
.tmpai-st__solo > div { max-width: 720px; }
.tmpai-st__ours .tmpai-st__bar::after { background: var(--accent); }
.tmpai-st__bn { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink2); }

.tmpai-st__list td:nth-child(3) { white-space: nowrap; }
.tmpai-st__list td:last-child { background: none; }
.tmpai-st__minibar { display: inline-block; width: 64px; height: 8px; margin-right: 10px; border-radius: 4px; background: linear-gradient(to right, var(--amber) var(--p), rgba(15, 32, 41, 0.08) var(--p)); vertical-align: 0; }

@media (max-width: 860px) {
	.tmpai-st__two { grid-template-columns: 1fr; }
	.tmpai-st__bars li { grid-template-columns: 128px minmax(0, 1fr) 40px; }
	.tmpai-st__bl { white-space: normal; line-height: 1.3; }
}
