@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/golos-text-cyrillic-cf0bf393.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/golos-text-latin-c26a8d73.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --canvas: #f7f8fb;
  --surface: #fff;
  --surface-soft: #fafbfe;
  --ink: #262735;
  --ink-strong: #1d1f2c;
  --muted: #6d7588;
  --secondary: #626b80;
  --line: #e5e7ef;
  --line-soft: #edf0f5;
  --brand: #6A5DE3;
  --brand-hover: #584bc8;
  --brand-soft: #f1effd;
  --brand-tint: #f8f7ff;
  --brand-line: #e2ddfa;
  --brand-subtle: #b5abef;
  --font: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 14px; -webkit-font-smoothing: antialiased; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: inline-block; flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
button, input, select { outline: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
input:focus-visible, select:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
[hidden] { display: none !important; }
::selection { color: var(--brand-hover); background: var(--brand-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.text-right { text-align: right !important; }
.tabular { font-variant-numeric: tabular-nums; }
.app-header { height: 94px; border-bottom: 1px solid var(--line); background: var(--surface); }
.header-inner { height: 100%; max-width: 1512px; margin: auto; display: flex; align-items: center; padding: 0 48px; gap: 40px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 9px; user-select: none; }
.brand-logo { display: block; width: 134px; height: 46px; flex-shrink: 0; }
.brand-product { padding: 1px 0 0 13px; margin-left: 5px; border-left: 1px solid var(--line); color: var(--muted); font-size: 15px; letter-spacing: -.3px; line-height: 22px; }
.main-nav { display: flex; align-items: stretch; gap: 10px; height: 100%; margin: auto; }
.nav-link { position: relative; display: flex; align-items: center; gap: 9px; padding: 0 17px; color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; transition: color .15s; }
.nav-link:hover { color: var(--brand-hover); }
.nav-link.is-active { color: var(--brand); }
.nav-link.is-active::after { position: absolute; bottom: -1px; left: 17px; right: 17px; height: 3px; background: var(--brand); border-radius: 3px 3px 0 0; content: ""; }
.account-menu { display: flex; align-items: center; gap: 11px; min-width: 0; }
.avatar { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); font-size: 14px; font-weight: 600; border: 1px solid var(--line); }
.avatar-small { width: 35px; height: 35px; font-size: 14px; }
.account-detail { display: flex; flex-direction: column; gap: 1px; }
.account-email { max-width: 195px; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 550; }
.account-role { color: var(--muted); font-size: 12px; }
.account-menu form { display: flex; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; padding: 9px; border: 0; background: transparent; color: var(--muted); border-radius: 8px; transition: color .15s, background .15s; }
.icon-button:hover { background: var(--brand-tint); color: var(--brand-hover); }
.logout-button { margin-left: 8px; }
.main-content { max-width: 1384px; min-height: calc(100vh - 94px); margin: 0 auto; padding: 45px 40px 48px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 31px; }
.eyebrow, .section-label { color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: 1.5px; }
.eyebrow { margin-bottom: 10px; }
.page-heading h1 { font-size: 34px; font-weight: 600; letter-spacing: -1.4px; line-height: 1.2; }
.title-dot { color: var(--brand); margin-left: 2px; }
.page-heading p { font-size: 14px; margin-top: 10px; color: var(--muted); }
.heading-actions { display: flex; gap: 12px; align-items: center; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; padding: 11px 17px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 550; line-height: 20px; text-decoration: none; white-space: nowrap; transition: background .15s, box-shadow .15s, border-color .15s; }
.button-primary { color: #fff; background: var(--brand); border-color: var(--brand); box-shadow: 0 2px 2px #21165b0a; }
.button-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.button-secondary { color: var(--secondary); background: white; border-color: var(--line); box-shadow: 0 1px 2px #21165b0a; }
.button-secondary:hover { background: var(--brand-tint); border-color: var(--brand-line); }
.button-small { min-height: 34px; padding: 6px 10px; font-size: 12px; gap: 7px; }
.button-full { width: 100%; }
.button:disabled { cursor: wait; opacity: .65; }
.context-selector { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; max-width: 300px; color: var(--secondary); }
.context-selector select { appearance: none; border: 0; background: transparent; color: var(--secondary); max-width: 235px; cursor: pointer; font-size: 13px; min-width: 112px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; box-shadow: 0 2px 3px #21165b03; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; margin-bottom: 28px; }
.metric-card { border: 1px solid var(--line); border-radius: 12px; padding: 23px 26px 19px; background: white; }
.metric-heading { display: flex; justify-content: space-between; align-items: center; color: var(--secondary); font-size: 14px; font-weight: 450; }
.metric-icon { width: 32px; height: 32px; background: var(--brand-tint); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--brand); }
.metric-value { display: flex; align-items: baseline; gap: 13px; margin: 11px 0 19px; font-size: 41px; font-weight: 500; letter-spacing: -1.8px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.metric-caption { color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.metric-link, .metric-note { padding-top: 13px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; color: var(--secondary); font-size: 12px; }
.metric-link:hover { color: var(--brand-hover); }
.metric-note { color: var(--muted); }
.panel-header { padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--line-soft); }
.panel-header h2 { font-size: 15px; font-weight: 550; letter-spacing: -.25px; }
.panel-header p { color: var(--muted); margin-top: 5px; font-size: 12px; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 5px; line-height: 17px; font-size: 12px; white-space: nowrap; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-neutral { color: var(--muted); background: var(--surface-soft); }
.status-active { color: #509177; background: #eaf6ef; }
.status-pending { color: #a38a58; background: #faf5e9; }
.analytics-empty { padding: 33px 24px 41px; text-align: center; min-height: 240px; display: flex; flex-direction: column; align-items: center; }
.analytics-empty .section-label { font-size: 11px; color: var(--muted); }
.analytics-empty h2 { margin: 10px 0 10px; font-size: 21px; font-weight: 500; letter-spacing: -.6px; }
.analytics-empty p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.analytics-empty .button { margin-top: 22px; min-height: 37px; padding: 8px 13px; font-size: 12px; }
.collection-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 23px 27px; border-bottom: 1px solid var(--line); }
.collection-summary { display: flex; align-items: center; gap: 21px; }
.collection-tab { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 550; }
.count-badge { min-width: 22px; height: 21px; display: inline-flex; justify-content: center; align-items: center; background: var(--brand-soft); color: var(--brand); border-radius: 5px; padding: 0 5px; font-size: 12px; font-weight: 500; }
.collection-meta { color: var(--muted); font-size: 12px; border-left: 1px solid var(--line); padding-left: 20px; }
.search-field { display: flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: #fff; }
.search-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 2px #6a5de31a; }
.search-field input { background: transparent; border: 0; padding: 0; height: 20px; width: 195px; font-size: 12px; color: var(--secondary); }
.search-field input:focus-visible { outline: 0; }
.search-field input::placeholder { color: var(--muted); }
.search-submit { border: 0; background: transparent; padding: 0; color: var(--muted); display: flex; }
.search-submit:hover { color: var(--brand-hover); }
.merchant-groups { padding: 5px 26px 1px; }
.merchant-group { margin: 22px 0 28px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.merchant-heading { background: var(--surface-soft); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.merchant-identity { display: flex; align-items: center; gap: 12px; }
.merchant-avatar { display: flex; align-items: center; justify-content: center; width: 37px; height: 37px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); border: 1px solid var(--brand-line); }
.merchant-identity h2 { font-size: 14px; font-weight: 550; letter-spacing: -.1px; overflow-wrap: anywhere; }
.merchant-identity span:not(.merchant-avatar) { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.merchant-caption { font-size: 10px; letter-spacing: 1.5px; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.projects-table { table-layout: fixed; }
.projects-table .column-order { width: 60px; }
.projects-table .column-project { width: auto; }
.projects-table .column-id { width: 22%; }
.projects-table .column-date { width: 24%; }
.projects-table-team .column-project { width: auto; }
.projects-table-team .column-id { width: 14%; }
.projects-table-team .column-owner { width: 30%; }
.projects-table-team .column-date { width: 21%; }
.projects-table td { overflow-wrap: anywhere; }
.data-table th { color: var(--secondary); font-size: 12px; font-weight: 450; padding: 12px 20px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.data-table td { padding: 17px 20px; font-size: 14px; border-bottom: 1px solid var(--line-soft); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--surface-soft); }
.data-table td strong { font-weight: 500; }
.data-table .row-number { width: 57px; color: var(--secondary); font-size: 12px; }
.project-name { display: flex; align-items: center; gap: 10px; }
.project-name strong { min-width: 120px; }
.project-link { width: fit-content; border-radius: 3px; }
.project-link > svg { color: var(--muted); }
.project-link:hover, .project-link:focus-visible { color: var(--brand); }
.project-link:hover .project-symbol, .project-link:hover > svg { color: var(--brand); }
.project-symbol { color: var(--muted); display: inline-flex; }
.identifier { padding: 4px 7px; border-radius: 4px; background: var(--surface-soft); color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.owner-email { font-size: 12px; color: var(--muted); }
.projects-table th:last-child, .projects-table td:last-child { padding-right: 24px; }
.collection-footer { padding: 17px 27px; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--muted); }
.collection-footer span:last-child { display: inline-flex; align-items: center; gap: 6px; }
.empty-state { min-height: 390px; padding: 61px 24px 66px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.empty-icon { display: flex; align-items: center; justify-content: center; color: var(--brand); width: 67px; height: 67px; border: 1px solid var(--brand-line); background: var(--brand-tint); border-radius: 18px; margin-bottom: 23px; }
.empty-state .section-label { font-size: 11px; color: var(--muted); }
.empty-state h2 { font-size: 23px; font-weight: 500; letter-spacing: -.75px; margin-top: 10px; }
.empty-state p { max-width: 355px; color: var(--muted); font-size: 13px; line-height: 1.9; margin-top: 12px; }
.empty-state .button { margin-top: 25px; }
.team-table th { padding-top: 16px; padding-bottom: 16px; }
.team-table th:first-child, .team-table td:first-child { padding-left: 27px; }
.team-table th:last-child, .team-table td:last-child { padding-right: 27px; }
.member-identity { display: flex; align-items: center; gap: 12px; }
.member-identity strong { font-size: 13px; }
.member-identity span { color: var(--muted); font-size: 12px; display: block; margin-top: 3px; }
.table-count-link { display: inline-flex; align-items: center; gap: 9px; color: var(--brand); }
.table-count-link:hover { color: var(--brand-hover); }
.table-count-link svg { color: var(--brand-subtle); }
.row-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.row-actions form { display: flex; }
.below-panel-note { color: var(--muted); font-size: 12px; display: flex; justify-content: center; align-items: center; gap: 8px; padding-top: 22px; }
.filter-empty { text-align: center; padding: 30px; color: var(--muted); }
.filter-empty h3 { margin-top: 12px; font-weight: 500; font-size: 14px; }
.filter-empty p { margin-top: 5px; font-size: 13px; }
.flash { display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px; border-radius: 8px; border: 1px solid transparent; margin-bottom: 23px; font-size: 13px; line-height: 1.7; }
.flash svg { margin-top: 1px; }
.flash-success { background: #eaf6ef; color: #487a5b; border-color: #d9ebdf; }
.flash-error { background: #fcf0ee; color: #ad6558; border-color: #f1d8d2; }
.modal { width: min(480px, calc(100vw - 36px)); padding: 0; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 90px #211c402b; color: var(--ink); margin: auto; max-height: calc(100dvh - 40px); }
.modal::backdrop { background: #24213e52; backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .18s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.modal-body { padding: 29px; }
.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 21px; }
.modal-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; color: var(--brand); border: 1px solid var(--brand-line); background: var(--brand-tint); border-radius: 12px; }
.modal-heading .icon-button { margin: -5px -6px 0 0; }
.modal h2 { font-size: 23px; font-weight: 550; letter-spacing: -.7px; }
.modal-description { margin: 9px 0 26px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; padding-top: 21px; border-top: 1px solid var(--line-soft); }
.stacked-form { display: flex; flex-direction: column; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label, .access-link-box label { font-size: 13px; font-weight: 500; color: var(--secondary); }
.form-field input { width: 100%; height: 46px; padding: 12px 14px; border: 1px solid var(--line); background: white; border-radius: 7px; font-size: 14px; color: var(--secondary); transition: border-color .15s; }
.form-field input::placeholder { color: var(--muted); }
.form-field input:hover { border-color: var(--brand-subtle); }
.field-hint { font-size: 12px; color: var(--muted); line-height: 1.7; }
.inline-note { display: flex; align-items: flex-start; gap: 9px; padding: 12px 13px; background: var(--surface-soft); color: var(--muted); border-radius: 6px; font-size: 12px; line-height: 1.8; }
.inline-note svg { margin-top: 1px; }
.form-errors { display: flex; align-items: flex-start; gap: 9px; padding: 12px; border: 1px solid #f0d5d0; border-radius: 7px; background: #fcf2ef; color: #a36459; font-size: 12px; margin-bottom: 20px; }
.form-errors ul { padding: 0; list-style: none; margin: 0; }
.form-errors li + li { margin-top: 5px; }
.auth-page { background: #fff; }
.auth-layout { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100dvh; padding: 48px 24px; gap: 40px; }
.auth-form-side { width: 100%; max-width: 400px; }
.auth-form-wrap { width: 100%; }
.auth-heading h1 { font-size: 28px; font-weight: 550; letter-spacing: -.85px; line-height: 1.35; }
.auth-heading { margin-bottom: 32px; }
.auth-heading .section-label { font-size: 11px; letter-spacing: 1.5px; }
.auth-heading h2 { margin-top: 12px; font-size: 28px; font-weight: 550; letter-spacing: -.85px; line-height: 1.35; }
.auth-heading p { font-size: 13px; color: var(--muted); margin-top: 13px; line-height: 1.9; }
.auth-form-wrap .stacked-form { gap: 23px; }
.auth-form-wrap .stacked-form .button { margin-top: 4px; justify-content: space-between; padding-left: 18px; padding-right: 18px; }
.auth-help { border-top: 1px solid var(--line-soft); margin-top: 30px; padding-top: 23px; color: var(--muted); font-size: 12px; line-height: 1.9; text-align: center; }
.invited-account { display: flex; align-items: center; gap: 12px; padding: 15px; background: var(--brand-tint); border: 1px solid var(--brand-line); border-radius: 8px; margin-bottom: 25px; text-align: left; }
.invited-account .avatar { border-color: var(--brand-line); background: var(--brand-soft); }
.invited-account strong { display: block; font-size: 13px; margin-top: 2px; font-weight: 500; overflow-wrap: anywhere; }
.invited-account > svg { margin-left: auto; color: #80b593; }
.access-page { max-width: 625px; margin: 0 auto; }
.back-link { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); margin: 0 0 23px 2px; }
.back-link:hover { color: var(--brand-hover); }
.reverse-arrow { display: inline-flex; transform: rotate(180deg); }
.access-panel { padding: 33px 40px 32px; text-align: center; }
.access-success { width: 57px; height: 57px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #eaf6ed; border: 1px solid #dbeedf; color: #63a37c; margin: 0 auto 20px; }
.access-panel > .section-label { color: var(--muted); font-size: 11px; }
.access-panel h1 { font-size: 25px; font-weight: 550; letter-spacing: -.9px; margin-top: 11px; line-height: 1.4; }
.access-intro { font-size: 13px; color: var(--muted); line-height: 1.9; margin-top: 12px; margin-bottom: 25px; }
.access-link-box { text-align: left; }
.copy-field { margin-top: 9px; display: flex; gap: 8px; }
.copy-field input { min-width: 0; width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 10px 12px; background: var(--surface-soft); color: var(--secondary); font-size: 12px; }
.copy-field .button { font-size: 12px; padding-left: 12px; padding-right: 12px; }
.copy-feedback { color: #66937a; font-size: 12px; display: block; line-height: 1.8; margin-top: 6px; }
.access-details { display: flex; flex-direction: column; gap: 10px; text-align: left; color: var(--muted); font-size: 12px; margin: 22px 0; }
.access-details > div { display: flex; align-items: center; gap: 9px; }
.access-warning { display: flex; align-items: flex-start; gap: 10px; padding: 13px; background: var(--surface-soft); color: var(--muted); text-align: left; font-size: 12px; line-height: 1.8; border-radius: 7px; margin-bottom: 24px; }
.access-warning svg { margin-top: 2px; }

@media (max-width: 1150px) {
  .header-inner { padding: 0 30px; gap: 20px; }
  .nav-link { padding: 0 12px; }
  .nav-link.is-active::after { left: 12px; right: 12px; }
  .account-email { max-width: 145px; }
  .main-content { padding: 38px 30px; }
  .overview-grid { gap: 15px; grid-template-columns: 1fr 1fr; }
  .metric-card { padding: 22px 20px 18px; }
  .metric-value { flex-wrap: wrap; gap: 8px; }
  .metric-caption { font-size: 12px; }
  .page-heading h1 { font-size: 31px; }
  .heading-actions { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 900px) {
  .account-detail { display: none; }
  .account-menu { gap: 4px; }
  .main-nav { margin-left: auto; margin-right: auto; }
  .brand-product { font-size: 14px; padding-left: 10px; margin-left: 2px; }
  .page-heading { align-items: flex-start; }
  .page-heading > .button { margin-top: 22px; }
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .metric-value { gap: 12px; }
  .collection-toolbar { padding: 20px; gap: 15px; }
  .collection-summary { gap: 12px; }
  .collection-meta { padding-left: 12px; }
  .merchant-groups { padding-left: 19px; padding-right: 19px; }
  .data-table td, .data-table th { padding-left: 15px; padding-right: 15px; }
  .team-table { min-width: 700px; }
  .projects-table { min-width: 580px; }
  .projects-table-team { min-width: 800px; }
  .auth-heading h2 { font-size: 25px; }
}
@media (max-width: 680px) {
  .app-header { height: 123px; }
  .header-inner { padding: 0 21px; height: 70px; flex-wrap: wrap; justify-content: space-between; column-gap: 15px; row-gap: 0; }
  .brand-logo { width: 117px; height: auto; }
  .brand-product { line-height: 18px; }
  .account-menu { height: 70px; }
  .main-nav { order: 3; width: 100%; height: 53px; gap: 24px; margin: 0; }
  .nav-link { font-size: 13px; gap: 7px; padding: 0; }
  .nav-link.is-active::after { left: 0; right: 0; }
  .nav-link svg { width: 16px; }
  .main-content { padding: 30px 19px 27px; min-height: calc(100vh - 123px); }
  .page-heading { flex-direction: column; gap: 20px; margin-bottom: 24px; }
  .eyebrow { font-size: 10px; margin-bottom: 8px; }
  .page-heading h1 { font-size: 29px; }
  .page-heading p { font-size: 12px; margin-top: 9px; }
  .page-heading > .button { margin-top: 0; }
  .heading-actions { width: 100%; justify-content: space-between; }
  .button { font-size: 12px; min-height: 41px; padding: 9px 14px; }
  .context-selector { padding: 9px 10px; }
  .context-selector select { font-size: 12px; max-width: 230px; }
  .overview-grid { gap: 11px; margin-bottom: 21px; }
  .metric-card { padding: 15px 14px 14px; }
  .metric-heading { font-size: 12px; }
  .metric-icon { width: 28px; height: 28px; }
  .metric-icon svg { width: 17px; }
  .metric-value { font-size: 34px; gap: 5px; margin: 13px 0 17px; flex-direction: column; }
  .metric-caption { font-size: 11px; }
  .metric-link, .metric-note { font-size: 11px; padding-top: 12px; min-height: 29px; }
  .metric-link { gap: 5px; }
  .metric-note { line-height: 1.7; }
  .panel { border-radius: 10px; }
  .panel-header { padding: 18px; }
  .panel-header h2 { font-size: 14px; }
  .panel-header p { font-size: 12px; }
  .analytics-empty { min-height: 240px; padding: 33px 18px 30px; }
  .analytics-empty .section-label { font-size: 10px; }
  .analytics-empty h2 { font-size: 19px; max-width: 260px; }
  .analytics-empty p { font-size: 12px; }
  .collection-toolbar { padding: 18px; align-items: flex-start; flex-direction: column; gap: 17px; }
  .collection-summary { width: 100%; gap: 17px; }
  .collection-tab { font-size: 13px; }
  .collection-meta { font-size: 12px; padding-left: 17px; }
  .search-field { width: 100%; padding: 9px 11px; }
  .search-field input { width: 100%; }
  .merchant-groups { padding: 0 12px; }
  .merchant-group { margin: 15px 0; }
  .merchant-heading { padding: 14px; }
  .merchant-identity h2 { font-size: 14px; }
  .merchant-identity { gap: 9px; }
  .merchant-caption { display: none; }
  .collection-footer { flex-direction: column; gap: 8px; padding: 15px 18px; font-size: 11px; }
  .empty-state { min-height: 358px; padding: 43px 21px; }
  .empty-state .section-label { font-size: 10px; }
  .empty-state h2 { font-size: 21px; }
  .empty-state p { font-size: 12px; }
  .below-panel-note { align-items: flex-start; padding: 18px 5px 0; font-size: 12px; line-height: 1.8; }
  .below-panel-note svg { margin-top: 3px; }
  .modal-body { padding: 24px; }
  .modal h2 { font-size: 22px; }
  .modal-actions { gap: 9px; }
  .flash { font-size: 12px; padding: 12px; }
  .auth-layout { justify-content: flex-start; padding: 36px 24px; gap: 40px; }
  .auth-heading { margin-bottom: 30px; }
  .auth-heading h2 { font-size: 29px; }
  .auth-heading p { font-size: 13px; }
  .auth-form-wrap .stacked-form .button { min-height: 46px; }
  .access-panel { padding: 28px 22px; }
  .access-panel h1 { font-size: 24px; }
  .copy-field { flex-direction: column; }
  .copy-field input { height: 43px; }
  .access-intro { font-size: 12px; }
  .desktop-only { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.data-table .row-number { white-space: nowrap; }
.identifier { display: inline-block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
