/* The typeface is served locally: private portal pages make no font-service requests. */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --muted: #52627a;
  font-family: "Inter", "Segoe UI", sans-serif;
}
body {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  font-optical-sizing: auto;
}
strong {
  font-weight: 750;
}
h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.15px;
}
h2 {
  font-size: 22px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 18px;
  font-weight: 700;
}
.subtitle {
  font-size: 17px;
  line-height: 1.6;
}
.eyebrow {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 1.2px;
}
.app-shell {
  grid-template-columns: 240px minmax(0, 1fr);
}
.brand {
  font-size: 24px;
  font-weight: 850;
}
.workspace-label,
.nav-label {
  font-size: 12px;
  font-weight: 650;
}
.nav-item {
  font-size: 16px;
  font-weight: 650;
  min-height: 48px;
}
.sidebar-foot {
  font-size: 14px;
}
.breadcrumb,
.breadcrumbs {
  font-size: 14px;
  font-weight: 550;
}
.user-text strong {
  font-size: 16px;
}
.user-text small {
  font-size: 13px;
}
.avatar {
  font-size: 15px;
  font-weight: 750;
}
.text-button {
  font-size: 15px;
  font-weight: 650;
}
.button {
  min-height: 48px;
  font-size: 16px;
  font-weight: 700;
  padding: 11px 18px;
}
.button.small {
  min-height: 42px;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 14px;
}
select {
  height: 48px;
  font-size: 15px;
  font-weight: 600;
}
.select-wrap:after {
  top: 20px;
}
input,
textarea,
.note-form textarea {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}
input::placeholder,
textarea::placeholder {
  color: #6c7b90;
  font-weight: 450;
}
label {
  font-size: 15px;
  font-weight: 650;
}
.search-control input {
  height: 48px;
}
.filters {
  gap: 12px;
  padding: 22px;
}
th {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.75px;
  color: #53627a;
  padding-top: 17px;
  padding-bottom: 17px;
}
td {
  font-size: 16px;
  font-weight: 550;
  padding-top: 23px;
  padding-bottom: 23px;
}
.customer a {
  font-size: 19px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.35px;
}
.customer > div:last-child {
  min-width: 0;
}
.customer-avatar {
  width: 44px;
  height: 44px;
  font-size: 14px;
  font-weight: 700;
}
.cell-sub {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  margin-top: 6px;
}
.source-badge {
  font-size: 13px;
  font-weight: 650;
  padding: 4px 8px;
}
.status {
  font-size: 14px;
  font-weight: 700;
}
.row-status {
  max-width: 175px;
}
.row-status:after {
  top: 17px;
}
.status-select {
  height: 42px;
  min-width: 140px;
  font-size: 14px;
  font-weight: 700;
  padding-left: 12px;
}
.repeat-badge {
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
}
.pagination {
  font-size: 14px;
  font-weight: 550;
}
.banner {
  font-size: 15px;
  font-weight: 550;
  line-height: 1.5;
}
.banner.demo {
  font-size: 13px;
  font-weight: 600;
}
.application-hero h1 {
  font-size: 35px;
  font-weight: 800;
}
.hero-person,
.hero-person > div:last-child {
  min-width: 0;
}
.contact-line {
  font-size: 16px;
  font-weight: 600;
}
.contact-line a {
  overflow-wrap: anywhere;
  min-width: 0;
}
.source-meta {
  font-size: 14px;
  line-height: 1.5;
}
.status-step {
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
}
.status-step.selected {
  font-weight: 750;
}
.detail-grid {
  grid-template-columns: minmax(0, 1fr) 380px;
}
.section-heading h2 {
  font-size: 21px;
  font-weight: 750;
}
dt {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
}
dd {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.5;
}
.field-grid {
  gap: 28px 32px;
}
.note-meta {
  font-size: 13px;
  flex-wrap: wrap;
}
.note p,
.side-content {
  font-size: 16px;
  line-height: 1.65;
}
.side-row span,
.side-row strong {
  font-size: 14px;
}
.activity li {
  font-size: 14px;
  font-weight: 550;
}
.activity small,
.related small {
  font-size: 13px;
  line-height: 1.55;
}
.person-line strong {
  font-size: 18px;
  font-weight: 750;
}
.switch-label {
  font-size: 14px;
  font-weight: 600;
}
.switch-label input {
  width: 40px;
  height: 24px;
}
.switch-label input:after {
  width: 18px;
  height: 18px;
}
.switch-label input:checked:after {
  transform: translateX(16px);
}
.form-stack p {
  font-size: 14px;
}
.help-panel p {
  font-size: 16px;
}
.login-card h1 {
  font-size: 32px;
}
.login-note {
  font-size: 14px;
}
.error-inline,
#toast {
  font-size: 16px;
  font-weight: 550;
}
.dialog-heading h2 {
  font-size: 22px;
}
@media (max-width: 1200px) {
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .customer a {
    font-size: 18px;
  }
}
@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .sidebar .brand {
    font-size: 21px;
  }
}
@media (max-width: 850px) {
  .app-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar {
    flex-wrap: wrap;
  }
  .sidebar .brand {
    font-size: 21px;
  }
  .nav-item {
    font-size: 14px;
    min-height: 44px;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 620px) {
  h1 {
    font-size: 32px;
    letter-spacing: -0.85px;
  }
  h2 {
    font-size: 21px;
  }
  .subtitle {
    font-size: 16px;
  }
  .breadcrumb,
  .breadcrumbs {
    font-size: 13px;
  }
  .text-button {
    font-size: 14px;
    padding: 8px;
  }
  .top-actions select,
  .filters select {
    font-size: 15px;
  }
  .top-actions select {
    max-width: 100%;
  }
  .filters {
    padding: 16px;
    gap: 10px;
  }
  .filters .select-wrap {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
  }
  .filters .select-wrap:has(#owner-filter) {
    flex-basis: 100%;
  }
  tbody tr {
    padding: 21px 17px;
    gap: 17px 12px;
  }
  td {
    font-size: 15px;
    padding: 0;
  }
  .customer a {
    font-size: 19px;
  }
  .cell-sub {
    font-size: 13px;
  }
  .mobile-label:before {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 6px;
  }
  .source-badge {
    font-size: 13px;
  }
  .status,
  .status-select {
    font-size: 14px;
  }
  .repeat-badge {
    font-size: 11px;
    margin-left: 0;
    display: block;
    margin-top: 4px;
  }
  .pagination {
    flex-wrap: wrap;
    font-size: 13px;
    gap: 12px;
  }
  .button.small {
    font-size: 14px;
  }
  .application-hero h1 {
    font-size: 29px;
    letter-spacing: -0.7px;
    overflow-wrap: anywhere;
  }
  .hero-avatar {
    width: 48px;
    height: 48px;
    font-size: 17px;
  }
  .contact-line {
    font-size: 15px;
  }
  .source-meta {
    font-size: 13px;
  }
  .status-step {
    font-size: 14px;
    min-height: 44px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .field-grid {
    gap: 25px 18px;
  }
  dt {
    font-size: 13px;
    font-weight: 650;
  }
  dd {
    font-size: 16px;
  }
  .note-meta {
    font-size: 13px;
  }
  .banner {
    font-size: 14px;
  }
  .banner.demo {
    font-size: 12px;
  }
  .login-card h1 {
    font-size: 30px;
  }
}
@media (max-width: 460px) {
  .sidebar {
    gap: 12px;
  }
  .sidebar nav {
    width: 100%;
    margin-left: 0;
  }
  .sidebar .nav-item {
    flex: 1;
    justify-content: center;
    font-size: 14px;
  }
  .user-menu {
    gap: 6px;
  }
}
@media print {
  body {
    font-size: 11pt;
  }
  .app-shell,
  .detail-grid {
    display: block;
  }
  .application-hero h1 {
    font-size: 24pt;
  }
  .section-heading h2 {
    font-size: 14pt;
  }
  dt,
  .cell-sub {
    font-size: 10pt;
  }
  dd {
    font-size: 11pt;
  }
}
