.lmmb-portal {
  margin-top: 8px;
}

.lmmb-dashboard-summary {
  margin: 16px 0 22px;
  padding: 0;
}

.lmmb-dashboard-summary__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
}

.lmmb-dashboard-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lmmb-dashboard-card {
  background: #fff;
  border: 1px solid #d7e1ea;
  border-radius: 10px;
  padding: 12px 13px;
}

.lmmb-dashboard-card__label {
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.lmmb-dashboard-card__value {
  margin-top: 4px;
  font-size: 27px;
  line-height: 1.1;
  font-weight: 700;
  color: #0f172a;
}

.lmmb-dashboard-card__meta {
  margin-top: 4px;
  font-size: 12px;
  color: #4b5563;
}

.lmmb-dashboard-card--action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lmmb-dashboard-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  color: #0f172a;
}

.lmmb-dashboard-card__description {
  flex: 1 1 auto;
  margin: 7px 0 14px;
  color: #4b5563;
}

.lmmb-dashboard-card__button {
  margin-top: auto;
}

.lmmb-table-wrap {
  overflow-x: hidden;
  max-width: 100%;
}

.lmmb-table {
  --lmmb-col-app: 16%;
  --lmmb-col-code: 26%;
  --lmmb-col-buy: 15%;
  --lmmb-col-runtime: 19%;
  --lmmb-col-status: 10%;
  --lmmb-col-actions: 14%;
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #d7e1ea;
}

.lmmb-resizable-table {
  table-layout: fixed !important;
}

.lmmb-table th,
.lmmb-table td {
  padding: 10px;
  border-right: 1px solid #e1e7ed;
  border-bottom: 1px solid #edf2f7;
  vertical-align: top;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lmmb-table th {
  position: relative;
  background: #f7fafc;
  border-right: 1px solid #e1e7ed;
  color: #58b83e;
  font-weight: 600;
}

.lmmb-table td:last-child,
.lmmb-table th:last-child {
  border-right: 0;
}

.lmmb-col-resizer {
  position: absolute;
  top: 0;
  right: -5px;
  width: 10px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  cursor: col-resize;
  z-index: 2;
}

.lmmb-col-resizer::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  width: 1px;
  height: calc(100% - 2px);
  background: #0c9cdb;
  opacity: 0;
  transform: translateX(-50%);
  border-radius: 0;
}

.lmmb-resizable-table thead th:hover > .lmmb-col-resizer::before,
.lmmb-col-resizer:hover::before,
.lmmb-col-resizer:focus-visible::before,
.lmmb-col-resizer.lmmb-is-resizing::before {
  opacity: 1;
}

.lmmb-col-resizer:focus {
  outline: none;
}

.lmmb-col-resizer:hover,
.lmmb-col-resizer:focus,
.lmmb-col-resizer:active {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

body.lmmb-resizing {
  cursor: col-resize;
  user-select: none;
}

.lmmb-table tbody tr:nth-child(odd) td {
  background: #fff;
}

.lmmb-table tbody tr:nth-child(even) td {
  background: #f5f7fa;
}

.lmmb-table th:nth-child(1),
.lmmb-table td:nth-child(1) {
  width: var(--lmmb-col-app);
}

.lmmb-table th:nth-child(2),
.lmmb-table td:nth-child(2) {
  width: var(--lmmb-col-code);
}

.lmmb-table th:nth-child(3),
.lmmb-table td:nth-child(3) {
  width: var(--lmmb-col-buy);
}

.lmmb-table th:nth-child(4),
.lmmb-table td:nth-child(4) {
  width: var(--lmmb-col-runtime);
}

.lmmb-table th:nth-child(5),
.lmmb-table td:nth-child(5) {
  width: var(--lmmb-col-status);
}

.lmmb-table th:nth-child(6),
.lmmb-table td:nth-child(6) {
  width: var(--lmmb-col-actions);
}

.lmmb-table code {
  white-space: normal;
}

.lmmb-cell-value {
  display: contents;
}

.lmmb-col-runtime {
  min-width: 0;
  width: auto;
}

.lmmb-col-actions {
  min-width: 0;
  width: auto;
  white-space: normal;
}

.lmmb-pill {
  --lmmb-status-color: #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--lmmb-status-color);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.lmmb-pill::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.lmmb-pill-active {
  --lmmb-status-color: #16803a;
}

.lmmb-pill-expired,
.lmmb-pill-blocked {
  --lmmb-status-color: #b42335;
}

.lmmb-pill-inactive {
  --lmmb-status-color: #6b7280;
}

.lmmb-muted {
  opacity: 0.7;
}

.lmmb-runtime-line + .lmmb-runtime-line {
  margin-top: 4px;
}

.lmmb-runtime-type {
  font-weight: 600;
}

.lmmb-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
  margin: 0 !important;
}

