:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #17251f;
  background: #f5f6f3;
  font-size: 14px;
  --green: #276247;
  --muted: #758078;
  --line: #e2e6df;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: white;
  color: inherit;
  border-radius: 8px;
  padding: 11px 15px;
  font-weight: 600;
  transition: background 0.15s;
}
button:hover {
  background: #f0f3ed;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
button.primary:hover {
  background: #1a4c35;
}
button.ghost {
  border: 0;
  background: transparent;
}
button.danger {
  color: #a14134;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dce2da;
  border-radius: 7px;
  background: white;
  padding: 11px 12px;
  color: #24392c;
}
textarea {
  resize: vertical;
  min-height: 75px;
  line-height: 1.5;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #9ebca7;
  border-color: var(--green);
}
label {
  display: block;
  font-size: 12px;
  color: #647267;
  font-weight: 600;
  margin-bottom: 7px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -1px;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
}
small,
.muted {
  color: var(--muted);
}
a {
  color: var(--green);
}
.brand {
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  background: #dcee71;
  color: #243622;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.brand em {
  font-style: normal;
  font-weight: 400;
}
.shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.team-select {
  margin-top: 36px;
  background: #f6f7f3;
  font-weight: 600;
}
.nav {
  margin-top: 28px;
  display: grid;
  gap: 7px;
}
.nav button {
  text-align: left;
  border: 0;
  background: transparent;
  font-weight: 500;
  color: #647267;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
}
.nav button.active {
  background: #edf2e7;
  color: #2a513c;
  font-weight: 650;
}
.nav-icon {
  font-size: 18px;
  width: 20px;
}
.side-bottom {
  margin-top: auto;
  font-size: 12px;
}
.side-bottom p {
  margin: 9px 0;
  overflow-wrap: anywhere;
}
.workspace {
  padding: 38px 48px;
  max-width: 1600px;
  width: 100%;
  margin: auto;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
}
.heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
}
.heading h1 {
  margin-bottom: 8px;
}
.heading p {
  margin-bottom: 0;
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 23px;
}
.stat .value {
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.8px;
  margin: 12px 0 5px;
}
.stat .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c3d3aa;
  margin-right: 7px;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  overflow: hidden;
}
.toolbar {
  padding: 19px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
.tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.tabs button {
  border: 0;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 12px;
}
.tabs button.active {
  background: #eef3e7;
  color: #31533d;
}
.search {
  max-width: 230px;
  font-size: 12px;
  background: #fafbf8;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 600;
  color: #7c857e;
  background: #fafbf8;
  padding: 15px 22px;
}
td {
  padding: 21px 22px;
  border-top: 1px solid #edf0e9;
  font-size: 13px;
}
tr.clickable {
  cursor: pointer;
}
tr.clickable:hover {
  background: #fafcf7;
}
.invoice-num {
  font-weight: 700;
  color: #2d4a37;
}
.client-cell {
  display: flex;
  gap: 12px;
  align-items: center;
}
.avatar {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: #eef1e6;
  color: #526548;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.client-cell small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
}
.badge {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 11px;
  background: #f0f1ed;
  color: #717c71;
}
.badge.sent {
  background: #eaf1f8;
  color: #4a6d90;
}
.badge.paid {
  background: #e7f2e8;
  color: #387345;
}
.badge.overdue {
  background: #fbede5;
  color: #ad643f;
}
.empty {
  padding: 65px 24px;
  text-align: center;
  color: var(--muted);
}
.empty h2 {
  color: #354b3c;
  margin-bottom: 12px;
}
.empty .empty-icon {
  font-size: 36px;
  margin-bottom: 20px;
}
.editor-layout {
  max-width: 1000px;
  margin: auto;
}
.editor-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 12px;
}
.paper {
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 5px 25px #17251f05;
  padding: 44px;
  border-radius: 4px;
}
.paper-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}
.business {
  max-width: 50%;
}
.business-logo {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #edf3e6;
  color: #476539;
  font-size: 21px;
  border-radius: 10px;
  font-weight: 800;
  margin-bottom: 16px;
}
.business h3 {
  font-size: 17px;
  margin: 0 0 7px;
}
.business p {
  white-space: pre-line;
  line-height: 1.6;
  color: #7a837c;
  font-size: 12px;
}
.invoice-title {
  text-align: right;
}
.invoice-title h2 {
  font-size: 32px;
  letter-spacing: 2px;
  font-weight: 750;
  margin: 0 0 10px;
}
.invoice-title span {
  color: #849080;
  font-size: 13px;
}
.bill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 30px;
}
.bill-grid select {
  margin-bottom: 10px;
}
.bill-address {
  white-space: pre-line;
  font-size: 12px;
  color: #758078;
  line-height: 1.6;
}
.date-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.item-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px 110px 105px 28px;
  gap: 10px;
  align-items: center;
}
.item-head {
  background: #203b2c;
  color: white;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 14px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.item-row {
  margin-bottom: 8px;
}
.item-row input {
  font-size: 12px;
  padding: 10px 8px;
}
.item-row .amount {
  text-align: right;
  font-size: 12px;
  font-weight: 600;
}
.item-row button {
  padding: 7px 0;
  border: 0;
  color: #9eaaa0;
}
.add-line {
  width: 100%;
  border: 1px dashed #d9e1d3;
  background: #f8faf5;
  color: #56704a;
  font-size: 12px;
  padding: 11px;
  margin-top: 4px;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  margin-top: 36px;
}
.field {
  margin-bottom: 19px;
}
.totals {
  font-size: 12px;
}
.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  min-height: 27px;
}
.total-row input {
  width: 100px;
  text-align: right;
  padding: 8px;
}
.total-row.strong {
  font-weight: 700;
  font-size: 15px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 17px;
}
.total-row.balance {
  background: #f0f5e9;
  border-radius: 7px;
  padding: 15px;
  margin-top: 15px;
  font-weight: 700;
  font-size: 15px;
}
.paper-footer {
  text-align: center;
  color: #98a18f;
  font-size: 10px;
  letter-spacing: 0.8px;
  border-top: 1px solid #edf0e7;
  margin-top: 35px;
  padding-top: 20px;
}
.editor-note {
  font-size: 11px;
  color: #859180;
  text-align: center;
  margin-top: 18px;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-story {
  background: #203b2c;
  color: #f3f5ec;
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-story h1 {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -3px;
  max-width: 500px;
  margin: 70px 0 24px;
}
.login-story h1 span {
  color: #dcee71;
}
.login-story p {
  max-width: 370px;
  color: #c2d0bd;
  font-size: 16px;
  line-height: 1.8;
}
.mini-invoice {
  background: #f7f8f0;
  color: #294331;
  border-radius: 12px;
  max-width: 380px;
  padding: 27px;
  margin-top: 30px;
  transform: rotate(-3deg);
  box-shadow: 14px 15px 0 #ffffff0b;
}
.mini-invoice hr {
  border: 0;
  border-top: 1px solid #dce3d4;
  margin: 20px 0;
}
.mini-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 12px;
}
.login-form {
  padding: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-card {
  width: 100%;
  max-width: 380px;
}
.login-card h2 {
  font-size: 31px;
  margin: 12px 0;
}
.login-card p {
  color: #7a857b;
  line-height: 1.7;
}
.login-card button.primary {
  width: 100%;
  margin-top: 18px;
}
.login-card .field {
  margin-top: 30px;
}
.code {
  font-size: 28px;
  letter-spacing: 10px;
  text-align: center;
}
.preview-banner {
  font-size: 11px;
  background: #edf3e5;
  color: #546c46;
  padding: 10px 14px;
  border-radius: 7px;
  margin: 20px 0;
}
.error {
  color: #a14134;
  font-size: 13px;
  line-height: 1.5;
  margin: 12px 0;
}
.settings {
  max-width: 700px;
  display: grid;
  gap: 24px;
}
.settings .panel {
  padding: 28px;
}
.settings h2 {
  margin-bottom: 8px;
}
.settings .hint {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #758078;
}
.member-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  gap: 12px;
}
.invite-link {
  overflow-wrap: anywhere;
  font-size: 12px;
  background: #f2f6ed;
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.client-card {
  padding: 24px;
  text-align: left;
  border-radius: 12px;
  font-weight: 400;
}
.client-card h3 {
  font-size: 16px;
  margin: 18px 0 7px;
}
.client-card p {
  font-size: 12px;
  color: #758078;
  line-height: 1.6;
  margin-bottom: 20px;
}
.client-card .summary {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.back {
  font-size: 12px;
  color: #768474;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  max-width: 500px;
  width: calc(100% - 32px);
  color: #24392c;
  box-shadow: 0 25px 100px #10251822;
}
dialog::backdrop {
  background: #132b2260;
  backdrop-filter: blur(3px);
}
dialog h2 {
  margin-bottom: 22px;
}
dialog .actions {
  justify-content: flex-end;
  margin-top: 24px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #203b2c;
  color: white;
  padding: 13px 22px;
  border-radius: 9px;
  box-shadow: 0 4px 30px #0002;
  display: none;
  z-index: 100;
  font-size: 13px;
  max-width: 90vw;
}
#toast.show {
  display: block;
}
.busy-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: #738270;
}
@media (min-width: 1500px) {
  .workspace {
    padding: 50px 65px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 190px 1fr;
  }
  .workspace {
    padding: 30px 25px;
  }
  .sidebar {
    padding: 30px 16px;
  }
  .paper {
    padding: 30px;
  }
  .bill-grid {
    gap: 25px;
  }
  .bottom-grid {
    gap: 25px;
  }
  .item-grid {
    grid-template-columns: minmax(0, 1fr) 55px 85px 90px 22px;
  }
  .login-story h1 {
    font-size: 48px;
  }
  .login-story {
    padding: 40px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 140px;
    align-items: center;
    gap: 15px;
  }
  .brand {
    font-size: 21px;
  }
  .team-select {
    margin: 0;
    font-size: 12px;
    padding: 8px;
  }
  .nav {
    grid-column: 1/-1;
    display: flex;
    margin: 0;
    gap: 5px;
    overflow: auto;
  }
  .nav button {
    padding: 9px 12px;
    font-size: 12px;
    white-space: nowrap;
  }
  .side-bottom {
    display: none;
  }
  .workspace {
    padding: 26px 18px;
  }
  .heading {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }
  .heading h1 {
    font-size: 25px;
  }
  .heading p {
    font-size: 12px;
  }
  .heading button {
    font-size: 12px;
    white-space: nowrap;
  }
  .stats {
    gap: 8px;
    margin-bottom: 22px;
  }
  .stat {
    padding: 14px 11px;
  }
  .stat .value {
    font-size: 20px;
  }
  .stat small {
    font-size: 10px;
  }
  .stat .dot {
    display: none;
  }
  .stat > div:first-child {
    font-size: 11px;
  }
  .toolbar {
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
  }
  .search {
    max-width: none;
  }
  td,
  th {
    padding: 16px;
  }
  .paper {
    padding: 22px 16px;
  }
  .editor-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .editor-toolbar .actions {
    width: 100%;
  }
  .editor-toolbar button {
    font-size: 12px;
    padding: 10px;
  }
  .bill-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .invoice-title h2 {
    font-size: 23px;
  }
  .business h3 {
    font-size: 14px;
  }
  .business p {
    font-size: 11px;
  }
  .paper-head {
    gap: 10px;
    margin-bottom: 25px;
  }
  .item-grid {
    grid-template-columns: minmax(0, 1fr) 45px 68px 22px;
    gap: 5px;
  }
  .item-head span:nth-child(4) {
    display: none;
  }
  .item-row .amount {
    grid-column: 1/4;
    font-size: 11px;
    display: block;
    text-align: right;
    margin: 1px 0 7px;
    color: #6d7c69;
  }
  .item-row button {
    grid-column: 4;
    grid-row: 1;
  }
  .item-row {
    position: relative;
  }
  .item-row input {
    padding: 10px 5px;
    font-size: 11px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 26px;
  }
  .totals {
    max-width: 100%;
  }
  .login {
    display: block;
  }
  .login-story {
    padding: 25px;
  }
  .login-story h1 {
    font-size: 36px;
    letter-spacing: -1.5px;
    margin: 30px 0 10px;
  }
  .login-story p {
    font-size: 13px;
    margin-bottom: 0;
  }
  .mini-invoice,
  .login-story > small {
    display: none;
  }
  .login-form {
    padding: 35px 25px;
  }
  .settings .panel {
    padding: 22px;
  }
  .member-row {
    font-size: 12px;
  }
  .date-fields input {
    font-size: 12px;
    min-width: 0;
  }
  .date-fields {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
/* Workspace rail */
.shell {
  grid-template-columns: 224px minmax(0, 1fr);
}
.sidebar {
  background: #18382e;
  color: #d8e5dc;
  padding: 33px 18px 20px;
  border: 0;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -1.2px;
  color: #f7faf2;
  padding: 0 9px;
}
.sidebar-symbol {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  background: #dcee82;
  color: #234033;
  flex-shrink: 0;
}
.sidebar-symbol svg {
  width: 21px;
  height: 21px;
  stroke-width: 2.2;
}
.brand-light {
  font-weight: 450;
}
.brand-period {
  color: #dcee82;
}
.workspace-switch {
  margin: 42px 6px 0;
}
.workspace-switch label {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #789b87;
  font-weight: 650;
  margin: 0 0 12px 3px;
}
.team-control {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #ffffff06;
  border: 1px solid #ffffff12;
  border-radius: 9px;
  padding: 9px 10px;
}
.team-initial {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #335345;
  color: #cfdfc8;
  font-size: 9px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
.team-select {
  margin: 0;
  width: 100%;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #e0e9df;
  font-size: 12px;
  font-weight: 550;
  min-width: 0;
  border-radius: 0;
}
.team-select option {
  background: #18382e;
  color: #e0e9df;
}
.team-select:focus {
  outline: 1px solid #9db995;
}
.nav {
  margin-top: 27px;
  gap: 5px;
}
.nav button {
  color: #96b4a1;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 450;
  gap: 12px;
  min-height: 44px;
}
.nav button svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.nav button:hover {
  background: #ffffff06;
  color: #f1f6ed;
}
.nav button.active {
  background: #d3e8c414;
  color: #e2efcf;
  font-weight: 600;
}
.nav-count {
  margin-left: auto;
  background: #d0e8b915;
  border-radius: 5px;
  color: #b4cca5;
  font-size: 10px;
  min-width: 21px;
  text-align: center;
  padding: 3px 5px;
}
.nav-divider {
  height: 1px;
  background: #ffffff0c;
  margin: 20px 12px 13px;
}
.side-bottom {
  margin-top: auto;
}
.preview-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #85a891;
  letter-spacing: 0.2px;
  margin: 0 12px 18px;
}
.preview-status > span {
  width: 5px;
  height: 5px;
  background: #c8dc7c;
  border-radius: 50%;
}
.account-row {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid #ffffff10;
  padding: 18px 5px 0;
}
.account-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #355344;
  color: #d6e5c9;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}
.account-details {
  min-width: 0;
  flex: 1;
}
.account-details strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
  color: #d5e4d8;
  text-transform: capitalize;
  margin-bottom: 4px;
}
.account-details span {
  display: block;
  font-size: 9px;
  color: #83a08e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-logout {
  background: transparent;
  border: 0;
  color: #84a390;
  padding: 7px 3px;
}
.account-logout:hover {
  background: transparent;
  color: white;
}
.account-logout svg {
  width: 16px;
  height: 16px;
  display: block;
}
.badge.review {
  background: #fff2d8;
  color: #9a762d;
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .sidebar {
    padding: 30px 14px 20px;
  }
  .sidebar-brand {
    font-size: 22px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    padding: 18px 16px 12px;
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 20px 10px;
    height: auto;
    position: static;
  }
  .sidebar-brand {
    font-size: 22px;
    padding: 0;
  }
  .workspace-switch {
    margin: 0;
  }
  .workspace-switch > label {
    display: none;
  }
  .team-control {
    padding: 7px;
  }
  .team-initial {
    width: 22px;
    height: 22px;
    font-size: 8px;
  }
  .team-select {
    font-size: 10px;
  }
  .nav {
    margin: 0;
    gap: 5px;
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    overflow: visible;
  }
  .nav button {
    padding: 10px 12px;
    font-size: 12px;
    gap: 8px;
    min-height: 38px;
  }
  .nav button svg {
    width: 16px;
    height: 16px;
  }
  .nav-count,
  .nav-divider,
  .side-bottom {
    display: none;
  }
  .nav button.active {
    background: #d3e8c41a;
  }
}
@media (max-width: 760px) {
  .table-wrap table,
  .table-wrap tbody {
    display: block;
    white-space: normal;
  }
  .table-wrap thead {
    display: none;
  }
  .table-wrap tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 13px 10px;
    padding: 20px;
  }
  .table-wrap td {
    display: block;
    padding: 0;
    border: 0;
  }
  .table-wrap tr + tr {
    border-top: 1px solid var(--line);
  }
  .table-wrap td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .table-wrap td:nth-child(5) {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
  .table-wrap td:nth-child(2) {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .table-wrap td:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
    color: #7b897c;
    font-size: 11px;
    align-self: center;
  }
  .table-wrap td:nth-child(3)::before {
    content: "Due ";
  }
  .table-wrap td:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
    text-align: right;
  }
  .table-wrap td:nth-child(6) {
    display: none;
  }
  .table-wrap .client-cell small {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 360px) {
  .sidebar {
    grid-template-columns: 1fr 120px;
  }
  .sidebar-brand {
    font-size: 19px;
    gap: 7px;
  }
  .sidebar-symbol {
    width: 28px;
    height: 28px;
  }
  .nav button {
    padding: 9px 8px;
    font-size: 11px;
    gap: 7px;
  }
  .nav button svg {
    width: 14px;
    height: 14px;
  }
}
