:root {
  --ink: #20242b;
  --muted: #6d7480;
  --line: #d7dde5;
  --soft-line: #e9edf2;
  --canvas: #f4f6f9;
  --panel: #ffffff;
  --sidebar: #171a21;
  --sidebar-deep: #101217;
  --sidebar-hover: #242936;
  --sidebar-active: #2c3344;
  --primary: #246bfe;
  --primary-strong: #1554d1;
  --primary-soft: #eaf1ff;
  --green: #12805c;
  --green-soft: #e7f6ef;
  --blue: #246bfe;
  --blue-soft: #eaf1ff;
  --amber: #a85b00;
  --amber-soft: #fff2dc;
  --red: #bd3038;
  --red-soft: #ffe8ea;
  --cyan: #0f8b99;
  --cyan-soft: #e5f7f9;
  --shadow: 0 10px 26px rgba(24, 31, 44, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f9fafc 0, var(--canvas) 230px),
    var(--canvas);
  font-family: "Fira Sans", Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 100vh;
  overflow-y: auto;
  color: var(--client-text-f5f6f8, #f5f6f8);
  background:
    linear-gradient(180deg, rgba(36, 107, 254, 0.11), rgba(18, 128, 92, 0.06) 42%, transparent),
    var(--sidebar);
  box-shadow: inset -1px 0 rgba(255, 255, 255, 0.05);
}

.sidebar::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar,
.settings-card pre::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.sidebar::-webkit-scrollbar-thumb,
.table-wrap::-webkit-scrollbar-thumb,
.settings-card pre::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(126, 139, 158, 0.45);
  background-clip: padding-box;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 15px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 6px;
  color: var(--client-text-ffffff, #ffffff);
  background: linear-gradient(135deg, #246bfe, #12a36f);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(36, 107, 254, 0.22);
}

.brand strong {
  display: block;
  font-size: 12px;
  line-height: 1.1;
}

.brand span {
  color: var(--client-text-aeb5c1, #aeb5c1);
  font-size: 9px;
}

.balance-strip {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 7px;
  align-items: center;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--client-text-d0d5de, #d0d5de);
  font-size: 10px;
}

.balance-strip strong {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  color: var(--client-text-ffffff, #ffffff);
  background: rgba(18, 128, 92, 0.18);
}

.balance-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.06);
}

.balance-strip b {
  color: #8fdab8;
}

.side-search {
  display: grid;
  gap: 5px;
  padding: 12px 15px 8px;
}

.side-search span {
  color: var(--client-text-989fab, #989fab);
  font-size: 9px;
}

.side-search input {
  min-height: 32px;
  border-color: var(--client-border-343a49, #343a49);
  color: var(--client-text-f4f6f8, #f4f6f8);
  background: var(--sidebar-deep);
}

.side-search input::placeholder {
  color: var(--client-text-747c8a, #747c8a);
}

.nav-list {
  display: grid;
  gap: 2px;
  padding: 7px 8px 12px;
}

.nav-item {
  position: relative;
  display: block;
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 5px;
  padding: 0 11px 0 13px;
  color: var(--client-text-c9ced7, #c9ced7);
  background: transparent;
  text-align: left;
  white-space: nowrap;
}

.nav-item:nth-child(3),
.nav-item:nth-child(7),
.nav-item:nth-child(12) {
  margin-top: 8px;
}

.nav-item::before {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 5px;
  width: 3px;
  border-radius: 999px;
  background: transparent;
}

.nav-item:hover,
.nav-item.active {
  color: var(--client-text-ffffff, #ffffff);
  background: var(--sidebar-active);
}

.nav-item.active::before {
  background: #38bdf8;
}

.nav-item:hover::before {
  background: rgba(56, 189, 248, 0.45);
}

.side-panel {
  margin: auto 10px 12px;
  padding: 11px;
  border: 1px solid rgba(143, 218, 184, 0.18);
  border-radius: 6px;
  background: rgba(18, 128, 92, 0.08);
}

.side-panel .label {
  color: #9be7c1;
}

.side-panel strong {
  display: block;
  margin-bottom: 4px;
  color: var(--client-text-ffffff, #ffffff);
  font-size: 14px;
}

.side-panel small {
  display: block;
  color: var(--client-text-a7adb8, #a7adb8);
  line-height: 1.35;
}

.workspace {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(24, 31, 44, 0.03), 0 8px 22px rgba(24, 31, 44, 0.05);
  backdrop-filter: blur(12px);
}

.page-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.page-heading::before {
  content: "";
  width: 8px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--green));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 600;
}

h3 {
  margin-bottom: 7px;
  font-size: 12px;
}

#pageSubtitle {
  margin-bottom: 0;
  color: var(--client-text-7b8492, #7b8492);
}

.topbar-actions {
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tenant-select,
.date-range {
  display: grid;
  gap: 3px;
}

.tenant-select {
  min-width: 160px;
}

.date-range {
  width: 205px;
}

.label,
.eyebrow,
.tenant-select span,
.date-range span,
label span {
  margin: 0;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

select,
input {
  width: 100%;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px 9px;
  color: var(--ink);
  background: #fbfcfe;
  outline: 0;
}

select:focus,
input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(36, 107, 254, 0.14);
}

input::placeholder {
  color: var(--client-text-9aa3b0, #9aa3b0);
}

.button,
.icon-button,
.table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 31px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 0 10px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.button.primary {
  color: var(--client-text-ffffff, #ffffff);
  border-color: var(--primary-strong);
  background: linear-gradient(180deg, #3d7dff, var(--primary));
  box-shadow: 0 6px 14px rgba(36, 107, 254, 0.18);
}

.button.primary:hover {
  background: linear-gradient(180deg, #2d70fa, var(--primary-strong));
  box-shadow: 0 7px 16px rgba(36, 107, 254, 0.24);
}

.button:active,
.table-action:active {
  transform: translateY(1px);
}

.button.secondary,
.table-action {
  color: #28313d;
  border-color: var(--client-border-cbd3de, #cbd3de);
  background: #ffffff;
}

.button.secondary:hover,
.table-action:hover {
  border-color: var(--client-border-aebbd0, #aebbd0);
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.icon-button {
  width: 32px;
  padding: 0;
  color: var(--muted);
  border-color: var(--line);
  background: #ffffff;
}

.icon-button:hover {
  color: var(--red);
  border-color: #f3b6bc;
  background: var(--red-soft);
}

.content {
  display: grid;
  gap: 14px;
  padding: 15px;
}

.report-filter,
.page-toolbar,
.table-card,
.chart-panel,
.settings-card,
.mini-metric {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 1px 2px rgba(24, 31, 44, 0.04);
}

.report-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-left: 4px solid var(--primary);
}

.dense-report-header {
  padding-top: 9px;
  padding-bottom: 9px;
}

.report-titleline {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.report-filter strong {
  display: block;
  margin-bottom: 2px;
}

.report-filter strong::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(18, 128, 92, 0.12);
}

.report-filter span {
  color: var(--muted);
}

.active-filter {
  color: var(--primary-strong) !important;
  border-color: #b8caff !important;
  background: var(--primary-soft) !important;
}

.filter-actions,
.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.metric-strip.narrow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-metric {
  min-height: 72px;
  position: relative;
  overflow: hidden;
  padding: 12px 13px;
}

.mini-metric::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--primary);
}

.mini-metric:nth-child(2)::before {
  background: var(--cyan);
}

.mini-metric:nth-child(3)::before,
.mini-metric:nth-child(5)::before {
  background: var(--green);
}

.mini-metric:nth-child(4)::before {
  background: var(--amber);
}

.mini-metric span,
.section-caption,
.subcell,
.settings-card p,
.panel-head p {
  color: var(--muted);
}

.mini-metric strong {
  display: block;
  margin: 5px 0 2px;
  font-size: 23px;
  color: #18202b;
  line-height: 1;
}

.mini-metric small {
  color: var(--muted);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--soft-line);
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.panel-head.compact p {
  margin-bottom: 0;
}

.hour-chart {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  align-items: end;
  gap: 6px;
  min-height: 205px;
  padding: 20px 15px 22px;
  border-top: 1px solid var(--soft-line);
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(215, 221, 229, 0.55) 40px),
    #ffffff;
}

.hour-chart span {
  position: relative;
  min-height: 6px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #62a3ff, #246bfe);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.35);
}

.hour-chart b {
  position: absolute;
  bottom: -18px;
  left: 50%;
  color: var(--client-text-9aa2ad, #9aa2ad);
  font-size: 8px;
  font-weight: 400;
  transform: translateX(-50%);
}

.report-chart-card {
  border-left: 0;
}

.report-chart-head {
  align-items: flex-start;
}

.report-totals {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.report-totals span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  padding: 0 8px;
  color: var(--muted);
  background: #ffffff;
  font-size: 10px;
}

.report-totals b {
  color: #1d2733;
}

.report-chart {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--soft-line);
  background:
    linear-gradient(90deg, rgba(36, 107, 254, 0.03), rgba(18, 128, 92, 0.03)),
    #ffffff;
}

.report-svg {
  display: block;
  width: 100%;
  height: 284px;
  min-width: 760px;
}

.chart-grid {
  stroke: var(--client-text-e4e8ef, #e4e8ef);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.chart-axis {
  stroke: var(--client-text-cbd3de, #cbd3de);
  stroke-width: 1;
}

.axis-label,
.x-label {
  fill: var(--client-text-7c8795, #7c8795);
  font-size: 9px;
  dominant-baseline: middle;
}

.axis-label.right {
  text-anchor: start;
}

.x-label {
  text-anchor: middle;
}

.chart-area {
  fill: url(#callArea);
}

.chart-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.chart-line.calls {
  stroke: var(--primary);
}

.chart-line.revenue {
  stroke: var(--green);
  stroke-width: 2;
  stroke-dasharray: 6 5;
}

.chart-dot {
  fill: var(--client-text-ffffff, #ffffff);
  stroke: var(--primary);
  stroke-width: 2;
}

.chart-legend {
  position: absolute;
  right: 14px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chart-legend i {
  width: 18px;
  height: 3px;
  border-radius: 999px;
}

.legend-call {
  background: var(--primary);
}

.legend-revenue {
  background: var(--green);
}

.split-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(360px, 0.6fr);
  gap: 14px;
}

.section-caption {
  margin: 0 0 6px;
  color: #384252;
  font-weight: 700;
}

.page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-left: 4px solid var(--primary);
}

.page-title-block p {
  margin: 3px 0 0;
  color: var(--muted);
}

.search {
  min-width: 180px;
}

.rows-select {
  width: 70px;
}

.table-card {
  overflow: hidden;
}

.table-card + .table-card {
  margin-top: 10px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.wide-table table {
  min-width: 1180px;
}

th,
td {
  border-bottom: 1px solid var(--soft-line);
  padding: 8px 11px;
  text-align: left;
  vertical-align: middle;
  font-size: 10px;
  line-height: 1.35;
}

th {
  color: var(--client-text-596374, #596374);
  background: linear-gradient(180deg, #fbfcff, #f3f6fb);
  font-size: 9px;
  font-weight: 700;
}

tbody tr:hover td {
  background: #f8fbff;
}

tbody tr:nth-child(even) td {
  background: #fcfdff;
}

tbody tr:nth-child(even):hover td {
  background: #f5f9ff;
}

td strong {
  display: block;
  color: #1d2733;
}

tr:last-child td {
  border-bottom: 0;
}

.empty-row {
  padding: 30px 12px;
  color: var(--muted);
  text-align: center;
}

.subcell {
  display: block;
  margin-top: 2px;
  font-size: 9px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  border-radius: 999px;
  padding: 0 7px;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
  text-transform: capitalize;
}

.badge.active,
.badge.answered,
.badge.reporting {
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(18, 128, 92, 0.15);
}

.badge.paused,
.badge.missed,
.badge.review {
  color: var(--amber);
  background: var(--amber-soft);
  border: 1px solid rgba(168, 91, 0, 0.14);
}

.badge.voicemail,
.badge.trial {
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid rgba(36, 107, 254, 0.14);
}

.badge.danger,
.badge.blocked {
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid rgba(189, 48, 56, 0.14);
}

.badge.review {
  color: #725000;
}

.table-action {
  min-height: 26px;
  padding: 0 8px;
  font-size: 9px;
}

.progress {
  width: min(100%, 116px);
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf5;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 13px;
}

.workspace-settings-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.settings-top-tabs,
.settings-form-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(24, 31, 44, 0.04);
}

.settings-page-head {
  display: grid;
  gap: 16px;
}

.settings-page-head h1 {
  margin: 0;
  color: var(--client-text-ffffff, #ffffff);
  font-size: 25px;
}

.settings-page-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.settings-top-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  overflow-x: auto;
  border: 0;
  border-bottom: 1px solid var(--client-border-343640, #343640);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.settings-tab {
  min-height: 42px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0;
  color: var(--client-text-ffffff, #ffffff);
  background: transparent;
  text-align: left;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.settings-tab:hover,
.settings-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: transparent;
}

.settings-column {
  display: grid;
  gap: 14px;
}

.settings-column.side {
  gap: 12px;
}

.settings-form-card {
  overflow: hidden;
}

.settings-tab-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.settings-side-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.settings-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 13px;
  border-bottom: 1px solid var(--soft-line);
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.settings-status,
.settings-help {
  color: var(--muted);
  font-size: 10px;
}

.settings-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  padding: 13px;
}

.toggle-list {
  display: grid;
  gap: 1px;
  padding: 8px 13px 13px;
}

.setting-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  border-bottom: 1px solid var(--soft-line);
  color: #303947;
}

.setting-toggle:last-child {
  border-bottom: 0;
}

.setting-toggle input {
  width: 16px;
  min-height: 16px;
}

.settings-form-card .table-card {
  border: 0;
  border-top: 1px solid var(--soft-line);
  border-radius: 0;
  box-shadow: none;
}

.settings-form-card table {
  min-width: 560px;
}

.compact-card {
  padding: 12px;
  min-height: 0;
}

.compact-card h2 {
  margin-bottom: 10px;
}

.plan-box,
.balance-box {
  display: grid;
  gap: 7px;
  border: 1px solid var(--client-border-343640, #343640);
  border-radius: 6px;
  padding: 11px;
  background: var(--client-surface-171820, #171820);
}

.plan-box strong,
.balance-box strong {
  color: var(--client-text-ffffff, #ffffff);
  font-size: 18px;
}

.plan-box span,
.balance-box span {
  color: var(--muted);
}

.full-button {
  width: 100%;
  margin-top: 10px;
}

.settings-code {
  max-height: 260px;
  overflow: auto;
  border: 1px solid var(--client-border-243044, #243044);
  border-radius: 5px;
  padding: 10px;
  color: #d9e6ff;
  background: #111827;
  font-size: 9px;
  line-height: 1.45;
}

.settings-card {
  padding: 12px;
  overflow: hidden;
}

.settings-card pre {
  max-height: 520px;
  overflow: auto;
  border: 1px solid var(--client-border-2d3748, #2d3748);
  border-radius: 5px;
  padding: 12px;
  color: #d9e6ff;
  background: #111827;
  font-size: 9px;
  line-height: 1.5;
}

.hidden {
  display: none !important;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(17, 24, 39, 0.62);
  backdrop-filter: blur(2px);
}

.modal {
  width: min(760px, 100%);
  max-height: min(760px, 92vh);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.modal-head,
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border-bottom: 1px solid var(--soft-line);
  background: #fbfcff;
}

.modal-actions {
  justify-content: flex-end;
  border-top: 1px solid var(--soft-line);
  border-bottom: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

label {
  display: grid;
  gap: 5px;
}

.full {
  grid-column: 1 / -1;
}

.checkline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 31px;
}

.checkline input {
  width: 15px;
  min-height: 15px;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  width: min(340px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  padding: 11px 12px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .metric-strip,
  .metric-strip.narrow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-panels,
  .settings-grid,
  .workspace-settings-page,
  .settings-side-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    min-height: auto;
  }

  .nav-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-item {
    white-space: normal;
  }

  .topbar,
  .page-toolbar,
  .report-filter {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-actions,
  .toolbar-controls,
  .filter-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .date-range,
  .tenant-select,
  .rows-select,
  .search {
    width: 100%;
    min-width: 0;
  }

  .metric-strip,
  .metric-strip.narrow,
  .form-grid,
  .settings-form-grid {
    grid-template-columns: 1fr;
  }

  .report-totals {
    justify-content: flex-start;
  }
}

/* Revocalls-style dark console skin. */
:root {
  --ink: #f4f4f4;
  --muted: #9ba0ad;
  --line: #343640;
  --soft-line: #2b2d36;
  --canvas: #191a20;
  --panel: #1f2027;
  --panel-soft: #24252d;
  --sidebar: #1d1e24;
  --sidebar-deep: #18191f;
  --sidebar-hover: #272832;
  --sidebar-active: #303039;
  --primary: #7d55e7;
  --primary-strong: #8d6bf2;
  --primary-soft: rgba(125, 85, 231, 0.16);
  --green: #12ab69;
  --green-soft: rgba(18, 171, 105, 0.16);
  --blue: #568fe5;
  --amber: #ffbf1d;
  --red: #f06269;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

body {
  color: var(--ink);
  background: var(--canvas);
  font-family: "Fira Sans", Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.app-shell {
  grid-template-columns: 208px minmax(0, 1fr);
  background: var(--canvas);
}

.sidebar {
  background: var(--sidebar);
  box-shadow: inset -1px 0 rgba(255, 255, 255, 0.05);
}

.brand {
  position: relative;
  min-height: 56px;
  height: 56px;
  padding: 0 16px;
  border-bottom-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.01);
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: #568fe5;
  box-shadow: none;
  font-size: 9px;
}

.brand strong {
  position: relative;
  display: inline-block;
  padding-right: 12px;
  color: var(--client-text-ffffff, #ffffff);
  font-size: 10px;
}

.brand strong::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--client-border-5d606a, #5d606a);
  border-bottom: 1px solid var(--client-border-5d606a, #5d606a);
  transform: rotate(45deg);
}

.brand::after {
  content: "<<";
  position: absolute;
  top: 50%;
  right: 18px;
  color: #4b4e58;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -3px;
  transform: translateY(-50%);
}

.brand span {
  display: none;
}

.sidebar-workspace-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 7px;
}

.side-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 0;
  margin-bottom: 2px;
  padding: 0 16px;
  color: var(--client-text-a8acb5, #a8acb5);
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.side-search span {
  display: block;
  padding-left: 26px;
  font-size: 10px;
  font-weight: 500;
  line-height: 36px;
}

.side-search:hover {
  color: var(--client-text-ffffff, #ffffff);
  background: rgba(255, 255, 255, 0.03);
}

.side-search::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 50%;
  width: 15px;
  height: 15px;
  background: #a0a5af;
  transform: translateY(-50%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.side-search::after {
  display: none;
}

.search-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.72);
}

.search-palette {
  position: fixed;
  top: 40px;
  left: 50%;
  width: min(576px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--client-border-3c414e, #3c414e);
  border-radius: 8px;
  background: var(--client-surface-1d1e24, #1d1e24);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
}

.search-palette-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: center;
  min-height: 75px;
  padding: 0 20px;
  border-bottom: 1px solid var(--client-border-343640, #343640);
}

.search-palette-icon {
  width: 19px;
  height: 19px;
  background: #b4b8c2;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.search-palette input {
  min-height: 54px;
  border: 0;
  padding: 0;
  color: var(--client-text-ffffff, #ffffff);
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  line-height: 54px;
}

.search-palette input::placeholder {
  color: var(--client-text-9ba0ad, #9ba0ad);
  opacity: 1;
}

.search-palette input:focus {
  border-color: transparent;
  box-shadow: none;
}

.search-palette-close {
  position: relative;
  width: 28px;
  min-height: 28px;
  border: 0;
  background: transparent;
}

.search-palette-close::before,
.search-palette-close::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 7px;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: #aeb3bd;
}

.search-palette-close::before {
  transform: rotate(45deg);
}

.search-palette-close::after {
  transform: rotate(-45deg);
}

.search-palette p {
  margin: 0;
  padding: 15px 20px 17px;
  color: var(--client-text-808590, #808590);
  font-size: 8px;
  line-height: 1.4;
}

.nav-list {
  gap: 2px;
  padding: 0;
}

.workspace-nav-list {
  padding: 0;
}

.main-nav-list {
  padding: 13px 0 12px;
}

.nav-group {
  display: grid;
  gap: 2px;
}

.nav-parent,
.nav-item {
  position: relative;
  min-height: 42px;
  border: 0;
  border-radius: 0;
  padding: 0 16px 0 48px;
  color: var(--client-text-f4f4f4, #f4f4f4);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
}

.workspace-nav-list .nav-item {
  min-height: 36px;
}

.nav-parent {
  display: flex;
  align-items: center;
  color: var(--client-text-f4f4f4, #f4f4f4);
}

.nav-sub {
  display: none;
  min-height: 34px;
  padding-left: 48px;
  color: var(--client-text-b7bbc5, #b7bbc5);
  font-size: 10px;
}

.nav-sub::after {
  display: none;
}

.nav-group.expanded .nav-sub {
  display: block;
}

.nav-group.expanded .nav-parent {
  background: rgba(255, 255, 255, 0.03);
}

.nav-parent::before,
.nav-item::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 16px;
  height: 16px;
  background: currentColor;
  opacity: 0.78;
  transform: translateY(-50%);
  -webkit-mask: var(--nav-icon) center / contain no-repeat;
  mask: var(--nav-icon) center / contain no-repeat;
}

.nav-parent::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--client-border-c5c8d0, #c5c8d0);
  border-bottom: 1.5px solid var(--client-border-c5c8d0, #c5c8d0);
  transform: translateY(-65%) rotate(45deg);
}

.nav-group.expanded .nav-parent::after {
  transform: translateY(-35%) rotate(45deg);
}

.nav-item[data-view="settings"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M4.9 4.9 7 7M17 17l2.1 2.1M2 12h3M19 12h3M4.9 19.1 7 17M17 7l2.1-2.1'/%3E%3C/svg%3E"); }
.nav-item[data-view="reporting"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-9-9v9z'/%3E%3Cpath d='M12 3a9 9 0 0 1 9 9h-9z'/%3E%3C/svg%3E"); }
.nav-item[data-view="campaigns"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='18' rx='1'/%3E%3Crect x='14' y='3' width='7' height='8' rx='1'/%3E%3Crect x='14' y='15' width='7' height='6' rx='1'/%3E%3C/svg%3E"); }
.nav-item[data-view="callFlows"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3Ccircle cx='6' cy='18' r='2'/%3E%3Cpath d='M8 6h5a3 3 0 0 1 3 3v7M8 18h8'/%3E%3C/svg%3E"); }
.phone-nav { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Cpath d='M9 6h6M9 10h.01M12 10h.01M15 10h.01M9 14h.01M12 14h.01M15 14h.01M12 18h.01'/%3E%3C/svg%3E"); }
.destinations-nav { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='7' r='2'/%3E%3Ccircle cx='18' cy='7' r='2'/%3E%3Ccircle cx='18' cy='17' r='2'/%3E%3Cpath d='M8 7h6M16 9v6M8 7c4 0 4 10 8 10'/%3E%3C/svg%3E"); }
.nav-item[data-view="buyers"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-8 0v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E"); }
.nav-item[data-view="vendors"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 15l4-4 3 3 5-7'/%3E%3Cpath d='M17 7h2v2'/%3E%3C/svg%3E"); }
.nav-item[data-view="trafficSources"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='m22 2-7 20-4-9-9-4z'/%3E%3C/svg%3E"); }
.nav-item[data-view="integrations"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='2'/%3E%3Ccircle cx='18' cy='6' r='2'/%3E%3Ccircle cx='6' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3Cpath d='M8 6h8M8 18h8M6 8v8M18 8v8'/%3E%3C/svg%3E"); }
.suppression-nav { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.7 2.6a2 2 0 0 1-.4 2.1L8.1 9.7a16 16 0 0 0 6.2 6.2l1.3-1.3a2 2 0 0 1 2.1-.4c.8.3 1.7.6 2.6.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.nav-item[data-view="disputes"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H7l-4 4V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3Cpath d='M12 7v5M12 16h.01'/%3E%3C/svg%3E"); }

.nav-item::before {
  top: 0;
  bottom: 0;
  left: auto;
  right: 0;
  width: 3px;
  border-radius: 0;
  background: transparent;
}

.nav-item:hover,
.nav-item.active {
  color: var(--client-text-ffffff, #ffffff);
  background: var(--sidebar-active);
}

.nav-item.active {
  color: #b79cff;
}

.nav-item.active::before {
  background: #a47dff;
}

.side-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: auto 16px 16px;
  padding: 10px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: transparent;
}

.avatar-dot {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  color: var(--client-text-ffffff, #ffffff);
  background: var(--primary);
  font-weight: 700;
}

.side-panel strong {
  margin: 0;
  font-size: 11px;
}

.side-panel small {
  color: var(--client-text-9ba0ad, #9ba0ad);
  font-size: 9px;
}

.topbar {
  min-height: 54px;
  padding: 0 20px;
  border-bottom: 1px solid var(--client-border-282a32, #282a32);
  background: var(--client-surface-1b1c22, #1b1c22);
  box-shadow: none;
}

.appbar-spacer {
  flex: 1;
}

.topbar-actions {
  align-items: center;
  gap: 22px;
  color: var(--client-text-ffffff, #ffffff);
}

.money-pill,
.status-count {
  font-size: 10px;
  font-weight: 700;
}

.money-pill {
  color: #18dd76;
}

.status-count b {
  color: #18dd76;
  margin-left: 4px;
}

.status-count:last-of-type b {
  color: #8d6bf2;
}

.icon-pill {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--client-border-343640, #343640);
  border-radius: 7px;
  color: var(--client-text-9ba0ad, #9ba0ad);
  background: var(--client-surface-282237, #282237);
  font-weight: 700;
}

.content {
  gap: 28px;
  padding: 32px 24px 48px 72px;
  grid-template-columns: minmax(0, 1fr);
  max-width: 100%;
  overflow-x: hidden;
}

body[data-view="settings"] .content {
  padding-left: 24px;
}

.workspace,
.content > *,
.report-filter,
.report-hero,
.chart-panel,
.report-chart-card,
.report-side,
.table-card,
.table-wrap {
  min-width: 0;
  max-width: 100%;
}

.report-filter {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.report-filter h1 {
  color: var(--client-text-ffffff, #ffffff);
  font-size: 25px;
  letter-spacing: 0;
}

.filter-actions {
  gap: 20px;
}

select,
input,
.button.secondary,
.table-action,
.icon-button {
  border-color: var(--client-border-3a3d49, #3a3d49);
  color: var(--client-text-ffffff, #ffffff);
  background: var(--client-surface-1b1c22, #1b1c22);
}

select:focus,
input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(125, 85, 231, 0.25);
}

.button.secondary:hover,
.table-action:hover {
  border-color: var(--client-border-66578e, #66578e);
  color: var(--client-text-ffffff, #ffffff);
  background: var(--client-surface-282237, #282237);
}

.active-filter,
.auto-refresh,
.timezone-select {
  min-height: 46px;
  border-color: var(--client-border-3a3d49, #3a3d49) !important;
  background: var(--client-surface-1d1e24, #1d1e24) !important;
}

.timezone-select {
  width: 320px;
}

.icon-control {
  width: 46px;
  min-height: 46px;
  padding: 0;
}

.auto-refresh {
  width: 166px;
}

.report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 310px);
  gap: 20px;
  width: 100%;
}

.chart-panel,
.table-card,
.page-toolbar,
.settings-form-card,
.mini-metric {
  border: 1px solid var(--client-border-343640, #343640);
  border-radius: 5px;
  background: var(--client-surface-1d1e24, #1d1e24);
  box-shadow: none;
}

.report-chart-card {
  min-height: 432px;
}

.report-chart-head {
  display: grid;
  grid-template-columns: 82px 1fr 32px;
  align-items: center;
  min-height: 60px;
  padding: 20px 22px 0;
  border: 0;
}

.report-chart-head h2,
.performance-card h2,
.total-card h2 {
  color: var(--client-text-ffffff, #ffffff);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.chart-tabs {
  display: inline-flex;
  width: fit-content;
  overflow: hidden;
  border: 1px solid var(--client-border-343640, #343640);
  border-radius: 5px;
}

.chart-tabs button {
  width: 28px;
  height: 29px;
  border: 0;
  color: var(--client-text-b9bdc7, #b9bdc7);
  background: transparent;
  font-weight: 700;
}

.chart-tabs .active {
  color: var(--client-text-ffffff, #ffffff);
  background: var(--primary);
}

.mini-icon {
  width: 26px;
  height: 26px;
  border: 1px solid var(--client-border-686b74, #686b74);
  border-radius: 3px;
  color: var(--client-text-c6cad2, #c6cad2);
  background: transparent;
}

.report-chart {
  border-top: 0;
  background: var(--client-surface-1d1e24, #1d1e24);
}

.report-svg {
  height: 338px;
  min-width: 0;
}

.chart-grid {
  stroke: #343640;
  stroke-dasharray: 0;
}

.chart-axis {
  stroke: transparent;
}

.axis-label,
.x-label {
  fill: var(--client-text-ffffff, #ffffff);
  font-size: 8px;
}

.chart-area {
  fill: transparent;
}

.chart-line.calls,
.legend-converted {
  stroke: #7d55e7;
  background: #7d55e7;
}

.chart-line.revenue,
.legend-revenue {
  stroke: #12ab69;
  background: #12ab69;
}

.legend-not-converted {
  background: #ffda1a;
}

.legend-no-answer {
  background: #f06269;
}

.chart-legend {
  left: 50%;
  right: auto;
  bottom: 4px;
  color: var(--client-text-ffffff, #ffffff);
  transform: translateX(-50%);
}

.chart-legend.compact {
  position: static;
  transform: none;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: auto;
  padding-bottom: 24px;
}

.chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.report-side {
  display: grid;
  gap: 20px;
}

.performance-card,
.total-card {
  padding: 20px 16px;
}

.performance-card {
  min-height: 120px;
}

.total-card {
  display: grid;
  min-height: 292px;
}

.perf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
}

.perf-grid div {
  padding: 0 16px;
  border-left: 1px solid var(--client-border-343640, #343640);
}

.perf-grid div:first-child {
  border-left: 0;
}

.perf-grid span,
.total-number span {
  display: block;
  color: var(--client-text-9ba0ad, #9ba0ad);
  font-size: 10px;
}

.perf-grid strong,
.total-number strong {
  display: block;
  margin-top: 7px;
  color: var(--client-text-ffffff, #ffffff);
  font-size: 16px;
}

.total-number {
  place-self: center;
  text-align: center;
}

.total-number strong {
  font-size: 21px;
}

.section-caption {
  margin: 0 0 22px;
  color: var(--client-text-ffffff, #ffffff);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.report-tabs {
  display: flex;
  gap: 31px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  color: var(--client-text-ffffff, #ffffff);
}

.report-tabs button {
  min-height: 36px;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0;
  color: var(--client-text-ffffff, #ffffff);
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.report-tabs .active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.table-card {
  border: 0;
  border-radius: 4px;
  background: transparent;
  width: 100%;
  max-width: 100%;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

table {
  color: var(--client-text-f4f4f4, #f4f4f4);
}

th,
td {
  border-bottom-color: var(--client-border-2b2d36, #2b2d36);
  color: var(--client-text-f4f4f4, #f4f4f4);
  background: transparent;
}

th {
  border-right: 1px solid var(--client-border-343640, #343640);
  color: var(--client-text-ffffff, #ffffff);
  background: var(--client-surface-24252d, #24252d);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

td strong {
  color: var(--client-text-ffffff, #ffffff);
}

tbody tr:hover td,
tbody tr:nth-child(even) td,
tbody tr:nth-child(even):hover td {
  background: rgba(255, 255, 255, 0.025);
}

.empty-row,
.subcell,
.page-title-block p,
.settings-status,
.settings-help,
.mini-metric span,
.mini-metric small,
.settings-card p,
.panel-head p {
  color: var(--client-text-9ba0ad, #9ba0ad);
}

.badge.active,
.badge.answered,
.badge.reporting {
  color: #7fd4a1;
  background: rgba(18, 171, 105, 0.12);
}

.badge.paused,
.badge.missed,
.badge.review {
  color: #ffbf1d;
  background: rgba(255, 191, 29, 0.12);
}

.badge.voicemail,
.badge.trial {
  color: #75aafa;
  background: rgba(86, 143, 229, 0.14);
}

.page-toolbar {
  border-left: 0;
}

.modal {
  border: 1px solid var(--client-border-343640, #343640);
  background: var(--client-surface-1d1e24, #1d1e24);
}

.modal-head,
.settings-card-head,
.panel-head {
  border-bottom-color: var(--client-border-343640, #343640);
  background: var(--client-surface-1d1e24, #1d1e24);
}

.form-grid label,
.settings-form-grid label {
  color: var(--client-text-ffffff, #ffffff);
}

.workspace-settings-page {
  width: min(928px, 100%);
  margin: 0 auto;
}

.settings-page-head {
  gap: 28px;
}

.settings-tab-panel {
  gap: 16px;
}

.workspace-settings-card {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--client-border-343640, #343640);
  border-radius: 8px;
  padding: 22px 20px;
  background: var(--client-surface-1d1e24, #1d1e24);
}

.workspace-card-copy {
  display: grid;
  gap: 8px;
}

.workspace-card-copy h2 {
  margin: 0;
  color: var(--client-text-ffffff, #ffffff);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.workspace-card-copy p,
.workspace-field-copy span,
.workspace-danger-row p {
  margin: 0;
  color: var(--client-text-8f94a1, #8f94a1);
  font-size: 11px;
  line-height: 1.45;
}

.workspace-divider {
  height: 1px;
  background: var(--client-surface-343640, #343640);
}

.workspace-field-row,
.workspace-danger-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(260px, 448px);
  gap: 24px;
  align-items: center;
}

.workspace-field-copy {
  display: grid;
  gap: 4px;
}

.workspace-field-copy strong {
  color: var(--client-text-ffffff, #ffffff);
  font-size: 11px;
}

.workspace-name-input {
  min-height: 40px;
}

.workspace-danger-button {
  justify-self: end;
  min-height: 36px;
  border-color: var(--client-border-3a3d49, #3a3d49);
  color: var(--client-text-ffffff, #ffffff);
  background: var(--client-surface-202129, #202129);
}

.workspace-danger-button:hover {
  border-color: var(--client-border-66578e, #66578e);
  background: var(--client-surface-282237, #282237);
}

.workspace-table-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.workspace-search-button {
  position: relative;
  width: 26px;
  min-height: 26px;
  border: 0;
  background: transparent;
}

.workspace-search-button::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 3px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--client-border-9ba0ad, #9ba0ad);
  border-radius: 999px;
}

.workspace-search-button::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 16px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #9ba0ad;
  transform: rotate(45deg);
  transform-origin: left center;
}

.workspace-rows-select {
  width: 110px;
  min-height: 36px;
  font-weight: 700;
}

.workspace-action {
  min-height: 36px;
  min-width: 66px;
}

.workspace-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.workspace-table {
  width: 100%;
  min-width: 520px;
}

.workspace-table th {
  height: 40px;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  background: var(--client-surface-24252d, #24252d);
}

.workspace-table th:first-child {
  border-radius: 4px 0 0 4px;
}

.workspace-table th:last-child {
  border-radius: 0 4px 4px 0;
}

.workspace-table td {
  height: 44px;
  font-weight: 700;
}

.workspace-table tbody tr:hover td,
.workspace-table tbody tr:nth-child(even) td,
.workspace-table tbody tr:nth-child(even):hover td {
  background: transparent;
}

.workspace-empty {
  height: 76px;
  text-align: center;
}

.workspace-eye-button {
  position: relative;
  display: inline-flex;
  width: 24px;
  min-height: 24px;
  border: 0;
  background: transparent;
  vertical-align: middle;
}

.workspace-eye-button::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 3px;
  width: 16px;
  height: 9px;
  border: 2px solid var(--client-border-9ba0ad, #9ba0ad);
  border-radius: 50%;
}

.workspace-eye-button::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 9px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #9ba0ad;
}

@media (max-width: 1100px) {
  .report-hero {
    grid-template-columns: 1fr;
  }

  .content {
    padding-left: 24px;
  }
}

@media (max-width: 760px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    height: auto;
  }

  .nav-list {
    grid-template-columns: 1fr;
  }

  .content {
    padding: 20px 14px 34px;
  }

  .report-filter {
    gap: 16px;
  }

  .timezone-select,
  .auto-refresh {
    width: 100%;
  }

  .topbar-actions {
    gap: 10px;
  }

  .workspace-field-row,
  .workspace-danger-row {
    grid-template-columns: 1fr;
  }

  .workspace-danger-button {
    justify-self: start;
  }

  .workspace-table-toolbar {
    justify-content: flex-start;
    gap: 10px;
  }

  .workspace-action {
    margin-left: auto;
  }
}

/* Workspace table values measured from the Revocalls console. */
.workspace-table th {
  padding: 1px 12px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  background: var(--client-surface-23242a, #23242a);
}
.workspace-table td {
  height: 40px;
  padding: 1px 12px;
  color: var(--client-text-dadada, #dadada);
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
  background: var(--client-surface-1c1d23, #1c1d23);
}
.workspace-table th:last-child,
.workspace-table td:last-child:not(.workspace-empty) {
  width: 114px;
  text-align: center;
}
.workspace-table tbody tr:hover td,
.workspace-table tbody tr:nth-child(even):hover td {
  background: var(--client-surface-23242a, #23242a);
}
.workspace-table tbody tr:nth-child(even) td {
  background: var(--client-surface-1c1d23, #1c1d23);
}
.workspace-table td.workspace-empty {
  height: 48px;
  font-size: 11px;
  line-height: 20px;
  color: var(--client-text-dadada, #dadada);
  text-align: center;
}

/* General settings typography and spacing from the console reference. */
.settings-page-head h1 {
  font-size: 25px;
  font-weight: 400;
  line-height: 36px;
}
.settings-tab {
  font-size: 11px;
  font-weight: 500;
}
.settings-top-tabs {
  gap: 16px;
}
.workspace-card-copy h2 {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}
.workspace-card-copy p,
.workspace-field-copy span,
.workspace-danger-row p {
  color: var(--client-text-808080, #808080);
  font-size: 11px;
  font-weight: 400;
  line-height: 16.25px;
  letter-spacing: .025em;
}
.workspace-field-copy strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}
.workspace-field-row,
.workspace-danger-row {
  grid-template-columns: minmax(170px, 1fr) minmax(260px, 280px);
}
.workspace-name-input {
  min-height: 46px;
  padding: 12px;
  background: var(--client-surface-303138, #303138);
  font-size: 11px;
  font-weight: 500;
  line-height: 20px;
}
.settings-tab-panel {
  gap: 24px;
}
.workspace-danger-button {
  color: var(--client-text-a3a3a3, #a3a3a3);
  border-color: var(--client-border-dadada, #dadada);
  background: transparent;
  font-size: 11px;
  font-weight: 400;
}
.workspace-rows-select,
.workspace-action {
  font-size: 11px;
  font-weight: 400;
}
@media (max-width: 760px) {
  .workspace-field-row,
  .workspace-danger-row {
    grid-template-columns: 1fr;
  }
}

/* Shared console styling, measured across the authenticated reference pages. */
:root {
  --ink: #dadada;
  --muted: #9ba0ad;
  --hint: #727478;
  --menu-muted: #9e9e9e;
  --line: #3b3e49;
  --soft-line: #2b2d36;
  --canvas: #191a20;
  --sidebar: #1f2025;
  --sidebar-active: #2b2c33;
  --primary: #6f4fcc;
  --primary-strong: #8561e5;
}
body { color: var(--ink); }
.sidebar { font-family: Rubik, sans-serif; }
.nav-parent, .nav-item, .side-search span {
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
}
.nav-parent, .nav-item { min-height: 42px; color: var(--client-text-ffffff, #fff); }
.nav-sub { min-height: 32px; }
.nav-group.expanded .nav-sub { position: relative; }
.nav-sub::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 50%;
  width: 13px;
  border: 0;
  border-left: 1px solid var(--client-border-343640, #343640);
  border-bottom: 1px solid var(--client-border-343640, #343640);
  border-bottom-left-radius: 12px;
  background: transparent;
}
.nav-item.active { color: #a290e7; }
.nav-item.active::before { background: #a290e7; }
.nav-sub.active { background: transparent; }
.nav-sub.active::before { background: transparent; }
.workspace-nav-list .nav-item, .side-search { color: var(--menu-muted); }
.workspace-nav-list .nav-item { padding-left: 41px; }
.workspace-nav-list .nav-item.active { color: #a290e7; }
.workspace-nav-list .nav-item:hover, .side-search:hover { color: var(--client-text-ffffff, #fff); }
.side-search span { line-height: 36px; }
.side-search::before { background: var(--menu-muted); }
.nav-parent::before, .nav-item::after { color: var(--menu-muted); opacity: 1; }
.nav-item.active::after { color: #a290e7; }
.brand strong { font-size: 11px; font-weight: 500; }
.side-panel strong { font-size: 11px; font-weight: 400; }
.side-panel small { color: var(--client-text-909095, #909095); font-size: 8px; }
.topbar { background: var(--canvas); }
.money-pill, .status-count { font-size: 11px; font-weight: 400; }
.money-pill { color: #2edd63; font-weight: 500; }
.status-count b { color: #2edd63; font-weight: 400; }
.status-count:last-of-type b { color: var(--primary); }
.content { gap: 12px; padding: 35px 72px 48px; }
body[data-view="reporting"] .content { gap: 8px; padding: 32px 26px 48px 72px; }
body[data-view="settings"] .content { padding: 40px 24px 48px; }
.report-filter h1, .settings-page-head h1, .page-title-block h2, .integrations-page h1 {
  margin: 0;
  color: var(--client-text-ffffff, #fff);
  font-size: 24px;
  font-weight: 400;
  line-height: 33px;
}
.page-toolbar {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.toolbar-controls {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  min-height: 40px;
}
.toolbar-icon-controls { display: flex; align-items: center; gap: 8px; }
.toolbar-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 32px;
  min-height: 0;
  border: 0;
  padding: 0;
  color: var(--menu-muted);
  background: transparent;
}
.toolbar-icon svg { width: 23px; height: 23px; pointer-events: none; }
.toolbar-icon:hover, .toolbar-icon[aria-pressed="true"] { color: #a290e7; }
.rows-select { width: 107px; min-height: 40px; padding: 0 10px; font-size: 11px; font-weight: 400; }
.toolbar-controls .button.primary {
  min-width: 70px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(135deg, #6545be, #8662e9);
  font-size: 11px;
  font-weight: 400;
}
.toolbar-controls .search { width: 180px; min-height: 36px; }
.table-columns { position: relative; }
.table-columns summary { list-style: none; cursor: pointer; }
.table-columns summary::-webkit-details-marker { display: none; }
.table-column-options {
  position: absolute;
  z-index: 10;
  top: 36px;
  right: 0;
  display: grid;
  gap: 8px;
  width: 220px;
  max-height: 360px;
  overflow-y: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--client-surface-1c1d23, #1c1d23);
}
.table-column-options label { display: flex; align-items: center; gap: 8px; }
.table-card { border: 0; background: transparent; }
table { color: var(--ink); }
th, td { position: relative; padding: 1px 12px; font-size: 11px; font-weight: 400; line-height: 16px; }
th { height: 40px; border: 0; color: var(--client-text-ffffff, #fff); background: var(--client-surface-23242a, #23242a); line-height: 16.25px; white-space: nowrap; }
th::after { content: ""; position: absolute; right: 0; top: 8px; height: 24px; border-right: 1px solid var(--client-border-3b3e49, #3b3e49); }
th:last-child::after, .workspace-table th::after, .selection-cell::after { display: none; }
th:first-child { border-radius: 5px 0 0 5px; }
th:last-child { border-radius: 0 5px 5px 0; }
td { height: 52px; color: var(--client-text-dadada, #dadada); border-bottom-color: var(--client-border-2b2d36, #2b2d36); }
td strong { color: inherit; font-weight: 400; }
tbody tr:nth-child(even) td { background: transparent; }
tbody tr:hover td, tbody tr:nth-child(even):hover td { background: var(--client-surface-23242a, #23242a); }
.selection-cell { width: 40px; text-align: center; padding: 0 12px; }
.selection-cell input, .table-column-options input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.empty-row, .workspace-table td.workspace-empty { height: 48px; padding: 16px 12px; color: var(--client-text-e7e7e7, #e7e7e7); font-size: 11px; font-weight: 400; line-height: 16px; }
.table-action { border: 0; padding: 4px 8px; color: var(--client-text-9e9e9e, #9e9e9e); background: transparent; font-size: 11px; font-weight: 400; }
.badge { font-size: 11px; font-weight: 400; }
.destination-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-right: auto; color: var(--client-text-9e9e9e, #9e9e9e); font-size: 12px; font-weight: 500; }
.destination-summary span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: #2edd63; }
.destination-summary span:nth-child(2)::before { background: #568fe5; }
.destination-summary span:nth-child(3)::before { background: var(--primary); }
.destination-summary b { color: var(--client-text-ffffff, #fff); }
.report-filter { margin-bottom: 24px; }
.report-hero { grid-template-columns: minmax(0, 1fr) 310px; }
.report-chart-head h2, .total-card h2 { font-size: 12px; font-weight: 500; line-height: 17px; }
.performance-card h2 { font-size: 14px; font-weight: 500; line-height: 24px; }
.perf-grid strong { font-size: 14px; font-weight: 500; }
.performance-card { padding: 16px; }
.total-card { padding-top: 28px; }
.total-card h2 { text-align: center; }
.total-number strong { font-size: 20px; font-weight: 500; }
.total-number span { color: var(--client-text-dadada, #dadada); font-weight: 500; }
.section-caption { margin: 0 0 12px; color: var(--client-text-ffffff, #fff); font-size: 20px; font-weight: 400; line-height: 27px; letter-spacing: .025em; }
.report-tabs { gap: 32px; }
.report-tabs button { min-height: 40px; font-size: 11px; font-weight: 500; }
.chart-legend, .axis-label, .x-label { color: var(--client-text-dadada, #dadada); fill: var(--client-text-dadada, #dadada); font-weight: 400; }
.settings-page-head { gap: 40px; }
.settings-top-tabs { border-bottom: 0; }
.settings-tab { min-height: 28px; font-size: 11px; font-weight: 500; line-height: 16px; letter-spacing: .025em; }
.workspace-settings-page { gap: 16px; }
.workspace-settings-card { padding: 20px; border-color: var(--client-border-3b3e49, #3b3e49); background: var(--client-surface-1c1d23, #1c1d23); border-radius: 10px; }
.workspace-card-copy h2 { line-height: 24px; }
.workspace-list-card .workspace-card-copy h2 { font-size: 16px; line-height: 22px; }
.workspace-list-card .workspace-card-copy { gap: 0; }
.workspace-list-card .workspace-card-copy p { padding-top: 8px; padding-bottom: 16px; }
.workspace-card-copy p, .workspace-field-copy span, .workspace-danger-row p { color: #727478; line-height: 16px; }
.workspace-field-copy { gap: 8px; }
.workspace-field-copy strong { line-height: 17px; }
.workspace-name-input { min-height: 46px; }
.workspace-table-toolbar { gap: 20px; }
.workspace-rows-select { min-height: 40px; width: 107px; }
.workspace-action { min-height: 40px; border: 0; background: linear-gradient(135deg, #6545be, #8662e9); }
.workspace-table td { height: 40px; color: var(--client-text-dadada, #dadada); font-size: 11px; font-weight: 400; line-height: 16px; }
.workspace-danger-button { color: var(--client-text-9e9e9e, #9e9e9e); padding: 0 20px; }
.search-modal-backdrop { background: rgba(0, 0, 0, .65); }
.search-palette { background: var(--client-surface-1c1d23, #1c1d23); box-shadow: none; }
.search-palette input { font-weight: 400; color: var(--client-text-dadada, #dadada); }
.search-palette input::placeholder { color: #727478; }
.search-palette p { margin: 0; padding: 19px 20px; color: #727478; font-size: 8px; line-height: 10px; }
.integrations-page h2 { margin: 32px 0 20px; color: var(--client-text-9e9e9e, #9e9e9e); font-size: 18px; font-weight: 400; line-height: 24px; }
.integration-grid { display: grid; grid-template-columns: repeat(3, 260px); gap: 16px; }
.integration-card { overflow: hidden; border-radius: 5px; background: var(--client-surface-202127, #202127); }
.integration-copy { display: grid; gap: 16px; padding: 16px; min-height: 118px; }
.integration-copy h3 { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--client-text-ffffff, #fff); font-size: 12px; font-weight: 500; line-height: 17px; }
.integration-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: 0 0 30px; color: #a290e7; }
.integration-icon svg { width: 28px; height: 28px; }
.integration-icon.incoming { color: #d3417a; }
.integration-icon.carrier { color: #ffad51; }
.integration-copy p, .integration-details p { margin: 0; color: #727478; font-size: 11px; line-height: 16px; letter-spacing: .025em; }
.integration-details summary { padding: 13px 16px; border-top: 1px solid var(--client-border-3b3e49, #3b3e49); color: var(--client-text-ffffff, #fff); font-size: 8px; line-height: 15px; text-align: right; list-style: none; cursor: pointer; }
.integration-details summary::-webkit-details-marker { display: none; }
.integration-details summary:hover { color: #a290e7; }
.integration-details p { padding: 16px; }
@media (max-width: 1100px) {
  .content { padding-left: 24px; padding-right: 24px; }
  body[data-view="reporting"] .content { padding-left: 24px; padding-right: 24px; }
  .report-hero { grid-template-columns: 1fr; }
  .integration-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .content, body[data-view="reporting"] .content, body[data-view="settings"] .content { padding: 24px 14px 34px; }
  .toolbar-controls { gap: 12px; }
  .destination-summary { flex-basis: 100%; min-height: 30px; }
  .toolbar-controls .search { width: 140px; min-width: 0; }
  .integration-grid { grid-template-columns: 1fr; }
  .settings-page-head { gap: 24px; }
  .report-filter { margin-bottom: 16px; }
}
/* Final alignment and state styling from the page-by-page comparison. */
.page-toolbar { grid-template-columns: minmax(0, 1fr); justify-content: stretch; justify-items: stretch; }
.main-nav-list { padding-top: 8px; }
.nav-parent, .nav-item { min-height: 40px; }
.side-search span { color: inherit; }
.side-search:hover::before { background: #fff; }
.selection-cell input { appearance: none; border: 1px solid var(--client-border-9e9e9e, #9e9e9e); border-radius: 3px; background: transparent; }
.selection-cell input:checked { appearance: auto; accent-color: #6f4fcc; }
.badge.status-switch { position: relative; display: inline-block; width: 28px; height: 12px; min-height: 0; padding: 0; border: 0; border-radius: 10px; vertical-align: middle; background: var(--client-surface-5d5e63, #5d5e63); }
.badge.status-switch.active { background: #0ead70; }
.status-switch > span { position: absolute; top: 1px; left: 1px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.status-switch.active > span { left: 17px; }
.campaign-progress { display: inline-flex; align-items: center; justify-content: center; width: 92px; min-height: 22px; border-radius: 5px; color: #cb9b63; background: var(--client-surface-4a4039, #4a4039); font-size: 11px; font-weight: 400; }
.campaign-progress.running { color: #71c999; background: var(--client-surface-244336, #244336); }
.performance-card h2 { text-align: left; }
.chart-tabs button { font-size: 12px; font-weight: 400; color: var(--client-text-9e9e9e, #9e9e9e); }
.active-filter { color: var(--client-text-dadada, #dadada) !important; }
body[data-view="campaigns"] .wide-table table { min-width: 1050px; }
body:not([data-view="reporting"]) td { white-space: nowrap; }
body:not([data-view="reporting"]) th:last-child, body:not([data-view="reporting"]) td:last-child:not(.empty-row):not(.workspace-empty) { width: 114px; text-align: center; }
body[data-view="callFlows"] th:nth-child(2) { width: 80%; }
body[data-view="campaigns"] th:nth-child(n+5):nth-child(-n+10), body[data-view="campaigns"] td:nth-child(n+5):nth-child(-n+10) { text-align: center; }
.icon-control svg, .icon-pill svg { width: 23px; height: 23px; pointer-events: none; }
.icon-control { display: inline-flex; align-items: center; justify-content: center; color: var(--client-text-9e9e9e, #9e9e9e); }
.subcell { color: #727478; font-weight: 400; }
body[data-view="reporting"] .report-hero + section { margin-top: 30px; }
body[data-view="reporting"] .content > section:last-child { margin-top: 32px; }
body[data-view="reporting"] .section-caption { line-height: 26px; margin-bottom: 10px; }
body[data-view="reporting"] .report-tabs button { min-height: 46px; }
body[data-view="reporting"] .report-hero + section td { height: 46px; }
body[data-view="reporting"] .report-hero + section table { min-width: 1406px; }
body[data-view="reporting"] .content > section:last-child .section-caption { margin-bottom: 48px; }
body[data-view="reporting"] .content > section:last-child table { min-width: 1735px; }
@media (max-width: 760px) {
  body[data-view="reporting"] .content > section:last-child .section-caption { margin-bottom: 24px; }
}

/* Exact typography and reporting geometry from the September console measurements. */
body { font-size: 11px; line-height: 16px; }
button, input, select, textarea { font-family: inherit; font-size: 11px; line-height: 16px; }
.brand-mark { font-size: 11px; font-weight: 400; line-height: 16px; }
.brand strong, .side-panel strong { line-height: 16px; }
.side-panel small { line-height: 10px; letter-spacing: normal; }
.nav-parent, .nav-item { line-height: 16px; }
.nav-group { gap: 0; }
.side-search { line-height: 16px; }
.money-pill, .status-count { line-height: 16px; }
.report-filter h1, .settings-page-head h1, .page-title-block h2, .integrations-page h1 { font-size: 24px; font-weight: 400; line-height: 33px; letter-spacing: normal; }
.report-tabs button, .settings-tab { font-size: 11px; line-height: 16px; letter-spacing: .325px; }
.section-caption { letter-spacing: 1.1px; }
.workspace-card-copy p, .workspace-field-copy span, .workspace-danger-row p { font-size: 11px; line-height: 16px; letter-spacing: normal; }
.workspace-field-copy strong { font-size: 12px; font-weight: 500; line-height: 17px; }
.workspace-name-input { font-size: 11px; font-weight: 500; line-height: 20px; }
.workspace-rows-select, .workspace-action, .rows-select, .toolbar-controls .button { font-size: 11px; line-height: 16px; }
.search-palette input { font-size: 16px; font-weight: 400; line-height: 22px; }
.search-palette p { font-size: 8px; line-height: 10px; }
.destination-summary { line-height: 17px; }
.destination-summary b { font-weight: 500; }
.perf-grid span, .total-number span { font-size: 10px; line-height: 14px; }
.perf-grid strong { font-size: 14px; font-weight: 500; line-height: 19px; }
.total-number strong { font-size: 20px; font-weight: 500; line-height: 27px; }
.integration-copy p, .integration-details p { font-size: 11px; line-height: 16px; letter-spacing: normal; }
.integration-details summary { font-size: 8px; line-height: 15px; }
body[data-view="reporting"] .content { padding-right: 72px; overflow-x: auto; }
.report-filter { min-width: 1134px; }
.filter-actions { gap: 20px; flex-wrap: nowrap; }
.timezone-select, .active-filter, .auto-refresh { font-size: 11px; font-weight: 500; line-height: 16px; }
.timezone-select { width: 320px; }
.active-filter { width: 212px; }
.auto-refresh { display: flex; align-items: center; justify-content: space-between; gap: 26px; width: 166px; }
.auto-refresh span { color: inherit; }
.report-view-options { width: 84px; gap: 24px; }
.report-view-options span { color: inherit; }
.report-hero { min-width: 1134px; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 20px; }
.report-chart-card { grid-column: span 5; height: 432px; min-height: 432px; padding: 20px; overflow: hidden; }
.report-side { grid-column: span 2; grid-template-rows: 120px 292px; gap: 20px; }
.report-chart-head { grid-template-columns: 84px minmax(0, 1fr) 24px; height: 44px; min-height: 44px; padding: 0 0 12px; }
.report-chart-head h2 { margin: 0; font-size: 12px; font-weight: 500; line-height: 17px; }
.chart-tabs { width: 84px; height: 32px; padding: 3px; gap: 2px; }
.chart-tabs button { width: 24px; height: 24px; min-height: 24px; padding: 0; font-size: 12px; line-height: 17px; }
.chart-tabs button.active { border-radius: 5px; }
.mini-icon { width: 24px; min-height: 24px; height: 24px; padding: 0; line-height: 16px; }
.report-chart { height: 352px; background: transparent; }
.report-svg { display: block; width: 100%; height: 352px; min-width: 0; }
.report-svg .axis-label, .report-svg .x-label { font-family: "Fira Sans", sans-serif; font-size: 8px; font-weight: 400; line-height: 15px; letter-spacing: normal; fill: var(--client-text-dadada, #dadada); }
.report-baseline { stroke: #2d966c; stroke-width: 1; }
.svg-chart-legend text { font-family: "Fira Sans", sans-serif; font-size: 10px; font-weight: 400; line-height: 14px; fill: var(--client-text-dadada, #dadada); }
.chart-legend.compact { font-size: 10px; line-height: 14px; gap: 14px; padding: 0; margin: 0; }
.performance-card { min-height: 120px; height: 120px; padding: 16px; }
.performance-card h2 { margin: 0; font-size: 14px; line-height: 24px; }
.perf-grid { margin-top: 16px; }
.perf-grid div { padding: 2px 16px; }
.perf-grid div:first-child { padding-left: 0; }
.perf-grid strong { margin-top: 8px; }
.total-card { height: 292px; min-height: 292px; padding: 20px; grid-template-rows: 33px 184px 14px; gap: 0; }
.total-card h2 { margin: 0; padding: 8px 0; font-size: 12px; font-weight: 500; line-height: 17px; }
.total-number { align-self: start; padding-top: 73px; }
.total-number strong { margin-top: 0; }
.mobile-menu-button { display: none; }
@media (max-width: 1280px) {
  .content, body[data-view="reporting"] .content { padding-left: 24px; padding-right: 24px; }
  .report-chart-card { padding: 16px; }
  .report-hero { gap: 16px; }
  .report-side { gap: 20px; }
  .report-chart-head { height: 44px; }
  .total-card { padding: 16px; }
}
@media (max-width: 799px) {
  .app-shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .mobile-menu-button { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; color: var(--client-text-ffffff, #fff); background: transparent; font-size: 18px; line-height: 24px; cursor: pointer; }
  .topbar { padding: 0 16px; }
  .topbar-actions { gap: 16px; }
  .sidebar-open .sidebar { display: flex; position: fixed; top: 54px; left: 0; z-index: 30; width: 208px; height: calc(100dvh - 54px); overflow-y: auto; box-shadow: 8px 0 24px rgba(0,0,0,.4); }
  .content, body[data-view="reporting"] .content, body[data-view="settings"] .content { padding: 24px 16px 40px; }
  .report-filter { display: grid; grid-template-columns: 98px 84px minmax(0,1fr); align-items: start; min-width: 0; gap: 24px 16px; }
  .report-filter h1 { grid-column: 1; align-self: center; font-size: 18px; line-height: 24px; }
  .filter-actions { display: contents; }
  .report-view-options { grid-row: 1; grid-column: 2; height: 36px; min-height: 36px; }
  .report-filter-button { grid-row: 2; grid-column: 1; justify-self: start; width: 36px; height: 36px; min-height: 36px; }
  .report-refresh-button { grid-row: 2; grid-column: 1; justify-self: end; margin-right: 18px; width: 36px; height: 36px; min-height: 36px; }
  .auto-refresh { grid-row: 2; grid-column: 2 / 4; width: 166px; height: 36px; min-height: 36px; margin-left: -26px; }
  .timezone-select { grid-row: 3; grid-column: 1 / -1; width: 100%; height: 36px; min-height: 36px; margin-top: -16px; }
  .active-filter { grid-row: 4; grid-column: 1 / -1; width: 100%; height: 36px; min-height: 36px; margin-top: -16px; text-align: left; }
  .report-filter { margin-bottom: 16px; }
  .report-hero { min-width: 0; grid-template-columns: minmax(0,1fr); gap: 0; }
  .report-chart-card { grid-column: 1; padding: 16px; }
  .report-side { display: none; }
  .page-title-block h2, .settings-page-head h1, .integrations-page h1 { font-size: 18px; line-height: 24px; }
  .integration-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svg-chart-legend text { font-size: 8px; line-height: 10px; }
  .section-caption { font-size: 18px; line-height: 24px; letter-spacing: .8px; }
}
/* The reference leaves a six-pixel gap below table headers and uses forty-pixel rows. */
table tbody::before { content: ""; display: table-row; height: 6px; }
td, body[data-view="reporting"] .report-hero + section td { height: 40px; }
.empty-row, .workspace-table td.workspace-empty { height: 48px; }
body[data-view="reporting"] .report-chart-card, body[data-view="reporting"] .report-side { max-width: none; }
.report-svg .axis-label, .report-svg .x-label { dominant-baseline: auto; }
.chart-legend.compact { flex-wrap: nowrap; gap: 10px; }
.chart-legend.compact span { gap: 4px; white-space: nowrap; }
@media (max-width: 799px) {
  .topbar { flex-direction: row; align-items: center; height: 54px; min-height: 54px; gap: 8px; }
  .topbar-actions { flex-direction: row; align-items: center; flex-wrap: nowrap; gap: 12px; }
  .topbar-actions .icon-pill { width: 32px; height: 32px; }
  .toolbar-controls { flex-direction: row; align-items: center; }
  .main-nav-list, .workspace-nav-list { grid-template-columns: minmax(0,1fr); }
}
@media (min-width: 641px) and (max-width: 799px) {
  .content, body[data-view="reporting"] .content, body[data-view="settings"] .content { padding-left: 24px; padding-right: 24px; }
}
.nav-item:nth-child(3), .nav-item:nth-child(7), .nav-item:nth-child(12) { margin-top: 0; }
@media (min-width: 1281px) {
  .timezone-select { width: 352px; margin-left: -20px; }
}
.icon-control svg { width: 24px; height: 24px; }
.console-sized-table { table-layout: fixed; }
.console-sized-table td { overflow: hidden; text-overflow: ellipsis; }
.console-sized-table td strong, .console-sized-table .subcell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body[data-view="trackingNumbers"] .wide-table table { min-width: 1505px; }
body[data-view="numberPools"] .wide-table table { min-width: 1088px; }
body[data-view="destinations"] .wide-table table { min-width: 1088px; }
body[data-view="disputes"] .wide-table table { min-width: 1425px; }
body[data-view="callFlows"] .console-sized-table th:nth-child(2), .console-sized-table th:last-child, .console-sized-table td:last-child:not(.empty-row) { width: auto; }

/* Reference navigation artwork and measured text alignment. */
.nav-item[data-view="settings"] { --nav-icon: url("/icons/settings.svg"); }
.nav-item[data-view="reporting"] { --nav-icon: url("/icons/reporting.svg"); }
.nav-item[data-view="campaigns"] { --nav-icon: url("/icons/campaigns.svg"); }
.nav-item[data-view="callFlows"] { --nav-icon: url("/icons/callFlows.svg"); }
.nav-item[data-view="buyers"] { --nav-icon: url("/icons/buyers.svg"); }
.nav-item[data-view="vendors"] { --nav-icon: url("/icons/vendors.svg"); }
.nav-item[data-view="trafficSources"] { --nav-icon: url("/icons/trafficSources.svg"); }
.nav-item[data-view="integrations"] { --nav-icon: url("/icons/integrations.svg"); }
.nav-item[data-view="disputes"] { --nav-icon: url("/icons/disputes.svg"); }
.phone-nav { --nav-icon: url("/icons/phone.svg"); }
.destinations-nav { --nav-icon: url("/icons/destinations.svg"); }
.suppression-nav { --nav-icon: url("/icons/suppression.svg"); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: "Fira Sans", sans-serif; }
.main-nav-list { padding-top: 14px; }
.nav-parent::before, .nav-item::after { left: 16px; width: 20px; height: 20px; }
.side-search::before { left: 16px; width: 20px; height: 20px; mask: url("/icons/search.svg") center / contain no-repeat; -webkit-mask: url("/icons/search.svg") center / contain no-repeat; }
.nav-group.expanded .nav-parent { background: transparent; }
.nav-sub { min-height: 32px; padding-left: 48px; }
.nav-group:has(.phone-nav) .nav-sub, .nav-group:has(.suppression-nav) .nav-sub { margin-bottom: 8px; }
.brand::after { content: ""; width: 10px; height: 8px; right: 20px; background: var(--client-surface-4b4e58, #4b4e58); mask: url("/icons/collapse.svg") center / contain no-repeat; -webkit-mask: url("/icons/collapse.svg") center / contain no-repeat; }
.brand strong::after { top: 0; width: 16px; height: 16px; right: -4px; border: 0; transform: none; background: var(--client-surface-4b4e58, #4b4e58); mask: url("/icons/workspace.svg") center / contain no-repeat; -webkit-mask: url("/icons/workspace.svg") center / contain no-repeat; }
.side-panel { margin: auto 0 0; padding: 8px 12px 18px; gap: 14px; }
.side-panel strong { color: var(--client-text-ffffff, #fff); }
.side-panel small { color: var(--client-text-8f8f90, #8f8f90); margin-top: 4px; }
.avatar-dot { position: relative; width: 34px; height: 34px; flex-shrink: 0; font-size: 0; }
.avatar-dot::after { content: ""; width: 24px; height: 24px; background: #fff; mask: url("/icons/profile.svg") center / contain no-repeat; -webkit-mask: url("/icons/profile.svg") center / contain no-repeat; }
.status-count { color: var(--client-text-ffffff, #fff); }
.perf-grid strong { color: var(--client-text-fcfcfc, #fcfcfc); line-height: 24px; }
.workspace-rows-select { line-height: 16px; }
.report-tabs button[data-dropdown] { display: inline-flex; align-items: center; gap: 4px; }
.report-tabs button[data-dropdown]::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.report-call-log-controls { display: flex; justify-content: flex-end; align-items: center; gap: 8px; height: 48px; padding-right: 72px; }
body[data-view="reporting"] .content > section:last-child .section-caption { margin-bottom: 0; }
.report-call-log-controls .toolbar-icon { width: 24px; height: 24px; padding: 0; }
.report-call-log-controls svg { width: 24px; height: 24px; }
.topbar-actions { gap: 28px; }
.status-count { display: inline-flex; gap: 8px; }
.status-count b { margin-left: 0; }
.topbar-menu { position: relative; }
.topbar-menu summary { list-style: none; cursor: pointer; }
.topbar-menu summary::-webkit-details-marker { display: none; }
.topbar-menu-options { position: absolute; right: 0; top: 40px; z-index: 40; display: grid; gap: 4px; width: 170px; padding: 8px; border: 1px solid var(--line); border-radius: 5px; background: var(--sidebar); }
.topbar-menu-options button { display: flex; align-items: center; gap: 8px; padding: 8px; border: 0; color: var(--client-text-dadada, #dadada); background: transparent; text-align: left; cursor: pointer; }
.topbar-menu-options svg { width: 16px; height: 16px; }
@media (min-width: 1281px) { .timezone-select { width: 320px; margin-left: 12px; } }
@media (max-width: 799px) { .topbar-actions { gap: 16px; } .report-call-log-controls { padding-right: 0; } }

.topbar-menu > summary { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 5px; color: var(--client-text-9e9e9e, #9e9e9e); background: var(--client-surface-292334, #292334); }
.topbar-menu > summary svg { width: 32px; height: 32px; }
.money-pill { position: relative; }
.money-pill::before { content: ""; position: absolute; width: 18px; height: 18px; left: -26px; top: -1px; background: #9e9e9e; mask: url("/icons/credit.svg") center / contain no-repeat; -webkit-mask: url("/icons/credit.svg") center / contain no-repeat; }
.chart-legend.compact { transform: translateY(5px); }
.main-nav-list { padding-top: 9px; }
.brand::after { transform: translateY(-50%) rotate(180deg); }
.settings-tab { display: inline-flex; align-items: flex-start; padding-top: 0; }
.workspace-card-copy { gap: 0; }
.workspace-list-card { gap: 0; }
.workspace-list-card .workspace-card-copy p { padding-top: 0; padding-bottom: 24px; }
.workspace-list-card .workspace-table-toolbar { margin-top: 16px; margin-bottom: 8px; }
.workspace-list-card .workspace-rows-select, .workspace-list-card .workspace-action { min-height: 36px; height: 36px; }
.workspace-action { box-shadow: none; background: linear-gradient(135deg, #6545be, #8662e9); }
.workspace-table { table-layout: fixed; }
.workspace-table th:last-child { width: 114px; }
.workspace-table:has(th:nth-child(4)) th:nth-child(1) { width: 30.2%; }
.workspace-table:has(th:nth-child(4)) th:nth-child(2) { width: 34.4%; }
.workspace-table:has(th:nth-child(4)) th:nth-child(3) { width: 200px; }
.workspace-table:not(:has(th:nth-child(4))) th:nth-child(1) { width: 41.7%; }
.integrations-page h2 { margin-top: 42px; }
.integration-copy { display: block; }
.integration-copy h3 { height: 30px; }
.integration-copy p { margin-top: 16px; }
.integration-icon img { width: 30px; height: 30px; }
.integration-icon.outgoing { width: 31px; flex-basis: 31px; }
.integration-icon.outgoing img { width: 31px; }
.workspace-list-card .workspace-card-copy p { padding-top: 8px; padding-bottom: 16px; }
.workspace-settings-card:not(.workspace-list-card) .workspace-card-copy p { padding-top: 8px; }
.workspace-action.button { box-shadow: none; background: linear-gradient(180deg, #6545be, #8662e9); }
.button.primary, .toolbar-controls .button.primary, .workspace-action.button { background: linear-gradient(180deg, #6342c5, #8563e9); box-shadow: none; }
.report-chart-head .mini-icon { padding: 0; border: 0; background: transparent; }
.report-chart-head .mini-icon img { width: 24px; height: 24px; }
.filter-actions .icon-control { color: var(--client-text-9e9e9e, #9e9e9e); }

body.auth-required .sidebar,body.auth-required .appbar {display:none}
body.auth-required .app-shell {display:block}
body.auth-required .main-panel {margin-left:0;width:100%}
.login-card {max-width:400px;margin:80px auto;padding:28px;border:1px solid var(--client-border-3c3f49, #3c3f49);border-radius:8px;background:var(--client-surface-1e1f25, #1e1f25);font-family:'Fira Sans',sans-serif}
.login-card h1 {font-size:20px;font-weight:500;color:var(--client-text-ffffff, #fff)}
.login-card p {color:var(--client-text-9e9e9e, #9e9e9e);font-size:11px}
.login-card label {display:block;margin:16px 0 8px;color:var(--client-text-ffffff, #fff);font-size:11px}
.login-card input {width:100%;padding:12px;border:1px solid var(--client-border-3c3f49, #3c3f49);border-radius:5px;background:var(--client-surface-2f3038, #2f3038);color:var(--client-text-ffffff, #fff);font:400 11px 'Fira Sans',sans-serif;box-sizing:border-box}
.login-card button {width:100%;margin-top:12px}
#loginError {color:#ef8989}

.admin-panel {padding:24px}
.admin-client-form {display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:20px 0}
.admin-client-form label {display:flex;flex-direction:column;gap:8px;color:var(--client-text-ffffff, #fff);font-size:11px}
.admin-client-form input {padding:10px;background:var(--client-surface-2f3038, #2f3038);border:1px solid var(--client-border-3c3f49, #3c3f49);border-radius:4px;color:var(--client-text-ffffff, #fff);font:400 11px 'Fira Sans',sans-serif}
.admin-panel td button {background:transparent;border:1px solid var(--client-border-3c3f49, #3c3f49);border-radius:4px;padding:6px 10px;color:var(--client-text-ffffff, #fff);margin-right:8px;cursor:pointer}
.admin-panel h3 {margin-top:24px}
#adminFeedback {overflow-wrap:anywhere;font-size:11px;color:#b49be8}

body.auth-required .workspace {margin-left:0;width:100%;padding:0}
.admin-client-form textarea {padding:10px;background:var(--client-surface-2f3038, #2f3038);border:1px solid var(--client-border-3c3f49, #3c3f49);border-radius:4px;color:var(--client-text-ffffff, #fff);font:400 11px/18px 'Fira Sans',sans-serif}

.wallet-metrics {display:flex;gap:30px;flex-wrap:wrap;margin:20px 0}
.wallet-metrics>div {display:flex;flex-direction:column;gap:8px}
.wallet-metrics span {font-size:11px;color:var(--client-text-9e9e9e, #9e9e9e)}
.wallet-metrics strong {font-size:18px;font-weight:500;color:var(--client-text-ffffff, #fff)}
.wallet-client-label {display:flex;align-items:center;gap:12px;margin:16px 0;font-size:11px}
.wallet-client-label select,.admin-client-form select {padding:8px;background:var(--client-surface-2f3038, #2f3038);border:1px solid var(--client-border-3c3f49, #3c3f49);border-radius:4px;color:var(--client-text-ffffff, #fff);font:400 11px 'Fira Sans',sans-serif}
.money-pill.wallet-negative {color:#ef8989}

.inventory-pricing {position:relative;display:inline-block;white-space:normal;font-size:11px}
.inventory-pricing summary {padding:6px 10px;cursor:pointer;border:1px solid var(--client-border-3c3f49, #3c3f49);border-radius:4px}
.inventory-pricing form {position:fixed;right:30px;top:120px;z-index:120;width:260px;padding:20px;background:var(--client-surface-1e1f25, #1e1f25);border:1px solid var(--client-border-3c3f49, #3c3f49);border-radius:5px;box-shadow:0 8px 30px #0008}
.inventory-pricing label {display:block;margin:10px 0;font-size:11px;color:var(--client-text-ffffff, #fff)}
.inventory-pricing input {display:block;width:100%;margin-top:8px;padding:8px;background:var(--client-surface-2f3038, #2f3038);color:var(--client-text-ffffff, #fff);border:1px solid var(--client-border-3c3f49, #3c3f49);border-radius:4px;box-sizing:border-box}
#purchaseFeedback {color:#ef8989;font-size:11px}

/* Administrator navigation follows the existing sidebar hierarchy. */
.administration-nav { --nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%203%203%207v5c0%205%209%209%209%209s9-4%209-9V7z%27%2F%3E%3Cpath%20d%3D%27m8%2012%203%203%205-6%27%2F%3E%3C%2Fsvg%3E"); }
.nav-item[data-view="admin"] { --nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%279%27%20cy%3D%278%27%20r%3D%273%27%2F%3E%3Cpath%20d%3D%27M3%2021v-3a6%206%200%200%201%2012%200v3M16%205a3%203%200%200%201%200%206M21%2021v-3a6%206%200%200%200-4-5%27%2F%3E%3C%2Fsvg%3E"); }
.nav-item[data-view="inventoryAdmin"] { --nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%274%27%20y%3D%273%27%20width%3D%2716%27%20height%3D%2718%27%20rx%3D%272%27%2F%3E%3Cpath%20d%3D%27M8%207h8M8%2011h8M8%2015h3M14%2015h2M8%2018h3M14%2018h2%27%2F%3E%3C%2Fsvg%3E"); }
.nav-item[data-view="wallet"] { --nav-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M20%208V5a2%202%200%200%200-2-2H5a3%203%200%200%200%200%206h15v12H5a3%203%200%200%201-3-3V6%27%2F%3E%3Cpath%20d%3D%27M21%2012h-6v5h6z%27%2F%3E%3Ccircle%20cx%3D%2717%27%20cy%3D%2714.5%27%20r%3D%27.5%27%2F%3E%3C%2Fsvg%3E"); }
#administrationItems { display: grid; gap: 2px; }
#administrationNav .nav-sub { padding-left: 68px; }
#administrationNav .nav-sub::after { display: block; left: 43px; }
#administrationNav .nav-parent::after { transition: transform 200ms ease; }
#administrationNav.expanded .nav-parent::after { transform: translateY(-35%) rotate(225deg); }

.cdr-pagination {display:flex;gap:12px;margin-top:16px}
.admin-panel select,.admin-panel input,.admin-panel button {font:inherit}

.nav-item[data-view="sipTrunks"] {--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%204h4l2%205-3%202a14%2014%200%200%200%205%205l2-3%205%202v4c0%202-3%203-5%202C8%2019%203%2014%202%208c0-2%201-4%203-4z%27%2F%3E%3Cpath%20d%3D%27M15%203h6v6M21%203l-6%206%27%2F%3E%3C%2Fsvg%3E")}

.nav-item[data-view="profit"] {--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%203v18h18M7%2015l4-4%204%203%206-8%27%2F%3E%3Cpath%20d%3D%27M17%206h4v4%27%2F%3E%3C%2Fsvg%3E")}

.nav-item[data-view="monitoring"] {--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M2%2012h5l3-8%204%2016%203-8h5%27%2F%3E%3C%2Fsvg%3E")}

.nav-item[data-view="callLogs"] {--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%274%27%20y%3D%273%27%20width%3D%2716%27%20height%3D%2718%27%20rx%3D%272%27%2F%3E%3Cpath%20d%3D%27M8%207h8M8%2011h8M8%2015h5%27%2F%3E%3Ccircle%20cx%3D%2717%27%20cy%3D%2718%27%20r%3D%274%27%2F%3E%3Cpath%20d%3D%27M17%2016v2l1%201%27%2F%3E%3C%2Fsvg%3E")}
/* Account footer and dropup follow the inspected reference placement. */
.main-nav-list {min-height:0;flex:1;overflow-y:auto;scrollbar-width:thin}
#accountMenuButton {width:100%;flex-shrink:0;text-align:left;border:0;cursor:pointer;font:inherit}
#accountMenuButton>span:last-child {min-width:0}
#accountMenuButton strong,#accountMenuButton small {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-avatar {display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;background:#704bc9;color:var(--client-text-ffffff, #fff);border-radius:50%;overflow:hidden}
.account-avatar svg {width:24px;height:24px}
.account-avatar img {width:100%;height:100%;object-fit:cover}
.account-avatar.large {width:60px;height:60px}
.account-avatar.large svg {width:38px;height:38px}
.account-dropup {position:fixed;left:56px;bottom:18px;width:213px;max-height:calc(100vh - 64px);overflow:auto;z-index:1200;background:var(--client-surface-1a1b20, #1a1b20);border:1px solid var(--client-border-282930, #282930);border-radius:5px;box-shadow:0 8px 22px #0004;font-family:Rubik,sans-serif;animation:account-pop 150ms ease-out}
.account-dropup[hidden],.account-submenu[hidden],.notification-panel[hidden] {display:none}
.account-dropup-header {display:flex;gap:14px;align-items:center;padding:10px 15px 14px;border-bottom:1px solid var(--client-border-292a31, #292a31)}
.account-dropup-header>div {min-width:0}
.account-dropup-header strong {display:block;font-size:11px;font-weight:400;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-dropup-header small {display:block;font-size:8px;line-height:10px;color:var(--client-text-8f8f90, #8f8f90);margin-top:4px;overflow:hidden;text-overflow:ellipsis}
.account-dropup [role=menu] {padding:4px 0}
.account-menu-item {display:flex;align-items:center;gap:14px;width:100%;height:36px;padding:0 18px;border:0;background:transparent;color:var(--client-text-ffffff, #fff);font:400 11px/16px Rubik,sans-serif;text-align:left;cursor:pointer}
.account-menu-item:hover,.account-submenu button:hover {background:var(--client-surface-272830, #272830)}
.account-menu-item>svg {width:18px;height:18px;color:var(--client-text-9e9e9e, #9e9e9e);flex-shrink:0}
.account-menu-group>svg:last-child {margin-left:auto;width:14px;height:14px;color:var(--client-text-ffffff, #fff);transition:transform 200ms ease}
.account-menu-group[aria-expanded=true]>svg:last-child {transform:rotate(180deg)}
.account-submenu {padding:2px 0 6px}
.account-submenu button {display:block;width:100%;height:32px;border:0;padding:0 24px 0 38px;background:transparent;color:var(--client-text-ffffff, #fff);font:400 11px/16px Rubik,sans-serif;text-align:left;cursor:pointer}
.account-theme {display:flex;align-items:center;gap:10px;height:47px;padding:0 13px;border-top:1px solid var(--client-border-292a31, #292a31);color:var(--client-text-9e9e9e, #9e9e9e);font-size:8px;font-weight:500}
.account-theme-toggle {display:flex;align-items:center;justify-content:space-between;width:34px;height:18px;padding:2px;color:#111;background:#fff;border-radius:20px;font-size:12px}
.account-theme-toggle i {width:12px;height:12px;background:var(--client-surface-303138, #303138);border-radius:50%}
@keyframes account-pop {from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.money-pill {border:0;background:transparent;padding:0;cursor:pointer}
#notificationBell {position:relative;padding:0;border:0;cursor:pointer}
.notification-badge {position:absolute;right:-4px;top:-4px;min-width:13px;height:13px;padding:0 3px;border-radius:8px;background:#7653cd;color:var(--client-text-ffffff, #fff);font-size:7px;line-height:13px;text-align:center}
.notification-panel {position:fixed;right:12px;top:46px;width:360px;max-width:calc(100vw - 24px);max-height:520px;z-index:1201;background:var(--client-surface-1f2027, #1f2027);border:1px solid var(--client-border-33353e, #33353e);border-radius:5px;box-shadow:0 12px 24px #0005;overflow:hidden;font-family:Rubik,sans-serif;animation:account-pop 150ms ease-out}
.notification-panel header {display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid var(--client-border-33353e, #33353e)}
.notification-panel header strong {font-size:12px;font-weight:500}
.notification-panel header button {background:none;border:0;color:#a38bea;font-size:9px;cursor:pointer}
.notification-panel header button:disabled {opacity:.5;cursor:default}
.notification-list {max-height:460px;overflow:auto}
.notification-item {display:flex;gap:12px;padding:14px 16px;border-bottom:1px solid var(--client-border-2c2e37, #2c2e37)}
.notification-item.unread {background:#7551d312}
.notification-event-icon {display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;background:#7755d326;border-radius:50%;color:#ab91e9}
.notification-event-icon svg {width:18px;height:18px}
.notification-item p {margin:0 0 6px;font-size:11px;line-height:18px;color:var(--client-text-e0e0e4, #e0e0e4)}
.notification-item time {color:var(--client-text-85868f, #85868f);font-size:8px}
.notification-empty {text-align:center;padding:30px;color:var(--client-text-8f8f90, #8f8f90);font-size:11px}
.toast {top:66px;bottom:auto;right:18px;z-index:1500;border:1px solid var(--client-border-46414f, #46414f);background:var(--client-surface-27262d, #27262d);color:var(--client-text-e6e4ed, #e6e4ed);font-size:11px;box-shadow:0 8px 22px #0005}
.account-profile {width:420px;max-width:100%;margin:8px auto 0;font-family:'Fira Sans',sans-serif}
.account-profile h2 {font-size:24px;line-height:32px;font-weight:400;margin:0 0 60px}
.profile-avatar-row {display:flex;align-items:center;gap:16px;margin-bottom:28px}
.account-text-action {border:0;padding:0;background:transparent;color:#966dea;cursor:pointer;font-size:11px}
.account-profile label {display:block;margin-bottom:28px;font-size:12px;font-weight:500;line-height:17px}
.account-profile label>span {display:flex;justify-content:space-between}
.account-profile input {display:block;width:100%;height:46px;border:1px solid var(--client-border-3c3e47, #3c3e47);border-radius:5px;padding:12px;background:var(--client-surface-2c2d34, #2c2d34);color:var(--client-text-ffffff, #fff);font-family:'Fira Sans',sans-serif;font-size:11px;font-weight:500;margin-top:14px}
.account-profile input:disabled {color:#727478;border-color:transparent;background:var(--client-surface-2c2d32, #2c2d32)}
.profile-change-inert {border:0;background:none;color:#727478;padding:0;font-size:11px;cursor:default}
#profileFeedback:empty,#passwordFeedback:empty {display:none}
#profileFeedback,#passwordFeedback {color:#db8590;font-size:11px;line-height:18px}
.password-actions {display:flex;align-items:center;justify-content:space-between}
.account-page,.manage-billing {width:920px;max-width:100%;margin:12px auto 0;font-family:'Fira Sans',sans-serif}
.account-page h2,.manage-billing h2 {margin:0;font-size:22px;font-weight:500;line-height:29px}
.account-page-description {font-size:11px;color:#727478;line-height:16px;margin:12px 0 26px}
.billing-tabs {display:flex;align-items:center;gap:32px;margin-bottom:16px}
.billing-tabs button {display:flex;align-items:center;gap:8px;border:0;border-bottom:2px solid transparent;padding:0 0 12px;background:transparent;color:var(--client-text-ffffff, #fff);text-transform:uppercase;font:500 11px/16px 'Fira Sans',sans-serif;cursor:pointer}
.billing-tabs button.active {color:#8861e1;border-bottom-color:#8056d7}
.billing-tabs svg {width:16px;height:16px}
.billing-card {border:1px solid var(--client-border-30323c, #30323c);border-radius:5px;padding:20px;background:var(--client-surface-1d1e25, #1d1e25);margin-bottom:24px}
.billing-copy strong {display:block;font-size:12px;font-weight:500;line-height:17px}
.billing-copy p,.notification-settings-page .billing-card>p,.account-option-row p {font-size:11px;color:#727478;line-height:16px;margin:8px 0 0}
.payment-method-preview {display:flex;flex-direction:column;align-items:center;justify-content:center;width:165px;height:103px;margin:12px 0 16px;border:1px solid #8059d7;border-radius:5px;background:var(--client-surface-24252e, #24252e);color:var(--client-text-ffffff, #fff);font-size:11px;gap:8px;cursor:pointer}
.payment-method-preview svg {width:32px;height:32px;margin-bottom:4px}
.payment-method-preview small {font-size:9px;color:#727478}
.billing-amount-row {display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;border-top:1px solid var(--client-border-2b2d35, #2b2d35);border-bottom:1px solid var(--client-border-2b2d35, #2b2d35)}
.billing-amount-row input {width:96px;height:44px;padding:12px 20px;border:1px solid var(--client-border-3c3f49, #3c3f49);border-radius:5px;background:var(--client-surface-2b2c34, #2b2c34);color:var(--client-text-ffffff, #fff);font-size:12px}
.billing-preview-totals {text-align:right;border-bottom:1px solid var(--client-border-2b2d35, #2b2d35);padding:16px 0;font-size:12px;font-weight:500;color:#727478}
.billing-preview-totals p {margin:0 0 16px}
.billing-preview-totals p:last-child {margin-bottom:0}
.billing-preview-totals strong {color:var(--client-text-ffffff, #fff);margin-left:8px}
.billing-recharge-action {display:flex;justify-content:flex-end;margin-top:16px}
.billing-recharge-action button {height:38px}
.low-balance-preview {display:flex;justify-content:space-between;align-items:center;gap:24px}
.payment-history-card header {display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--client-border-30323c, #30323c);padding-bottom:18px;margin-bottom:16px}
.payment-history-card h3 {margin:0;font-size:18px;font-weight:500;line-height:24px}
.payment-history-tools {display:flex;gap:10px}
.payment-history-tools button,.history-record {display:grid;place-items:center;border:0;background:none;padding:0;color:var(--client-text-9e9e9e, #9e9e9e);width:24px;height:24px;cursor:pointer}
.payment-history-tools svg,.history-record svg {width:22px;height:22px}
.payment-history-table th {text-transform:uppercase;font-size:10px;font-weight:400;background:var(--client-surface-24262e, #24262e);height:40px;padding:0 12px;border:0;position:relative}
.payment-history-table th+th::before {content:'';position:absolute;left:0;top:8px;bottom:8px;width:1px;background:var(--client-surface-3b3e48, #3b3e48)}
.payment-history-table td {font-size:11px;height:48px;border-bottom:1px solid var(--client-border-30323c, #30323c);padding:12px}
.payment-history-table th:first-child {border-radius:5px 0 0 5px}
.payment-history-table th:last-child {border-radius:0 5px 5px 0}
.payment-empty {text-align:center;color:var(--client-text-9e9e9e, #9e9e9e);height:64px!important}
.payment-record-details {font-size:11px}
.payment-record-details dt {color:var(--client-text-8e8f98, #8e8f98);margin-top:14px}
.payment-record-details dd {margin:4px 0 0;overflow-wrap:anywhere}
.account-option-row {display:flex;align-items:center;justify-content:space-between;gap:30px;padding:24px 0;border-bottom:1px solid var(--client-border-30323c, #30323c)}
.account-option-row strong {font-size:12px;font-weight:500}
.account-option-row input,.account-option-row select {max-width:280px;min-width:200px;height:42px;padding:10px;border:1px solid var(--client-border-3c3f49, #3c3f49);border-radius:5px;background:var(--client-surface-2c2d34, #2c2d34);color:var(--client-text-e4e4e6, #e4e4e6);font-size:11px}
.notification-settings-page .billing-card h3 {font-size:12px;font-weight:500;margin:0 0 10px}
.notification-settings-page .billing-card .account-option-row:last-child {border-bottom:0;padding-bottom:0}
@media(max-width:600px){.account-option-row{align-items:flex-start;flex-direction:column;gap:14px}.account-option-row input,.account-option-row select{width:100%;max-width:100%}.account-dropup{left:20px;max-width:calc(100vw - 40px)}.account-profile h2{margin-bottom:35px}.billing-tabs{gap:20px}.billing-card{padding:16px}.billing-amount-row{gap:16px}.billing-copy p{max-width:210px}.payment-history-card .table-scroll{overflow:auto}.payment-history-table{min-width:720px}}

/* Compact navigation spacing after the requested 2px typography reduction. */
.nav-list,.nav-group {gap:0;align-content:start}
.main-nav-list {padding-top:6px;padding-bottom:6px}
.nav-parent,.nav-item {min-height:32px}
.workspace-nav-list .nav-item {min-height:32px}
.nav-sub {min-height:28px}
.nav-group:has(.phone-nav) .nav-sub,.nav-group:has(.suppression-nav) .nav-sub {margin-bottom:0}
.account-menu-item {height:30px;gap:10px}
.account-submenu {padding:0 0 4px}
.account-submenu button {height:26px}
.account-dropup-header {gap:10px;padding:8px 15px 10px}
.account-theme {height:38px}

.table-header-loading td{padding:0!important;border:0!important;height:3px!important;line-height:0!important}.table-header-loading-track{position:relative;height:3px;overflow:hidden;background:transparent}.table-header-loading-track>span{position:absolute;top:0;bottom:0;background:#6f4fcc;animation:campaign-loading-line 1000ms linear infinite}@media(prefers-reduced-motion:reduce){.table-header-loading-track>span{animation:none;left:0;width:100%}}
.campaign-progress.incomplete{color:#ef6b73;background:rgba(155,35,48,.26)}

body.auth-required{background:radial-gradient(ellipse at 50% 76%,var(--client-surface-44336c, #44336c) 0,transparent 45%),var(--client-surface-0b090f, #0b090f);min-height:100vh}body.auth-required #app{min-height:100vh;display:grid;place-items:center;padding:40px 16px;box-sizing:border-box}body.auth-required .login-card{width:422px;max-width:100%;box-sizing:border-box;margin:0;padding:40px;border-radius:40px;background:linear-gradient(var(--client-surface-1d1b23, #1d1b23) 65%,var(--client-surface-2b263c, #2b263c));border:1px solid var(--client-border-3d3b48, #3d3b48);text-align:center;flex:none}body.auth-required .login-brand{position:fixed;top:48px;left:50px;font:500 38px/44px 'Fira Sans',sans-serif;color:var(--client-text-dddddd, #ddd)}.console-login .login-mark{font-size:48px;line-height:44px;color:var(--client-text-dddddd, #ddd);margin-bottom:20px}.console-login h1{font-size:24px;line-height:29px;margin:0 0 10px;font-weight:500}.console-login>p{font-size:14px;line-height:20px;margin:0 0 40px;color:var(--client-text-9e9dab, #9e9dab)}.console-login form{display:block;width:100%;margin:0}.console-login .login-input-wrap{display:block;position:relative;width:100%;height:44px;margin:0 0 22px}.console-login input{display:block;width:100%;height:44px;padding:12px 42px 12px 60px;min-width:0;font:400 13px/20px 'Fira Sans',sans-serif;background:var(--client-surface-312d43, #312d43);border:1px solid var(--client-border-403b53, #403b53);border-radius:5px}.console-login input:focus{outline:none;border-color:#8b63e5}.console-login input::placeholder{color:var(--client-text-777582, #777582);opacity:1}.login-input-icon{position:absolute;left:16px;top:12px;width:32px;height:20px;border-right:1px solid var(--client-border-413d50, #413d50);color:var(--client-text-aaa7b5, #aaa7b5);text-align:left}.console-login #toggleLoginPassword{position:absolute;right:8px;top:4px;width:30px;height:36px;padding:0;margin:0;border:0;background:transparent;color:var(--client-text-aaa7b5, #aaa7b5)}.console-login .login-reset{display:block;width:auto;margin:-10px 0 20px;padding:0;background:transparent;border:0;font-size:13px;line-height:20px;color:var(--client-text-eeeeee, #eee)}.console-login button[type=submit]{height:38px;min-height:38px;margin:0;background:linear-gradient(100deg,#6541c4,#8962e7);font-size:13px;line-height:20px;border:0}.console-login #loginError:empty{display:none}.console-login #loginError{font-size:13px;line-height:20px;text-align:left}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){body.auth-required .login-brand{top:24px;left:24px;font-size:24px}body.auth-required .login-card{padding:32px 24px;border-radius:28px}}
body.auth-required .console-login{width:420px;transform:translateY(50px)}@media(max-height:700px){body.auth-required .console-login{transform:none;margin-top:60px}}

.toast-group{position:fixed;right:20px;top:20px;width:350px;z-index:1800;pointer-events:none}.toast-wrapper{padding-bottom:10px;opacity:0;transition:opacity 300ms ease;pointer-events:auto}.toast-wrapper.is-visible{opacity:1}.toast-group .toast{position:static;box-sizing:border-box;width:100%;padding:10px 20px;border:0;border-radius:5px;margin:0;background:#68cd86;color:var(--client-text-ffffff, #fff);box-shadow:none;font:400 12px/18px 'Fira Sans',sans-serif;cursor:pointer}.toast-group .toast.error{background:#e54d42}.toast-group .toast.warn{background:#ffb648}.toast-group .toast.info{background:#44a4fc}.toast-message{font:500 14px/17px 'Fira Sans',sans-serif;overflow-wrap:anywhere}.toast-title{font:600 12px/18px 'Fira Sans',sans-serif}.toast:focus-visible{outline:2px solid var(--client-border-ffffff, #fff);outline-offset:2px}@media(max-width:767px){.toast-group{top:0;right:0;width:min(350px,100vw)}}@media(prefers-reduced-motion:reduce){.toast-wrapper{transition:none}}

.report-date-options{position:relative}.report-date-options>summary{list-style:none}.report-date-options form{position:absolute;right:0;top:100%;z-index:100;display:grid;gap:10px;padding:14px;background:var(--panel,var(--client-surface-22212c, #22212c));border:1px solid var(--client-border-494553, #494553);border-radius:6px;min-width:220px}.report-date-options label{display:grid;gap:4px}.report-date-options input{color:inherit;background:transparent;border:1px solid var(--client-border-777777, #777);border-radius:4px;padding:6px}
.report-section-options{position:absolute;right:0;top:100%;z-index:100;min-width:210px;padding:12px;background:var(--client-surface-22212c, #22212c);border:1px solid var(--client-border-494553, #494553);border-radius:6px}.report-section-options label{display:flex;gap:8px;padding:6px}

/* Reporting rings are calculated from real call categories; empty reports use a neutral ring. */
.report-donut { position: relative; width: 166px; height: 166px; margin: 8px auto 0; border-radius: 50%; background: var(--report-donut); }
.report-donut::before { content: ""; position: absolute; inset: 14px; background: var(--client-surface-212127, #212127); border-radius: 50%; }
.report-donut .total-number { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0; }
.report-tabs button:disabled { cursor: default; opacity: .55; }

.report-donut .total-number { align-self: stretch; justify-self: stretch; width: 100%; height: 100%; }
body[data-view="reporting"] .report-svg .axis-label, body[data-view="reporting"] .report-svg .x-label { font-size: 10px; }
body[data-view="reporting"] .perf-grid span { white-space: nowrap; }
body[data-view="reporting"] .report-tabs button[data-summary-by="date"]::after { content: ""; display: inline-block; margin-left: 5px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
/* Current live-reference typography, scoped to reporting. */
body[data-view="reporting"] .svg-chart-legend text, body[data-view="reporting"] .chart-legend.compact { font-size:12px; }
body[data-view="reporting"] table th {font-size:13px;line-height:16px;}
body[data-view="reporting"] table td {font-size:12px;line-height:16px;}
body[data-view="reporting"] .report-tabs button {font-size:12px;}
body[data-view="reporting"] .perf-grid span, body[data-view="reporting"] .report-donut .total-number span {font-size:12px;}
body[data-view="reporting"] .report-donut .total-number strong {font-size:22px;}

.report-summary-menu>summary {display:flex;align-items:center;gap:4px;list-style:none;cursor:pointer;min-height:46px;font:500 12px/16px 'Fira Sans',sans-serif;letter-spacing:.325px;color:var(--client-text-dadada, #dadada);border-bottom:2px solid transparent;}
.report-summary-menu>summary::-webkit-details-marker{display:none}.report-summary-menu>summary.active{color:#8b63e6;border-color:#6f4fcc}.report-summary-menu>summary>svg{width:10px;height:7px}
.report-summary-options {position:fixed;z-index:90;min-width:180px;padding:6px;background:var(--client-surface-2b283b, #2b283b);border:1px solid var(--client-border-44404f, #44404f);border-radius:5px;box-shadow:0 12px 28px #0005;}
.report-summary-options button {display:block;width:100%;padding:8px 12px;min-height:32px;text-align:left;border:0;font-size:12px;color:var(--client-text-dadada, #dadada);background:transparent;cursor:pointer;}
.report-summary-options button:hover {background:var(--client-surface-3b315c, #3b315c)}.report-summary-options button:disabled {opacity:.5;cursor:default;}

.report-summary-menu[open] .report-summary-options {animation:campaign-show-in 150ms ease-out;}
@media(prefers-reduced-motion:reduce){.report-summary-menu[open] .report-summary-options{animation:none}}

.report-call-pagination {display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:14px;font-size:12px;color:var(--client-text-dadada, #dadada);}.report-call-pagination button{background:transparent;border:1px solid var(--client-border-3c3f49, #3c3f49);border-radius:4px;padding:6px 12px;color:inherit;cursor:pointer}.report-call-pagination button:disabled{opacity:.4;cursor:default}.report-call-details{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;font-size:12px;}.report-call-details dt{color:var(--client-text-9ba0ad, #9ba0ad)}.report-call-details dd{margin:0;overflow-wrap:anywhere}.badge.in-progress{color:#b597fa;background:var(--client-surface-3a2b55, #3a2b55)}.badge.ringing{color:#f3d678;background:var(--client-surface-433d28, #433d28)}

/* Shared administrator permission forms retain readable controls on narrow screens. */
.admin-permission-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;border:1px solid var(--client-border-34343e, #34343e);border-radius:8px;}
.admin-permission-grid label {display:flex;align-items:flex-start;gap:8px;line-height:1.5;}
.admin-permission-grid input {width:auto;flex-shrink:0;margin-top:3px;}
.admin-roles-page td {vertical-align:top;}
.admin-roles-page summary {cursor:pointer;}
.admin-roles-page ul {padding-left:18px;margin:8px 0;line-height:1.6;}
@media(max-width:600px){.admin-permission-grid {grid-template-columns:1fr;}}

.nav-item[data-view="adminRoles"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 3 3 7v5c0 5 9 9 9 9s9-4 9-9V7z'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E"); }

.main-nav-list [hidden], .workspace-nav-list [hidden], .admin-panel [hidden] {display:none !important;}
.campaign-dialog:has(.admin-permission-grid) {width:min(760px,calc(100vw - 32px));}
.campaign-dialog:has(.admin-permission-grid) > .campaign-dialog-content > label,
.campaign-dialog:has([name=adminRoleId]) > .campaign-dialog-content > label {display:block;margin-bottom:14px;line-height:1.6;}
.campaign-dialog:has(.admin-permission-grid) input:not([type=checkbox]),
.campaign-dialog:has([name=adminRoleId]) input,
.campaign-dialog:has([name=adminRoleId]) select {display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:10px;border:1px solid var(--client-border-3c3f49, #3c3f49);border-radius:5px;background:var(--client-surface-2f3038, #2f3038);color:var(--client-text-dadada, #dadada);font:inherit;}

.admin-rate-fields label {display:block;line-height:1.6;margin-bottom:12px;}
.admin-rate-fields input,.admin-rate-fields select {display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:10px;background:var(--client-surface-2f3038, #2f3038);color:var(--client-text-dadada, #dadada);border:1px solid var(--client-border-3c3f49, #3c3f49);border-radius:5px;font:inherit;}
.admin-rate-fields [hidden] {display:none !important;}
.nav-item[data-view="rateCards"] { --nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E");}
.nav-item[data-view="serverInformation"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='3' width='18' height='8' rx='2'/%3E%3Crect x='3' y='13' width='18' height='8' rx='2'/%3E%3Cpath d='M7 7h1m-1 10h1M12 7h5m-5 10h5'/%3E%3C/svg%3E"); }
.nav-item[data-view="activity"] { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M8 3h8v4H8zM6 5H4v16h16V5h-2M8 11h8m-8 4h8m-8 3h5'/%3E%3C/svg%3E"); }

/* Workspace management is client-only; keep its navigation out of administrator layout. */
body[data-portal="admin"] .workspace-nav-list { display: none; }

/* Shared Reporting controls reserve space for the administrator client selector. */
.admin-report-client-filter{display:flex;align-items:center;gap:8px;min-width:0;font-size:13px}
.admin-report-client-filter select{max-width:190px;min-width:120px;height:34px}
.client-report-toolbar .filter-actions{flex-wrap:wrap;align-items:center;row-gap:8px}
.client-report-toolbar:has(.admin-report-client-filter){flex-direction:column;align-items:stretch;gap:14px}
.client-report-toolbar:has(.admin-report-client-filter) .filter-actions{width:100%;justify-content:flex-start}
.client-report-toolbar:has(.admin-report-client-filter) .client-report-timezone{flex:1;min-width:160px;width:auto}
@media(max-width:700px){.client-report-toolbar:has(.admin-report-client-filter) .client-report-timezone{flex-basis:calc(100% - 190px)}.admin-report-client-filter{flex:1}.admin-report-client-filter select{max-width:100%}}
.client-report-toolbar:has(.admin-report-client-filter){display:flex;min-width:0}
.client-report-toolbar:has(.admin-report-client-filter) .filter-actions{display:flex;gap:14px}
.client-report-toolbar:has(.admin-report-client-filter) .client-report-timezone{margin-left:0}
@media(max-width:700px){
 .client-report-toolbar:has(.admin-report-client-filter) .filter-actions{gap:12px}
 .client-report-toolbar:has(.admin-report-client-filter) .admin-report-client-filter{flex:1 1 100%}
 .client-report-toolbar:has(.admin-report-client-filter) .client-report-timezone{flex:1 1 220px}
 .client-report-toolbar:has(.admin-report-client-filter) .client-report-date{flex:1 1 100%;width:100%;min-width:0}
}
.client-report-toolbar:has(.admin-report-client-filter) .filter-actions{flex-direction:row;align-items:center;height:auto}
.client-report-toolbar:has(.admin-report-client-filter) h1{align-self:flex-start;margin:0}

.destination-hours-days { display:flex; flex-wrap:wrap; gap:12px 20px; }
.destination-hours-days label { display:flex; align-items:center; gap:6px; }
.destination-hours-slot { display:flex; align-items:end; flex-wrap:wrap; gap:12px; margin:12px 0; }
.destination-hours-slot label { flex:1 1 140px; max-width:240px; }
.destination-hours-slot input { width:100%; }
.client-destination-accordion [data-hours-controls] { display:grid; gap:16px; }
.destination-business-hours .destination-hours-toggle { display:flex; align-items:center; gap:8px; margin:12px 0; }
.destination-business-hours input[type="checkbox"] { width:16px; height:16px; flex:0 0 16px; margin:0; }
.destination-business-hours .destination-hours-timezone { display:grid; gap:8px; min-width:0; }
.destination-business-hours select[name="hoursTimezone"] { width:100%; max-width:360px; min-width:0; }
.destination-business-hours fieldset { min-width:0; padding:12px; }
.destination-business-hours .destination-hours-slot label { display:grid; gap:8px; }
.global-search-result { display:flex; align-items:center; gap:20px; width:100%; padding:16px; border:0; background:transparent; color:inherit; text-align:left; cursor:pointer; }
.global-search-result:hover,.global-search-result:focus { background:var(--client-surface-303138,#303138); outline:2px solid var(--purple); outline-offset:-2px; }
.global-search-type { width:88px; flex:0 0 88px; padding:4px 8px; border-radius:4px; background:#c17752; color:white; font-size:11px; text-align:center; }
.global-search-label { flex:1; min-width:0; overflow-wrap:anywhere; }
.global-search-label small { display:block; color:var(--muted); margin-top:4px; }
.global-search-open { color:var(--muted); font-size:11px; white-space:nowrap; }
#globalSearchResults { max-height:min(60vh,500px); overflow:auto; }
.client-report-popup.is-leaving { pointer-events:none; }
.admin-report-client-filter select { height:46px; min-width:180px; width:190px; padding:0 14px; border-radius:4px; border:1px solid var(--client-border-3c414e,#3c414e); background:var(--client-surface-1d1e24,#1d1e24); color:inherit; font:inherit; }
@media(max-width:500px){.global-search-result{gap:12px}.global-search-type{width:70px;flex-basis:70px}.admin-report-client-filter select{min-width:0;width:100%}}

.admin-clients-page .table-scroll{overflow:auto;max-height:65vh}.admin-clients-page table{min-width:1250px}.admin-clients-page th{position:sticky;top:0;background:var(--panel);z-index:1}.admin-clients-page td{height:56px;max-width:220px;white-space:nowrap}.admin-clients-page .admin-cell-text{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis}.admin-clients-page .admin-icon-actions{display:flex;align-items:center;gap:6px}.admin-clients-page .admin-icon-actions button{width:32px;height:32px;padding:0}.admin-clients-page input[type=checkbox]{width:16px;height:16px}.admin-clients-page .admin-client-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.activity-tabs{display:flex;gap:4px;align-items:center;justify-content:flex-start;flex-wrap:wrap;border-bottom:1px solid var(--line);margin:16px 0}.activity-tabs [role=tab]{border:0;background:transparent;color:var(--muted);border-bottom:3px solid transparent;padding:12px 16px}.activity-tabs [aria-selected=true]{color:var(--primary);border-bottom-color:var(--primary);background:var(--primary-soft)}.admin-panel .admin-client-form{align-items:end;gap:12px}.admin-panel input[type=date],.admin-panel input[type=datetime-local]{border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);padding:9px 12px;min-height:40px}
.did-inventory-page .inventory-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.did-inventory-page .inventory-bulk-actions{display:flex;gap:6px;margin-left:auto}.did-inventory-page .table-scroll{overflow:auto;max-height:65vh}.did-inventory-page table{min-width:1550px}.did-inventory-page th{position:sticky;top:0;background:var(--panel);z-index:1}.did-inventory-page td{height:56px;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-icon-actions button{min-width:30px;min-height:30px}.rental-warning{display:block;color:var(--amber);font-size:12px}.inventory-bulk-actions button{width:34px;height:34px;padding:0}
.sip-trunks-page .table-scroll{overflow:auto;max-height:65vh}.sip-trunks-page table{min-width:1150px}.sip-trunks-page th{position:sticky;top:0;background:var(--panel);z-index:1}.sip-trunks-page td{height:56px;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-date-range{display:grid;gap:6px;align-content:end;font-size:12px}.admin-date-range-toggle{height:40px;min-width:240px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);padding:8px 12px;text-align:left}.admin-date-popover{position:fixed;z-index:10000;width:min(320px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;box-sizing:border-box;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 48px #0003;padding:16px;display:grid;gap:12px;animation:admin-date-appear .12s ease-out}.admin-date-popover label{display:grid;gap:5px;font-size:12px}.admin-date-popover input{width:100%;min-height:38px;padding:8px;border:1px solid var(--line);border-radius:6px;background:var(--canvas);color:var(--ink);box-sizing:border-box}.admin-date-presets{display:flex;gap:6px;flex-wrap:wrap}.admin-date-presets button{font-size:12px;padding:6px 8px}.admin-date-popover footer{display:flex;justify-content:flex-end;gap:8px}@keyframes admin-date-appear{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.admin-date-popover{animation:none}}.admin-client-form label[hidden]{display:none!important}
.admin-table-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:12px 0;flex-wrap:wrap}.admin-table-pagination span{margin-right:auto}.admin-table-pagination label{display:flex;gap:8px;align-items:center}.admin-baseline-table td{height:56px}.admin-clamp-cell{max-width:280px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.admin-baseline-table th{position:sticky;top:0;background:var(--panel)}.admin-roles-page .table-scroll{max-height:60vh;overflow:auto}.funding-ledger-table{min-width:1050px}.funding-ledger-table td{height:56px;max-width:280px}.funding-notes{display:block;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.funding-client-summary .wallet-metrics{max-height:220px;overflow:auto}.funding-ledger-table th{position:sticky;top:0;background:var(--panel)}

/* Administration corrections stay out of the client portal. */
body[data-portal="admin"] .nav-sub::before{content:none!important;border:0;background:none}
body[data-portal="admin"] .nav-sub{border-radius:5px;padding:8px 12px;margin:0 16px 0 28px;width:calc(100% - 44px);transition:color .15s cubic-bezier(.4,0,.2,1),background-color .15s cubic-bezier(.4,0,.2,1)}
body[data-portal="admin"] .nav-sub:hover,body[data-portal="admin"] .nav-sub:focus-visible,body[data-portal="admin"] .nav-sub.active{background:#2d2e34;color:#fff}
.admin-dialog-backdrop .campaign-dialog{width:min(780px,calc(100vw - 32px));max-height:calc(100dvh - 32px);display:flex;flex-direction:column}
.admin-dialog-backdrop .campaign-dialog-content{overflow:auto;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
.admin-dialog-backdrop .campaign-dialog-content>p,.admin-dialog-backdrop .campaign-dialog-content>div,.admin-dialog-backdrop .campaign-dialog-content>fieldset{grid-column:1/-1;min-width:0}
.admin-dialog-backdrop .admin-rate-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
.admin-dialog-backdrop .campaign-dialog-content label{min-width:0;margin:0;font-size:13px;line-height:1.5}
.admin-dialog-backdrop input:not([type=checkbox]):not([type=radio]),.admin-dialog-backdrop select,.admin-dialog-backdrop textarea{width:100%;box-sizing:border-box;min-height:38px;border:1px solid var(--line);background:var(--panel);color:var(--ink);padding:8px 10px;border-radius:6px;font:inherit}
.admin-dialog-backdrop textarea{min-height:76px;resize:vertical}
.admin-dialog-backdrop input[type=checkbox],.admin-dialog-backdrop input[type=radio]{display:inline-block;width:15px!important;height:15px!important;min-height:15px;flex:0 0 15px;margin:0 6px 0 0;padding:0;vertical-align:middle;accent-color:var(--accent,#7851d4)}
.admin-dialog-backdrop label:has(>input[type=checkbox]),.admin-dialog-backdrop label:has(>input[type=radio]){display:flex;gap:6px;align-items:center}
.admin-dialog-backdrop footer{flex-shrink:0;position:sticky;bottom:0;background:var(--panel)}
body[data-portal="admin"] .admin-panel button:not(.campaign-confirm):not(.nav-item){color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:6px;min-height:32px;padding:6px 10px}
body[data-portal="admin"] .admin-panel button:hover:not(:disabled){border-color:var(--accent,#7851d4);filter:brightness(1.08)}
body[data-portal="admin"] button:focus-visible,.admin-date-popover button:focus-visible{outline:2px solid #a290e7;outline-offset:2px}
body[data-portal="admin"] button:disabled{opacity:.45;cursor:not-allowed}
.admin-calendar-heading{display:flex;align-items:center;justify-content:space-between}.admin-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.admin-calendar-grid span{font-size:11px;text-align:center;color:var(--muted)}.admin-calendar-grid button{padding:6px 0;min-height:32px;background:transparent;color:var(--ink);border:0;border-radius:5px}.admin-calendar-grid button.outside{opacity:.4}.admin-calendar-grid button.selected{background:#7851d4;color:#fff}.admin-calendar-grid button.in-range{background:#7851d433}.admin-calendar-grid button:hover{box-shadow:inset 0 0 0 1px #a290e7}.admin-calendar-heading button,.admin-date-presets button{background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:5px;padding:5px 10px}.admin-range-selection{font-size:12px;margin:0}.funding-actor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:10px}.funding-actor-grid>div{display:grid;gap:4px;padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere}.funding-actor-grid span{font-size:12px}
body[data-portal="admin"] .report-chart{position:relative}.admin-chart-tooltip{position:absolute;z-index:10;pointer-events:none;border:1px solid #3c3f49;border-radius:4px;padding:10px;background:#1a1b1d;color:#fff;font-size:12px;line-height:20px;box-shadow:0 3px 10px #0003;animation:admin-date-appear .15s ease-out}.admin-chart-tooltip strong{display:block;font-size:12px}.admin-chart-tooltip[hidden]{display:none}
body[data-portal="admin"] .did-inventory-page tr[data-deactivated="true"] td{color:#ed6a73}
@media(max-width:600px){.admin-dialog-backdrop .campaign-dialog-content,.admin-dialog-backdrop .admin-rate-fields{grid-template-columns:minmax(0,1fr)}.admin-dialog-backdrop .campaign-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}}
body[data-portal="admin"] #fundingFilters{display:grid;grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) minmax(240px,1.5fr) auto auto auto;grid-template-areas:"client actor dates apply clear export" "type query query . . .";gap:12px;align-items:end}
#fundingFilters label:has(>[name=client]){grid-area:client}#fundingFilters label:has(>[name=actor]){grid-area:actor}#fundingFilters label:has(>[name=kind]){grid-area:type}#fundingFilters label:has(>[name=q]){grid-area:query}#fundingFilters .admin-date-range{grid-area:dates}#fundingFilters [type=submit]{grid-area:apply}#fundingClear{grid-area:clear}#fundingExport{grid-area:export}#fundingFilters select,#fundingFilters input,#fundingFilters .admin-date-range-toggle,#fundingFilters>button{height:36px;min-height:36px;box-sizing:border-box}#fundingFilters .admin-date-range>span{font-size:11px;line-height:16px}
@media(max-width:1100px){body[data-portal="admin"] #fundingFilters{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"client actor" "dates dates" "type query" "apply clear" "export export"}}@media(max-width:500px){body[data-portal="admin"] #fundingFilters{grid-template-columns:minmax(0,1fr);grid-template-areas:"client" "actor" "dates" "type" "query" "apply" "clear" "export"}#fundingFilters .admin-date-range-toggle{min-width:0;width:100%}}
body[data-portal="admin"] .nav-group .nav-sub{display:block;max-height:0;min-height:0;padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;transition:max-height .15s cubic-bezier(.4,0,.2,1),padding .15s cubic-bezier(.4,0,.2,1),opacity .15s cubic-bezier(.4,0,.2,1),background-color .15s cubic-bezier(.4,0,.2,1),color .15s cubic-bezier(.4,0,.2,1)}
body[data-portal="admin"] .nav-group.expanded .nav-sub{max-height:42px;min-height:32px;padding-top:8px;padding-bottom:8px;opacity:1;visibility:visible;pointer-events:auto}
body[data-portal="admin"] .nav-group:not(.expanded) #administrationItems{gap:0}
@media(prefers-reduced-motion:reduce){body[data-portal="admin"] .nav-sub{transition:none}.admin-chart-tooltip{animation:none}}

/* Client sidebar reference states; main active-route indicator is preserved. */
body[data-portal="client"] .nav-sub::before{content:none!important;border:0;background:none}
body[data-portal="client"] .nav-sub{border-radius:5px;padding:8px 12px;margin:0 16px 0 28px;width:calc(100% - 44px);transition:color .15s cubic-bezier(.4,0,.2,1),background-color .15s cubic-bezier(.4,0,.2,1)}
body[data-portal="client"] .nav-sub:hover,body[data-portal="client"] .nav-sub:focus-visible,body[data-portal="client"] .nav-sub.active{background:#2d2e34;color:#fff}
body[data-portal="client"] .nav-group .nav-sub{display:block;max-height:0;min-height:0;padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;transition:max-height .15s cubic-bezier(.4,0,.2,1),padding .15s cubic-bezier(.4,0,.2,1),opacity .15s cubic-bezier(.4,0,.2,1),background-color .15s cubic-bezier(.4,0,.2,1),color .15s cubic-bezier(.4,0,.2,1)}
body[data-portal="client"] .nav-group.expanded .nav-sub{max-height:42px;min-height:32px;padding-top:8px;padding-bottom:8px;opacity:1;visibility:visible;pointer-events:auto}
body[data-view="reporting"] .report-chart{position:relative}
.report-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.report-section-heading .section-caption{margin:0}
.report-table-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:40px;padding:4px 0;position:relative}
.report-table-tools>button,.report-table-tools>a{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;border-radius:5px;padding:3px;background:transparent;color:#9d9d9d;cursor:pointer;transition:color .15s,background-color .15s;text-decoration:none}
.report-table-tools>button:hover,.report-table-tools>a:hover,.report-table-tools>button[aria-expanded="true"]{color:#fff;background:#2d2e34}.report-table-tools>button:focus-visible,.report-table-tools>a:focus-visible{outline:2px solid #a290e7;outline-offset:2px}.report-table-tools svg{width:24px;height:24px}
.report-table-tools form{margin:0}.report-table-tools input{width:220px;height:32px;border:1px solid #3c3f49;border-radius:5px;background:var(--panel,#1f2025);color:var(--ink,#fff);padding:6px 10px;font-size:12px}
.report-columns-popover{position:fixed;z-index:1500;width:min(260px,calc(100vw - 16px));max-height:340px;overflow:auto;border:1px solid #3c3f49;border-radius:5px;background:var(--panel,#1f2025);color:var(--ink,#fff);padding:12px;box-shadow:0 8px 24px #0004;font:12px/18px 'Fira Sans',sans-serif;animation:admin-date-appear .15s ease-out}
.report-columns-popover strong{display:block;margin-bottom:8px}.report-columns-popover label{display:flex;align-items:center;gap:8px;padding:5px 4px;cursor:pointer}.report-columns-popover label:hover{background:#2d2e34;border-radius:3px}.report-columns-popover input{width:14px;height:14px;margin:0;accent-color:#6f4fcc}.report-columns-popover button{display:block;width:100%;margin-top:8px;padding:6px;border:1px solid #3c3f49;border-radius:4px;color:inherit;background:transparent}.report-column-hidden{display:none!important}
@media(max-width:640px){.report-table-tools{gap:4px;flex-wrap:wrap}.report-table-tools input{width:min(180px,40vw)}.report-section-heading{align-items:flex-start}.report-section-heading .section-caption{font-size:18px}}
@media(prefers-reduced-motion:reduce){body[data-portal="client"] .nav-sub,.report-table-tools>button,.report-table-tools>a{transition:none}.report-columns-popover{animation:none}}
.report-table-tools [data-report-download]{width:38px;height:38px;border:1px solid #3c3f49;border-radius:5px;padding:7px}.report-table-tools [data-report-download]:hover{border-color:#6f4fcc;color:#a290e7}
.report-export-popover{color:var(--client-text-ffffff,#fff);display:grid;width:min(280px,calc(100vw - 16px));max-height:calc(100vh - 16px);gap:4px;padding:5px;border-color:var(--client-border-3c3f49,#3c3f49);font:500 13px/16px 'Fira Sans',sans-serif}.report-export-popover a{display:block;height:36px;padding:10px;color:inherit;text-decoration:none;font:inherit;border-radius:5px}.report-export-popover a:hover,.report-export-popover a:focus-visible{background:#2d2e34;color:#fff;outline:0}
body[data-view="reporting"] .report-chart-card{position:relative}
body[data-view="reporting"] .admin-chart-tooltip{font-weight:500;min-width:180px;line-height:20px}
body[data-portal="client"] .nav-item:not(.active):hover::before{background:transparent}
body[data-view="reporting"] .report-donut[data-empty="true"]{background:transparent!important}
.report-summary-toolbar{display:flex;align-items:center;gap:12px;min-width:0}.report-summary-toolbar .report-tabs{flex:1;min-width:0}.report-summary-toolbar>.report-table-tools{flex-shrink:0}
.report-columns-popover label:has(input:disabled){opacity:.55;cursor:default}.report-columns-popover small{font-size:10px;margin-left:auto}
body[data-view="reporting"] .report-svg .axis-label,body[data-view="reporting"] .report-svg .x-label{font-size:10px;line-height:15px}
body[data-view="reporting"] .svg-chart-legend text,body[data-view="reporting"] .report-svg .chart-count{font-family:'Fira Sans',sans-serif;font-size:12px;fill:var(--client-text-dadada,#dadada)}
body[data-view="reporting"]:not([data-client-theme="light"]) .report-chart-card{background:#1d1e24}
body[data-view="reporting"] .report-call-inspect{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:3px;border:0;border-radius:4px;color:#9d9d9d;background:transparent;cursor:pointer}body[data-view="reporting"] .report-call-inspect svg{width:22px;height:22px}body[data-view="reporting"] .report-call-inspect:hover{background:#2d2e34;color:#fff}body[data-view="reporting"] .report-call-inspect:focus-visible{outline:2px solid #a290e7;outline-offset:2px}

/* Keep collapsed client navigation out of layout, regardless of portal row sizing. */
body[data-portal="client"] .nav-group:not(.expanded) .nav-sub,
body[data-portal="client"] .main-nav-list [hidden]{display:none!important}
body[data-portal="client"] .nav-parent::after{transition:transform .15s cubic-bezier(.4,0,.2,1)}
body[data-portal="client"] .nav-group.expanded .nav-parent::after{transform:translateY(-35%) rotate(225deg)}
@media(prefers-reduced-motion:reduce){body[data-portal="client"] .nav-parent::after{transition:none}}

/* Main client menu hover states measured in the authorized reference. */
body[data-portal="client"] .main-nav-list :is(.nav-item:not(.nav-sub),.nav-parent){transition:background-color .15s cubic-bezier(.4,0,.2,1),color .15s cubic-bezier(.4,0,.2,1)}
body[data-portal="client"][data-client-theme="dark"] .main-nav-list :is(.nav-item:not(.nav-sub),.nav-parent):is(:hover,:focus-visible){background:#2d2e34}
@media(prefers-reduced-motion:reduce){body[data-portal="client"] .main-nav-list :is(.nav-item:not(.nav-sub),.nav-parent){transition:none}}

/* Client light submenu states measured in the authorized reference. */
body[data-portal="client"][data-client-theme="light"] .main-nav-list .nav-sub:not(.active):is(:hover,:focus-visible){background:#e5e2ea;color:#353940}
body[data-portal="client"][data-client-theme="light"] .main-nav-list .nav-sub.active{background:transparent;color:#6f4fcc}
body[data-portal="client"][data-client-theme="dark"] .main-nav-list .nav-sub.active{background:transparent;color:#a290e7}
@media(prefers-reduced-motion:reduce){body[data-portal="client"] .main-nav-list .nav-group .nav-sub{transition:none}}

/* Shared Reporting column choosers: measured reference geometry, scoped only. */
.report-table-columns{width:min(185px,calc(100vw - 16px));max-height:min(302px,calc(100vh - 16px));padding:0;display:flex;flex-direction:column;overflow:hidden;font:13px/16px 'Fira Sans',sans-serif}
body:not([data-client-theme="light"]) .report-table-columns{background:#1c1e23}
.report-table-columns .report-column-list{min-height:0;max-height:264px;overflow-y:auto;padding:4px 4px 4px 12px;scrollbar-width:thin}
.report-table-columns label{height:32px;min-height:32px;margin:0;padding:8px 0;gap:12px;font:inherit;white-space:nowrap;flex-shrink:0}
.report-table-columns input{width:16px;height:16px;min-height:16px;margin:0;padding:0;flex:0 0 16px;accent-color:#6f4fcc}
.report-table-columns input:focus-visible{outline:2px solid #a290e7;outline-offset:2px}
.report-table-columns [data-report-columns-reset]{display:flex;align-items:center;justify-content:center;gap:8px;flex:0 0 36px;height:36px;min-height:36px;margin:0;padding:0;border:0;border-top:1px solid #3c3f49;border-radius:0;color:#6f4fcc;font:inherit;cursor:pointer}
.report-table-columns [data-report-columns-reset]:hover{background:var(--soft,#2d2e34)}
.report-table-columns [data-report-columns-reset]:focus-visible{outline:2px solid #a290e7;outline-offset:-3px}
.report-table-columns [data-report-columns-reset] svg{width:14px;height:14px}
.report-table-columns{border-color:var(--client-border-3c3f49,#3c3f49)}
.report-table-columns label:hover,.report-table-columns [data-report-columns-reset]:hover{background:var(--panel-soft,#2d2e34)}
.report-table-columns [data-report-columns-reset]{border-top-color:var(--client-border-3c3f49,#3c3f49)}

.report-table-columns .report-column-unavailable{padding-top:2px;padding-bottom:2px}
.report-table-columns .report-column-name{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;color:inherit;font:inherit;letter-spacing:normal;text-transform:none}
.report-table-columns .report-column-name small{display:block;margin:0;font-size:10px;line-height:12px}

/* Reporting Call Log search: compact reference strip with protected server search. */
.report-log-search-group{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:4px;width:32px;height:32px;border-radius:5px}
.report-log-search-group.is-open{width:180px;background:var(--canvas,#1b1b20)}
.report-log-search-group button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;min-height:24px;height:24px;margin:0;padding:0;border:0;border-radius:3px;background:transparent;color:#9e9e9e;cursor:pointer}
.report-log-search-group [data-report-search][aria-expanded="true"],.report-log-search-group [data-report-search][data-query-active="true"]{color:#6f4fcc}
.report-log-search-group button:focus-visible{outline:2px solid #a290e7;outline-offset:2px}
.report-log-search-group form{display:flex;align-items:center;gap:8px;width:140px;min-width:0}
.report-log-search-group form[hidden]{display:none}
.report-table-tools .report-log-search-group input{flex:0 1 116px;width:116px;min-width:0;min-height:16px;height:16px;margin:0;padding:0;border:0;border-radius:0;outline:0;background:transparent;color:var(--client-text-9e9e9e,#9e9e9e);font:13px/16px 'Fira Sans',sans-serif}
.report-log-search-group [data-report-search-clear]{flex-basis:16px;width:16px;min-height:16px;height:16px}
.report-log-search-group [data-report-search-clear] svg{width:16px;height:16px}

body:not([data-client-theme="light"]) .report-export-popover{background:#1c1e23}
