[hidden] {
  display: none !important;
}
@font-face {
  font-family: Heebo;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/heebo-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Heebo;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/heebo-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
:root {
  --canvas: #f3f6fc;
  --ink: #17233d;
  --muted: #586780;
  --navy: #14233b;
  --blue: #315ef6;
  --blue-dark: #244bd3;
  --blue-soft: #eef3ff;
  --line: #e6ebf3;
  --white: #fff;
  --amber: #8c5b16;
  --stone: var(--canvas);
  --teal: var(--blue);
  font-family: Heebo, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button,
summary,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  touch-action: manipulation;
}
button,
a {
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #8da8ff;
  outline-offset: 3px;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -1px;
}
h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}
p {
  margin-top: 6px;
}
strong {
  font-weight: 600;
}
small {
  font-size: 13px;
}
[dir='rtl'] h1,
[dir='rtl'] h2 {
  letter-spacing: 0;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.icon-arrow,
.icon-back {
  width: 19px;
  height: 19px;
}
[dir='rtl'] .icon-arrow,
[dir='rtl'] .icon-back {
  transform: rotate(180deg);
}
.subtle {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}
.primary,
.secondary,
.text-button,
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 19px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 3px 7px #315ef61a;
}
.primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 10px #315ef629;
}
.secondary {
  background: #fff;
  border: 1px solid #d6dfef;
  color: #334b75;
}
.secondary:hover {
  background: var(--blue-soft);
  border-color: #adbfed;
}
.text-button {
  color: var(--blue);
  padding: 8px 3px;
  font-size: 14px;
}
.text-button:hover {
  color: #173caf;
}
.back-button {
  justify-content: flex-start;
  color: var(--muted);
  padding: 8px 0;
  margin-bottom: 20px;
}
.back-button:hover {
  color: var(--blue);
}
.icon-button {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  font-size: 26px;
}
.icon-button:hover {
  background: var(--blue-soft);
}

/* Navigation stays deliberately quiet; the work owns the bright surfaces. */
.sidebar {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  width: 232px;
  background: var(--navy);
  color: #fff;
  padding: 32px 20px 20px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.7px;
  padding-inline: 8px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: var(--blue);
  border-radius: 11px;
  color: white;
  box-shadow: inset 0 1px 0 #ffffff30;
}
.brand-mark .icon {
  width: 23px;
  height: 23px;
}
.sidebar-caption {
  font-size: 13px;
  color: #a8b7ce;
  margin: 8px 8px 0;
}
.main-nav {
  display: grid;
  gap: 8px;
  margin-top: 42px;
}
.nav-item,
.settings-nav {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: start;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #bac8dc;
  font-size: 16px;
  font-weight: 500;
}
.nav-item:hover,
.settings-nav:hover {
  background: #1e3250;
  color: #fff;
}
.nav-item.active {
  background: #315ef6;
  color: white;
  box-shadow: 0 4px 10px #09152f22;
}
.settings-nav {
  margin-top: auto;
}
.settings-nav.active {
  background: #243a5e;
  color: #fff;
}
.sidebar-footer {
  border-top: 1px solid #30415b;
  margin-top: 18px;
  padding: 19px 10px 3px;
  color: #a8b7ce;
  font-size: 13px;
}
.sidebar-footer strong {
  display: block;
  font-size: 14px;
  color: #e3ebf7;
}
.sidebar-footer p {
  margin-top: 3px;
  font-size: 13px;
}
.app-main {
  margin-inline-start: 232px;
  min-height: 100dvh;
}
.app-header {
  min-height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 40px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-context {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #334562;
}
.header-breadcrumb > span:first-child {
  font-weight: 400;
  color: var(--muted);
}
.header-breadcrumb .icon {
  width: 15px;
  height: 15px;
  color: #9aa9be;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.business-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}
.business-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #edf2fb;
  color: #465b80;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #e2e9f5;
  border-radius: 50%;
}
.business-name {
  font-size: 14px;
  font-weight: 500;
  color: #42536d;
  max-width: 210px;
}
.demo-badge {
  font-size: 12px;
  color: #526079;
  padding: 7px 10px;
  border: 1px solid #dfe6f1;
  background: #f8fafe;
  border-radius: 7px;
  min-height: 36px;
  white-space: nowrap;
}
.demo-badge:hover {
  background: #edf2ff;
}
.mobile-settings,
.mobile-brand {
  display: none;
}
.workspace {
  max-width: 1300px;
  margin: auto;
  padding: 38px 40px 60px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.page-heading p {
  font-size: 16px;
  color: var(--muted);
  margin-top: 8px;
}
.home-heading {
  margin-bottom: 30px;
}
.home-heading > div > p {
  max-width: 64ch;
}
.heading-date,
.home-date {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.section-heading,
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.section-heading {
  margin-bottom: 18px;
}
.section-heading h2 {
  font-size: 20px;
}
.panel-heading {
  padding: 23px 26px 0;
}
.panel-heading h2 {
  font-size: 19px;
  letter-spacing: 0;
}
.panel-heading > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-heading .icon {
  width: 20px;
  height: 20px;
  color: #637695;
}
.panel-heading .text-button {
  min-height: 40px;
}
.panel-count,
.attention-count,
.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 8px;
  background: #edf2ff;
  color: #38578e;
  font-size: 13px;
  font-weight: 600;
}

/* Home: one appointment anchor, one compact action queue, one history panel. */
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}
.next-card,
.attention-panel,
.recent-panel {
  background: #fff;
  border: 1px solid #e5ebf5;
  border-radius: 18px;
  box-shadow: 0 3px 10px #192b4b03;
  min-width: 0;
}
.next-card {
  display: flex;
  flex-direction: column;
}
.next-card .panel-heading {
  padding-bottom: 0;
}
.next-layout {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 25px 26px 24px;
  flex: 1;
}
.visit-date {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  border-radius: 14px;
  min-height: 152px;
  background: var(--blue-soft);
  color: #2349af;
  padding: 15px 10px;
}
.visit-date > span {
  font-size: 14px;
  font-weight: 500;
}
.visit-date strong {
  font-size: 27px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.visit-date .icon {
  width: 21px;
  height: 21px;
  margin-bottom: 2px;
}
.next-customer {
  min-width: 0;
}
.customer-avatar,
.row-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef0ff;
  color: #5660a7;
  font-weight: 600;
  flex-shrink: 0;
}
.customer-avatar {
  width: 42px;
  height: 42px;
  font-size: 17px;
  margin-bottom: 10px;
}
.next-customer h2,
.next-customer h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
}
.next-customer p {
  font-size: 15px;
  color: #586780;
  line-height: 1.6;
}
.next-customer p .icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-inline-end: 5px;
}
.next-customer > span:not(.customer-avatar) {
  font-size: 14px;
  color: var(--muted);
}
.visit-time {
  font-size: 41px;
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin: 0 0 13px;
}
.next-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  border-top: 1px solid var(--line);
}
.next-card-footer > span,
.next-card-footer > p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.next-card-footer .primary {
  min-width: 140px;
}
.attention-panel {
  display: flex;
  flex-direction: column;
}
.attention-panel > .panel-heading {
  padding-bottom: 8px;
}
.attention-panel .panel-count,
.attention-count {
  color: #8c5b16;
  background: #fff1d9;
}
.attention-panel .simple-list {
  padding: 0 24px;
}
.attention-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.attention-row:last-child {
  border-bottom: 0;
}
.attention-row > div {
  min-width: 0;
  flex: 1;
}
.attention-row strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.attention-row p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 4px;
}
.attention-row .secondary {
  padding: 9px 12px;
  min-height: 42px;
  font-size: 13px;
  flex-shrink: 0;
  max-width: 42%;
}
.attention-icon {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #fff5e4;
  color: #956923;
  flex-shrink: 0;
}
.attention-icon .icon {
  width: 17px;
  height: 17px;
}
.attention-panel > .text-button,
.attention-panel > .panel-footer {
  margin: auto 24px 15px;
  align-self: flex-start;
}
.panel-note {
  font-size: 14px;
  color: var(--muted);
  padding: 0 26px 20px;
}
.recent-panel > .panel-heading {
  padding-bottom: 18px;
}
.job-table-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px 18px;
  gap: 20px;
  padding: 13px 25px 13px 86px;
  background: #f9fbfe;
  border-block: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: #62718a;
}
[dir='rtl'] .job-table-head {
  padding: 13px 86px 13px 25px;
}
.job-table-head span:last-child {
  text-align: end;
}
.recent-panel .job-list {
  border: 0;
  box-shadow: none;
  border-radius: 0 0 18px 18px;
}
.home-reassurance {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}
.home-reassurance > .icon {
  width: 18px;
  height: 18px;
}
.home-reassurance .text-button {
  margin-inline-start: auto;
}

