/* =====================================================================
   餐厅包间预订 · 管理后台 —— "宴金黄"黑金商家风（2026-07-19 视觉焕新）
   色板镜像 frontend/uniapp/styles/tokens.scss，两端品牌统一。
   class 名与旧版保持一致，页面模板零改动即可换肤。
   ===================================================================== */

:root {
  /* ---------- 品牌色板（宴金黄系） ---------- */
  --brand: #F6A100;          /* 主操作、选中态、强调 */
  --brand-deep: #D98E00;     /* 按压/hover 深色 */
  --brand-light: #FFF6E0;    /* 浅色底（标签/卡片强调区） */
  --price-red: #FF3B30;      /* 价格/促销 */
  --success: #07C160;        /* 已核销/成功 */
  --warning: #FF9500;        /* 待到店/提醒 */
  --danger: #FA5151;         /* 取消/异常 */
  --info: #576B95;           /* 已完成/信息 */

  /* 兼容旧变量名（页面与旧 class 仍在引用） */
  --primary: var(--brand);
  --primary-light: #F9BD4D;
  --primary-dark: var(--brand-deep);

  /* ---------- 中性色 ---------- */
  --text-main: #1A1A1A;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border: #EEEEEE;
  --bg: #F5F6F8;
  --card-bg: #FFFFFF;

  /* ---------- 黑金侧栏 ---------- */
  --sidebar-bg: #232323;
  --sidebar-item: #A6A6A6;
  --sidebar-active: rgba(246, 161, 0, 0.14);

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* ---------- Element Plus 全局换肤（v2.7 CSS 变量） ---------- */
  --el-color-primary: #F6A100;
  --el-color-primary-light-3: #F9BD4D;
  --el-color-primary-light-5: #FAD080;
  --el-color-primary-light-7: #FCE3B3;
  --el-color-primary-light-8: #FEEECC;
  --el-color-primary-light-9: #FFF6E0;
  --el-color-primary-dark-2: #D98E00;

  --el-color-success: #07C160;
  --el-color-success-light-3: #51D48F;
  --el-color-success-light-5: #83E0AF;
  --el-color-success-light-7: #B2F0D2;
  --el-color-success-light-8: #CAF5E3;
  --el-color-success-light-9: #E6F8EF;
  --el-color-success-dark-2: #069A4D;

  --el-color-warning: #FF9500;
  --el-color-warning-light-3: #FFB34D;
  --el-color-warning-light-5: #FFCA80;
  --el-color-warning-light-7: #FFE1B3;
  --el-color-warning-light-8: #FFECCC;
  --el-color-warning-light-9: #FFF7E6;
  --el-color-warning-dark-2: #CC7700;

  --el-color-danger: #FA5151;
  --el-color-danger-light-3: #FB8585;
  --el-color-danger-light-5: #FCA8A8;
  --el-color-danger-light-7: #FDCACA;
  --el-color-danger-light-8: #FEDCDC;
  --el-color-danger-light-9: #FEEDED;
  --el-color-danger-dark-2: #C84141;

  --el-color-error: #FA5151;
  --el-color-error-light-3: #FB8585;
  --el-color-error-light-5: #FCA8A8;
  --el-color-error-light-7: #FDCACA;
  --el-color-error-light-8: #FEDCDC;
  --el-color-error-light-9: #FEEDED;
  --el-color-error-dark-2: #C84141;

  --el-color-info: #576B95;
  --el-color-info-light-3: #8997B4;
  --el-color-info-light-5: #ABB5CA;
  --el-color-info-light-7: #CFD5E2;
  --el-color-info-light-8: #DEE2EB;
  --el-color-info-light-9: #EEF0F5;
  --el-color-info-dark-2: #465677;

  --el-text-color-primary: #1A1A1A;
  --el-text-color-regular: #666666;
  --el-text-color-secondary: #999999;
  --el-text-color-placeholder: #BBBBBB;
  --el-border-color: #E5E5E5;
  --el-border-color-light: #EEEEEE;
  --el-border-color-lighter: #F2F2F2;
  --el-border-color-extra-light: #F7F7F7;
  --el-bg-color: #FFFFFF;
  --el-bg-color-page: #F5F6F8;
  --el-bg-color-overlay: #FFFFFF;
  --el-border-radius-base: 6px;
  --el-border-radius-small: 4px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body, #app {
  height: 100%;
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg);
}

