
.ut-pause {
  color: var(--text-tertiary);
  font-size: 0.82em;
  opacity: 0.7;
  font-variant-emoji: text;
}

.app-content:has(#report-page.active) {
  max-width: none;
  padding: var(--space-md) var(--space-lg);
}

.report-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: var(--space-md) 0;
}

.report-actions { display: contents; }

.report-select {
  padding: 8px 32px 8px 14px;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--glass-radius-xs);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text-primary);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  min-width: 150px;
  transition: all var(--transition-fast);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow:
    0 1px 6px rgba(0, 0, 0, 0.06),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.report-select:focus {
  outline: none;
  box-shadow:
    0 0 0 3px var(--brand-color-dim),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.55);
}

.report-select:hover {
  background: rgba(255, 255, 255, 0.70);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.60),
    inset 0 1px 0 rgba(255, 255, 255, 0.80);
}

.report-date-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--glass-radius-xs);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow:
    0 1px 6px rgba(0, 0, 0, 0.06),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.report-date-btn:hover {
  background: rgba(255, 255, 255, 0.70);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.60),
    inset 0 1px 0 rgba(255, 255, 255, 0.80);
}

.report-period {
  position: relative;
  display: inline-block;
}

.report-date-btn .rp-caret {
  color: var(--text-secondary);
  transition: transform 0.2s ease;
  margin-left: 2px;
}
.report-period.open .report-date-btn .rp-caret {
  transform: rotate(180deg);
}

.report-period-pop {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 300;
  min-width: 340px;
  padding: 16px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.14),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.report-period.open .report-period-pop {
  display: block;
  animation: rp-pop-in 0.16s ease;
}
@keyframes rp-pop-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rp-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.rp-range-field {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
}
.rp-range-field svg { color: var(--brand-color); }
.rp-range-field:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.10);
}

.rp-presets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.rp-preset {
  padding: 10px 12px;
  font-size: 0.86rem;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.rp-preset:hover {
  background: rgba(0, 0, 0, 0.07);
}
.rp-preset.active {
  background: var(--brand-color-dim);
  color: var(--brand-color);
  font-weight: 600;
  border-color: var(--brand-color);
}

.rp-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 14px 0;
}

.rp-compare {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-primary);
  user-select: none;
}
.rp-compare input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-color);
  cursor: pointer;
  flex-shrink: 0;
}

.rp-block-2 {
  margin-top: 14px;
}

.rp-fp-hidden {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  bottom: 0;
  left: 0;
}

.rt-compare-section { margin-bottom: 26px; }
.rt-compare-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 12px;
  padding-left: 2px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.rt-per-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  text-transform: uppercase;
}
.rt-per-sq {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
}
.rt-per-a          { color: #EC3A39; }
.rt-per-a .rt-per-sq { background: #EC3A39; }
.rt-per-b          { color: #6b6fd6; }
.rt-per-b .rt-per-sq { background: #6b6fd6; }
.rt-per-range {
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
}
.rt-cell-val { display: block; }

.rt-compare-toolbar {
  display: flex;
  justify-content: flex-start;
  margin: 4px 0 14px;
}
.rt-detail-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.045);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.rt-detail-toggle:hover {
  background: var(--brand-color-dim);
  border-color: var(--brand-color);
  color: var(--brand-color);
}
.rt-detail-chev { font-size: 0.7rem; }

.rt-delta {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 1px;
  line-height: 1.1;
}
.rt-delta-up   { color: #1a9d5a; }
.rt-delta-down { color: #d34b4b; }
.rt-delta-flat { color: var(--text-secondary); }

.report-presets {
  display: flex;
  align-items: stretch;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 10px;
  overflow: visible;
  position: relative;
  padding: 2px;
}

.preset-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow:
    0 1px 6px rgba(0, 0, 0, 0.07),
    0 0.5px 1px rgba(0, 0, 0, 0.04),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  z-index: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, width;
}

.preset-btn {
  padding: 7px 14px;
  font-size: 0.85rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  border-right: none;
  border-radius: 8px;
  position: relative;
}

.preset-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  color: var(--text-primary);
}

.preset-btn.active {
  background: transparent;
  color: var(--brand-color);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.preset-dropdown-wrap {
  position: relative;
}

.preset-more-btn {
  padding: 7px 12px;
  font-size: 0.8rem;
}

.preset-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--glass-radius-sm);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  z-index: 100;
  min-width: 180px;
  overflow: hidden;
}

.preset-dropdown.open {
  display: block;
}

.preset-dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  font-size: 0.85rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  color: var(--text-primary);
}

.preset-dropdown-item.active {
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  color: var(--brand-color);
  font-weight: 600;
}

.report-groupings-btn {
  margin-left: 12px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  border-radius: var(--glass-radius-xs);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow:
    0 1px 6px rgba(0, 0, 0, 0.06),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.report-groupings-btn:hover {
  background: rgba(255, 255, 255, 0.70);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.60),
    inset 0 1px 0 rgba(255, 255, 255, 0.80);
}

#report-table-area {
  margin-top: var(--space-sm);
}