.sidebar-footer {
  margin-top: auto;
}
.sidebar-footer .settings-nav {
  padding: 10px 0;
  min-height: 48px;
}
.home-summary-count {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #596e8d;
  font-size: 14px;
}
.home-summary-count .icon {
  width: 18px;
  height: 18px;
}
.panel-label {
  font-size: 13px;
  font-weight: 500;
  padding: 5px 9px;
  border-radius: 6px;
  background: #eef3ff;
  color: #4063af;
}
.panel-heading h2 .panel-count {
  margin-inline-start: 10px;
  vertical-align: middle;
}
.visit-date .visit-time {
  font-size: 39px;
  white-space: nowrap;
  line-height: 1.2;
  font-weight: 700;
  color: #284fcb;
  margin: 5px 0;
  letter-spacing: -1px;
}
.next-customer-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.next-customer-heading > div {
  min-width: 0;
}
.next-customer-heading .customer-avatar {
  margin: 0;
}
.visit-service {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 5px;
}
.visit-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px !important;
}
.visit-address .icon {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: #7388aa;
  flex-shrink: 0;
}
.visit-duration {
  display: flex;
  align-items: center;
  gap: 8px;
}
.visit-duration .icon {
  width: 18px;
  height: 18px;
}
.attention-list {
  padding: 0 24px;
}
.attention-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.attention-item:last-child {
  border: 0;
}
.attention-item-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  border-radius: 9px;
  background: #fff4df;
  color: #956720;
  flex-shrink: 0;
}
.attention-item-icon .icon {
  width: 17px;
  height: 17px;
}
.attention-item-body {
  flex: 1;
  min-width: 0;
}
.attention-item-body strong {
  font-size: 16px;
  font-weight: 600;
}
.attention-item-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 3px;
}
.attention-action {
  min-height: 36px;
  padding: 6px 0 0;
  font-size: 14px;
  gap: 7px;
}
.attention-action .icon {
  width: 15px;
  height: 15px;
}
.attention-panel-footer {
  padding: 0 24px 15px;
  border-top: 1px solid var(--line);
}
.attention-clear {
  text-align: center;
  max-width: 35ch;
  margin: auto;
  padding: 25px 24px 35px;
}
.attention-clear > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #317857;
  background: #eff9f3;
  border-radius: 50%;
  margin: 0 auto 14px;
}
.attention-clear p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 9px;
}
.attention-clear h3 {
  font-size: 18px;
}

