/* [next]/internal/font/google/inter_c15e96cb.module.css [app-client] (css) */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/2c55a0e60120577a-s.0-dom-5bn10r2.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/9c72aa0f40e4eef8-s.1y4-pdgsjb-pw.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/ad66f9afd8947f86-s.3lvt2whj97whp.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/5476f68d60460930-s.2uwcyprjm3xu3.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/2bbe8d2671613f1f-s.0k62hbripvv8p.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/1bffadaabf893a1e-s.3-6t-g6q0vh0a.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/83afe278b6a6bb3c-s.p.2bn3s6zvc0dyp.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter Fallback;
  src: local(Arial);
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0.0%;
  size-adjust: 107.12%;
}

.inter_c15e96cb-module__0bjUvq__className {
  font-family: Inter, Inter Fallback;
  font-style: normal;
}

.inter_c15e96cb-module__0bjUvq__variable {
  --font-inter: "Inter", "Inter Fallback";
}

/* [project]/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-border-style: solid;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: var(--font-inter);
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --radius-2xl: 1rem;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .visible {
    visibility: visible;
  }

  .sr-only {
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }

  .fixed {
    position: fixed;
  }

  .static {
    position: static;
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .table {
    display: table;
  }

  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }

  .rounded-full {
    border-radius: 3.40282e38px;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}

:root {
  --brand: #0079c8;
  --brand-hover: #06a;
  --brand-soft: #eaf6fd;
  --link: #00558d;
  --focus: #00558d;
  --navy: #0d1846;
  --navy-2: #16275d;
  --teal: #148a8a;
  --teal-soft: #e9f6f5;
  --canvas: #f3f6f8;
  --surface: #fff;
  --surface-subtle: #f8fafc;
  --text: #0d1846;
  --muted: #526579;
  --border: #d9e3ea;
  --success: #087a4b;
  --success-bg: #e5f5ec;
  --warning: #8b5b00;
  --warning-bg: #fff3d6;
  --danger: #c7222a;
  --danger-bg: #fff0f1;
  --shadow: 0 12px 32px #0d184614;
  --sidebar: 218px;
  --topbar: 58px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--text);
  background: var(--canvas);
  font-family: var(--font-inter), "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button, a, select {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

::selection {
  color: var(--navy);
  background: #bfe3f7;
}

.skip-link {
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 700;
  position: fixed;
  top: -80px;
  left: 12px;
}

.skip-link:focus {
  top: 12px;
}

.app-shell {
  min-height: 100dvh;
}

.sidebar {
  z-index: 30;
  width: var(--sidebar);
  background: var(--surface);
  border-right: 1px solid var(--border);
  flex-direction: column;
  padding: 18px 10px 14px;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
}

.brand {
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 4px 16px 19px;
  display: flex;
}

.brand-icon {
  color: var(--brand);
  flex: none;
}

.brand-copy strong {
  letter-spacing: -.45px;
  font-size: 19px;
  display: block;
}

.brand-copy small {
  color: var(--brand);
  font-size: 10px;
  display: block;
}

.nav {
  gap: 4px;
  margin-top: 16px;
  display: grid;
}

.nav-link {
  color: #172346;
  border-radius: 9px;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 15px;
  font-weight: 500;
  display: flex;
  position: relative;
}

.nav-link:hover {
  background: var(--surface-subtle);
  color: var(--link);
}

.nav-link.active {
  color: var(--link);
  background: var(--brand-soft);
  font-weight: 700;
}

.nav-link.active:before {
  content: "";
  background: var(--brand);
  border-radius: 0 4px 4px 0;
  width: 5px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -10px;
}

.nav-link svg {
  flex: none;
}

.sidebar-footer {
  border-top: 1px solid var(--border);
  margin-top: auto;
  padding: 14px 8px 0;
}

.business-mini {
  color: #33405f;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 11px;
  display: flex;
}

.topbar {
  z-index: 20;
  left: var(--sidebar);
  height: var(--topbar);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
}

@supports (color: color-mix(in lab, red, red)) {
  .topbar {
    background: color-mix(in srgb, var(--surface) 96%, transparent);
  }
}

.business-switcher {
  background: none;
  border: 0;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 5px;
  font-weight: 600;
  display: flex;
}

.top-divider {
  background: var(--border);
  width: 1px;
  height: 24px;
}

.icon-button {
  width: 44px;
  height: 44px;
  color: var(--navy);
  background: none;
  border: 0;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.icon-button:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.theme-icon-dark, html[data-theme="dark"] .theme-icon-light {
  display: none;
}

html[data-theme="dark"] .theme-icon-dark {
  display: block;
}

.avatar {
  background: var(--brand-soft);
  width: 36px;
  height: 36px;
  color: var(--navy);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
}

.mobile-menu, .backdrop {
  display: none;
}

.main {
  margin-left: var(--sidebar);
  padding-top: var(--topbar);
  min-height: 100dvh;
}

.page {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 30px 36px 36px;
}

.page.compact {
  padding-top: 18px;
}

.page-header {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
  display: flex;
}

.page-title {
  color: var(--navy);
  letter-spacing: -1.2px;
  margin: 0;
  font-size: clamp(28px, 2.4vw, 36px);
  line-height: 1.1;
}

.page-subtitle {
  color: var(--muted);
  margin: 8px 0 0;
}

.header-actions {
  align-items: center;
  gap: 10px;
  display: flex;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.card-shadow {
  box-shadow: var(--shadow);
}

.card-header {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  display: flex;
}

.card-title {
  letter-spacing: -.2px;
  margin: 0;
  font-size: 15px;
  font-weight: 750;
}

.card-body {
  padding: 18px;
}

.muted {
  color: var(--muted);
}

.tiny {
  font-size: 11px;
}

.strong {
  font-weight: 700;
}

.blue {
  color: var(--link);
}

.teal {
  color: var(--teal);
}

.danger {
  color: var(--danger);
}

.nowrap {
  white-space: nowrap;
}

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

.button {
  border: 1px solid #0000;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 17px;
  font-weight: 700;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
  display: inline-flex;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--navy);
}

.button-primary:hover {
  background: var(--navy-2);
}

.button-brand {
  color: #fff;
  background: var(--brand);
}

.button-brand:hover {
  background: var(--brand-hover);
}

.button-outline {
  color: var(--brand);
  background: var(--surface);
  border-color: var(--brand);
}

.button-outline:hover {
  background: var(--brand-soft);
}

.button-quiet {
  color: var(--navy);
  background: var(--surface);
  border-color: var(--border);
}

.button-quiet:hover {
  background: var(--surface-subtle);
  border-color: #aabecd;
}

.button-danger {
  color: var(--danger);
  background: var(--surface);
  border-color: #ee4b52;
}

.button-danger:hover {
  background: var(--danger-bg);
}

.button-block {
  width: 100%;
}

.tabs {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 9px;
  min-height: 44px;
  display: inline-flex;
  overflow: hidden;
}

.tab {
  min-width: 112px;
  color: var(--navy);
  border-right: 1px solid var(--border);
  justify-content: center;
  align-items: center;
  padding: 0 18px;
  font-weight: 600;
  display: inline-flex;
}

.tab:last-child {
  border-right: 0;
}

.tab:hover {
  background: var(--surface-subtle);
}

.tab.active {
  color: #fff;
  background: var(--brand);
}

.tabs.compact .tab {
  min-width: 86px;
}

.badge {
  white-space: nowrap;
  border-radius: 7px;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  font-size: 12px;
  display: inline-flex;
}

.badge.success {
  color: var(--success);
  background: var(--success-bg);
}

.badge.info {
  color: #0068be;
  background: #e5f2fc;
}

.badge.warning {
  color: var(--warning);
  background: var(--warning-bg);
}

.badge.neutral {
  color: #516078;
  background: #edf1f5;
}

.badge.violet {
  color: #5941b2;
  background: #eeeafe;
}

.badge.danger {
  color: var(--danger);
  background: var(--danger-bg);
}

.field {
  gap: 6px;
  display: grid;
}

.field > label, .label {
  font-size: 11px;
  font-weight: 700;
}

.input, .select, .textarea {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 7px;
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
}

.textarea {
  resize: vertical;
  min-height: 86px;
  padding-top: 10px;
}

.input::placeholder, .textarea::placeholder {
  color: var(--muted);
}

.input-wrap {
  position: relative;
}

.input-wrap svg {
  color: #60708f;
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

.input-wrap .input {
  padding-left: 39px;
}

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

.inline-fields {
  align-items: flex-end;
  gap: 12px;
  display: flex;
}

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

.data-table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
}

.data-table th {
  border-bottom: 1px solid var(--border);
  background: var(--surface-subtle);
  white-space: nowrap;
  height: 46px;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 750;
}

.data-table td {
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  height: 58px;
  padding: 0 14px;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: var(--surface-subtle);
}

.data-table tbody tr.selected {
  background: #eef7fd;
}

.table-link {
  margin: 0 -14px;
  padding: 20px 14px;
  font-weight: 600;
  display: block;
}

.checkbox {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  accent-color: var(--brand);
  margin: 0;
  padding: 11px;
}

.empty-state {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 190px;
  padding: 22px;
  display: flex;
}

.empty-icon {
  width: 58px;
  height: 58px;
  color: var(--muted);
  background: var(--brand-soft);
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  display: flex;
}

.empty-state h3 {
  margin: 0 0 5px;
  font-size: 14px;
}

.empty-state p {
  max-width: 310px;
  color: var(--muted);
  margin: 0;
  font-size: 12px;
}

.drawer-layout {
  grid-template-columns: minmax(0, 1fr) 400px;
  align-items: stretch;
  gap: 16px;
  display: grid;
}

.drawer {
  top: calc(var(--topbar) + 15px);
  max-height: calc(100dvh - var(--topbar) - 30px);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 12px;
  position: sticky;
  overflow-y: auto;
}

.drawer-top {
  z-index: 3;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  padding: 0 18px;
  display: flex;
  position: sticky;
  top: 0;
}

.drawer-top h2 {
  margin: 0;
  font-size: 21px;
}

.drawer-section {
  border-bottom: 1px solid var(--border);
  padding: 17px 18px;
}

.drawer-section:last-child {
  border-bottom: 0;
}

.drawer-tabs {
  border-bottom: 1px solid var(--border);
  min-height: 48px;
  display: flex;
  overflow-x: auto;
}

.drawer-tab {
  white-space: nowrap;
  align-items: center;
  padding: 0 14px;
  display: inline-flex;
  position: relative;
}

.drawer-tab.active {
  color: var(--brand);
  font-weight: 700;
}

.drawer-tab.active:after {
  content: "";
  background: var(--brand);
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
}

.detail-row {
  border-bottom: 1px solid var(--border);
  grid-template-columns: 26px 94px 1fr 30px;
  align-items: center;
  gap: 6px;
  min-height: 50px;
  display: grid;
}

.detail-row:last-child {
  border-bottom: 0;
}

.detail-row .label-text {
  color: var(--muted);
}

.detail-row > a {
  align-items: center;
  min-height: 44px;
  display: flex;
}

.timeline {
  gap: 13px;
  display: grid;
}

.timeline-item {
  grid-template-columns: 34px 1fr auto;
  align-items: start;
  gap: 8px;
  display: grid;
}

.timeline-icon {
  width: 32px;
  height: 32px;
  color: var(--brand);
  background: var(--surface);
  border: 1px solid #9acbef;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.timeline-item p {
  margin: 0;
}

.modal-backdrop {
  z-index: 50;
  background: #0d18466b;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: fixed;
  inset: 0;
}

.modal {
  background: var(--surface);
  border-radius: 14px;
  width: min(560px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  box-shadow: 0 24px 70px #0d184640;
}

.modal-header, .modal-footer {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 20px;
  display: flex;
}

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

.modal-body {
  padding: 20px;
}

.loading {
  justify-content: center;
  align-items: center;
  min-height: 70dvh;
  display: flex;
}

.spinner {
  border: 3px solid #cfe7f6;
  border-top-color: var(--brand);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  animation: .8s linear infinite spin;
}

.toast {
  z-index: 90;
  color: #fff;
  background: var(--success);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  border-radius: 9px;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  transition: opacity .18s, transform .18s;
  display: flex;
  position: fixed;
  bottom: 24px;
  right: 24px;
  transform: translateY(12px);
}

.toast.show {
  opacity: 1;
  transform: none;
}

.chart-wrap {
  min-width: 0;
}

.chart-canvas {
  width: 100%;
  min-height: 250px;
}

.chart-summary {
  color: var(--muted);
  margin: 0 18px 14px;
  font-size: 12px;
}

.chart-summary summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 700;
}

.chart-summary table {
  border-collapse: collapse;
  margin-top: 8px;
}

.chart-summary th, .chart-summary td {
  text-align: left;
  padding: 4px 16px 4px 0;
}

.chart-placeholder {
  background: #e7eef3;
  border-radius: 8px;
  height: 250px;
  margin: 16px;
  animation: 1.2s ease-in-out infinite pulse;
}

.metrics-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
  display: grid;
}

.metric-card {
  grid-template-columns: 43px 1fr;
  align-content: start;
  gap: 8px 10px;
  min-height: 112px;
  padding: 16px 13px;
  display: grid;
}

.metric-icon {
  width: 43px;
  height: 43px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.metric-card p {
  margin: 1px 0 2px;
  font-size: 11px;
  font-weight: 650;
}

.metric-card strong {
  letter-spacing: -.5px;
  font-size: 22px;
  line-height: 1.15;
  display: block;
}

.metric-change {
  color: var(--muted);
  grid-column: 1 / -1;
  font-size: 10px;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1fr) 232px;
  gap: 14px;
  display: grid;
}

.dashboard-main-grid {
  grid-template-columns: 1.15fr .95fr;
  gap: 14px;
  min-width: 0;
  display: grid;
}

.chart-card {
  min-width: 0;
}

.calls-card {
  grid-column: 1 / -1;
}

.dashboard-aside {
  align-content: start;
  gap: 14px;
  display: grid;
}

.system-list {
  padding: 2px 13px 6px;
}

.system-row {
  border-bottom: 1px solid var(--border);
  grid-template-columns: 45px 1fr;
  gap: 9px;
  padding: 12px 0;
  display: grid;
}

.system-row:last-child {
  border-bottom: 0;
}

.system-icon {
  width: 43px;
  height: 43px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.system-row > div {
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  min-width: 0;
  display: flex;
}

.system-row strong, .system-row small, .system-row div > span:not(.badge) {
  flex: 0 0 100%;
}

.system-row strong {
  font-size: 12px;
}

.system-row small {
  color: var(--muted);
  font-size: 10px;
}

.call-person {
  min-height: 44px;
  color: var(--navy);
  align-items: center;
  gap: 10px;
  font-weight: 600;
  display: flex;
}

.call-person svg {
  color: var(--brand);
}

.row-arrow {
  width: 44px;
  height: 44px;
  color: var(--navy);
  justify-content: center;
  align-items: center;
  display: flex;
}

.all-link {
  min-height: 44px;
  color: var(--link);
  border-top: 1px solid var(--border);
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.agenda-page {
  max-width: 1480px;
}

.agenda-main {
  min-width: 0;
}

.agenda-toolbar {
  pointer-events: none;
  justify-items: center;
  gap: 18px;
  margin-top: -71px;
  margin-bottom: 16px;
  display: grid;
  position: relative;
}

.agenda-toolbar > * {
  pointer-events: auto;
}

.date-navigation {
  border-top: 1px solid var(--border);
  grid-template-columns: 44px 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-top: 14px;
  display: grid;
}

.date-navigation h2 {
  text-align: center;
  margin: 0;
  font-size: 20px;
}

.calendar-nav {
  border: 1px solid var(--border);
  background: var(--surface);
}

.week-calendar {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  grid-template-rows: 54px 660px;
  grid-template-columns: 52px repeat(5, minmax(112px, 1fr));
  min-width: 650px;
  display: grid;
  position: relative;
  overflow-x: auto;
}

.week-corner {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  grid-area: 1 / 1;
}

.week-day {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
}

.week-day:last-of-type {
  border-right: 0;
}

.week-day span {
  font-size: 11px;
}

.week-day.today {
  color: var(--brand);
}

.hour-labels {
  grid-area: 2 / 1;
  grid-template-rows: repeat(11, 60px);
  display: grid;
}

.hour-labels span {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 11px 6px;
  font-size: 12px;
}

.week-slots {
  grid-area: 2 / 2 / auto / 7;
  grid-template-rows: repeat(11, 60px);
  grid-template-columns: repeat(5, 1fr);
  display: grid;
}

.week-slots span {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.week-slots span:nth-child(5n) {
  border-right: 0;
}

.week-slots .unavailable {
  background-color: var(--surface-subtle);
}

.appointment-layer {
  pointer-events: none;
  grid-template-rows: repeat(11, 60px);
  grid-template-columns: repeat(5, 1fr);
  height: 660px;
  display: grid;
  position: absolute;
  top: 54px;
  left: 52px;
  right: 0;
}

.appointment {
  z-index: 2;
  border: 1px solid var(--brand);
  align-self: stretch;
  margin: 3px 5px;
  padding: 6px 8px;
  overflow: hidden;
}

@supports (color: color-mix(in lab, red, red)) {
  .appointment {
    border: 1px solid color-mix(in srgb, var(--brand) 55%, var(--border));
  }
}

.appointment {
  color: var(--navy);
  background: var(--brand-soft);
  pointer-events: auto;
  border-radius: 5px;
}

.appointment:hover, .appointment.selected {
  border: 2px solid var(--brand);
  background: var(--brand);
  padding: 5px 7px;
}

@supports (color: color-mix(in lab, red, red)) {
  .appointment:hover, .appointment.selected {
    background: color-mix(in srgb, var(--brand) 22%, var(--surface));
  }
}

.appointment span {
  color: var(--link);
  font-size: 10px;
  display: block;
}

.appointment strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
  font-size: 11px;
  display: block;
  overflow: hidden;
}

.month-calendar {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  grid-template-columns: repeat(7, 1fr);
  display: grid;
  overflow: hidden;
}

.month-heading {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  min-height: 42px;
  padding: 12px;
  font-size: 11px;
  font-weight: 700;
}

.month-day {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-height: 112px;
  padding: 8px;
}

.month-day.outside {
  background: var(--surface-subtle);
}

.month-day-link {
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  min-width: 28px;
  min-height: 28px;
  display: inline-flex;
  position: relative;
}

.month-day.current .month-day-link {
  color: #fff;
  background: var(--brand);
}

.month-day.selected:not(.current) .month-day-link {
  color: var(--link);
  box-shadow: inset 0 0 0 2px var(--brand);
}

.month-dot {
  background: currentColor;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
}

.month-appointment {
  min-height: 44px;
  color: var(--link);
  background: var(--brand-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 4px;
  align-items: center;
  margin-top: 6px;
  padding: 4px 5px;
  font-size: 10px;
  display: flex;
  overflow: hidden;
}

.mobile-day-list {
  display: none;
}

.agenda-drawer .drawer-top {
  align-items: flex-start;
  padding-block: 18px;
}

.agenda-drawer .drawer-top h2 {
  color: var(--brand);
  font-size: 25px;
}

.agenda-drawer .drawer-top p {
  margin: 4px 0 0;
  font-size: 16px;
}

.appointment-summary {
  padding-block: 0;
}

.appointment-summary > div {
  border-bottom: 1px solid var(--border);
  grid-template-columns: 26px 96px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  display: grid;
}

.appointment-summary > div:last-child {
  border-bottom: 0;
}

.appointment-summary > div > strong {
  font-size: 12px;
}

.drawer-section-title {
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 14px;
  display: flex;
}

.notes-box {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
}

.notes-box p {
  margin: 0 0 10px;
}

.notes-box p:last-child {
  margin: 0;
}

.reschedule-grid {
  grid-template-columns: 1.1fr .9fr;
  gap: 10px;
  display: grid;
}

.reschedule-grid .field > span {
  align-items: center;
  gap: 6px;
  display: flex;
}

.quick-times {
  border: 0;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
}

.quick-times button {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 7px;
  min-height: 44px;
  font-size: 10px;
}

.quick-times button:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.drawer-actions {
  border-top: 1px solid var(--border);
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  display: grid;
}

.form-stack {
  gap: 16px;
  display: grid;
}

.form-grid.two {
  grid-template-columns: 1fr 1fr;
}

.drawer-top-actions {
  align-items: center;
  display: flex;
}

.icon-button.mini {
  width: 44px;
  height: 44px;
}

.contact-filters {
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(110px, .65fr)) auto;
  gap: 10px;
  margin-bottom: 16px;
  display: grid;
}

.contacts-table-card {
  flex-direction: column;
  min-height: calc(100dvh - 190px);
  display: flex;
}

.contacts-table-card .table-wrap {
  flex: 1;
}

.contacts-table td {
  height: 72px;
  font-size: 12px;
}

.table-footer {
  border-top: 1px solid var(--border);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 0 16px;
  font-size: 11px;
  display: grid;
}

.table-footer nav {
  align-items: center;
  gap: 6px;
  display: flex;
}

.current-page {
  border: 1px solid var(--brand);
  width: 38px;
  height: 38px;
  color: var(--brand);
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  display: flex;
}

.page-size {
  justify-self: end;
  width: 120px;
  min-height: 44px;
}

.contact-details {
  padding-top: 0;
}

.next-appointment > strong, .section-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  display: block;
}

.next-appointment > a {
  border: 1px solid var(--border);
  border-radius: 8px;
  grid-template-columns: 34px 1fr 20px;
  align-items: center;
  gap: 8px;
  padding: 12px;
  display: grid;
}

.next-appointment svg {
  color: var(--brand);
}

.next-appointment b {
  margin-bottom: 5px;
  font-size: 12px;
  display: block;
}

.next-appointment small {
  color: var(--muted);
}

.tag-cloud {
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  display: flex;
}

.saved-note {
  border: 1px solid var(--border);
  border-radius: 8px;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  margin-bottom: 20px;
  padding: 12px;
  display: grid;
}

.saved-note svg {
  color: var(--brand);
}

.saved-note p {
  margin: 5px 0;
}

.saved-note small {
  color: var(--muted);
}

.conversation-layout {
  grid-template-columns: minmax(420px, .82fr) minmax(480px, 1.18fr);
  align-items: start;
  gap: 16px;
  display: grid;
}

.conversation-filters {
  border-bottom: 1px solid var(--border);
  grid-template-columns: 1fr 180px auto;
  gap: 9px;
  padding: 14px;
  display: grid;
}

.conversation-list {
  overflow: hidden;
}

.conversation-rows {
  min-height: 420px;
}

.conversation-row {
  border-bottom: 1px solid var(--border);
  grid-template-columns: 42px minmax(120px, 1fr) 104px auto;
  align-items: center;
  gap: 10px;
  min-height: 82px;
  padding: 10px 14px;
  display: grid;
}

.conversation-row:hover, .conversation-row.selected {
  background: var(--brand-soft);
}

.call-avatar {
  width: 40px;
  height: 40px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.conversation-person, .conversation-date {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.conversation-person strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.conversation-person small, .conversation-date small {
  color: var(--muted);
}

.conversation-date {
  text-align: right;
  font-size: 11px;
}

.conversation-placeholder {
  top: calc(var(--topbar) + 30px);
  min-height: 470px;
  position: sticky;
}

.call-detail {
  overflow: hidden;
}

.call-detail-header {
  border-bottom: 1px solid var(--border);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 70px;
  padding: 0 16px;
  display: grid;
}

.call-detail-header h2 {
  margin: 0;
  font-size: 20px;
}

.call-detail-header p {
  color: var(--muted);
  margin: 3px 0 0;
  font-size: 11px;
}

.call-overview {
  border-bottom: 1px solid var(--border);
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 14px 18px;
  display: grid;
}

.call-overview > div {
  align-items: center;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.call-overview svg {
  color: var(--brand);
}

.call-overview span {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.call-overview small {
  color: var(--muted);
  font-size: 10px;
}

.audio-card {
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  border-radius: 10px;
  grid-template-columns: 1fr 44px;
  align-items: center;
  gap: 10px;
  margin: 16px 18px;
  padding: 10px;
  display: grid;
}

.audio-card audio {
  width: 100%;
  min-height: 44px;
  accent-color: var(--brand);
}

.call-summary {
  border-left: 4px solid var(--teal);
  background: var(--teal-soft);
  border-radius: 0 8px 8px 0;
  margin: 0 18px 16px;
  padding: 14px;
}

.call-summary h3 {
  margin: 0 0 7px;
  font-size: 13px;
}

.call-summary p {
  margin: 0 0 10px;
}

.summary-tags {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.transcript-section {
  border-top: 1px solid var(--border);
  padding: 16px 18px 22px;
}

.transcript-heading {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.transcript-heading h3 {
  margin: 0;
}

.transcript-heading span {
  color: var(--muted);
  align-items: center;
  gap: 5px;
  font-size: 10px;
  display: flex;
}

.transcript-list {
  gap: 15px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.transcript-list li {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  display: grid;
}

.speaker-icon {
  width: 28px;
  height: 28px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.transcript-list li.user .speaker-icon {
  color: var(--teal);
  background: var(--teal-soft);
}

.transcript-list li > div > p {
  gap: 9px;
  margin: 0 0 5px;
  font-size: 11px;
  display: flex;
}

.transcript-list time {
  color: var(--muted);
}

.bubble {
  background: var(--surface-subtle);
  border-radius: 4px 10px 10px;
  padding: 10px 12px;
}

.transcript-list .user .bubble {
  background: var(--teal-soft);
}

.studio-page {
  max-width: 1500px;
}

.studio-title {
  margin: 0 0 12px;
  font-size: 30px;
}

.studio-form {
  gap: 8px;
  display: grid;
}

.studio-section {
  overflow: hidden;
}

.studio-section > header {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  display: flex;
}

.studio-section > header h2 {
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 16px;
  display: flex;
}

.studio-section > header span {
  color: var(--muted);
  font-size: 10px;
}

.studio-content {
  padding: 9px 16px 10px;
}

.studio-content .input, .studio-content .select {
  height: 44px;
  min-height: 44px;
  font-size: 11px;
}

.personality-grid {
  grid-template-columns: 1fr 1fr 1fr 1.05fr;
  gap: 8px 24px;
  display: grid;
}

.greeting-field, .prompt-mode {
  grid-column: span 2;
}

.prompt-mode .tabs {
  min-height: 44px;
  margin-top: 6px;
  display: flex;
}

.prompt-mode .tab {
  min-width: 140px;
  min-height: 44px;
  font-size: 11px;
}

.prompt-state {
  grid-column: span 2;
  justify-content: space-around;
  align-items: flex-end;
  padding-bottom: 2px;
  display: flex;
}

.generated {
  border: 1px solid var(--border);
  min-height: 29px;
  color: var(--success);
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font-size: 11px;
  display: inline-flex;
}

.generated i, .pending-state i {
  background: var(--success);
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.custom-prompt {
  padding: 0 16px 12px;
}

.model-cards {
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 14px;
  padding: 8px 16px;
  display: grid;
}

.model-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 0;
  padding: 8px;
}

.model-card > header {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.model-card h3 {
  margin: 0;
  font-size: 12px;
}

.model-card .badge {
  min-height: 20px;
  padding: 1px 7px;
  font-size: 9px;
}

.model-fields {
  gap: 10px;
  margin-top: 6px;
  display: flex;
}

.model-fields .field {
  flex: 1;
}

.model-fields .field > span:first-child {
  font-size: 9px;
}

.model-input {
  border: 1px solid var(--border);
  border-radius: 5px;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 9px;
  font-size: 10px;
  display: flex;
}

.model-card > small {
  color: var(--muted);
  text-align: right;
  margin-top: 5px;
  font-size: 8px;
  display: block;
}

.model-estimates {
  grid-template-columns: 1fr 1fr;
  padding: 0 16px 8px;
  display: grid;
}

.estimate {
  border: 1px solid var(--border);
  min-width: 0;
  padding: 8px 14px;
}

.estimate:first-child {
  border-radius: 8px 0 0 8px;
}

.estimate:last-child {
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.estimate-title {
  justify-content: space-between;
  display: flex;
}

.estimate-title strong {
  font-size: 12px;
}

.estimate-title span {
  font-size: 17px;
}

.estimate-bar {
  gap: 2px;
  height: 16px;
  margin-top: 4px;
  display: flex;
}

.estimate-bar i {
  background: var(--brand);
  border-radius: 3px;
}

.estimate-bar i:nth-child(2) {
  background: var(--navy);
}

.estimate-bar i:nth-child(3) {
  background: var(--teal);
}

.estimate-labels {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
  display: grid;
}

.estimate-labels > span {
  grid-template-columns: 7px 1fr;
  align-items: center;
  column-gap: 6px;
  font-size: 9px;
  display: grid;
}

.estimate-labels i {
  background: var(--brand);
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.estimate-labels span:nth-child(2) i {
  background: var(--navy);
}

.estimate-labels span:nth-child(3) i {
  background: var(--teal);
}

.estimate-labels small {
  color: var(--muted);
  grid-column: 2;
}

.estimate-note {
  color: var(--muted);
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 5px 16px 8px;
  font-size: 9px;
  display: flex;
}

.studio-accordions {
  gap: 2px;
  display: grid;
}

.accordion {
  border-radius: 7px;
  overflow: hidden;
}

.accordion summary {
  cursor: pointer;
  grid-template-columns: 1fr auto 20px;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  list-style: none;
  display: grid;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary > span {
  align-items: center;
  gap: 9px;
  font-weight: 700;
  display: flex;
}

.accordion summary small {
  color: var(--muted);
}

.accordion[open] summary svg:last-child {
  transform: rotate(90deg);
}

.accordion-content {
  border-top: 1px solid var(--border);
  gap: 10px;
  padding: 12px 16px;
  display: grid;
}

.service-list {
  grid-template-columns: repeat(3, 1fr);
}

.service-list label {
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  display: grid;
}

.service-list input {
  accent-color: var(--brand);
}

.service-list span {
  color: var(--muted);
  font-size: 10px;
}

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

.schedule-list > div {
  grid-template-columns: 80px 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  display: grid;
}

.schedule-list .input {
  min-height: 44px;
}

.studio-footer {
  z-index: 8;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 9px;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  padding: 8px 16px;
  display: flex;
  position: sticky;
  bottom: 0;
}

@supports (color: color-mix(in lab, red, red)) {
  .studio-footer {
    background: color-mix(in srgb, var(--surface) 97%, transparent);
  }
}

.studio-footer {
  box-shadow: 0 -8px 20px #0d18460d;
}

.studio-footer > div {
  gap: 18px;
  display: flex;
}

.pending-state {
  align-items: center;
  gap: 10px;
  display: flex;
}

.pending-state i {
  background: var(--brand);
}

.access-wrap {
  background: var(--surface);
  grid-template-columns: 1.05fr .95fr;
  min-height: 100dvh;
  display: grid;
}

.access-brand-panel {
  color: #fff;
  background: var(--navy);
  flex-direction: column;
  justify-content: space-between;
  min-height: 100dvh;
  padding: 54px clamp(34px, 6vw, 90px);
  display: flex;
}

.access-brand {
  align-items: center;
  gap: 11px;
  font-size: 22px;
  display: flex;
}

.access-brand > svg, .mobile-access-brand > svg {
  color: #55b6ec;
}

.access-brand-panel .eyebrow {
  color: #9fd7f5;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 18px;
  font-weight: 700;
  display: inline-block;
}

.access-brand-panel h1 {
  letter-spacing: -2px;
  max-width: 630px;
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.05;
}

.access-brand-panel p {
  color: #c8d3ec;
  max-width: 560px;
  font-size: 17px;
}

.access-brand-panel ul {
  color: #d9e3f4;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.access-brand-panel li {
  align-items: center;
  gap: 8px;
  display: flex;
}

.access-form-panel {
  background: var(--canvas);
  justify-content: center;
  align-items: center;
  padding: 30px;
  display: flex;
}

.access-card {
  width: min(420px, 100%);
}

.access-card h1, .access-card h2 {
  letter-spacing: -1px;
  margin: 0;
  font-size: 31px;
}

.mobile-access-title, .mobile-access-brand {
  display: none;
}

.access-form {
  gap: 18px;
  margin-top: 30px;
  display: grid;
}

.access-form-wrap {
  margin-top: 28px;
}

.access-form-wrap .access-form {
  margin-top: 18px;
}

.access-tabs {
  width: 100%;
}

.access-tabs .tab {
  border: 0;
  flex: 1;
}

.auth-error {
  border: 1px solid var(--danger);
  margin-top: 14px;
  padding: 11px 13px;
}

@supports (color: color-mix(in lab, red, red)) {
  .auth-error {
    border: 1px solid color-mix(in srgb, var(--danger) 45%, var(--border));
  }
}

.auth-error {
  color: var(--danger);
  background: var(--danger-bg);
  border-radius: 7px;
}

.field-error {
  color: var(--danger);
  margin-top: 4px;
  font-size: 11px;
  display: block;
}

.password-hint {
  color: var(--muted);
  margin: -8px 0 0;
  font-size: 11px;
}

.password-field {
  display: block;
  position: relative;
}

.password-field .input {
  padding-right: 52px;
}

.password-field .icon-button {
  position: absolute;
  top: 0;
  right: 1px;
}

.access-options {
  justify-content: flex-end;
  gap: 16px;
  font-size: 12px;
  display: flex;
}

.access-options label, .access-options a {
  align-items: center;
  gap: 7px;
  min-height: 44px;
  display: flex;
}

.access-options input {
  accent-color: var(--brand);
}

.access-options a, .access-help a {
  color: var(--link);
  font-weight: 700;
}

.access-help {
  color: var(--muted);
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
}

.access-help a {
  align-items: center;
  min-height: 44px;
  display: inline-flex;
}

.connection-grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  display: grid;
}

.connection-card {
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 15px;
  min-height: 132px;
  padding: 20px;
  display: grid;
}

.connection-icon {
  width: 56px;
  height: 56px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.connection-copy > div {
  align-items: center;
  gap: 9px;
  display: flex;
}

.connection-copy h2 {
  margin: 0;
  font-size: 17px;
}

.connection-copy p {
  color: var(--muted);
  margin: 6px 0;
}

.connection-copy small {
  color: var(--muted);
}

.security-note {
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 18px 20px;
  display: grid;
}

.security-note > svg {
  color: var(--success);
}

.security-note h2 {
  margin: 0;
  font-size: 14px;
}

.security-note p {
  color: var(--muted);
  margin: 3px 0 0;
}

.security-note a {
  min-height: 44px;
  color: var(--link);
  align-items: center;
  font-weight: 700;
  display: inline-flex;
}

.connection-modal-status {
  background: var(--brand-soft);
  border-radius: 9px;
  align-items: center;
  gap: 14px;
  padding: 14px;
  display: flex;
}

.connection-modal-status > svg {
  color: var(--brand);
}

.connection-modal-status p {
  margin: 5px 0 0;
}

.info-callout {
  color: #3f5875;
  background: #f0f6fa;
  border-radius: 7px;
  gap: 8px;
  margin: 0;
  padding: 10px;
  display: flex;
}

.profile-grid {
  grid-template-columns: minmax(480px, 1.15fr) minmax(340px, .85fr);
  align-items: start;
  gap: 16px;
  display: grid;
}

.profile-card {
  overflow: hidden;
}

.profile-identity {
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: 17px;
  padding: 22px;
  display: flex;
}

.profile-avatar {
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 68px;
  height: 68px;
  font-size: 21px;
  font-weight: 800;
  display: flex;
}

.profile-identity h2 {
  margin: 0;
}

.profile-identity p {
  color: var(--muted);
  margin: 3px 0 8px;
}

.form-actions {
  justify-content: flex-end;
  display: flex;
}

.profile-side {
  gap: 12px;
  display: grid;
}

.profile-option {
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 11px;
  min-height: 84px;
  padding: 15px;
  display: grid;
}

.profile-option > span:first-child {
  width: 42px;
  height: 42px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.profile-option h2 {
  margin: 0;
  font-size: 14px;
}

.profile-option p {
  color: var(--muted);
  margin: 3px 0 0;
  font-size: 11px;
}

.switch {
  width: 46px;
  height: 44px;
  display: block;
  position: relative;
}

.switch input {
  opacity: 0;
  margin: 0;
  position: absolute;
  inset: 0;
}

.switch span {
  background: #b8c5d0;
  border-radius: 20px;
  position: absolute;
  inset: 9px 0;
}

.switch span:after {
  content: "";
  background: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  transition: transform .15s;
  position: absolute;
  top: 3px;
  left: 3px;
}

.switch input:checked + span {
  background: var(--brand);
}

.switch input:checked + span:after {
  transform: translateX(20px);
}

.sessions-card p {
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.webhook-endpoint {
  grid-template-columns: 32px 1fr 44px auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 13px 16px;
  display: grid;
}

.webhook-endpoint > svg {
  color: var(--brand);
}

.webhook-endpoint > div {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.webhook-endpoint span {
  color: var(--muted);
  font-size: 10px;
}

.webhook-endpoint code {
  text-overflow: ellipsis;
  overflow: hidden;
}

.webhook-filters {
  gap: 10px;
  margin-bottom: 14px;
  display: flex;
}

.webhook-filters .select {
  max-width: 220px;
}

.webhooks-page code {
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 11px;
}

.payload-preview {
  margin-top: 14px;
  overflow: hidden;
}

.payload-preview summary {
  cursor: pointer;
  min-height: 48px;
  padding: 14px 16px;
  font-weight: 700;
}

.payload-preview pre {
  color: #dbe7ff;
  background: var(--navy);
  margin: 0;
  padding: 16px;
  overflow-x: auto;
}

html[data-theme="dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --brand: #35a8e6;
  --brand-hover: #73c1ed;
  --brand-soft: #112f4d;
  --link: #73c1ed;
  --focus: #73c1ed;
  --navy: #f7fbff;
  --navy-2: #dbeeff;
  --teal: #50c7c1;
  --teal-soft: #143b41;
  --canvas: #07111f;
  --surface: #0d1a2d;
  --surface-subtle: #132239;
  --text: #f7fbff;
  --muted: #a8b8c8;
  --border: #26374d;
  --success: #6cdb9e;
  --success-bg: #123c2d;
  --warning: #ffd278;
  --warning-bg: #493815;
  --danger: #ff9298;
  --danger-bg: #4b222b;
  --shadow: 0 12px 32px #00000047;
}

html[data-theme="dark"] .nav-link, html[data-theme="dark"] .business-mini {
  color: var(--text);
}

html[data-theme="dark"] .nav-link.active {
  color: var(--link);
  background: var(--brand-soft);
}

html[data-theme="dark"] .button-primary {
  color: #fff;
  background: #0079c8;
}

html[data-theme="dark"] .access-brand-panel, html[data-theme="dark"] .payload-preview pre {
  background: #0d1846;
}

.texture-stripes {
  background-color: var(--surface-subtle);
}

@keyframes pulse {
  50% {
    opacity: .5;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  :root {
    --sidebar: 82px;
  }

  .brand {
    justify-content: center;
    padding-inline: 4px;
  }

  .brand-copy, .nav-link span, .business-mini span {
    display: none;
  }

  .nav-link {
    justify-content: center;
    padding: 0;
  }

  .nav-link.active:before {
    left: -10px;
  }

  .sidebar-footer {
    justify-content: center;
    display: flex;
  }

  .drawer-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .page {
    padding-inline: 24px;
  }

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

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-aside {
    grid-template-columns: 1fr 1fr;
  }

  .agenda-page.with-drawer {
    padding-inline: 16px;
  }

  .contact-filters {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .search-field {
    grid-column: 1 / -1;
  }

  .conversation-layout {
    grid-template-columns: minmax(350px, .8fr) minmax(420px, 1.2fr);
  }

  .conversation-row {
    grid-template-columns: 42px 1fr auto;
  }

  .conversation-date {
    display: none;
  }

  .personality-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .greeting-field {
    grid-column: span 2;
  }

  .model-cards {
    grid-template-columns: 1fr;
  }

  .connection-card {
    grid-template-columns: 58px 1fr;
  }

  .connection-card .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 820px) {
  :root {
    --sidebar: 0px;
    --topbar: 62px;
  }

  .sidebar {
    visibility: hidden;
    pointer-events: none;
    width: min(290px, 86vw);
    box-shadow: var(--shadow);
    transition: transform .2s, visibility 0s linear .2s;
    transform: translateX(-102%);
  }

  .sidebar.open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
    transform: translateX(0);
  }

  .backdrop.open {
    z-index: 25;
    background: #0d184661;
    border: 0;
    display: block;
    position: fixed;
    inset: 0;
  }

  .brand {
    justify-content: flex-start;
    padding-inline: 16px;
  }

  .brand-copy, .nav-link span, .business-mini span {
    display: block;
  }

  .nav-link {
    justify-content: flex-start;
    padding: 0 15px;
  }

  .topbar {
    justify-content: space-between;
    padding-inline: 12px;
    left: 0;
  }

  .mobile-menu {
    display: inline-flex;
  }

  .business-switcher {
    max-width: 200px;
    margin-left: auto;
  }

  .business-switcher span {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .top-divider, .theme-label {
    display: none;
  }

  .main {
    margin-left: 0;
  }

  .page {
    padding: 22px 16px 28px;
  }

  .page-header {
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .page-title {
    font-size: 28px;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .drawer-layout {
    display: block;
  }

  .drawer {
    inset: var(--topbar) 0 0 0;
    z-index: 18;
    border-radius: 0;
    max-height: none;
    position: fixed;
  }

  .dashboard-main-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .calls-card {
    grid-column: auto;
  }

  .agenda-toolbar {
    justify-items: stretch;
    margin-top: 0;
  }

  .agenda-toolbar .tabs {
    justify-self: start;
    width: auto;
  }

  .agenda-page {
    overflow-x: hidden;
  }

  .week-calendar-wrap {
    overflow-x: auto;
  }

  .contacts-page.with-drawer {
    padding-inline: 16px;
  }

  .conversation-layout {
    grid-template-columns: 1fr;
  }

  .conversation-layout.has-detail .conversation-list, .conversation-placeholder {
    display: none;
  }

  .studio-page {
    padding-top: 18px;
  }

  .personality-grid {
    grid-template-columns: 1fr 1fr;
  }

  .prompt-mode, .prompt-state {
    grid-column: span 2;
  }

  .model-estimates {
    grid-template-columns: 1fr;
  }

  .estimate:first-child, .estimate:last-child {
    border: 1px solid var(--border);
    border-radius: 8px;
  }

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

  .connection-grid, .profile-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar .business-switcher {
    display: none;
  }

  .page-header {
    flex-direction: column;
  }

  .header-actions, .header-actions .button, .tabs {
    width: 100%;
  }

  .tab {
    flex: 1;
    min-width: 0;
    padding-inline: 8px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .inline-fields {
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-card-list thead {
    display: none;
  }

  .mobile-card-list, .mobile-card-list tbody, .mobile-card-list tr, .mobile-card-list td {
    width: 100%;
    display: block;
  }

  .mobile-card-list tr {
    border-bottom: 1px solid var(--border);
    padding: 12px;
  }

  .mobile-card-list td {
    border: 0;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    height: auto;
    min-height: 38px;
    padding: 6px 4px;
    display: flex;
  }

  .mobile-card-list td:before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
  }

  .mobile-card-list td:first-child {
    font-weight: 700;
    display: flex;
  }

  .contacts-table.mobile-card-list td[data-label="Nombre"] {
    border-bottom: 1px solid var(--border);
    color: var(--ink);
    padding-bottom: 10px;
    font-size: 14px;
    display: flex !important;
  }

  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .modal {
    border-radius: 14px 14px 0 0;
    width: 100%;
    max-height: 92dvh;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-aside {
    grid-template-columns: 1fr;
  }

  .period-tabs {
    overflow-x: auto;
  }

  .dashboard-table th:nth-child(2), .dashboard-table td:nth-child(2), .dashboard-table th:nth-child(5), .dashboard-table td:nth-child(5) {
    display: none;
  }

  .date-navigation {
    grid-template-columns: 44px 1fr 44px;
  }

  .date-navigation .calendar-nav:nth-child(2) {
    display: none;
  }

  .date-navigation h2 {
    font-size: 16px;
  }

  .week-calendar {
    width: 100%;
    min-width: 0;
  }

  .week-corner, .hour-labels {
    z-index: 5;
    background: var(--surface);
    position: sticky;
    left: 0;
  }

  .appointment-layer {
    width: 560px;
    right: auto;
  }

  .month-calendar {
    width: 100%;
    min-width: 0;
  }

  .month-heading {
    min-height: 34px;
    padding: 9px 2px;
    font-size: 10px;
  }

  .month-day {
    min-height: 52px;
    padding: 3px;
  }

  .month-day-link {
    width: 100%;
    min-height: 44px;
  }

  .month-appointment {
    display: none;
  }

  .month-dot {
    bottom: 5px;
  }

  .mobile-day-list {
    margin-top: 12px;
    display: block;
    overflow: hidden;
  }

  .mobile-day-list > header {
    border-bottom: 1px solid var(--border);
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
    padding: 0 14px;
    display: flex;
  }

  .mobile-day-list h3 {
    text-transform: capitalize;
    margin: 0;
    font-size: 14px;
  }

  .mobile-day-list > header span {
    color: var(--muted);
    font-size: 11px;
  }

  .mobile-day-list > p {
    margin: 0;
    padding: 18px 14px;
  }

  .mobile-day-appointment {
    border-bottom: 1px solid var(--border);
    grid-template-columns: 88px 1fr;
    gap: 2px 10px;
    min-height: 70px;
    padding: 12px 14px;
    display: grid;
  }

  .mobile-day-appointment:last-child {
    border-bottom: 0;
  }

  .mobile-day-appointment time {
    color: var(--link);
    grid-row: 1 / 3;
    font-weight: 700;
  }

  .mobile-day-appointment small {
    color: var(--muted);
  }

  .agenda-main {
    overflow-x: visible;
  }

  .contact-filters {
    grid-template-columns: 1fr 1fr;
  }

  .search-field, .filter-button {
    grid-column: 1 / -1;
  }

  .table-footer {
    grid-template-columns: 1fr auto;
    padding-block: 10px;
  }

  .table-footer nav {
    grid-area: 1 / 2 / 3;
  }

  .page-size {
    justify-self: start;
    width: 128px;
  }

  .conversation-filters {
    grid-template-columns: 1fr;
  }

  .conversation-row {
    grid-template-columns: 42px 1fr;
  }

  .conversation-row .badge {
    grid-column: 2;
    justify-self: start;
  }

  .call-overview {
    grid-template-columns: 1fr 1fr;
  }

  .audio-card {
    grid-template-columns: 1fr;
  }

  .audio-card > .icon-button {
    display: none;
  }

  .studio-section > header {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 8px;
  }

  .personality-grid {
    grid-template-columns: 1fr;
  }

  .greeting-field, .prompt-mode, .prompt-state {
    grid-column: auto;
  }

  .prompt-state {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .model-fields {
    flex-direction: column;
  }

  .model-estimates {
    padding-inline: 10px;
  }

  .service-list, .schedule-list {
    grid-template-columns: 1fr;
  }

  .schedule-list > div {
    grid-template-columns: 65px 1fr auto 1fr;
  }

  .accordion summary small {
    display: none;
  }

  .studio-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }

  .studio-footer > div, .studio-footer .button {
    width: 100%;
  }

  .access-wrap {
    display: block;
  }

  .access-brand-panel {
    display: none;
  }

  .access-form-panel {
    min-height: 100dvh;
    padding: 24px;
  }

  .mobile-access-brand {
    align-items: center;
    gap: 10px;
    margin-bottom: 42px;
    font-size: 20px;
    display: flex;
  }

  .mobile-access-title {
    display: block;
  }

  .desktop-access-title {
    display: none;
  }

  .connection-card {
    grid-template-columns: 48px 1fr;
    padding: 15px;
  }

  .connection-icon {
    width: 46px;
    height: 46px;
  }

  .security-note {
    grid-template-columns: 32px 1fr;
  }

  .security-note a {
    grid-column: 2;
  }

  .profile-grid {
    min-width: 0;
  }

  .profile-option {
    grid-template-columns: 42px 1fr;
  }

  .profile-option .button, .profile-option .switch {
    grid-column: 2;
    justify-self: start;
  }

  .webhook-endpoint {
    grid-template-columns: 30px 1fr auto;
  }

  .webhook-endpoint > .badge {
    grid-column: 2;
    justify-self: start;
  }

  .webhook-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .webhook-filters .select {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

/*# sourceMappingURL=%5Broot-of-the-server%5D__1uc-pyb._.css.map*/