@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  font-family: "DM Sans", sans-serif;
  color: #233b35;
  background: #f6f7f3;
  font-synthesis: none;
  --green: #1d5145;
  --muted: #77827a;
  --line: #e4e8e0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #b28a3c;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
.shell {
  display: flex;
  min-height: 100vh;
}
aside {
  width: 238px;
  flex-shrink: 0;
  padding: 34px 20px 22px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  font-family: Manrope, sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1.1px;
  margin-bottom: 47px;
}
.brand-icon {
  color: #fff;
  background: #214b40;
  padding: 8px;
  display: flex;
  border-radius: 9px;
  margin-right: 9px;
}
.brand-dot {
  color: #b89350;
}
.workspace-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: #8b948e;
  margin: 0 10px 13px;
}
.company-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f6f7f3;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px;
}
.company-switch select {
  width: 145px;
  border: 0;
  background: transparent;
  color: #354c43;
  font-size: 12px;
  font-weight: 600;
  min-height: 25px;
}
.text-button {
  padding: 7px 0;
  color: #486459;
}
.new-company {
  align-self: flex-start;
  font-size: 11px;
  padding-left: 10px;
  margin-top: 5px;
}
.nav-label {
  margin-top: 37px;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
nav button {
  justify-content: flex-start;
  font-size: 12px;
  font-weight: 500;
  padding: 13px 12px;
  border-radius: 6px;
  gap: 12px;
  color: #748078;
}
nav button.active {
  background: #edf3ec;
  color: #254f40;
  font-weight: 700;
}
nav button:hover {
  background: #f1f4ee;
}
.nav-indicator {
  width: 5px;
  height: 5px;
  background: #496f47;
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 20px 8px 0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.small-mark {
  background: #edf3e9;
  color: #3b6b43;
  border-radius: 50%;
  padding: 7px;
  display: flex;
}
.sidebar-bottom strong {
  font-size: 11px;
  display: block;
}
.sidebar-bottom small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
main {
  flex: 1;
  min-width: 0;
}
header {
  height: 80px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  background: #fff9;
}
.breadcrumb {
  display: flex;
  gap: 14px;
  align-items: center;
  color: #8b958c;
  font-size: 11px;
}
.breadcrumb span {
  color: #435d50;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #748078;
}
.local-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #668255;
  display: inline-block;
  flex-shrink: 0;
}
.avatar {
  border: 1px solid #e1e7da;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edf0e7;
  width: 32px;
  height: 32px;
  margin-left: 20px;
  font-size: 10px;
  color: #3a5642;
  font-weight: 700;
}
.content {
  max-width: 1440px;
  margin: auto;
  padding: 42px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #7d887a;
  margin: 0 0 12px;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
}
h1 {
  font-size: 29px;
  letter-spacing: -1.1px;
  font-weight: 650;
  margin: 0 0 10px;
}
h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0;
}
h3 {
  font-size: 17px;
}
.subtitle {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}
.primary {
  background: var(--green);
  color: #fff;
  padding: 13px 17px;
  border-radius: 6px;
  white-space: nowrap;
  min-height: 42px;
}
.primary:hover {
  background: #286653;
}
.secondary {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  background: white;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  padding: 23px 22px;
  border-radius: 8px;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}
