:root {
  color-scheme: light;
  --ink: #17243b;
  --muted: #64748b;
  --line: #e3e8ef;
  --blue: #1263d6;
  --blue-light: #ecf4ff;
  --nav: #101f35;
  --bg: #f5f7fb;
  --radius: 14px;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #70aaff;
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 8px;
}
.loading {
  padding: 70px;
  text-align: center;
  color: var(--muted);
}
.app-shell {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--nav);
  color: #d2deef;
  padding: 30px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.brand {
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.8px;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand-mark {
  width: 30px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #3a8bff;
  border-radius: 9px;
  color: white;
  font-size: 20px;
  letter-spacing: -3px;
  padding-right: 3px;
}
.workspace-label {
  margin: 10px 0 32px 39px;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #849bb9;
}
.nav-label {
  font-size: 12px;
  letter-spacing: 1.4px;
  color: #849bb9;
  margin: 15px 14px;
  text-transform: uppercase;
}
.nav-item {
  border: 0;
  background: transparent;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c9d5e6;
  padding: 13px 14px;
  border-radius: 10px;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 5px;
}
.nav-item.active {
  color: #fff;
  background: #263c5a;
}
.nav-item:hover {
  background: #1e324e;
}
.nav-item svg,
.icon {
  width: 19px;
  height: 19px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.sidebar-foot {
  margin-top: auto;
  border-top: 1px solid #2b3b52;
  padding: 20px 10px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #8fa3be;
}
.secure-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #bbccdf;
}
.main-shell {
  min-width: 0;
}
.topbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  background: white;
  gap: 15px;
}
.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
}
.user-menu {
  display: flex;
  gap: 12px;
  align-items: center;
}
.avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #e9f1fc;
  color: #155fc9;
  border-radius: 50%;
  font-weight: 750;
  font-size: 14px;
}
.user-text strong {
  display: block;
  font-size: 14px;
}
.user-text small {
  font-size: 12px;
  color: var(--muted);
}
.text-button {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 14px;
  padding: 10px;
}
.content {
  max-width: 1640px;
  margin: 0 auto;
  padding: 36px;
}
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 25px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.4px;
  color: var(--blue);
  font-weight: 750;
  text-transform: uppercase;
  margin: 0 0 8px;
}
h1 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin: 0 0 9px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.3px;
  margin: 0;
}
h3 {
  font-size: 16px;
  margin: 0;
}
.subtitle {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  border-radius: 9px;
  min-height: 43px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.button:hover {
  filter: brightness(0.96);
  text-decoration: none;
}
.button.secondary {
  background: #fff;
  border-color: #d5dce7;
  color: #34445e;
}
.button.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--blue);
}
.button.small {
  padding: 8px 12px;
  min-height: 36px;
  font-size: 13px;
}
.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.select-wrap {
  position: relative;
}
.select-wrap:after {
  content: "";
  border-right: 1.5px solid #566783;
  border-bottom: 1.5px solid #566783;
  transform: rotate(45deg);
  width: 6px;
  height: 6px;
  position: absolute;
  right: 14px;
  top: 17px;
  pointer-events: none;
}
select {
  appearance: none;
  max-width: 100%;
  background: #fff;
  border: 1px solid #d5dce7;
  border-radius: 9px;
  height: 43px;
  padding: 0 33px 0 13px;
  color: var(--ink);
  font-size: 14px;
}
input,
textarea {
  width: 100%;
  border: 1px solid #d5dce7;
  background: #fff;
  border-radius: 9px;
  padding: 12px;
  color: var(--ink);
  font-size: 15px;
}
input::placeholder,
textarea::placeholder {
  color: #8a98ac;
}
label {
  font-size: 14px;
  font-weight: 600;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 2px 3px #1a335504;
}
.filters {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.search-control {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 230px;
  border: 1px solid #d5dce7;
  border-radius: 9px;
  padding-left: 13px;
  background: white;
}
.search-control svg {
  color: var(--muted);
}
.search-control input {
  border: 0;
  background: transparent;
  padding-left: 0;
  min-width: 0;
  outline-offset: 0;
  height: 43px;
}
.search-control:focus-within {
  outline: 2px solid #70aaff;
  outline-offset: 1px;
}
.filter-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #738198;
  font-weight: 700;
  background: #fafbfd;
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  white-space: nowrap;
}
td {
  padding: 20px 18px;
  border-bottom: 1px solid #edf0f5;
  vertical-align: middle;
  font-size: 14px;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fbfdff;
}
.customer {
  display: flex;
  gap: 11px;
  align-items: center;
}
.customer-avatar {
  height: 37px;
  width: 37px;
  flex: none;
  display: grid;
  place-items: center;
  background: #edf3fa;
  border-radius: 10px;
  color: #4b6387;
  font-weight: 650;
  font-size: 12px;
}
.customer a {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.cell-sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.45;
}
.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  border: 1px solid #dbe7f8;
  background: #f2f7fe;
  border-radius: 5px;
  padding: 4px 7px;
  color: #2862a9;
}
.source-badge.octane {
  background: #f4f4f5;
  border-color: #e1e3e7;
  color: #424955;
}
.status {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 650;
  background: #edf3ff;
  color: #3460aa;
}
.status-working {
  background: #fff4d9;
  color: #946b10;
}
.status-hot-lead {
  background: #fff0e7;
  color: #b55823;
}
.status-approval,
.status-booked {
  background: #e7f5ed;
  color: #31744d;
}
.status-circle-back {
  background: #f0ebfc;
  color: #7655a4;
}
.status-no-contact,
.status-dead-lead {
  background: #eff1f5;
  color: #697488;
}
.repeat-badge {
  display: inline-block;
  color: #bd5e25;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
}
.pagination {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.pagination-buttons {
  display: flex;
  gap: 8px;
}
.empty {
  padding: 65px 25px;
  text-align: center;
  color: var(--muted);
}
.empty h2 {
  color: var(--ink);
  margin: 12px 0;
}
.empty svg {
  width: 35px;
  height: 35px;
}
.banner {
  padding: 12px 25px;
  background: #e9f2ff;
  color: #245397;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.banner.demo {
  background: #fff7df;
  color: #886823;
  justify-content: center;
  font-size: 12px;
}
.banner.warning {
  background: #fff3e4;
  color: #9c592b;
  border: 1px solid #f4dbb9;
  border-radius: 9px;
  margin-bottom: 20px;
}
.breadcrumbs {
  font-size: 13px;
  display: flex;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 23px;
}
.application-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 25px;
  gap: 20px;
}
.hero-person {
  display: flex;
  gap: 16px;
}
.hero-avatar {
  height: 56px;
  width: 56px;
  border-radius: 13px;
  background: #eaf2fe;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #3d6cad;
  font-weight: 750;
  flex: none;
}
.application-hero h1 {
  font-size: 27px;
  margin: 0 0 9px;
}
.contact-line {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}
.contact-line a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.source-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 13px;
  flex-wrap: wrap;
}
.status-track {
  padding: 17px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 9px;
  overflow: auto;
}
.status-step {
  padding: 10px 14px;
  border: 1px solid #dfe5ee;
  border-radius: 7px;
  background: #fff;
  color: #67768c;
  font-size: 13px;
  white-space: nowrap;
}
.status-step.selected {
  border-color: #75a7ec;
  background: #edf5ff;
  color: #1c60bc;
  font-weight: 700;
}
.status-step:hover {
  background: #f4f7fc;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}
.detail-main {
  display: grid;
  gap: 20px;
}
.detail-side {
  display: grid;
  gap: 20px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.section-heading h2 {
  font-size: 16px;
}
.section-heading svg {
  color: #8190a6;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 30px;
  padding: 24px;
  margin: 0;
}
.field-grid > div {
  min-width: 0;
}
dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 7px;
}
dd {
  margin: 0;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.note-form {
  padding: 20px;
}
.note-form textarea {
  min-height: 110px;
  resize: vertical;
  font-size: 14px;
  line-height: 1.5;
}
.note-form .button {
  margin-top: 10px;
  width: 100%;
}
.notes-list {
  padding: 0 20px 20px;
  max-height: 430px;
  overflow: auto;
}
.note {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 12px;
}
.note-meta {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 7px;
}
.note p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.side-content {
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
}
.side-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 13px;
}
.side-row span {
  color: var(--muted);
  font-size: 13px;
}
.side-row strong {
  font-size: 13px;
  text-align: right;
}
.activity {
  list-style: none;
  margin: 0;
  padding: 18px 20px;
  max-height: 350px;
  overflow: auto;
}
.activity li {
  padding: 0 0 18px 18px;
  position: relative;
  border-left: 1px solid #dfe5ee;
  font-size: 13px;
  line-height: 1.5;
}
.activity li:before {
  content: "";
  position: absolute;
  left: -4px;
  top: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a5b9d5;
}
.activity small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
  font-size: 11px;
}
.activity li:last-child {
  padding-bottom: 0;
  border-color: transparent;
}
.related {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.related:last-child {
  border: 0;
}
.related small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}
.team-list {
  padding: 5px 24px;
}
.team-member {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.team-member:last-child {
  border: 0;
}
.person-line {
  display: flex;
  align-items: center;
  gap: 12px;
}
.member-toggles {
  display: flex;
  gap: 25px;
  align-items: center;
}
.switch-label {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.switch-label input {
  appearance: none;
  width: 35px;
  height: 21px;
  border: 0;
  border-radius: 30px;
  background: #cdd6e3;
  padding: 0;
  position: relative;
  cursor: pointer;
  flex: none;
}
.switch-label input:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background: white;
  border-radius: 50%;
  left: 3px;
  top: 3px;
  transition: transform 0.15s;
}
.switch-label input:checked {
  background: var(--blue);
}
.switch-label input:checked:after {
  transform: translateX(14px);
}
.form-stack {
  display: grid;
  gap: 15px;
  padding: 24px;
}
.form-stack label {
  display: grid;
  gap: 8px;
}
.form-stack p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.help-panel {
  padding: 22px;
  margin-top: 20px;
}
.help-panel p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 0;
}
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 25px;
  background:
    radial-gradient(ellipse at 20% 0%, #e9f2ff, transparent 55%), var(--bg);
}
.login-card {
  width: min(100%, 460px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 44px;
  box-shadow: 0 20px 80px #1638650c;
}
.login-card .brand {
  justify-content: center;
  color: #162e50;
}
.login-card h1 {
  font-size: 27px;
  text-align: center;
  margin-top: 37px;
}
.login-card .subtitle {
  text-align: center;
}
.google-login {
  margin: 28px auto;
  display: flex;
  justify-content: center;
  min-height: 44px;
}
.login-note {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}
.demo-buttons {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}
.error-inline {
  color: #a23939;
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 0;
}
.error-panel {
  padding: 24px;
  color: #a23939;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
  background: #172c46;
  color: white;
  box-shadow: 0 8px 30px #0002;
  font-size: 14px;
  padding: 13px 20px;
  z-index: 100;
  max-width: calc(100vw - 30px);
  display: none;
}
#toast.visible {
  display: block;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  width: min(900px, 95vw);
  padding: 20px;
  max-height: 90vh;
}
dialog::backdrop {
  background: #07152599;
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dialog-heading h2 {
  font-size: 18px;
}
#document-content img {
  max-width: 100%;
  max-height: 70vh;
  display: block;
  margin: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.mobile-brand {
  display: none;
}
.logo-image {
  max-width: 180px;
  max-height: 55px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
@media (min-width: 1500px) {
  .content {
    padding: 42px 48px;
  }
  .topbar {
    padding: 0 48px;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 370px;
  }
}
@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 190px 1fr;
  }
  .sidebar {
    padding: 25px 12px;
  }
  .brand {
    font-size: 20px;
  }
  .content {
    padding: 26px;
  }
  .topbar {
    padding: 0 26px;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .member-toggles {
    gap: 15px;
  }
  td,
  th {
    padding-left: 13px;
    padding-right: 13px;
  }
  .hide-medium {
    display: none;
  }
}
@media (max-width: 850px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 14px 20px;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .sidebar .brand {
    font-size: 18px;
  }
  .workspace-label,
  .nav-label,
  .sidebar-foot {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 5px;
    margin-left: auto;
  }
  .nav-item {
    width: auto;
    margin: 0;
    padding: 9px 12px;
    font-size: 13px;
  }
  .nav-item svg {
    width: 16px;
    height: 16px;
  }
  .topbar {
    height: 65px;
  }
  .content {
    padding: 24px 20px;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .detail-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail-side .notes-panel {
    grid-row: span 2;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .application-hero {
    padding: 22px;
  }
  .hero-actions {
    display: none;
  }
  .top-actions {
    flex-wrap: wrap;
  }
  .team-member {
    grid-template-columns: 1fr;
  }
  .member-toggles {
    margin-left: 50px;
  }
}
@media (max-width: 620px) {
  .sidebar {
    padding: 14px 16px;
    gap: 7px;
  }
  .sidebar .brand {
    font-size: 17px;
  }
  .brand-mark {
    width: 26px;
    height: 28px;
    font-size: 17px;
  }
  .nav-item {
    padding: 8px;
    font-size: 12px;
    gap: 5px;
  }
  .topbar {
    padding: 0 16px;
  }
  .user-text {
    display: none;
  }
  .content {
    padding: 23px 15px;
  }
  .breadcrumb {
    font-size: 12px;
  }
  .text-button {
    font-size: 12px;
    padding: 7px;
  }
  .topbar .avatar {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  h1 {
    font-size: 27px;
  }
  .page-heading {
    gap: 16px;
  }
  .top-actions {
    width: 100%;
    justify-content: space-between;
  }
  .top-actions select {
    max-width: 210px;
    font-size: 13px;
  }
  .filters {
    padding: 14px;
    gap: 9px;
  }
  .search-control {
    min-width: 100%;
    flex: 1;
  }
  .filters .select-wrap {
    flex: 1;
  }
  .filters select {
    width: 100%;
    font-size: 13px;
  }
  .filters .button {
    width: 100%;
  }
  .table-scroll {
    overflow: visible;
  }
  table,
  tbody {
    display: block;
  }
  thead {
    display: none;
  }
  tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 17px 15px;
    border-bottom: 1px solid var(--line);
    gap: 13px 10px;
  }
  tbody tr:last-child {
    border: 0;
  }
  td {
    display: block;
    padding: 0;
    border: 0;
    font-size: 13px;
  }
  td:first-child {
    grid-column: 1/-1;
  }
  .hide-medium {
    display: block;
  }
  .customer a {
    font-size: 16px;
  }
  .customer-avatar {
    width: 40px;
    height: 40px;
  }
  .cell-sub {
    font-size: 12px;
  }
  .mobile-label:before {
    content: attr(data-label);
    display: block;
    color: #7f8b9b;
    font-size: 11px;
    margin: 0 0 5px;
  }
  .table-action {
    align-self: center;
    justify-self: end;
  }
  .pagination {
    padding: 15px;
    font-size: 12px;
    gap: 10px;
  }
  .application-hero {
    padding: 20px 16px;
  }
  .hero-avatar {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    font-size: 15px;
  }
  .hero-person {
    gap: 12px;
  }
  .application-hero h1 {
    font-size: 23px;
  }
  .contact-line {
    gap: 8px;
    font-size: 13px;
    display: grid;
  }
  .source-meta {
    font-size: 11px;
    gap: 7px;
  }
  .status-track {
    padding: 14px;
  }
  .status-step {
    padding: 9px 12px;
    font-size: 12px;
  }
  .detail-grid {
    gap: 17px;
    margin-top: 17px;
  }
  .detail-side {
    grid-template-columns: 1fr;
  }
  .section-heading {
    padding: 18px;
  }
  .field-grid {
    padding: 20px 18px;
    gap: 22px 18px;
  }
  dd {
    font-size: 13px;
  }
  dt {
    font-size: 12px;
  }
  .team-list {
    padding: 0 17px;
  }
  .team-member {
    padding: 20px 0;
  }
  .member-toggles {
    margin-left: 0;
    justify-content: space-between;
  }
  .login-card {
    padding: 32px 25px;
  }
  .banner {
    font-size: 12px;
    padding: 10px 15px;
    align-items: flex-start;
  }
  .banner.demo {
    font-size: 11px;
  }
  .banner .text-button {
    padding: 0;
    font-size: 12px;
    color: inherit;
  }
  .breadcrumbs {
    font-size: 12px;
  }
  .status {
    font-size: 11px;
  }
  .repeat-badge {
    font-size: 10px;
  }
  .team-grid {
    gap: 17px;
  }
  .help-panel {
    padding: 18px;
  }
  .button.small {
    font-size: 12px;
  }
  .note-meta {
    font-size: 11px;
  }
}
.row-status {
  display: inline-block;
  max-width: 150px;
}
.row-status:after {
  top: 15px;
  right: 11px;
}
.status-select {
  height: 36px;
  font-size: 13px;
  font-weight: 600;
  padding-left: 10px;
  padding-right: 28px;
  border-color: #e1e7ef;
  border-radius: 7px;
  min-width: 120px;
}
.status-select.status-new-lead {
  background: #edf3ff;
  color: #3460aa;
}
.status-select.status-working {
  background: #fff4d9;
  color: #946b10;
}
.status-select.status-hot-lead {
  background: #fff0e7;
  color: #b55823;
}
.status-select.status-approval,
.status-select.status-booked {
  background: #e7f5ed;
  color: #31744d;
}
.status-select.status-circle-back {
  background: #f0ebfc;
  color: #7655a4;
}
.status-select.status-no-contact,
.status-select.status-dead-lead {
  background: #eff1f5;
  color: #697488;
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media print {
  body {
    background: white;
  }
  .sidebar,
  .topbar,
  .top-actions,
  .status-track,
  .note-form,
  .hero-actions,
  .banner,
  .button,
  .skip-link,
  #toast {
    display: none !important;
  }
  .app-shell {
    display: block;
  }
  .content {
    padding: 0;
  }
  .detail-grid {
    display: block;
  }
  .panel {
    box-shadow: none;
    break-inside: avoid;
    margin-bottom: 16px;
  }
  .detail-side {
    display: block;
  }
  .notes-list,
  .activity {
    max-height: none;
  }
  .field-grid {
    grid-template-columns: 1fr 1fr;
  }
  .application-hero {
    padding: 10px;
  }
  .contact-line a {
    color: black;
  }
}
