.updated-at { font-size: 11px; color: var(--muted); white-space: nowrap; }
.date-preset { width: 104px; }
.timezone-note { font-size: 11px; color: var(--muted); }
.funnel-panel { padding: 18px; }
.funnel-grid { display: grid; grid-template-columns: repeat(7, minmax(120px, 1fr)); gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.funnel-stage { position: relative; display: flex; gap: 10px; min-width: 120px; padding: 14px 12px; background: #f7faf8; border: 1px solid #e0e9e3; border-radius: 6px; }
.funnel-stage:not(:last-child)::after { content: ''; position: absolute; right: -7px; top: 50%; width: 6px; height: 6px; border-top: 1px solid #88a893; border-right: 1px solid #88a893; transform: translateY(-50%) rotate(45deg); z-index: 2; }
.stage-index { flex: 0 0 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #267a46; color: #fff; font-size: 11px; }
.funnel-stage small,.funnel-stage p { color: var(--muted); font-size: 11px; margin: 0; }
.funnel-stage strong { display: block; margin: 5px 0; font-size: 18px; }
.failure-branch { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 10px 12px; border-left: 3px solid #c43838; background: #fff6f6; font-size: 12px; }
.failure-branch span { color: #a63232; font-weight: 600; }.failure-branch small { color: var(--muted); }
.trend-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.trend-legend button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--muted); font-size: 11px; cursor: pointer; }
.trend-legend button:hover { border-color: #9ab6a4; background: #f7faf8; }
.trend-legend button.muted { opacity: .42; background: #f4f5f6; }
.trend-legend strong { color: var(--ink); font-size: 12px; }
.trend-legend i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 2px; }
.bar.visitors,.trend-legend .visitors { background: #267a46; }.bar.submits,.trend-legend .submits { background: #e2a637; }.bar.saves,.trend-legend .saves { background: #4389b8; }
.line-chart { display: block; height: 300px; padding: 8px 0 0; overflow: hidden; }
.line-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.line-chart polyline { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.line-chart circle { fill: #fff; stroke: currentColor; stroke-width: 2; }
.line-chart .chart-grid line { stroke: #edf0f2; stroke-width: 1; }
.line-chart .chart-grid text,.line-chart .x-label { fill: #8a94a3; font-size: 10px; }
.trend-empty { height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.page-error { margin-bottom: 14px; }
.page-error .el-alert__content { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.page-skeleton { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.primary-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.primary-kpis .kpi:first-child { border-top: 3px solid #27834a; }
.primary-kpis .kpi strong { font-size: 27px; }
.status-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.status-overview button { appearance: none; text-align: left; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); cursor: pointer; }
.status-overview button:hover, .status-overview button.active { border-color: #63a87d; background: #f5fbf7; }
.status-overview span { display: block; color: var(--muted); font-size: 12px; }
.status-overview strong { display: block; font-size: 21px; margin-top: 7px; }
.filter-bar > .el-input { width: min(390px, 40vw); }
.table-panel { overflow: hidden; }
.content-cell strong, .content-cell small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.content-cell strong { font-size: 13px; font-weight: 600; }
.content-cell small, .cell-note { font-size: 11px; color: var(--muted); margin-top: 4px; }
.cell-note { display: block; }
.user-search { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px; margin-bottom: 14px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.user-search h3 { font-size: 15px; margin: 0; }
.user-search p { font-size: 12px; color: var(--muted); margin: 5px 0 0; }
.user-search > div:last-child { display: flex; gap: 10px; width: min(680px, 60%); }
.user-search .el-input { flex: 1; }
.drawer-profile { grid-template-columns: minmax(220px, 2fr) repeat(3, 1fr); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 4px 0 20px; }
.drawer-profile .profile-main p { word-break: break-all; }

@media (max-width: 1280px) {
  .primary-kpis { grid-template-columns: repeat(2, 1fr); }
  .two-column { grid-template-columns: 1fr; }
  .user-search { align-items: flex-start; flex-direction: column; }
  .user-search > div:last-child { width: 100%; }
}
@media (max-width: 900px) {
  .updated-at { display: none; }
  .status-overview { grid-template-columns: repeat(2, 1fr); }
  .filter-bar > .el-select { flex: 1; min-width: 130px; }
}
@media (max-width: 620px) {
  .user-search { padding: 14px; }
  .user-search > div:last-child { flex-wrap: wrap; }
  .user-search .el-input { flex-basis: 100%; }
  .el-drawer { width: 100% !important; }
}