/* Lists have a stable reading order: customer, visit, status. */
.job-list,
.conversation-list {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 6px #192b4b03;
}
.job-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 21px 25px;
  text-align: start;
  border-bottom: 1px solid var(--line);
}
.job-row:last-child {
  border-bottom: 0;
}
.job-row:hover {
  background: #f8faff;
}
.row-avatar {
  width: 42px;
  height: 42px;
  font-size: 15px;
  background: #edf2fc;
  color: #476491;
}
.row-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.row-main > strong {
  font-size: 17px;
  font-weight: 600;
}
.row-main > span {
  font-size: 14px;
  color: var(--muted);
}
.row-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 300px;
}
.row-date {
  font-size: 14px;
  color: #495b76;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: 7px;
  background: #eef7f2;
  color: #2a7150;
  white-space: nowrap;
}
.status:before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}
.status.attention {
  background: #fff3de;
  color: #895613;
}
.job-row > .icon {
  color: #8899b0;
  width: 18px;
  height: 18px;
}
.empty-state {
  padding: 38px 25px;
  text-align: center;
  color: var(--muted);
}
.empty-state h3 {
  color: var(--ink);
}
.empty-state p {
  max-width: 46ch;
  margin: 9px auto 0;
  font-size: 15px;
}
.empty-state .secondary {
  margin-top: 20px;
}
.empty-state.compact {
  padding: 30px 24px;
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: #eff5ff;
  color: #6381ae;
  margin: 0 auto 16px;
}
.empty-icon .icon {
  width: 26px;
  height: 26px;
}
.jobs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #dce4f1;
  border-radius: 11px;
  padding: 0 15px;
  flex: 1;
  max-width: 460px;
}
.search-field > .icon {
  width: 21px;
  height: 21px;
  color: #657b9b;
}
.search-field input {
  border: 0;
  background: none;
  width: 100%;
  min-width: 0;
  padding: 13px 0;
  margin: 0;
  font-size: 15px;
}
.search-field input:focus {
  outline: 0;
}
.search-field:focus-within {
  outline: 3px solid #8da8ff;
  outline-offset: 2px;
}
.filter-buttons {
  display: flex;
  gap: 4px;
  background: #e8edf6;
  padding: 4px;
  border-radius: 11px;
}
.filter-buttons button {
  min-height: 40px;
  padding: 9px 15px;
  font-size: 14px;
  color: #53647e;
  border-radius: 8px;
  white-space: nowrap;
}
.filter-buttons button.selected {
  color: #2c4fa8;
  background: #fff;
  font-weight: 600;
  box-shadow: 0 2px 5px #2234550c;
}

