/* Responsive typography scale shared by the application screens. */
@media screen {
  body,
  .content {
    font-size: 16px !important;
  }

  h1,
  .hero-title {
    font-size: 36px !important;
    line-height: 1.2;
  }

  h2,
  .card-title {
    font-size: 26px !important;
    line-height: 1.25;
  }

  h3 {
    font-size: 22px !important;
    line-height: 1.3;
  }

  :is(p, li, dd, dt, tbody td),
  .content :is(p, li, dd, dt, tbody td),
  .auth-shell :is(p, li),
  .hero-sub,
  .dd-text,
  .dd-row-head strong,
  .dd-profile-name {
    font-size: 16px !important;
  }

  :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea),
  .content :is(input, select, textarea),
  .content .input,
  .content .select,
  .content .textarea,
  .auth-shell :is(input, select, textarea),
  .auth-shell .input {
    font-size: 16px !important;
  }

  :is(button, .btn, [role="button"], a[class*="btn"], .toolbar a),
  .content :is(button, .btn, [role="button"], .card-action),
  .auth-shell :is(button, .btn, [role="button"]),
  .d-topbar .cmd,
  .d-sidebar .nav-link,
  .d-sidebar .nav-submenu a,
  .dd-footer,
  .dd-menu-item {
    font-size: 15px !important;
  }

  :is(th, small, .eyebrow, .tag, [class*="caption"], [class*="label"], [class*="meta"], [class*="note"], [class*="hint"], [class*="help"], [class*="badge"], [class*="status"], [class*="date"], [class*="count"]),
  :is([class*="time"], [class*="tag"], [class*="operator"], [class*="branch"]),
  .content :is(th, small, .eyebrow, .tag, [class*="caption"], [class*="label"], [class*="meta"], [class*="note"], [class*="hint"], [class*="help"], [class*="badge"], [class*="status"], [class*="date"], [class*="count"]),
  .content :is([class*="time"], [class*="tag"], [class*="operator"], [class*="branch"]),
  .d-sidebar :is(.brand-tag, .nav-label, .nav-badge, .workspace-role),
  .d-topbar :is(.kbd, .icon-btn .count, .dd-time, .dd-profile-email),
  .d-footer,
  .d-footer-meta,
  .content .table thead th {
    font-size: 12px !important;
  }

  label,
  .content .field-label,
  .content .pos-discount-label,
  .auth-shell label {
    font-size: 14px !important;
  }

  .auth-shell [class*="eyebrow"] {
    font-size: 12px !important;
  }

  .content [class*="name"] {
    font-size: 16px !important;
  }

  .content .pos-cashier-name {
    font-size: 32px !important;
  }

  .content :not(h1):not(h2):not(h3)[class*="title"] {
    font-size: 16px !important;
  }

  .content .pos-operator {
    font-size: 12px !important;
  }

  .content .pos-payment-amount-row {
    font-size: 16px !important;
  }

  .content .pos-category-name,
  .content .pos-customer-avatar,
  .content .pos-line-total,
  .content .pos-qty span,
  .content .pos-product-price {
    font-size: 16px !important;
  }

  .content .pos-product-category,
  .content .pos-product-qty-tiers,
  .content .pos-package-table,
  .content .pos-package-heading .pos-package-cell,
  .content .pos-order-id,
  .content .pos-line-price,
  .content .pos-calendar-weekday,
  .content .pos-payment-modal .field-error {
    font-size: 12px !important;
  }

  .content .pos-empty {
    font-size: 16px !important;
  }

  tbody td,
  .content .table tbody td,
  .content table tbody td {
    font-size: 16px !important;
  }

  .content .table thead th,
  .content table thead th {
    font-size: 12px !important;
  }

  .content .card-title {
    font-size: 26px !important;
  }

  .content .hero-title {
    font-size: 36px !important;
  }

  .brand-name,
  .workspace-name,
  .crumbs,
  .dd-head {
    font-size: 15px !important;
  }

  .auth-shell h1 {
    font-size: 36px !important;
  }

  .receipt {
    font-size: 16px !important;
  }

  .receipt-head h1 {
    font-size: 26px !important;
  }

  .receipt :is(th, .item-detail, .receipt-head p, .receipt-note) {
    font-size: 12px !important;
  }

  .receipt .receipt-totals .grand {
    font-size: 22px !important;
  }

  .receipt table,
  .receipt .receipt-totals,
  .receipt .receipt-meta {
    font-size: 14px !important;
  }

  .receipt-actions :is(a, button) {
    font-size: 15px !important;
  }
}

