/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --bg: #f6f8fb;
  --panel: #fff;
  --panel-soft: #f4f7fb;
  --line: #dfe6f0;
  --line-warm: #f2dfdb;
  --text: #111827;
  --muted: #7b8799;
  --blue: #2d548c;
  --blue-2: #dce8f6;
  --red: #cf281f;
  --red-soft: #fde5e1;
  --green: #2e8b63;
  --green-soft: #dcf1e2;
  --violet-soft: #e8ddfb;
  --violet: #6e55a4;
  --shadow: 0 24px 70px #10182833;
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
  font-family: Inter, Segoe UI, sans-serif;
  font-size: 14px;
}

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.auth-page {
  background: linear-gradient(0deg, #f7f8fa, #f7f8fa), #fff;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px;
  display: flex;
}

.login-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  width: min(400px, 100%);
  padding: 32px;
  box-shadow: 0 20px 60px #0f17290a;
}

.brand-block {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 16px;
  display: flex;
}

.logo-wrap {
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  padding: 14px 0;
  display: flex;
}

.logo {
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  font-size: 22px;
  font-weight: 700;
  line-height: 20px;
  display: flex;
}

.logo.small {
  border-radius: 8px;
  width: 32px;
  height: 32px;
}

.brand-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
}

.brand-subtitle, .muted {
  color: var(--muted);
}

.brand-subtitle {
  font-size: 13px;
  line-height: 20px;
}

.auth-copy {
  margin-bottom: 12px;
  padding-top: 16px;
}

.auth-title {
  text-align: center;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
}

.auth-subtitle {
  text-align: center;
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 20px;
}

.field {
  gap: 8px;
  margin-bottom: 6px;
  padding-top: 12px;
  display: grid;
}

.field label, .label {
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.field input, .field select, .input, .select {
  border: 1px solid var(--line);
  width: 100%;
  height: 44px;
  color: var(--text);
  background: #fff;
  border-radius: 8px;
  outline: none;
  padding: 0 12px;
  font-size: 13px;
}

.field input:focus, .input:focus, .select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #2d548c1f;
}

.field input::placeholder, .input::placeholder {
  color: #757575;
}

.field-password {
  padding-bottom: 8px;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 44px;
}

.password-toggle {
  color: #5b6478;
  background: none;
  border: 0;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  display: inline-flex;
  position: absolute;
  top: 6px;
  right: 6px;
}

.password-toggle:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #2d548c47;
}

.eye-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  position: relative;
}

.eye-icon:before, .eye-icon:after {
  content: "";
  box-sizing: border-box;
  position: absolute;
}

.eye-icon:before {
  border: 1.1px solid;
  border-radius: 999px / 70%;
  inset: 2px 0;
}

.eye-icon:after {
  border: 1.1px solid;
  border-radius: 50%;
  width: 4px;
  height: 4px;
  top: 6px;
  left: 6px;
}

.btn {
  border: 1px solid var(--line);
  min-height: 40px;
  color: var(--blue);
  background: #fff;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-weight: 800;
  display: inline-flex;
}

.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.btn.ghost {
  background: none;
  border-color: #0000;
}

.btn.danger {
  color: var(--red);
  border-color: #0000;
}

.btn.full {
  width: 100%;
}

.login-card .btn.full {
  min-height: 44px;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
}

.error {
  color: var(--red);
  text-align: center;
  margin-top: 10px;
  font-weight: 700;
}

.app {
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  display: grid;
}

.sidebar {
  background: var(--bg);
  border-right: 1px solid var(--line);
  flex-direction: column;
  gap: 28px;
  min-height: 100vh;
  padding: 24px 20px;
  display: flex;
  position: sticky;
  top: 0;
}

.brand-row {
  align-items: center;
  gap: 10px;
  display: flex;
}

.brand-row strong {
  font-size: 16px;
  display: block;
}

.brand-row span {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  gap: 8px;
  display: grid;
}

.nav-link {
  color: #526078;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  font-weight: 800;
  display: flex;
}

.nav-link.active {
  color: var(--blue);
  background: #dce6f4;
}

.nav-left {
  align-items: center;
  gap: 10px;
  display: inline-flex;
}

.nav-icon {
  text-align: center;
  color: #51617a;
  width: 18px;
}

.counter {
  background: var(--red-soft);
  min-width: 28px;
  height: 24px;
  color: var(--red);
  border-radius: 999px;
  place-items: center;
  font-size: 12px;
  display: inline-grid;
}

.account {
  border-top: 1px solid var(--line);
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
  display: flex;
}

.avatar {
  width: 28px;
  height: 28px;
  color: var(--blue);
  background: #dbe6f6;
  border-radius: 50%;
  flex: none;
  place-items: center;
  font-weight: 800;
  display: inline-grid;
}

.account strong {
  font-size: 13px;
  display: block;
}

.account span {
  color: var(--muted);
  font-size: 12px;
  display: block;
}

.content {
  width: 100%;
  max-width: 1440px;
  padding: 24px 34px 72px;
}

.page-head {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  display: flex;
}

.title-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  display: flex;
}

h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

h2 {
  margin: 0;
  font-size: 20px;
}

.crumbs {
  color: var(--muted);
  margin-bottom: 10px;
}

.toolbar {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  display: flex;
}

.search {
  width: min(320px, 100%);
  position: relative;
}

.search input {
  padding-left: 38px;
}

.search:before {
  content: "⌕";
  color: var(--muted);
  position: absolute;
  top: 10px;
  left: 14px;
}

.panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

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

.table {
  border-collapse: collapse;
  width: 100%;
  min-width: 860px;
}

.table th {
  background: var(--panel-soft);
  color: #66738a;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: left;
  height: 38px;
  padding: 0 16px;
  font-size: 11px;
}

.table td {
  border-top: 1px solid var(--line-warm);
  vertical-align: middle;
  height: 56px;
  padding: 0 16px;
}

.table tr:first-child td {
  border-top: 1px solid var(--line);
}

.person {
  align-items: center;
  gap: 12px;
  font-weight: 800;
  display: inline-flex;
}

.amount {
  white-space: nowrap;
  font-weight: 900;
}

.clients-page {
  color: #0f1729;
  background: #fff;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
  display: grid;
}

.clients-sidebar {
  background: #f7f8fa;
  flex-direction: column;
  gap: 4px;
  min-height: 100vh;
  padding: 20px;
  display: flex;
}

.clients-brand {
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 8px 12px 20px;
  display: flex;
}

.clients-brand-mark {
  color: #fff;
  background: #2b4c7e;
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  display: inline-flex;
}

.clients-brand-copy {
  flex-direction: column;
  gap: 0;
  display: flex;
}

.clients-brand-copy strong {
  color: #0f1729;
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
}

.clients-brand-copy span {
  color: #8a92a3;
  font-size: 11px;
  line-height: 14px;
}

