:root {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #17233c;
  background: #f2f5fa;
  --ink: #17233c;
  --muted: #526179;
  --line: #dce3ee;
  --blue: #204ee3;
  --blue-hover: #153cc2;
  --green: #15714d;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #6792ff; outline-offset: 3px; }
button:disabled { cursor: default; opacity: .53; }

.shell { display: grid; grid-template-columns: var(--sidebar-width, 224px) minmax(0, 1fr); min-height: 100dvh; }
.shell[data-sidebar-collapsed] { --sidebar-width: 68px; }
.sidebar {
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh; overflow-y: auto;
  color: #25272b; background: #fff; border-inline-end: 1px solid #e6e7ea; padding: 23px 15px 16px;
}
.sidebar-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.brand { display: flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; font-size: 18px; font-weight: 730; letter-spacing: -.4px; white-space: nowrap; }
.brand-icon {
  display: inline-flex; align-items: center; justify-content: center; gap: 3px; flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 10px; color: white; background: #365ef2;
}
.brand-icon i { width: 2px; height: 8px; border-radius: 2px; background: currentColor; }
.brand-icon i:nth-child(2), .brand-icon i:nth-child(4) { height: 14px; }
.brand-icon i:nth-child(3) { height: 20px; }
.sidebar .brand-icon { color: #383b42; background: #f0f1f3; }
.sidebar :focus-visible { outline-color: #777b83; }
.sidebar-toggle { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border: 1px solid #e6e7ea; border-radius: 8px; color: #4a4e56; background: #fff; }
.sidebar-toggle:hover { background: #f5f5f6; }
.sidebar-menu-icon, .sidebar-close-icon { display: none; }
.sidebar-menu { display: flex; flex: 1; flex-direction: column; gap: 20px; padding-top: 26px; }
.sidebar nav { display: grid; gap: 4px; }
.nav-link { display: flex; align-items: center; gap: 11px; min-height: 40px; color: #4a4e56; text-decoration: none; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; font-size: 14px; font-weight: 620; text-align: left; }
.nav-link:hover { background: #f5f5f6; }
.nav-link[aria-current] { color: #25272b; background: #eeeef0; font-weight: 700; }
.client-nav { display: grid; gap: 4px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e6e7ea; }
.client-nav p { color: #5b5e66; font-size: 13px; font-weight: 650; padding: 0 10px 4px; overflow-wrap: anywhere; }
.nav-icon { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.account { display: grid; gap: 6px; border-top: 1px solid #e6e7ea; padding-top: 12px; margin-top: auto; }
.account-summary { display: flex; align-items: center; gap: 10px; padding: 0 5px; }
.account p { font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.avatar { width: 33px; height: 33px; flex: 0 0 33px; display: grid; place-items: center; border-radius: 50%; color: #e6ecff; background: #354976; font-size: 13px; font-weight: 700; }
.account .avatar { color: #383b42; background: #f0f1f3; }

@media (min-width: 781px) {
  [data-sidebar-collapsed] .sidebar { padding-inline: 10px; }
  [data-sidebar-collapsed] .sidebar-header { flex-direction: column; }
  [data-sidebar-collapsed] .sidebar-panel-icon { transform: scaleX(-1); }
  [data-sidebar-collapsed] .sidebar .nav-label { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
  [data-sidebar-collapsed] .nav-link, [data-sidebar-collapsed] .account-summary { justify-content: center; padding-inline: 0; }
}

.masthead {
  height: 66px; padding: 0 34px; display: flex; justify-content: space-between; align-items: center;
  gap: 15px; background: #fff; border-bottom: 1px solid var(--line); font-size: 14px;
}
.context { color: var(--muted); font-weight: 560; }
.context span { margin: 0 6px; color: #7a8aa8; }
.context b { font-weight: inherit; }
.environment { background: #edf2ff; color: #304783; border: 1px solid #dfe7fb; border-radius: 6px; padding: 5px 9px; font-size: 13px; font-weight: 650; }
.workspace { width: min(100%, 1500px); margin-inline: auto; padding: 32px 34px 40px; }
.page-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
h1 { color: var(--ink); font-size: clamp(32px, 4vw, 45px); letter-spacing: -.055em; font-weight: 750; line-height: 1.08; }
.page-title p, .signin p { color: var(--muted); margin-top: 9px; line-height: 1.5; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 7px; padding: 10px 14px; min-height: 42px; white-space: nowrap; font-size: 14px; font-weight: 680; }
.primary { color: white; background: var(--blue); box-shadow: 0 2px 3px #1f44bb24; }
.primary:hover:enabled { background: var(--blue-hover); }
.primary span { font-size: 19px; line-height: 1; }
.secondary { color: var(--ink); border-color: #ccd7e8; background: #fff; }
.secondary:hover:enabled { background: #f1f5ff; border-color: #97aadb; }

.routing { display: grid; grid-template-columns: minmax(160px, .7fr) minmax(0, 2fr); align-items: center; gap: 20px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 17px 20px; margin-bottom: 20px; }
h2 { color: var(--ink); font-size: 18px; font-weight: 720; letter-spacing: -.026em; }
.routing-title p, .editor-heading p { color: var(--muted); font-size: 14px; margin-top: 5px; line-height: 1.4; }
.route-items { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.route { display: flex; align-items: center; min-width: 0; gap: 11px; background: #f4f7fc; border: 1px solid #e8edf6; border-radius: 8px; padding: 9px 11px; }
.route-icon { flex: 0 0 33px; width: 33px; height: 33px; display: grid; place-items: center; color: #274cbb; background: #e5edff; border-radius: 7px; font-size: 22px; font-weight: 600; }
.outbound-icon { color: #6247ab; background: #eee8ff; }
.route h3 { font-size: 13px; color: var(--muted); line-height: 1.35; margin-bottom: 4px; }
.route-agent { font-size: 14px; font-weight: 670; overflow-wrap: anywhere; }
.route-revision { color: var(--muted); font-size: 12px; margin-left: 6px; white-space: nowrap; }

.panel { border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 1px 3px #15275608; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; padding: 17px 17px 13px; }
.agent-list { list-style: none; padding: 6px 12px; margin: 0; }
.agent-list:empty { display: none; }
.agent-list li + li { border-top: 1px solid #e7edf5; }
.agent-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.agent-row:hover { background: #f6f8fd; }
.agent-row-arrow { color: var(--muted); font-size: 20px; }
.agent-row .avatar { border-radius: 8px; color: #284ab2; background: #e0e9ff; }
.agent-name { display: block; font-size: 14px; font-weight: 720; overflow-wrap: anywhere; }
.agent-status { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.agent-status.is-active { color: var(--green); }
.agent-status.is-active::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: currentColor; vertical-align: 2px; }
.empty-list { padding: 3px 17px 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }

.page-back { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 16px; color: var(--blue); font-size: 14px; font-weight: 650; text-decoration: none; }
.page-back:hover { text-decoration: underline; }
#agent-view .editor { max-width: 900px; }
.editor-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 17px 19px; border-bottom: 1px solid #e7edf5; }
.editor-heading h1 { overflow-wrap: anywhere; font-size: clamp(24px, 3vw, 32px); }
.editor-heading .button { min-height: 36px; padding: 7px 10px; }
.editor-heading-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.voice-field { min-width: 0; }
.voice-field > label { margin-bottom: 6px; }
.voice-preview-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 40px; gap: 6px; }
.voice-preview-controls select { min-width: 0; margin-top: 0; }
.voice-preview-button.button { display: grid; place-items: center; padding: 0; min-width: 40px; }
.voice-preview-button svg { width: 20px; height: 20px; }
.voice-preview-button .voice-preview-stop, .voice-preview-button[data-playing] .voice-preview-speaker { display: none; }
.voice-preview-button[data-playing] .voice-preview-stop { display: block; }
.voice-field .form-error { margin-top: 6px; }
.editor-tabs { display: flex; gap: 12px; padding: 0 19px; border-bottom: 1px solid #e7edf5; }
.tab-button { color: var(--muted); background: transparent; padding: 12px 4px; border: 0; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 680; }
.tab-button[aria-pressed="true"] { border-color: var(--blue); color: var(--blue); }
.tab-button:hover { color: var(--blue); }
.editor-fields { display: grid; gap: 15px; padding: 17px 19px; }
.sequence-help { color: var(--muted); font-size: 14px; line-height: 1.45; }
.two-fields { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; }
.voice-settings { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.greetings { grid-template-columns: 1fr 1fr; }
label { display: block; min-width: 0; font-size: 14px; font-weight: 680; }
input:not([type="checkbox"]), select, textarea {
  display: block; width: 100%; margin-top: 6px; border-radius: 7px; border: 1px solid #ccd7e8; padding: 9px 10px;
  min-height: 42px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 450; line-height: 1.45;
}
textarea { resize: vertical; }
select { appearance: none; padding-right: 29px; background-image: linear-gradient(45deg, transparent 50%, #496184 50%), linear-gradient(135deg, #496184 50%, transparent 50%); background-position: calc(100% - 15px) center, calc(100% - 10px) center; background-size: 5px 5px; background-repeat: no-repeat; }
.field-help { display: block; font-weight: 450; color: var(--muted); font-size: 13px; margin-top: 4px; }
.editor-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #e7edf5; padding: 13px 19px; color: var(--muted); font-size: 13px; }
.editor-actions { display: flex; align-items: center; gap: 8px; }
.notice { position: fixed; bottom: 22px; right: 24px; max-width: min(360px, calc(100% - 38px)); background: #152646; color: #fff; box-shadow: 0 10px 30px #15254626; border-radius: 9px; padding: 13px 16px; font-size: 14px; line-height: 1.4; z-index: 3; }
.form-error { color: #991b31; font-size: 14px; line-height: 1.4; }
.form-message { margin: 0 19px 13px; }

.signin { min-height: calc(100dvh - 66px); display: grid; place-items: center; padding: 24px; }
.signin-card { padding: 34px; background: white; border: 1px solid var(--line); border-radius: 14px; width: min(100%, 450px); box-shadow: 0 12px 40px #17336a0b; }
.signin-card .brand-icon { margin-bottom: 16px; }
.signin-card .button { margin-top: 21px; }
.signin-card .form-error { margin-top: 15px; }
dialog { padding: 0; border: 1px solid var(--line); border-radius: 13px; width: min(510px, calc(100vw - 28px)); box-shadow: 0 20px 70px #080f2652; color: var(--ink); }
dialog::backdrop { background: #0b162b84; }
.dialog-body { padding: 22px; }
.dialog-body h2 { font-size: 23px; margin-bottom: 9px; }
.dialog-body p { color: var(--muted); line-height: 1.5; }
.dialog-body h3 { font-size: 14px; margin: 14px 0 5px; }
.dialog-body .form-error { color: #991b31; margin-top: 11px; }
.dialog-footer { display: flex; gap: 8px; justify-content: flex-end; padding: 13px 22px; border-top: 1px solid var(--line); background: #f7f9fd; }
fieldset { margin: 16px 0 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 7px; font-size: 14px; font-weight: 700; }
.choice { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin-bottom: 6px; cursor: pointer; }
.choice input { margin: 0; width: 17px; height: 17px; accent-color: var(--blue); }
.choice small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 450; }
.greeting-preview { padding: 11px 12px; border-radius: 7px; background: #f2f5fb; white-space: pre-wrap; overflow-wrap: anywhere; }
.browser-test label { margin-top: 15px; }
.voice-test-heading { display: flex; align-items: center; gap: 16px; }
.voice-test-heading h2 { margin-bottom: 3px; }
.voice-avatar {
  display: inline-flex; flex: 0 0 58px; width: 58px; height: 58px; align-items: center;
  justify-content: center; gap: 3px; border: 1px solid #c9dafe; border-radius: 50%;
  background: #eaf1ff; color: var(--blue);
}
.voice-avatar i { width: 3px; height: 10px; border-radius: 3px; background: currentColor; }
.voice-avatar i:nth-child(2), .voice-avatar i:nth-child(4) { height: 17px; }
.voice-avatar i:nth-child(3) { height: 25px; }
.voice-avatar[data-speaking] { background: var(--blue); color: #fff; box-shadow: 0 0 0 5px #dce8ff; }
@media (prefers-reduced-motion: no-preference) {
  .voice-avatar { transition: background-color .18s ease, box-shadow .18s ease, color .18s ease; }
  .voice-avatar[data-speaking] i { animation: voice-avatar-speak .8s ease-in-out infinite alternate; }
  .voice-avatar[data-speaking] i:nth-child(2n) { animation-delay: -.3s; }
  .voice-avatar[data-speaking] i:nth-child(3) { animation-delay: -.55s; }
  @keyframes voice-avatar-speak {
    from { transform: scaleY(.55); }
    to { transform: scaleY(1.12); }
  }
}
.test-note { margin-top: 11px; font-size: 14px; }
.test-status { margin-top: 12px; color: var(--green); font-size: 14px; font-weight: 650; }
.browser-test-actions { flex-wrap: wrap; }
.share-create, .share-actions { display: flex; gap: 8px; align-items: end; }
.share-create { margin: 14px 0; }
.share-actions { flex-wrap: wrap; }
.share-create label, .share-actions input { flex: 1; min-width: 0; }
.share-actions .button { flex-shrink: 0; }
.share-output { display: grid; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: #f7f9fd; }
.share-output .share-actions { margin-top: 7px; }
.share-output input, .share-output textarea { display: block; margin-top: 5px; background: #fff; }
.share-output textarea { font: 12px/1.5 ui-monospace, monospace; }
.share-open { text-decoration: none; }
.share-list { list-style: none; padding: 0; }
.share-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.integration-form {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  align-items: end; gap: 12px; padding: 18px; margin-bottom: 12px;
}
.integration-form button { justify-self: start; }
.integration-output { padding: 14px 18px; margin-bottom: 12px; }
.history-more { margin: 12px 18px; }
#call-history-status:empty, #integration-status:empty, #carrier-status:empty { display: none; }
.call-transcript { display: grid; gap: 10px; list-style: none; padding: 0; }
.call-transcript li { padding: 10px 12px; border-left: 2px solid #c9dafe; background: #f5f8fe; }
.call-transcript p { white-space: pre-wrap; overflow-wrap: anywhere; }
.api-docs { max-width: 860px; padding: 30px 24px; margin: auto; line-height: 1.65; }
.api-docs h2 { margin: 24px 0 6px; }
.api-docs pre { overflow: auto; background: #eff3fb; padding: 14px; border-radius: 8px; }
.api-docs a { color: var(--blue); }
.guest-call {
  min-width: 0;
  color: #eef2ff;
  background: #0e1327;
  color-scheme: dark;
}
.guest-call-main {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 7dvh, 60px) 20px;
  background:
    radial-gradient(ellipse at 50% 35%, #282955, transparent 56%),
    radial-gradient(ellipse at 50% 0%, #161c3b, #0e1327 78%);
}
.guest-call-panel { width: min(100%, 440px); text-align: center; }
.guest-orbit {
  position: relative; display: grid; place-items: center;
  width: 178px; height: 178px; margin: 0 auto 13px;
  border: 1px solid #abb8ff25; border-radius: 50%;
}
.guest-orbit::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid #bbc5ff38; border-radius: 50%;
}
.guest-orbit .voice-avatar {
  position: relative; width: 112px; height: 112px; gap: 6px;
  border: 1px solid #c0b9ffbf;
  color: #fff;
  background: radial-gradient(circle at 36% 23%, #b4a7ff, #7468e9 44%, #4340a4 90%);
  box-shadow: inset 0 1px 2px #e6deff91, 0 0 44px #7f74f45c, 0 14px 38px #050a25a8;
}
.guest-orbit .voice-avatar[data-speaking] {
  box-shadow: inset 0 1px 2px #e6deff91, 0 0 0 9px #8f84f237, 0 0 57px #9a8aff8c;
}
.guest-orbit .voice-avatar i { width: 4px; height: 13px; box-shadow: 0 0 9px #f4edff7a; }
.guest-orbit .voice-avatar i:nth-child(2n) { height: 24px; }
.guest-orbit .voice-avatar i:nth-child(3) { height: 35px; }
.guest-call h1 {
  color: #f5f4ff; font-size: clamp(28px, 7vw, 52px); font-weight: 720; letter-spacing: -.05em;
  overflow-wrap: anywhere;
}
.guest-hint { margin-top: 10px; color: #bec7df; line-height: 1.5; font-size: 15px; }
.guest-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 23px; }
.guest-actions .button { min-height: 46px; border-radius: 100px; padding-inline: 18px; }
.guest-start { min-width: 136px; color: #18172f; background: #e5e0ff; box-shadow: 0 4px 24px #786ce241; }
.guest-start:hover:enabled { background: #f3efff; }
.guest-control { color: #f0edff; background: #292a4d; border-color: #505178; }
.guest-control:hover:enabled { background: #36375e; }
.guest-end { color: #ffd7e0; background: #45283f; border-color: #724359; }
.guest-end:hover:enabled { background: #583048; }
.guest-status, .guest-error { margin-top: 10px; font-size: 14px; line-height: 1.45; }
.guest-status { color: #d3ddff; }
.guest-error { color: #ffc1cf; }
.guest-notes { display: grid; gap: 5px; margin-top: 15px; color: #aeb8d4; font-size: 12px; line-height: 1.45; }
.guest-notes a { color: #dbd3ff; justify-self: center; text-underline-offset: 3px; }
@media (max-height: 590px) {
  .guest-call-main { padding-block: 20px; }
  .guest-orbit { width: 138px; height: 138px; }
  .guest-orbit::before { inset: 10px; }
  .guest-orbit .voice-avatar { width: 84px; height: 84px; }
  .guest-call h1 { font-size: clamp(27px, 7vw, 38px); }
}
.activation-line { margin-top: 14px; }
.number-fields { display: grid; gap: 13px; }
.number-fields .two-fields { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.setup-link { font-size: 14px; color: var(--blue); font-weight: 620; text-underline-offset: 3px; justify-self: start; }
.number-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(345px, 100%), 1fr)); gap: 14px; }
.number-card { padding: 17px 18px; }
.number-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.number-card h2 { overflow-wrap: anywhere; }
.number-provider { display: inline-block; font-size: 13px; color: var(--muted); margin-top: 5px; }
.number-card dl { margin: 0; display: grid; align-items: start; row-gap: 8px; }
.number-card dl div { display: grid; grid-template-columns: minmax(100px, .7fr) minmax(0, 1fr); gap: 8px; background: #f4f7fc; border-radius: 7px; padding: 9px; font-size: 14px; }
.number-card dt { color: var(--muted); }
.number-card dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.number-card .button { min-height: 34px; padding: 7px 10px; }
.number-empty { display: grid; justify-items: start; gap: 8px; padding: 23px; }
.number-empty p { color: var(--muted); line-height: 1.5; }
.workspace-error { margin-bottom: 16px; padding: 12px 14px; border: 1px solid #f1c3c9; border-radius: 8px; background: #fff3f4; color: #991b31; font-size: 14px; }
.directory-filter { margin-bottom: 15px; max-width: 320px; }
.client-grid, .client-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(224px, 100%), 1fr)); gap: 14px; margin-bottom: 18px; }
.client-card, .overview-card { display: block; color: var(--ink); text-decoration: none; padding: 17px 18px; overflow-wrap: anywhere; }
.client-card:hover, .overview-card:hover { border-color: #9eb4ef; background: #fbfcff; }
.client-card p { color: var(--muted); margin: 6px 0 0; font-size: 14px; line-height: 1.45; }
.client-card .client-meta { display: inline-block; margin-top: 11px; font-size: 13px; font-weight: 670; color: #3052a0; }
.overview-card strong { display: block; font-size: 29px; font-weight: 740; color: var(--ink); }
.overview-card span { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }
.inventory { margin-bottom: 16px; }
.table-wrap { overflow-x: auto; }
.inventory-table { width: 100%; text-align: left; border-collapse: collapse; font-size: 14px; }
.inventory-table th, .inventory-table td { padding: 12px 16px; border-top: 1px solid #e8edf5; overflow-wrap: anywhere; }
.inventory-table th { color: var(--muted); font-weight: 680; background: #f7f9fd; }
.inventory-table a { color: #2549b8; font-weight: 660; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.directory-empty { padding: 17px; color: var(--muted); line-height: 1.5; }
.table-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.table-actions .button { min-height: 33px; padding: 6px 9px; }
.user-heading { flex-wrap: wrap; }
.user-heading h1 { font-size: clamp(26px, 3.2vw, 38px); min-width: 0; overflow-wrap: anywhere; }
.user-details { max-width: 740px; margin: 0; padding: 6px 18px; }
.user-details div { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(0, 2fr); gap: 12px; padding: 13px 0; font-size: 14px; }
.user-details div + div { border-top: 1px solid #e8edf5; }
.user-details dt { color: var(--muted); }
.user-details dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.client-settings-form { display: grid; gap: 16px; max-width: 700px; padding: 20px; }
.client-settings-form button { justify-self: start; }

@media (max-width: 1050px) {
  .masthead, .workspace { padding-inline: 21px; }
}
@media (max-width: 780px) {
  .shell { display: block; }
  .sidebar { height: auto; position: static; border-inline-end: 0; border-bottom: 1px solid #e6e7ea; padding: 10px 14px; }
  .sidebar-menu { display: none; }
  [data-menu-open] .sidebar-menu { display: flex; padding-top: 13px; gap: 12px; }
  .sidebar-panel-icon, [data-menu-open] .sidebar-menu-icon { display: none; }
  .sidebar-menu-icon, [data-menu-open] .sidebar-close-icon { display: block; }
  .brand { font-size: 17px; }
  .brand-icon { width: 32px; height: 32px; }
  .masthead { height: 49px; }
  .workspace { padding-top: 22px; }
  .routing { grid-template-columns: 1fr; gap: 12px; padding: 15px; }
}
@media (max-width: 580px) {
  .workspace, .masthead { padding-inline: 13px; }
  .page-title { flex-wrap: wrap; margin-bottom: 17px; }
  .route-items, .two-fields { gap: 7px; }
  .two-fields, .greetings { grid-template-columns: 1fr; gap: 12px; }
  .route { padding: 8px; gap: 6px; }
  .route-icon { flex-basis: 27px; width: 27px; height: 27px; font-size: 18px; }
  .editor-heading, .editor-fields, .editor-footer { padding-inline: 13px; }
  .editor-heading { flex-wrap: wrap; }
  .editor-heading-actions { justify-content: flex-start; }
  .editor-heading p { display: none; }
  .editor-actions { gap: 6px; }
  .editor-footer .button { padding-inline: 9px; }
}
@media (max-width: 360px) {
  .sidebar { padding-inline: 10px; }
}