/* Job, conversation and settings views share the same readable surfaces. */
.job-heading,
.thread-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.job-heading p,
.thread-heading p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.job-heading .status {
  flex-shrink: 0;
}
.attention-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 25px;
  border: 1px solid #efdeb9;
  background: #fffaf0;
  border-radius: 13px;
  margin-bottom: 24px;
}
.attention-box h2 {
  font-size: 18px;
  color: #714d18;
}
.attention-box p {
  font-size: 15px;
  color: #725d3e;
}
.attention-box .primary {
  font-size: 14px;
  white-space: nowrap;
}
.inline-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 23px;
  background: #eef3ff;
  border: 1px solid #dce6ff;
  border-radius: 12px;
  font-size: 15px;
  margin: 20px 0;
}
.job-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 5px 26px;
  margin-bottom: 24px;
}
.summary-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 16px;
  min-width: 0;
}
.summary-item > .icon {
  width: 23px;
  height: 23px;
  color: #7086a7;
  margin-top: 4px;
}
.summary-item > div {
  min-width: 0;
}
.summary-item span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}
.summary-item strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin-top: 5px;
  overflow-wrap: anywhere;
  line-height: 1.55;
}
.summary-item small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.price-summary strong {
  font-size: 30px;
  color: #284fd5;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.job-actions {
  display: flex;
  gap: 12px;
  margin: 25px 0 34px;
}
.job-actions .primary {
  min-width: 170px;
}
.more-details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 24px 26px 4px;
}
.more-details > h2 {
  font-size: 19px;
  margin-bottom: 6px;
}
.disclosure {
  border-bottom: 1px solid var(--line);
}
.disclosure:last-child {
  border-bottom: 0;
}
.disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  gap: 20px;
  min-height: 68px;
  padding: 19px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.disclosure > summary::-webkit-details-marker {
  display: none;
}
.disclosure > summary small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}
.disclosure > summary .icon {
  color: #7e91ab;
  transition: transform 0.15s;
}
.disclosure[open] > summary > .icon {
  transform: rotate(90deg);
}
.disclosure-body {
  padding: 4px 0 25px;
}
.disclosure-body > .subtle {
  margin: 3px 0 18px;
}
pre {
  font:
    15px/1.85 Heebo,
    Arial,
    sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 15px 0 0;
  padding: 22px;
  background: #f3f6fc;
  border: 1px solid #e6edf6;
  border-radius: 10px;
}
.activity-list > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.activity-list time {
  font-size: 13px;
  color: var(--muted);
}
.activity-list p {
  margin: 0;
}
.quote-paper {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  max-width: 780px;
}
.quote-brand {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
}
.quote-brand span {
  color: var(--muted);
  font-weight: 400;
}
.quote-paper > p {
  font-size: 15px;
  margin: 13px 0 22px;
}
.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.price-line.total {
  border: 0;
  font-size: 18px;
  padding-top: 21px;
}
.price-line.total strong {
  font-size: 27px;
  color: var(--blue);
}
.quote-paper > .subtle {
  margin: 15px 0 0;
  font-size: 14px;
}
.email-preview {
  margin-top: 18px;
}
.email-preview > summary,
.contact-extra > summary {
  min-height: 48px;
  padding: 12px 0;
  font-size: 15px;
  color: #365fae;
  cursor: pointer;
}
.conversation-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 23px 25px;
  border-bottom: 1px solid var(--line);
  text-align: start;
}
.conversation-row:last-child {
  border-bottom: 0;
}
.conversation-row:hover {
  background: #f8faff;
}
.person-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #edf1ff;
  color: #4761a8;
  font-size: 20px;
  font-weight: 600;
}
.person-avatar > .icon {
  width: 23px;
  height: 23px;
}
.conversation-row-body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}
.conversation-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.conversation-title strong {
  font-size: 17px;
  font-weight: 600;
}
.conversation-title > span {
  font-size: 13px;
  color: var(--muted);
}
.message-snippet {
  display: block;
  font-size: 15px;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.conversation-row-end {
  display: flex;
  align-self: stretch;
  align-items: flex-end;
  justify-content: space-between;
  flex-direction: column;
  gap: 10px;
  color: #7285a0;
}
.conversation-row-end time {
  font-size: 13px;
  white-space: nowrap;
}
.small-attention {
  font-size: 13px;
  color: var(--amber);
}
.thread-heading .secondary {
  white-space: nowrap;
}
.audience-toggle {
  display: flex;
  width: fit-content;
  gap: 4px;
  padding: 4px;
  margin: 24px 0;
  background: #e7edf7;
  border-radius: 11px;
}
.audience-toggle button {
  min-width: 145px;
  min-height: 43px;
  border-radius: 8px;
  padding: 9px 17px;
  font-size: 15px;
  color: var(--muted);
}
.audience-toggle button.selected {
  background: #fff;
  color: #3155bd;
  font-weight: 600;
  box-shadow: 0 2px 5px #2234550d;
}
.message-thread {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 160px;
  padding: 5px 0 27px;
}
.message {
  width: fit-content;
  max-width: 80%;
  padding: 19px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e0e7f2;
}
.message.outgoing {
  align-self: flex-end;
  background: #eaf0ff;
  border-color: #dfe7ff;
  border-end-end-radius: 5px;
}
.message.incoming {
  align-self: flex-start;
  border-end-start-radius: 5px;
}
.message-author {
  font-size: 13px;
  color: #526b93;
  font-weight: 500;
}
.message > p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.75;
  margin: 9px 0 14px;
}
.message footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #657694;
}
.message-held {
  padding: 15px;
  background: #fff5e6;
  border-radius: 9px;
  margin: 15px 0;
  color: #795c2c;
  font-size: 14px;
}
.message-held > p,
.message-held .text-button {
  font-size: 14px;
}
.outgoing-compose {
  background: #fff;
  border: 1px solid #dfe7f4;
  border-radius: 14px;
  padding: 21px;
}
.outgoing-compose > label {
  font-size: 15px;
  font-weight: 500;
}
.outgoing-compose textarea {
  min-height: 85px;
}
.outgoing-compose .form-footer {
  margin-top: 13px;
}
.reply-demo {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.reply-demo > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.reply-demo > summary::-webkit-details-marker {
  display: none;
}
.reply-demo > summary .icon {
  width: 18px;
  height: 18px;
}
.reply-demo form {
  padding: 8px 0 10px;
}
.reply-demo form > .subtle {
  font-size: 14px;
  margin-top: 9px;
}
.settings-form,
.advanced-settings {
  max-width: 850px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 8px 28px 26px;
}
.advanced-settings {
  margin-top: 24px;
  padding-bottom: 8px;
}
.field {
  display: block;
  margin: 0 0 21px;
  color: #435572;
  font-size: 15px;
  font-weight: 500;
}
.field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.field small {
  font-size: 13px;
  color: var(--amber);
}
input:not([type='checkbox']),
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid #ccd8ea;
  border-radius: 9px;
  background: #fff;
  font-size: 16px;
  line-height: 1.45;
}
input::placeholder,
textarea::placeholder {
  color: #75839b;
}
textarea {
  resize: vertical;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}