.clients-nav {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.clients-nav-item {
  color: #5b6478;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 12px;
  display: flex;
}

.clients-nav-item.active {
  color: #2b4c7e;
  background: #dde5f2;
}

.clients-nav-left {
  align-items: center;
  gap: 12px;
  min-width: 0;
  display: inline-flex;
}

.clients-nav-icon {
  flex: none;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.clients-nav-icon svg, .clients-create-btn svg, .clients-search svg, .clients-select svg, .clients-row-action svg, .clients-account-menu svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 100%;
  height: 100%;
}

.clients-nav-label {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.clients-nav-item.active .clients-nav-label {
  font-weight: 600;
}

.clients-nav-badge {
  color: #c2261f;
  background: #fce5e1;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 29px;
  height: 24px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  display: inline-flex;
}

.clients-sidebar-spacer {
  flex: auto;
}

.clients-account {
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid #e5e8ee;
  align-items: center;
  gap: 10px;
  min-height: 73px;
  margin-top: auto;
  padding: 16px 12px 0;
  display: flex;
}

.clients-account-avatar {
  color: #2b4c7e;
  background: #dde5f2;
  border-radius: 16px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  display: inline-flex;
}

.clients-account-copy {
  flex-direction: column;
  flex: auto;
  gap: 0;
  min-width: 0;
  display: flex;
}

.clients-account-copy strong {
  color: #0f1729;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.clients-account-copy span {
  color: #8a92a3;
  font-size: 11px;
  line-height: 20px;
}

.clients-account-menu {
  color: #8a92a3;
  flex: none;
  width: 16px;
  height: 16px;
}

.clients-main {
  flex-direction: column;
  justify-self: start;
  gap: 16px;
  width: min(1440px, 100%);
  min-width: 0;
  padding: 24px 32px 48px;
  display: flex;
}

.clients-header {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 40px;
  display: flex;
}

.clients-heading {
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  display: flex;
}

.clients-heading h1 {
  color: #0f1729;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.clients-heading span {
  color: #8a92a3;
  white-space: nowrap;
  font-size: 16px;
  line-height: 20px;
}

.clients-create-btn {
  color: #fff;
  background: #2b4c7e;
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 175px;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  display: inline-flex;
}

.clients-create-btn svg {
  width: 16px;
  height: 16px;
}

.clients-toolbar {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.clients-search, .clients-select, .clients-overdue-filter {
  min-height: 40px;
}

.clients-search {
  align-items: center;
  width: 320px;
  display: flex;
  position: relative;
}

.clients-search input {
  color: #0f1729;
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  outline: none;
  width: 100%;
  height: 40px;
  padding: 0 12px 0 38px;
  font-size: 14px;
  line-height: 17px;
}

.clients-search input::placeholder {
  color: #757575;
}

.clients-search svg {
  color: #8a92a3;
  width: 16px;
  height: 16px;
  position: absolute;
  left: 12px;
}

.clients-select {
  color: #0f1729;
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  width: auto;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  position: relative;
}

.clients-select-label {
  color: #8a92a3;
  white-space: nowrap;
  font-size: 14px;
  line-height: 20px;
}

.clients-select select {
  appearance: none;
  color: #0f1729;
  background: none;
  border: 0;
  outline: none;
  padding-right: 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.clients-select svg {
  color: #5b6478;
  pointer-events: none;
  width: 14px;
  height: 14px;
  position: absolute;
  right: 12px;
}

.clients-overdue-filter {
  color: #0f1729;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  min-width: 203px;
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  display: inline-flex;
}

.clients-overdue-filter input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.clients-overdue-box {
  background: #fff;
  border: 1px solid #c7cdd9;
  border-radius: 4px;
  flex: none;
  width: 18px;
  height: 18px;
  display: inline-block;
}

.clients-overdue-filter input:checked + .clients-overdue-box {
  background: #2b4c7e;
  border-color: #2b4c7e;
  box-shadow: inset 0 0 0 2px #fff;
}

.clients-table-card {
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 12px;
  flex-direction: column;
  min-height: 792.5px;
  display: flex;
  overflow: hidden;
}

.clients-loading-card {
  min-height: 792.5px;
}

.clients-loading {
  color: #8a92a3;
  place-items: center;
  min-height: 240px;
  font-size: 14px;
  display: grid;
}

.clients-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.clients-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.clients-table thead th {
  color: #5b6478;
  text-transform: uppercase;
  letter-spacing: .4px;
  text-align: left;
  background: #f7f8fa;
  border-bottom: 1px solid #e5e8ee;
  height: 38px;
  padding: 12px;
  font-size: 11px;
  font-weight: 600;
  line-height: 13px;
}

.clients-table thead th:first-child {
  width: 400px;
}

.clients-table thead th:nth-child(2) {
  width: 216px;
}

.clients-table thead th:nth-child(3) {
  width: 190px;
}

.clients-table thead th:nth-child(4) {
  width: 210px;
}

.clients-table thead th:nth-child(5) {
  width: 160px;
}

.clients-table thead th:last-child {
  width: 48px;
}

.clients-table tbody tr {
  border-bottom: 1px solid #e5e8ee;
}

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

.clients-table tbody td {
  vertical-align: middle;
  color: #0f1729;
  padding: 0 12px;
}

.clients-table tbody tr.even-row td {
  height: 60px;
}

.clients-table tbody tr.odd-row td {
  height: 63px;
}

.clients-table tbody tr.frozen-row td, .clients-table tbody tr.closed-row td {
  height: 54px;
}

.clients-person {
  align-items: center;
  gap: 10px;
  max-width: 100%;
  display: inline-flex;
}

.clients-person-avatar {
  color: #2b4c7e;
  background: #dde5f2;
  border-radius: 14px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: 11px;
  font-weight: 600;
  line-height: 13px;
  display: inline-flex;
}

.clients-person-name {
  color: #0f1729;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
}

.clients-phone, .clients-manager {
  color: #5b6478;
  font-size: 14px;
  line-height: 17px;
}

.clients-status {
  border-radius: 999px;
  align-items: center;
  min-height: 24px;
  padding: 4.5px 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 15px;
  display: inline-flex;
}

.clients-status.active {
  color: #2b4c7e;
  background: #d3e0f0;
}

.clients-status.frozen {
  color: #6b5da8;
  background: #e2daf1;
}

.clients-status.closed {
  color: #5b6478;
  background: #fce5e1;
}

.clients-payment-cell {
  padding-top: 12.5px !important;
  padding-bottom: 12.5px !important;
}

.clients-payment-date {
  color: #0f1729;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  display: block;
}

.clients-payment-date.warning, .clients-payment-meta.warning {
  color: #c2261f;
}

.clients-payment-meta {
  color: #8a92a3;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 12px;
  line-height: 15px;
  display: inline-flex;
}

.clients-overdue-pill {
  color: #c2261f;
  background: #f8d5cf;
  border-radius: 999px;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
  display: inline-flex;
}

.clients-row-action {
  color: #8a92a3;
  text-align: center;
}

.clients-row-action svg {
  width: 16px;
  height: 16px;
}

.clients-pagination {
  background: #f7f8fa;
  border-top: 1px solid #e5e8ee;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 61px;
  padding: 14px 16px;
  display: flex;
}

.clients-pagination > span {
  color: #5b6478;
  font-size: 13px;
  line-height: 20px;
}

.clients-pagination-controls {
  align-items: center;
  gap: 4px;
  display: flex;
}

.clients-page-btn {
  color: #5b6478;
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
}

.clients-page-btn svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.05px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 14px;
  height: 14px;
}

.clients-page-btn.active {
  color: #fff;
  background: #2b4c7e;
  border-color: #2b4c7e;
  font-weight: 600;
}

.clients-pagination-dots {
  color: #8a92a3;
  justify-content: center;
  align-items: center;
  width: 27px;
  padding: 0 8px;
  font-size: 13px;
  line-height: 20px;
  display: inline-flex;
}

.employees-page {
  color: #0f1729;
  background: #fff;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 1200px;
  display: grid;
}

.employees-sidebar {
  background: #f7f8fa;
  flex-direction: column;
  gap: 4px;
  min-height: 1200px;
  padding: 20px;
  display: flex;
}

.employees-brand {
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 8px 12px 20px;
  display: flex;
}

.employees-brand-mark {
  color: #fff;
  background: #2b4c7e;
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  display: inline-flex;
}

.employees-brand-copy {
  flex-direction: column;
  gap: 0;
  display: flex;
}

.employees-brand-copy strong {
  color: #0f1729;
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
}

.employees-brand-copy span {
  color: #8a92a3;
  font-size: 11px;
  line-height: 14px;
}

.employees-nav {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.employees-nav-item {
  color: #5b6478;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 12px;
  display: flex;
}

.employees-nav-item.active {
  color: #2b4c7e;
  background: #dde5f2;
}

.employees-nav-left {
  align-items: center;
  gap: 12px;
  min-width: 0;
  display: inline-flex;
}

.employees-nav-icon {
  flex: none;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.employees-nav-icon svg, .employees-create-btn svg, .employees-search svg, .employees-account-menu svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 100%;
  height: 100%;
}

.employees-nav-label {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.employees-nav-item.active .employees-nav-label {
  font-weight: 600;
}

.employees-nav-badge {
  color: #c2261f;
  background: #fce5e1;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 29px;
  height: 24px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  display: inline-flex;
}

.employees-sidebar-spacer {
  flex: auto;
}

.employees-account {
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid #e5e8ee;
  align-items: center;
  gap: 10px;
  min-height: 73px;
  margin-top: auto;
  padding: 16px 12px 0;
  display: flex;
}

.employees-account-avatar {
  color: #2b4c7e;
  background: #dde5f2;
  border-radius: 16px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  display: inline-flex;
}

.employees-account-copy {
  flex-direction: column;
  flex: auto;
  gap: 0;
  min-width: 0;
  display: flex;
}

.employees-account-copy strong {
  color: #0f1729;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.employees-account-copy span {
  color: #8a92a3;
  font-size: 11px;
  line-height: 20px;
}

.employees-account-menu {
  color: #8a92a3;
  flex: none;
  width: 16px;
  height: 16px;
}

.employees-main {
  flex-direction: column;
  justify-self: start;
  gap: 16px;
  width: min(1440px, 100%);
  min-width: 0;
  min-height: 1200px;
  padding: 24px 32px 48px;
  display: flex;
}

.employees-header {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 40px;
  display: flex;
}

.employees-heading {
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  display: flex;
}

.employees-heading h1 {
  color: #0f1729;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.employees-heading span {
  color: #8a92a3;
  white-space: nowrap;
  font-size: 16px;
  line-height: 20px;
}

.employees-create-btn {
  color: #fff;
  background: #2b4c7e;
  border: 0;
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 209px;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  display: inline-flex;
}

.employees-create-btn svg {
  width: 16px;
  height: 16px;
}

.employees-toolbar {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  display: flex;
}

.employees-search {
  align-items: center;
  width: 320px;
  display: flex;
  position: relative;
}

.employees-search input {
  color: #0f1729;
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  outline: none;
  width: 100%;
  height: 40px;
  padding: 0 12px 0 38px;
  font-size: 14px;
  line-height: 17px;
}

.employees-search input::placeholder {
  color: #757575;
}

.employees-search svg {
  color: #8a92a3;
  width: 16px;
  height: 16px;
  position: absolute;
  left: 12px;
}

.employees-table-card {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 12px;
  flex-direction: column;
  width: 1376px;
  max-width: 100%;
  min-height: 510.5px;
  display: flex;
  overflow: hidden;
}

.employees-loading-card {
  min-height: 510.5px;
}

.employees-loading {
  color: #8a92a3;
  place-items: center;
  min-height: 240px;
  font-size: 14px;
  display: grid;
}

.employees-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.employees-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.employees-table thead th {
  color: #5b6478;
  text-transform: uppercase;
  letter-spacing: .4px;
  text-align: left;
  background: #f7f8fa;
  border-bottom: 1px solid #e5e8ee;
  height: 38px;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  line-height: 13px;
}

.employees-table thead th:first-child {
  width: 699.14px;
}

.employees-table thead th:nth-child(2) {
  width: 346.48px;
}

.finances-page {
  color: #0f1729;
  background: #fff;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 1339.5px;
  display: grid;
  overflow-y: auto;
}

.finances-sidebar {
  background: #f7f8fa;
  flex-direction: column;
  gap: 4px;
  min-height: 1339.5px;
  padding: 20px;
  display: flex;
}

.finances-brand {
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 8px 12px 20px;
  display: flex;
}

.finances-brand-mark {
  color: #fff;
  background: #2b4c7e;
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  display: inline-flex;
}

.finances-brand-copy {
  flex-direction: column;
  gap: 0;
  display: flex;
}

.finances-brand-copy strong {
  color: #0f1729;
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
}

.finances-brand-copy span {
  color: #8a92a3;
  font-size: 11px;
  line-height: 14px;
}

.finances-nav {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.finances-nav-item {
  color: #5b6478;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 12px;
  display: flex;
}

.finances-nav-item.active {
  color: #2b4c7e;
  background: #dde5f2;
}

.finances-nav-left {
  align-items: center;
  gap: 12px;
  min-width: 0;
  display: inline-flex;
}

.finances-nav-icon {
  flex: none;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.finances-nav-icon svg, .finances-account-menu svg, .finances-date-picker-icon svg, .finances-date-picker-chevron svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.05px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 100%;
  height: 100%;
}

.finances-nav-label {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.finances-nav-item.active .finances-nav-label {
  font-weight: 600;
}

.finances-nav-badge {
  color: #c2261f;
  background: #fce5e1;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 29px;
  height: 24px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  display: inline-flex;
}

.finances-sidebar-spacer {
  flex: auto;
}

.finances-account {
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid #e5e8ee;
  align-items: center;
  gap: 10px;
  min-height: 73px;
  margin-top: auto;
  padding: 16px 12px 0;
  display: flex;
}

.finances-account-avatar {
  color: #92691a;
  background: #f7f8fa;
  border-radius: 16px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  display: inline-flex;
}

.finances-account-copy {
  flex-direction: column;
  flex: auto;
  gap: 0;
  min-width: 0;
  display: flex;
}

.finances-account-copy strong {
  color: #0f1729;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.finances-account-copy span {
  color: #92691a;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
}

.finances-account-menu {
  color: #8a92a3;
  flex: none;
  width: 16px;
  height: 16px;
}

.finances-main {
  flex-direction: column;
  justify-self: start;
  gap: 16px;
  width: min(1440px, 100%);
  min-width: 0;
  min-height: 1339.5px;
  padding: 24px 32px 48px;
  display: flex;
}

.finances-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  min-height: 54px;
  display: flex;
}

.finances-heading {
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.finances-heading h1 {
  color: #0f1729;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.finances-heading span {
  color: #5b6478;
  font-size: 13px;
  line-height: 20px;
}

.finances-toolbar {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.finances-date-picker {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  width: 328.7px;
  height: 40px;
  padding: 9px 14px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.finances-date-picker-icon {
  color: #5b6478;
  flex: none;
  width: 16px;
  height: 16px;
}

.finances-date-picker-label {
  color: #8a92a3;
  white-space: nowrap;
  font-size: 13px;
  line-height: 20px;
}

.finances-date-picker-value {
  color: #0f1729;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.finances-date-picker-chevron {
  color: #5b6478;
  flex: none;
  width: 14px;
  height: 14px;
  margin-left: auto;
}

.finances-date-input {
  opacity: 0;
  cursor: pointer;
  background: none;
  border: 0;
  position: absolute;
  top: 0;
  bottom: 0;
}

.finances-date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

.finances-date-input-from {
  width: 200px;
  left: 0;
}

.finances-date-input-to {
  width: 118px;
  right: 0;
}

.finances-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  display: grid;
  position: relative;
}

.finances-metric {
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 12px;
  flex-direction: column;
  gap: 6px;
  min-height: 130px;
  padding: 20px 20px 22px;
  display: flex;
}

.finances-metric.is-accent {
  background: #dde5f2;
  border-color: #0000;
}

.finances-metric.is-success {
  background: #ecfbed;
  border-color: #0000;
}

.finances-metric.is-danger {
  background: #f3eded;
  border-color: #0000;
}

.finances-metric-title {
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #8a92a3;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
}

.finances-metric-value {
  color: #0f1729;
  font-size: 28px;
  font-weight: 700;
  line-height: 32px;
}

.finances-metric-value.is-success, .finances-metric-note.is-success {
  color: #2f7d5c;
}

.finances-metric-value.is-danger, .finances-metric-note.is-danger {
  color: #c2261f;
}

.finances-metric-note {
  color: #5b6478;
  font-size: 12px;
  line-height: 20px;
}

.finances-section {
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  display: flex;
}

.finances-section-head {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.finances-section-kicker {
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #8a92a3;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
}

.finances-section h2 {
  color: #0f1729;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
}

.finances-table-card {
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 12px;
  min-height: 769.5px;
  overflow: hidden;
}

.finances-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.finances-loading {
  color: #8a92a3;
  place-items: center;
  min-height: 240px;
  font-size: 14px;
  display: grid;
}

.finances-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.finances-table thead th {
  color: #5b6478;
  text-transform: uppercase;
  letter-spacing: .4px;
  text-align: left;
  background: #f7f8fa;
  height: 34px;
  padding: 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 13px;
}

.finances-table thead th:first-child {
  width: 40%;
}

.finances-table thead th:nth-child(2) {
  width: 13%;
}

.finances-table thead th:nth-child(3) {
  width: 12%;
}

.finances-table thead th:nth-child(4) {
  width: 27%;
}

.finances-table thead th:last-child {
  width: 8%;
}

.finances-table thead th.is-right {
  text-align: right;
}

.finances-table tbody tr {
  border-top: 1px solid #e5e8ee;
}

.finances-table tbody td {
  vertical-align: middle;
  height: 50px;
  padding: 0 10px;
}

.finances-table tbody td:nth-child(2) {
  text-align: right;
  padding-right: 8px;
}

.finances-person {
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: inline-flex;
}

.finances-person-avatar {
  color: #2b4c7e;
  background: #dde5f2;
  border-radius: 14px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: 11px;
  font-weight: 600;
  line-height: 13px;
  display: inline-flex;
}

.finances-person-name {
  color: #0f1729;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  overflow: hidden;
}

.finances-badge {
  color: #c2261f;
  border-radius: 999px;
  align-items: center;
  min-height: 24px;
  padding: 4.5px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
  display: inline-flex;
}

.finances-badge.critical {
  color: #fff;
  background: #c2261f;
}

.finances-badge.warning {
  background: #f8d5cf;
}

.finances-badge.soft {
  background: #f3eded;
}

.finances-amount {
  text-align: right;
  white-space: nowrap;
  color: #0f1729;
  padding-right: 2px;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
}

.finances-manager {
  color: #5b6478;
  font-size: 13px;
  line-height: 16px;
}

.finances-row-action {
  color: #8a92a3;
  text-align: center;
  font-size: 24px;
  line-height: 1;
}

.employees-table thead th:nth-child(3) {
  width: 328.38px;
}

.employees-table tbody tr {
  border-bottom: 1px solid #e5e8ee;
}

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

.employees-table tbody td {
  vertical-align: middle;
  padding: 0 16px;
}

.employees-table tbody tr td {
  height: 60px;
}

.employees-person {
  align-items: center;
  gap: 10px;
  max-width: 100%;
  display: inline-flex;
}

.employees-person-avatar {
  color: #2b4c7e;
  background: #dde5f2;
  border-radius: 14px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: 11px;
  font-weight: 600;
  line-height: 13px;
  display: inline-flex;
}

.employees-person-name {
  color: #0f1729;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
}

.employees-login {
  color: #5b6478;
  font-family: Menlo, Monaco, Consolas, Liberation Mono, monospace;
  font-size: 13px;
  line-height: 15px;
}

.employees-role {
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  min-height: 24px;
  padding: 4.5px 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 15px;
  display: inline-flex;
}

.employees-role.owner {
  color: #92691a;
  background: #faf6ee;
}

.employees-role.admin {
  color: #2b4c7e;
  background: #d3e0f0;
}

.employees-role.manager {
  color: #5b6478;
  background: #fce5e1;
}

@media (max-width: 1200px) {
  .clients-page {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .clients-main {
    padding: 24px 20px 40px;
  }

  .clients-header, .clients-toolbar, .clients-pagination {
    gap: 12px;
  }

  .employees-page {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .employees-main {
    padding: 24px 20px 40px;
  }
}

@media (max-width: 960px) {
  .clients-page {
    display: block;
  }

  .clients-sidebar {
    z-index: 10;
    min-height: auto;
    position: sticky;
    top: 0;
  }

  .clients-main {
    max-width: none;
    padding: 20px 16px 32px;
  }

  .clients-header {
    flex-wrap: wrap;
  }

  .clients-search {
    width: 100%;
  }

  .employees-page {
    display: block;
  }

  .employees-sidebar {
    z-index: 10;
    min-height: auto;
    position: sticky;
    top: 0;
  }

  .employees-main {
    max-width: none;
    padding: 20px 16px 32px;
  }

  .employees-header {
    flex-wrap: wrap;
  }

  .employees-search {
    width: 100%;
  }
}

.phone, .subtle {
  color: #66738a;
}

.arrow {
  color: #95a1b4;
  font-size: 22px;
}

.badge {
  background: var(--blue-2);
  height: 24px;
  color: var(--blue);
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
}

.badge svg, .new-client-total-badge svg {
  flex: none;
  width: 14px;
  height: 14px;
}

.badge.red {
  color: var(--red);
  background: var(--red-soft);
}

.badge.red.hot {
  background: var(--red);
  color: #fff;
}

.badge.green {
  background: var(--green-soft);
  color: var(--green);
}

.badge.violet {
  background: var(--violet-soft);
  color: var(--violet);
}

.badge.closed {
  color: #8a5b58;
  background: #fae2df;
}

.pagination {
  color: var(--muted);
  background: var(--panel-soft);
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  display: flex;
}

.page-buttons {
  gap: 6px;
  display: flex;
}

.page-button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  width: 32px;
  height: 32px;
}

.page-button.active {
  background: var(--blue);
  color: #fff;
}

.grid-detail {
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 16px;
  display: grid;
}

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

.card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}

.client-card-head {
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  display: flex;
}

.big-avatar {
  width: 58px;
  height: 58px;
  color: var(--blue);
  background: #dce6f4;
  border-radius: 50%;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  display: grid;
}

.info-row {
  border-bottom: 1px solid var(--line-warm);
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  display: flex;
}

.info-row span:first-child {
  color: var(--muted);
}

.file-row {
  background: var(--panel-soft);
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px;
  display: flex;
}

.file-icon {
  background: var(--red-soft);
  width: 36px;
  height: 36px;
  color: var(--red);
  border-radius: 8px;
  place-items: center;
  display: grid;
}

.progress-big {
  font-size: 28px;
  font-weight: 900;
}

.bar {
  background: #dbe4f1;
  border-radius: 999px;
  height: 8px;
  margin: 12px 0 8px;
  overflow: hidden;
}

.bar div {
  background: var(--blue);
  height: 100%;
}

.section-head {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 22px;
  display: flex;
}

.timeline {
  gap: 24px;
  padding: 24px;
  display: grid;
}

.event {
  padding-left: 28px;
  position: relative;
}

.event:before {
  content: "";
  border: 3px solid var(--blue);
  background: #fff;
  border-radius: 50%;
  width: 9px;
  height: 9px;
  position: absolute;
  top: 4px;
  left: 7px;
}

.event:after {
  content: "";
  background: var(--line-warm);
  width: 1px;
  position: absolute;
  top: 22px;
  bottom: -24px;
  left: 13px;
}

.event:last-child:after {
  display: none;
}

.form-page {
  max-width: 620px;
}

.form-section {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 18px;
}

.form-section-title {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 900;
}

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

.radio-card {
  gap: 10px;
  margin: 14px 0;
  display: flex;
}

.mini-table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 14px;
}

.mini-table th, .mini-table td {
  border-top: 1px solid var(--line-warm);
  text-align: left;
  padding: 10px;
}

.mini-table th {
  background: var(--panel-soft);
  color: #66738a;
  text-transform: uppercase;
  font-size: 10px;
}

.total-strip {
  background: #eaf1fc;
  border-radius: 0 0 10px 10px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px;
  display: flex;
}

.new-client-main {
  background: #fff;
  width: min(1440px, 100%);
  max-width: 1440px;
  padding: 24px 32px 48px;
}

.new-client-page {
  color: #0f1729;
  width: 100%;
}

.new-client-header {
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
  display: flex;
}

.new-client-crumbs {
  color: #8a92a3;
  align-items: center;
  gap: 6px;
  min-height: 20px;
  font-size: 13px;
  line-height: 20px;
  display: flex;
}

.new-client-crumbs strong {
  color: #5b6478;
  font-weight: 400;
}

.new-client-header h1, .new-client-section h2 {
  color: #0f1729;
  margin: 0;
}

.new-client-header h1 {
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.new-client-mode-note {
  color: #5b6478;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 20px;
}

.new-client-form {
  flex-direction: column;
  gap: 16px;
  width: 720px;
  max-width: 100%;
  display: flex;
}

.new-client-section {
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 12px;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 20px;
  display: flex;
}

.new-client-section h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
}

.new-client-kicker, .new-client-total-label {
  color: #8a92a3;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
}

.new-client-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  padding-top: 8px;
  display: grid;
}

.new-client-field {
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.new-client-field > span:first-child, .new-client-label {
  color: #0f1729;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.new-client-field small {
  color: #8a92a3;
  font-size: 12px;
  line-height: 20px;
}

.new-client-input-wrap {
  align-items: center;
  display: flex;
  position: relative;
}

.new-client-input-wrap input, .new-client-table-input, .new-client-table-amount input {
  color: #0f1729;
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  outline: none;
  width: 100%;
  height: 40px;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
}

.new-client-input-wrap input {
  padding: 0 12px;
}

.new-client-input-wrap input:focus, .new-client-table-input:focus, .new-client-table-amount input:focus {
  border-color: #2b4c7e;
  box-shadow: 0 0 0 3px #2b4c7e1f;
}

.new-client-input-wrap input:disabled {
  color: #5b6478;
  cursor: not-allowed;
  background: #f7f8fa;
}

.new-client-input-wrap:has(.has-calendar-icon):before {
  content: "";
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M12.6667%202.66699H3.33333C2.59695%202.66699%202%203.26395%202%204.00033V13.3337C2%2014.07%202.59695%2014.667%203.33333%2014.667H12.6667C13.403%2014.667%2014%2014.07%2014%2013.3337V4.00033C14%203.26395%2013.403%202.66699%2012.6667%202.66699Z%22%20stroke%3D%22%238A92A3%22%20stroke-width%3D%221.06667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3Cpath%20d%3D%22M10.6665%201.33301V3.99967%22%20stroke%3D%22%238A92A3%22%20stroke-width%3D%221.06667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3Cpath%20d%3D%22M5.3335%201.33301V3.99967%22%20stroke%3D%22%238A92A3%22%20stroke-width%3D%221.06667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3Cpath%20d%3D%22M2%206.66699H14%22%20stroke%3D%22%238A92A3%22%20stroke-width%3D%221.06667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E") center / 16px 16px no-repeat;
  width: 16px;
  height: 16px;
  position: absolute;
  left: 12px;
}

.new-client-input-wrap:has(.has-calendar-icon):after {
  content: none;
}

.new-client-table-input.has-calendar-icon {
  background: #fff url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M12.6667%202.66699H3.33333C2.59695%202.66699%202%203.26395%202%204.00033V13.3337C2%2014.07%202.59695%2014.667%203.33333%2014.667H12.6667C13.403%2014.667%2014%2014.07%2014%2013.3337V4.00033C14%203.26395%2013.403%202.66699%2012.6667%202.66699Z%22%20stroke%3D%22%238A92A3%22%20stroke-width%3D%221.06667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3Cpath%20d%3D%22M10.6665%201.33301V3.99967%22%20stroke%3D%22%238A92A3%22%20stroke-width%3D%221.06667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3Cpath%20d%3D%22M5.3335%201.33301V3.99967%22%20stroke%3D%22%238A92A3%22%20stroke-width%3D%221.06667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3Cpath%20d%3D%22M2%206.66699H14%22%20stroke%3D%22%238A92A3%22%20stroke-width%3D%221.06667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E") 12px / 16px 16px no-repeat;
  padding-left: 38px;
}

.new-client-input-wrap .has-calendar-icon {
  padding-left: 38px;
}

.new-client-input-suffix {
  color: #5b6478;
  pointer-events: none;
  font-size: 14px;
  line-height: 20px;
  position: absolute;
  right: 12px;
}

.new-client-input-wrap:has(.new-client-input-suffix) input {
  padding-right: 76px;
}

.new-client-generate {
  color: #fff;
  background: #2b4c7e;
  border: 0;
  border-radius: 8px;
  width: 102px;
  height: 26px;
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
  position: absolute;
  right: 0;
}

.new-client-input-wrap:has(.new-client-generate) input {
  padding-right: 116px;
}

.new-client-section-contract {
  gap: 6px;
}

.new-client-file {
  background: #f7f8fa;
  border: 1px solid #e5e8ee;
  border-radius: 10px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 10px;
  display: flex;
}

.new-client-upload {
  cursor: pointer;
}

.new-client-upload input {
  display: none;
}

.new-client-upload-button {
  color: #2b4c7e;
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  min-width: 72px;
  height: 32px;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  display: inline-flex;
}

.new-client-file-icon {
  color: #c2261f;
  background: #fce5e1;
  border-radius: 10px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  display: inline-flex;
}

.new-client-file-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.new-client-file-copy {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.new-client-file-copy strong {
  color: #0f1729;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.new-client-file-copy span {
  color: #8a92a3;
  font-size: 12px;
  line-height: 20px;
}

.new-client-icon-button {
  color: #5b6478;
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
}

.new-client-short-field {
  width: 240px;
  max-width: 100%;
  padding-top: 10px;
}

.new-client-radio-list, .new-client-radio-group {
  flex-direction: column;
  padding-top: 8px;
  display: flex;
}

.new-client-radio-group {
  gap: 0;
  padding-top: 12px;
}

.new-client-radio {
  cursor: pointer;
  align-items: flex-start;
  gap: 10px;
  min-height: 62px;
  padding: 10px 0;
  display: flex;
}

.new-client-radio input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.new-client-radio-mark {
  background: #fff;
  border: 1px solid #c7cdd9;
  border-radius: 50%;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  display: inline-flex;
}

.new-client-radio input:checked + .new-client-radio-mark {
  border-color: #2b4c7e;
}

.new-client-radio input:checked + .new-client-radio-mark:after {
  content: "";
  background: #2b4c7e;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.new-client-radio-copy {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.new-client-radio-copy strong {
  color: #0f1729;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.new-client-radio-copy span {
  color: #8a92a3;
  font-size: 12px;
  line-height: 20px;
}

.new-client-divider {
  background: #fce5e1;
  height: 1px;
  margin-top: 6px;
}

.new-client-constructor {
  padding: 0;
  overflow: hidden;
}

.new-client-constructor-head {
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 16px;
  display: flex;
}

.new-client-constructor-head p:last-child {
  color: #5b6478;
  margin: 0;
  padding-top: 8px;
  font-size: 13px;
  line-height: 20px;
}

.new-client-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.new-client-table th {
  color: #5b6478;
  text-align: left;
  letter-spacing: .4px;
  text-transform: uppercase;
  background: #f7f8fa;
  border-block: 1px solid #e5e8ee;
  height: 35px;
  padding: 10.5px 16px;
  font-size: 11px;
  font-weight: 600;
  line-height: 13px;
}

.new-client-table th:first-child, .new-client-table td:first-child {
  width: 50px;
}

.new-client-table th:nth-child(2), .new-client-table td:nth-child(2) {
  width: 316px;
}

.new-client-table th:nth-child(3), .new-client-table td:nth-child(3) {
  width: 236px;
}

.new-client-table th:nth-child(4), .new-client-table td:nth-child(4) {
  width: 60px;
}

.new-client-table tr {
  border-bottom: 1px solid #e5e8ee;
}

.new-client-table tbody tr:last-child {
  border-bottom: 0;
}

.new-client-table td {
  color: #5b6478;
  height: 53px;
  padding: 8.5px 16px;
  font-size: 14px;
  line-height: 17px;
}

.new-client-table-input {
  border-radius: 6px;
  width: 140px;
  height: 36px;
  padding: 0 12px;
}

.new-client-table-amount {
  align-items: center;
  width: 160px;
  height: 36px;
  display: inline-flex;
  position: relative;
}

.new-client-table-amount input {
  border-radius: 6px;
  height: 36px;
  padding: 0 24px 0 12px;
}

.new-client-table-amount span {
  color: #8a92a3;
  pointer-events: none;
  font-size: 13px;
  line-height: 16px;
  position: absolute;
  right: 10px;
}

.new-client-remove-row {
  color: #5b6478;
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
}

.new-client-remove-row:disabled {
  opacity: .4;
  cursor: default;
}

.new-client-add-row-wrap {
  border-top: 1px solid #e5e8ee;
  min-height: 56px;
  padding: 10px 20px;
}

.new-client-add-row {
  color: #2b4c7e;
  background: #fff;
  border: 1px solid #dde5f2;
  border-radius: 8px;
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
}

.new-client-total {
  background: #ecf1fb;
  border-top: 1px solid #e5e8ee;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 77px;
  padding: 16px 20px;
  display: flex;
}

.new-client-total > div {
  grid-template-columns: auto auto;
  grid-template-areas: "label label"
                       "sum target";
  align-items: end;
  column-gap: 6px;
  min-width: 193px;
  display: grid;
}

.new-client-total-label {
  color: #5b6478;
  grid-area: label;
}

.new-client-total strong {
  color: #0f1729;
  grid-area: sum;
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
}

.new-client-total > div > span:last-child {
  color: #8a92a3;
  grid-area: target;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.new-client-total-badge {
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  display: inline-flex;
}

.new-client-total-badge.is-valid {
  color: #2f7d5c;
  background: #dcebe0;
}

.new-client-total-badge.is-invalid {
  color: #c2261f;
  background: #fce5e1;
}

.new-client-section-manager {
  gap: 6px;
}

.new-client-manager-select {
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  width: 360px;
  max-width: 100%;
  height: 48px;
  padding: 0 12px;
  display: flex;
  position: relative;
}

.new-client-manager-select.is-static {
  padding-right: 16px;
}

.new-client-manager-avatar {
  color: #2b4c7e;
  background: #dde5f2;
  border-radius: 50%;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  display: inline-flex;
}

.new-client-manager-copy {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.new-client-manager-copy strong {
  color: #0f1729;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}

.new-client-manager-copy span {
  color: #8a92a3;
  font-size: 11px;
  line-height: 20px;
}

.new-client-chevron {
  color: #5b6478;
  font-size: 16px;
  line-height: 16px;
}

.new-client-manager-select select {
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.new-client-actions {
  border-top: 1px solid #fce5e1;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 73px;
  padding: 16px 0;
  display: flex;
}

.new-client-cancel, .new-client-submit {
  border: 0;
  border-radius: 8px;
  height: 40px;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
}

.new-client-cancel {
  color: #2b4c7e;
  background: none;
  min-width: 86px;
  padding: 0 16px;
}

.new-client-submit {
  color: #fff;
  background: #2b4c7e;
  min-width: 159px;
  padding: 0 20px;
}

.new-client-submit:disabled {
  opacity: .65;
  cursor: default;
}

.new-client-error {
  color: #c2261f;
  background: #fce5e1;
  border: 1px solid #f8d5cf;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
}

@media (max-width: 760px) {
  .new-client-main {
    min-width: 0;
    padding: 18px;
    overflow-x: hidden;
  }

  .new-client-form {
    width: 100%;
  }

  .new-client-section {
    padding: 18px;
  }

  .new-client-grid {
    grid-template-columns: 1fr;
  }

  .new-client-input-wrap:has(.new-client-generate) input {
    padding-right: 12px;
  }

  .new-client-generate {
    width: 100%;
    margin-top: 8px;
    position: static;
  }

  .new-client-input-wrap:has(.new-client-generate) {
    flex-direction: column;
    align-items: stretch;
  }

  .new-client-file {
    align-items: flex-start;
  }

  .new-client-constructor {
    padding: 0;
    overflow-x: auto;
  }

  .new-client-constructor-head, .new-client-table, .new-client-total {
    min-width: 680px;
  }

  .new-client-manager-select {
    width: 100%;
  }

  .new-client-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .new-client-cancel, .new-client-submit {
    width: 100%;
  }
}

.stats-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 16px 0 28px;
  display: grid;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 108px;
  padding: 22px;
}

.stat.accent {
  background: #dfe8f6;
  border-color: #dfe8f6;
}

.stat.green {
  color: var(--green);
  background: #e8f8ea;
  border-color: #e8f8ea;
}

.stat.red {
  color: var(--red);
  background: #f3e9e8;
  border-color: #f3e9e8;
}

.stat-label {
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 900;
}

.stat-value {
  font-size: 28px;
  font-weight: 900;
}

.overlay {
  z-index: 20;
  background: #414b5ba6;
  place-items: center;
  padding: 22px;
  display: grid;
  position: fixed;
  inset: 0;
}

.modal {
  width: min(640px, 100%);
  max-height: 90vh;
  box-shadow: var(--shadow);
  background: #fff;
  border-radius: 14px;
  overflow: auto;
}

.modal.small {
  width: min(420px, 100%);
}

.modal-head, .modal-foot {
  border-bottom: 1px solid var(--line-warm);
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  display: flex;
}

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

.modal-body {
  padding: 22px;
}

.close {
  color: #526078;
  background: none;
  border: 0;
  font-size: 22px;
}

.hint-box {
  background: var(--panel-soft);
  color: #66738a;
  border-radius: 10px;
  padding: 14px;
}

.pushes-page {
  color: #0f1729;
  background: #fff;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
  display: grid;
}

.pushes-sidebar {
  background: #f7f8fa;
  flex-direction: column;
  gap: 4px;
  min-height: 100vh;
  padding: 20px;
  display: flex;
}

.pushes-brand {
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 8px 12px 20px;
  display: flex;
}

.pushes-brand-mark {
  color: #fff;
  background: #2b4c7e;
  border-radius: 8px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  display: inline-flex;
}

.pushes-brand-copy {
  flex-direction: column;
  gap: 0;
  display: flex;
}

.pushes-brand-copy strong {
  color: #0f1729;
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
}

.pushes-brand-copy span {
  color: #8a92a3;
  font-size: 11px;
  line-height: 14px;
}

.pushes-nav {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.pushes-nav-item {
  color: #5b6478;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 12px;
  display: flex;
}

.pushes-nav-item.active {
  color: #2b4c7e;
  background: #dde5f2;
}

.pushes-nav-left {
  align-items: center;
  gap: 12px;
  min-width: 0;
  display: inline-flex;
}

.pushes-nav-icon {
  color: currentColor;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.pushes-nav-icon svg {
  width: 18px;
  height: 18px;
}

.pushes-nav-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.pushes-nav-badge {
  color: #c2261f;
  background: #fce5e1;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 29px;
  height: 24px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  display: inline-flex;
}

.pushes-sidebar-spacer {
  flex: 1;
}

.pushes-account {
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid #f5effe;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 16px 0 0;
  display: flex;
}

.pushes-account-avatar {
  color: #2b4c7e;
  background: #dde5f2;
  border-radius: 16px;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  display: inline-grid;
}

.pushes-account-copy {
  flex-direction: column;
  flex: 1;
  gap: 0;
  min-width: 0;
  display: flex;
}

.pushes-account-copy strong {
  color: #0f1729;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.pushes-account-copy span {
  color: #8a92a3;
  font-size: 11px;
  font-weight: 400;
  line-height: 20px;
}

.pushes-account-menu {
  color: #8a92a3;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  display: inline-flex;
}

.pushes-account-menu svg {
  width: 16px;
  height: 16px;
}

.pushes-main {
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  max-width: 1440px;
  padding: 24px 32px 48px;
  display: flex;
}

.pushes-header {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  display: flex;
}

.pushes-heading {
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.pushes-heading h1 {
  color: #0f1729;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.pushes-heading span {
  color: #5b6478;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
}

.pushes-create-btn {
  color: #fff;
  background: #2b4c7e;
  border: 0;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 187px;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  display: inline-flex;
}

.pushes-btn-icon {
  flex: none;
  width: 16px;
  height: 16px;
}

.pushes-toolbar {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  display: flex;
}

.pushes-search {
  align-items: center;
  width: 320px;
  height: 40px;
  display: flex;
  position: relative;
}

.pushes-search input {
  color: #0f1729;
  background: #fff;
  border: 1px solid #f5effe;
  border-radius: 8px;
  outline: none;
  width: 100%;
  height: 40px;
  padding: 0 12px 0 38px;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
}

.pushes-search input::placeholder {
  color: #757575;
}

.pushes-search-icon {
  color: #8a92a3;
  pointer-events: none;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

.pushes-select {
  background: #fff;
  border: 1px solid #f5effe;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  min-width: 169px;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  position: relative;
}

.pushes-select-label {
  color: #8a92a3;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.pushes-select select {
  appearance: none;
  color: #0f1729;
  background: none;
  border: 0;
  outline: none;
  width: 100%;
  margin: 0;
  padding: 0 22px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.pushes-select-arrow {
  color: #5b6478;
  pointer-events: none;
  width: 14px;
  height: 14px;
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
}

.pushes-table-card {
  background: #fff;
  border: 1px solid #f5effe;
  border-radius: 12px;
  width: 100%;
  overflow: hidden;
}

.pushes-table-wrap {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.pushes-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 1374px;
}

.pushes-table thead th {
  color: #5b6478;
  letter-spacing: .4px;
  text-transform: uppercase;
  text-align: left;
  background: #f7f8fa;
  height: 38px;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 600;
  line-height: 13px;
}

.pushes-table thead th:last-child {
  text-align: right;
}

.pushes-table tbody tr {
  border-top: 1px solid #f5effe;
}

.pushes-table tbody td {
  vertical-align: middle;
  padding: 14px 16px;
}

.pushes-col-message {
  width: 545px;
}

.pushes-col-recipients {
  width: 229px;
}

.pushes-col-sent {
  width: 227px;
}

.pushes-col-employee {
  width: 233px;
}

.pushes-col-action {
  width: 140px;
}

.pushes-message-cell {
  padding-top: 14.5px !important;
  padding-bottom: 14.5px !important;
}

.pushes-message-title {
  color: #0f1729;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  overflow: hidden;
}

.pushes-message-text {
  color: #5b6478;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  overflow: hidden;
}

.pushes-recipient-cell, .pushes-employee-cell {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.pushes-recipient-row, .pushes-employee-row {
  align-items: center;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.pushes-recipient-mark, .pushes-employee-badge {
  color: #2b4c7e;
  background: #dde5f2;
  border-radius: 12px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
  display: inline-flex;
}

.pushes-recipient-mark.warm, .pushes-employee-badge.warm {
  color: #92691a;
  background: #faf6ee;
}

.pushes-recipient-copy, .pushes-employee-copy {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.pushes-recipient-name, .pushes-employee-name {
  color: #0f1729;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  overflow: hidden;
}

.pushes-recipient-meta, .pushes-employee-role {
  color: #8a92a3;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 400;
  line-height: 13px;
}

.pushes-sent-cell {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.pushes-sent-cell, .pushes-action-cell {
  vertical-align: middle;
}

.pushes-sent-primary {
  color: #0f1729;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
}

.pushes-sent-meta {
  color: #8a92a3;
  white-space: nowrap;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 400;
  line-height: 13px;
}

.pushes-action-cell {
  text-align: right;
  padding-right: 16px !important;
}

.pushes-empty-cell {
  text-align: center;
  color: #8a92a3;
  font-size: 14px;
  line-height: 20px;
  padding: 32px 16px !important;
}

.pushes-repeat-btn {
  color: #2b4c7e;
  background: #fff;
  border: 1px solid #c7cdd9;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 109px;
  height: 32px;
  padding: 0 12px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 15px;
  display: inline-flex;
}

.pushes-repeat-icon {
  flex: none;
  width: 13px;
  height: 13px;
}

.pushes-repeat-icon path {
  stroke: currentColor;
}

.pushes-page .muted {
  color: #8a92a3;
}

.pushes-modal {
  background: #fff;
  border-radius: 16px;
  flex-direction: column;
  width: min(520px, 100%);
  max-height: min(588px, 100vh - 44px);
  display: flex;
  overflow: hidden;
  box-shadow: 0 16px 48px #0f17293d;
}

.pushes-modal-head {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 12px 24px;
  display: flex;
}

.pushes-modal-head strong {
  color: #0f1729;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

.pushes-modal-close {
  color: #5b6478;
  background: none;
  border: 0;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  display: inline-flex;
}

.pushes-modal-close svg {
  width: 18px;
  height: 18px;
}

.pushes-modal-body {
  flex-direction: column;
  gap: 20px;
  padding: 24px 24px 32px;
  display: flex;
  overflow: auto;
}

.pushes-modal-section {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.pushes-modal-label {
  color: #0f1729;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.pushes-modal-recipient-list {
  flex-direction: column;
  display: flex;
}

.pushes-modal-radio {
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  display: flex;
}

.pushes-modal-radio.compact {
  padding-bottom: 6px;
}

.pushes-modal-radio input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.pushes-modal-radio-mark {
  background: #fff;
  border: 1px solid #c7cdd9;
  border-radius: 999px;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  position: relative;
}

.pushes-modal-radio input:checked + .pushes-modal-radio-mark {
  border-color: #2b4c7e;
}

.pushes-modal-radio input:checked + .pushes-modal-radio-mark:after {
  content: "";
  background: #2b4c7e;
  border-radius: 50%;
  position: absolute;
  inset: 4px;
}

.pushes-modal-radio-copy {
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.pushes-modal-radio-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.pushes-modal-radio-copy strong {
  color: #0f1729;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.pushes-modal-radio-copy span {
  color: #8a92a3;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.pushes-modal-pill {
  background: #ecf1fb;
  border-radius: 999px;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  display: inline-flex;
  color: #5b6478 !important;
  font-size: 12px !important;
  line-height: 20px !important;
}

.pushes-modal-select {
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
  display: flex;
  position: relative;
}

.pushes-modal-select-label {
  color: #5b6478;
  font-size: 12px;
  line-height: 20px;
}

.pushes-modal-select select, .pushes-modal-input, .pushes-modal-textarea {
  color: #0f1729;
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  outline: none;
  width: 100%;
}

.pushes-modal-select select, .pushes-modal-input {
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  line-height: 17px;
}

.pushes-modal-select select {
  appearance: none;
  padding-right: 34px;
}

.pushes-modal-select-arrow {
  color: #5b6478;
  pointer-events: none;
  width: 14px;
  height: 14px;
  position: absolute;
  bottom: 13px;
  right: 12px;
}

.pushes-modal-field-head {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.pushes-modal-counter {
  color: #8a92a3;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.pushes-modal-input {
  padding: 10px 12px;
}

.pushes-modal-textarea {
  resize: vertical;
  min-height: 96px;
  font: inherit;
  padding: 10px 12px;
  line-height: 20px;
}

.pushes-modal-hint {
  color: #8a92a3;
  font-size: 12px;
  line-height: 20px;
}

.pushes-modal-error {
  color: #c2261f;
  background: #fde5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 18px;
}

.pushes-modal-foot {
  border-top: 1px solid #fce5e1;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  padding: 12px 24px;
  display: flex;
}

.pushes-modal-cancel {
  color: #2b4c7e;
  background: none;
  border: 0;
  border-radius: 8px;
  min-width: 86px;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
}

.pushes-modal-submit {
  color: #fff;
  background: #2b4c7e;
  border: 0;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 212px;
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  display: inline-flex;
}

.pushes-modal-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.pushes-modal-submit-icon {
  flex: none;
  width: 16px;
  height: 16px;
}

@media (max-width: 980px) {
  .app {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
    padding: 14px;
    position: static;
  }

  .nav {
    padding-bottom: 4px;
    display: flex;
    overflow-x: auto;
  }

  .nav-link {
    flex: none;
  }

  .account {
    display: none;
  }

  .content {
    padding: 18px;
  }

  .grid-detail, .stats-grid, .pushes-page {
    grid-template-columns: 1fr;
  }

  .pushes-sidebar {
    min-height: auto;
    padding: 14px;
  }

  .pushes-nav {
    padding-bottom: 4px;
    display: flex;
    overflow-x: auto;
  }

  .pushes-nav-item {
    flex: none;
  }

  .pushes-account {
    display: none;
  }

  .pushes-main {
    padding: 18px;
  }
}

@media (max-width: 620px) {
  .page-head, .section-head, .pagination, .total-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

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

  h1 {
    font-size: 24px;
  }

  .pushes-header, .pushes-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .pushes-search, .pushes-select, .pushes-create-btn {
    width: 100%;
  }

  .pushes-modal-foot {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .pushes-modal-cancel, .pushes-modal-submit {
    width: 100%;
    min-width: 0;
  }
}

.overdue-page {
  color: #0f1729;
  background: #fff;
  min-height: 100vh;
}

.overdue-shell {
  background: #fff;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
  display: grid;
}

.overdue-sidebar {
  background: #f7f8fa;
  border-right: 0;
  flex-direction: column;
  gap: 4px;
  min-height: 100vh;
  padding: 20px;
  display: flex;
  position: static;
  top: auto;
}

.overdue-brand {
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 8px 12px 20px;
  display: flex;
}

.overdue-logo {
  color: #fff;
  background: #2b4c7e;
  border-radius: 8px;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  display: inline-grid;
}

.overdue-brand-text {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.overdue-brand-text strong {
  font-size: 15px;
  line-height: 18px;
}

.overdue-brand-text span {
  color: #8a92a3;
  font-size: 11px;
  line-height: 14px;
}

.overdue-nav {
  gap: 4px;
  display: grid;
}

.overdue-nav-link {
  color: #5b6478;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 12px;
  font-weight: 500;
  display: flex;
}

.overdue-nav-link.active {
  color: #2b4c7e;
  background: #dde5f2;
  font-weight: 600;
}

.overdue-nav-left {
  align-items: center;
  gap: 12px;
  display: inline-flex;
}

.overdue-nav-icon {
  color: currentColor;
  text-align: center;
  width: 18px;
  min-width: 18px;
  font-size: 13px;
  line-height: 1;
}

.overdue-counter {
  color: #c2261f;
  background: #fce5e1;
  border-radius: 999px;
  place-items: center;
  min-width: 29px;
  height: 24px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  display: inline-grid;
}

.overdue-sidebar-spacer {
  flex: 1;
  min-height: 16px;
}

.overdue-account {
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid #e5e8ee;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  display: flex;
}

.overdue-avatar {
  color: #2b4c7e;
  background: #dde5f2;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 12px;
  font-weight: 600;
  display: inline-grid;
}

.overdue-account-text {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.overdue-account-text strong, .overdue-account-text span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.overdue-account-text strong {
  font-size: 13px;
  line-height: 20px;
}

.overdue-account-text span {
  color: #8a92a3;
  font-size: 11px;
  line-height: 20px;
}

.overdue-account-menu {
  color: #8a92a3;
  font-size: 18px;
  line-height: 1;
}

.overdue-main {
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  min-height: 0;
  padding: 24px 32px 48px;
  display: flex;
}

.overdue-header {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 30px;
  display: flex;
}

.overdue-title {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  display: flex;
}

.overdue-title h1 {
  color: #0f1729;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.overdue-title span {
  color: #8a92a3;
  font-size: 16px;
  line-height: 20px;
}

.overdue-toolbar {
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  display: flex;
}

.overdue-search {
  width: 320px;
  max-width: 100%;
  position: relative;
}

.overdue-search:before {
  content: "⌕";
  color: #8a92a3;
  pointer-events: none;
  font-size: 16px;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

.overdue-search-input {
  color: #0f1729;
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  outline: none;
  width: 100%;
  height: 40px;
  padding: 0 12px 0 38px;
}

.overdue-search-input::placeholder {
  color: #757575;
}

.overdue-search-input:focus {
  border-color: #2b4c7e;
  box-shadow: 0 0 0 3px #2b4c7e1f;
}

.overdue-card {
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 12px;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.overdue-table-wrap {
  flex: 1;
  width: 100%;
  min-height: 0;
  overflow-x: auto;
}

.overdue-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 1374px;
}

.overdue-table th {
  color: #5b6478;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: left;
  background: #f7f8fa;
  border-bottom: 1px solid #e5e8ee;
  height: 38px;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 600;
}

.overdue-table th.right, .overdue-money {
  text-align: right;
}

.overdue-table th.sortable {
  white-space: nowrap;
}

.overdue-table th.sortable span:last-child {
  margin-left: 4px;
}

.overdue-table th.actions, .overdue-actions {
  text-align: center;
  width: 48px;
}

.overdue-table tbody tr {
  border-top: 1px solid #e5e8ee;
}

.overdue-table td {
  vertical-align: middle;
  height: 54px;
  padding: 0 16px;
}

.overdue-person {
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  display: inline-flex;
}

.overdue-person-avatar {
  color: #2b4c7e;
  background: #dde5f2;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 11px;
  font-weight: 600;
  display: inline-grid;
}

.overdue-person-name {
  color: #0f1729;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  overflow: hidden;
}

.overdue-phone, .overdue-manager {
  color: #5b6478;
  white-space: nowrap;
  font-size: 14px;
  line-height: 17px;
}

.overdue-badge {
  color: #c2261f;
  white-space: nowrap;
  background: #fce5e1;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-height: 24px;
  padding: 4.5px 10px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
}

.overdue-badge.hot {
  color: #fff;
  background: #c2261f;
}

.overdue-money {
  color: #0f1729;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
}

.overdue-actions {
  color: #8a92a3;
  font-size: 20px;
  line-height: 1;
}

.overdue-loading, .overdue-empty {
  color: #8a92a3;
  place-items: center;
  min-height: 240px;
  display: grid;
}

@media (max-width: 1100px) {
  .overdue-shell {
    grid-template-columns: 1fr;
  }

  .overdue-sidebar {
    min-height: auto;
    padding: 14px;
    position: static;
  }

  .overdue-nav {
    padding-bottom: 4px;
    display: flex;
    overflow-x: auto;
  }

  .overdue-nav-link {
    flex: none;
  }

  .overdue-sidebar-spacer, .overdue-account {
    display: none;
  }

  .overdue-main {
    padding: 18px;
  }
}

@media (max-width: 720px) {
  .overdue-header, .overdue-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .overdue-search {
    width: 100%;
  }

  .overdue-title span {
    font-size: 14px;
  }
}

.client-detail-shell {
  box-sizing: border-box;
  align-self: flex-start;
  width: 100%;
  max-width: 1440px;
  padding: 24px 32px 48px;
}

.client-detail-page {
  color: #0f1729;
  flex-direction: column;
  gap: 24px;
  display: flex;
}

.client-crumbs {
  color: #8a92a3;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 20px;
  display: flex;
}

.client-page-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.client-title-block {
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  display: flex;
}

.client-title-row {
  align-items: center;
  gap: 12px;
  min-width: 0;
  display: flex;
}

.client-title-row h1 {
  white-space: nowrap;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.client-top-actions {
  align-items: center;
  gap: 8px;
  display: flex;
}

.client-action-button, .client-secondary-button, .client-file-button, .client-wide-action, .client-link-button {
  color: #2b4c7e;
  background: #fff;
  border: 1px solid #c7cdd9;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.client-action-button {
  color: #0f1729;
  min-width: 158px;
  height: 36px;
  padding: 0 14px;
  font-weight: 600;
}

.client-action-button svg, .client-secondary-button svg, .client-file-button svg, .client-wide-action svg {
  flex: none;
  width: 16px;
  height: 16px;
}

.client-icon-button {
  color: #5b6478;
  background: #fff;
  border: 1px solid #c7cdd9;
  border-radius: 8px;
  place-items: center;
  width: 36px;
  height: 36px;
  display: inline-grid;
}

.client-icon-button svg {
  width: 18px;
  height: 18px;
}

.client-state-pill {
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
}

.client-state-pill svg {
  width: 12px;
  height: 12px;
}

.client-state-pill.is-active {
  color: #2b4c7e;
  background: #d3e0f0;
}

.client-state-pill.is-frozen {
  color: #6b5da8;
  background: #e8ddfb;
}

.client-state-pill.is-closed {
  color: #8a5b58;
  background: #fae2df;
}

.client-detail-grid {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  display: grid;
}

.client-left-column, .client-right-column {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.client-card {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: 12px;
}

.client-profile-card, .client-contract-card, .client-progress-card, .client-actions-card, .client-payments-card, .client-history-card {
  padding: 20px;
}

.client-profile-card {
  min-height: 286px;
}

.client-contract-card {
  min-height: 299px;
}

.client-progress-card {
  min-height: 145px;
}

.client-actions-card {
  gap: 0;
  min-height: 106px;
  padding: 8px;
  display: grid;
}

.client-empty-contract-card {
  text-align: center;
  background: #f7f8fa;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 202px;
  display: flex;
}

.client-empty-contract-icon {
  background: #fff;
  border-radius: 28px;
  place-items: center;
  width: 56px;
  height: 56px;
  display: inline-grid;
}

.client-empty-contract-title {
  color: #0f1729;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

.client-empty-contract-text {
  color: #5b6478;
  max-width: 244px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 18px;
}

.client-profile-head {
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  display: flex;
}

.client-avatar {
  color: #2b4c7e;
  background: #dde5f2;
  border-radius: 8px;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 12px;
  font-weight: 600;
  display: inline-grid;
}

.client-avatar-lg {
  border-radius: 28px;
  width: 56px;
  height: 56px;
  font-size: 18px;
  font-weight: 700;
}

.client-profile-copy {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.client-profile-title, .client-contract-number, .client-card-title {
  color: #0f1729;
  font-weight: 600;
}

.client-profile-title {
  font-size: 15px;
  line-height: 20px;
}

.client-profile-subtitle, .client-card-subtitle {
  color: #8a92a3;
  font-size: 12px;
  line-height: 16px;
}

.client-section-label {
  color: #8a92a3;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
}

.client-contract-number {
  margin: 8px 0 12px;
  font-size: 16px;
  line-height: 20px;
}

.client-detail-row {
  border-bottom: 1px solid #f2dfdb;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  display: flex;
}

.client-detail-row span {
  color: #8a92a3;
  font-size: 13px;
  line-height: 20px;
}

.client-detail-row strong {
  color: #0f1729;
  text-align: right;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.client-detail-row strong.is-strong {
  font-weight: 600;
}

.client-detail-row strong.is-link {
  color: #2b4c7e;
}

.client-file-strip {
  background: #f7f8fa;
  border-radius: 10px;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  margin-top: 16px;
  padding: 8px;
  display: flex;
}

.client-file-icon {
  color: #c2261f;
  background: #fce5e1;
  border-radius: 8px;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  display: inline-grid;
}

.client-file-copy {
  flex: auto;
  min-width: 0;
}

.client-file-name {
  color: #0f1729;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  overflow: hidden;
}

.client-file-size {
  color: #8a92a3;
  font-size: 11px;
  line-height: 20px;
}

.client-file-button {
  color: #2b4c7e;
  background: #dde5f2;
  width: 32px;
  height: 32px;
  padding: 0;
}

.client-progress-sum {
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 22px;
  font-weight: 700;
  line-height: 20px;
  display: flex;
}

.client-progress-sum span {
  color: #8a92a3;
  font-size: 13px;
  font-weight: 400;
}

.client-progress-bar {
  background: #dde5f2;
  border-radius: 4px;
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
}

.client-progress-bar span {
  border-radius: inherit;
  background: #2b4c7e;
  height: 100%;
  display: block;
}

.client-progress-footer {
  color: #5b6478;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 11px;
  line-height: 20px;
  display: flex;
}

.client-progress-footer strong {
  color: #2b4c7e;
  font-size: 11px;
  font-weight: 600;
}

.client-wide-action {
  color: #0f1729;
  border-color: #0000;
  justify-content: flex-start;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  font-weight: 500;
}

.client-wide-action.danger {
  color: #c2261f;
}

.client-wide-action svg {
  color: currentColor;
}

.client-card-headline {
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
  display: flex;
}

.client-card-head-copy {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.client-card-title {
  font-size: 18px;
  line-height: 20px;
}

.client-secondary-button {
  min-width: 173px;
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
}

.client-secondary-button.is-primary {
  color: #fff;
  background: #2b4c7e;
  border-color: #2b4c7e;
}

.client-secondary-button svg {
  width: 14px;
  height: 14px;
}

.client-table-shell {
  border-top: 1px solid #e5e8ee;
  border-bottom: 1px solid #e5e8ee;
}

.client-table {
  border-collapse: collapse;
  width: 100%;
}

.client-table th, .client-table td {
  text-align: left;
  padding: 0 16px;
}

.client-table th {
  color: #5b6478;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #f7f8fa;
  border-top: 1px solid #e5e8ee;
  border-bottom: 1px solid #e5e8ee;
  height: 36px;
  font-size: 11px;
  font-weight: 600;
}

.client-table td {
  color: #5b6478;
  border-top: 1px solid #e5e8ee;
  height: 58px;
  font-size: 14px;
}

.client-table tbody tr:first-child td {
  border-top: 0;
}

.client-table tbody tr.is-current {
  background: #ecf1fb;
}

.client-table td.is-right, .client-table th.is-right {
  text-align: right;
}

.client-table td.is-current-number, .client-table td.is-current-date, .client-table td.is-current-amount {
  color: #2b4c7e;
  font-weight: 600;
}

.payment-pill {
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
}

.payment-pill svg {
  flex: none;
  width: 11px;
  height: 11px;
}

.payment-pill.is-paid {
  color: #2f7d5c;
  background: #dcebe0;
}

.payment-pill.is-current {
  color: #2b4c7e;
  background: #d3e0f0;
  font-weight: 600;
}

.payment-pill.is-pending {
  color: #5b6478;
  background: #fce5e1;
}

.payment-pill.is-overdue {
  color: #c2261f;
  background: #fce5e1;
}

.payment-pill-dot {
  background: currentColor;
  border-radius: 50%;
  flex: none;
  width: 6px;
  height: 6px;
}

.client-table-footer {
  background: #f7f8fa;
  border-top: 1px solid #e5e8ee;
  justify-content: center;
  align-items: center;
  height: 45px;
  display: flex;
}

.client-link-button {
  color: #2b4c7e;
  background: none;
  border: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
}

.client-history-card {
  flex-direction: column;
  gap: 4px;
  min-height: 486px;
  display: flex;
}

.client-archive-card {
  padding: 0;
  overflow: hidden;
}

.client-card-headline.is-archive {
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0;
  padding: 20px 20px 16px;
}

.client-archive-stats {
  flex-wrap: wrap;
  align-items: stretch;
  gap: 20px;
  margin-top: 12px;
  display: flex;
}

.client-archive-stat {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.client-archive-stat span {
  color: #8a92a3;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
}

.client-archive-stat strong {
  color: #0f1729;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
}

.client-archive-divider {
  background: #f2dfdb;
  width: 1px;
  min-height: 44px;
}

.client-archive-table-shell {
  border-top: 1px solid #e5e8ee;
}

.client-archive-table {
  border-collapse: collapse;
  width: 100%;
}

.client-archive-table th, .client-archive-table td {
  text-align: left;
  padding: 0 16px;
}

.client-archive-table th {
  color: #5b6478;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #f7f8fa;
  border-top: 1px solid #e5e8ee;
  border-bottom: 1px solid #e5e8ee;
  height: 36px;
  font-size: 11px;
  font-weight: 600;
}

.client-archive-table td {
  color: #0f1729;
  border-top: 1px solid #e5e8ee;
  height: 62px;
  font-size: 14px;
}

.client-archive-table tbody tr:first-child td {
  border-top: 0;
}

.client-archive-table th.is-right, .client-archive-table td.is-right {
  text-align: right;
}

.client-archive-contract {
  align-items: center;
  gap: 10px;
  display: flex;
}

.client-archive-contract > span:last-child, .client-archive-period {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  display: flex;
}

.client-archive-contract strong, .client-archive-period strong {
  color: #0f1729;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
}

.client-archive-contract small, .client-archive-period small {
  color: #8a92a3;
  font-size: 12px;
  line-height: 15px;
}

.client-archive-contract-icon {
  background: #fce5e1;
  border-radius: 8px;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  display: inline-grid;
}

.client-archive-open {
  color: #5b6478;
  border: 1px solid #e5e8ee;
  border-radius: 8px;
  place-items: center;
  width: 32px;
  height: 32px;
  display: inline-grid;
}

.client-timeline {
  gap: 24px;
  margin-top: 12px;
  padding: 20px 0 0 28px;
  display: grid;
  position: relative;
}

.client-timeline:before {
  content: "";
  background: #f2dfdb;
  width: 1px;
  position: absolute;
  top: 26px;
  bottom: 6px;
  left: 7px;
}

.timeline-item {
  gap: 4px;
  padding-left: 0;
  display: grid;
  position: relative;
}

.timeline-marker {
  z-index: 1;
  background: #fff;
  border: 2px solid #c7cdd9;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  position: absolute;
  top: 4px;
  left: -28px;
}

.timeline-marker.blue {
  border-color: #2b4c7e;
}

.timeline-marker.violet {
  border-color: #6b5da8;
}

.timeline-marker.neutral {
  border-color: #c7cdd9;
}

.timeline-marker:after {
  content: "";
  background: currentColor;
  border-radius: 50%;
  width: 4px;
  height: 4px;
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.timeline-marker.blue:after {
  color: #2b4c7e;
}

.timeline-marker.violet:after {
  color: #6b5da8;
}

.timeline-marker.neutral:after {
  color: #c7cdd9;
}

.timeline-line {
  background: #f2dfdb;
  width: 1px;
  position: absolute;
  top: 18px;
  bottom: -24px;
  left: -21px;
}

.timeline-line.blue {
  background: #d3e0f0;
}

.timeline-line.violet {
  background: #e8ddfb;
}

.timeline-copy {
  gap: 2px;
  display: grid;
}

.timeline-title {
  color: #0f1729;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.timeline-details {
  color: #5b6478;
  font-size: 12px;
  line-height: 20px;
}

.timeline-meta {
  color: #8a92a3;
  padding-top: 2px;
  font-size: 12px;
  line-height: 20px;
}

@media (max-width: 1200px) {
  .client-detail-shell {
    width: auto;
    max-width: none;
  }

  .client-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .client-title-block, .client-page-head, .client-card-headline {
    flex-direction: column;
    align-items: flex-start;
  }

  .client-title-row {
    flex-wrap: wrap;
  }

  .client-top-actions {
    width: 100%;
  }

  .client-action-button {
    flex: auto;
  }
}

@media (max-width: 620px) {
  .client-detail-shell {
    padding: 18px;
  }

  .client-action-button, .client-secondary-button, .client-wide-action {
    width: 100%;
  }

  .client-profile-card, .client-contract-card, .client-progress-card, .client-actions-card, .client-payments-card, .client-history-card {
    padding: 16px;
  }

  .client-table th, .client-table td {
    padding: 0 10px;
  }
}

@media (max-width: 760px) {
  .app {
    min-width: 0;
    overflow-x: hidden;
  }

  .overdue-sidebar {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .overdue-brand, .overdue-nav {
    width: 100%;
    min-width: 0;
  }

  .overdue-nav {
    padding-bottom: 4px;
    display: flex;
    overflow-x: auto;
  }

  .content.new-client-main {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    padding: 18px;
    overflow-x: hidden;
  }

  .new-client-page, .new-client-header, .new-client-form {
    width: 100%;
    min-width: 0;
  }

  .new-client-section {
    padding: 18px;
  }

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

  .new-client-input-wrap, .new-client-field {
    min-width: 0;
  }

  .new-client-constructor {
    overflow-x: auto;
  }
}

/*# sourceMappingURL=src_app_globals_0p2ml0n.css.map*/