@font-face {
  font-family: IRANSansX;
  src: url(fonts/IRANSansX-Regular.woff);
}
@font-face {
  font-family: IRANSansX;
  src: url(fonts/IRANSansX-Medium.woff);
  font-weight: 500;
}
@font-face {
  font-family: IRANSansX;
  src: url(fonts/IRANSansX-Bold.woff);
  font-weight: 700;
}
:root {
  --brand: #16825d;
  --ink: #18372e;
  --muted: #7c8b85;
  --line: #e7ece8;
  --surface: #fff;
  --bg: #f5f7f5;
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    14px/1.9 IRANSansX,
    Tahoma,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #7acdb0;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 21px;
  line-height: 1.6;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 16px;
}
small,
.muted {
  color: var(--muted);
  font-size: 12px;
}
.ltr {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}
.sidebar {
  width: 254px;
  position: fixed;
  inset: 0 0 0 auto;
  background: #fff;
  border-left: 1px solid var(--line);
  z-index: 40;
  padding: 30px 17px 16px;
  display: flex;
  flex-direction: column;
}
.brand img {
  width: 192px;
  height: 66px;
  object-fit: contain;
}
.sidebar .brand {
  text-align: center;
  display: block;
}
.sidebar-label {
  font-size: 10px;
  letter-spacing: 0.6px;
  color: #9ba69f;
  margin: 30px 19px 12px;
}
.sidebar nav {
  overflow: auto;
  flex: 1;
}
.nav-link {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 10px 14px;
  margin-bottom: 5px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 500;
  color: #718177;
  transition: 0.2s;
}
.nav-link svg {
  width: 19px;
  height: 19px;
}
.nav-link:hover {
  background: #f4f7f4;
  color: var(--brand);
}
.nav-link.active {
  background: var(--brand);
  color: white;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 16%, transparent);
}
.nav-link:nth-child(6) {
  margin-bottom: 21px;
}
.sidebar-bottom {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: #8b9991;
  font-size: 10px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.sidebar-bottom a {
  margin-right: auto;
}
.online-dot {
  width: 6px;
  height: 6px;
  background: #4eb882;
  border-radius: 50%;
}
.workspace {
  margin-right: 254px;
}
.topbar {
  height: 97px;
  background: #ffffffc9;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  gap: 15px;
}
.topbar small {
  font-size: 10px;
}
.topbar h1 {
  margin-top: 3px;
  font-size: 19px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}
.today {
  font-size: 12px;
  direction: ltr;
  margin-left: 14px;
}
.icon-button {
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #fff;
  color: #6d8175;
  padding: 7px;
}
.avatar {
  width: 35px;
  height: 35px;
  background: #e8f3ec;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand);
  font-weight: bold;
}
.user-name {
  font-size: 11px;
}
.content {
  padding: 28px 38px 50px;
  max-width: 1750px;
  margin: auto;
}
.page-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.page-title-row p {
  font-size: 12px;
  color: #849087;
  margin-top: 5px;
}
.button,
button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: white;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.button.soft {
  background: #eaf3ed;
  color: var(--brand);
}
.button.white {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
.button.danger {
  background: #b64f4d;
  color: #fff;
}
.button.small {
  font-size: 11px;
  padding: 6px 12px;
}
.button svg {
  width: 18px;
  height: 18px;
}
.mobile-menu {
  display: none;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 22px;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
  gap: 10px;
}
.card-header p {
  font-size: 11px;
  color: var(--muted);
}
.grid {
  display: grid;
  gap: 20px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stats {
  margin: 22px 0 26px;
}
.stat {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
  min-height: 143px;
}
.stat .stat-icon {
  width: 37px;
  height: 37px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #eff5ef;
  color: var(--brand);
  position: absolute;
  left: 18px;
  top: 21px;
}
.stat small {
  font-size: 11px;
}
.stat strong {
  font-size: 25px;
  display: block;
  margin-top: 14px;
  letter-spacing: -0.5px;
}
.stat strong small {
  font-size: 10px;
  font-weight: 400;
  margin-right: 4px;
}
.stat em {
  font-style: normal;
  font-size: 10px;
  color: #9ba79e;
}
.stat.featured {
  background: #183f31;
  color: #fff;
  border-color: #183f31;
}
.stat.featured small,
.stat.featured em {
  color: #b7cdbf;
}
.stat.featured .stat-icon {
  color: #c3eacb;
  background: #ffffff16;
}
.welcome {
  border: 1px solid #dfebe1;
  border-radius: 18px;
  padding: 28px 30px;
  background: linear-gradient(115deg, #e5f0de, #f2f6ec 60%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.welcome h2 {
  font-size: 23px;
}
.welcome p {
  font-size: 12px;
  color: #78907e;
  margin: 7px 0 17px;
}
.welcome img {
  width: 165px;
  height: 125px;
  object-fit: contain;
  opacity: 0.9;
}
.welcome .eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #7e9a7d;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 22px;
}
.chart-wrap {
  height: 270px;
  position: relative;
}
.chart-wrap.small {
  height: 200px;
}
.segmented {
  display: flex;
  gap: 4px;
  background: #f1f4f1;
  padding: 4px;
  border-radius: 10px;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
}
.segmented a,
.segmented label {
  padding: 5px 13px;
  border-radius: 7px;
  font-size: 11px;
  white-space: nowrap;
  cursor: pointer;
}
.segmented .active,
.segmented label:has(input:checked) {
  background: #fff;
  box-shadow: 0 2px 5px #15231b0b;
  color: var(--brand);
}
.segmented input {
  position: absolute;
  opacity: 0;
}
.alert {
  border-radius: 12px;
  padding: 13px 18px;
  margin: 0 0 20px;
  font-size: 12px;
  border: 1px solid;
}
.alert a {
  font-weight: 700;
  margin-right: 12px;
  text-decoration: underline;
}
.success {
  background: #ecf7ef;
  border-color: #d0e9d5;
  color: #317246;
}
.warning {
  background: #fff7e5;
  border-color: #f0dfb6;
  color: #986d23;
}
.danger {
  background: #fff0ee;
  border-color: #f2d5d0;
  color: #a64039;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  font-size: 12px;
}
.field span {
  font-weight: 500;
  color: #63766a;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dfe7e0;
  border-radius: 10px;
  background: white;
  padding: 10px 12px;
  color: #284333;
  outline: none;
  min-height: 45px;
  transition: border 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 9%, transparent);
}
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  accent-color: var(--brand);
  box-shadow: none;
}
input[type="color"] {
  padding: 5px;
}
input[readonly] {
  background: #f7f9f6;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}
.field-help {
  font-size: 11px;
  color: #8b978e;
  line-height: 1.8;
}
.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 23px;
  flex-wrap: wrap;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  text-align: right;
  font-size: 12px;
}
th {
  background: #f7f9f6;
  color: #869388;
  font-size: 10px;
  font-weight: 500;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 14px;
  border-bottom: 1px solid #edf1ec;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td .ltr {
  font-size: 11px;
}
.table-action {
  color: var(--brand);
  font-size: 11px;
  font-weight: 500;
}
.badge {
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  background: #eff2ee;
  color: #879386;
  font-size: 10px;
  white-space: nowrap;
}
.badge.green {
  color: #388f60;
  background: #ecf7ef;
}
.badge.blue {
  background: #eef3fb;
  color: #668ac2;
}
.badge.red {
  color: #bc6b5c;
  background: #fcf0eb;
}
.badge.amber {
  color: #b58c43;
  background: #fcf7e8;
}
.empty {
  text-align: center;
  color: #99a79a;
  padding: 45px;
}
.pagination {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding: 18px;
}
.pagination a {
  background: white;
  padding: 5px 13px;
  border-radius: 7px;
  border: 1px solid var(--line);
}
.select2-container .select2-selection--single {
  height: 45px;
  border: 1px solid #dfe7e0;
  border-radius: 10px;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 43px;
  padding: 0 12px;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 43px;
  left: 5px;
  right: auto;
}
.select2-dropdown {
  border: 1px solid #dfe7e0;
  border-radius: 10px;
  padding: 8px;
  font-size: 12px;
}
.select2-container {
  width: 100% !important;
}
.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background: var(--brand);
}
.invoice-type {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.choice-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  flex: 1;
}
.choice-card:has(input:checked) {
  border-color: var(--brand);
  background: #f0f8f1;
}
.choice-card b {
  display: block;
  font-size: 13px;
}
.choice-card small {
  font-size: 10px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.section-number {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: #eaf3e9;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 11px;
}
.item-row {
  display: grid;
  grid-template-columns: 1fr 90px 180px 36px;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}
.remove-row {
  border: 0;
  background: #fff2ef;
  color: #b36757;
  border-radius: 8px;
  width: 32px;
  height: 34px;
}
.summary-box {
  padding: 21px;
  background: #f5f8f1;
  border: 1px solid #e5ecd9;
  border-radius: 13px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  font-size: 12px;
}
.summary-line.total {
  border-top: 1px dashed #d6e1cc;
  padding-top: 14px;
  margin-top: 14px;
  font-weight: 700;
  font-size: 15px;
  color: var(--brand);
}
.preview-schedule {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 17px;
}
.preview-schedule span {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
}
.upload-zone {
  border: 1.5px dashed #cadbc9;
  background: #fafcf8;
  padding: 22px;
  border-radius: 12px;
}
.upload-zone input {
  background: white;
}
.upload-zone p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}
.upload-progress {
  height: 10px;
  border-radius: 8px;
  background: #e6eee0;
  margin-top: 15px;
  overflow: hidden;
}
.upload-progress i {
  display: block;
  background: var(--brand);
  height: 100%;
  width: 0;
  transition: width 0.2s;
}
.upload-stats {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  margin-top: 6px;
}
.auth {
  width: min(440px, calc(100% - 32px));
  margin: 7vh auto;
  padding: 35px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 25px 90px #18352a08;
}
.auth .brand {
  display: block;
  text-align: center;
  margin-bottom: 25px;
}
.auth .field {
  margin-top: 20px;
}
.auth h1 {
  font-size: 22px;
}
.auth p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.auth .button {
  width: 100%;
  margin-top: 25px;
}
.profile-cover {
  background: linear-gradient(120deg, #edf4e3, #e5f2ed);
  padding: 29px;
  border: 1px solid #dce9dc;
  border-radius: 18px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}
.profile-cover .avatar {
  width: 65px;
  height: 65px;
  font-size: 25px;
  background: white;
}
.profile-cover h2 {
  margin-bottom: 5px;
}
.profile-cover .actions {
  margin-right: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.invoice-paper {
  padding: 32px;
}
.invoice-heading {
  display: flex;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--brand);
  margin-bottom: 22px;
}
.invoice-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.invoice-customer {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  background: #f5f8f3;
  padding: 18px;
  border-radius: 10px;
  margin-bottom: 24px;
}
.invoice-customer p {
  width: 100%;
}
.invoice-totals {
  max-width: 400px;
  margin: 24px auto 28px 0;
}
.invoice-totals p {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.invoice-totals p:nth-child(3) {
  color: var(--brand);
  font-weight: 700;
}
.invoice-footer {
  padding: 17px;
  border-top: 1px dashed var(--line);
  margin-top: 25px;
  font-size: 12px;
}
.signatures {
  display: flex;
  justify-content: space-between;
  padding: 24px 30px 60px;
}
.receipt-image {
  width: min(100%, 450px);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.notification {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.notification svg {
  color: var(--brand);
}
.notification p {
  font-size: 12px;
}
.support-frame {
  width: 100%;
  height: 75vh;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
}
.public-header {
  padding: 18px max(25px, calc((100vw - 1180px) / 2));
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.public-header nav {
  display: flex;
  gap: 24px;
  font-size: 12px;
}
.public-content {
  max-width: 1180px;
  margin: auto;
  padding: 30px 22px 60px;
  min-height: 65vh;
}
.public-footer {
  background: #eaf1e8;
  padding: 35px max(25px, calc((100vw - 1130px) / 2));
  font-size: 12px;
}
.public-footer p {
  margin: 9px 0;
}
.shop-hero {
  border-radius: 24px;
  background: #e4eee0;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 36px;
}
.shop-hero h1 {
  font-size: 38px;
  line-height: 1.7;
}
.shop-hero p {
  margin: 15px 0 22px;
  color: #77916f;
}
.shop-hero img {
  width: 32%;
  max-width: 290px;
}
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 24px 0;
}
.product {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 17px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.product img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}
.product h3 {
  font-size: 14px;
}
.product .price {
  font-size: 19px;
  font-weight: 700;
  color: var(--brand);
}
.product .button {
  margin-top: auto;
}
.terms-text {
  white-space: pre-line;
  font-size: 13px;
  line-height: 2.4;
}
.hafez {
  border: 1px solid #e1e9d7;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  background: #f5f7ec;
  color: #74825f;
}
.hafez blockquote {
  margin: 12px 0;
  font-size: 13px;
  line-height: 2.7;
}
.receipt-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.receipt-list article {
  background: #f5f8f4;
  padding: 14px;
  border-radius: 9px;
  font-size: 12px;
}
.subnav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  padding: 9px 0;
}
.footer-note {
  font-size: 10px;
  color: #99a493;
  text-align: center;
  margin-top: 25px;
}
.backdrop {
  display: none;
}
.date-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.date-nav input {
  max-width: 150px;
}
.step-note {
  font-size: 11px;
  color: #8a9989;
  margin-top: 10px;
}
.settings-heading {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.balance-circle {
  width: 140px;
  height: 140px;
  border: 13px solid #e8f2e5;
  border-top-color: var(--brand);
  border-right-color: var(--brand);
  border-radius: 50%;
  margin: 20px auto;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 23px;
  font-weight: 700;
}
.balance-circle small {
  display: block;
  font-size: 10px;
}
.mobile-only {
  display: none;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .content {
    padding: 34px 48px;
  }
  .topbar {
    padding: 0 48px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 220px;
  }
  .workspace {
    margin-right: 220px;
  }
  .topbar {
    padding: 0 24px;
  }
  .content {
    padding: 24px;
  }
  .user-name {
    display: none;
  }
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .public-header {
    padding: 18px 24px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 13px;
  }
  .sidebar {
    transform: translateX(100%);
    transition: transform 0.2s;
    width: 255px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  body.menu-open .backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: #142c2460;
    z-index: 35;
  }
  .workspace {
    margin: 0;
  }
  .mobile-menu {
    display: flex;
  }
  .topbar {
    height: 79px;
    padding: 0 16px;
  }
  .topbar h1 {
    font-size: 16px;
  }
  .topbar small {
    font-size: 9px;
  }
  .today,
  .top-actions .avatar {
    display: none;
  }
  .top-actions {
    gap: 7px;
  }
  .top-actions .icon-button {
    width: 33px;
    height: 33px;
    padding: 6px;
  }
  .content {
    padding: 19px 14px 40px;
  }
  .card {
    padding: 18px 15px;
    margin-bottom: 16px;
    border-radius: 14px;
  }
  .card-header {
    margin-bottom: 16px;
  }
  .card-header h3 {
    font-size: 14px;
  }
  .page-title-row {
    align-items: flex-start;
    gap: 10px;
  }
  .page-title-row h2 {
    font-size: 17px;
  }
  .page-title-row p {
    font-size: 10px;
  }
  .button {
    font-size: 11px;
    padding: 9px 13px;
  }
  .welcome {
    padding: 23px 20px;
  }
  .welcome h2 {
    font-size: 19px;
  }
  .welcome p {
    font-size: 10px;
    max-width: 235px;
  }
  .welcome img {
    width: 83px;
    height: 105px;
    margin-right: -30px;
    opacity: 0.6;
  }
  .welcome .eyebrow {
    font-size: 8px;
  }
  .grid.four {
    gap: 10px;
  }
  .stat {
    padding: 16px 13px;
    min-height: 128px;
  }
  .stat strong {
    font-size: 20px;
    margin-top: 20px;
  }
  .stat .stat-icon {
    left: 13px;
    top: 13px;
    width: 29px;
    height: 29px;
  }
  .stat .stat-icon svg {
    width: 17px;
    height: 17px;
  }
  .stat small {
    font-size: 9px;
  }
  .stat strong small {
    font-size: 8px;
  }
  .stat em {
    font-size: 8px;
  }
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }
  .dashboard-columns {
    gap: 0;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .filter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .filter-grid .field:first-child {
    grid-column: 1/-1;
  }
  .filter-grid > .button {
    grid-column: 1/-1;
  }
  .item-row {
    grid-template-columns: 1fr 60px 32px;
    gap: 7px;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 13px;
    margin-bottom: 14px;
  }
  .item-row input:first-child {
    grid-column: 1/3;
  }
  .item-row input:nth-child(3) {
    grid-column: 1/3;
    grid-row: 2;
  }
  .item-row input:nth-child(2) {
    grid-row: 2;
    grid-column: 3;
    min-width: 49px;
    transform: translateX(18px);
  }
  .item-row button {
    grid-column: 3;
    grid-row: 1;
  }
  .invoice-type {
    gap: 8px;
  }
  .choice-card {
    padding: 12px 10px;
    gap: 8px;
  }
  .choice-card b {
    font-size: 12px;
  }
  .choice-card small {
    font-size: 8px;
  }
  .preview-schedule {
    grid-template-columns: 1fr;
  }
  .profile-cover {
    padding: 22px 17px;
    flex-wrap: wrap;
    gap: 13px;
  }
  .profile-cover h2 {
    font-size: 19px;
  }
  .profile-cover .actions {
    width: 100%;
    margin: 5px 0 0;
  }
  .invoice-paper {
    padding: 20px 14px;
  }
  .invoice-heading h2 {
    font-size: 16px;
  }
  .invoice-heading {
    gap: 14px;
  }
  .invoice-heading p {
    font-size: 10px;
  }
  .invoice-customer {
    gap: 10px;
  }
  .public-header {
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 9px;
  }
  .public-header .brand img {
    width: 145px;
    height: 45px;
  }
  .public-header > .button {
    font-size: 10px;
  }
  .public-header nav {
    order: 3;
    width: 100%;
    gap: 20px;
    justify-content: center;
    border-top: 1px solid var(--line);
    padding-top: 10px;
    font-size: 10px;
  }
  .public-content {
    padding: 22px 14px 40px;
  }
  .shop-hero {
    padding: 28px 22px;
    gap: 10px;
    border-radius: 17px;
  }
  .shop-hero h1 {
    font-size: 25px;
  }
  .shop-hero p {
    font-size: 10px;
  }
  .shop-hero img {
    width: 30%;
  }
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product {
    padding: 15px 12px;
    gap: 10px;
  }
  .product img {
    height: 135px;
  }
  .product h3 {
    font-size: 11px;
  }
  .product .price {
    font-size: 14px;
  }
  .product .button {
    font-size: 10px;
    padding: 8px;
  }
  .public-footer {
    padding: 25px 18px;
  }
  .auth {
    padding: 26px 22px;
  }
  .date-nav {
    flex-wrap: wrap;
  }
  .mobile-only {
    display: block;
  }
  table {
    font-size: 11px;
  }
  td,
  th {
    padding: 12px 10px;
  }
  .segmented a,
  .segmented label {
    font-size: 10px;
    padding: 5px 10px;
  }
  .support-frame {
    height: 75vh;
  }
  .chart-wrap {
    height: 240px;
  }
}
@media print {
  .sidebar,
  .topbar,
  .public-header,
  .public-footer,
  .form-actions,
  .no-print {
    display: none !important;
  }
  .workspace {
    margin: 0;
  }
  .content,
  .public-content {
    padding: 0;
    max-width: 100%;
  }
  body {
    background: white;
    font-size: 11px;
  }
  .card {
    border: 0;
    padding: 12px;
  }
  .table-wrap {
    overflow: visible;
  }
  table {
    white-space: normal;
  }
  .invoice-heading {
    break-inside: avoid;
  }
  .invoice-footer,
  .signatures,
  tr {
    break-inside: avoid;
  }
  .button {
    display: none;
  }
}

@media (max-width: 760px) {
  .item-row {
    grid-template-columns: minmax(0, 1fr) 70px 32px;
  }
  .item-row input:nth-child(3) {
    grid-column: 1/2;
  }
  .item-row input:nth-child(2) {
    grid-column: 2/4;
    transform: none;
    width: 100%;
  }
}