::selection {
  background: #FCE3B3;
}

/* ================= Element Plus 组件微调 ================= */
/* 主按钮：金底深字（美团商家风），hover/按压走深浅档 */
.el-button--primary {
  --el-button-bg-color: var(--brand);
  --el-button-border-color: var(--brand);
  --el-button-hover-bg-color: var(--primary-light);
  --el-button-hover-border-color: var(--primary-light);
  --el-button-active-bg-color: var(--brand-deep);
  --el-button-active-border-color: var(--brand-deep);
  --el-button-text-color: #232323;
  --el-button-hover-text-color: #232323;
  --el-button-active-text-color: #232323;
  font-weight: 600;
}

.el-button--primary.is-plain {
  --el-button-bg-color: var(--brand-light);
  --el-button-border-color: #FCE3B3;
  --el-button-text-color: var(--brand-deep);
  --el-button-hover-text-color: var(--brand-deep);
}

.el-button--primary.is-link,
.el-button--primary.is-text {
  --el-button-text-color: var(--brand-deep);
  --el-button-hover-text-color: var(--brand);
  --el-button-active-text-color: var(--brand-deep);
}

.el-card {
  --el-card-border-color: transparent;
  --el-card-border-radius: var(--radius);
}

.el-table {
  --el-table-header-bg-color: #FAFAFA;
  --el-table-header-text-color: var(--text-secondary);
  --el-table-row-hover-bg-color: #FFF9EC;
  --el-table-border-color: var(--border);
}

.el-dialog {
  --el-dialog-border-radius: var(--radius);
}

.el-drawer__header {
  color: var(--text-main);
  font-weight: 600;
}

.el-pagination {
  --el-pagination-hover-color: var(--brand-deep);
}

/* ================= Login Page（黑金品牌场） ================= */
.login-page {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #191919 0%, #232323 55%, #2E2410 100%);
}

.login-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.login-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
}

.login-bg-shape.shape-1 {
  width: 520px;
  height: 520px;
  background: var(--brand);
  top: -140px;
  right: -140px;
}

.login-bg-shape.shape-2 {
  width: 420px;
  height: 420px;
  background: var(--brand-deep);
  bottom: -100px;
  left: -100px;
}

.login-wrapper {
  position: relative;
  z-index: 1;
  width: 420px;
  max-width: 90%;
}

.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  gap: 14px;
}

.login-brand-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #232323;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(246, 161, 0, 0.35);
}

.login-brand-text {
  text-align: left;
}

.login-brand-title {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 1px;
}

.login-brand-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.login-card {
  border-radius: var(--radius);
  border: none;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.login-card .el-card__header {
  display: none;
}

.login-role-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.login-role-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 8px;
  border-radius: var(--radius-sm);
  background: #F7F7F7;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
  border: 1px solid transparent;
}

.login-role-tab:hover {
  background: var(--brand-light);
  color: var(--brand-deep);
}

.login-role-tab.active {
  background: #FFFFFF;
  color: var(--brand-deep);
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.login-role-tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F0F0F0;
  color: var(--text-muted);
  transition: all 0.2s;
}

.login-role-tab.active .login-role-tab-icon.blue {
  background: var(--brand-light);
  color: var(--brand-deep);
}

.login-role-tab.active .login-role-tab-icon.green {
  background: #E6F8EF;
  color: var(--success);
}

.login-role-tab.active .login-role-tab-icon.orange {
  background: #FFF7E6;
  color: var(--warning);
}

