.performance-hub { display: flex; flex-direction: column; min-height: 0; min-width: 0; width: 100%; padding: 0; flex: 1; overflow: hidden; }
.performance-tabs { display: flex; gap: 8px; padding: 12px 22px; background: #343852; flex-shrink: 0; }
.performance-tabs button { font: inherit; font-weight: 600; padding: 10px 25px; border-radius: 10px; border: 1px solid #72758b; background: transparent; color: white; cursor: pointer; }
.performance-tabs button[aria-selected="true"] { background: #6175ff; border-color: #6175ff; }
.performance-tabs button:disabled { opacity: .5; cursor: not-allowed; }
.performance-panel { display: flex; flex: 1; min-height: 0; min-width: 0; overflow: hidden; }
.filler-performance { --fp-ink: #343852; --fp-line: #dfe7ed; --fp-green: #187a55; flex: 1; min-width: 0; min-height: 0; overflow-y: auto; padding: clamp(16px,2.2vw,36px); color: var(--fp-ink); background: radial-gradient(ellipse at top right,#e4f2ed,transparent 55%),#f5f7fa; }
.filler-performance *, .fp-dialog * { box-sizing: border-box; }
.filler-performance p, .fp-dialog p { color: #66768a; margin: 7px 0; font-size: 13px; line-height: 1.6; }
.fp-intro { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 24px; }
.fp-intro h2 { font-size: clamp(24px,2vw,34px); font-weight: 700; letter-spacing: -.025em; margin: 8px 0; }
.fp-intro .fp-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--fp-green); }
.fp-zone { padding: 10px 16px; border: 1px solid #c5ded0; border-radius: 24px; background: #ffffff9c; font-size: 12px; white-space: nowrap; }
.filler-performance .fp-filters { display: grid; grid-template-columns: repeat(3,minmax(110px,1fr)) minmax(150px,1.5fr) auto; align-items: end; gap: 12px; width: 100%; margin: 0; padding: 20px; border: 1px solid var(--fp-line); border-radius: 16px; background: white; }
.filler-performance label { display: grid; gap: 7px; font-size: 12px; font-weight: 600; color: #637389; min-width: 0; margin: 0; }
.filler-performance input,.filler-performance select { font: inherit; font-size: 14px; width: 100%; min-width: 0; height: 44px; padding: 9px 12px; border: 1px solid #d5dfeb; border-radius: 9px; color: var(--fp-ink); background: #f9fbfc; margin: 0; }
.filler-performance button { font: inherit; font-size: 13px; cursor: pointer; color: var(--fp-ink); border: 1px solid #d5dfeb; border-radius: 9px; background: #f7fafc; padding: 10px 14px; min-height: 40px; }
.filler-performance button:hover { background: #e7f1ed; border-color: #a3caba; }
.filler-performance .fp-primary { background: var(--fp-green); color: white; border: 0; min-height: 44px; }
.filler-performance .fp-primary:hover { background: #11603f; }
.filler-performance button:disabled { opacity: .45; cursor: default; }
.filler-performance :is(button,input,select):focus-visible,.performance-tabs button:focus-visible { outline: 3px solid #8198ed; outline-offset: 3px; }
.fp-summary { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; margin: 20px 0; }
.fp-summary article { display: flex; flex-direction: column; gap: 9px; padding: 20px; border: 1px solid var(--fp-line); border-radius: 14px; background: #ffffffdf; border-top: 3px solid #99c9b6; }
.fp-summary span { font-size: 12px; font-weight: 600; }
.fp-summary strong { font-size: 25px; letter-spacing: -.02em; line-height: 1.2; }
.fp-summary small { font-size: 11px; color: #68778d; }
.fp-chart-card,.fp-results { background: white; border: 1px solid var(--fp-line); border-radius: 16px; padding: 22px; margin-top: 20px; }
.filler-performance h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.fp-chart-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 16px; }
.fp-chart-heading label { min-width: 200px; }
.fp-comparison { display: grid; grid-template-columns: minmax(220px,260px) minmax(0,1fr); gap: 18px; align-items: start; margin-top: 20px; }
.fp-comparison .fp-chart-card { margin-top: 0; min-width: 0; }
.fp-drivers { padding: 22px; background: #fff; border: 1px solid var(--fp-line); border-radius: 16px; min-width: 0; }
.fp-drivers > label { margin-top: 16px; }
.fp-driver-actions { display: flex; gap: 8px; margin-top: 12px; }
.fp-driver-list { display: grid; gap: 6px; max-height: 350px; overflow-y: auto; padding: 4px; }
.filler-performance .fp-driver-option { display: flex; align-items: center; gap: 9px; cursor: pointer; border: 1px solid transparent; padding: 9px 7px; border-radius: 8px; color: var(--fp-ink); font-size: 13px; }
.fp-driver-option:hover { background: #f0f6f3; }
.fp-driver-option:has(input:checked) { background: #eff6f3; border-color: #d4e7dc; }
.filler-performance .fp-driver-option input { appearance: auto; width: 17px; height: 17px; flex: 0 0 17px; padding: 0; border-radius: 3px; accent-color: var(--fp-green); }
.fp-driver-swatch { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; }
.fp-driver-option span:last-child { overflow-wrap: anywhere; }
.fp-driver-option small { display: block; color: #66768a; font-size: 10px; }
.fp-chart-controls { display: flex; flex-wrap: wrap; gap: 12px; }
.fp-chart-controls label { min-width: 140px; flex: 1; }
.fp-comparison .fp-chart-heading { flex-wrap: wrap; }
.fp-chart-scroll { max-height: 520px; overflow-y: auto; }
.fp-driver-summary td { font-variant-numeric: tabular-nums; }
.fp-canvas { height: 320px; position: relative; }
.fp-table-scroll { overflow-x: auto; max-height: 600px; }
.filler-performance table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12px; }
.filler-performance th { background: #069c57; color: white; position: sticky; top: 0; z-index: 1; white-space: nowrap; }
.filler-performance th,.filler-performance td { padding: 12px; text-align: left; border-bottom: 1px solid #e7edf2; }
.filler-performance tbody tr:nth-child(even) { background: #f7f9fb; }
.filler-performance td { min-width: 110px; }
.filler-performance td small { display: block; color: #728197; margin-top: 4px; }
.fp-pager { display: flex; gap: 16px; align-items: center; justify-content: flex-end; font-size: 12px; padding-top: 16px; }
.fp-dialog { position: fixed; inset: 0; margin: auto; padding: 0; width: min(760px,calc(100vw - 24px)); max-height: calc(100dvh - 32px); overflow: auto; border: 0; border-radius: 16px; background: white; color: #343852; box-shadow: 0 20px 70px #18243744; }
.fp-dialog::backdrop { background: #18243788; }
.fp-dialog header { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #343852; color: white; padding: 18px 24px; position: sticky; top: 0; }
.fp-dialog h3 { font-size: 18px; margin: 0; }
.fp-dialog .productClose { background: transparent; border: 0; color: white; padding: 0; cursor: pointer; }
.fp-dialog .productClose i { margin: 0; font-size: 28px; }
.fp-evidence { padding: 24px; }
.fp-evidence h4 { margin: 22px 0 12px; font-size: 15px; }
.fp-evidence-item { padding: 14px 16px; border-radius: 10px; border: 1px solid #dfe7ed; margin-bottom: 10px; background: #f8fafc; font-size: 13px; }
@media(max-width:1200px) { .fp-summary { grid-template-columns: repeat(3,minmax(0,1fr)); } .filler-performance .fp-filters { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:900px) { .fp-comparison { grid-template-columns: minmax(0,1fr); } .fp-driver-list { grid-template-columns: repeat(2,minmax(0,1fr)); max-height: 200px; } }
@media(max-width:650px) { .fp-intro { display: block; } .fp-zone { display: inline-block; margin-top: 10px; } .fp-summary { grid-template-columns: repeat(2,minmax(0,1fr)); } .filler-performance .fp-filters { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 14px; } .fp-summary article { padding: 14px; } .fp-chart-heading { flex-direction: column; } .fp-chart-heading label { width: 100%; } .fp-chart-card,.fp-results { padding: 14px; } }
@media(max-width:650px) { .fp-drivers { padding: 14px; } .fp-chart-controls { width: 100%; } .fp-chart-controls label { min-width: 0; } }
