.eff-screen { display: flex; flex-direction: column; gap: 10px; padding-bottom: 8px; }
.eff-stack { display: flex; flex-direction: column; gap: 10px; }
.eff-card {
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}
.eff-top-grid > .eff-card {
  min-height: 110px;
  display: flex;
  flex-direction: column;
}
.eff-kicker {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #94a3b8;
}
.eff-card > .kpi-head {
  margin-bottom: 0;
}
.eff-top-grid > .eff-card > .kpi-head,
.eff-speed > .kpi-head {
  margin-bottom: 6px;
}
.eff-card > .kpi-head .eff-section-title {
  flex: 1;
  min-width: 0;
}
.eff-card > .kpi-head + .eff-reason-list,
.eff-card > .kpi-head + .empty {
  margin-top: 10px;
}
.eff-hero {
  margin: 6px 0 0;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.eff-lead { margin: 8px 0 0; font-size: 12px; font-weight: 500; color: #64748b; }
.eff-speed-grid, .eff-top-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eff-abort { display: flex; flex-direction: column; justify-content: space-between; }
.eff-abort-val { display: flex; align-items: flex-end; gap: 8px; margin-top: 8px; }
.eff-abort-sub {
  margin: 0 0 2px;
  font-size: 10px;
  font-weight: 500;
  color: #64748b;
}
.eff-abort-trend {
  margin: 8px 0 0;
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
}
.eff-abort-trend.is-bad { color: #e11d48; }
.eff-abort-trend.is-good { color: #047857; }
.eff-reason-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.eff-reason { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.eff-reason-name {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #334155;
}
.eff-reason-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #94a3b8;
}
.eff-reason-dot.is-warn { background: #d97706; }
.eff-reason-dot.is-bad { background: #e11d48; }
.eff-reason-n {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.eff-speed {
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
  min-height: 110px;
  display: flex;
  flex-direction: column;
}
.eff-top-grid > .eff-card .kpi-body,
.eff-speed .kpi-body,
.eff-abort .kpi-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  margin-top: auto;
  gap: 8px;
}
.eff-top-grid > .eff-card .kpi-value-block,
.eff-speed .kpi-value-block,
.eff-abort .kpi-value-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.eff-top-grid > .eff-card .kpi-value-row,
.eff-speed .kpi-value-row,
.eff-abort .kpi-value-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 2px;
}
.eff-top-grid > .eff-card .kpi-value,
.eff-speed .kpi-value,
.eff-abort .kpi-value {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: #0f172a;
}
.eff-top-grid > .eff-card .kpi-subvalue,
.eff-speed .kpi-subvalue,
.eff-abort .kpi-subvalue {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}
.eff-top-grid > .eff-card .kpi-trend,
.eff-speed .kpi-trend,
.eff-abort .kpi-trend {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}
.eff-top-grid > .eff-card .kpi-trend.up,
.eff-speed .kpi-trend.up,
.eff-abort .kpi-trend.up { color: #059669; }
.eff-top-grid > .eff-card .kpi-trend.down,
.eff-speed .kpi-trend.down,
.eff-abort .kpi-trend.down { color: #e11d48; }
.eff-top-grid > .eff-card .kpi-trend.blue,
.eff-speed .kpi-trend.blue { color: #2563eb; }
.kpi-mini-chart {
  width: 44px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.kpi-mini-ruler {
  width: 44px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.mini-ruler-labels {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 4px;
}
.mini-ruler-track {
  width: 100%;
  height: 4px;
  background: #f1f5f9;
  border-radius: 2px;
  position: relative;
  margin-bottom: 2px;
}
.mini-ruler-indicator {
  position: absolute;
  bottom: -2px;
  width: 4px;
  height: 8px;
  background: #2563eb;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(37,99,235,0.3);
}
.eff-speed-val {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.eff-speed-val.is-lg { font-size: 22px; }
.eff-unit { margin: 6px 0 0; font-size: 10px; font-weight: 500; color: #94a3b8; }
.eff-rail { position: relative; height: 28px; margin-top: 12px; }
.eff-rail-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 13px;
  height: 1px;
  background: #e2e8f0;
}
.eff-mark {
  position: absolute;
  top: 9px;
  width: 1px;
  height: 8px;
  background: #cbd5e1;
}
.eff-mark.is-norm { height: 14px; background: #94a3b8; }
.eff-needle {
  position: absolute;
  top: 6px;
  width: 6px;
  height: 16px;
  margin-left: -3px;
  border-radius: 2px;
}
.eff-needle.is-kso { background: #3b82f6; }
.eff-needle.is-till { background: #10b981; }
.eff-rail-labs {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}
.eff-status {
  margin: 4px 0 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.eff-status.is-kso { color: #2563eb; }
.eff-status.is-till { color: #047857; }
.eff-status.is-slow { color: #d97706; }
.eff-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 8px;
}
.eff-section-title {
  margin: 0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.eff-legend {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  white-space: nowrap;
}
.eff-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  vertical-align: middle;
}
.eff-dot.is-kso { background: #2563eb; }
.eff-dot.is-till { background: #10b981; }
.eff-progress-list { display: flex; flex-direction: column; gap: 10px; }
.eff-progress {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}
.eff-progress-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.eff-progress-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eff-progress-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.eff-progress-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
}
.eff-progress-sub {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: #94a3b8;
}
.eff-progress-track {
  height: 4px;
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  background: #f1f5f9;
}
.eff-progress-fill {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: #2563eb;
}
.eff-cashier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
}
.eff-cashier:last-child { margin-bottom: 0; }
.eff-cashier-who { display: flex; min-width: 0; align-items: center; gap: 12px; }
.eff-avatar {
  display: flex;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  font-size: 12px;
  font-weight: 700;
}
.eff-cashier-copy { display: flex; min-width: 0; flex-direction: column; }
.eff-cashier-copy b {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0f172a;
}
.eff-cashier-copy small { font-size: 10px; font-weight: 500; color: #94a3b8; }
.eff-cashier-copy small.is-fast { color: #059669; }
.eff-cashier-copy small.is-slow { color: #d97706; }
.eff-cashier-nums { display: flex; flex-shrink: 0; flex-direction: column; align-items: flex-end; padding-left: 8px; }
.eff-cashier-nums b { font-size: 13px; color: #0f172a; font-variant-numeric: tabular-nums; }
.eff-cashier-nums small { font-size: 10px; color: #94a3b8; }
.eff-delta {
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}
.eff-delta.is-up { border-color: #d1fae5; background: #ecfdf5; color: #047857; }
.eff-delta.is-down { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.eff-picker { position: relative; }
.eff-picker-btn {
  display: flex;
  width: 100%;
  height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.eff-picker-btn:focus-visible { outline: none; box-shadow: 0 0 0 2px #94a3b8; }
.eff-picker-btn svg { width: 14px; height: 14px; flex-shrink: 0; color: #94a3b8; }
.eff-picker-label {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1e293b;
}
.eff-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #94a3b8;
  transition: transform 0.15s ease;
}
.eff-caret.is-open { transform: rotate(180deg); }
.eff-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 256px;
  overflow: auto;
  padding: 6px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.eff-opt {
  display: flex;
  min-height: 44px;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: none;
  text-align: left;
  cursor: pointer;
}
.eff-opt.is-on, .eff-opt:hover { background: #f8fafc; }
.eff-check {
  display: flex;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
}
.eff-check.is-on { border-color: #0f172a; background: #0f172a; color: #fff; }
.eff-check svg { width: 12px; height: 12px; }
.eff-opt-copy { min-width: 0; flex: 1; }
.eff-opt-title { display: block; overflow: hidden; font-size: 12px; font-weight: 700; text-overflow: ellipsis; color: #0f172a; }
.eff-opt-sub { display: block; font-size: 10px; font-weight: 500; color: #94a3b8; }
.eff-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.eff-tag {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
}
.eff-tag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eff-tag svg { width: 12px; height: 12px; flex-shrink: 0; color: #94a3b8; }
.eff-seg {
  display: flex;
  width: 100%;
  gap: 2px;
  padding: 4px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.eff-seg-btn {
  height: auto;
  padding: 6px 2px;
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.eff-seg-btn.is-on { background: #059669; color: #fff; font-weight: 700; box-shadow: 0 3px 8px rgba(5, 150, 105, 0.2); }
.eff-seg-btn:focus-visible { outline: none; box-shadow: 0 0 0 2px #94a3b8; }
.eff-dates { display: flex; flex-direction: column; gap: 8px; }
.eff-seg--dates .eff-seg-btn {
  font-size: 10px;
  color: #94a3b8;
}
.eff-seg--dates .eff-seg-btn.is-on {
  background: #059669;
  color: #fff;
  box-shadow: 0 3px 8px rgba(5, 150, 105, 0.2);
}
.eff-date-range { margin: 0; }
.eff-hint { margin: 0; font-size: 11px; font-weight: 500; color: #94a3b8; }
@media (prefers-reduced-motion: reduce) {
  .eff-caret { transition: none; }
}
