
:root {
  color-scheme: light;
  --ink: #242932;
  --ink-soft: #4f5662;
  --muted: #626a76;
  --muted-2: #7a828e;
  --line: #e6e8ec;
  --line-strong: #d9dde3;
  --canvas: #f5f6f8;
  --surface: #fff;
  --surface-soft: #fafbfc;
  --brand: #cf3028;
  --brand-hover: #b9241e;
  --brand-soft: #fff2f0;
  --blue: #426ba6;
  --blue-soft: #edf3fb;
  --green: #24734e;
  --green-soft: #edf7f1;
  --amber: #9b6912;
  --amber-soft: #fff6e5;
  --red-soft: #fff0ef;
  --radius: 12px;
  --font: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  font-family: var(--font);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--canvas); }
body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--ink); background: var(--canvas); font-size: 14px; line-height: 1.5; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
[hidden] { display: none !important; }
::selection { color: #fff; background: var(--brand); }
:focus-visible { outline: 3px solid rgba(207,48,40,.4); outline-offset: 2px; }

.app { min-height: 100vh; }
.sidebar { position: fixed; z-index: 30; inset: 0 auto 0 0; display: flex; flex-direction: column; width: 250px; padding: 24px 16px 14px; background: var(--surface); border-right: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.brand b { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .085em; }
.brand-mark { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; color: #fff; background: var(--brand); border-radius: 10px; font-size: 20px; font-weight: 700; letter-spacing: -.06em; }
.brand-sidebar { margin: 0 7px 39px; }
.side-section-label { margin: 0 11px 10px; color: var(--muted-2); font-size: 11px; font-weight: 700; letter-spacing: .11em; }
.main-nav { display: grid; gap: 4px; }
.nav-item { display: flex; width: 100%; min-height: 43px; align-items: center; gap: 12px; padding: 0 11px; color: #626976; background: transparent; border: 0; border-radius: 8px; cursor: pointer; text-align: left; transition: background .16s ease, color .16s ease; }
.nav-item:hover { color: var(--ink); background: #f4f5f7; }
.nav-item.active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.nav-item svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-item:first-child svg rect { fill: currentColor; stroke: none; opacity: .85; }
.nav-item span:nth-child(2) { flex: 1; }
.nav-count { padding: 1px 7px; color: var(--brand); background: #fff; border: 1px solid #f1d4d1; border-radius: 999px; font-size: 11px; font-variant-numeric: tabular-nums; }
.sidebar-bottom { margin-top: auto; }
.privacy-note { display: flex; align-items: flex-start; gap: 9px; margin: 0 5px 20px; padding: 12px 11px; color: var(--ink-soft); background: #f7f8fa; border: 1px solid #eceef1; border-radius: 9px; }
.privacy-note svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 1px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.privacy-note p { margin: 0; font-size: 12px; line-height: 1.45; }
.store-link { display: flex; align-items: center; justify-content: space-between; min-height: 39px; margin: 0 5px 10px; padding: 0 7px; color: var(--ink-soft); border-bottom: 1px solid var(--line); font-size: 12px; }
.store-link:hover { color: var(--brand); }
.store-link span { font-size: 16px; }
.profile-button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 5px 3px; background: transparent; border: 0; cursor: pointer; text-align: left; }
.avatar { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; color: #78413c; background: #f3e5e2; border-radius: 50%; font-size: 13px; font-weight: 700; }
.profile-copy { display: grid; min-width: 0; flex: 1; gap: 1px; }
.profile-copy b { overflow: hidden; color: var(--ink); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy small { color: var(--muted); font-size: 11px; }
.logout-icon { width: 16px; height: 16px; color: var(--muted); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.profile-button:hover .logout-icon { color: var(--brand); }

.main-content { min-height: 100vh; margin-left: 250px; }
.topbar { position: sticky; z-index: 20; top: 0; display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 16px; padding: 0 34px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 12px; }
.breadcrumb b { color: var(--ink-soft); font-weight: 600; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.date-select-label { color: var(--muted); font-size: 12px; }
.date-select { min-height: 36px; padding: 0 30px 0 11px; color: var(--ink-soft); background: #fff; border: 1px solid var(--line-strong); border-radius: 7px; cursor: pointer; font-size: 12px; }
.date-select:hover { border-color: #b9bec7; }
.refresh-button, .mobile-menu { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; color: var(--ink-soft); background: #fff; border: 1px solid var(--line-strong); border-radius: 7px; cursor: pointer; transition: color .16s ease, border-color .16s ease, background .16s ease; }
.refresh-button:hover { color: var(--brand); border-color: #e5aaa6; background: #fffafa; }
.refresh-button svg, .mobile-menu svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.refresh-button.loading svg { animation: turn .75s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.mobile-menu { display: none; }
.page-content { width: min(100%, 1640px); margin: 0 auto; padding: 27px 34px 40px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 0 0 21px; }
.page-heading h1 { margin: 0; font-size: 23px; font-weight: 700; letter-spacing: -.035em; line-height: 1.25; }
.page-heading p { margin: 6px 0 0; color: var(--muted); font-size: 12.5px; }
.updated-at { color: var(--muted); font-size: 12px; }
.updated-at::before { display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; background: var(--green); border-radius: 50%; content: ''; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; margin-bottom: 15px; }
.metric { min-width: 0; padding: 15px 17px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.metric-highlight { background: #fffdfd; border-color: #f0d8d6; }
.metric-label { color: var(--ink-soft); font-size: 12px; font-weight: 500; }
.metric-value { margin: 8px 0 3px; color: var(--ink); font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.04em; line-height: 1.1; }
.metric-highlight .metric-value { color: var(--brand); }
.metric-foot { color: var(--muted); font-size: 12px; }
.skeleton-text { color: #aab0b9; }
.overview-grid { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(270px,1fr); gap: 14px; margin-bottom: 14px; }
.panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.panel-heading { display: flex; min-height: 67px; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 17px 11px; }
.panel-heading h2 { margin: 0; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: -.015em; }
.panel-heading p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.chart-legend { display: flex; align-items: center; gap: 13px; color: var(--ink-soft); font-size: 12px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; }
.visits-dot { background: var(--blue); }
.orders-dot { background: var(--brand); }
.chart-wrap { position: relative; min-height: 221px; padding: 0 12px 9px 5px; }
.trend-chart { width: 100%; height: 218px; overflow: visible; }
.chart-grid path { fill: none; stroke: #edf0f3; stroke-width: 1; }
.chart-labels text { fill: #68717d; font-family: var(--font); font-size: 12px; }
.chart-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.visits-line { stroke: var(--blue); }
.orders-line { stroke: var(--brand); stroke-width: 2; }
.chart-area { fill: rgba(66,107,166,.07); }
.chart-point { fill: #fff; stroke-width: 2; }
.chart-point.visitor-point { stroke: var(--blue); }
.chart-point.order-point { stroke: var(--brand); }
.chart-empty { position: absolute; inset: 18px 12px 11px 5px; display: grid; place-content: center; justify-items: center; gap: 4px; color: var(--muted); background: rgba(255,255,255,.91); text-align: center; }
.empty-chart-mark { display: grid; width: 37px; height: 37px; place-items: center; margin-bottom: 4px; color: var(--blue); background: var(--blue-soft); border-radius: 10px; }
.empty-chart-mark svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chart-empty b { color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.chart-empty span:last-child { max-width: 250px; font-size: 12px; }
.funnel { display: grid; gap: 16px; padding: 13px 17px 8px; }
.funnel-row { display: grid; gap: 5px; }
.funnel-copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink-soft); font-size: 12px; }
.funnel-copy b { color: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; }
.funnel-track { height: 7px; overflow: hidden; background: #eef0f3; border-radius: 10px; }
.funnel-track i { display: block; height: 100%; min-width: 0; background: var(--blue); border-radius: inherit; transition: width .2s ease; }
.funnel-row:nth-child(2) .funnel-track i { background: #7589b2; }
.funnel-row:nth-child(3) .funnel-track i { background: #d49a40; }
.funnel-row:nth-child(4) .funnel-track i { background: var(--brand); }
.funnel-caption { margin: 8px 17px 14px; padding-top: 10px; color: var(--muted); border-top: 1px solid #eff0f2; font-size: 12px; }
.lower-grid { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(275px,1fr); gap: 14px; }
.orders-panel, .activity-panel { overflow: hidden; }
.orders-panel .panel-heading { min-height: 64px; }
.text-button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; color: var(--brand); background: none; border: 0; cursor: pointer; font-size: 12px; font-weight: 600; white-space: nowrap; }
.text-button:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
thead { background: #fafbfc; }
th { padding: 9px 13px; color: var(--muted); border-top: 1px solid #eff0f2; border-bottom: 1px solid #eff0f2; font-size: 12px; font-weight: 600; white-space: nowrap; }
td { padding: 10px 13px; color: var(--ink-soft); border-bottom: 1px solid #f0f1f3; font-size: 12px; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fcfcfd; }
.table-loading, .table-message { padding: 24px 14px; color: var(--muted); text-align: center; }
.customer-cell { color: var(--ink); font-weight: 600; white-space: nowrap; }
.order-items-cell { max-width: 135px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.money-cell { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.date-cell { white-space: nowrap; }
.status { display: inline-flex; min-height: 24px; align-items: center; gap: 5px; padding: 1px 8px; border-radius: 5px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.status::before { width: 5px; height: 5px; background: currentColor; border-radius: 50%; content: ''; }
.status-pending { color: var(--amber); background: var(--amber-soft); }
.status-confirmed { color: var(--green); background: var(--green-soft); }
.status-cancelled { color: #9d4340; background: var(--red-soft); }
.activity-list { display: grid; gap: 0; margin: 0; padding: 0 17px 7px; list-style: none; }
.activity-item { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: start; gap: 9px; padding: 11px 0; border-bottom: 1px solid #f0f1f3; }
.activity-item:last-child { border-bottom: 0; }
.activity-icon { display: grid; width: 24px; height: 24px; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 7px; }
.activity-icon svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.activity-icon.order { color: var(--brand); background: var(--brand-soft); }
.activity-icon.cart { color: var(--green); background: var(--green-soft); }
.activity-copy { min-width: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.4; }
.activity-copy b { color: var(--ink); font-weight: 600; }
.activity-time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.activity-loading { padding: 17px 0; color: var(--muted); font-size: 12px; text-align: center; }
.empty-inline { padding: 16px; color: var(--muted); font-size: 12px; text-align: center; }
.data-note { margin: 11px 2px 0; color: var(--muted); font-size: 12px; }
.notice-banner { margin: 0 0 17px; padding: 11px 14px; color: #8f3d18; background: #fff5e9; border: 1px solid #f4dfc9; border-radius: 8px; font-size: 12px; }
.full-panel { overflow: hidden; }
.full-panel .table-wrap { min-height: 110px; }
.orders-table { min-width: 1180px; }
.orders-table td { padding: 11px 12px; }
.order-ref { color: var(--brand); font-size: 12px; font-weight: 700; white-space: nowrap; }
.phone-link { color: var(--ink); font-weight: 600; white-space: nowrap; }
.phone-link:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.order-location { min-width: 120px; }
.order-location small { display: block; color: var(--muted); font-size: 12px; }
.order-note-cell { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-action { min-height: 34px; padding: 0 9px; color: var(--green); background: #fff; border: 1px solid #cfe5d8; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 600; white-space: nowrap; }
.order-action:hover { background: var(--green-soft); }
.whatsapp-action { display: inline-flex; align-items: center; margin-right: 5px; color: #176b45; border-color: #d5e9dd; }
.whatsapp-action:hover { background: var(--green-soft); }
.order-action.cancel { margin-left: 5px; color: #9d4340; border-color: #efd7d5; }
.order-action.cancel:hover { background: var(--red-soft); }
.table-empty { display: grid; justify-items: center; gap: 4px; padding: 33px 16px 38px; color: var(--muted); text-align: center; }
.empty-symbol { display: grid; width: 40px; height: 40px; place-items: center; margin-bottom: 3px; color: #697c9e; background: #edf1f7; border-radius: 10px; }
.empty-symbol svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.table-empty b { color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.table-empty span:last-child { font-size: 12px; }
.filter-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.anonymity-label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; color: var(--green); background: var(--green-soft); border-radius: 6px; font-size: 12px; }
.anonymity-label svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.visitors-heading { min-height: 70px; }
.total-visitors { color: var(--ink); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.visitors-table { min-width: 720px; }
.session-id { color: var(--ink-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.page-path { display: inline-block; max-width: 250px; overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.device-pill { color: var(--ink-soft); white-space: nowrap; }

.login-view { display: grid; min-height: 100vh; grid-template-columns: minmax(400px, 1fr) minmax(330px, .85fr); background: #fff; }
.login-panel { display: grid; width: min(100%, 430px); align-content: center; justify-self: center; padding: 50px 36px; }
.login-panel .brand { margin-bottom: 48px; }
.login-panel h1 { margin: 0; color: var(--ink); font-size: 27px; letter-spacing: -.04em; line-height: 1.2; }
.login-intro { margin: 10px 0 28px; color: var(--muted); font-size: 13px; }
.login-panel form { display: grid; gap: 8px; }
.login-panel label { margin-top: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.login-panel input { width: 100%; min-height: 42px; padding: 0 11px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 7px; font-size: 13px; }
.login-panel input:hover { border-color: #b9bec7; }
.login-panel input:focus { border-color: var(--brand); outline: 3px solid rgba(207,48,40,.13); }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-size: 12px; font-weight: 600; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.button-primary { color: #fff; background: var(--brand); }
.button-primary:hover { background: var(--brand-hover); }
.button-primary:disabled { opacity: .65; cursor: progress; }
.button-wide { width: 100%; margin-top: 14px; }
.form-error { margin: 2px 0 0; color: #a42b25; font-size: 12px; }
.login-foot { margin: 20px 0 0; color: var(--muted); font-size: 12px; }
.login-setup { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; }
.login-setup p { margin: 0 0 5px; color: var(--muted); }
.login-setup a { color: var(--brand); font-weight: 650; text-underline-offset: 3px; }
.login-setup a:hover { color: var(--brand-hover); }
.login-side { display: grid; align-items: end; padding: 60px 11%; color: #fff; background: #7e1f1b; }
.login-side-inner { max-width: 400px; margin-bottom: 15vh; padding: 0 8px; }
.side-line { display: block; width: 35px; height: 3px; margin-bottom: 17px; background: #f5b4a7; border-radius: 4px; }
.login-side-inner p { max-width: 360px; margin: 0; font-size: clamp(23px,3vw,36px); font-weight: 500; letter-spacing: -.04em; line-height: 1.18; }
.side-caption { display: block; margin-top: 28px; color: #f3ccc6; font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.toast { position: fixed; z-index: 60; right: 24px; bottom: 24px; max-width: min(400px,calc(100vw - 32px)); padding: 11px 15px; color: #fff; background: #26313b; border-radius: 7px; box-shadow: 0 5px 18px rgba(21,30,39,.17); opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease; font-size: 12px; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1190px) {
  .page-content { padding-right: 24px; padding-left: 24px; }
  .topbar { padding-right: 24px; padding-left: 24px; }
  .overview-grid { grid-template-columns: minmax(0,1.5fr) minmax(250px,1fr); }
  .lower-grid { grid-template-columns: minmax(0,1.4fr) minmax(255px,1fr); }
  .metric-grid { gap: 10px; }
  .metric { padding-right: 13px; padding-left: 13px; }
}
@media (max-width: 980px) {
  .sidebar { width: 218px; padding-right: 12px; padding-left: 12px; }
  .main-content { margin-left: 218px; }
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overview-grid, .lower-grid { grid-template-columns: minmax(0,1fr); }
  .funnel { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 20px; }
  .funnel-caption { grid-column: 1/-1; }
  .activity-list { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 20px; }
  .activity-item:nth-child(odd):last-child { border-bottom: 0; }
}
@media (max-width: 700px) {
  .sidebar { inset: 0 auto 0 0; width: min(290px,84vw); padding: 19px 15px 13px; box-shadow: 12px 0 28px rgba(22,29,39,.12); transform: translateX(-105%); transition: transform .2s ease; }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .topbar { min-height: 58px; gap: 9px; padding: 0 15px; }
  .mobile-menu { display: grid; }
  .breadcrumb { flex: 1; gap: 7px; overflow: hidden; font-size: 12px; white-space: nowrap; }
  .breadcrumb span:first-child { overflow: hidden; text-overflow: ellipsis; }
  .top-actions { gap: 6px; }
  .date-select-label { display: none; }
  .date-select { min-height: 34px; max-width: 138px; padding-left: 8px; font-size: 12px; }
  .refresh-button { width: 34px; height: 34px; flex-basis: 34px; }
  .page-content { padding: 20px 14px 32px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 15px; }
  .page-heading h1 { font-size: 21px; }
  .page-heading p { max-width: 38ch; font-size: 12px; }
  .updated-at { font-size: 12px; }
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-bottom: 10px; }
  .metric { padding: 12px; border-radius: 10px; }
  .metric-label { font-size: 12px; }
  .metric-value { margin-top: 7px; font-size: 24px; }
  .metric-foot { min-height: 26px; font-size: 12px; line-height: 1.35; }
  .overview-grid, .lower-grid { gap: 10px; margin-bottom: 10px; }
  .panel { border-radius: 10px; }
  .panel-heading { min-height: 61px; padding: 12px 13px 9px; }
  .panel-heading h2 { font-size: 12px; }
  .panel-heading p { font-size: 12px; }
  .chart-legend { gap: 8px; font-size: 12px; }
  .chart-wrap { min-height: 195px; padding-left: 0; }
  .trend-chart { height: 192px; }
  .chart-empty { inset: 15px 5px 8px; }
  .funnel { gap: 13px; padding: 12px 13px 7px; }
  .funnel-copy { font-size: 12px; }
  .funnel-caption { margin: 8px 13px 12px; }
  .text-button { gap: 3px; font-size: 12px; }
  .orders-panel .panel-heading { min-height: 59px; }
  .orders-panel table { min-width: 555px; }
  th { padding: 8px 10px; font-size: 12px; }
  td { padding: 9px 10px; font-size: 12px; }
  .activity-list { grid-template-columns: minmax(0,1fr); padding-right: 13px; padding-left: 13px; }
  .activity-item { padding: 9px 0; }
  .activity-copy { font-size: 12px; }
  .data-note { font-size: 12px; }
  .filter-label { width: 100%; justify-content: space-between; }
  .anonymity-label { align-self: flex-start; font-size: 12px; }
  .visitors-heading { align-items: flex-start; }
  .login-view { grid-template-columns: minmax(0,1fr); }
  .login-panel { width: min(100%,460px); min-height: 100vh; padding: 28px 24px 45px; }
  .login-panel .brand { margin-bottom: 42px; }
  .login-panel h1 { font-size: 25px; }
  .login-side { display: none; }
  .toast { right: 12px; bottom: 12px; }
}
@media (max-width: 390px) {
  .topbar { padding-right: 10px; padding-left: 10px; }
  .breadcrumb span:first-child { max-width: 96px; }
  .date-select { max-width: 119px; }
  .page-content { padding-right: 11px; padding-left: 11px; }
  .chart-legend span { gap: 3px; }
  .activity-time { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