.lmmb-action-pill,
.lmmb-compact-action,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table td.woocommerce-orders-table__cell-order-actions .button,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table td[class*="order-actions"] .button,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table .button,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table td.download-file .lmmb-software-action {
  margin: 0 !important;
  width: auto;
  max-width: 100%;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  padding: 5px 9px !important;
  min-height: 0 !important;
  border-style: solid !important;
  border-width: 1px !important;
  border-color: var(--lmmb-action-border, #b8c0ca) !important;
  border-radius: 999px !important;
  background: var(--lmmb-action-bg, #f1f3f5) !important;
  color: var(--lmmb-action-color, #4b5563) !important;
  box-shadow: none !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.lmmb-compact-action {
  margin: 3px !important;
}

.lmmb-compact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
}

.lmmb-compact-actions > .lmmb-compact-action {
  margin: 0 !important;
}

.lmmb-action-pill:hover,
.lmmb-action-pill:focus,
.lmmb-compact-action:hover,
.lmmb-compact-action:focus,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table td.woocommerce-orders-table__cell-order-actions .button:hover,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table td.woocommerce-orders-table__cell-order-actions .button:focus,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table td[class*="order-actions"] .button:hover,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table td[class*="order-actions"] .button:focus,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table .button:hover,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table .button:focus {
  border-color: var(--lmmb-action-hover-border, #98a3af) !important;
  background: var(--lmmb-action-hover-bg, #e7eaee) !important;
  color: var(--lmmb-action-hover-color, #374151) !important;
}

.lmmb-action-pill--download,
.lmmb-action-pill--open,
.lmmb-compact-action--view,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table td[class*="order-actions"] .button.view,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table td.download-file .lmmb-software-action.lmmb-action-pill--download {
  --lmmb-action-border: #93c5fd;
  --lmmb-action-bg: #eff6ff;
  --lmmb-action-color: #1d4ed8;
  --lmmb-action-hover-border: #60a5fa;
  --lmmb-action-hover-bg: #dbeafe;
  --lmmb-action-hover-color: #1e40af;
}

.lmmb-action-pill--license {
  --lmmb-action-border: #f9a8d4;
  --lmmb-action-bg: #fdf2f8;
  --lmmb-action-color: #be185d;
  --lmmb-action-hover-border: #f472b6;
  --lmmb-action-hover-bg: #fce7f3;
  --lmmb-action-hover-color: #9d174d;
}

.lmmb-action-pill--renew,
.lmmb-compact-action--renew {
  --lmmb-action-border: #8bd3a3;
  --lmmb-action-bg: #ecfdf3;
  --lmmb-action-color: #166534;
  --lmmb-action-hover-border: #65bd82;
  --lmmb-action-hover-bg: #d9f8e5;
  --lmmb-action-hover-color: #14532d;
}

.lmmb-compact-action--cancellation,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content .button[class*="cancell"],
.woocommerce-account .woocommerce .woocommerce-MyAccount-content .button[class*="cancel"] {
  --lmmb-action-border: #f0a4ad;
  --lmmb-action-bg: #fff1f2;
  --lmmb-action-color: #b42335;
  --lmmb-action-hover-border: #e47987;
  --lmmb-action-hover-bg: #ffe4e6;
  --lmmb-action-hover-color: #9f1239;
}

.lmmb-compact-action--invoice,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content .button[class*="invoice"] {
  --lmmb-action-border: #c4b5fd;
  --lmmb-action-bg: #f5f3ff;
  --lmmb-action-color: #6d28d9;
  --lmmb-action-hover-border: #a78bfa;
  --lmmb-action-hover-bg: #ede9fe;
  --lmmb-action-hover-color: #5b21b6;
}

.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-order-details table.shop_table .lmmb-compact-action {
  margin: 3px !important;
}

.lmmb-actions > * {
  margin: 0 !important;
  width: auto;
  max-width: 100%;
}

.lmmb-actions > * + * {
  margin-top: 0 !important;
}

.lmmb-actions > form {
  display: block;
}

.lmmb-modal[hidden] {
  display: none !important;
}

.lmmb-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lmmb-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 26, 34, 0.52);
  backdrop-filter: blur(5px);
}

.lmmb-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.lmmb-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  min-width: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #0c9cdb !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  box-shadow: none !important;
  text-indent: -9999px;
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.lmmb-modal__close::before,
.lmmb-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: #fff;
  transform-origin: center;
}

.lmmb-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lmmb-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lmmb-modal__close:focus,
.lmmb-modal__close:active {
  background: #0c9cdb !important;
}

.lmmb-modal__close:hover {
  background: #58b83e !important;
}

.lmmb-modal__close:focus-visible {
  outline: 2px solid #0c9cdb;
  outline-offset: 2px;
}

.lmmb-modal__title {
  margin: 0 40px 6px 0;
  font-size: 20px;
}

.lmmb-modal__subtitle {
  margin: 0 0 16px;
  color: #4b5563;
}

.lmmb-renewal-options {
  display: grid;
  gap: 12px;
}

.lmmb-renewal-option-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dbe5ef;
  border-radius: 10px;
  margin: 0;
}

.lmmb-renewal-option-label {
  display: block;
  font-weight: 600;
}

body.lmmb-modal-open {
  overflow: hidden;
}

@media (max-width: 680px) {
  .lmmb-dashboard-summary__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lmmb-modal__dialog {
    padding: 16px;
  }

  .lmmb-renewal-option-form {
    grid-template-columns: 1fr;
  }

  .lmmb-renewal-option-form .button {
    width: 100%;
    text-align: center;
  }

  .lmmb-table th,
  .lmmb-table td {
    padding: 8px;
  }
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  border: 1px solid #d7e1ea !important;
  border-radius: 0 !important;
  background: #fff;
  box-shadow: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table td,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table th,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table td {
  padding: 10px;
  border-right: 1px solid #e1e7ed !important;
  border-bottom: 1px solid #dfe6ed !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table tr > :last-child,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tr > :last-child {
  border-right: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table thead th {
  position: relative;
  background: #f7fafc !important;
  border-right: 1px solid #e1e7ed !important;
  color: #58b83e;
  font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th:last-child,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table thead th:last-child {
  border-right: 0;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr:nth-child(odd) td,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody tr:nth-child(odd) td {
  background: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr:nth-child(odd) th,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody tr:nth-child(odd) th {
  background: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr:nth-child(even) td,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody tr:nth-child(even) td {
  background: #f5f7fa;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr:nth-child(even) th,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody tr:nth-child(even) th {
  background: #f5f7fa;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot tr:nth-child(odd) > *,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tfoot tr:nth-child(odd) > * {
  background: #f7f9fb !important;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot tr:nth-child(even) > *,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tfoot tr:nth-child(even) > * {
  background: #fff !important;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table tr:last-child > *,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tr:last-child > * {
  border-bottom: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table td.woocommerce-orders-table__cell-order-actions,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table td.woocommerce-orders-table__cell-order-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table td.woocommerce-orders-table__cell-order-actions .button,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table td.woocommerce-orders-table__cell-order-actions .button {
  margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details address,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-customer-details address {
  padding: 14px 16px !important;
  border: 1px solid #d7e1ea !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04) !important;
}

.woocommerce-account .woocommerce {
  --lmmb-account-gap: 24px;
  --lmmb-account-nav-width: clamp(180px, 18vw, 260px);
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: var(--lmmb-account-gap) !important;
  position: relative !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
  content: none !important;
  display: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation {
  position: relative !important;
  float: none !important;
  flex: 0 0 var(--lmmb-account-nav-width) !important;
  width: var(--lmmb-account-nav-width) !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul,
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a,
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li a {
  padding-left: 14px !important;
}

.lmmb-account-resizer {
  position: absolute;
  top: 0;
  right: calc((var(--lmmb-account-gap) / -2) - 5px);
  width: 10px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  cursor: col-resize;
  z-index: 3;
}

.lmmb-account-resizer::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  width: 1px;
  height: calc(100% - 2px);
  background: #0c9cdb;
  border-radius: 0;
  opacity: 0;
  transform: translateX(-50%);
}

.woocommerce-account .woocommerce-MyAccount-navigation:hover > .lmmb-account-resizer::before,
.lmmb-account-resizer:hover::before,
.lmmb-account-resizer:focus-visible::before,
.woocommerce-account .woocommerce.lmmb-account-resizing .lmmb-account-resizer::before {
  opacity: 1;
}

.lmmb-account-resizer:focus {
  outline: none;
}

.lmmb-account-resizer:hover,
.lmmb-account-resizer:focus,
.lmmb-account-resizer:active {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

body.lmmb-account-resizing {
  cursor: col-resize;
  user-select: none;
}

.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content {
  float: none !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  clear: none !important;
  margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-content .lmmb-portal > h2,
.woocommerce-account .woocommerce-MyAccount-content .lmmb-portal .lmmb-table-wrap {
  clear: none !important;
}

@media (max-width: 980px) {
  .lmmb-resizable-table {
    table-layout: auto !important;
  }

  .lmmb-col-resizer {
    display: none !important;
  }

  .lmmb-account-resizer {
    display: none !important;
  }

  .woocommerce-account .woocommerce {
    display: block !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content {
    float: none !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    clear: both !important;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation {
    position: relative !important;
    margin-bottom: 20px !important;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 2px !important;
    overflow: visible !important;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul li,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li {
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul li a,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li a {
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 9px 14px !important;
    border: 1px solid #d7e1ea !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #4b5563 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li.is-active a {
    border-color: #58bfa7 !important;
    background: #eefaf7 !important;
    color: #138da7 !important;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
  .woocommerce-account .woocommerce-MyAccount-navigation ul li a:focus,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li a:hover,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li a:focus {
    border-color: #7cc8ba !important;
    background: #f4fbfa !important;
    color: #0f7890 !important;
    outline: none !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content {
    overflow: visible !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content h2,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content h2 {
    margin-bottom: 18px !important;
    max-width: 100%;
    font-size: clamp(26px, 7vw, 38px) !important;
    line-height: 1.12 !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  .lmmb-table-wrap {
    overflow: visible;
  }

  .lmmb-table,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
    border: 0 !important;
    border-collapse: separate !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .lmmb-table colgroup,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table colgroup,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table colgroup {
    display: none !important;
  }

  .lmmb-table thead,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table thead,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
  }

  .lmmb-table tbody,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 12px !important;
    width: 100% !important;
  }

  .lmmb-table tbody tr,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody tr {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid #d7e1ea !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
  }

  .lmmb-table tbody th,
  .lmmb-table tbody td,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody th,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody th,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td {
    display: grid !important;
    grid-template-columns: minmax(112px, 34%) minmax(0, 1fr);
    gap: 12px !important;
    align-items: start !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid #e8eef3 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: inherit !important;
    text-align: left !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .lmmb-table tbody tr > :first-child,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr > :first-child,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody tr > :first-child {
    padding-top: 11px !important;
    padding-bottom: 11px !important;
    background: #f7fafc !important;
  }

  .lmmb-table tbody tr > :first-child:not(.lmmb-col-actions),
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr > :first-child:not([class*="actions"]),
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody tr > :first-child:not([class*="actions"]) {
    font-weight: 600 !important;
  }

  .lmmb-table tbody th > .lmmb-cell-value,
  .lmmb-table tbody td > .lmmb-cell-value,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody th > .lmmb-cell-value,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td > .lmmb-cell-value,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody th > .lmmb-cell-value,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td > .lmmb-cell-value {
    display: block;
    grid-column: 2;
    min-width: 0;
    max-width: 100%;
  }

  .lmmb-table tbody tr > :last-child,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr > :last-child,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody tr > :last-child {
    border-bottom: 0 !important;
  }

  .lmmb-table tbody th::before,
  .lmmb-table tbody td::before,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody th::before,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td::before,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody th::before,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td::before {
    content: attr(data-title) !important;
    display: block !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    color: #374151 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    white-space: normal !important;
  }

  .lmmb-table tbody td.lmmb-col-actions,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td.download-file,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td.download-file,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td[class*="actions"],
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td[class*="actions"] {
    display: grid !important;
    grid-template-columns: minmax(112px, 34%) minmax(0, 1fr);
  }

  .lmmb-table tbody td.lmmb-col-actions::before,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td.download-file::before,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td.download-file::before,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td[class*="actions"]::before,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td[class*="actions"]::before {
    margin-bottom: 0 !important;
  }

  .lmmb-table tbody td.lmmb-col-actions > *,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td.download-file > *,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td.download-file > *,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td[class*="actions"] > *,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td[class*="actions"] > * {
    grid-column: 2;
    min-width: 0;
  }

  .lmmb-actions,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td[class*="actions"],
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td[class*="actions"] {
    align-items: stretch !important;
  }

  .lmmb-actions {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 6px !important;
    margin: 0 !important;
  }

  .lmmb-table tbody td.lmmb-col-actions > .lmmb-cell-value,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td.download-file > .lmmb-cell-value,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td.download-file > .lmmb-cell-value,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td[class*="actions"] > .lmmb-cell-value,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td[class*="actions"] > .lmmb-cell-value {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 6px;
  }

  .lmmb-actions .lmmb-action-pill,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td.download-file .lmmb-software-action,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td.download-file .lmmb-software-action,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td[class*="actions"] .lmmb-compact-action,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td[class*="actions"] .lmmb-compact-action {
    min-height: 40px !important;
    padding: 8px 12px !important;
    white-space: normal !important;
  }

  .lmmb-table tfoot,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tfoot {
    display: block !important;
    width: 100% !important;
    margin-top: 14px !important;
    overflow: hidden !important;
    border: 1px solid #d7e1ea !important;
    border-radius: 12px !important;
    background: #fff !important;
  }

  .lmmb-table tfoot tr,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot tr,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tfoot tr {
    display: grid !important;
    grid-template-columns: minmax(120px, 42%) minmax(0, 1fr);
    width: 100% !important;
    border-bottom: 1px solid #e8eef3 !important;
  }

  .lmmb-table tfoot tr:last-child,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot tr:last-child,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tfoot tr:last-child {
    border-bottom: 0 !important;
  }

  .lmmb-table tfoot th,
  .lmmb-table tfoot td,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot th,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot td,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tfoot th,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tfoot td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 10px 12px !important;
    border: 0 !important;
    background: #fff !important;
    text-align: left !important;
    overflow-wrap: break-word !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content input,
  .woocommerce-account .woocommerce-MyAccount-content select,
  .woocommerce-account .woocommerce-MyAccount-content textarea,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content input,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content select,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content textarea {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-notices-wrapper,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-notices-wrapper,
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-message,
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-error,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-error {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .woocommerce-account .woocommerce-Addresses .u-column1,
  .woocommerce-account .woocommerce-Addresses .u-column2,
  .woocommerce-account .woocommerce .woocommerce-Addresses .u-column1,
  .woocommerce-account .woocommerce .woocommerce-Addresses .u-column2 {
    float: none !important;
    width: 100% !important;
    margin: 0 0 16px !important;
  }
}

@media (max-width: 520px) {
  .woocommerce-account .woocommerce-MyAccount-navigation ul li a,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li a {
    min-height: 42px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content h2,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content h2 {
    font-size: clamp(25px, 8vw, 32px) !important;
  }

  .lmmb-table tbody th,
  .lmmb-table tbody td,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody th,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody th,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td {
    grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
    gap: 9px !important;
  }

  .lmmb-table tbody td.lmmb-col-actions,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td.download-file,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td.download-file,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td[class*="actions"],
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td[class*="actions"] {
    grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
  }

  .lmmb-actions .lmmb-action-pill,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td.download-file .lmmb-software-action,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td.download-file .lmmb-software-action,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td[class*="actions"] .lmmb-compact-action,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody td[class*="actions"] .lmmb-compact-action {
    width: 100% !important;
    margin: 0 !important;
  }

  .lmmb-modal {
    padding: 10px;
  }

  .lmmb-modal__dialog {
    max-height: calc(100dvh - 20px);
    border-radius: 10px;
  }

  .woocommerce-account .woocommerce-MyAccount-content .form-row-first,
  .woocommerce-account .woocommerce-MyAccount-content .form-row-last,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content .form-row-first,
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content .form-row-last {
    float: none !important;
    width: 100% !important;
  }
}
