:root {
  color-scheme: light;
  --canvas: #f5f6fb;
  --surface: #fff;
  --surface-muted: #f8f9fd;
  --ink: #18223c;
  --quiet: #4e5972;
  --rule: #dfe4ef;
  --accent: #5442c1;
  --accent-deep: #42319d;
  --accent-soft: #eee9ff;
  --paid-ink: #125b49;
  --paid-soft: #ddf6eb;
  --pending-ink: #75450c;
  --pending-soft: #fff1d8;
  --side: #191936;
  --radius: 14px;
  font: 14px/1.5 Inter, "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
button, select, input, textarea { font: inherit; }
button, summary, select { cursor: pointer; }
h1, h2, p, ul, dl, dd { margin: 0; }
h1 { font-size: clamp(1.95rem, 3vw, 2.65rem); line-height: 1.1; letter-spacing: -.04em; overflow-wrap: anywhere; }
h2 { font-size: 1.1rem; line-height: 1.3; letter-spacing: -.017em; }
small { color: var(--quiet); }
svg { display: inline-block; width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 3px solid #7765ed; outline-offset: 3px; }
.skip { position: fixed; top: 6px; left: 6px; z-index: 5; background: #fff; padding: 10px 14px; transform: translateY(-130%); }
.skip:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shell { min-height: 100vh; display: grid; grid-template-columns: 238px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 24px; padding: 26px 17px 16px; background: var(--side); color: #f0eeff; overflow: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 750; font-size: 19px; letter-spacing: -.04em; width: max-content; }
.brand:hover { text-decoration: none; }
.sidebar > .brand { padding-inline: 7px; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 33px; color: #fff; border-radius: 10px; background: linear-gradient(145deg, #9881fb, #5e4dd5); font-size: 23px; line-height: 1; font-weight: 760; }
.brand-name small { color: #c2b8f9; font-size: 10px; letter-spacing: .04em; margin-left: 4px; }
.workspace-brand-mark { display: flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; padding: 3px; overflow: hidden; border-radius: 8px; background: var(--canvas); }
.workspace-brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.topbar-workspace-brand { display: inline-flex; flex: none; border-radius: 8px; }
.workspace, .staff { display: flex; align-items: center; gap: 10px; min-width: 0; }
.workspace { padding: 10px; border-radius: 12px; border: 1px solid #4e486a; background: #2d294d; }
.workspace strong, .staff strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
.workspace small, .staff small { color: #c3bddb; display: block; font-size: 11px; }
.workspace-mark, .avatar { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 8px; background: #454262; color: #f5f2ff; font-size: 11px; font-weight: 750; }
.avatar { border-radius: 50%; background: #6b55a9; }
.sidebar nav { display: grid; gap: 5px; }
.nav-link { color: #ddd9ef; width: 100%; border: none; background: transparent; padding: 10px 11px; min-height: 42px; border-radius: 9px; display: flex; align-items: center; gap: 11px; text-align: left; font-size: 13px; font-weight: 600; }
.nav-link svg { color: #b5a9df; }
.nav-link:hover { background: #393359; color: white; text-decoration: none; }
.nav-link[aria-current="page"] { color: #fff; background: #423568; box-shadow: inset 3px 0 #a28af8; font-weight: 700; text-decoration: none; }
.nav-link[aria-current="page"] svg { color: #dbccff; }
.subnav { padding-left: 34px; font-weight: 500; min-height: 38px; }
.subnav svg { width: 15px; height: 15px; }
.nav-group { display: grid; gap: 5px; }
.nav-disclosure > summary { list-style: none; }
.nav-disclosure > summary::-webkit-details-marker { display: none; }
.nav-disclosure > summary svg:last-child { width: 14px; height: 14px; margin-left: auto; }
.nav-disclosure[open] > summary svg:last-child { transform: rotate(180deg); }
.nav-disclosure > .nav-group { margin-top: 5px; }
.sidebar-bottom { margin-top: auto; display: grid; gap: 12px; border-top: 1px solid #403c5b; padding-top: 16px; }
.staff { padding: 0 9px; }
.staff small { text-transform: capitalize; }
.stage { min-width: 0; }
.topbar { min-height: 66px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--rule); background: #fff; padding-inline: clamp(20px, 3vw, 42px); }
.breadcrumb { display: flex; min-width: 0; align-items: center; gap: 10px; color: var(--quiet); font-size: 13px; }
.breadcrumb strong { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 7px; color: #48368e; background: #f1edfd; border-radius: 99px; padding: 5px 11px; font-size: 12px; font-weight: 650; }
.demo > span { width: 7px; height: 7px; border-radius: 50%; background: #7959ca; }
.notification-link { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 4px; min-width: 39px; min-height: 39px; padding: 5px; margin-left: auto; border: 1px solid var(--rule); border-radius: 8px; color: var(--accent-deep); }
.notification-link svg { width: 19px; height: 19px; flex: none; }
.notification-link span { font-size: 11px; font-weight: 700; }
.staff-preview { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; margin-bottom: 16px; border: 1px solid #d1c5ef; border-radius: 8px; background: #f2edff; }
.staff-preview p { color: var(--quiet); font-size: 13px; }
.team-add { margin-bottom: 16px; }
.team-add > summary { list-style: none; }
.team-add > summary::-webkit-details-marker { display: none; }
.team-add > .panel { margin-top: 10px; }
.team-row-actions { display: grid; gap: 5px; }
.demo + .notification-link { margin-left: 0; }
.mobile-menu { display: none; }
.stage main { max-width: 1480px; padding: 33px clamp(20px, 3vw, 42px) 55px; margin-inline: auto; }
.heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px 22px; margin-bottom: 23px; }
.stage main > .heading { align-items: center; padding: 20px 22px; border: 1px solid #ded7f0; border-radius: var(--radius);
  background: linear-gradient(118deg, #f2edff, #fbfaff 58%, #fff); min-width: 0; }
.heading > div:first-child { min-width: 0; }
.heading p { color: var(--quiet); margin-top: 7px; font-size: 15px; overflow-wrap: anywhere; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 8px 13px; border: 1px solid transparent; border-radius: 9px; white-space: nowrap; font-weight: 650; line-height: 1.25; font-size: 13px; }
.button:hover { text-decoration: none; }
.button svg { width: 16px; height: 16px; }
.primary { color: #fff; background: var(--accent); box-shadow: 0 2px 4px #42319d26; }
.primary:hover { background: var(--accent-deep); box-shadow: 0 2px 5px #42319d37; }
.secondary { color: var(--ink); background: #fff; border-color: #d9ddea; }
.secondary:hover { background: var(--accent-soft); border-color: #d4caef; color: var(--accent-deep); }
.quiet { padding-inline: 8px; min-height: 35px; color: var(--accent-deep); background: transparent; }
.quiet:hover { background: #f1edfd; }
.danger-text { color: #9c2e44; }
.top-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.directory-export { position: relative; }
.directory-export > summary { cursor: pointer; list-style: none; }
.directory-export > summary::-webkit-details-marker { display: none; }
.directory-export-options { position: absolute; z-index: 2; inset-inline-end: 0; top: calc(100% + 4px); display: grid;
  min-width: max-content; padding: 4px; background: var(--surface); border: 1px solid var(--rule); border-radius: 9px; box-shadow: 0 4px 12px #18234818; }
.directory-export-options .button { justify-content: flex-start; }
.saved-views { padding: 0 16px 12px; min-width: 0; }
.saved-views summary { list-style: none; }
.saved-views summary::-webkit-details-marker { display: none; }
.saved-views[open] > summary svg, .saved-view-manage[open] > summary svg { transform: rotate(180deg); }
.saved-views-body { display: grid; gap: 12px; max-width: 560px; margin-top: 8px; padding: 12px;
  background: var(--canvas); border: 1px solid var(--rule); border-radius: 9px; }
.saved-views-empty { color: var(--quiet); font-size: 13px; }
.saved-view-list { list-style: none; border-bottom: 1px solid var(--rule); padding: 0 0 8px; }
.saved-view-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 4px 8px; }
.saved-view-row + .saved-view-row { border-top: 1px solid var(--rule); }
.saved-view-row > a { display: block; padding-block: 8px; color: var(--accent-deep); }
.saved-view-manage[open] { grid-column: 1 / -1; }
.saved-view-actions { display: grid; gap: 6px; padding: 6px 0 9px; }
.saved-view-form { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; }
.saved-view-form .field { flex: 1 1 220px; }
.notice, .form-error { border-radius: 9px; padding: 10px 12px; }
.notice { display: flex; align-items: center; gap: 8px; color: #13603f; background: #e7f7ef; border: 1px solid #b9e5cd; margin-bottom: 17px; }
.form-error { color: #8f2540; background: #fdf0f3; border: 1px solid #efc5d0; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 21px; }
.metric, .panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 2px 7px #1823480d; }
.metric { padding: 15px 17px; color: var(--quiet); display: grid; grid-template-columns: 1fr auto; gap: 3px; min-width: 0; align-items: center; }
.metric:hover { border-color: #bbb0f0; text-decoration: none; box-shadow: 0 3px 12px #5442c116; }
.metric-icon, .event-icon { width: 35px; height: 35px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #f0ecff; color: #5540af; }
.metric-arrow { color: #707991; }
.metric-arrow svg { width: 15px; }
.metric strong { font-size: 30px; letter-spacing: -.05em; grid-column: 1/-1; color: var(--ink); line-height: 1.1; margin-top: 7px; }
.metric > span:last-child { grid-column: 1/-1; color: var(--quiet); font-weight: 550; font-size: 13px; }
.blue { background: #eaf2fb; color: #325d92; }
.amber { background: #fff3df; color: #87530d; }
.red, .event-icon.late { background: #fdedf0; color: #a13a50; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.dashboard-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 10px; }
.dashboard-section-head h2 { font-size: 17px; }
.dashboard-section-head p, .dashboard-ranking-caption { color: var(--quiet); font-size: 12px; }
.dashboard-totals, .dashboard-rankings { display: grid; gap: 12px; }
.dashboard-totals { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 24px; }
.dashboard-rankings { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.dashboard-totals.dashboard-single-direction, .dashboard-rankings.dashboard-single-direction { grid-template-columns: minmax(0, 1fr); }
.dashboard-total { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px; min-width: 0; box-shadow: 0 2px 7px #1823480d; }
.dashboard-total h3 { font-size: 15px; margin: 0 0 12px; line-height: 1.3; }
.dashboard-total h3 a { color: inherit; display: flex; align-items: center; gap: 8px; min-height: 28px; }
.dashboard-total h3 a:hover { color: var(--accent-deep); }
.dashboard-total h3 .metric-icon { width: 28px; height: 28px; border-radius: 8px; }
.dashboard-total h3 .metric-icon svg, .dashboard-total-arrow svg { width: 15px; height: 15px; }
.dashboard-total-arrow { margin-inline-start: auto; color: var(--quiet); }
.dashboard-total-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dashboard-total-split > div { padding: 9px 8px; border-radius: 9px; min-width: 0; }
.dashboard-total-split > div:has(.is-paid) { background: #f0fbf6; }
.dashboard-total-split > div:has(.is-pending) { background: #fff9ed; }
.dashboard-total-split dd { font-size: clamp(1.15rem, 1.55vw, 1.58rem); font-weight: 760; margin-top: 4px; line-height: 1.18; }
.dashboard-money-label { min-height: 25px; padding: 3px 8px; border-radius: 99px; font-size: 12px; font-weight: 700;
  line-height: 1.25; display: inline-flex; align-items: center; gap: 5px; }
.dashboard-money-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex: none; background: currentColor; }
.dashboard-money-label.is-paid { color: var(--paid-ink); background: var(--paid-soft); }
.dashboard-money-label.is-pending { color: var(--pending-ink); background: var(--pending-soft); }
.dashboard-money-label a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.dashboard-money-label:has(a:hover) { background: #fbe3ac; }
.dashboard-total-split dd, .dashboard-total-number, .dashboard-pending-margin strong, .dashboard-ranking-table td:not(:first-child),
.dashboard-team-table td:not(:first-child) { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dashboard-total-number { display: block; font-size: clamp(1.45rem, 2.1vw, 2.1rem); font-weight: 770; line-height: 1.2; letter-spacing: -.034em; }
.dashboard-total p { margin-top: 5px; font-size: 12px; color: var(--quiet); }
.dashboard-paid-profit { background: #2e2760; color: #fff; border-color: #2e2760; }
.dashboard-paid-profit p { color: #e0dcf7; }
.dashboard-in-flight .dashboard-pending-margin { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 8px; padding-top: 5px; margin-top: 7px; border-top: 1px solid var(--rule); }
.dashboard-pending-margin strong { color: var(--ink); }
.dashboard-ranking-caption { padding: 8px 16px; }
.dashboard-ranked-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dashboard-ranked-name small { display: block; }
.dashboard-rank { background: #f1eefc; color: var(--accent-deep); border-radius: 7px; min-width: 25px; min-height: 24px; padding: 2px 5px; text-align: center; font-size: 11px; font-weight: 700; flex: none; }
.dashboard-ranked-amount { font-weight: 650; }
.dashboard-ranking-progress { appearance: none; display: block; width: 100%; height: 8px; border: 0; border-radius: 999px; overflow: hidden; background: #ebedf6; }
.dashboard-ranking-progress::-webkit-progress-bar { background: transparent; }
.dashboard-ranking-progress::-webkit-progress-value { background: var(--dashboard-bar-fill); }
.dashboard-ranking-progress::-moz-progress-bar { background: var(--dashboard-bar-fill); }
.dashboard-partner-progress, .dashboard-profit-progress { --dashboard-bar-fill: linear-gradient(90deg, #13856d, #39c990); }
.dashboard-partner-progress { background: #f7b951; margin-top: 8px; }
.dashboard-partner-progress.is-empty { background: #ebedf6; }
.dashboard-team-progress { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px; width: clamp(80px, 11vw, 148px); max-width: 100%; margin-top: 5px; }
.dashboard-team-progress::after { content: ''; position: absolute; top: -2px; bottom: -2px; left: calc(50% - 0.5px); width: 1px; background: #737d95; }
.dashboard-loss-progress { --dashboard-bar-fill: linear-gradient(90deg, #dc5676, #ae375c); direction: rtl; }
.dashboard-team-profit { font-weight: 740; }
.dashboard-team-profit[data-sign="1"] { color: #186045; }
.dashboard-team-profit[data-sign="-1"] { color: #923449; }
.team-metric-unavailable { color: var(--quiet); }
.my-progress { margin-top: 20px; }
.my-progress-scope { color: var(--quiet); font-size: 12px; font-weight: 650; text-align: right; }
.my-progress-grid { display: grid; gap: 12px; padding: 14px 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr)); }
.my-progress-grid > article { min-width: 0; border: 1px solid var(--rule); border-radius: 11px; background: #f9f9fd; padding: 11px; }
.my-progress h3 a { display: flex; align-items: center; gap: 7px; min-height: 24px; color: var(--ink); }
.my-progress h3 svg { width: 17px; height: 17px; flex: none; color: var(--accent-deep); }
.my-progress h3 a > strong, .my-progress h3 a > svg:last-child { margin-inline-start: auto; }
.my-progress h3 a > strong { font-size: 19px; font-variant-numeric: tabular-nums; }
.my-progress-counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 9px; }
.my-progress-count { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 32px;
  min-width: 0; padding: 5px 7px; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 630; overflow-wrap: anywhere; }
.my-progress-count:not(.active, .prospect, .on_hold, .late) { color: var(--ink); background: #eeedf6; }
.my-progress-count:hover { border-color: currentColor; text-decoration: none; }
.my-progress-count strong { font-size: 14px; font-variant-numeric: tabular-nums; }
.my-progress-completion { --dashboard-bar-fill: linear-gradient(90deg, #14765f, #32b789); margin-top: 10px; }
@media (min-width: 671px) {
  .dashboard-ranking-table th:not(:first-child), .dashboard-ranking-table td:not(:first-child),
  .dashboard-team-table th:not(:first-child), .dashboard-team-table td:not(:first-child) { text-align: right; }
  .dashboard-team-progress { margin-inline-start: auto; }
}
@media (max-width: 1240px) {
  .dashboard-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1241px) {
  .dashboard-totals:not(.dashboard-single-direction) .dashboard-total-split { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .dashboard-totals:not(.dashboard-single-direction) .dashboard-total-split > div {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px;
  }
  .dashboard-totals:not(.dashboard-single-direction) .dashboard-total-split dd {
    margin-top: 0; max-width: 100%; font-size: clamp(1.13rem, 1.4vw, 1.45rem);
  }
}
@media (max-width: 800px) {
  .dashboard-rankings { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 600px) {
  .dashboard-totals { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 16px; }
}
@media (max-width: 500px) {
  .dashboard-total { padding: 11px 12px; }
  .dashboard-total h3 { margin-bottom: 8px; }
}
.panel { min-width: 0; margin-bottom: 18px; }
.panel-head { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.panel > .panel-head:first-child { border-start-start-radius: calc(var(--radius) - 1px); border-start-end-radius: calc(var(--radius) - 1px);
  background: linear-gradient(112deg, #f8f7ff, #fcfcff); }
.panel-head h2 { min-width: 0; overflow-wrap: anywhere; }
.stack { list-style: none; padding: 0; }
.stack li { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.stack li + li { border-top: 1px solid #edf0f6; }
.company-stack li { justify-content: space-between; }
.row-company { display: flex; min-width: 0; align-items: center; gap: 10px; }
.row-company > span:last-child { min-width: 0; }
.row-company small { display: block; font-size: 11px; overflow-wrap: anywhere; }
.letter { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; font-size: 11px; font-weight: 800; color: #53409c; background: #eee9fc; }
.letter-1 { color: #175e56; background: #e0f4ef; }
.letter-2 { color: #904c25; background: #fbeddd; }
.letter-3 { color: #375d92; background: #e3edfb; }
.letter-4 { color: #8b4164; background: #f8e9f1; }
.entity { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.entity:hover { color: var(--accent-deep); }
.company-row-badges, .detail-badges, .tags { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.badge { display: inline-flex; max-width: 100%; align-items: center; gap: 5px; color: #465168; background: #edf0f6;
  padding: 3px 8px; border: 1px solid transparent; border-radius: 99px; font-size: 12px; font-weight: 680; line-height: 1.3; overflow-wrap: anywhere; }
.buyer, .low { color: #234d81; background: #e5efff; }
.publisher { color: #523781; background: #f0e8fc; }
.both { color: #4e398f; background: #ece6fc; }
.active { color: var(--paid-ink); background: var(--paid-soft); }
.prospect { color: #384e78; background: #eaf0fc; }
.on_hold, .medium { color: var(--pending-ink); background: var(--pending-soft); }
.late, .high { color: #86283f; background: #fde8ee; }
.task-list li, .notes li { align-items: flex-start; }
.task-copy, .notes li > div { min-width: 0; overflow-wrap: anywhere; }
.notes .audit-details { padding: 4px 0 0 16px; }
.notes .audit-details li { display: list-item; padding: 2px 0; border: 0; }
.account-history-previous { border-top: 1px solid var(--rule); }
.account-history-previous > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 44px; padding: 10px 16px; color: var(--accent-deep); font-weight: 650; list-style: none; }
.account-history-previous > summary::-webkit-details-marker { display: none; }
.account-history-previous > summary:hover { background: var(--surface-muted); }
.account-history-previous > summary svg { width: 16px; height: 16px; flex: none; }
.account-history-previous[open] > summary svg { transform: rotate(180deg); }
.account-history-previous[open] > summary { border-bottom: 1px solid var(--rule); }
.task-copy { flex: 1; }
.task-copy > a, .task-copy > small { display: block; }
.task-copy > a { font-size: 12px; }
.task-end { flex: none; display: grid; justify-items: end; gap: 4px; }
.task-end .quiet { min-height: 27px; padding: 4px 7px; }
.stack p { color: var(--quiet); margin: 2px 0; white-space: pre-wrap; }
.empty { padding: 23px 16px; color: var(--quiet); }
.empty strong { color: var(--ink); }
.tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; padding: 8px 12px; border-bottom: 1px solid var(--rule); }
.tabs a { display: inline-flex; min-height: 38px; align-items: center; color: var(--quiet); border: 1px solid transparent;
  border-radius: 8px; padding: 5px 10px; font-weight: 650; font-size: 13px; overflow-wrap: anywhere; }
.tabs a:hover { color: var(--accent-deep); background: var(--surface-muted); text-decoration: none; }
.tabs a[aria-current="page"] { color: var(--accent-deep); background: var(--accent-soft); border-color: #dbd0fa; text-decoration: none; }
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
.filters .search { position: relative; flex: 1 1 245px; max-width: 390px; }
.search svg { position: absolute; color: var(--quiet); left: 11px; top: 11px; }
.filters .search input { padding-left: 35px; }
.clear { padding: 7px; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
td, th { padding: 12px 14px; }
th { color: #3f4b66; font-size: 12px; font-weight: 700; background: #f0f2fa; white-space: nowrap; }
td { border-top: 1px solid #e9edf5; overflow-wrap: anywhere; }
th:first-child, td:first-child { padding-left: 16px; }
tbody tr:nth-child(even) { background: #fbfcff; }
tbody tr:hover { background: #f7f4ff; }
.directory td { vertical-align: top; }
.company-quick { margin-left: 44px; font-size: 12px; }
.company-quick summary { width: fit-content; padding-block: 4px; color: var(--accent-deep); font-weight: 650; }
.company-quick dl { display: grid; gap: 5px; padding: 8px 10px; background: var(--canvas); border: 1px solid var(--rule); border-radius: 8px; }
.company-quick dt { color: var(--quiet); }
.company-quick dd { font-weight: 600; }
.result-count { padding: 12px 16px; border-top: 1px solid var(--rule); color: var(--quiet); font-size: 12px; }
.pipeline-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.pipeline-filters { align-items: end; border-bottom: 1px solid var(--rule); }
.pipeline-filters .field { flex: 1 1 155px; max-width: 240px; }
.pipeline-import-upload input[type="file"] { overflow: hidden; }
.pipeline-import-flow { display: grid; gap: 14px; max-width: 820px; min-width: 0; }
.pipeline-import-source, .pipeline-import-example, .pipeline-import-explanation { overflow-wrap: anywhere; }
.pipeline-import-example, .pipeline-import-explanation { color: var(--quiet); }
.pipeline-import-explanation { display: block; margin-top: 4px; }
.pipeline-import-counts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.pipeline-import-review .pipeline-import-counts { padding: 14px 16px; }
.pipeline-import-counts > div { display: grid; gap: 3px; padding: 8px 11px; border: 1px solid var(--rule); border-radius: 8px; }
.pipeline-import-counts dt { color: var(--quiet); font-size: 12px; }
.pipeline-import-counts dd { margin: 0; font-weight: 650; }
.pipeline-import-review td { vertical-align: top; }
.pipeline-import-confirm { padding: 14px 16px; }
.prospect-list { list-style: none; padding: 0; }
.prospect-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.1fr); align-items: start; gap: 10px 18px; padding: 15px 16px; }
.prospect-row + .prospect-row { border-top: 1px solid var(--rule); }
.prospect-row .row-company { align-self: center; }
.prospect-cell { display: grid; gap: 2px; font-size: 13px; min-width: 0; overflow-wrap: anywhere; }
.prospect-cell small { color: var(--quiet); }
.prospect-badges { margin: 0; }
.conversion-matches { list-style: none; padding: 0; display: grid; gap: 8px; }
.conversion-matches li { padding: 9px 11px; border: 1px solid var(--rule); border-radius: 8px; overflow-wrap: anywhere; }
.conversion-matches small { display: block; margin-top: 4px; }
.conversion-summary { overflow-wrap: anywhere; }
.conversion-summary ul { margin-top: 6px; padding-left: 1.25em; }
input:not([type="checkbox"]), select, textarea { width: 100%; min-width: 0; color: var(--ink); border: 1px solid #bcc6da; background: #fff; border-radius: 8px; min-height: 39px; padding: 8px 10px; }
input::placeholder, textarea::placeholder { color: #5c6880; opacity: 1; }
textarea { display: block; resize: vertical; min-height: 75px; }
input[aria-invalid], textarea[aria-invalid], select[aria-invalid] { border-color: #ae4861; }
input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--accent); }
.record-form { max-width: 820px; display: grid; gap: 18px; padding: 20px; }
[data-agreement-setup] [hidden] { display: none; }
[data-agreement-panel] { border-top: 1px solid var(--rule); }
.form-grid { display: grid; gap: 13px 15px; }
.fields-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; align-content: start; gap: 5px; min-width: 0; }
.field > span, legend { color: var(--ink); font-size: 13px; font-weight: 700; }
.traffic-fields { display: grid; align-content: start; gap: 8px; min-width: 0; }
.traffic-picker { border: 1px solid var(--rule); border-radius: 8px; padding: 8px 10px; }
.traffic-picker summary { cursor: pointer; font-weight: 650; }
.traffic-options { display: grid; gap: 6px; max-height: 220px; overflow: auto; margin-top: 8px; }
.traffic-options .check { max-width: 100%; overflow-wrap: anywhere; }
.catalog-add { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; margin-top: 10px; }
.buying-model-fields, .buying-methods { display: grid; align-content: start; gap: 8px; min-width: 0; }
.buying-methods[hidden] { display: none; }
.field b, .field-error { color: #9c2e44; }
.field-error { font-weight: 600; }
fieldset { padding: 9px 13px 12px; margin: 0; border: 1px solid var(--rule); border-radius: 9px; }
.partner-profile-fields { display: grid; min-width: 0; gap: 12px; padding: 12px 14px 16px; }
.partner-profile-fields[hidden] { display: none; }
.partner-profile-fields legend { padding-inline: 5px; font-size: 15px; color: var(--ink); }
.profile-hint { margin-top: 3px; color: var(--quiet); font-size: 12px; }
.check-group { display: flex; gap: 16px; flex-wrap: wrap; }
.check { display: inline-flex; width: fit-content; align-items: center; gap: 5px; cursor: pointer; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-top: 16px; border-top: 1px solid var(--rule); }
.detail-badges { margin-top: -12px; margin-bottom: 14px; }
#account-status { margin-bottom: 15px; scroll-margin-top: 10px; }
.company-status-row { display: flex; align-items: flex-start; gap: 8px; }
.company-status-row .detail-badges { margin: 0; min-height: 32px; align-items: center; }
.account-status-alert { margin-top: 8px; padding: 8px 10px; border: 1px solid #cdd4e3; border-inline-start: 4px solid #747f94; border-radius: 8px; background: #f8f9fc; color: #37445a; font-size: 12px; overflow-wrap: anywhere; }
.account-status-alert.paused { background: #fff6e4; border-color: #ebcb90; border-inline-start-color: #b46c0c; color: #654107; }
.account-status-alert.closed { background: #fff1f2; border-color: #edbdc3; border-inline-start-color: #a73d4e; color: #7b2436; }
.status-alert-title { display: flex; align-items: center; gap: 6px; }
.status-alert-title svg { width: 16px; height: 16px; flex: none; }
.account-status-alert p { margin: 4px 0 6px; color: var(--ink); white-space: pre-wrap; }
.status-alert-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; }
td .account-status-alert { max-width: 24rem; }
#account-status > .account-status-alert { padding: 12px 14px; font-size: 13px; }
#account-status .status-alert-title { font-size: 14px; }
.status-editor { min-width: 0; }
.status-editor summary { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding-inline: 4px; border-radius: 6px; list-style: none; }
.status-editor summary::-webkit-details-marker { display: none; }
.status-editor summary:hover { background: #edf0f5; }
.status-editor summary svg { width: 13px; height: 13px; color: var(--quiet); }
.status-editor[open] summary svg { transform: rotate(180deg); }
.status-form { max-width: 280px; margin-top: 8px; }
.status-form .form-error { margin-bottom: 7px; }
.status-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.status-controls .field { flex: 1 1 120px; }
.status-form .reason-field { margin-top: 8px; }
.address-lines { white-space: pre-wrap; overflow-wrap: anywhere; }
.subtabs { margin-bottom: 15px; padding-inline: 0; }
[id="overview"], [id="contacts"], [id="activity"], [id="tasks"] { scroll-margin-top: 10px; }
#buyer-profile, #publisher-profile, #onboarding { scroll-margin-top: 10px; }
.record-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 14px 16px; gap: 13px 18px; }
.record-info dt { color: var(--quiet); font-size: 12px; font-weight: 560; margin-bottom: 3px; }
.record-info dd { font-weight: 660; overflow-wrap: anywhere; }
:is(#overview, #buyer-profile, #publisher-profile) .record-info > div { min-width: 0; padding: 9px 10px; border-radius: 8px; background: var(--surface-muted); }
.partner-profiles .record-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.profile-paperwork, .profile-notes { padding: 12px 16px 14px; border-top: 1px solid var(--rule); }
.profile-paperwork h3, .profile-notes h3 { margin: 0; font-size: 13px; }
.profile-paperwork .record-info { padding: 10px 0 0; }
.profile-notes p { margin-top: 5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-links { list-style: none; padding: 0; display: grid; gap: 4px; }
.record-description { padding: 0 16px 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.contacts li > div:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.contact-links { display: flex; flex-wrap: wrap; gap: 3px 10px; color: var(--quiet); font-size: 12px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 3px; }
.inline-form { display: grid; gap: 10px; border-top: 1px solid var(--rule); padding: 13px 16px 16px; }
.inline-form .button { justify-self: start; }
.invoice-statuses { display: flex; flex-wrap: wrap; gap: 4px; }
.invoice-status-editor { border-top: 1px solid var(--rule); }
.invoice-status-editor summary { min-height: 44px; padding: 12px 16px; color: var(--accent-deep); font-weight: 650; }
.invoice-deduction:not([hidden]) { display: grid; gap: 10px; padding: 10px 12px 12px; }
.invoice-itemization { border: 1px solid var(--rule); border-radius: 9px; padding: 0 12px; min-width: 0; }
.invoice-itemization > summary { padding: 11px 0; cursor: pointer; color: var(--accent-deep); font-weight: 650; }
.invoice-itemization > p { margin-bottom: 10px; }
.invoice-line-rows { display: grid; gap: 8px; }
.invoice-line-rows fieldset { min-width: 0; }
.invoice-line-fields { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 8px 12px; }
.invoice-line-fields input { min-width: 0; }
.invoice-line-rate output { display: block; min-height: 42px; padding: 9px 10px; border-radius: 8px; background: var(--canvas); overflow-wrap: anywhere; }
.invoice-itemization [data-remove-invoice-line]:not([hidden]) { margin-top: 6px; }
.invoice-itemization [data-add-invoice-line]:not([hidden]) { margin: 10px 0; }
.invoice-itemization [hidden] { display: none; }
.invoice-line-details { min-width: 0; }
.invoice-line-details td { white-space: normal; overflow-wrap: anywhere; }
.invoice-line-details > .record-info { border-top: 1px solid var(--rule); }
.invoice-line-note { padding: 0 16px 14px; }
.finance-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; align-items: end; padding: 16px; }
.finance-filters .form-actions { grid-column: 1 / -1; justify-content: flex-start; padding: 0; }
.finance-summary { border-block: 1px solid var(--rule); background: #f8f8fc;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 9px; }
.finance-summary > div { border-radius: 10px; padding: 10px 12px; border: 1px solid var(--rule); background: var(--surface); }
.finance-summary dt { font-weight: 700; }
.finance-summary dd { font-size: clamp(17px, 2.1vw, 22px); font-weight: 760; font-variant-numeric: tabular-nums; }
.finance-summary > .finance-total-pending { background: #fff6e4; border-color: #ead4a7; }
.finance-summary > .finance-total-overdue { background: #fff0f3; border-color: #ecc4d1; }
.finance-summary > .finance-total-paid { background: #eaf8f1; border-color: #bcded0; }
.finance-report-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px 8px; background: #f8f8fc; }
.finance-report-header span, .finance-report-list-head p, .finance-report-list-head > span { color: var(--quiet); font-size: 12px; }
.finance-report-summary { border-top: 0; padding-top: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 128px), 1fr)); }
.finance-report-summary dd:not(.finance-team-detail) { font-size: clamp(1.2rem, 2.3vw, 1.74rem); line-height: 1.25; }
.finance-report-summary .finance-team-detail { margin-top: 3px; color: var(--quiet); font-size: 12px; font-weight: 400; line-height: 1.35; }
.finance-report-list-head p { margin-top: 3px; }
.finance-report-list-head > span { text-align: end; }
.finance-team-caption { margin: 0; padding: 8px 14px; color: var(--quiet); font-size: 13px; }
.finance-team-report td { font-variant-numeric: tabular-nums; }
.finance-team-member-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px; margin-top: 3px; color: var(--quiet); font-size: 12px; }
.finance-team-net .dashboard-team-progress { width: min(116px, 100%); margin-inline-start: 0; }
.finance-publisher-progress .dashboard-partner-progress { max-width: 150px; margin-top: 4px; }
.finance-team-report .finance-team-unassigned { background: var(--surface-muted); }
.finance-total-pending dt { color: #754711; }
.finance-total-overdue dt { color: #8e2847; }
.finance-total-paid dt { color: #16604a; }
.record-info .invoice-overpayment dt, .invoice-overpayment dd, .invoice-overpayment-value { color: #80500f; }
.finance-table .invoice-overpayment-value { display: block; margin-top: 3px; }
.finance-partner { display: block; color: var(--quiet); margin-top: 3px; overflow-wrap: anywhere; }
.finance-pagination { display: flex; align-items: center; gap: 8px; padding: 10px 16px; }
.invoice-reconcile > summary { color: var(--accent-deep); padding: 10px 16px; cursor: pointer; font-weight: 650; }
.finance-reversal { margin-top: 8px; border-inline-start: 2px solid var(--rule); padding-inline-start: 8px; overflow-wrap: anywhere; }
.invoice-deduction-history { display: grid; gap: 8px; padding: 12px 16px 16px; list-style: none; }
.invoice-deduction-flag, .stack li.notification-deduction {
  padding: 10px 12px;
  border: 1px solid #ebc48b;
  border-inline-start: 4px solid #a65a0a;
  border-radius: 8px;
  background: #fff5e3;
  color: #643b0d;
  overflow-wrap: anywhere;
}
.invoice-list-alerts { display: grid; gap: 8px; min-width: 0; }
.prospect-row > .invoice-list-alerts { grid-column: 1 / -1; }
.finance-table .invoice-list-alerts { margin-top: 8px; max-width: 24rem; }
.invoice-history-link .badge { text-decoration: underline; text-underline-offset: 2px; }
.invoice-deduction-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.invoice-deduction-title svg { width: 17px; height: 17px; flex: none; }
.invoice-deduction-title span { font-size: 12px; font-weight: 650; }
.invoice-deduction-flag p { margin: 4px 0 6px; color: var(--ink); white-space: pre-wrap; }
.prospect-row .invoice-deduction-flag p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.invoice-deduction-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12px; }
.invoice-deduction-meta a { font-weight: 650; text-decoration: underline; }
.stack li.notification-deduction { display: block; margin: 8px 12px; }
.notification-deduction p { overflow-wrap: anywhere; }
.company-documents li { align-items: center; justify-content: space-between; gap: 12px; }
.document-copy { min-width: 0; overflow-wrap: anywhere; }
.document-filename { display: block; }
.workspace-settings-form { display: grid; gap: 16px; }
.workspace-settings-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; gap: 16px; }
.workspace-settings-fields, .workspace-logo-settings { padding: 16px; min-width: 0; }
.workspace-settings-wide { grid-column: 1 / -1; min-width: 0; }
.workspace-logo-settings { display: grid; gap: 10px; }
.workspace-logo-preview { display: flex; align-items: center; justify-content: center; height: 132px; padding: 10px; overflow: hidden; border: 1px solid var(--rule); border-radius: 8px; background: var(--canvas); color: var(--quiet); text-align: center; }
.workspace-logo-preview img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.workspace-logo-settings input { min-width: 0; }
.workspace-settings-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.workspace-settings-footer > button { margin-left: auto; }
.email-settings-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; max-width: 1120px; }
.email-settings-layout > * { min-width: 0; }
.email-template-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.email-template-category { display: grid; align-content: start; gap: 6px; min-height: 104px; margin: 0; padding: 16px; }
.email-template-category:hover, .email-template-category:focus-visible { border-color: var(--accent); }
.email-template-list li { flex-wrap: wrap; }
.email-template-list-content { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.email-template-preview { gap: 14px; overflow-wrap: anywhere; }
.email-template-preview-message { white-space: pre-wrap; }
.email-template-tags code { overflow-wrap: anywhere; }
.email-template-archive form { margin-top: 10px; }
.email-template-archive .button { margin-top: 8px; }
.email-provider-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; border-radius: 9px; background: var(--canvas); }
.email-provider-details[hidden], .email-custom-settings[hidden] { display: none; }
.email-provider-details dt, .email-test-results dt { color: var(--quiet); font-size: 12px; }
.email-provider-details dd { overflow-wrap: anywhere; font-weight: 600; }
.email-custom-settings { display: grid; gap: 8px; }
.email-status-body { display: grid; gap: 12px; padding: 16px; }
.email-mailbox { font-weight: 650; overflow-wrap: anywhere; }
.email-mailbox small { font-weight: 500; }
.email-test-results { display: grid; gap: 6px; }
.email-test-results > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; align-items: center; }
.email-test-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.email-testing { display: none; }
.email-test-form[aria-busy="true"] .email-testing { display: block; }
.email-disconnect { padding-top: 10px; border-top: 1px solid var(--rule); }
.email-disconnect summary { font-weight: 650; color: var(--accent-deep); }
.email-disconnect form { margin-top: 8px; }
@media (max-width: 1024px) {
  .workspace-settings-grid { grid-template-columns: 1fr; }
  .email-settings-layout { grid-template-columns: 1fr; }
}
input[type="file"] { width: 100%; min-width: 0; }
button[aria-disabled="true"] { opacity: .72; cursor: wait; }
.error-shell { max-width: 620px; margin: 12vh auto 0; padding: 16px; }
.error-page { padding: 24px; display: grid; justify-items: start; gap: 9px; }
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 47%) minmax(0, 53%); }
.login-art { padding: 35px; color: #fff; display: grid; position: relative; isolation: isolate; overflow: hidden; align-content: start; background: radial-gradient(ellipse at 43% 60%, #6151ae, transparent 59%), #191936; }
.login-emblem { position: absolute; display: grid; place-items: center; inset: 18% 10% 15%; font-size: min(38vw, 44vh); color: #b6a5ff76; font-weight: 750; text-shadow: 0 15px 60px #1c133a8a; line-height: 1; z-index: -1; }
.login-main { display: grid; align-items: center; justify-items: center; padding: 30px; }
.login-card { width: min(100%, 390px); display: grid; gap: 14px; }
.login-card p { color: var(--quiet); }
.login-brand { display: none; }
.login-help { padding: 12px; background: #eeeafa; border-radius: 9px; color: #48368e; }
.login-help p { overflow-wrap: anywhere; font-size: 12px; margin-top: 4px; }
.login-help code { color: #48368e; }
.login-card p.form-error { color: #8f2540; }
@media (max-width: 1100px) {
  .company-row-badges > .badge:last-child { display: none; }
}
@media (max-width: 880px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .mobile-menu { display: block; position: relative; flex: none; }
  .mobile-menu > summary { display: grid; place-items: center; width: 40px; height: 40px; font-size: 18px; border-radius: 9px; border: 1px solid var(--rule); list-style: none; color: var(--ink); }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu > div { position: absolute; z-index: 4; top: 47px; left: 0; background: var(--side); border-radius: 10px; padding: 8px; width: 218px; max-height: calc(100dvh - 70px); overflow: auto; box-shadow: 0 8px 24px #25203b43; }
  .topbar { min-height: 57px; padding-inline: 18px; gap: 11px; }
  .stage main { padding: 23px 18px 35px; }
}
@media (max-width: 670px) {
  .dashboard-grid { grid-template-columns: 1fr; gap: 0; }
  .record-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table-wrap { overflow: visible; }
  table, tbody, tr { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; padding: 10px 14px; border-top: 1px solid var(--rule); }
  td, td:first-child { border: 0; min-width: 0; padding: 0; }
  td:first-child { grid-column: 1/-1; }
  td[data-label]::before { content: attr(data-label); display: block; color: var(--quiet); font-size: 12px; font-weight: 600; }
  .finance-report-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 10px; }
  .finance-report-summary > div { padding: 9px; }
  .finance-team-report tr { gap: 8px 12px; }
  .team-metric-unavailable { display: none; }
  .finance-team-payout-only { grid-column: 1 / -1; }
  .finance-publisher-progress { grid-column: 1 / -1; }
  td:has(.account-status-alert) { grid-column: 1 / -1; }
  .company-quick summary { padding-block: 8px; }
  .prospect-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prospect-row .row-company, .prospect-cell:last-child { grid-column: 1 / -1; }
  .login { grid-template-columns: 1fr; }
  .login-art { display: none; }
  .login-brand { display: inline-flex; color: var(--ink); margin-bottom: 5px; }
  .login-brand small { color: var(--accent-deep); }
}
@media (max-width: 500px) {
  .directory-export-options { inset-inline: 0 auto; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .metric { padding: 11px 12px; }
  .heading { flex-wrap: wrap; margin-bottom: 17px; }
  .stage main > .heading { padding: 14px 13px; }
  .heading p { font-size: 13px; }
  .pipeline-actions { justify-content: flex-start; }
  .stage main { padding-inline: 12px; }
  .fields-two, .invoice-line-fields, .email-provider-details { grid-template-columns: 1fr; }
  .breadcrumb > span { display: none; }
  .contacts li { align-items: flex-start; flex-wrap: wrap; }
  .contact-actions { padding-left: 42px; flex-basis: 100%; justify-content: flex-start; }
}
