@font-face {
  font-family: Archivo;
  src: url('/assets/archivo.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --navy: #26225e;
  --ink: #1b2340;
  --muted: #526477;
  --brand: #00aae9;
  --action: #005a88;
  --action-hover: #00446c;
  --paper: #fff;
  --field: #f4f7fa;
  --line: #d1dbe3;
  --soft: #e9f5fa;
  --warn: #83501b;
  --danger: #9b332e;
  --radius: 13px;
  font:
    100%/1.5 Archivo,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  background: var(--field);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--action);
  text-underline-offset: 0.14em;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a.button {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.53;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #147fc0;
  outline-offset: 3px;
}
button svg,
a svg,
span.icon svg,
.client-sign svg,
.menu-title svg {
  width: 1.18em;
  height: 1.18em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.18em;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  color: var(--navy);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  letter-spacing: -0.055em;
  font-weight: 750;
}
h2 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  letter-spacing: -0.033em;
  font-weight: 700;
}
h3 {
  font-size: 1.06rem;
  font-weight: 680;
  letter-spacing: -0.015em;
}
img {
  max-width: 100%;
  display: block;
}
textarea {
  resize: vertical;
  min-height: 86px;
}
.skip {
  position: fixed;
  top: -8rem;
  left: 1rem;
  z-index: 100;
  background: white;
  padding: 0.6rem;
}
.skip:focus {
  top: 0.4rem;
}
.topbar {
  background: white;
  border-bottom: 1px solid var(--line);
}
.top-inner {
  max-width: 1312px;
  margin: auto;
  min-height: 83px;
  padding: 10px clamp(18px, 4vw, 60px);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.brand {
  width: 154px;
  height: auto;
}
.brand-compact {
  width: 145px;
}
.brand-home {
  display: inline-flex;
  flex: none;
}
.top-spacer {
  flex: 1;
}
.client-sign {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 550;
}
.public-main {
  max-width: 1260px;
  margin: auto;
  padding: clamp(25px, 6vw, 85px) clamp(18px, 4vw, 55px) 30px;
}
.access-frame {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  min-height: 454px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 15px 55px #1b2d5010;
}
.access-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: white;
  padding: clamp(30px, 4.5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.2rem;
}
.access-intro:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(145deg, #28276500 35%, #194981a8);
}
.access-mark {
  position: absolute;
  width: clamp(250px, 27vw, 385px);
  height: auto;
  top: -70px;
  right: -100px;
  opacity: 0.1;
  filter: brightness(0) invert(1);
  z-index: -1;
}
.access-intro h1 {
  color: white;
  font-size: clamp(3.1rem, 5.9vw, 5.55rem);
  line-height: 0.98;
  max-width: 9em;
}
.access-intro p {
  color: #e0edf6;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  max-width: 29ch;
}
.access-rule {
  width: 50px;
  height: 5px;
  background: var(--brand);
  margin-bottom: 0.4rem;
}
.access-card {
  align-self: center;
  padding: clamp(28px, 4.7vw, 74px);
  display: grid;
  gap: 1.4rem;
}
.access-card h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
}
.access-card header p,
.section-copy,
.muted {
  color: var(--muted);
}
.access-card header p {
  margin-top: 0.6rem;
}
.access-card .btn {
  width: 100%;
  justify-content: center;
}
.access-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 21px;
  color: var(--muted);
  font-size: 0.9rem;
}
.stack {
  display: grid;
  gap: 1rem;
}
.stack.tight {
  gap: 0.65rem;
}
.row,
.actions,
.inline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.row.between {
  justify-content: space-between;
}
.actions {
  margin-top: 0.3rem;
}
.btn,
.nav-link,
.plain-link,
.pill-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.47rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: none;
  color: var(--navy);
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  min-height: 45px;
  padding: 0.65rem 0.98rem;
}
.btn {
  background: var(--action);
  color: #fff;
}
.btn:hover {
  background: var(--action-hover);
}
.btn.secondary,
.pill-choice {
  background: white;
  border-color: var(--line);
  color: var(--navy);
}
.btn.secondary:hover,
.pill-choice:hover,
.plain-link:hover,
.nav-link:hover {
  background: var(--soft);
}
.btn.slim,
.plain-link {
  font-size: 0.88rem;
  padding: 0.48rem 0.7rem;
}
.btn.danger {
  background: var(--danger);
}
.nav {
  display: flex;
  gap: 0.18rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav-link {
  font-size: 0.91rem;
  min-height: 44px;
  padding: 0.55rem 0.72rem;
}
.nav-link.active {
  background: var(--soft);
  color: var(--action);
}
.profile {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.profile-name {
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--navy);
  line-height: 1.2;
}
.profile-role {
  font-size: 0.81rem;
  color: var(--muted);
}
.btn.icon-only {
  padding: 0.62rem 0.7rem;
  min-width: 44px;
}
.workspace {
  max-width: 1280px;
  margin: auto;
  padding: clamp(26px, 4vw, 56px) clamp(16px, 4vw, 56px) 70px;
}
.loading {
  padding: 3rem;
  color: var(--muted);
}
.workspace:focus,
.public-main:focus {
  outline: none;
}
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1.65rem;
}
.page-head h1 {
  overflow-wrap: anywhere;
}
.page-head p {
  color: var(--muted);
  max-width: 65ch;
  margin-top: 0.55rem;
}
.backlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  margin-bottom: 1rem;
  text-decoration: none;
  font-weight: 600;
  min-height: 38px;
}
.backlink:hover {
  color: var(--navy);
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.6vw, 32px);
  min-width: 0;
}
.panel > header:first-child {
  margin-bottom: 1.1rem;
}
.panel > header p,
.hint {
  font-size: 0.91rem;
  color: var(--muted);
  margin-top: 0.35rem;
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
}
.detail-layout > .stack {
  min-width: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.full {
  grid-column: 1/-1;
}
.field {
  display: grid;
  align-content: start;
  gap: 0.32rem;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 630;
  color: var(--ink);
}
.field .hint {
  font-weight: 400;
  font-size: 0.85rem;
  margin: 0;
}
.field input,
.field select,
.field textarea,
.control {
  width: 100%;
  min-width: 0;
  border: 1px solid #aebfcc;
  background: white;
  color: var(--ink);
  border-radius: 7px;
  padding: 0.65rem 0.72rem;
  font-weight: 450;
  min-height: 44px;
  line-height: 1.35;
  font-size: 1rem;
}
.field select,
.control.select {
  appearance: none;
  padding-right: 2rem;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%2346596b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 7.5 5 5 5-5'/%3E%3C/svg%3E")
    right 0.54rem center/16px no-repeat;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}
.check {
  display: inline-flex;
  gap: 0.48rem;
  align-items: flex-start;
  min-height: 37px;
  line-height: 1.35;
  font-size: 0.92rem;
}
.check input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--action);
  flex: none;
  margin: 0;
}
.summary-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
  margin: 0 0 1.15rem;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.metric.active-metric {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.metric.active-metric span {
  color: #dcebf7;
}
.metric span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 550;
}
.metric strong {
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.toolbar {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  background: white;
}
.toolbar .search {
  flex: 2 1 230px;
}
.toolbar .field {
  flex: 1 1 150px;
}
.joblist {
  display: grid;
  background: white;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}
.jobitem {
  display: grid;
  grid-template-columns: 1.25fr 1fr minmax(118px, 0.5fr) 26px;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
  padding: 1.05rem 1.2rem;
  min-width: 0;
}
.jobitem + .jobitem {
  border-top: 1px solid var(--line);
}
.jobitem:hover {
  background: #f5f9fc;
}
.jobitem strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}
.jobitem .sub,
.meta {
  font-size: 0.88rem;
  color: var(--muted);
}
.jobitem .side {
  justify-self: end;
}
.jobitem .item-next {
  color: #587084;
  text-align: right;
}
.jobitem span,
.jobitem strong {
  overflow-wrap: anywhere;
}
.status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  background: #eaf0f6;
  color: #435568;
  border-radius: 20px;
  padding: 0.24rem 0.65rem;
  line-height: 1.4;
  font-size: 0.83rem;
  font-weight: 650;
}
.status.scheduled {
  background: #e6edff;
  color: #344b8b;
}
.status.on_site {
  background: #dcf4ee;
  color: #17604c;
}
.status.waiting_parts,
.status.ready_to_invoice {
  background: #fbedd5;
  color: #754a10;
}
.status.needs_help,
.status.urgent {
  background: #f9e5e0;
  color: #87372c;
}
.status.invoiced {
  background: #e2eef2;
  color: #285764;
}
.bullet {
  margin: 0 0.3rem;
  color: #7490a3;
}
.empty {
  text-align: center;
  padding: clamp(30px, 6vw, 72px) 20px;
  display: grid;
  place-items: center;
  gap: 0.5rem;
}
.empty .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--action);
  margin-bottom: 0.5rem;
}
.empty p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 48ch;
}
.empty .btn {
  margin-top: 0.55rem;
}
.info,
.form-error,
.form-success {
  padding: 0.7rem 0.88rem;
  border-radius: 7px;
  background: var(--soft);
  color: #1d536b;
  font-size: 0.92rem;
}
.form-error {
  background: #fcf0eb;
  border: 1px solid #e9c1b4;
  color: var(--danger);
}
.form-success {
  background: #e7f5ed;
  color: #21583c;
}
.form-error:empty,
.form-success:empty {
  display: none;
}
[hidden] {
  display: none !important;
}
.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem 1.15rem;
  margin: 0;
}
.meta-grid > div {
  min-width: 0;
}
.meta-grid dt,
.invoice label,
.mini-label {
  color: var(--muted);
  font-weight: 550;
  font-size: 0.85rem;
}
.meta-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.body-copy {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0.15rem 0;
}
.visits,
.parts,
.line-rows {
  display: grid;
  gap: 0.6rem;
}
.entry-row {
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  display: grid;
  gap: 0.65rem;
}
.entry-row .remove {
  justify-self: end;
}
.entry-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.entries-title {
  font-size: 0.97rem;
}
.subsection {
  display: grid;
  gap: 0.7rem;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.pill-choice {
  font-size: 0.88rem;
  min-height: 43px;
  padding: 0.45rem 0.65rem;
}
.pill-choice[aria-pressed='true'] {
  background: var(--soft);
  color: var(--action);
  border-color: var(--action);
}
details > summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 650;
  min-height: 42px;
  padding: 0.55rem 0;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}
