.sgl3-iv { display: flex; flex-direction: column; gap: var(--sgl3-sp-1); min-width: 0; }
.sgl3-iv-name { display: flex; align-items: center; gap: var(--sgl3-sp-2); flex-wrap: wrap; font-weight: 600; color: var(--sgl3-text); }
.sgl3-iv-sense { display: inline-flex; align-items: center; gap: var(--sgl3-sp-1); font-size: var(--sgl3-fs-caption); font-weight: 500; color: var(--sgl3-text-muted); }
.sgl3-iv-row { display: flex; align-items: center; gap: var(--sgl3-sp-2); flex-wrap: wrap; }
.sgl3-iv-value { display: inline-flex; align-items: baseline; gap: var(--sgl3-sp-1); color: var(--sgl3-text); white-space: nowrap; }
.sgl3-iv:not(.sgl3-iv-compact) .sgl3-iv-value [data-number] { font-family: var(--sgl3-font-display); font-size: var(--sgl3-fs-kpi); font-weight: 600; line-height: 1.1; }
.sgl3-iv-unit { font-size: var(--sgl3-fs-caption); color: var(--sgl3-text-muted); }
.sgl3-iv-value[data-state="none"] { color: var(--sgl3-text-faint); font-weight: 500; }
.sgl3-iv-dash { font-family: var(--sgl3-font-mono); }
.sgl3-iv-caption { font-size: var(--sgl3-fs-caption); color: var(--sgl3-text-faint); }
.sgl3-iv-chip { display: inline-flex; align-items: center; gap: var(--sgl3-sp-1); padding: 2px var(--sgl3-sp-2); border: 1px solid var(--sgl3-ne-line); border-radius: var(--sgl3-radius-sm); font-size: var(--sgl3-fs-caption); font-weight: 600; white-space: nowrap; background: var(--sgl3-ne-bg); color: var(--sgl3-ne-fg); }
.sgl3-iv-chip[data-tone="at"] { color: var(--sgl3-at-fg); background: var(--sgl3-at-bg); border-color: var(--sgl3-at-line); }
.sgl3-iv-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sgl3-iv-value[data-band="met"] { color: var(--sgl3-ok-fg); }
.sgl3-iv-value[data-band="tolerance"] { color: var(--sgl3-at-fg); }
.sgl3-iv-value[data-band="missed"] { color: var(--sgl3-er-fg); }
.sgl3-iv-value[data-band] .sgl3-iv-unit { color: inherit; }
.sgl3-iv-band { font-size: var(--sgl3-fs-caption); font-weight: 600; color: var(--sgl3-text-muted); white-space: nowrap; }
.sgl3-iv-band[data-band-text="met"] { color: var(--sgl3-ok-fg); }
.sgl3-iv-band[data-band-text="tolerance"] { color: var(--sgl3-at-fg); }
.sgl3-iv-band[data-band-text="missed"] { color: var(--sgl3-er-fg); }
.sgl3-iv-target { font-family: var(--sgl3-font-mono); font-weight: 500; }
.sgl3-iv-budget { font-family: var(--sgl3-font-mono); }
button.sgl3-iv-rule { cursor: pointer; font-family: var(--sgl3-font-mono); font-weight: 500; }
button.sgl3-iv-rule:hover { border-color: var(--sgl3-ghost-line-hover); }
button.sgl3-iv-rule:focus-visible { outline: 2px solid var(--sgl3-focus); outline-offset: 2px; }
.sgl3-yield-filters { display: flex; align-items: flex-start; gap: var(--sgl3-sp-4); flex-wrap: wrap; }
.sgl3-yield-levels { display: inline-flex; border: 1px solid var(--sgl3-line-strong); border-radius: var(--sgl3-radius-sm); overflow: hidden; margin-top: var(--sgl3-sp-1); }
.sgl3-yield-levels button { border: 0; background: transparent; color: var(--sgl3-text); padding: 6px var(--sgl3-sp-3); font: inherit; cursor: pointer; }
.sgl3-yield-levels button + button { border-left: 1px solid var(--sgl3-line-strong); }
.sgl3-yield-levels button[aria-pressed="true"] { background: var(--sgl3-toggle-on-bg); color: var(--sgl3-toggle-on-fg); font-weight: 600; }
.sgl3-yield-levels button:focus-visible { outline: 2px solid var(--sgl3-focus); outline-offset: -2px; }
.sgl3-yield-caption { font-size: var(--sgl3-fs-caption); color: var(--sgl3-text-muted); }
.sgl3-yield-alert { display: flex; align-items: flex-start; gap: var(--sgl3-sp-3); padding: var(--sgl3-sp-3) var(--sgl3-sp-4); border: 1px solid var(--sgl3-at-line); border-radius: var(--sgl3-radius-sm); color: var(--sgl3-at-fg); background: var(--sgl3-at-bg); }
.sgl3-yield-alert[data-tone="er"] { color: var(--sgl3-er-fg); background: var(--sgl3-er-bg); border-color: var(--sgl3-er-line); }
.sgl3-yield-alert b { display: block; }
.sgl3-ir-kv { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: var(--sgl3-sp-2) var(--sgl3-sp-4); }
.sgl3-ir-kv dt { color: var(--sgl3-text-muted); font-size: var(--sgl3-fs-caption); }
.sgl3-ir-kv dd { margin: 0; }
.sgl3-ir-points { width: 100%; border-collapse: collapse; font-size: var(--sgl3-fs-caption); }
.sgl3-ir-points th { text-align: left; font-weight: 600; color: var(--sgl3-text-muted); border-bottom: 1px solid var(--sgl3-line-strong); padding: 4px 8px; }
.sgl3-ir-points td { border-bottom: 1px solid var(--sgl3-border); padding: 4px 8px; vertical-align: top; }
.sgl3-ir-points td:first-child { font-family: var(--sgl3-font-mono); color: var(--sgl3-text-faint); white-space: nowrap; }
.sgl3-ir-points td:last-child { font-weight: 600; }
.sgl3-oee-card { gap: var(--sgl3-sp-2); }
.sgl3-oee-card .sgl3-kpi-value { margin-bottom: 0; }
.sgl3-oee-dash { color: var(--sgl3-text-faint); font-family: var(--sgl3-font-mono); }
.sgl3-oee-caption { font-size: var(--sgl3-fs-caption); color: var(--sgl3-text-muted); }
.sgl3-oee-factors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sgl3-sp-1); }
.sgl3-oee-factor { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: var(--sgl3-sp-1) var(--sgl3-sp-2); border: 1px solid var(--sgl3-border); border-radius: var(--sgl3-radius-sm); }
.sgl3-oee-factor-label { font-family: var(--sgl3-font-mono); font-size: var(--sgl3-fs-eyebrow); color: var(--sgl3-text-muted); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sgl3-oee-factor [data-factor-value] { font-size: var(--sgl3-fs-caption); font-weight: 600; color: var(--sgl3-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sgl3-oee-factor [data-factor-value][data-state="none"] { color: var(--sgl3-text-faint); }
.sgl3-oee-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sgl3-sp-2); flex-wrap: wrap; margin-top: auto; padding-top: var(--sgl3-sp-2); border-top: 1px solid var(--sgl3-border); }
.sgl3-oee-foot-label { font-size: var(--sgl3-fs-caption); color: var(--sgl3-text-muted); }
.sgl3-oee-skeleton { display: flex; flex-direction: column; gap: var(--sgl3-sp-2); }
.sgl3-oee-skeleton span { display: block; height: 10px; border-radius: var(--sgl3-radius-sm); background: var(--sgl3-bg-gray); }
.sgl3-oee-skeleton .sgl3-oee-skeleton-value { height: 32px; width: 55%; }
.sgl3-oee-skeleton .sgl3-oee-skeleton-short { width: 70%; }
.sgl3-oee-error { display: flex; align-items: center; gap: var(--sgl3-sp-2); padding: var(--sgl3-sp-2) var(--sgl3-sp-3); border: 1px solid var(--sgl3-er-line); border-radius: var(--sgl3-radius-sm); color: var(--sgl3-er-fg); background: var(--sgl3-er-bg); font-size: var(--sgl3-fs-caption); }
.sgl3-oee-table { width: 100%; border-collapse: collapse; font-size: var(--sgl3-fs-caption); margin-bottom: var(--sgl3-sp-3); }
.sgl3-oee-table th { text-align: left; font-weight: 600; color: var(--sgl3-text-muted); border-bottom: 1px solid var(--sgl3-line-strong); padding: 4px 8px; }
.sgl3-oee-table td { border-bottom: 1px solid var(--sgl3-border); padding: 4px 8px; vertical-align: top; }
.sgl3-oee-table td:last-child { font-weight: 600; }