.rt-wrap {
  overflow-x: auto;
  padding-bottom: var(--space-sm);
}

.rt-table {
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.85rem;
  line-height: 1.4;
  white-space: nowrap;
}

.rt-th {
  padding: 6px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-color);
  cursor: pointer;
  user-select: none;
  border-bottom: 2px solid rgba(236, 58, 57, 0.15);
  transition: color var(--transition-fast);
  background: rgba(236, 58, 57, 0.03);
  overflow: hidden;
  text-overflow: ellipsis;
}

.rt-th:hover {
  color: var(--brand-color);
}

.rt-th-active {
  color: var(--text-primary);
}

.rt-td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--table-border);
  vertical-align: middle;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
}

.rt-table tbody tr,
.rt-table thead tr {
  height: 34px;
}

.rt-table tbody tr:hover .rt-td {
  background: var(--table-row-hover);
}

.rt-td-drill {
  color: var(--brand-color);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}

.rt-td-drill:hover {
  color: var(--brand-color-hover);
  text-decoration-style: solid;
}

.rt-td-total {
  font-weight: 700;
  background: var(--table-total-bg);
  border-bottom: none;
  border-top: 2px solid rgba(236, 58, 57, 0.15);
}

.rt-row-inactive .rt-td {
  color: var(--text-tertiary);
  background-image: linear-gradient(rgba(0, 0, 0, 0.015), rgba(0, 0, 0, 0.015));
}

.rt-th-sticky, .rt-td-sticky {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #f3f5f7;
  box-shadow: 2px 0 4px rgba(0,0,0,0.06);
}
.rt-th-sticky {
  z-index: 3;
  background: #f4f1f1;
}
.rt-table tbody tr:hover .rt-td-sticky {
  background: #f0eaea;
}
.rt-row-inactive .rt-td-sticky {
  background: #f0f1f2;
}
.rt-td-total.rt-td-sticky {
  background: #f2eeee;
}

.rt-th:first-child,
.rt-td:first-child {
  text-align: left;
  width: 290px;
  min-width: 290px;
  max-width: 290px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rt-th:not(:first-child),
.rt-td:not(:first-child) {
  text-align: right;
  width: 90px;
}

#report-drill-area {
  margin-top: 12px;
}

.mp-panel {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--glass-radius);
  padding: 20px;
  margin-bottom: var(--space-md);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.mp-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9) 20%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.9) 80%, transparent);
  pointer-events: none;
}

.mp-columns {
  display: flex;
  gap: 32px;
}

.mp-left {
  flex: 0 0 auto;
  min-width: 160px;
}

.mp-right {
  flex: 1 1 auto;
  min-width: 0;
}

.mp-section-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.mp-hint {
  font-weight: 400;
  color: var(--text-tertiary);
  font-size: 0.8rem;
}