.timeline li {
  padding-left: 0.8rem;
  border-left: 3px solid #b9d3e7;
}
.timeline small {
  display: block;
  color: var(--muted);
}
.legend {
  font-weight: 650;
  font-size: 0.94rem;
  margin-bottom: 0.4rem;
}
fieldset {
  padding: 0;
  border: 0;
  margin: 0;
  min-width: 0;
}
.banner {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
#notice {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: var(--navy);
  color: white;
  padding: 0.8rem 1.15rem;
  border-radius: 8px;
  box-shadow: 0 4px 18px #132a4233;
  text-align: center;
  max-width: calc(100% - 2rem);
  width: max-content;
  font-size: 0.95rem;
}
.table-wrap {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table thead th {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
}
.data-table .num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.totals {
  margin-left: auto;
  max-width: 330px;
  width: 100%;
  display: grid;
  gap: 0.4rem;
}
.totals div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.totals .total {
  padding-top: 0.65rem;
  border-top: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 750;
  font-size: 1.18rem;
}
.invoice {
  max-width: 910px;
  margin: 0 auto;
  background: white;
}
.invoice-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 3px solid var(--navy);
  padding-bottom: 1rem;
}
.invoice-head img {
  width: 170px;
}
.invoice-head > div {
  text-align: right;
}
.invoice .money {
  font-weight: 650;
}
.invoice .cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.invoice p,
.invoice dd {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.invoice address {
  font-style: normal;
  white-space: pre-line;
}
.review-issues {
  margin: 0.3rem 0 0;
  padding-left: 1.2rem;
}
.numeric {
  font-variant-numeric: tabular-nums;
}
.token-box {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  user-select: all;
  padding: 0.7rem;
  background: #f0f5fa;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.help-small {
  max-width: 65ch;
}
@media (max-width: 950px) {
  .top-inner {
    gap: 0.75rem;
  }
  .brand-compact {
    width: 115px;
  }
  .profile-name {
    max-width: 120px;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
}
@media (max-width: 750px) {
  .access-frame,
  .detail-layout,
  .grid2 {
    grid-template-columns: 1fr;
  }
  .access-frame {
    min-height: 0;
  }
  .access-intro {
    padding: 36px 26px;
    gap: 0.7rem;
  }
  .access-intro p {
    max-width: 44ch;
  }
  .access-intro h1 {
    font-size: 3.1rem;
  }
  .access-mark {
    top: -89px;
    right: -47px;
    width: 245px;
  }
  .access-card {
    padding: 27px;
  }
  .access-footer {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .top-inner {
    min-height: 69px;
    flex-wrap: wrap;
  }
  .brand {
    width: 127px;
  }
  .brand-compact {
    width: 114px;
  }
  .top-inner.signed {
    row-gap: 0;
    padding-bottom: 0;
    min-height: 72px;
  }
  .signed .nav {
    order: 5;
    flex-basis: 100%;
    flex-wrap: nowrap;
    overflow: auto;
    margin: 2px -5px 0;
  }
  .signed .nav-link {
    border-radius: 5px 5px 0 0;
    flex: none;
    min-height: 43px;
  }
  .jobitem {
    grid-template-columns: 1fr auto 12px;
    gap: 0.3rem 0.6rem;
  }
  .jobitem .client-meta {
    grid-column: 1;
    grid-row: 2;
  }
  .jobitem .side {
    grid-column: 2;
    grid-row: 1/3;
  }
  .jobitem .item-next {
    grid-column: 3;
    grid-row: 1/3;
  }
  .summary-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }
  .metric {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.85rem;
  }
  .metric span {
    font-size: 0.84rem;
  }
  .metric strong {
    font-size: 1.55rem;
  }
  .public-main {
    padding-top: 22px;
  }
  .workspace {
    padding-top: 25px;
  }
  .toolbar {
    gap: 0.65rem;
  }
  .toolbar .search {
    flex-basis: 100%;
  }
  .toolbar .field {
    min-width: 0;
  }
  .profile-name {
    max-width: 116px;
  }
  .page-head {
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .meta-grid,
  .invoice .cols {
    gap: 0.7rem;
  }
  .public-main,
  .workspace {
    padding-left: 13px;
    padding-right: 13px;
  }
  .access-frame {
    border-radius: 12px;
  }
  .client-sign {
    font-size: 0.81rem;
  }
  .jobitem {
    padding: 0.9rem 0.8rem;
  }
  .page-head .actions {
    width: 100%;
  }
  .panel {
    padding: 16px;
  }
  .invoice-head img {
    width: 105px;
  }
  .access-footer {
    font-size: 0.8rem;
  }
  .stack {
    gap: 0.85rem;
  }
  .invoice .data-table {
    font-size: 0.85rem;
  }
  .invoice .data-table th,
  .invoice .data-table td {
    padding: 0.5rem 0.18rem;
  }
  .nav-link {
    padding: 0.5rem 0.52rem;
  }
  .profile {
    gap: 0.32rem;
  }
  .status {
    font-size: 0.78rem;
  }
  .summary-strip {
    gap: 0.3rem;
  }
  .metric {
    padding: 0.65rem;
  }
  .pills .pill-choice {
    flex: 1 1 auto;
  }
  .access-card {
    padding: 24px 21px;
  }
}
@media print {
  @page {
    size: auto;
    margin: 15mm;
  }
  body {
    background: white;
    font:
      10.5pt/1.4 Archivo,
      Arial,
      sans-serif;
    color: #111;
  }
  .topbar,
  .skip,
  .page-head,
  .no-print,
  #notice,
  body:has(.invoice) main > *:not(.invoice) {
    display: none !important;
  }
  .workspace {
    padding: 0;
    max-width: none;
  }
  .invoice {
    border: 0 !important;
    border-radius: 0 !important;
    display: block !important;
    padding: 0 !important;
    width: 100%;
    max-width: none !important;
    box-shadow: none;
  }
  .invoice > * {
    margin-bottom: 12pt;
  }
  .invoice h2 {
    font-size: 18pt;
  }
  .invoice h3 {
    font-size: 12pt;
  }
  .invoice .cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .invoice .table-wrap {
    overflow: visible;
  }
  .invoice tr,
  .invoice .totals,
  .invoice .cols {
    break-inside: avoid;
  }
  .invoice .data-table thead {
    display: table-header-group;
  }
  .invoice .invoice-head {
    border-bottom-color: #1b2340;
  }
  .invoice .invoice-head img {
    width: 140px;
  }
  .invoice a {
    color: inherit;
    text-decoration: none;
  }
  .invoice .totals {
    margin-top: 12pt;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.setup-tabs {
  display: flex;
  gap: 0.32rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}
.setup-tabs .nav-link {
  background: white;
  border-color: var(--line);
}
.setup-tabs .nav-link.active {
  background: var(--navy);
  color: white;
}
.setup-records {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.preview-label {
  margin: 1.65rem 0 0.7rem;
}
@media (max-width: 950px) {
  .setup-records {
    grid-template-columns: 1fr;
  }
  .setup-tabs {
    flex-wrap: wrap;
  }
}