.stat-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #738176;
  margin-bottom: 21px;
}
.stat-label svg {
  opacity: 0.65;
}
.stat strong {
  font-family: Manrope, sans-serif;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.7px;
  display: block;
  overflow-wrap: anywhere;
}
.stat small {
  font-size: 10px;
  color: #8a958a;
  display: block;
  margin-top: 12px;
}
.stat.featured {
  background: #1f483d;
  border-color: #1f483d;
  color: #fff;
}
.featured .stat-label,
.featured small {
  color: #b7cabc;
}
.stat-rule {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #b9cc8f;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px;
}
.panel-heading p {
  font-size: 10px;
  color: #8b948a;
  margin: 8px 0 0;
}
.pill {
  font-size: 9px;
  background: #f5f7f1;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 7px 10px;
  white-space: nowrap;
  color: #778274;
}
.bar-chart {
  padding: 20px 24px 32px;
}
.bar-row + .bar-row {
  margin-top: 26px;
}
.bar-row > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #7b887d;
  margin-bottom: 12px;
}
.bar-row strong {
  color: #3e584a;
  font-size: 12px;
}
.bar-track {
  height: 18px;
  border-radius: 3px;
  background: repeating-linear-gradient(
    90deg,
    #f2f4ed 0,
    #f2f4ed calc(25% - 1px),
    #e3e8dd calc(25% - 1px),
    #e3e8dd 25%
  );
  overflow: hidden;
}
.bar-track > div {
  height: 100%;
  min-width: 0;
  border-radius: 3px;
}
.income {
  background: #658264;
}
.expense {
  background: #d0b883;
}
.chart-note {
  margin: 0 24px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  font-size: 9px;
  color: #8a9486;
  display: flex;
  align-items: center;
  gap: 7px;
}
.quick {
  background: #eff1e6;
  padding: 25px;
  position: relative;
}
.quick h2 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
}
.quick > p:not(.eyebrow) {
  font-size: 11px;
  color: #7e8978;
  max-width: 260px;
  line-height: 1.8;
  margin-bottom: 17px;
}
.quick button {
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  border-top: 1px solid #dce1d0;
  font-size: 11px;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
  font-size: 11px;
}
th {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #8a9389;
  background: #fafbf8;
  font-weight: 600;
}
th,
td {
  padding: 17px 24px;
  border-bottom: 1px solid #eef0e9;
}
tbody tr:last-child td {
  border: 0;
}
td {
  color: #7c887f;
}
td strong {
  color: #3d5548;
  font-size: 11px;
  font-weight: 600;
}
.numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.amount {
  color: #354f41;
  font-weight: 600;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 9px;
  background: #edf0f5;
  color: #68768c;
}
.tag.sale {
  background: #eef4e9;
  color: #587345;
}
.tag.purchase {
  background: #f7f0df;
  color: #9a7d40;
}
.tag.journal {
  background: #edf0f5;
  color: #68768c;
}
.empty {
  text-align: center;
  padding: 50px 24px;
  color: #8b958a;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
}
.empty h3 {
  margin-bottom: 0;
  color: #3b5748;
}
.empty button {
  color: var(--green);
  margin-top: 12px;
  min-height: 40px;
}
.welcome {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 60px 24px 32px;
  background-image: radial-gradient(#dae1d5 0.7px, transparent 0.7px);
  background-size: 18px 18px;
}
.welcome-icon {
  display: inline-flex;
  background: #eaf0e4;
  color: #436548;
  border: 1px solid #dce6d2;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 28px;
}
.welcome h2 {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -1.7px;
  line-height: 1.25;
}
.welcome > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.9;
  color: #7d897c;
  margin: 18px 0 25px;
}
.welcome-features {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 10px;
  color: #7a8876;
}
.welcome-features span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  color: #8b9589;
}
.search input {
  border: 0;
  background: none;
  padding: 8px;
  font-size: 12px;
  width: 100%;
  color: var(--green);
}
.account-link {
  font-size: 11px;
  color: #355f49;
  padding: 5px 0;
}
.report-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.report-card {
  padding: 26px;
}
.report-card h2 {
  font-size: 30px;
}
.report-card > p:not(.eyebrow) {
  font-size: 11px;
  color: #879381;
}
.report-card > div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  font-size: 12px;
}
.report-card > div:first-of-type {
  margin-top: 20px;
}
.ledger-panel {
  margin-top: 24px;
}
tfoot {
  font-weight: 700;
  background: #f5f8f1;
}
.notice,
.error {
  padding: 13px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 12px;
}
.notice {
  background: #eaf2e3;
  color: #466039;
  display: flex;
  gap: 8px;
}
.error {
  background: #fff0e9;
  color: #9d482c;
  line-height: 1.6;
}
.error button {
  text-decoration: underline;
  margin-left: 12px;
}
footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1px;
  color: #9ba493;
  padding: 29px 0 0;
}
footer span:last-child {
  letter-spacing: 0;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #142d256b;
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 10;
}
.modal {
  background: #fff;
  border-radius: 12px;
  width: 480px;
  max-height: calc(100dvh - 48px);
  overflow: auto;
  box-shadow: 0 20px 80px #17312833;
  padding: 28px;
}
.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-heading h2 {
  font-size: 22px;
}
.modal-heading .eyebrow {
  font-size: 8px;
}
.icon-button {
  padding: 8px;
  border-radius: 5px;
}
.icon-button:hover {
  background: #f3f5f0;
}
form label {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 600;
  gap: 8px;
  margin: 18px 0;
}
form input,
form select {
  padding: 12px;
  border: 1px solid #dfe5d9;
  border-radius: 5px;
  background: #fcfdfb;
  width: 100%;
  min-width: 0;
  font-size: 13px;
  color: #344f40;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid label {
  margin: 0;
}
.form-grid {
  margin: 18px 0;
}
.form-note {
  font-size: 11px;
  line-height: 1.8;
  color: #829078;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 26px;
}
@media (min-width: 1450px) {
  .content {
    padding: 52px 58px;
  }
  .stats {
    gap: 22px;
  }
  .stat {
    padding: 28px;
  }
  .stat strong {
    font-size: 27px;
  }
}
@media (max-width: 1100px) {
  aside {
    width: 205px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .brand {
    font-size: 20px;
  }
  .company-switch select {
    width: 125px;
  }
  .content {
    padding: 28px;
  }
  .stat {
    padding: 18px 15px;
  }
  .stat strong {
    font-size: 18px;
  }
  .overview-grid {
    gap: 16px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .panel-heading {
    padding: 20px;
  }
}
@media (max-width: 800px) {
  aside {
    width: 76px;
    padding: 25px 10px;
  }
  .brand {
    font-size: 0;
    margin-bottom: 30px;
    justify-content: center;
  }
  .brand-icon {
    margin: 0;
  }
  .brand-dot,
  .workspace-label,
  .company-switch,
  .new-company,
  .sidebar-bottom {
    display: none;
  }
  nav button {
    font-size: 0;
    justify-content: center;
    padding: 15px 10px;
  }
  nav button svg {
    width: 21px;
    height: 21px;
  }
  nav .nav-indicator {
    display: none;
  }
  header {
    padding: 0 24px;
    height: 65px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .quick {
    display: none;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .primary {
    font-size: 11px;
  }
  .report-summary {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 540px) {
  .shell {
    display: block;
  }
  aside {
    height: auto;
    width: 100%;
    position: static;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 20px;
    justify-content: flex-start;
    margin: 0 0 15px;
  }
  .brand-icon {
    margin-right: 8px;
    padding: 6px;
  }
  .brand-dot {
    display: inline;
  }
  nav {
    flex-direction: row;
    overflow: auto;
    gap: 5px;
  }
  nav button {
    min-width: 42px;
    padding: 11px;
  }
  .company-switch {
    display: flex;
    position: absolute;
    right: 18px;
    top: 15px;
    padding: 3px;
  }
  .company-switch select {
    width: 110px;
    font-size: 10px;
  }
  .company-switch svg {
    width: 13px;
  }
  .new-company {
    display: flex;
    position: absolute;
    right: 20px;
    top: 48px;
    font-size: 9px;
  }
  header {
    height: 50px;
    padding: 0 18px;
  }
  .header-right {
    font-size: 9px;
  }
  .avatar {
    width: 25px;
    height: 25px;
    margin-left: 5px;
  }
  .content {
    padding: 25px 18px;
  }
  .page-heading {
    display: block;
    margin-bottom: 23px;
  }
  h1,
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading .primary {
    margin-top: 20px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    min-height: 145px;
    padding: 18px 14px;
  }
  .stat strong {
    font-size: 17px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat small {
    font-size: 9px;
  }
  .panel-heading {
    padding: 18px;
    gap: 8px;
  }
  .panel-heading h2 {
    font-size: 13px;
  }
  th,
  td {
    padding: 15px 18px;
  }
  .welcome {
    padding: 35px 16px 25px;
  }
  .welcome h2 {
    font-size: 30px;
  }
  .welcome-features {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
  }
  .welcome > p:not(.eyebrow) {
    font-size: 11px;
  }
  .welcome br {
    display: none;
  }
  .modal {
    padding: 22px;
  }
  .modal-backdrop {
    padding: 12px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid label + label {
    margin-top: 7px;
  }
  footer {
    gap: 15px;
    font-size: 8px;
    line-height: 1.8;
  }
  .search input {
    font-size: 10px;
  }
  .secondary {
    font-size: 11px;
    padding: 9px;
  }
  .panel-heading .text-button {
    font-size: 10px;
  }
  .report-card {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .panel,
  .stat,
  .welcome {
    animation: appear 0.35s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
}
.auth-story {
  background: #1f483d;
  color: #edf2e6;
  padding: 45px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
}
.auth-story .brand {
  margin: 0;
  color: #fff;
}
.auth-story .brand-icon {
  background: #d5dfbf;
  color: #214b40;
}
.auth-story h1 {
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -3px;
  margin: 20px 0;
}
.auth-story .eyebrow {
  color: #bccb9e;
}
.auth-story > div > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.9;
  color: #b9cabe;
}
.auth-benefits {
  display: grid;
  gap: 15px;
  margin-top: 32px;
  font-size: 12px;
  color: #d2dfca;
}
.auth-benefits span {
  display: flex;
  gap: 10px;
  align-items: center;
}
.auth-story small {
  font-size: 9px;
  letter-spacing: 2px;
  color: #adbea6;
}
.auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 30px;
}
.auth-form {
  width: 100%;
  max-width: 375px;
}
.auth-form h2 {
  font-size: 32px;
  margin-bottom: 12px;
  letter-spacing: -1px;
}
.auth-form form {
  margin-top: 25px;
}
.auth-form .primary {
  width: 100%;
  margin-top: 10px;
}
.auth-form .notice,
.auth-form .error {
  margin-top: 20px;
}
.auth-switch {
  font-size: 12px;
  color: #7d897c;
  text-align: center;
  margin: 28px 0 20px;
}
.auth-switch button {
  font-size: 12px;
  color: #1d5145;
  padding: 8px;
}
.auth-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: #53715b;
}
.admin-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.company-edit {
  padding: 25px;
  margin-top: 24px;
}
.company-edit .form-grid label {
  margin: 18px 0;
}
.floating-error {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 400px;
  padding: 18px;
  background: #fff0e9;
  color: #9d482c;
  border: 1px solid #e4c0ac;
  border-radius: 8px;
  z-index: 20;
}
.header-right .text-button {
  font-size: 10px;
  padding: 8px;
}
.header-right {
  flex-wrap: wrap;
}
@media (max-width: 800px) {
  .auth-story {
    padding: 35px;
  }
  .auth-story h1 {
    font-size: 48px;
  }
  .auth-story > div > p br {
    display: none;
  }
}
@media (max-width: 600px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 25px;
    gap: 24px;
  }
  .auth-story > div,
  .auth-story > small {
    display: none;
  }
  .auth-story .brand {
    font-size: 23px;
  }
  .auth-form-wrap {
    padding: 35px 24px;
  }
  .admin-stats {
    grid-template-columns: 1fr;
  }
  .admin-stats .stat {
    min-height: 100px;
  }
  .header-right {
    gap: 4px;
  }
  .header-right > .local-dot,
  .header-right > .avatar {
    display: none;
  }
}
.workspace-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.button-row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.segmented {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  background: #ecefe7;
  border-radius: 7px;
  max-width: 100%;
  overflow-x: auto;
}
.segmented button {
  padding: 10px 12px;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 11px;
  color: #71816c;
  min-height: 36px;
}
.segmented button.selected {
  background: #fff;
  color: var(--green);
  box-shadow: 0 1px 3px #183d3510;
}
.record-dialog {
  width: 560px;
}
.row-action {
  margin-left: 12px;
}
.remarks-cell {
  white-space: normal;
  min-width: 180px;
  max-width: 300px;
  line-height: 1.7;
}
.filter-select {
  border: 1px solid var(--line);
  padding: 9px 12px;
  border-radius: 5px;
  max-width: 190px;
  background: #fcfdf9;
  font-size: 11px;
  color: var(--green);
}
textarea {
  font: inherit;
  padding: 12px;
  border: 1px solid #dfe5d9;
  border-radius: 5px;
  background: #fcfdfb;
  width: 100%;
  font-size: 13px;
  color: #344f40;
  resize: vertical;
}
textarea:focus-visible {
  outline: 3px solid #b28a3c;
  outline-offset: 3px;
}
.record-dialog form small {
  font-size: 10px;
}
.contact-filters {
  flex-wrap: wrap;
}
.tag.sales-return {
  background: #f7ede6;
  color: #996b44;
}
@media (max-width: 1100px) {
  .workspace-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-filters {
    width: 100%;
  }
}
@media (max-width: 540px) {
  .button-row {
    width: 100%;
  }
  .button-row button {
    flex: 1;
    padding: 10px;
    font-size: 10px;
  }
  .segmented button {
    font-size: 10px;
    padding: 8px;
  }
  .record-dialog {
    width: 100%;
  }
  .filter-select {
    max-width: 130px;
  }
  .workspace-actions {
    gap: 12px;
  }
}
/* Keep every workspace section reachable on short desktop viewports. */
aside { overflow-y: auto; }
