.operation-analysis { display: flex; flex-direction: column; min-height: 0; height: 100%; color: var(--text, #edf1f2); background: #0b0d0e; font-size: 14px; letter-spacing: 0; }
.operation-analysis[hidden], .operation-analysis [hidden] { display: none !important; }
.analysis-header { display: flex; align-items: center; gap: 6px; min-height: 56px; padding: 4px 10px; border-bottom: 1px solid #34393c; flex-shrink: 0; }
.analysis-header h3 { font-size: 16px; line-height: 1.4; margin: 0; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.operation-analysis .analysis-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 48px; min-height: 48px; padding: 8px; flex-shrink: 0; border: 1px solid #3b4144; border-radius: 4px; background: #141719; color: inherit; font: inherit; cursor: pointer; touch-action: manipulation; }
.operation-analysis .analysis-button svg { width: 18px; height: 18px; flex-shrink: 0; }
.operation-analysis .analysis-button:hover:not(:disabled) { border-color: var(--accent, #edf1f2); }
.operation-analysis .analysis-button:focus-visible { outline: 2px solid var(--accent, #edf1f2); outline-offset: -2px; }
.operation-analysis .analysis-button:disabled { opacity: .45; cursor: default; }
.analysis-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-y; flex: 1; }
.analysis-body::-webkit-scrollbar { display: none; }
.analysis-state { margin: 0; padding: 10px; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; border-bottom: 1px solid #292e30; }
.analysis-state[data-state="error"] { color: var(--danger, #ff4267); }
.analysis-state:empty { display: none; }
.analysis-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 10px; gap: 14px 10px; border-bottom: 1px solid #34393c; }
.analysis-metric { min-width: 0; display: grid; gap: 5px; }
.analysis-metric > span { font-size: 13px; color: var(--muted, #a8adb0); line-height: 1.4; overflow-wrap: anywhere; }
.analysis-metric > strong { font-size: 20px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.analysis-metric > small { font-size: 13px; color: var(--muted, #a8adb0); }
.analysis-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 10px; border: 1px solid #3b4144; border-radius: 4px; overflow: hidden; }
.operation-analysis .analysis-tabs .analysis-button { min-width: 0; width: 100%; border: 0; border-radius: 0; font-size: 13px; flex-wrap: wrap; }
.analysis-tabs .analysis-button + .analysis-button { border-left: 1px solid #3b4144; }
.analysis-tabs [aria-selected="true"] { color: var(--accent-strong, #edf1f2); background: var(--accent-soft, #ffffff12); }
.analysis-list { padding: 0; margin: 0; list-style: none; }
.analysis-row { border-top: 1px solid #292e30; padding: 10px; min-height: 56px; }
.analysis-row-heading { display: flex; gap: 8px; align-items: start; min-width: 0; }
.analysis-row-heading > span { flex: 1; min-width: 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.analysis-row-heading > strong { font-size: 16px; font-weight: 600; line-height: 1.4; text-align: right; flex-shrink: 0; max-width: 45%; overflow-wrap: anywhere; }
.analysis-row > small { display: block; margin-top: 5px; color: var(--muted, #a8adb0); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.analysis-row > summary { min-height: 48px; cursor: pointer; }
.analysis-row > summary > small { display: block; margin-top: 5px; font-size: 13px; color: var(--muted, #a8adb0); line-height: 1.45; overflow-wrap: anywhere; }
.analysis-row > summary:focus-visible { outline: 2px solid var(--accent, #edf1f2); outline-offset: 3px; }
.analysis-row > summary > small:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.analysis-key > div { min-width: 0; }
.analysis-key > div > small { display: block; color: var(--muted, #a8adb0); font-size: 13px; line-height: 1.4; }
.analysis-portals { display: grid; margin-top: 5px; gap: 3px; }
.operation-analysis .analysis-portal { display: flex; justify-content: flex-start; width: 100%; min-width: 0; border-color: transparent; background: transparent; padding-inline: 0; font-size: 13px; text-align: left; }
.analysis-portal > span { min-width: 0; overflow-wrap: anywhere; }
.analysis-key { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.analysis-key > strong { padding-right: 2px; font-size: 18px; font-weight: 600; }
.analysis-pagination { padding: 6px 10px 10px; display: flex; gap: 8px; justify-content: space-between; }
.analysis-pagination .analysis-button { flex: 1; }
.analysis-empty { padding: 20px 12px; margin: 0; color: var(--muted, #a8adb0); font-size: 14px; line-height: 1.5; text-align: center; }
.analysis-notes { margin: 0; padding: 8px 10px 8px 26px; color: var(--muted, #a8adb0); font-size: 13px; line-height: 1.5; }
.analysis-notes li + li { margin-top: 5px; }
.analysis-notes [data-severity="error"] { color: var(--danger, #ff4267); }
.analysis-provenance { margin: 0; padding: 10px; border-top: 1px solid #34393c; display: grid; gap: 7px; font-size: 13px; color: var(--muted, #a8adb0); line-height: 1.4; }
.analysis-provenance > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 8px; }
.analysis-provenance dt, .analysis-provenance dd { margin: 0; overflow-wrap: anywhere; }
.analysis-provenance dd { text-align: right; }
.operation-analysis[data-stale="true"] .analysis-metrics, .operation-analysis[data-stale="true"] .analysis-list { opacity: .65; }
@media (prefers-reduced-motion: no-preference) { .operation-analysis .analysis-button { transition: border-color 140ms, background-color 140ms; } }
@media (max-width: 400px) { .analysis-header { padding-inline: 8px; } .analysis-metrics { padding-inline: 8px; } }
