/* ── Page-specific: Chart ── */
    .chart-wrap{position:relative;padding:0.75rem 1rem 0.5rem}
    .chart-svg-area{width:100%;height:140px}
    .chart-bar{transition:opacity 0.15s}
    .chart-bar:hover{opacity:0.85;cursor:pointer}
    .chart-x-labels{display:flex;justify-content:space-between;padding:0 1rem 0.75rem;font-size:0.625rem;color:var(--muted);font-family:'JetBrains Mono',monospace}
    .chart-legend{display:flex;gap:1rem;padding:0 1rem 0.75rem;font-size:0.6875rem;color:var(--muted);align-items:center}
    .chart-legend-dot{width:8px;height:8px;border-radius:2px;flex-shrink:0}
    .chart-legend-line{width:16px;height:2px;border-top:2px dashed #D97706;flex-shrink:0}

    /* ── Status Distribution bars ── */
    .dist-row{padding:0.625rem 0;border-bottom:1px solid rgba(0,0,0,0.04)}
    .dist-row:last-child{border-bottom:none}
    .dist-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:0.25rem}
    .dist-name{font-size:0.75rem;font-weight:600;color:var(--text);display:flex;align-items:center;gap:0.375rem}
    .dist-count{font-size:0.6875rem;font-family:'JetBrains Mono',monospace;color:var(--muted)}
    .dist-bar-bg{height:8px;background:rgba(0,0,0,0.06);border-radius:4px;overflow:hidden}
    .dist-bar-fill{height:100%;border-radius:4px;width:0;transition:width 0.9s ease}

    /* ── Alert table ── */
    .cert-expired{background:rgba(220,38,38,0.04)}
    .cert-warning{background:rgba(217,119,6,0.03)}

    /* ── Dipo table bar ── */
    .dipo-bar-bg{height:6px;width:100px;background:rgba(0,0,0,0.06);border-radius:3px;overflow:hidden;display:inline-block;vertical-align:middle;margin-left:6px}
    .dipo-bar-fill{height:100%;border-radius:3px;background:var(--kai-blue);transition:width 0.8s ease}

    /* ── WO / Defect list ── */
    .feed-item{display:flex;align-items:flex-start;gap:0.625rem;padding:0.625rem 1rem;border-bottom:1px solid rgba(0,0,0,0.04);font-size:0.8125rem;transition:background 0.15s;cursor:pointer}
    .feed-item:last-child{border-bottom:none}
    .feed-item:hover{background:rgba(0,48,130,0.03)}
    .feed-icon{width:28px;height:28px;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:0.75rem;flex-shrink:0;margin-top:1px}
    .feed-main{flex:1;min-width:0}
    .feed-title{font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .feed-sub{font-size:0.6875rem;color:var(--muted);margin-top:2px}
    .feed-meta{text-align:right;flex-shrink:0}
    .feed-time{font-size:0.6875rem;color:var(--muted)}
    .feed-status{margin-top:3px}

    /* ── Status pill ── */
    .pill{display:inline-flex;align-items:center;gap:0.25rem;padding:0.1rem 0.5rem;border-radius:100px;font-size:0.625rem;font-weight:700;white-space:nowrap}
    .pill-green{background:rgba(22,163,74,0.12);color:#15803D}
    .pill-amber{background:rgba(217,119,6,0.12);color:#92400E}
    .pill-red{background:rgba(220,38,38,0.12);color:#991B1B}
    .pill-blue{background:rgba(37,99,235,0.12);color:#1D4ED8}
    .pill-purple{background:rgba(124,58,237,0.12);color:#5B21B6}
    .pill-gray{background:rgba(100,116,139,0.12);color:#475569}
    .pill-done{background:rgba(22,163,74,0.12);color:#15803D}

    /* ── Cert status badge ── */
    .cert-badge{display:inline-flex;align-items:center;gap:0.25rem;font-size:0.6875rem;font-weight:600;white-space:nowrap}
    .cert-expired-txt{color:#DC2626}
    .cert-warning-txt{color:#D97706}
    .cert-ok-txt{color:#15803D}