.form-grid .field {
  min-width: 0;
}
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 22px;
}
.form-footer > .primary {
  margin-inline-start: auto;
  flex-shrink: 0;
}
.form-error {
  font-size: 14px;
  color: #a53730;
  line-height: 1.6;
}
.toggle-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  min-height: 48px;
  font-size: 15px;
  cursor: pointer;
  color: #425571;
}
.toggle-field input {
  margin: 0;
  width: 21px;
  height: 21px;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.toggle-field span {
  font-weight: 400;
}
fieldset {
  border: 0;
  padding: 8px 0 0;
  margin: 0;
}
legend {
  font-size: 15px;
  color: #435572;
}
.day-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.day-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  min-height: 45px;
  border: 1px solid #d7e1f1;
  border-radius: 8px;
  background: #f8faff;
  font-size: 14px;
  cursor: pointer;
}
.day-options input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--blue);
}
.connection-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.connection-row strong {
  font-weight: 500;
}
.connection-row > span {
  font-size: 13px;
  color: #69778d;
}
.connection-row + .subtle {
  margin-top: 20px;
}
.demo-run {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
.demo-run > .field {
  margin: 0;
  flex: 1;
}
.demo-run > .primary {
  flex-shrink: 0;
  min-height: 48px;
}
.demo-run + .subtle {
  margin-top: 10px;
  font-size: 14px;
}
.demo-status {
  border-block: 1px solid var(--line);
  padding: 21px 0;
  margin-top: 20px;
}
.demo-status > strong {
  font-size: 16px;
}
.demo-status > p {
  font-size: 14px;
  color: var(--muted);
}
.demo-stages {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
  font-size: 13px;
  color: #697b96;
}
.demo-stages li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.demo-stages .done {
  color: #2c7154;
}
.demo-stages .held {
  color: var(--amber);
}
.demo-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 21px;
}
.demo-links .secondary,
.demo-links .text-button {
  font-size: 14px;
}
.sample-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.sample-buttons .secondary {
  font-size: 14px;
}
.needs-value input,
.needs-value select {
  border-color: #d2aa68;
  background: #fffdf7;
}
.needs-agreement {
  border-inline-start: 3px solid #d4ac6f;
  padding-inline-start: 13px;
}
.field-hint {
  font-size: 14px;
  color: var(--muted);
  margin: -8px 0 17px;
}
.contact-extra {
  margin-top: 14px;
}
.contact-extra > div {
  padding-top: 8px;
}
.contact-extra .field {
  margin-bottom: 9px;
}
.known-facts {
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.known-facts .form-grid {
  padding-top: 12px;
}
.blocked-reasons {
  font-size: 14px;
  line-height: 1.6;
  padding-inline-start: 19px;
  margin: 10px 0 18px;
  color: #795c2c;
}
.blocked-reasons li + li {
  margin-top: 5px;
}
dialog {
  width: min(700px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  border: 1px solid #dae3f1;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  padding: 31px;
  box-shadow: 0 25px 90px #14233b3d;
}
dialog::backdrop {
  background: #14233b69;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
}
.dialog-heading h2 {
  font-size: 23px;
}
.dialog-heading + .subtle {
  margin-bottom: 24px;
}
.dialog-heading .icon-button {
  margin: -7px -7px 0 0;
  font-weight: 400;
}
#notice:empty {
  display: none;
}
#notice:not(:empty) {
  position: fixed;
  inset-inline-end: 28px;
  inset-block-end: 25px;
  z-index: 30;
  max-width: min(470px, calc(100vw - 40px));
  padding: 16px 22px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 6px 24px #14233b30;
}
.load-error {
  max-width: 700px;
  padding: 50px;
  margin: auto;
}
.load-error button {
  margin-top: 22px;
  padding: 12px 22px;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
}
summary,
button,
a,
p,
strong {
  overflow-wrap: anywhere;
}

