@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #f4f4fd;
  --paper: #fff;
  --ink: #101326;
  --muted: #777b96;
  --line: #dedff0;
  --green: #5542ce;
  --light: #eeebff;
  --lime: #c4b6ff;
  --sidebar: #11172c;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  color: var(--ink);
}
body {
  background: var(--bg);
}
svg.icon {
  width: 21px;
  height: 21px;
  fill: currentColor;
  stroke: none;
  stroke-width: 0;
  vertical-align: middle;
}
.sr-only,
.breadcrumbs {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.shell {
  background: #11172c;
  grid-template-columns: 252px minmax(0, 1fr);
}
.sidebar {
  width: 252px;
  background: #11172c;
  color: #d8d9e7;
  padding: 24px 15px 18px;
}
.brand {
  padding: 0 5px 25px;
  gap: 10px;
  letter-spacing: -0.7px;
  min-height: 58px;
  color: #fff;
  font-size: 21px;
  align-items: center;
}
.brand .maple-mark {
  width: 35px;
  height: 38px;
  flex-shrink: 0;
}
.brand strong {
  font-size: 20px;
  line-height: 1.2;
  white-space: nowrap;
  font-weight: 650;
}
.brand small {
  font-size: 10px;
  display: block;
  font-weight: 400;
  letter-spacing: 0.1px;
  margin-top: 5px;
}
.brand .provided-logo {
  width: 210px;
  height: 65px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}
.workspace-picker {
  margin: 0 0 18px;
  padding: 9px 10px;
  border: 1px solid #3a4057;
  background: #161c32;
  border-radius: 8px;
  gap: 9px;
  min-height: 43px;
}
.workspace-letter {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: #5943b8;
  color: #fff;
  flex-shrink: 0;
}
.workspace-letter .icon {
  width: 19px;
  height: 19px;
}
.workspace-picker select {
  font-size: 11px;
  color: #fff;
  width: 154px;
  min-height: 22px;
  padding: 0;
  appearance: none;
  background: none;
  border: 0;
  letter-spacing: -0.15px;
  outline-offset: 6px;
}
.workspace-picker select option {
  background: #182035;
}
.workspace-picker > .icon {
  width: 12px;
  color: #c9cbde;
}
.nav {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  gap: 3px;
}
.nav button {
  font-size: 13px;
  padding: 9px 12px;
  min-height: 39px;
  gap: 12px;
  border-radius: 6px;
  color: #d3d5e7;
  font-weight: 450;
  letter-spacing: -0.15px;
}
.nav button > .icon {
  width: 20px;
  height: 20px;
  color: #d0d2e8;
}
.nav button > .icon:last-child:not(:first-child) {
  margin-left: auto;
  width: 12px;
}
.nav button.active {
  background: #403e79;
  color: #fff;
  box-shadow: 0 1px 0 #ffffff07 inset;
}
.nav button.active > .icon {
  color: #fff;
}
.nav button:hover {
  background: #282c4d;
  color: #fff;
}
.nav-divider {
  height: 1px;
  background: #292e44;
  margin: 10px 12px 6px;
}
.sidebar-bottom {
  padding-top: 24px;
}
.plan-card {
  border: 1px solid #343b57;
  border-radius: 9px;
  background: #20273f;
  padding: 15px 14px;
}
.plan-card strong {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 7px;
}
.plan-card strong span {
  font-size: 8px;
  font-weight: 400;
  color: #aeb1d7;
  background: #333b5a;
  padding: 2px 4px;
  border-radius: 3px;
}
.plan-card p {
  font-size: 11px;
  color: #e0e1f1;
  margin-top: 9px;
}
.plan-card progress {
  height: 5px;
  margin: 9px 0 15px;
  background: #3b425d;
}
.plan-card progress::-webkit-progress-bar {
  background: #3b425d;
}
.plan-card progress::-webkit-progress-value {
  background: #24c65b;
}
.plan-card progress::-moz-progress-bar {
  background: #24c65b;
}
.plan-card button {
  background: none;
  color: #b6a5ff;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.plan-card button .icon {
  width: 14px;
}
.sidebar-footnote {
  color: #989db6;
  font-size: 8px;
  line-height: 1.6;
  margin-top: 12px;
  text-align: center;
}
.sidebar-footnote span {
  width: 4px;
  height: 4px;
  background: #a293e4;
  border-radius: 50%;
  display: inline-block;
  margin: 0 4px 1px 0;
}
.content {
  background: #f5f5fd;
}
.topbar {
  height: 69px;
  padding: 0 29px;
  border-bottom: 1px solid #dedff0;
  background: #f8f8ff;
}
.topbar-context {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #8a8da7;
}
.sample-toggle {
  border: 1px solid #e2def5;
  background: #f1eefa;
  color: #7563b3;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 9px;
}
.top-actions {
  gap: 22px;
}
.global-search {
  position: relative;
  width: 232px;
  height: 35px;
  display: flex;
  align-items: center;
  color: #373958;
}
.global-search > .icon {
  position: absolute;
  left: 11px;
  width: 17px;
  height: 17px;
  pointer-events: none;
}
.global-search input {
  border: 1px solid #cfd0e7;
  background: #fbfbff;
  border-radius: 7px;
  min-height: 34px;
  height: 34px;
  padding: 8px 10px 8px 36px;
  font-size: 11px;
  color: #363a62;
}
.global-search input::placeholder {
  color: #494d70;
}
.global-search-results {
  position: absolute;
  top: 41px;
  width: 300px;
  right: 0;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 30px #17144224;
  padding: 6px;
  z-index: 8;
}
.global-search-results button {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 9px;
  text-align: left;
  background: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 11px;
  color: #39364e;
}
.global-search-results button:hover {
  background: #f1eefb;
}
.global-search-results button > .icon {
  width: 18px;
  color: #6955c7;
}
.global-search-results small {
  display: block;
  font-size: 9px;
  color: #8a88a2;
  margin-top: 3px;
}
.global-search-results p {
  font-size: 11px;
  padding: 12px;
  color: #77738f;
}
.notification-button {
  background: none;
  position: relative;
  color: #161b36;
  padding: 2px;
}
.notification-button .icon {
  width: 24px;
  height: 24px;
}
.notification-button > span {
  position: absolute;
  top: 1px;
  right: 1px;
  background: #f1445e;
  border: 1px solid #fff;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  color: #1b1c3a;
  padding: 0;
}
.user-profile > span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #6b55bb;
  color: #fff;
  font-size: 12px;
  box-shadow: 0 2px 5px #40319b24;
}
.user-profile > .icon {
  width: 13px;
}
.main {
  padding: 27px 27px 30px;
  max-width: 1560px;
}
.dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.dashboard-heading h1 {
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: -1px;
  font-weight: 700;
  color: #101225;
}
.dashboard-heading p {
  font-size: 13px;
  color: #42465e;
  margin-top: 6px;
}
.date-filter {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  font-size: 10px;
  background: #fcfcff;
  border: 1px solid #ddddef;
  border-radius: 6px;
  padding: 7px 9px;
  color: #5f607e;
}
.date-filter > .icon {
  width: 14px;
  height: 14px;
}
.date-filter > .icon:last-child {
  width: 10px;
}
.date-filter select {
  appearance: none;
  background: none;
  border: 0;
  font-size: 10px;
  min-height: 0;
  padding: 0;
  width: 85px;
  color: #5f607e;
}
.sample-disclosure {
  font-size: 10px;
  color: #9693aa;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 17px;
}
.sample-dot {
  display: inline-block;
  background: #9e8cd8;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.sample-disclosure button {
  background: none;
  padding: 0;
  color: #7460bc;
  font-size: 10px;
  margin-left: 4px;
  text-decoration: underline;
  text-decoration-color: #c7bddf;
  text-underline-offset: 2px;
}
.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 21px;
}
.metric {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: #fdfdff;
  border: 1px solid #dddff1;
  border-radius: 11px;
  padding: 17px 15px;
  min-height: 99px;
  box-shadow: 0 2px 3px #1c145908;
}
.metric-icon {
  width: 41px;
  height: 41px;
  background: #efebff;
  color: #5334d4;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 0;
}
.metric-icon > .icon {
  width: 25px;
  height: 25px;
}
.metric.missed-metric .metric-icon {
  background: #fff0f5;
  color: #fb3f66;
}
.metric-label {
  display: block;
  font-size: 12px;
  color: #363c59;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}
.metric-value {
  display: block;
  font-size: 26px;
  letter-spacing: -0.8px;
  font-weight: 650;
  color: #11172c;
  margin: 2px 0 5px;
  line-height: 1.2;
  white-space: nowrap;
}
.metric-value small {
  font-size: 20px;
  letter-spacing: -0.3px;
  color: #161a30;
  font-weight: 500;
}
.metric-foot {
  font-size: 10px;
  color: #4b506b;
  line-height: 1.4;
  white-space: nowrap;
}
.metric-foot b {
  color: #00ac47;
  font-weight: 500;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.43fr) minmax(0, 1fr);
  gap: 17px;
  align-items: stretch;
}
.panel {
  border: 1px solid #dcdff0;
  border-radius: 11px;
  background: #fcfcff;
  box-shadow: 0 2px 5px #2b1a6410;
  overflow: hidden;
}
.panel-header {
  padding: 13px 17px;
  border-bottom: 1px solid #e5e6f2;
  min-height: 48px;
  gap: 8px;
}
.panel-header h2 {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.35px;
  color: #14172b;
}
.text-link {
  background: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #5238c7;
  white-space: nowrap;
  text-decoration: none;
}
.text-link > .icon {
  width: 14px;
  height: 14px;
}
.recent-panel {
  min-width: 0;
}
.call-row {
  display: grid;
  grid-template-columns: 19px 32px minmax(0, 1fr) 105px 28px 15px;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  min-height: 56px;
  border-bottom: 1px solid #e6e7f3;
}
.call-row:last-child {
  border-bottom: 0;
}
.call-direction {
  color: #04aa4a;
}
.call-direction > .icon {
  width: 18px;
  height: 18px;
}
.call-row.is-missed .call-direction {
  color: #fa4264;
}
.avatar {
  width: 31px;
  height: 31px;
  background: #e6e6f1;
  color: #4f526e;
  font-size: 10px;
  letter-spacing: -0.2px;
}
.avatar.portrait {
  object-fit: cover;
  display: block;
}
.call-person {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  min-width: 0;
  color: #101426;
}
.call-person strong {
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  letter-spacing: -0.2px;
}
.call-person span {
  font-size: 11px;
  color: #555a77;
  white-space: nowrap;
}
.call-time {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #464e72;
  font-size: 10px;
  white-space: nowrap;
}
.call-time small {
  font-size: 11px;
  color: #313a5b;
}
.call-row.is-missed .call-time small {
  color: #e0375b;
}
.play-call {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #cdcde5;
  border-radius: 50%;
  background: #fcfcff;
  color: #5141b7;
  padding: 5px;
}
.play-call > .icon {
  width: 17px;
  height: 17px;
}
.play-call:hover {
  background: #eeebff;
}
.call-more {
  color: #414362;
  background: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 24px;
}
.call-more > .icon {
  width: 18px;
  height: 18px;
}
.status-actions {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  min-width: 0;
}
.status-panel .panel-header {
  padding-bottom: 11px;
  border-bottom: 0;
  min-height: 0;
}
.mini-info {
  color: #a19cb9;
  background: none;
  padding: 0;
  display: grid;
  place-items: center;
}
.mini-info > .icon {
  width: 14px;
}
.system-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 17px 15px;
}
.system-check {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #02a445;
  background: #e0f8e8;
  border-radius: 8px;
  flex-shrink: 0;
}
.system-check > .icon {
  width: 22px;
  height: 22px;
}
.system-message h3 {
  font-size: 12px;
  color: #008f37;
  font-weight: 650;
  margin-top: 1px;
}
.system-message p {
  font-size: 10px;
  color: #4c526f;
  line-height: 1.65;
  margin: 5px 0 6px;
  max-width: 270px;
}
.system-message .text-link {
  font-size: 9px;
}
.quick-panel .panel-header {
  padding-bottom: 10px;
  min-height: 0;
  border: 0;
}
.quick-actions {
  padding: 0 14px 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.quick-actions button {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  background: #fdfdff;
  border: 1px solid #d8d9ec;
  border-radius: 5px;
  padding: 7px 10px;
  min-height: 31px;
  color: #11182f;
  box-shadow: 0 2px 2px #24125707;
  font-size: 11px;
  font-weight: 550;
}
.quick-actions button:hover {
  background: #eeebfb;
  border-color: #bbb0e5;
}
.quick-actions button > .icon {
  width: 17px;
  height: 17px;
  color: #44388c;
}
.quick-actions button > .icon:last-child {
  width: 14px;
  margin-left: auto;
  color: #767794;
}
.number-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 55px;
  padding: 11px 16px;
  border-bottom: 1px solid #e7e8f3;
}
.number-row:last-child {
  border-bottom: 0;
}
.country-icon {
  width: 18px;
  height: 20px;
  display: grid;
  place-items: center;
}
.country-icon img {
  width: 16px;
  height: 16px;
}
.number-row > strong {
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  line-height: 20px;
}
.number-description {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: 3px;
  min-width: 0;
}
.number-description > span {
  background: #e9e5fc;
  color: #352b75;
  padding: 3px 5px;
  border-radius: 4px;
  font-size: 8px;
  white-space: nowrap;
  align-self: flex-start;
}
.number-description small {
  font-size: 8px;
  color: #545a78;
}
.number-row > .call-more {
  margin-left: auto;
}
.inline-sample {
  font-size: 8px !important;
  color: #8c7aaf !important;
  background: #f0ebf8;
  border-radius: 3px;
  padding: 3px 5px;
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 4px;
  vertical-align: middle;
}
.dashboard-user {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #e6e8f2;
  padding: 10px 14px;
  min-height: 49px;
}
.dashboard-user:last-child {
  border-bottom: 0;
}
.dashboard-user > .avatar {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.dashboard-user > strong {
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 135px;
}
.dashboard-user > small {
  font-size: 9px;
  color: #515774;
  white-space: nowrap;
}
.user-presence {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #414e66;
  white-space: nowrap;
  margin-left: auto;
}
.user-presence i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #08a640;
}
.user-presence.in-call i {
  background: #f54749;
}
.user-presence.offline i {
  background: #a6a7b6;
}
.button {
  background: #5843ce;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.1px;
  min-height: 35px;
}
.button:hover {
  background: #4431b3;
}
.button.secondary {
  border-color: #d7d6e9;
  color: #58516f;
  background: #fff;
}
.button.secondary:hover {
  background: #efecfb;
}
.button.ghost {
  background: transparent;
  color: #5c45bb;
}
.button > .icon {
  width: 15px;
  height: 15px;
}
.notice {
  background: #edebfb;
  border-color: #ded9f0;
  color: #77718f;
  font-size: 11px;
}
.notice strong {
  color: #5b5578;
}
.notice > .icon {
  color: #7b6db6;
  width: 17px;
}
.notice .button {
  color: #5d49b5;
}
.badge {
  font-size: 10px;
}
.feature-heading,
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
}
.feature-heading h1,
.page-heading h1 {
  font-size: 28px;
  font-weight: 650;
  color: #15142b;
}
.feature-heading p,
.page-heading p {
  font-size: 12px;
  color: #7a7893;
  margin-top: 8px;
}
.preview-chip {
  font-size: 9px;
  border: 1px solid #e2dced;
  background: #f1edf8;
  color: #8c78aa;
  padding: 5px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.eyebrow {
  color: #8a84a3;
  letter-spacing: 1.1px;
  font-size: 9px;
}
.toolbar {
  gap: 12px;
}
.search {
  max-width: 340px;
}
.search > .icon {
  position: absolute;
  top: 10px;
  left: 11px;
  width: 15px;
  color: #8e84a8;
}
.search input {
  padding-left: 34px;
  border-color: #ddd9eb;
  background: #fcfcff;
}
input,
select,
textarea {
  border-color: #dbd8e9;
  color: #403b5b;
}
input:focus,
select:focus,
textarea:focus {
  outline-color: #a392d9;
}
input::placeholder,
textarea::placeholder {
  color: #aaa3bd;
}
.segmented {
  display: flex;
  padding: 3px;
  background: #e9e6f5;
  border-radius: 6px;
  gap: 3px;
}
.segmented button {
  font-size: 10px;
  padding: 6px 10px;
  background: none;
  color: #7c7198;
  border-radius: 4px;
}
.segmented button.selected {
  background: #fff;
  color: #4d3b94;
  box-shadow: 0 1px 3px #24204e16;
}
.calls-empty {
  text-align: center;
  padding: 45px 20px;
  color: #a29bb4;
}
.calls-empty > .icon {
  width: 32px;
  height: 32px;
  color: #8978b7;
  margin-bottom: 15px;
}
.calls-empty h3 {
  font-size: 14px;
  color: #4e4569;
  margin-bottom: 8px;
}
.calls-empty p {
  font-size: 11px;
  max-width: 330px;
  margin: 0 auto 18px;
}
.calls-empty .button {
  font-size: 10px;
}
.report-summary {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}
.report-total {
  padding: 25px;
  align-self: start;
}
.report-total > span {
  font-size: 11px;
  color: #817694;
}
.report-total > strong {
  display: block;
  font-size: 48px;
  color: #342665;
  letter-spacing: -2px;
  margin: 13px 0;
}
.report-total > p {
  font-size: 11px;
  color: #9a91ab;
}
.report-bars {
  padding: 25px;
}
.report-bars h2 {
  margin-bottom: 23px;
}
.report-bars > div {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 17px;
  font-size: 10px;
  color: #897d9d;
}
.report-bars meter {
  flex: 1;
  width: 100%;
  height: 14px;
  appearance: none;
  border: 0;
  background: #eeeaf9;
  border-radius: 3px;
  overflow: hidden;
}
.report-bars meter::-webkit-meter-bar {
  background: #eeeaf9;
  border: 0;
}
.report-bars meter::-webkit-meter-optimum-value {
  background: #806bc7;
}
.report-bars b {
  width: 22px;
  color: #6a5a8c;
  font-weight: 500;
}
.feature-summary {
  padding: 25px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: #eee9fb;
  color: #6b52be;
  display: grid;
  place-items: center;
  border-radius: 10px;
  flex-shrink: 0;
}
.feature-icon .icon {
  width: 24px;
  height: 24px;
}
.feature-summary h3 {
  font-size: 15px;
  margin-bottom: 8px;
  color: #3f365d;
}
.feature-summary p {
  font-size: 12px;
  line-height: 1.8;
  color: #8a809c;
  max-width: 500px;
  margin-bottom: 15px;
}
.mini-team {
  border-top: 1px solid var(--line);
  padding: 5px 12px 12px;
}
.voicemail-card {
  display: flex;
  gap: 12px;
  padding: 21px 20px;
  border-bottom: 1px solid #e9e5f1;
}
.voicemail-card > div {
  flex: 1;
  min-width: 0;
}
.voicemail-card strong {
  font-size: 12px;
  color: #38334d;
}
.voicemail-card small {
  font-size: 9px;
  color: #a19aaf;
  display: block;
  margin-top: 5px;
}
.voicemail-card p {
  font-size: 11px;
  color: #777087;
  margin-top: 10px;
  line-height: 1.8;
}
.voicemail-card .play-call {
  flex-shrink: 0;
  margin-top: 3px;
}
.integration {
  padding: 23px;
}
.integration > h3 {
  font-size: 14px;
}
.integration > p {
  font-size: 11px;
  color: #81788f;
  line-height: 1.9;
}
.integration > .node-icon {
  background: #eeeafa;
  color: #7963bc;
}
.code {
  background: #f0edf8;
  color: #766297;
}
.text-link:focus-visible,
.nav button:focus-visible,
.quick-actions button:focus-visible {
  outline: 2px solid #9b87e8;
  outline-offset: 3px;
}
.mobile-phone,
.mobile-bottom-nav {
  display: none;
}
.mobile-brand {
  display: none;
}
.main:focus {
  outline: none;
}
.table-wrap th {
  background: #f6f5fc;
  color: #9690a8;
  font-size: 9px;
}
.person strong {
  font-size: 12px;
  color: #38334c;
}
.person p {
  font-size: 10px;
}
.ext {
  background: #eeeaf7;
  color: #74638c;
}
.form-panel .section-title {
  color: #5b4c7d;
}
.form-row input,
.form-row select {
  font-size: 11px;
}
.form-panel .form-actions {
  margin-top: 15px;
}
.form-error {
  font-size: 11px;
}
.modal-header {
  border-color: #e6e1ed;
}
.modal-header h2 {
  color: #2f263f;
  font-size: 20px;
  letter-spacing: -0.6px;
}
.modal-header p {
  color: #a096ac;
  font-size: 11px;
}
.modal-body {
  font-size: 12px;
}
.modal-body .button {
  font-size: 11px;
}
.modal-actions {
  gap: 9px;
}
.close {
  color: #9588aa;
}
.form-error {
  color: #ad4058;
}
.modal-body .field > span {
  color: #84758e;
}
.enrollment-note {
  color: #8f829a;
}
.danger-note {
  background: #f9f4e8;
  color: #9b8558;
}
dialog {
  border-color: #e1dbed;
  box-shadow: 0 25px 100px #1a102544;
}
.call-detail-header {
  display: flex;
  gap: 12px;
  align-items: center;
}
.call-detail-header > .avatar {
  width: 43px;
  height: 43px;
  font-size: 13px;
}
.call-detail-header strong {
  font-size: 12px;
  color: #5f4f72;
}
.call-detail-header p {
  font-size: 10px;
  color: #a495ae;
  margin-top: 4px;
}
.call-detail-header .preview-chip {
  margin-left: auto;
}
.dialer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 20px 0;
}
.dialer-grid button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #f2eef8;
  border: 1px solid #e6ddf1;
  border-radius: 9px;
  padding: 11px;
  font-size: 24px;
  color: #69527f;
  line-height: 1.2;
  min-height: 62px;
}
.dialer-grid button:hover {
  background: #e8dff4;
}
.dialer-grid small {
  font-size: 8px;
  color: #a08caf;
  margin-top: 3px;
  letter-spacing: 1px;
}
.availability-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.availability-options button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f1f9;
  padding: 12px;
  color: #6c537e;
  text-align: left;
  border-radius: 6px;
  font-size: 12px;
}
.availability-options .icon {
  margin-left: auto;
  width: 16px;
}
.presence-dot.offline {
  background: #a6a7b6;
}
.presence-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #06ad49;
  flex-shrink: 0;
}
.workspace-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.workspace-menu button {
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
  min-height: 40px;
  padding: 8px;
  border-radius: 5px;
  background: none;
  color: #7a628d;
  font-size: 10px;
}
.workspace-menu button:hover {
  background: #f2edf8;
}
.workspace-menu button > .icon {
  width: 17px;
}
.workspace-menu button > .icon:last-child {
  margin-left: auto;
  width: 11px;
}
.number-setup {
  text-align: center;
  padding: 0 4px;
}
.number-setup .feature-icon {
  margin: 0 auto 15px;
}
.number-setup h3 {
  color: #755c87;
  font-size: 14px;
}
.number-setup p {
  font-size: 11px;
  line-height: 1.9;
  color: #ab96b7;
  margin-top: 10px;
}
.plan-detail {
  background: #f2edf8;
  border-radius: 9px;
  padding: 18px;
}
.plan-detail > strong {
  font-size: 21px;
  color: #72538c;
}
.plan-detail p {
  font-size: 12px;
  color: #a68eb5;
  line-height: 1.8;
  margin: 8px 0 14px;
}
.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: #9a84ad;
}
.notification-item strong {
  font-size: 12px;
  color: #8e70a5;
}
.notification-item p {
  font-size: 11px;
  color: #af9bbf;
  margin-top: 5px;
}
.notification-item > .icon {
  width: 22px;
  color: #9c81b7;
}
#toast {
  background: #2b234b;
  border-color: #6a5b8d;
  color: #f5eeff;
  font-size: 12px;
  left: calc(50% + 125px);
}
/* The call preview renders app content, with no synthetic device bezel/status bar. */
dialog.call-preview {
  padding: 0;
  max-width: none;
  width: 360px;
  height: 730px;
  max-height: calc(100dvh - 30px);
  border-radius: 25px;
  background: #181331 url("/assets/call-background.png") center/cover no-repeat;
  color: #fff;
  overflow: auto;
  border: 1px solid #5c4b7c;
  margin: auto;
  box-shadow: 0 25px 100px #05001480;
}
.call-preview::backdrop {
  background: #10132990;
  backdrop-filter: blur(5px);
}
.call-screen {
  position: relative;
  min-height: 100%;
  padding: 24px 23px 25px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.call-preview-label {
  font-size: 9px;
  color: #c0aadb;
  border: 1px solid #6b538252;
  border-radius: 20px;
  padding: 6px 10px;
  background: #22153655;
}
.call-identity {
  margin-top: 35px;
}
.call-large-avatar {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #8d69beaa;
  color: white;
  font-size: 30px;
  margin: 0 auto 19px;
  border: 1px solid #b28ed04d;
  letter-spacing: -1px;
}
.call-identity h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
  color: white;
  font-weight: 650;
}
.call-identity > p {
  font-size: 12px;
  color: #f1e9ff;
  margin-top: 6px;
}
.call-identity > strong {
  display: block;
  font-size: 14px;
  font-weight: 450;
  letter-spacing: 0.7px;
  margin-top: 19px;
}
.call-signal {
  display: block;
  color: #30df71;
  margin-top: 12px;
}
.call-signal > .icon {
  width: 21px;
  height: 21px;
}
.call-identity .call-state {
  font-size: 9px;
  color: #b99ed9;
  margin-top: 5px;
}
.call-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px 22px;
  margin-top: 25px;
  width: 100%;
  max-width: 276px;
}
.call-controls button {
  color: white;
  background: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.call-controls button > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff1b;
  border: 1px solid #ffffff0d;
  box-shadow: 0 3px 12px #09001b12;
}
.call-controls button.is-on > span {
  color: #442376;
  background: #ede3ff;
}
.call-controls .icon {
  width: 23px;
  height: 23px;
}
.call-controls small {
  font-size: 9px;
  color: #faf5ff;
  font-weight: 400;
}
.call-control-message {
  font-size: 9px;
  line-height: 1.7;
  min-height: 29px;
  color: #c7a6e4;
  margin-top: 16px;
  max-width: 280px;
}
.end-call {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 59px;
  height: 59px;
  background: #ff3b4c;
  border-radius: 50%;
  color: #fff;
  margin-top: 9px;
  box-shadow: 0 5px 15px #12002526;
}
.end-call > .icon {
  width: 29px;
  height: 29px;
}
.end-call:hover {
  background: #ef243d;
}
.call-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  width: 100%;
  max-width: 250px;
  margin-top: 25px;
}
.call-keypad input {
  grid-column: 1/-1;
  text-align: center;
  background: #ffffff15;
  color: white;
  border-color: #ffffff20;
  margin-bottom: 5px;
  height: 33px;
}
.call-keypad button {
  height: 43px;
  background: #ffffff18;
  border-radius: 30px;
  color: white;
  font-size: 19px;
}
.call-keypad .hide-keypad {
  grid-column: 1 / -1;
  font-size: 12px;
  min-height: 38px;
}
.workspace-switcher {
  margin-bottom: 18px;
}
.call-preview.keypad-open .call-controls {
  display: none;
}
.call-preview .call-identity {
  transition: margin 0.2s;
}
@media (min-width: 1550px) {
  .main {
    padding: 34px;
  }
  .dashboard-heading h1 {
    font-size: 33px;
  }
  .metric {
    padding: 22px 20px;
  }
  .metric-value {
    font-size: 30px;
  }
  .metric-label {
    font-size: 12px;
  }
  .metric-foot {
    font-size: 10px;
  }
  .metric-grid {
    margin-bottom: 25px;
  }
  .call-row {
    padding: 15px 19px;
    min-height: 74px;
  }
  .call-person strong {
    font-size: 12px;
  }
  .call-person span {
    font-size: 11px;
  }
  .call-time {
    font-size: 10px;
  }
  .call-time small {
    font-size: 11px;
  }
  .panel-header {
    padding: 19px 20px;
  }
  .quick-actions {
    padding: 0 18px 16px;
  }
  .quick-actions button {
    min-height: 37px;
    font-size: 11px;
  }
  .number-row {
    min-height: 73px;
    padding: 16px 20px;
  }
  .number-row > strong {
    font-size: 12px;
  }
  .dashboard-user {
    min-height: 56px;
    padding: 12px 18px;
  }
  .dashboard-user > strong {
    font-size: 11px;
  }
  .dashboard-user > small,
  .user-presence {
    font-size: 10px;
  }
}
@media (max-width: 1180px) {
  .shell {
    grid-template-columns: 224px minmax(0, 1fr);
  }
  .sidebar {
    width: 224px;
    padding: 20px 12px 15px;
  }
  .brand {
    gap: 8px;
    padding-left: 1px;
    padding-right: 1px;
  }
  .brand strong {
    font-size: 18px;
  }
  .brand .maple-mark {
    width: 30px;
    height: 33px;
  }
  .brand small {
    font-size: 9px;
  }
  .workspace-picker {
    padding: 8px;
    gap: 7px;
  }
  .workspace-picker select {
    width: 139px;
    font-size: 10px;
  }
  .workspace-letter {
    width: 23px;
  }
  .nav button {
    font-size: 11px;
    padding: 8px 10px;
    gap: 10px;
    min-height: 37px;
  }
  .nav button > .icon {
    width: 19px;
    height: 19px;
  }
  .topbar {
    padding: 0 22px;
    height: 63px;
  }
  .topbar-context > span {
    display: none;
  }
  .top-actions {
    gap: 18px;
  }
  .main {
    padding: 22px 20px 26px;
  }
  .dashboard-heading h1 {
    font-size: 25px;
    letter-spacing: -0.8px;
  }
  .dashboard-heading p {
    font-size: 12px;
  }
  .date-filter {
    padding: 6px;
  }
  .date-filter > .icon:first-child {
    display: none;
  }
  .metric-grid {
    gap: 10px;
    margin-bottom: 18px;
  }
  .metric {
    gap: 10px;
    padding: 14px 11px;
    min-height: 97px;
  }
  .metric-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .metric-icon > .icon {
    width: 22px;
    height: 22px;
  }
  .metric-label {
    font-size: 9px;
  }
  .metric-value {
    font-size: 23px;
    margin: 3px 0 6px;
  }
  .metric-value small {
    font-size: 17px;
  }
  .metric-foot {
    font-size: 8px;
  }
  .dashboard-grid {
    gap: 13px;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }
  .call-row {
    grid-template-columns: 15px 28px minmax(0, 1fr) 88px 23px 12px;
    gap: 6px;
    padding: 9px 10px;
    min-height: 50px;
  }
  .call-avatar {
    width: 28px;
    height: 28px;
    font-size: 9px;
  }
  .call-person strong {
    font-size: 10px;
  }
  .call-person span {
    font-size: 9px;
  }
  .call-time {
    font-size: 8px;
  }
  .call-time small {
    font-size: 9px;
  }
  .call-direction > .icon {
    width: 16px;
  }
  .play-call {
    width: 24px;
    height: 24px;
    padding: 4px;
  }
  .panel-header {
    padding: 14px 13px;
    min-height: 49px;
  }
  .panel-header h2 {
    font-size: 13px;
  }
  .text-link {
    font-size: 9px;
  }
  .status-actions {
    gap: 13px;
  }
  .system-message {
    padding: 0 13px 13px;
    gap: 8px;
  }
  .system-message h3 {
    font-size: 11px;
  }
  .system-message p {
    font-size: 9px;
    margin-top: 4px;
  }
  .system-check {
    width: 28px;
    height: 28px;
  }
  .system-check > .icon {
    width: 20px;
  }
  .quick-actions {
    padding: 0 11px 11px;
    gap: 5px;
  }
  .quick-actions button {
    padding: 6px 8px;
    min-height: 30px;
    font-size: 9px;
    gap: 7px;
  }
  .quick-actions button > .icon {
    width: 15px;
    height: 15px;
  }
  .number-row {
    padding: 13px 12px;
    gap: 7px;
  }
  .number-row > strong {
    font-size: 10px;
  }
  .number-description {
    margin-left: 0;
  }
  .number-description > span {
    font-size: 7px;
    padding: 3px 4px;
  }
  .number-description small {
    font-size: 7px;
  }
  .country-icon {
    width: 14px;
  }
  .country-icon img {
    width: 14px;
    height: 14px;
  }
  .dashboard-user {
    padding: 10px 11px;
    gap: 6px;
  }
  .dashboard-user > .avatar {
    width: 24px;
    height: 24px;
  }
  .dashboard-user > strong {
    font-size: 9px;
    max-width: 100px;
  }
  .dashboard-user > small,
  .user-presence {
    font-size: 8px;
  }
  .user-presence {
    gap: 4px;
  }
  .user-presence i {
    width: 6px;
    height: 6px;
  }
  .sample-disclosure {
    font-size: 9px;
    margin-bottom: 15px;
  }
  .sample-disclosure button {
    font-size: 9px;
  }
  .sidebar-footnote {
    font-size: 7px;
  }
  #toast {
    left: calc(50% + 112px);
  }
}
@media (min-width: 701px) and (max-width: 930px) {
  .shell {
    grid-template-columns: 195px minmax(0, 1fr);
  }
  .sidebar {
    width: 195px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .brand strong {
    font-size: 16px;
  }
  .brand .maple-mark {
    width: 27px;
  }
  .brand small {
    font-size: 8px;
  }
  .workspace-picker select {
    width: 109px;
  }
  .nav button {
    font-size: 10px;
    gap: 9px;
  }
  .main {
    padding: 20px 16px;
  }
  .dashboard-heading h1 {
    font-size: 23px;
  }
  .date-filter {
    display: none;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric {
    padding: 15px;
  }
  .metric-label {
    font-size: 10px;
  }
  .metric-value {
    font-size: 25px;
  }
  .metric-foot {
    font-size: 9px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .status-actions {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .recent-panel {
    order: 0;
  }
  .status-actions {
    order: 1;
  }
  .numbers-panel {
    order: 2;
  }
  .users-panel {
    order: 3;
  }
  .call-row {
    grid-template-columns: 19px 31px minmax(0, 1fr) 100px 27px 14px;
    padding: 13px 15px;
  }
  .call-person strong {
    font-size: 11px;
  }
  .call-person span {
    font-size: 10px;
  }
  .call-time {
    font-size: 9px;
  }
  .number-row {
    padding: 15px;
  }
  .number-row > strong {
    font-size: 12px;
  }
  .number-description > span {
    font-size: 9px;
  }
  .number-description small {
    font-size: 9px;
  }
  .dashboard-user {
    padding: 12px 15px;
  }
  .dashboard-user > strong {
    font-size: 11px;
    max-width: 160px;
  }
  .dashboard-user > small,
  .user-presence {
    font-size: 10px;
  }
  .topbar-context {
    display: none;
  }
  .global-search {
    width: 200px;
  }
  .topbar {
    justify-content: flex-end;
  }
  .integration-grid {
    grid-template-columns: 1fr;
  }
  .routing-layout {
    grid-template-columns: 1fr;
  }
  #toast {
    left: calc(50% + 97px);
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
    min-height: 100dvh;
  }
  .sidebar {
    display: none !important;
  }
  .content {
    background: #fff;
    min-height: 100dvh;
    padding-bottom: 74px;
  }
  .topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    height: 68px;
    padding: 0 18px;
    background: #fff;
    border-bottom: 0;
    justify-content: space-between;
  }
  .topbar-context,
  .global-search,
  .notification-button,
  .user-profile > .icon {
    display: none;
  }
  .topbar .mobile-brand {
    display: flex !important;
    align-items: center;
    gap: 6px;
    color: #101322;
    font-size: 16px;
    letter-spacing: -0.65px;
  }
  .mobile-brand img {
    width: 24px;
    height: 28px;
    object-fit: contain;
  }
  .mobile-brand img.provided-logo {
    width: 165px;
    height: 46px;
  }
  .mobile-brand strong {
    font-size: 19px;
    font-weight: 650;
    white-space: nowrap;
  }
  .user-profile > span {
    width: 30px;
    height: 30px;
    font-size: 10px;
    background: #e7e5f6;
    color: #494067;
    box-shadow: none;
  }
  .top-actions {
    gap: 0;
  }
  .main {
    padding: 19px 16px 30px;
    max-width: none;
  }
  .main.view-overview {
    padding: 0;
  }
  .desktop-overview {
    display: none;
  }
  .mobile-phone {
    display: block;
    background: white;
    min-height: calc(100dvh - 142px);
    padding-bottom: 45px;
  }
  .availability {
    height: 34px;
    padding: 0 18px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .availability > button {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    padding: 0;
    font-size: 12px;
    color: #37314e;
  }
  .availability > button .icon {
    width: 10px;
  }
  .availability > .mobile-sample-toggle {
    font-size: 9px;
    font-size: 8px;
    color: #9c8bae;
    border: 1px solid #e6ddec;
    padding: 3px 5px;
    border-radius: 3px;
  }
  .availability .presence-dot {
    width: 7px;
    height: 7px;
  }
  .phone-tabs {
    display: flex;
    align-items: stretch;
    height: 42px;
    border-bottom: 1px solid #e8e3ef;
    padding: 0 12px;
    gap: 0;
  }
  .phone-tabs button {
    flex: 1;
    font-size: 13px;
    color: #4a4263;
    background: none;
    padding: 12px 7px 10px;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .phone-tabs button.active {
    color: #5331d9;
    border-bottom-color: #6541dd;
    font-weight: 500;
  }
  .phone-tabs button > span {
    background: #ff3d5a;
    color: white;
    padding: 1px 4px;
    font-size: 8px;
    border-radius: 20px;
    min-width: 12px;
  }
  .mobile-phone-body {
    padding-top: 3px;
  }
  .call-day {
    font-size: 12px;
    color: #6f6586;
    padding: 12px 18px 7px;
    border-bottom: 1px solid #ebe6f3;
    background: #fcfbff;
  }
  .mobile-phone .call-row {
    grid-template-columns: 31px 18px minmax(0, 1fr) 70px;
    gap: 8px;
    padding: 14px 17px;
    min-height: 75px;
  }
  .mobile-phone .call-direction {
    grid-column: 2;
    grid-row: 1;
  }
  .mobile-phone .call-avatar {
    grid-column: 1;
    grid-row: 1;
    width: 29px;
    height: 29px;
    font-size: 10px;
  }
  .mobile-phone .call-person {
    grid-column: 3;
    grid-row: 1;
    gap: 5px;
  }
  .mobile-phone .call-person strong {
    font-size: 13px;
    letter-spacing: -0.2px;
  }
  .mobile-phone .call-person span {
    font-size: 12px;
  }
  .mobile-phone .call-time {
    grid-column: 4;
    grid-row: 1;
    align-items: flex-end;
    font-size: 10px;
    gap: 5px;
  }
  .mobile-phone .call-time small {
    font-size: 11px;
  }
  .mobile-phone .play-call,
  .mobile-phone .call-more {
    display: none;
  }
  .mobile-phone .call-direction .icon {
    width: 17px;
    height: 17px;
  }
  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    padding: 6px 10px max(7px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #fefeff;
    border-top: 1px solid #e3ddeb;
    z-index: 7;
    box-shadow: 0 -2px 10px #2d124a03;
  }
  .mobile-bottom-nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    background: none;
    color: #605372;
    font-size: 10px;
    padding: 0 14px;
    min-height: 45px;
    min-width: 64px;
  }
  .mobile-bottom-nav button > .icon {
    width: 22px;
    height: 22px;
  }
  .mobile-bottom-nav button.active {
    color: #5c35c9;
  }
  .dialer-fab {
    position: fixed;
    right: 20px;
    bottom: 85px;
    width: 49px;
    height: 49px;
    border-radius: 50%;
    background: #6844cd;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 3px 8px #3c23584d;
    z-index: 6;
  }
  .dialer-fab .icon {
    width: 26px;
    height: 26px;
  }
  .mobile-directory {
    padding: 6px 12px;
  }
  .mobile-directory > .button {
    margin: 19px 4px;
  }
  .dashboard-user {
    padding: 13px 5px;
    gap: 9px;
  }
  .dashboard-user > .avatar {
    width: 31px;
    height: 31px;
  }
  .dashboard-user > strong {
    font-size: 11px;
    max-width: 135px;
  }
  .dashboard-user > small,
  .user-presence {
    font-size: 9px;
  }
  .mobile-phone .voicemail-card {
    padding: 17px 15px;
    gap: 9px;
  }
  .mobile-phone .voicemail-card p {
    font-size: 10px;
  }
  .feature-heading,
  .page-heading {
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .feature-heading h1,
  .page-heading h1 {
    font-size: 25px;
    letter-spacing: -0.8px;
    line-height: 1.25;
  }
  .feature-heading p,
  .page-heading p {
    font-size: 10px;
    max-width: 235px;
    line-height: 1.7;
  }
  .preview-chip {
    font-size: 8px;
    padding: 4px 5px;
  }
  .page-heading .heading-actions {
    flex-direction: column;
  }
  .notice {
    padding: 11px;
    font-size: 10px;
    line-height: 1.7;
  }
  .notice > .icon {
    flex-shrink: 0;
    width: 15px;
  }
  .report-summary {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .report-total {
    padding: 20px;
  }
  .report-total > strong {
    font-size: 38px;
  }
  .report-bars {
    padding: 20px;
  }
  .main.view-calls .call-row {
    grid-template-columns: 17px 28px minmax(0, 1fr) 76px;
    gap: 6px;
    padding: 13px 10px;
    min-height: 70px;
  }
  .main.view-calls .call-more,
  .main.view-calls .play-call {
    display: none;
  }
  .main.view-calls .call-person strong {
    font-size: 10px;
  }
  .main.view-calls .call-person span {
    font-size: 9px;
  }
  .main.view-calls .call-time {
    font-size: 8px;
  }
  .main.view-calls .call-time small {
    font-size: 9px;
  }
  .main.view-calls .toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .segmented {
    align-self: flex-start;
  }
  .number-row {
    padding: 16px 13px;
    gap: 8px;
  }
  .number-row > strong {
    font-size: 10px;
  }
  .number-description > span {
    font-size: 7px;
  }
  .number-description small {
    font-size: 8px;
  }
  .numbers-panel .panel-header {
    padding: 14px;
  }
  .feature-summary {
    padding: 20px 16px;
    gap: 13px;
  }
  .feature-summary h3 {
    font-size: 13px;
  }
  .feature-summary p {
    font-size: 11px;
  }
  .feature-icon {
    width: 36px;
    height: 36px;
  }
  .feature-icon > .icon {
    width: 20px;
    height: 20px;
  }
  .table-wrap {
    max-width: 100%;
    overflow-x: auto;
  }
  .table-wrap td {
    padding: 14px;
  }
  .table-wrap th {
    padding: 12px 14px;
  }
  .table-wrap .person p {
    max-width: 165px;
  }
  .main.view-extensions .toolbar .badge {
    display: none;
  }
  .main.view-routing .form-panel,
  .main.view-ivr .form-panel {
    padding: 18px 15px;
  }
  .integration-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .integration {
    padding: 20px;
  }
  .integration p {
    font-size: 11px;
  }
  .form-row {
    gap: 10px;
  }
  .routing-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .panel-header .button {
    font-size: 9px;
    padding: 7px 9px;
  }
  .calls-empty {
    padding: 36px 18px;
  }
  .workspace-menu {
    grid-template-columns: 1fr 1fr;
  }
  .workspace-menu button {
    font-size: 9px;
    gap: 6px;
    padding: 9px 4px;
  }
  .workspace-menu button > .icon {
    width: 16px;
  }
  .workspace-menu button > .icon:last-child {
    width: 9px;
  }
  .modal-body {
    padding: 21px 19px;
  }
  .modal-header {
    padding: 21px 19px;
  }
  .modal-header h2 {
    font-size: 19px;
  }
  .modal-actions {
    gap: 7px;
  }
  .modal-actions .button {
    font-size: 10px;
  }
  .call-detail-header p {
    font-size: 9px;
  }
  .call-detail-header .preview-chip {
    font-size: 7px;
  }
  .call-detail-header strong {
    font-size: 11px;
  }
  #toast {
    left: 50%;
    bottom: 81px;
    font-size: 10px;
    padding: 11px 16px;
    text-align: center;
    max-width: calc(100vw - 30px);
    width: max-content;
  }
  .availability-options button {
    font-size: 12px;
  }
  dialog.call-preview {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    max-width: none;
    border: 0;
    border-radius: 0;
    margin: 0;
    position: fixed;
    inset: 0;
  }
  .call-screen {
    padding: 25px 30px max(25px, env(safe-area-inset-bottom));
    min-height: 100dvh;
  }
  .call-preview-label {
    font-size: 9px;
  }
  .call-identity {
    margin-top: 52px;
  }
  .call-large-avatar {
    width: 84px;
    height: 84px;
    font-size: 32px;
    margin-bottom: 21px;
  }
  .call-identity h2 {
    font-size: 26px;
  }
  .call-identity > p {
    font-size: 13px;
  }
  .call-identity > strong {
    font-size: 15px;
    margin-top: 23px;
  }
  .call-controls {
    margin-top: 30px;
    gap: 24px 23px;
    max-width: 285px;
  }
  .call-controls button > span {
    width: 56px;
    height: 56px;
  }
  .call-controls .icon {
    width: 24px;
    height: 24px;
  }
  .call-controls small {
    font-size: 10px;
  }
  .end-call {
    width: 64px;
    height: 64px;
    margin-top: 16px;
  }
  .call-control-message {
    font-size: 10px;
    min-height: 34px;
    line-height: 1.7;
    margin-top: 20px;
  }
  .call-preview.keypad-open .call-identity {
    margin-top: 22px;
  }
  .call-preview.keypad-open .call-keypad {
    margin-top: 20px;
  }
  .call-preview.keypad-open .call-large-avatar {
    width: 65px;
    height: 65px;
    font-size: 26px;
    margin-bottom: 13px;
  }
}
@media (max-height: 760px) and (max-width: 700px) {
  .call-identity {
    margin-top: 28px;
  }
  .call-large-avatar {
    width: 67px;
    height: 67px;
    font-size: 26px;
    margin-bottom: 15px;
  }
  .call-identity h2 {
    font-size: 23px;
  }
  .call-identity > strong {
    margin-top: 15px;
  }
  .call-controls {
    margin-top: 22px;
    gap: 16px 23px;
  }
  .call-controls button > span {
    width: 48px;
    height: 48px;
  }
  .call-control-message {
    margin-top: 11px;
    min-height: 27px;
  }
  .end-call {
    margin-top: 9px;
    width: 55px;
    height: 55px;
  }
  .call-preview-label {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.system-admin-link,
.workspace-admin-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  margin-bottom: 14px;
  border: 1px solid #42405e;
  border-radius: 6px;
  color: #c8bced;
  font-size: 10px;
  text-decoration: none;
}
.system-admin-link .icon,
.workspace-admin-link .icon {
  width: 16px;
  height: 16px;
}
.system-admin-link .icon:last-child,
.workspace-admin-link .icon:last-child {
  margin-left: auto;
  width: 12px;
}
.workspace-admin-link {
  color: #6e55a0;
  border-color: #e1d8ef;
  margin: 18px 0 0;
}

/* Account entry and tenant access. */
.auth-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #101c36; }
.auth-card { width: min(100%, 440px); padding: 36px; border-radius: 20px; background: #f6f4ff; color: #18233c; box-shadow: 0 20px 70px #0003; }
.auth-card > img { width: 48px; }
.auth-card h1 { margin: 20px 0 10px; }
.auth-card p { line-height: 1.6; }
.auth-card .button { margin: 8px 8px 8px 0; }
.auth-message { min-height: 24px; }
.auth-link { display: inline-block; padding: 8px 0; border: 0; background: transparent; color: #6e55a0; font: inherit; text-decoration: underline; cursor: pointer; }
.auth-link:focus-visible { outline: 2px solid #6e55a0; outline-offset: 4px; }
.auth-code input { letter-spacing: .25em; font-variant-numeric: tabular-nums; }
.operator-mfa-notice { padding: 12px 16px; border-left: 4px solid #8671d3; background: #f6f4ff; line-height: 1.6; }
.team-access { margin-top: 24px; }
.support-notice { border-left: 4px solid #8671d3; }

/* The real phone stays mounted while workspace views and history refresh. */
#real-phone:not([hidden]) { position: fixed; right: 24px; bottom: 24px; width: 320px; max-height: 80vh; overflow-y: auto; z-index: 40; box-shadow: 0 12px 48px #11172c40; border-radius: 18px; }
.real-phone-panel { padding: 18px; background: white; }
.real-phone-panel .panel-header { padding: 0 0 12px; }
.phone-connection, .phone-live-call, .phone-incoming { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0; }
.phone-incoming { padding: 12px; background: #eeeaff; border-radius: 10px; }
.real-phone-panel .dialer-grid { margin: 12px 0; }
.real-phone-panel .dialer-grid button { min-height: 36px; }
.emergency-notice { font-size: 12px; line-height: 1.5; color: #94423a; margin: 12px 0 0; }
@media (max-width: 700px) { #real-phone:not([hidden]) { position: relative; right: auto; bottom: auto; width: auto; margin: 16px 16px 90px; max-height: none; } }

/* Idle phone collapses to a pill; it expands for calls or on demand. */
#real-phone.collapsed:not([hidden]) { width: auto; max-height: none; overflow: visible; box-shadow: none; background: transparent; }
.phone-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 0; border-radius: 999px; background: #11172c; color: #fff; font: inherit; font-weight: 600; box-shadow: 0 10px 32px #11172c55; cursor: pointer; }
.phone-pill:focus-visible { outline: 3px solid #8671d3; outline-offset: 3px; }
.phone-pill-dot { width: 10px; height: 10px; border-radius: 50%; background: #8a90a6; }
.phone-pill-dot.ready { background: #2fbf71; }
.phone-pill-status { font-weight: 500; color: #c9cbe0; }
.real-phone-panel .panel-header { display: flex; align-items: center; gap: 10px; }
.real-phone-panel .panel-header h2 { margin-right: auto; }
.phone-minimize { width: 30px; height: 30px; border: 0; border-radius: 8px; background: #f0eefc; color: #3b2f6b; font-size: 20px; line-height: 1; cursor: pointer; }
.phone-minimize:focus-visible { outline: 2px solid #6e55a0; outline-offset: 2px; }
.caller-id-option { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: #3b2f6b; cursor: pointer; }
.caller-id-option input[type="radio"] { width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; accent-color: #6e55a0; flex: none; }
@media (max-width: 700px) { #real-phone.collapsed:not([hidden]) { position: fixed; right: 16px; bottom: 84px; margin: 0; } }

/* Call flow configuration and durable carrier timelines. */
#flow-editor fieldset { border: 0; padding: 0; min-width: 0; }
#flow-editor legend { font-weight: 600; margin-bottom: 16px; }
.flow-canvas { display: grid; gap: 24px; margin: 24px 0; }
.flow-card { position: relative; background: white; border: 1px solid var(--border, #ddd); border-radius: 16px; padding: 24px; min-width: 0; }
.flow-card + .flow-card::before { content: '↓'; position: absolute; top: -24px; left: 40px; color: #777; }
.flow-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.flow-card header > div { flex: 1; }
.flow-card h3 { margin: 0; }
.flow-card small { color: #696c80; }
.flow-row, .flow-add { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.flow-row .field { flex: 1; min-width: 100px; margin-bottom: 0; }
.flow-day { display: grid; grid-template-columns: 42px 1fr; gap: 12px; border-top: 1px solid #eee; padding: 12px 0; }
.flow-members { display: grid; gap: 10px; margin: 16px 0; }
.flow-members label { display: flex; gap: 8px; align-items: center; }
.flow-members input { width: auto; }
#flow-editor .form-actions { flex-wrap: wrap; gap: 12px; }
#flow-editor .simulation-result p { overflow-wrap: anywhere; font-size: 12px; }
.real-voicemail > div { width: 100%; }
.real-voicemail audio { max-width: 100%; width: 340px; margin: 12px 0; }
.call-detail-drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; max-width: 600px; border-radius: 0; }
.call-timeline { list-style: none; padding: 0 0 0 16px; border-left: 2px solid #ddd; }
.call-timeline li { padding: 0 0 20px 16px; }
.call-timeline time { display: block; color: #696c80; font-size: 12px; margin-bottom: 6px; }
.call-timeline p { overflow-wrap: anywhere; }
@media (max-width: 700px) { .flow-card { padding: 16px; } .flow-card header { flex-wrap: wrap; } .flow-day { grid-template-columns: 1fr; } .flow-row { gap: 8px; } }

/* Settings → Security (authenticator setup) */
.security-panel { margin-top: 24px; }
.security-status.ok { color: #1f7a4d; font-weight: 600; }
.security-scan { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.security-qr { width: 180px; height: 180px; padding: 8px; border-radius: 12px; background: #fff; border: 1px solid #e3e1f3; }
.security-steps { margin: 0 0 12px 18px; line-height: 1.6; }
.security-secret { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; word-break: break-all; padding: 2px 6px; border-radius: 6px; background: #f0eefc; }
.security-panel > p, .security-panel > button, .security-panel > form, .security-panel > .security-scan { margin: 16px 20px; }
.security-panel > p + button { margin-top: 0; }
/* Queues and agent routing status. */
#queues-view ul { padding-left: 1.25rem; }
#queues-view li { margin-block: .5rem; }
#phone-presence { display: block; min-width: 9rem; }
#phone-status-help { display: block; margin-bottom: .5rem; }
