/* Oneplace2save — a quiet workspace with the brand's own amber signature. */
.mobile-paybar {
  display: none;
}
:root {
  --ink: #272b2a;
  --muted: #707775;
  --line: #e4e7e5;
  --gold: #fbba52;
  --paper: #fff;
  --soft: #f1f3f1;
  --green: #287b64;
  --red: #b25640;
  background: #f6f7f9;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
}
body {
  min-width: 0;
}
button,
.button,
input,
select,
textarea {
  border-radius: 9px;
}
button,
.button {
  min-height: 43px;
  font-weight: 600;
  border-color: #dfe4e0;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
button:hover,
.button:hover {
  background: #f1f4f0;
  border-color: #b6bfb8;
}
button:active,
.button:active {
  transform: translateY(1px);
}
button:disabled {
  cursor: not-allowed;
}
button.primary:hover,
.button.primary:hover {
  background: #ffc872;
  border-color: #ffc872;
}
button.dark,
.button.dark {
  background: #242b28;
  border-color: #242b28;
}
button.link {
  font-weight: 500;
  text-decoration: none;
}
button.link:hover {
  text-decoration: underline;
}
input,
select,
textarea {
  border-color: #dce1dd;
  background: white;
  min-height: 46px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #fbba5299;
  border-color: #c3964d;
}
h1 {
  font-family: inherit;
  font-size: 35px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -1.25px;
}
h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.65px;
}
h3 {
  font-weight: 600;
}
.icon {
  flex: none;
  vertical-align: middle;
}
.kicker {
  font-size: 10px;
  color: #778078;
  letter-spacing: 1.8px;
  font-weight: 650;
}
.sub {
  line-height: 1.7;
}
.apphead {
  position: fixed;
  inset: 0 auto 0 0;
  width: 230px;
  padding: 37px 22px 23px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: #202623;
  color: #fff;
  border: 0;
  z-index: 5;
}
.brand {
  display: flex;
  gap: 0;
  align-items: center;
  white-space: normal;
}
.brand img {
  width: 184px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
}
.brand span {
  display: none;
}
.apphead .brand {
  margin: 4px 0 0;
}
.workspace-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 31px 2px 17px;
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #8f9d95;
}
.workspace-label:after {
  content: "";
  height: 1px;
  background: #445046;
  flex: 1;
}
.nav {
  display: grid;
  gap: 7px;
  flex: none;
}
.nav button {
  position: relative;
  justify-content: flex-start;
  gap: 13px;
  min-height: 47px;
  border-radius: 9px;
  padding: 11px 14px;
  color: #a9b4ad;
  text-align: left;
  font-size: 13px;
  font-weight: 450;
  border: 1px solid transparent;
}
.nav button:hover {
  background: #2b342e;
  color: #fff;
}
.nav button[aria-current="page"] {
  background: #fbba52;
  color: #292b24;
  border-color: #fbba52;
  font-weight: 650;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  min-width: 18px;
  text-align: center;
  border-radius: 5px;
  background: #ffffff16;
  padding: 2px;
}
.nav button[aria-current="page"] .nav-count {
  background: #272b2416;
}
.sidebar-note {
  margin-top: auto;
  padding: 21px 13px 18px;
  border-top: 1px solid #3a463e;
  color: #9cab9f;
  font-size: 11px;
  line-height: 1.7;
}
.sidebar-note strong {
  color: #dbe2da;
  display: block;
  font-weight: 500;
  margin: 9px 0 3px;
}
.sidebar-note .icon {
  color: #fbba52;
}
.sidebar-note button {
  margin-top: 16px;
  min-height: 34px;
  background: #ffffff09;
  border: 1px solid #4b554e;
  color: #e1e7df;
  width: 100%;
  font-size: 11px;
}
.staff-session {
  border-top: 1px solid #3a463e;
  padding: 20px 4px 0;
  margin: 0;
  display: flex;
  gap: 10px;
  color: #e1e6df;
  font-size: 12px;
}
.staff-session > span {
  flex: 1;
}
.staff-session small {
  color: #94a096;
  font-size: 10px;
  margin-top: 4px;
}
.staff-session button {
  color: #c1cbbf;
  padding: 6px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  background: #425041;
  color: #d5dfc9;
  border-radius: 50%;
  font-size: 11px;
  letter-spacing: 0.5px;
  flex: none;
}
.testbar {
  margin-left: 230px;
  min-height: 36px;
  padding: 10px 45px;
  background: #fff4df;
  color: #846331;
  border: 0;
  font-size: 10px;
  letter-spacing: 0.25px;
}
.testbar strong {
  font-weight: 500;
}
.topline {
  margin-left: 230px;
  padding: 20px 45px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  color: #7d847e;
}
.topline strong {
  font-weight: 600;
  color: #344038;
}
.topline .connection {
  gap: 7px;
  font-size: 10px;
}
.topline time {
  padding-right: 16px;
  border-right: 1px solid var(--line);
  margin-right: 16px;
}
.container {
  margin-left: 230px;
  max-width: none;
  padding: 32px 45px 54px;
  min-height: calc(100vh - 106px);
}
.heading {
  margin-bottom: 25px;
  gap: 24px;
}
.heading .kicker {
  margin-bottom: 9px;
}
.heading .sub {
  margin-top: 9px;
}
.heading .actions {
  justify-content: flex-end;
}
.heading > .primary {
  white-space: nowrap;
  box-shadow: 0 3px 0 #b5802512;
}
.page-stamp {
  color: #86918a;
  font-size: 11px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 21px;
  gap: 15px;
}
.section-heading h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
}
.section-heading .sub {
  font-size: 11px;
  margin-top: 5px;
}
.section-heading button {
  font-size: 11px;
}
.panel {
  border-color: #e2e7e3;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 2px 3px #26302802;
}
.overview-top {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.balance-panel {
  position: relative;
  overflow: hidden;
  background: #26342d;
  border: 0;
  color: #f6f9ef;
  padding: 29px 32px;
  border-radius: 17px;
  min-height: 304px;
  display: flex;
  flex-direction: column;
}
.balance-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#d9ebd106 1px, transparent 1px),
    linear-gradient(90deg, #d9ebd106 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, transparent, #000);
  pointer-events: none;
}
.balance-label {
  font-size: 11px;
  color: #b6c7b8;
  display: flex;
  align-items: center;
  gap: 7px;
}
.balance-label .dot {
  width: 5px;
  height: 5px;
  background: #fbba52;
}
.balance-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  flex: 1;
}
.balance-number {
  font-size: 53px;
  font-weight: 400;
  letter-spacing: -2.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  margin-top: 13px;
}
.balance-caption {
  font-size: 11px;
  color: #a5baa8;
  margin-top: 10px;
}
.balance-caption b {
  font-weight: 600;
  color: #dae6d8;
}
.balance-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #c7ddc51a;
  margin-top: 24px;
  padding-top: 17px;
  font-size: 10px;
  color: #a3b8a5;
}
.balance-bottom .icon {
  color: #d9e7cc;
}
.balance-bottom button {
  border: 0;
  color: #f3c779;
  background: none;
  font-size: 11px;
  padding: 0;
  min-height: 30px;
}
.orbit {
  position: relative;
  width: 172px;
  height: 172px;
  flex: none;
  display: grid;
  place-items: center;
  margin: 2px 6px 0 0;
}
.orbit svg {
  width: 172px;
  height: 172px;
  transform: rotate(-90deg);
  position: absolute;
  inset: 0;
}
.orbit-centre {
  text-align: center;
  z-index: 1;
}
.orbit-centre strong {
  display: block;
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 500;
}
.orbit-centre span {
  display: block;
  font-size: 9px;
  color: #a7bba5;
  margin-top: 5px;
}
.attention-panel {
  padding: 25px 25px 15px;
  border-radius: 17px;
}
.attention-count {
  background: #f5ede2;
  color: #947042;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.attention-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px 0;
  border-top: 1px solid #edf0ed;
}
.attention-item .action-symbol {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 10px;
  background: #f6efdf;
  color: #967129;
  flex: none;
}
.attention-item.overdue .action-symbol {
  background: #fff0e8;
  color: #b66740;
}
.attention-item > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.attention-item strong {
  font-size: 12px;
  font-weight: 600;
}
.attention-item p {
  font-size: 10px;
  color: #828a82;
  margin-top: 5px;
  line-height: 1.6;
}
.attention-item button {
  padding: 6px;
  min-height: 32px;
  border: none;
  align-self: center;
}
.overview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 27px;
}
.stat-tile {
  padding: 19px 23px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat-tile label {
  display: block;
  color: #7b847d;
  font-size: 11px;
  margin-bottom: 10px;
}
.stat-tile strong {
  font-size: 27px;
  line-height: 1.1;
  font-weight: 550;
  letter-spacing: -0.8px;
  font-variant-numeric: tabular-nums;
}
.stat-tile small {
  display: block;
  color: #8a918b;
  font-size: 10px;
  margin-top: 9px;
}
.stat-tile .stat-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  background: #eef4ee;
  border-radius: 50%;
  color: #598363;
}
.stat-tile.warm .stat-icon {
  background: #fbf2e4;
  color: #a88045;
}
.overview-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(250px, 1fr);
  gap: 22px;
  align-items: stretch;
}
.recent-panel {
  padding: 24px 25px 6px;
  min-width: 0;
}
.recent-panel .section-heading {
  margin-bottom: 8px;
}
.tablewrap {
  width: 100%;
}
th {
  font-size: 9px;
  color: #8b938c;
  font-weight: 600;
  padding-top: 13px;
  padding-bottom: 13px;
  text-transform: none;
  letter-spacing: 0.1px;
}
td {
  padding: 19px 10px;
  color: #4f5952;
  font-size: 12px;
  vertical-align: middle;
}
tbody tr {
  transition: background 0.15s;
}
tbody tr:hover {
  background: #fafbf8;
}
.invoice-link {
  font-size: 12px;
  color: #2f3932 !important;
}
.invoice-service {
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 210px;
  color: #899086;
}
.badge {
  font-size: 9px;
  border-radius: 5px;
  padding: 5px 7px;
  background: #fff4d9;
  color: #977638;
  font-weight: 500;
  gap: 5px;
}
.badge:before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  flex: none;
}
.badge.paid {
  background: #eaf5eb;
  color: #47784c;
}
.badge.overdue {
  background: #fff0e8;
  color: #b8643f;
}
.badge.draft {
  background: #f0f2f3;
  color: #7b8584;
}
.money {
  font-weight: 550;
  color: #364239;
}
.small {
  font-size: 10px;
}
.activity-panel {
  padding: 24px;
}
.activity-total {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.7px;
  margin-top: 4px;
}
.activity-caption {
  font-size: 10px;
  color: #889187;
  margin-top: 5px;
}
.cash-chart {
  width: 100%;
  height: 130px;
  margin-top: 17px;
}
.chart-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #91988d;
  margin-top: 1px;
}
.legend-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #6f7f6c;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 21px;
}
.legend-line:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #93af8a;
}
.metrics {
  border: 0;
  gap: 18px;
  margin: 0 0 28px;
}
.metric,
.metric + .metric {
  border: 1px solid var(--line);
  padding: 22px 25px;
  border-radius: 12px;
  background: white;
}
.metric strong {
  font-size: 30px;
}
.metric label {
  font-size: 10px;
}
.toolbar {
  background: white;
  padding: 12px 17px;
  border: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
  margin: 0;
  min-height: 71px;
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  max-width: 350px;
}
.search-wrap .icon {
  color: #929c92;
}
.search-wrap input {
  border: none;
  background: transparent;
  font-size: 12px;
  min-height: 36px;
  padding-left: 3px;
}
.filters button {
  border-radius: 7px;
  color: #7c857e;
  font-size: 11px;
}
.filters button[aria-pressed="true"] {
  background: #f0f3ec;
  color: #465a3e;
}
.invoice-register {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  padding: 0 21px;
}
.invoice-register td {
  padding-top: 22px;
  padding-bottom: 22px;
}
.invoice-register .footerline {
  padding: 18px 0;
}
.mobile-invoice-status {
  display: none;
}
.clientcard {
  position: relative;
}
.clientcard .client-avatar {
  background: #f4f0e7;
  color: #9b854c;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
}
.clientcard h3 {
  font-size: 18px;
}
.clientcard .amount {
  font-weight: 500;
}
.clientcard button {
  width: 100%;
  justify-content: space-between;
}
.client-toolbar {
  margin-bottom: 22px;
  display: flex;
  gap: 15px;
  align-items: center;
}
.client-toolbar .search {
  border-radius: 9px;
  width: 350px;
}
.editor {
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 25px;
}
.editor > .fields {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  gap: 22px;
}
.summary {
  background: #27392e;
  color: #f1f5ec;
  border: 0;
  padding: 29px;
  top: 24px;
}
.summary .totalrow {
  color: #bfcdbb;
  font-size: 12px;
  padding: 11px 0;
}
.summary .totalrow.final {
  color: #fff;
  font-size: 25px;
  border-color: #52684f;
  padding-top: 20px;
}
.summary h3 {
  font-weight: 500;
  font-size: 15px;
}
.summary .note {
  color: #adc1a9;
}
.summary .summary-brand {
  width: 100%;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #465b43;
}
.summary .summary-brand img {
  width: 178px;
}
.summary-flow {
  display: grid;
  gap: 16px;
  margin-top: 29px;
  font-size: 11px;
  border-top: 1px solid #465b43;
  padding-top: 23px;
  color: #b8c8af;
}
.summary-flow span {
  display: flex;
  gap: 10px;
  align-items: center;
}
.summary-flow b {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #455b40;
  color: #dce6d2;
  font-size: 9px;
  font-weight: 500;
}
.summary-flow .active b {
  background: var(--gold);
  color: #463c20;
}
.field {
  font-size: 11px;
  font-weight: 500;
  gap: 8px;
}
.linefields {
  grid-template-columns: minmax(150px, 1fr) 58px 115px 70px 30px;
  gap: 9px;
}
.lineitem {
  padding: 21px 0;
}
.linefields input,
.linefields select {
  font-size: 13px;
  padding: 10px;
}
.presets {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 2px 0 18px;
}
.presets button {
  padding: 6px 11px;
  min-height: 31px;
  font-size: 10px;
  font-weight: 500;
  background: #f8f9f6;
}
.date-presets {
  display: flex;
  gap: 6px;
  margin-top: 0;
}
.date-presets button {
  padding: 3px 7px;
  font-size: 10px;
  min-height: 26px;
  border: 0;
  background: #f1f4ed;
}
.lineitems .kicker {
  margin-bottom: 13px;
}
.editor-bottom {
  margin-top: 0;
}
.document-layout {
  grid-template-columns: minmax(0, 800px) minmax(230px, 1fr);
  gap: 27px;
}
.paper {
  border-radius: 4px;
  border-color: #e1e5de;
  border-top: 4px solid var(--gold);
  padding: 38px;
  box-shadow: 0 5px 25px #30432906;
}
.paper .brand img {
  width: 225px;
}
.paper .doc-title h2 {
  font-family: inherit;
  font-size: 25px;
  font-weight: 500;
}
.doc-title .small {
  font-size: 11px;
}
.doc-head {
  padding-bottom: 27px;
}
.doc-pay {
  background: #fafbf7;
  padding: 12px;
  border-radius: 9px;
}
.doc-pay strong {
  font-size: 11px;
}
.doc-pay img {
  width: 72px;
  height: 72px;
}
.doc-end {
  margin-top: 24px;
}
.history-aside {
  padding-top: 0;
}
.history-aside h3 {
  margin-top: 28px;
  font-size: 13px;
}
.aside-actions button,
.aside-actions .button {
  font-size: 12px;
  gap: 10px;
  justify-content: flex-start;
  padding-left: 17px;
}
.timeline {
  color: #687565;
}
.timeline li {
  padding-bottom: 25px;
  font-size: 11px;
  border-color: #dde4d9;
}
.timeline li:before {
  background: #9db28d;
}
.notice {
  background: #fff8e9;
  border-left: 2px solid #ebbd6a;
  border-radius: 0 8px 8px 0;
  color: #857044;
  font-size: 11px;
}
.error {
  border-radius: 7px;
}
.setupgrid .panel {
  min-width: 0;
}
.settings-list {
  margin-top: 18px;
}
.settings-list li {
  font-size: 11px;
  padding: 15px 0;
}
.settings-list strong {
  font-weight: 500;
  text-align: right;
}
.setup-label {
  border-radius: 5px;
  font-size: 10px;
}
.connection-button {
  margin-top: 18px;
}
.install-card {
  background: #26342d;
  color: #f0f5e9;
}
.install-card .kicker,
.install-card .sub,
.install-card .note {
  color: #b3c5aa;
}
.install-card .button,
.install-card button {
  margin-top: 20px;
}
.footer-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 27px;
  color: #919b90;
  font-size: 10px;
  gap: 16px;
}
.footer-note span:last-child {
  display: flex;
  gap: 7px;
  align-items: center;
}
.offline-banner {
  background: #fff0d8;
  color: #715226;
  padding: 14px 24px;
  font-size: 12px;
  margin: 0 0 25px;
  border-radius: 10px;
}
.is-offline button[data-action="issue"],
.is-offline button[data-action="checkout"],
.is-offline form button[type="submit"] {
  pointer-events: none;
  opacity: 0.5;
}
.topline .dot {
  background: #79a56f;
}
.is-offline .topline .dot {
  background: #ba7c43;
}
.shortcut-key {
  display: inline-flex;
  border: 1px solid #d9dfd5;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 9px;
  color: #88927f;
  white-space: nowrap;
}
.client-search-empty {
  padding: 45px 10px;
  text-align: center;
  color: #7e887e;
}
.auth-layout {
  max-width: 1020px;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 50px #24302008;
  margin: 30px auto;
  min-height: 585px;
  grid-template-columns: 1fr 1fr;
}
.auth-story {
  background: #24352a;
  padding: 48px;
}
.auth-story:before {
  width: 380px;
  height: 380px;
  right: -190px;
  top: -210px;
  border-color: #8ba27038;
  box-shadow:
    0 0 0 25px #8ba27009,
    0 0 0 55px #8ba27008,
    0 0 0 85px #8ba27008;
}
.auth-story .kicker {
  color: #eec075;
}
.auth-story h1 {
  font-family: inherit;
  font-weight: 400;
  font-size: 47px;
  letter-spacing: -1.8px;
  line-height: 1.12;
}
.auth-story p {
  font-size: 13px;
  line-height: 1.9;
  color: #b6c5ad;
}
.auth-story-foot {
  font-size: 9px;
  margin-top: 62px;
  border-color: #53664b;
  color: #bbcbaa;
}
.auth-form-wrap {
  padding: 46px 45px;
}
.auth-form-wrap h2 {
  font-family: inherit;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1px;
}
.auth-fields {
  gap: 16px;
}
.auth-form-wrap .sub {
  font-size: 12px;
}
.signed-out .apphead,
.customer .apphead {
  position: static;
  width: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 25px 6vw;
  background: #fff;
  border-bottom: 1px solid var(--line);
  min-height: 93px;
}
.signed-out .apphead .brand,
.customer .apphead .brand {
  margin: 0;
}
.signed-out .brand img,
.customer .brand img {
  width: 219px;
}
.signed-out .testbar,
.customer .testbar {
  margin: 0;
  padding: 8px 6vw;
}
.signed-out .topline,
.customer .topline {
  display: none;
}
.signed-out .container,
.customer .container {
  margin-left: 0;
  max-width: 1250px;
  margin-right: auto;
  margin-left: auto;
  padding: 29px 5vw 55px;
  min-height: 0;
}
.portal-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8b9689;
  font-size: 10px;
}
.portal-label .icon {
  color: #96a586;
  width: 17px;
}
.payment {
  max-width: 970px;
  grid-template-columns: minmax(0, 1fr) 365px;
  gap: 58px;
  margin-top: 38px;
}
.payment h1 {
  font-size: 40px;
  letter-spacing: -1.5px;
  line-height: 1.16;
  max-width: 390px;
}
.payment .kicker {
  font-size: 10px;
  line-height: 1.9;
}
.payamount {
  font-size: 61px;
  line-height: 1.1;
  font-weight: 450;
  margin: 26px 0;
  letter-spacing: -2.6px;
}
.payintro {
  font-size: 13px;
}
.payment .panel {
  background: #25382d;
  border: 0;
  border-radius: 17px;
  color: #eef5e8;
  padding: 31px;
}
.payment .panel .kicker {
  color: #c0cfae;
}
.payment .panel .sub,
.payment .panel .note {
  color: #b4c7a8;
  font-size: 12px;
}
.payment .panel .notice {
  margin-top: 20px;
  border: 1px solid #60764c;
  background: #ffffff08;
  color: #c7d5b7;
  font-size: 11px;
  border-radius: 8px;
}
.payment .panel .primary {
  min-height: 50px;
  font-size: 13px;
  margin-top: 8px;
}
.secure-payment {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #54694a;
  color: #b4c7a8;
  font-size: 10px;
}
.payment .doc-totals {
  max-width: none;
  margin: 25px 0 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.payment .doc-totals .final {
  font-size: 21px;
}
.customer-actions {
  display: flex;
  gap: 10px;
  margin-top: 23px;
}
.customer-actions .button {
  font-size: 12px;
  background: #fff;
}
.customer-footer {
  max-width: 970px;
  margin: 50px auto 0;
  border-top: 1px solid #e0e6dc;
  padding-top: 23px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #929c8e;
  font-size: 10px;
  line-height: 1.8;
}
.customer-footer strong {
  color: #6d7b66;
  font-weight: 500;
}
.receipt {
  text-align: center;
  max-width: 570px;
  margin: 35px auto 0;
}
.receipt .checkmark {
  margin: 0 auto 23px;
  width: 62px;
  height: 62px;
  background: #e7f2e1;
  color: #678a54;
}
.receipt h1 {
  font-size: 36px;
}
.receipt .panel {
  text-align: left;
}
.receipt .payamount {
  font-size: 53px;
}
.receipt .customer-actions {
  justify-content: center;
}
.emailbody {
  border-radius: 8px;
  font-size: 12px;
  background: #f5f7f1;
}
.modalhead h2 {
  font-size: 23px;
}
dialog {
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 25px 80px #17201126;
}
dialog::backdrop {
  background: #16211966;
  backdrop-filter: blur(4px);
}
.modalactions {
  flex-wrap: wrap;
}
.audit-list strong {
  color: #42513d;
}
.auth-story-foot span {
  white-space: nowrap;
}
#toast {
  border-radius: 10px;
  background: #2a3c2c;
  box-shadow: 0 8px 35px #15211028;
  font-size: 12px;
}
.step-label {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #829276;
  margin-bottom: 24px;
}
.step-label span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  background: #edf2e8;
  border-radius: 50%;
  font-weight: 600;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -50px;
  left: 245px;
  z-index: 50;
  background: #fff;
  color: #253529;
  padding: 12px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 10px;
}
.empty {
  font-size: 12px;
}
.status-mobile {
  display: none;
}
@media (min-width: 1700px) {
  .container {
    padding: 38px 4vw 54px;
  }
  .topline,
  .testbar {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .overview-top {
    grid-template-columns: minmax(0, 1.75fr) minmax(330px, 1fr);
  }
  .balance-panel {
    min-height: 325px;
  }
  .balance-number {
    font-size: 61px;
  }
  .orbit {
    margin-right: 33px;
  }
}
@media (max-width: 1280px) {
  .apphead {
    width: 200px;
    padding: 31px 16px 20px;
  }
  .apphead .brand img {
    width: 164px;
  }
  .testbar,
  .topline {
    margin-left: 200px;
    padding-left: 30px;
    padding-right: 30px;
  }
  .container {
    margin-left: 200px;
    padding: 29px 30px 45px;
  }
  .overview-top {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr);
    gap: 17px;
  }
  .balance-panel {
    padding: 26px;
  }
  .balance-number {
    font-size: 43px;
  }
  .orbit,
  .orbit svg {
    width: 143px;
    height: 143px;
  }
  .orbit {
    margin-right: 0;
  }
  .attention-panel {
    padding: 23px 20px 12px;
  }
  .overview-stats {
    gap: 17px;
  }
  .stat-tile {
    padding: 19px;
  }
  .stat-tile strong {
    font-size: 25px;
  }
  .overview-lower {
    grid-template-columns: minmax(0, 1.7fr) minmax(230px, 1fr);
    gap: 17px;
  }
  .recent-panel {
    padding: 23px 21px 5px;
  }
  .editor {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 20px;
  }
  .editor > .fields {
    padding: 23px;
  }
  .linefields {
    grid-template-columns: 1fr 55px 95px 65px 25px;
    gap: 7px;
  }
  .linefields .description {
    grid-column: 1/-1;
  }
  .linefields .quantity {
    grid-column: 1;
  }
  .summary {
    padding: 24px;
  }
  .document-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
  }
  .paper {
    padding: 28px;
  }
  .paper .brand img {
    width: 190px;
  }
  .history-aside {
    display: block;
  }
  .history-aside h3 {
    margin-top: 26px;
  }
  .heading h1 {
    font-size: 31px;
  }
  .nav {
    gap: 7px;
  }
}
@media (max-width: 1050px) {
  .apphead {
    width: 178px;
    padding: 27px 13px 20px;
  }
  .apphead .brand img {
    width: 152px;
  }
  .testbar,
  .topline {
    margin-left: 178px;
    padding-left: 25px;
    padding-right: 25px;
  }
  .container {
    margin-left: 178px;
    padding: 27px 25px 40px;
  }
  .nav button {
    padding: 10px;
    gap: 9px;
    font-size: 12px;
  }
  .sidebar-note {
    padding-left: 9px;
    padding-right: 9px;
  }
  .overview-top {
    grid-template-columns: 1fr;
  }
  .balance-panel {
    min-height: 260px;
  }
  .balance-main {
    align-items: center;
  }
  .balance-number {
    font-size: 52px;
  }
  .orbit,
  .orbit svg {
    width: 170px;
    height: 170px;
  }
  .balance-bottom {
    margin-top: 10px;
  }
  .attention-panel {
    padding: 22px;
  }
  .attention-panel .section-heading {
    margin-bottom: 14px;
  }
  .attention-items {
    display: flex;
    gap: 22px;
  }
  .attention-item {
    flex: 1;
    border-top: 0;
    padding: 0;
  }
  .overview-stats {
    gap: 13px;
  }
  .stat-tile {
    padding: 18px;
  }
  .stat-tile .stat-icon {
    display: none;
  }
  .overview-lower {
    grid-template-columns: 1fr;
  }
  .activity-panel {
    display: grid;
    grid-template-columns: 170px 1fr;
    column-gap: 35px;
  }
  .activity-panel .section-heading {
    grid-column: 1;
    margin-bottom: 6px;
  }
  .activity-panel .activity-total {
    grid-column: 1;
  }
  .activity-panel .activity-caption {
    grid-column: 1;
  }
  .activity-panel .cash-chart {
    grid-column: 2;
    grid-row: 1/4;
    margin-top: 0;
    height: 100px;
  }
  .activity-panel .chart-ticks {
    grid-column: 2;
  }
  .activity-panel .legend-line {
    grid-column: 1/-1;
    margin-top: 15px;
    padding-top: 12px;
  }
  .heading h1 {
    font-size: 30px;
  }
  .editor {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
  }
  .summary .summary-brand {
    display: none;
  }
  .summary-flow {
    display: flex;
    flex-wrap: wrap;
  }
  .document-layout {
    grid-template-columns: 1fr;
  }
  .history-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .history-aside h3 {
    margin-top: 0;
  }
  .metrics .metric {
    padding: 20px;
  }
  .metric strong {
    font-size: 25px;
  }
  .filters button {
    padding: 6px 9px;
  }
  .paper .brand img {
    width: 200px;
  }
  .setupgrid {
    gap: 18px;
  }
  .setupgrid .panel {
    padding: 22px;
  }
  .footer-note {
    font-size: 9px;
  }
  .payment {
    gap: 35px;
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .payment h1 {
    font-size: 36px;
  }
  .auth-story {
    padding: 38px;
  }
  .auth-story h1 {
    font-size: 41px;
  }
  .auth-form-wrap {
    padding: 38px;
  }
}
@media (max-width: 760px) {
  .apphead {
    position: static;
    width: auto;
    padding: 20px 5vw 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    background: #202623;
  }
  .apphead .brand img {
    width: 168px;
  }
  .workspace-label,
  .sidebar-note {
    display: none;
  }
  .nav {
    display: flex;
    order: 4;
    width: 100%;
    flex-basis: 100%;
    overflow-x: auto;
    gap: 5px;
    margin-top: 5px;
    scrollbar-width: none;
    padding-bottom: 12px;
  }
  .nav button {
    flex: 1;
    white-space: nowrap;
    justify-content: center;
    font-size: 11px;
    gap: 7px;
    padding: 10px;
    min-height: 43px;
  }
  .nav-count {
    display: none;
  }
  .nav .icon {
    width: 17px;
    height: 17px;
  }
  .staff-session {
    border: 0;
    padding: 0;
    margin: 0 0 0 auto;
    gap: 9px;
    width: auto;
    font-size: 11px;
  }
  .staff-session > span {
    display: none;
  }
  .staff-session button {
    min-height: 35px;
    font-size: 10px;
  }
  .avatar {
    width: 30px;
    height: 30px;
  }
  .testbar {
    margin: 0;
    padding: 7px 5vw;
    font-size: 9px;
    min-height: 29px;
  }
  .topline {
    margin: 0;
    padding: 15px 5vw;
    font-size: 10px;
  }
  .topline time {
    border: none;
    padding: 0;
    margin: 0;
  }
  .topline .connection {
    display: none;
  }
  .container {
    margin: 0;
    padding: 26px 5vw 40px;
  }
  .heading {
    gap: 15px;
    margin-bottom: 23px;
    flex-direction: row;
    align-items: center;
  }
  .heading .kicker {
    font-size: 9px;
  }
  .heading h1 {
    font-size: 29px;
  }
  .heading .sub {
    font-size: 11px;
    max-width: 400px;
  }
  .heading > .primary {
    font-size: 11px;
    padding: 11px 14px;
  }
  .overview-top {
    gap: 18px;
    margin-bottom: 18px;
  }
  .balance-panel {
    padding: 26px;
    min-height: 270px;
  }
  .balance-number {
    font-size: 49px;
  }
  .balance-bottom {
    font-size: 9px;
    gap: 10px;
  }
  .balance-bottom button {
    font-size: 10px;
  }
  .orbit,
  .orbit svg {
    width: 153px;
    height: 153px;
  }
  .overview-stats {
    gap: 10px;
    margin-bottom: 20px;
  }
  .stat-tile {
    padding: 18px 15px;
  }
  .stat-tile label {
    font-size: 10px;
    line-height: 1.45;
  }
  .stat-tile strong {
    font-size: 24px;
  }
  .stat-tile small {
    font-size: 9px;
  }
  .attention-item strong {
    font-size: 11px;
  }
  .recent-panel {
    padding: 23px 19px 5px;
  }
  .recent-panel .hide-tablet {
    display: none;
  }
  .invoice-service {
    max-width: 150px;
    font-size: 9px;
  }
  .status-mobile {
    display: block;
    margin-top: 7px;
  }
  .status-mobile .badge {
    font-size: 8px;
  }
  .activity-panel {
    padding: 24px;
    column-gap: 20px;
  }
  .footer-note {
    align-items: flex-start;
    line-height: 1.7;
  }
  .metrics {
    gap: 10px;
  }
  .metrics .metric,
  .metrics .metric + .metric {
    padding: 20px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: block;
    flex: 1;
  }
  .metrics .metric:last-child {
    padding-left: 16px !important;
    border-left: 1px solid var(--line) !important;
  }
  .metric strong,
  .metric:last-child strong {
    font-size: 25px;
  }
  .metric label {
    font-size: 9px;
    line-height: 1.5;
  }
  .toolbar {
    padding: 11px 14px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .search-wrap {
    max-width: none;
  }
  .filters {
    justify-content: flex-start;
  }
  .filters button {
    flex: 1;
    font-size: 10px;
    min-height: 32px;
  }
  .invoice-register {
    padding: 0 16px;
  }
  .mobile-invoice-status {
    display: block;
    margin-top: 6px;
  }
  .invoice-register .hide-mobile {
    display: none;
  }
  .invoice-register .hide-tablet {
    display: none;
  }
  .invoices-table col:nth-child(1) {
    width: 40%;
  }
  .invoices-table col:nth-child(2) {
    width: 35%;
  }
  .invoices-table col:last-child {
    width: 25%;
  }
  .invoices-table td {
    font-size: 11px;
  }
  .invoices-table td .link {
    font-size: 11px;
    line-height: 1.6;
    min-height: 30px;
  }
  .editor > .fields {
    padding: 22px;
    gap: 20px;
  }
  .editor .fields {
    grid-template-columns: 1fr 1fr;
  }
  .editor .field.wide {
    grid-column: 1/-1;
  }
  .linefields {
    grid-template-columns: 1fr 100px 75px 28px;
  }
  .linefields .description {
    grid-column: 1/-1;
  }
  .linefields .quantity {
    grid-column: 1;
  }
  .linefields input,
  .linefields select {
    font-size: 16px;
  }
  .summary {
    padding: 27px;
  }
  .history-aside {
    display: block;
  }
  .history-aside h3 {
    margin-top: 27px;
  }
  .aside-actions {
    grid-template-columns: 1fr 1fr;
  }
  .aside-actions button,
  .aside-actions .button {
    font-size: 11px;
    padding: 10px 12px;
  }
  .paper {
    padding: 27px;
  }
  .doc-head {
    flex-direction: row;
  }
  .doc-meta {
    grid-template-columns: 1fr 1fr;
    font-size: 11px;
  }
  .doc-dates {
    font-size: 10px;
  }
  .doc-title h2 {
    font-size: 24px;
  }
  .paper .brand img {
    width: 190px;
  }
  .doc-end {
    font-size: 9px;
  }
  .setupgrid {
    grid-template-columns: 1fr 1fr;
  }
  .settings-list li {
    font-size: 10px;
  }
  .setupgrid .panel {
    padding: 23px;
  }
  .setupgrid h3 {
    font-size: 14px;
  }
  .setupgrid .sub {
    font-size: 12px;
  }
  .clientgrid {
    grid-template-columns: 1fr 1fr;
  }
  .clientcard {
    padding: 22px;
  }
  .clientcard h3 {
    font-size: 16px;
  }
  .clientcard .amount {
    font-size: 26px;
  }
  .clientcard button {
    font-size: 10px;
  }
  .signed-out .apphead,
  .customer .apphead {
    padding: 23px 5vw;
    min-height: 85px;
    gap: 16px;
  }
  .signed-out .brand img,
  .customer .brand img {
    width: 185px;
  }
  .portal-label {
    font-size: 9px;
  }
  .signed-out .container,
  .customer .container {
    padding: 24px 5vw 40px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 3px auto;
  }
  .auth-story {
    padding: 30px;
  }
  .auth-story h1 {
    font-size: 36px;
  }
  .auth-story p {
    margin-top: 19px;
    font-size: 12px;
  }
  .auth-story-foot {
    margin-top: 27px;
    font-size: 9px;
  }
  .auth-form-wrap {
    padding: 30px;
  }
  .auth-form-wrap h2 {
    font-size: 27px;
  }
  .payment {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 15px auto 0;
    max-width: 520px;
  }
  .payment h1 {
    font-size: 37px;
    max-width: 360px;
  }
  .payment .payamount {
    font-size: 57px;
    margin: 22px 0;
  }
  .payment .panel {
    padding: 29px;
  }
  .payment .doc-totals {
    margin-bottom: 0;
  }
  .payment .primary {
    margin-top: 8px;
  }
  .customer-footer {
    max-width: 520px;
    flex-direction: column;
    gap: 8px;
    margin-top: 35px;
  }
  .customer-footer > span:last-child {
    display: none;
  }
  .customer-actions {
    margin-top: 20px;
  }
  .receipt h1 {
    font-size: 32px;
  }
  .receipt .payamount {
    font-size: 49px;
  }
  .team-table button {
    padding: 7px;
    font-size: 10px;
  }
  .audit-list li {
    font-size: 11px;
  }
  .skip-link {
    left: 10px;
  }
}
@media (max-width: 490px) {
  .heading {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .heading h1 {
    font-size: 28px;
  }
  .heading > .primary {
    width: 100%;
    min-height: 45px;
  }
  .heading .actions {
    width: 100%;
  }
  .heading .sub {
    font-size: 11px;
  }
  .balance-panel {
    padding: 24px 21px;
    min-height: 260px;
  }
  .balance-number {
    font-size: 42px;
    letter-spacing: -1.8px;
  }
  .balance-caption {
    font-size: 10px;
    max-width: 170px;
    line-height: 1.7;
  }
  .orbit,
  .orbit svg {
    width: 124px;
    height: 124px;
  }
  .orbit-centre strong {
    font-size: 25px;
  }
  .orbit-centre span {
    font-size: 8px;
  }
  .balance-bottom {
    margin-top: 17px;
    gap: 12px;
    font-size: 9px;
  }
  .balance-bottom > span {
    max-width: 150px;
    line-height: 1.6;
  }
  .balance-label {
    font-size: 10px;
  }
  .attention-panel {
    padding: 22px 20px 13px;
  }
  .attention-items {
    display: block;
  }
  .attention-item {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }
  .attention-panel .section-heading {
    margin-bottom: 8px;
  }
  .attention-item strong {
    font-size: 12px;
  }
  .overview-stats {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .stat-tile {
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .stat-tile > div:first-child {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100%;
    column-gap: 20px;
    align-items: center;
    grid-column: 1/-1;
  }
  .stat-tile label {
    margin: 0;
    font-size: 11px;
  }
  .stat-tile strong {
    font-size: 24px;
    grid-column: 2;
    grid-row: 1/3;
    text-align: right;
  }
  .stat-tile small {
    grid-column: 1;
    margin-top: 5px;
    font-size: 9px;
  }
  .stat-tile .stat-icon {
    display: none;
  }
  .activity-panel {
    grid-template-columns: 125px 1fr;
    column-gap: 13px;
    padding: 22px;
  }
  .activity-panel .section-heading h2 {
    font-size: 15px;
  }
  .activity-total {
    font-size: 23px;
  }
  .activity-caption {
    font-size: 9px;
  }
  .cash-chart {
    height: 100px;
  }
  .chart-ticks {
    font-size: 8px;
  }
  .recent-panel {
    padding: 22px 17px 5px;
  }
  .recent-panel .section-heading h2 {
    font-size: 16px;
  }
  .recent-panel .invoices-table th:nth-child(2),
  .recent-panel .invoices-table td:nth-child(2) {
    display: none;
  }
  .recent-panel .invoices-table col:nth-child(1) {
    width: 67%;
  }
  .recent-panel .invoices-table col:nth-child(2) {
    display: none;
  }
  .recent-panel .invoices-table col:last-child {
    width: 33%;
  }
  .invoice-service {
    max-width: 205px;
  }
  .recent-panel td {
    padding-top: 17px;
    padding-bottom: 17px;
  }
  .recent-panel .invoice-link {
    font-size: 12px !important;
  }
  .recent-client {
    display: block;
    font-size: 10px;
    color: #7e887b;
    margin-top: 5px;
  }
  .footer-note span:last-child {
    display: none;
  }
  .nav {
    gap: 3px;
  }
  .nav button {
    flex-direction: column;
    gap: 6px;
    font-size: 9px;
    min-width: 52px;
    padding: 8px 4px;
  }
  .nav .icon {
    width: 18px;
    height: 18px;
  }
  .nav-count {
    display: none;
  }
  .metrics {
    flex-wrap: wrap;
    gap: 9px;
  }
  .metrics .metric,
  .metrics .metric + .metric {
    flex-basis: calc(50% - 9px);
    padding: 18px;
  }
  .metrics .metric:last-child {
    flex-basis: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-left: 18px !important;
  }
  .metrics .metric:last-child label {
    margin: 0;
  }
  .metrics .metric:last-child strong {
    grid-column: 2;
    grid-row: 1/3;
  }
  .metrics .metric:last-child small {
    margin-left: 0;
    margin-top: 5px;
  }
  .metric strong {
    font-size: 27px;
  }
  .invoice-register {
    padding: 0 14px;
  }
  .invoices-table td:nth-child(2) .link {
    max-width: 110px;
    overflow-wrap: anywhere;
  }
  .invoice-register .invoice-service {
    white-space: normal;
    max-width: 140px;
    line-height: 1.55;
  }
  .invoices-table .money {
    font-size: 11px;
  }
  .editor .fields {
    grid-template-columns: 1fr;
  }
  .editor .field.wide {
    grid-column: auto;
  }
  .editor > .fields {
    padding: 22px 19px;
  }
  .linefields {
    grid-template-columns: 1fr 103px 70px 24px;
    gap: 7px;
  }
  .linefields .field {
    font-size: 10px;
  }
  .editor-bottom {
    gap: 10px;
  }
  .editor-bottom > .primary {
    order: -1;
  }
  .summary-flow {
    gap: 14px;
    flex-direction: column;
  }
  .doc-head {
    flex-direction: column;
    gap: 25px;
  }
  .paper .brand img {
    width: 216px;
  }
  .doc-meta {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .paper {
    padding: 25px 22px;
  }
  .doc-title {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .doc-title .small {
    margin: 0;
  }
  .paper table th,
  .paper table td {
    font-size: 10px;
  }
  .doc-pay {
    gap: 12px;
  }
  .doc-pay img {
    width: 62px;
    height: 62px;
  }
  .aside-actions {
    grid-template-columns: 1fr 1fr;
  }
  .aside-actions .button,
  .aside-actions button {
    font-size: 10px;
    padding: 11px;
    gap: 7px;
  }
  .aside-actions .icon {
    width: 17px;
  }
  .clientgrid,
  .setupgrid {
    grid-template-columns: 1fr;
  }
  .client-toolbar {
    display: block;
  }
  .client-toolbar .search {
    width: 100%;
  }
  .clientcard h3 {
    font-size: 18px;
  }
  .clientcard button {
    font-size: 12px;
  }
  .clientcard .client-avatar {
    position: absolute;
    right: 22px;
    top: 22px;
    margin: 0;
  }
  .clientcard h3 {
    padding-right: 47px;
  }
  .clientcard .kicker {
    padding-right: 45px;
  }
  .auth-story {
    padding: 29px 26px;
  }
  .auth-story h1 {
    font-size: 35px;
  }
  .auth-form-wrap {
    padding: 28px 26px;
  }
  .auth-form-wrap h2 {
    font-size: 27px;
  }
  .auth-layout {
    border-radius: 14px;
  }
  .portal-label {
    font-size: 0;
    gap: 0;
  }
  .portal-label .icon {
    width: 21px;
    height: 21px;
  }
  .payment h1 {
    font-size: 36px;
  }
  .payment .payamount {
    font-size: 54px;
  }
  .payment .panel h2 {
    font-size: 23px;
  }
  .payment .panel {
    padding: 26px;
  }
  .customer-actions .button {
    flex: 1;
  }
  .receipt {
    margin-top: 20px;
  }
  .receipt .panel {
    padding: 25px;
  }
  .receipt h1 {
    font-size: 31px;
  }
  .topline {
    gap: 8px;
  }
  .topline > span:last-child {
    font-size: 9px;
  }
  .team-table th:first-child {
    width: 38%;
  }
  .team-table th:last-child {
    width: 27%;
  }
  .team-table td {
    font-size: 10px;
  }
  .team-table th {
    font-size: 9px;
  }
  dialog {
    padding: 25px;
  }
  .modalhead h2 {
    font-size: 22px;
  }
  .modalactions button {
    flex: 1;
  }
  .invitation-row {
    font-size: 12px;
  }
  .shortcut-key {
    display: none;
  }
  .staff-session .avatar {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .apphead,
  .testbar,
  .topline,
  .heading,
  .back,
  .history-aside,
  .footer-note {
    display: none !important;
  }
  .container {
    margin: 0;
    padding: 0;
  }
  .document-layout {
    display: block;
  }
  .paper {
    box-shadow: none;
    border: 0;
  }
  .doc-pay {
    break-inside: avoid;
  }
}
@media (min-width: 1700px) {
  .balance-panel {
    min-height: 278px;
  }
  .balance-number {
    font-size: 56px;
  }
  .container {
    padding-top: 30px;
  }
  .overview-stats {
    margin-bottom: 23px;
  }
  .heading {
    margin-bottom: 24px;
  }
}
@media (max-width: 760px) {
  body:not(.customer):not(.signed-out) {
    padding-bottom: 78px;
  }
  .apphead {
    padding-bottom: 20px;
  }
  .nav {
    position: fixed;
    z-index: 8;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 9px 5vw calc(9px + env(safe-area-inset-bottom));
    background: #202623;
    border-top: 1px solid #42503e;
    box-shadow: 0 -5px 25px #12230e12;
    gap: 5px;
  }
  .nav button {
    display: flex;
    flex-direction: column;
    font-size: 9px;
    gap: 5px;
    padding: 7px;
    min-height: 51px;
  }
  .nav .icon {
    width: 19px;
    height: 19px;
  }
  .staff-session {
    margin-left: auto;
  }
  .container {
    padding-bottom: 35px;
  }
  .signed-out .apphead,
  .customer .apphead {
    padding-bottom: 23px;
  }
  #toast {
    bottom: 95px;
  }
  .customer #toast,
  .signed-out #toast {
    bottom: 25px;
  }
}
/* Secondary text stays readable even on smaller, lower-contrast displays. */
th,
.invoice-service,
.stat-tile label,
.stat-tile small,
.activity-caption,
.chart-ticks,
.footer-note,
.section-heading .sub,
.attention-item p,
.clientcard .small,
.settings-list,
.doc-end,
.small {
  color: #65735f;
}
.topline {
  color: #667361;
}
.kicker,
.workspace-label {
  font-weight: 600;
}
.apphead .workspace-label {
  color: #a0ad9c;
}
.topline .connection,
.portal-label {
  color: #687862;
}
.customer-footer {
  color: #65735f;
}
.doc-meta label,
.doc-dates {
  color: #63715b;
}
.topline > span:last-child {
  display: flex;
  align-items: center;
}
.signed-out .apphead,
.customer .apphead {
  gap: 30px;
}
.customer .apphead .brand,
.signed-out .apphead .brand {
  margin-right: auto;
}
.customer .apphead .portal-label,
.signed-out .apphead .portal-label {
  margin-left: auto;
}
@media (max-width: 760px) {
  .customer-footer > span:last-child {
    display: block;
  }
  .customer .container:has(.mobile-paybar) {
    padding-bottom: 118px;
  }
  .mobile-paybar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 8;
    background: #fff;
    padding: 15px 5vw calc(15px + env(safe-area-inset-bottom));
    border-top: 1px solid #dce4d7;
    box-shadow: 0 -6px 25px #2434200a;
  }
  .mobile-paybar span {
    display: block;
    font-size: 10px;
    color: #66745d;
  }
  .mobile-paybar strong {
    display: block;
    font-size: 23px;
    letter-spacing: -0.6px;
    margin-top: 4px;
    font-weight: 550;
  }
  .mobile-paybar button {
    min-height: 46px;
    padding-left: 23px;
    padding-right: 23px;
  }
  .date-presets button,
  .presets button {
    min-height: 38px;
    font-size: 11px;
  }
  .filters button {
    min-height: 40px;
  }
}