.login-role-tab-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
}

.login-role-tab-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
  text-align: center;
}

.login-welcome {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.login-tip {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.login-input .el-input__wrapper {
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px var(--border) inset;
}

.login-btn {
  width: 100%;
  border-radius: var(--radius-sm);
  font-size: 16px;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-deep) 100%);
  border: none;
  color: #232323;
  font-weight: 700;
}

.login-btn:hover,
.login-btn:focus {
  color: #232323;
  opacity: 0.92;
}

.login-hint {
  margin-top: 16px;
}

.login-dev-collapse {
  margin-top: 16px;
  --el-collapse-header-text-color: var(--text-muted);
  --el-collapse-header-font-size: 13px;
}

.login-dev-collapse .el-collapse-item__header {
  justify-content: center;
}

.login-test-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
}

.login-test-label {
  color: var(--text-secondary);
}

/* ================= Layout（黑金侧栏） ================= */
.layout {
  height: 100%;
}

.layout-aside {
  background: var(--sidebar-bg);
  transition: width 0.3s;
}

.layout-logo {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.layout-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #232323;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layout-menu {
  border-right: none !important;
  background: transparent !important;
  padding: 12px 0;
}

.layout-menu .el-menu-item {
  height: 48px;
  line-height: 48px;
  margin: 4px 12px;
  padding: 0 16px !important;
  border-radius: var(--radius-sm);
  color: var(--sidebar-item) !important;
  font-size: 14px;
  transition: all 0.2s;
}

.layout-menu .el-menu-item .el-icon {
  color: #7A7A7A;
  margin-right: 10px;
}

.layout-menu .el-menu-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #FFFFFF !important;
}

.layout-menu .el-menu-item.is-active {
  background: var(--sidebar-active) !important;
  box-shadow: inset 3px 0 0 var(--brand);
  color: var(--brand) !important;
  font-weight: 600;
}

.layout-menu .el-menu-item.is-active .el-icon {
  color: var(--brand);
}

.layout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  height: 64px;
  padding: 0 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.header-left strong {
  color: var(--text-main);
  font-weight: 600;
}

.header-role-tag {
  margin-left: 8px;
}