.mp-metrics-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.mp-metric-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.mp-clear-btn,
.mp-keymetrics-btn {
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: var(--glass-radius-xs);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}
.mp-clear-btn {
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.60);
  color: var(--text-secondary);
}
.mp-clear-btn:hover { background: rgba(255, 255, 255, 0.90); color: var(--text-primary); }
.mp-keymetrics-btn {
  border: 1px solid rgba(236, 58, 57, 0.30);
  background: rgba(236, 58, 57, 0.10);
  color: var(--brand-color);
}
.mp-keymetrics-btn:hover { background: rgba(236, 58, 57, 0.18); }

.mp-groupings {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.mp-group-slider {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow:
    0 1px 6px rgba(0, 0, 0, 0.07),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  z-index: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, width, height;
}

.mp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.60);
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  user-select: none;
}

.mp-chip:hover {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.80);
  color: var(--text-primary);
}

.mp-chip-active {
  background: transparent;
  color: var(--brand-color);
  font-weight: 600;
  border-color: transparent;
  position: relative;
  z-index: 1;
}

.mp-chip-active:hover {
  background: transparent;
  border-color: transparent;
  color: var(--brand-color);
}

.mp-active-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 40px;
  padding: 8px;
  border: 1px dashed rgba(0, 0, 0, 0.10);
  border-radius: var(--glass-radius-sm);
  background: rgba(255, 255, 255, 0.40);
  margin-bottom: var(--space-md);
}

.mp-metric-chip {
  background: var(--brand-color-dim);
  border-color: rgba(236, 58, 57, 0.20);
  color: #B31C1B;
  padding: 5px 10px 5px 8px;
  cursor: grab;
}

.mp-metric-chip:active {
  cursor: grabbing;
}

.mp-metric-chip:hover {
  background: rgba(236, 58, 57, 0.15);
  border-color: rgba(236, 58, 57, 0.30);
  color: var(--brand-color);
}

.mp-chip-grip {
  font-size: 0.75rem;
  color: rgba(236, 58, 57, 0.35);
  cursor: grab;
  line-height: 1;
}

.mp-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: none;
  background: rgba(236, 58, 57, 0.12);
  color: #B31C1B;
  border-radius: 50%;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-fast);
}

.mp-chip-remove:hover {
  background: rgba(236, 58, 57, 0.25);
}

.mp-chip-ghost {
  opacity: 0.4;
}

.mp-chip-chosen {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.mp-pool-section {
  margin-bottom: 12px;
}

.mp-pool-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mp-pool {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mp-pool-chip {
  background: transparent;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  color: var(--text-tertiary);
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mp-pool-chip:hover {
  background: var(--brand-color-dim);
  border-color: var(--brand-color);
  color: var(--brand-color);
  border-style: solid;
}

.mp-pool-empty {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-style: italic;
}

.mp-actions {
  display: flex;
  gap: 10px;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mp-apply-btn {
  padding: 8px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--glass-radius-xs);
  background: var(--brand-color);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.mp-apply-btn:hover {
  background: var(--brand-color-hover);
}

.mp-cancel-btn {
  padding: 8px 18px;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: var(--glass-radius-xs);
  background: rgba(255, 255, 255, 0.60);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mp-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-primary);
}

.mp-reset-btn {
  padding: 8px 18px;
  font-size: 0.85rem;
  border: none;
  border-radius: var(--glass-radius-xs);
  background: transparent;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color var(--transition-fast);
  margin-left: auto;
}

.mp-reset-btn:hover {
  color: var(--text-secondary);
}

.report-filter-btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  border-radius: var(--glass-radius-xs);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow:
    0 1px 6px rgba(0, 0, 0, 0.06),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.report-filter-btn:hover {
  background: rgba(255, 255, 255, 0.70);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.60),
    inset 0 1px 0 rgba(255, 255, 255, 0.80);
}

.fp-btn-active {
  background: var(--brand-color-dim);
  color: var(--brand-color);
  font-weight: 600;
}

.fp-panel {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--glass-radius);
  padding: 20px;
  margin-bottom: var(--space-md);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.fp-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9) 20%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.9) 80%, transparent);
  pointer-events: none;
}