@media screen and (min-width: 721px) and (max-width: 1024px) {
  h1,
  .hero-title,
  .auth-shell h1 {
    font-size: 30px !important;
  }

  h2,
  .card-title {
    font-size: 24px !important;
  }

  h3 {
    font-size: 22px !important;
  }

  .content .hero-title,
  .content .card-title {
    font-size: 24px !important;
  }

  .content .pos-cashier-name {
    font-size: 30px !important;
  }
}

@media screen and (max-width: 720px) {
  body,
  .content {
    font-size: 16px !important;
  }

  h1,
  .hero-title,
  .auth-shell h1 {
    font-size: 28px !important;
    line-height: 1.2;
  }

  h2,
  .card-title {
    font-size: 22px !important;
    line-height: 1.25;
  }

  h3 {
    font-size: 19px !important;
  }

  :is(p, li, dd, dt, tbody td),
  .content :is(p, li, dd, dt, tbody td),
  .auth-shell :is(p, li),
  .hero-sub,
  .dd-text,
  .dd-row-head strong,
  .dd-profile-name {
    font-size: 16px !important;
  }

  :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea),
  .content :is(input, select, textarea),
  .content .input,
  .content .select,
  .content .textarea,
  .auth-shell :is(input, select, textarea),
  .auth-shell .input {
    font-size: 16px !important;
  }

  :is(button, .btn, [role="button"], a[class*="btn"], .toolbar a),
  .content :is(button, .btn, [role="button"], .card-action),
  .auth-shell :is(button, .btn, [role="button"]),
  .d-topbar .cmd,
  .d-sidebar .nav-link,
  .d-sidebar .nav-submenu a,
  .dd-footer,
  .dd-menu-item {
    font-size: 14px !important;
  }

  :is(th, small, .eyebrow, .tag, [class*="caption"], [class*="label"], [class*="meta"], [class*="note"], [class*="hint"], [class*="help"], [class*="badge"], [class*="status"], [class*="date"], [class*="count"]),
  :is([class*="time"], [class*="tag"], [class*="operator"], [class*="branch"]),
  .content :is(th, small, .eyebrow, .tag, [class*="caption"], [class*="label"], [class*="meta"], [class*="note"], [class*="hint"], [class*="help"], [class*="badge"], [class*="status"], [class*="date"], [class*="count"]),
  .content :is([class*="time"], [class*="tag"], [class*="operator"], [class*="branch"]),
  .d-sidebar :is(.brand-tag, .nav-label, .nav-badge, .workspace-role),
  .d-topbar :is(.kbd, .icon-btn .count, .dd-time, .dd-profile-email),
  .d-footer,
  .d-footer-meta,
  .content .table thead th {
    font-size: 14px !important;
  }

  label,
  .content .field-label,
  .content .pos-discount-label,
  .auth-shell label {
    font-size: 14px !important;
  }

  .auth-shell [class*="eyebrow"] {
    font-size: 14px !important;
  }

  .content [class*="name"] {
    font-size: 16px !important;
  }

  .content :not(h1):not(h2):not(h3)[class*="title"] {
    font-size: 16px !important;
  }

  .content .pos-operator {
    font-size: 14px !important;
  }

  .content .pos-cashier-name {
    font-size: 28px !important;
  }

  tbody td,
  .content .table tbody td,
  .content table tbody td {
    font-size: 14px !important;
  }

  .content .table thead th,
  .content table thead th {
    font-size: 14px !important;
  }

  .receipt {
    font-size: 16px !important;
  }

  .receipt-head h1 {
    font-size: 22px !important;
  }

  .receipt :is(th, .item-detail, .receipt-head p, .receipt-note) {
    font-size: 14px !important;
  }

  .receipt .receipt-totals .grand {
    font-size: 20px !important;
  }

  .receipt table,
  .receipt .receipt-totals,
  .receipt .receipt-meta,
  .receipt-actions :is(a, button) {
    font-size: 14px !important;
  }
}
