#tab-issues {

.plate-no.sm { font-size: 30px; padding-top: 8px; }
.diag { background: #3a1420; color: #ffd0d8; border: 1px solid #ff3b5c; border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-top: 10px; }
.waffles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; padding: 6px 8px 2px; }
.waffle { text-align: center; }
.waffle .chart { height: 190px; }
.waffle b { font-family: var(--font-display); font-weight: 700; font-size: 20px; display: block; line-height: 1; }
.waffle span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.waffle .v { font-family: var(--font-mono); font-size: 13px; color: var(--ink); margin-top: 4px; display: block; }
.ringsrow { display: grid; grid-template-columns: 1.15fr 1fr; gap: 6px; align-items: center; }
@media (max-width: 560px) { .ringsrow { grid-template-columns: 1fr; } }
.legendlist { display: flex; flex-direction: column; gap: 10px; padding: 6px 8px; }
.legendlist .lg { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: start; }
.legendlist .lg i { width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; display: block; }
.legendlist b { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1; display: block; color: var(--ink); }
.legendlist span { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.legendlist small { display: block; font-size: 12px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-width: 0; border-left: 3px solid var(--accent); }
.card .id { font-family: var(--font-mono); font-size: 13px; color: var(--accent-ink); }
.card h3 { font-size: 17px; margin-top: 2px; }
.card p { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.card .row { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 8px; }
.card .row span { font-size: 11.5px; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.card .row span.hot { color: var(--accent-ink); border-color: var(--accent-ink); }
.kpi .v.small { font-size: 30px; }
.mono { font-family: var(--font-mono); }
.scrollx { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scrollx > .chart { min-width: 760px; }
.scrollx.narrow > .chart { min-width: 600px; }

}
.ringwrap { position: relative; }
.ringwrap .center.small b { font-size: 30px; }
.ringwrap .center { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); text-align: center; pointer-events: none; }
.ringwrap .center b { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1; display: block; color: var(--ink); }
.ringwrap .center span { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; color: var(--muted); display: block; margin-top: 4px; }
.ringwrap .center em { font-style: normal; color: var(--accent-ink); }
@media (max-width: 480px) { .ringwrap .center b { font-size: 20px; } .ringwrap .center.small b { font-size: 20px; } .ringwrap .center span { font-size: 9px; letter-spacing: 0.04em; } }
.sector { display: grid; grid-template-columns: 1fr; gap: 6px; }
.sector .viz { display: grid; grid-template-columns: 120px 1fr; gap: 8px; align-items: center; }
.sector .gauge { width: 120px; height: 120px; position: relative; }
.sector .gauge .n { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; pointer-events: none; }
.sector .gauge .n small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.sector .rose { width: 100%; height: 130px; min-width: 0; }
.sector .chipsrow { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.sector .chipsrow span { font-size: 11.5px; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.sector .chipsrow span.hot { color: var(--accent-ink); border-color: var(--accent-ink); }
.sectors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px; margin-top: 12px; }
.sector { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-width: 0; }
.sector h3 { font-size: 18px; }
.sector .nums { display: flex; gap: 14px; margin: 6px 0 4px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.sector .nums b { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); }
.sector p { font-size: 13.5px; color: var(--ink-2); }
.sector .meter { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; margin: 8px 0 6px; }
.sector .meter i { display: block; height: 100%; background: var(--blue); }