@media (max-width: 1240px) {
  .sidebar {
    width: 208px;
    padding-inline: 16px;
  }
  .app-main {
    margin-inline-start: 208px;
  }
  .workspace {
    padding: 30px 26px 50px;
  }
  .app-header {
    padding-inline: 26px;
  }
  .home-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(295px, 1fr);
    gap: 20px;
  }
  .next-layout {
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
  }
  .panel-heading {
    padding-inline: 22px;
  }
  .next-card-footer {
    padding-inline: 22px;
  }
  .row-meta {
    min-width: 235px;
    gap: 14px;
  }
  .job-table-head {
    grid-template-columns: minmax(0, 1fr) 235px 18px;
  }
  .business-identity {
    display: none;
  }
}
@media (min-width: 851px) and (max-width: 1050px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
  .next-layout {
    grid-template-columns: 140px 1fr;
    padding: 24px 26px;
  }
  .next-customer {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
  }
  .customer-avatar {
    grid-row: 1/4;
    margin: 0;
  }
  .visit-time {
    grid-column: 2;
    margin-bottom: 8px;
  }
  .next-customer h2,
  .next-customer h3,
  .next-customer p,
  .next-customer > span:not(.customer-avatar) {
    grid-column: 2;
  }
  .jobs-toolbar {
    flex-wrap: wrap;
  }
  .search-field {
    max-width: none;
    min-width: 100%;
  }
  .row-meta {
    flex-direction: column;
    align-items: flex-start;
    min-width: 140px;
    gap: 8px;
  }
  .job-table-head {
    display: none;
  }
}
@media (max-width: 850px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 0;
    background: transparent;
  }
  .sidebar > .brand,
  .sidebar-caption,
  .sidebar-footer,
  .sidebar > .settings-nav {
    display: none;
  }
  .main-nav {
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin: 0;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid #dfe7f4;
    background: #fff;
    box-shadow: 0 -3px 12px #14233b04;
    z-index: 20;
  }
  .nav-item {
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    text-align: center;
    min-height: 60px;
    padding: 7px 4px;
    border-radius: 11px;
    font-size: 13px;
    color: #526780;
    font-weight: 500;
    line-height: 1.4;
  }
  .nav-item .icon {
    width: 23px;
    height: 23px;
  }
  .nav-item:hover {
    background: #f1f5ff;
    color: var(--blue);
  }
  .nav-item.active {
    background: #edf2ff;
    color: #244ed7;
    box-shadow: none;
    font-weight: 700;
  }
  .app-main {
    margin: 0;
  }
  .app-header {
    min-height: 75px;
    padding: 12px 20px;
    gap: 10px;
  }
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 21px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
  }
  .mobile-brand .brand-mark {
    width: 29px;
    height: 29px;
    border-radius: 9px;
  }
  .mobile-brand .brand-mark .icon {
    width: 19px;
    height: 19px;
  }
  .header-context,
  .business-identity {
    display: none;
  }
  .header-actions {
    gap: 7px;
    margin-inline-start: auto;
  }
  .demo-badge {
    min-height: 44px;
    font-size: 11px;
    padding: 7px 8px;
  }
  .mobile-settings {
    display: inline-grid;
    width: 44px;
    height: 44px;
  }
  .mobile-settings .icon {
    width: 21px;
    height: 21px;
  }
  .workspace {
    max-width: 730px;
    padding: 27px 20px 35px;
  }
  h1 {
    font-size: 29px;
    letter-spacing: -0.7px;
  }
  h2 {
    font-size: 21px;
  }
  .page-heading {
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
  }
  .page-heading p {
    font-size: 15px;
    line-height: 1.7;
    margin-top: 8px;
  }
  .home-heading {
    display: block;
    margin-bottom: 24px;
  }
  .heading-date,
  .home-date {
    font-size: 13px;
    margin-top: 10px;
  }
  .primary,
  .secondary,
  .text-button,
  .back-button,
  .icon-button {
    min-height: 48px;
  }
  .primary,
  .secondary {
    font-size: 15px;
  }
  .home-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  .next-card,
  .attention-panel,
  .recent-panel {
    border-radius: 16px;
  }
  .panel-heading {
    padding: 19px 20px 0;
    gap: 10px;
  }
  .panel-heading h2 {
    font-size: 18px;
  }
  .panel-heading .text-button {
    font-size: 13px;
    min-height: 44px;
  }
  .next-layout {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
  }
  .visit-date {
    min-height: 143px;
    padding: 14px 8px;
    border-radius: 12px;
  }
  .visit-date strong {
    font-size: 24px;
  }
  .visit-date > span {
    font-size: 14px;
  }
  .visit-time {
    font-size: 37px;
    margin-bottom: 12px;
    letter-spacing: -0.6px;
  }
  .customer-avatar {
    width: 35px;
    height: 35px;
    font-size: 14px;
    margin-bottom: 10px;
  }
  .next-customer h2,
  .next-customer h3 {
    font-size: 20px;
  }
  .next-customer p {
    font-size: 15px;
  }
  .next-customer > span:not(.customer-avatar) {
    font-size: 14px;
  }
  .next-card-footer {
    padding: 16px 20px;
    gap: 12px;
  }
  .next-card-footer .primary {
    min-width: 135px;
  }
  .next-card-footer > span,
  .next-card-footer > p {
    font-size: 13px;
  }
  .attention-panel .simple-list {
    padding: 0 20px;
  }
  .attention-row {
    padding: 18px 0;
    gap: 12px;
  }
  .attention-row strong {
    font-size: 16px;
  }
  .attention-row p {
    font-size: 14px;
    line-height: 1.55;
  }
  .attention-row .secondary {
    font-size: 13px;
    padding: 10px 12px;
    min-height: 48px;
    max-width: 42%;
  }
  .attention-icon {
    display: none;
  }
  .panel-note {
    padding-inline: 20px;
    font-size: 14px;
  }
  .job-table-head {
    display: none;
  }
  .recent-panel > .panel-heading {
    padding-bottom: 12px;
  }
  .job-row {
    padding: 18px 20px;
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    gap: 6px 12px;
    align-items: start;
  }
  .row-avatar {
    width: 38px;
    height: 38px;
    font-size: 14px;
    grid-column: 1;
    grid-row: 1/3;
    margin-top: 2px;
  }
  .row-main {
    grid-column: 2;
    grid-row: 1;
    gap: 4px;
  }
  .row-main > strong {
    font-size: 16px;
  }
  .row-main > span {
    font-size: 14px;
    line-height: 1.5;
  }
  .row-meta {
    grid-column: 2/4;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    min-width: 0;
    gap: 8px 12px;
    margin-top: 6px;
  }
  .row-date {
    font-size: 13px;
  }
  .status {
    font-size: 12px;
    padding: 5px 8px;
    white-space: normal;
  }
  .job-row > .icon {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    width: 16px;
  }
  .jobs-toolbar {
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
  }
  .search-field {
    min-width: 100%;
    max-width: none;
  }
  .search-field input {
    min-height: 49px;
    font-size: 16px;
  }
  .filter-buttons {
    width: 100%;
  }
  .filter-buttons button {
    flex: 1;
    min-height: 44px;
    font-size: 13px;
    padding: 9px 6px;
  }
  .job-heading,
  .thread-heading {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
  }
  .job-heading h1,
  .thread-heading h1 {
    font-size: 28px;
  }
  .job-heading > div,
  .thread-heading > div {
    flex: 1;
    min-width: 0;
  }
  .job-heading p,
  .thread-heading p {
    font-size: 14px;
  }
  .job-heading > .status {
    margin-top: 7px;
  }
  .job-summary {
    display: block;
    padding: 0 20px;
  }
  .summary-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    gap: 13px;
  }
  .summary-item:last-child {
    border-bottom: 0;
  }
  .summary-item strong {
    font-size: 17px;
  }
  .summary-item span {
    font-size: 14px;
  }
  .summary-item small {
    font-size: 13px;
  }
  .price-summary {
    padding-inline-start: 35px;
  }
  .price-summary strong {
    font-size: 30px;
  }
  .job-actions {
    gap: 10px;
    margin: 23px 0;
  }
  .job-actions > .primary {
    flex: 1;
    min-width: 0;
  }
  .job-actions > .secondary {
    font-size: 14px;
    padding-inline: 14px;
  }
  .more-details {
    padding: 19px 20px 3px;
  }
  .more-details > h2 {
    font-size: 18px;
  }
  .attention-box {
    display: block;
    padding: 20px;
  }
  .attention-box h2 {
    font-size: 18px;
  }
  .attention-box p {
    font-size: 14px;
  }
  .attention-box .primary {
    width: 100%;
    margin-top: 16px;
    white-space: normal;
    font-size: 15px;
  }
  .inline-note {
    display: block;
    padding: 17px 20px;
  }
  .inline-note .text-button {
    margin-top: 5px;
  }
  .disclosure > summary {
    font-size: 16px;
    min-height: 68px;
  }
  .disclosure > summary small {
    font-size: 14px;
  }
  .quote-paper {
    padding: 21px 18px;
  }
  .quote-brand {
    font-size: 13px;
    gap: 12px;
  }
  .price-line {
    font-size: 14px;
    gap: 12px;
  }
  .price-line.total {
    font-size: 17px;
  }
  .price-line.total strong {
    font-size: 24px;
  }
  .activity-list > div {
    display: block;
    font-size: 14px;
  }
  .activity-list p {
    margin-top: 6px;
  }
  pre {
    padding: 17px;
    font-size: 14px;
  }
  .conversation-row {
    padding: 20px 17px;
    gap: 12px;
  }
  .person-avatar {
    width: 41px;
    height: 41px;
    border-radius: 13px;
    font-size: 18px;
  }
  .conversation-title {
    flex-wrap: wrap;
    gap: 3px 8px;
  }
  .conversation-title strong {
    font-size: 16px;
    line-height: 1.5;
  }
  .conversation-title > span {
    font-size: 13px;
  }
  .message-snippet {
    font-size: 14px;
  }
  .conversation-row-end time {
    font-size: 12px;
  }
  .conversation-row-end > .icon {
    width: 17px;
    height: 17px;
  }
  .small-attention {
    font-size: 12px;
    max-width: 70px;
  }
  .thread-heading .secondary {
    font-size: 13px;
    padding: 9px 12px;
  }
  .audience-toggle {
    width: 100%;
  }
  .audience-toggle button {
    min-width: 0;
    flex: 1;
    min-height: 44px;
    font-size: 15px;
  }
  .message {
    max-width: 95%;
    padding: 16px 18px;
  }
  .message > p {
    font-size: 15px;
  }
  .message footer {
    font-size: 12px;
    gap: 9px;
  }
  .outgoing-compose {
    padding: 18px;
  }
  .outgoing-compose textarea {
    font-size: 16px;
  }
  .reply-demo > summary {
    font-size: 14px;
  }
  .settings-form,
  .advanced-settings {
    padding: 3px 20px 22px;
  }
  .advanced-settings {
    padding-bottom: 4px;
  }
  .form-grid {
    display: block;
  }
  .field {
    font-size: 15px;
    margin-bottom: 19px;
  }
  input:not([type='checkbox']),
  select,
  textarea {
    min-height: 48px;
    font-size: 16px;
  }
  .form-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 22px;
  }
  .form-footer > .primary {
    width: 100%;
    margin: 0;
  }
  .toggle-field {
    font-size: 15px;
    min-height: 52px;
  }
  .demo-run {
    display: block;
  }
  .demo-run > .primary {
    width: 100%;
    margin-top: 16px;
  }
  .demo-links {
    gap: 10px 18px;
  }
  .demo-links .secondary {
    width: 100%;
  }
  .day-options {
    gap: 6px;
  }
  .day-options label {
    font-size: 13px;
    min-height: 48px;
    padding: 8px;
  }
  .connection-row {
    font-size: 14px;
    gap: 15px;
  }
  .connection-row > span {
    font-size: 13px;
  }
  .subtle {
    font-size: 15px;
  }
  .sample-buttons .secondary {
    font-size: 13px;
  }
  dialog {
    padding: 24px 21px;
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 28px);
    border-radius: 17px;
  }
  .dialog-heading h2 {
    font-size: 22px;
  }
  .dialog-heading + .subtle {
    margin-bottom: 22px;
  }
  #notice:not(:empty) {
    inset-inline: 16px;
    inset-block-end: calc(92px + env(safe-area-inset-bottom));
    max-width: none;
    font-size: 14px;
    padding: 15px 18px;
  }
  .empty-state {
    padding: 30px 20px;
  }
}
@media (max-width: 380px) {
  .workspace {
    padding-inline: 16px;
  }
  .app-header {
    padding-inline: 16px;
    gap: 7px;
  }
  .mobile-brand {
    font-size: 19px;
    gap: 7px;
  }
  .mobile-brand .brand-mark {
    width: 26px;
    height: 26px;
  }
  .demo-badge {
    font-size: 10px;
    padding-inline: 6px;
  }
  .header-actions {
    gap: 4px;
  }
  .mobile-settings {
    width: 40px;
  }
  .next-layout {
    padding: 19px 18px;
    gap: 15px;
    grid-template-columns: 82px minmax(0, 1fr);
  }
  .panel-heading {
    padding-inline: 18px;
  }
  .next-card-footer {
    padding-inline: 18px;
  }
  .visit-time {
    font-size: 34px;
  }
  .next-customer h2,
  .next-customer h3 {
    font-size: 19px;
  }
  .attention-panel .simple-list {
    padding-inline: 18px;
  }
  .attention-row .secondary {
    padding-inline: 10px;
  }
  .job-row {
    padding-inline: 17px;
    gap: 6px 10px;
  }
  .row-avatar {
    width: 34px;
    height: 34px;
  }
  .job-heading > div {
    flex-basis: 100%;
  }
  .job-heading > .status {
    margin-top: -5px;
  }
}
.job-row[data-record] {
  grid-template-columns: minmax(0, 1fr) 18px;
}
.row-main > strong {
  font-size: 18px;
}
.row-main > span {
  font-size: 15px;
}
@media (min-width: 851px) and (max-width: 1050px) {
  .next-customer {
    display: block;
  }
  .next-customer-heading .customer-avatar {
    margin: 0;
  }
}
@media (max-width: 850px) {
  .header-context {
    display: flex;
  }
  .header-breadcrumb {
    display: none;
  }
  .home-summary-count {
    font-size: 13px;
    margin-top: 11px;
  }
  .next-layout {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 17px;
  }
  .visit-date .visit-time {
    font-size: 32px;
    letter-spacing: -0.6px;
  }
  .next-customer-heading {
    display: block;
  }
  .next-customer-heading .customer-avatar {
    margin-bottom: 10px;
    width: 34px;
    height: 34px;
  }
  .visit-address {
    margin-top: 12px !important;
    font-size: 14px !important;
    gap: 4px;
  }
  .visit-address .icon {
    width: 15px;
    height: 15px;
    margin-top: 3px;
  }
  .visit-service {
    font-size: 14px;
  }
  .attention-list {
    padding: 0 20px;
  }
  .attention-item {
    padding: 16px 0;
    gap: 11px;
  }
  .attention-action {
    min-height: 44px;
    font-size: 14px;
  }
  .attention-item-body p {
    font-size: 14px;
  }
  .attention-item-icon {
    width: 30px;
    height: 30px;
  }
  .panel-heading h2 .panel-count {
    margin-inline-start: 7px;
  }
  .attention-panel-footer {
    padding-inline: 20px;
  }
  .attention-panel-footer .text-button {
    font-size: 14px;
  }
  .recent-panel .panel-count {
    display: none;
  }
}
@media (max-width: 380px) {
  .next-layout {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 15px;
  }
  .visit-date .visit-time {
    font-size: 30px;
  }
  .attention-list {
    padding-inline: 18px;
  }
}
@media (max-width: 850px) {
  .row-main > strong {
    font-size: 17px;
  }
  .row-main > span {
    font-size: 14px;
  }
  .status {
    font-size: 13px;
  }
  .row-date {
    font-size: 14px;
  }
  .job-row[data-record] > .row-main {
    grid-column: 1;
    grid-row: 1;
  }
  .job-row[data-record] > .icon {
    grid-column: 2;
    grid-row: 1;
  }
  .conversation-title strong {
    font-size: 17px;
  }
}
.pilot-review {
  max-width: 850px;
  margin: 24px 0;
  padding: 25px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.pilot-review > .section-heading {
  margin-bottom: 8px;
}
.pilot-review > p {
  max-width: 70ch;
}
.pilot-review dl {
  margin: 22px 0;
}
.pilot-review dl > div {
  display: grid;
  grid-template-columns: minmax(135px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.pilot-review dt {
  color: var(--muted);
  font-size: 14px;
}
.pilot-review dd {
  margin: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.pilot-review dd small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 400;
}
.pilot-readiness {
  font-size: 15px;
  line-height: 1.65;
}
.pilot-readiness ul {
  padding-inline-start: 20px;
  margin: 8px 0 0;
  color: var(--muted);
}
.pilot-ready {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #23604f;
}
.pilot-ready .icon {
  margin-top: 3px;
}
.pilot-review [hidden] {
  display: none;
}
.pilot-review #pilot-save-first {
  margin-top: 16px;
  color: var(--amber);
}
.pilot-review .form-footer {
  margin-top: 20px;
}
.pilot-review button:disabled {
  cursor: default;
}
@media (max-width: 850px) {
  .pilot-review {
    padding: 22px 20px;
    margin-block: 20px;
  }
  .pilot-review dl > div {
    grid-template-columns: minmax(110px, 0.85fr) minmax(0, 1.15fr);
    gap: 12px;
  }
  .pilot-review dd {
    font-size: 15px;
  }
  .pilot-review .primary {
    min-height: 48px;
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.delivery-panel {
  margin: 0 0 26px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.delivery-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.delivery-heading h2 {
  margin: 0;
  font-size: 21px;
}
.delivery-heading p,
.delivery-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.delivery-heading p {
  margin: 5px 0 0;
}
.delivery-heading > .icon {
  color: var(--muted);
  margin-top: 5px;
}
.delivery-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.delivery-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.delivery-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f4f9;
  color: #61738c;
}
.delivery-symbol .icon {
  width: 18px;
  height: 18px;
}
.delivery-row-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}
.delivery-row-copy strong {
  font-size: 15px;
  font-weight: 600;
}
.delivery-row-copy > span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.delivery-row.is-complete .delivery-symbol {
  color: #23604f;
  background: #edf7f2;
}
.delivery-row.needs-attention .delivery-symbol {
  color: #895520;
  background: #fff3df;
}
.delivery-row.needs-attention .delivery-row-copy > span {
  color: #895520;
}
.delivery-row > .text-button {
  font-size: 14px;
  flex-shrink: 0;
  min-height: 44px;
  gap: 6px;
}
.delivery-row > .text-button > .icon {
  width: 15px;
}
.delivery-note {
  margin: 16px 0 0;
  max-width: 80ch;
}
@media (max-width: 850px) {
  .delivery-panel {
    padding: 20px;
  }
  .delivery-heading h2 {
    font-size: 19px;
  }
  .delivery-row {
    gap: 10px;
  }
  .delivery-row-copy strong {
    font-size: 15px;
  }
  .delivery-row-copy > span {
    font-size: 13px;
  }
  .delivery-symbol {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
  .delivery-row > .text-button {
    font-size: 13px;
    padding-inline: 3px;
  }
}

.missed-calls {
  margin-bottom: 24px;
}
.missed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.missed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}
.missed-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.missed-copy time {
  color: var(--muted);
  font-size: 14px;
}
.missed-copy p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.missed-item .secondary {
  white-space: nowrap;
}
@media (max-width: 850px) {
  .missed-item {
    flex-direction: column;
    align-items: stretch;
  }
}

.data-panel {
  max-width: 850px;
  margin-top: 24px;
  padding: 8px 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.delete-customer {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}
.delete-customer .field {
  flex: 1 1 220px;
}
.primary.danger {
  background: #b3261e;
}
.primary.danger:hover {
  background: #8f1d17;
}
#delete-dialog .form-footer {
  gap: 12px;
}
.removed-list {
  margin: 0 0 16px;
  padding-inline-start: 20px;
}

.voice-note {
  margin-bottom: 20px;
}
.source-tag {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 500;
  vertical-align: middle;
}
#voice-file {
  max-width: 100%;
}