.fp-columns {
  display: flex;
  gap: 32px;
}

.fp-left {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
}

.fp-right {
  flex: 1 1 auto;
  min-width: 0;
}

.fp-section-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.fp-search {
  width: 100%;
  padding: 7px 12px;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: var(--glass-radius-xs);
  background: rgba(255, 255, 255, 0.60);
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.fp-search:focus {
  border-color: var(--brand-color);
  box-shadow: 0 0 0 3px var(--brand-color-dim);
}

.fp-select-all {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 8px 0 4px;
  cursor: pointer;
  font-weight: 600;
}

.fp-bundle-list {
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--glass-radius-xs);
  background: rgba(255, 255, 255, 0.40);
  padding: 4px;
}

.fp-bundle-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  font-size: 0.85rem;
  color: var(--text-primary);
  cursor: pointer;
  border-radius: 6px;
  transition: background var(--transition-fast);
}

.fp-bundle-item:hover {
  background: rgba(255, 255, 255, 0.55);
}

.fp-bundle-item input[type="checkbox"] {
  accent-color: var(--brand-color);
}

.fp-empty {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  font-style: italic;
  padding: 8px;
}

.fp-num-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.fp-num-metric,
.fp-num-op {
  padding: 7px 10px;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: var(--glass-radius-xs);
  background: rgba(255, 255, 255, 0.60);
  color: var(--text-primary);
  cursor: pointer;
  outline: none;
}

.fp-num-metric:focus,
.fp-num-op:focus {
  border-color: var(--brand-color);
}

.fp-num-value {
  width: 90px;
  padding: 7px 10px;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: var(--glass-radius-xs);
  background: rgba(255, 255, 255, 0.60);
  color: var(--text-primary);
  outline: none;
}

.fp-num-value:focus {
  border-color: var(--brand-color);
  box-shadow: 0 0 0 3px var(--brand-color-dim);
}

.fp-num-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(239, 68, 68, 0.08);
  color: #EF4444;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition-fast);
  flex-shrink: 0;
}

.fp-num-remove:hover {
  background: rgba(239, 68, 68, 0.18);
}

.fp-add-filter {
  padding: 6px 14px;
  font-size: 0.82rem;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  background: transparent;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.fp-add-filter:hover {
  background: var(--brand-color-dim);
  border-color: var(--brand-color);
  color: var(--brand-color);
  border-style: solid;
}

.fp-actions {
  display: flex;
  gap: 10px;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.fp-apply-btn {
  padding: 8px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--glass-radius-xs);
  background: var(--brand-color);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.fp-apply-btn:hover {
  background: var(--brand-color-hover);
}

.fp-reset-btn {
  padding: 8px 18px;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: var(--glass-radius-xs);
  background: rgba(255, 255, 255, 0.60);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.fp-reset-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-primary);
}

.report-filters .ov-export-btn {
  margin-left: 6px;
}

.mp-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
}
.mp-checkbox input[type="checkbox"] {
  cursor: pointer;
  accent-color: var(--accent, #4a8eff);
}
.mp-checkbox input[type="checkbox"]:disabled + span {
  opacity: 0.45;
  cursor: not-allowed;
}

.rt-row-flow-sum td {
  background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.04));
  color: var(--text-secondary);
  font-weight: 500;
}
.rt-row-flow-sum td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
}
.rt-row-flow-sum:hover td {
  background-image: linear-gradient(rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.06));
}
.rt-flow-chev {
  display: inline-block;
  width: 14px;
  color: var(--text-secondary);
  margin-right: 4px;
  font-size: 0.8rem;
}
.rt-row-flow-child td {
  background-image: linear-gradient(rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02));
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.rt-td-flow-child-name {
  padding-left: 28px !important;
}
.rt-flow-from {
  color: var(--text-tertiary, #8a8f95);
  font-size: 0.78rem;
  margin-left: 6px;
}