.header-breadcrumb {
  font-size: 14px;
  color: var(--text-secondary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-restaurant-select {
  width: 180px;
}

.header-user {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
}

.header-user:hover {
  background: var(--bg);
}

.header-arrow {
  margin-left: 6px;
  color: var(--text-muted);
}

.layout-main {
  background: var(--bg);
  padding: 24px;
  overflow-y: auto;
}

/* ================= Page Common ================= */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-title::before {
  content: '';
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: var(--brand);
}

.page-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ================= Cards ================= */
.stat-card {
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-card .el-card__body {
  padding: 20px;
}

.stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.stat-icon.blue { background: var(--brand-light); color: var(--brand-deep); }
.stat-icon.green { background: #E6F8EF; color: var(--success); }
.stat-icon.orange { background: #FFF7E6; color: var(--warning); }
.stat-icon.red { background: #FEEDED; color: var(--danger); }
.stat-icon.purple { background: #F3F0FF; color: #6D5BD0; }
.stat-icon.cyan { background: #EEF0F5; color: var(--info); }

.stat-value {
  color: var(--text-main);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.stat-trend {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-trend.up { color: var(--success); }
.stat-trend.down { color: var(--danger); }

.section-card {
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow);
}

.section-card .el-card__header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-card .el-card__body {
  padding: 20px;
}

/* ================= Quick Actions ================= */
.quick-action-card {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: none;
  transition: all 0.2s;
  text-align: center;
  padding: 20px 0;
}

.quick-action-card:hover {
  border-color: var(--brand);
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.quick-action-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 24px;
}

.quick-action-label {
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
}

/* ================= Tables ================= */
.data-table {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.data-table .el-table__header th {
  background: #FAFAFA !important;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 13px;
  height: 44px;
}

.data-table .el-table__row td {
  color: var(--text-main);
  font-size: 13px;
}

.filter-card {
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.filter-card .el-card__body {
  padding: 18px 20px;
}

/* ================= Forms ================= */
.form-card {
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow);
  max-width: 800px;
}

.form-card .el-card__body {
  padding: 30px;
}

/* ================= Rankings ================= */
.rank-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.rank-index.top {
  background: var(--brand);
  color: #232323;
}

.rank-index.normal {
  background: var(--bg);
  color: var(--text-secondary);
}

/* ================= Misc ================= */
h2 {
  font-size: 20px;
  color: var(--text-main);
}

.text-muted {
  color: var(--text-muted);
}

.empty-state {
  padding: 60px 0;
  text-align: center;
  color: var(--text-muted);
}

.empty-state .el-icon {
  font-size: 64px;
  margin-bottom: 16px;
  color: var(--border);
}

/* 欢迎横幅：黑金渐变，金色标题 */
.welcome-banner {
  background: linear-gradient(90deg, #232323 0%, #3E3626 100%);
  border-radius: var(--radius);
  padding: 24px;
  color: #FFFFFF;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.welcome-banner h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--brand);
}

.welcome-banner p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-main);
}

.status-row:last-child {
  border-bottom: none;
}

.todo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-main);
}

.todo-row:last-child {
  border-bottom: none;
}

.merchant-info,
.restaurant-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.merchant-info-text,
.restaurant-info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.merchant-name,
.restaurant-name {
  font-weight: 600;
  color: var(--text-main);
  font-size: 14px;
}

.merchant-meta,
.restaurant-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.room-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.room-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.room-thumb-empty {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.room-info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.room-name {
  font-weight: 600;
  color: var(--text-main);
  font-size: 14px;
}

.room-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.dialog-toolbar {
  margin-bottom: 14px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-name {
  font-weight: 600;
  color: var(--text-main);
  font-size: 14px;
}

.user-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.status-dot.active { background: var(--success); }
.status-dot.inactive { background: var(--text-muted); }

/* ================= Merchant Detail Drawer ================= */
.merchant-detail {
  padding: 8px;
}

.merchant-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.merchant-detail-title {
  flex: 1;
}

.merchant-detail-section {
  margin-bottom: 24px;
}

.merchant-detail-section .section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

.merchant-detail-actions {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ================= Room Card Grid ================= */
.view-switch .el-button {
  padding: 10px 14px;
}

.room-card-grid {
  min-height: 200px;
}

.room-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.room-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.room-card-cover {
  position: relative;
  height: 160px;
  background: var(--bg);
  overflow: hidden;
}

.room-card-cover-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F0F0F0;
  color: var(--text-muted);
}

.room-card-status {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
}

.room-card-body {
  padding: 16px;
}

.room-card-body .room-name {
  font-size: 16px;
  margin-bottom: 10px;
}

.room-card-meta {
  display: flex;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 14px;
}

.room-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.room-card-actions {
  display: flex;
  gap: 8px;
}

.room-card-actions .el-button {
  flex: 1;
  padding: 8px 0;
}

/* ================= Order Detail Drawer ================= */
.order-detail {
  padding: 8px;
}

.order-detail-header {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.order-detail-no {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  font-family: monospace;
}

.order-detail-section {
  margin-bottom: 24px;
}

.order-detail-actions {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* 表单项说明文案 */
.form-tip {
  width: 100%;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}

/* 营销报表页：简漏斗三段横向条（CSS 宽度百分比，不引图表库） */
.funnel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 0;
}

.funnel-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.funnel-label {
  width: 80px;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.funnel-track {
  flex: 1;
  height: 28px;
  background: #F0F0F0;
  border-radius: 6px;
  overflow: hidden;
}

.funnel-bar {
  height: 100%;
  border-radius: 6px;
  min-width: 2px;
  transition: width 0.4s ease;
}

.funnel-value {
  width: 140px;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-muted);
}
