.lammah-plugin {
  direction: rtl;
}

.lammah-plugin code {
  background: rgba(129, 216, 208, 0.14);
  border-radius: 6px;
  color: #006a64;
  padding: 2px 6px;
}

.lammah-plugin .lammah-panel + .lammah-panel,
.lammah-plugin .lammah-table-wrap {
  margin-top: 18px;
}

.lammah-plugin [data-copied="true"] {
  background: #006a64;
  color: #ffffff;
}

.lammah-plugin .lammah-kicker {
  color: #006a64;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 6px;
}

.lammah-action-row,
.lammah-inline-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lammah-action-row a,
.lammah-action-row button,
.lammah-inline-actions a,
.lammah-inline-actions button,
.lammah-portal-tabs a,
.lammah-plugin .lammah-button {
  text-decoration: none;
}

.lammah-button-ghost,
.lammah-action-row .lammah-button-ghost {
  background: #ffffff;
  border: 1px solid rgba(0, 106, 100, 0.28);
  color: #006a64;
}

.lammah-customer-portal {
  display: grid;
  gap: 18px;
}

.lammah-portal-hero {
  align-items: center;
  background: #061d1b;
  border: 1px solid rgba(129, 216, 208, 0.28);
  border-radius: 18px;
  color: #ffffff;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr minmax(180px, 260px) auto;
  padding: clamp(20px, 4vw, 32px);
}

.lammah-portal-hero h2,
.lammah-portal-hero p {
  margin: 0;
}

.lammah-portal-hero h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
}

.lammah-portal-hero .lammah-kicker,
.lammah-portal-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.lammah-portal-current {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  display: grid;
  gap: 5px;
  padding: 14px;
}

.lammah-portal-current span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.lammah-portal-current strong {
  color: #ffffff;
  line-height: 1.35;
}

.lammah-portal-stats .lammah-stat {
  min-height: 112px;
}

.lammah-portal-shell {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(180px, 230px) 1fr;
}

.lammah-portal-tabs {
  background: #ffffff;
  border: 1px solid rgba(0, 106, 100, 0.12);
  border-radius: 16px;
  display: grid;
  gap: 6px;
  padding: 10px;
  position: sticky;
  top: 18px;
}

.lammah-portal-tabs a {
  border-radius: 10px;
  color: #293735;
  font-weight: 800;
  padding: 11px 12px;
}

.lammah-portal-tabs a:hover,
.lammah-portal-tabs a.is-active {
  background: rgba(129, 216, 208, 0.18);
  color: #006a64;
}

.lammah-portal-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.lammah-portal-section-head {
  background: #ffffff;
  border: 1px solid rgba(0, 106, 100, 0.12);
  border-radius: 16px;
  padding: 18px 20px;
}

.lammah-portal-section-head p,
.lammah-portal-section-head h3,
.lammah-portal-summary h4 {
  margin: 0;
}

.lammah-portal-section-head p {
  color: #006a64;
  font-size: 13px;
  font-weight: 800;
}

.lammah-portal-section-head h3 {
  color: #12211f;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}

.lammah-portal-summary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.lammah-portal-summary h4,
.lammah-panel h4,
.lammah-table-wrap h4 {
  color: #12211f;
  font-size: 21px;
  line-height: 1.35;
}

.lammah-portal-picker,
.lammah-portal-import {
  margin-bottom: 16px;
}

.lammah-portal-events tr.is-selected td {
  background: rgba(129, 216, 208, 0.12);
}

.lammah-empty-state {
  text-align: center;
}

.lammah-admin-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.lammah-admin-grid label {
  display: grid;
  font-weight: 600;
  gap: 8px;
}

.lammah-admin-grid input {
  border: 1px solid #bdc9c7;
  border-radius: 8px;
  min-height: 38px;
  padding: 7px 10px;
}

@media (max-width: 820px) {
  .lammah-portal-hero,
  .lammah-portal-shell {
    grid-template-columns: 1fr;
  }

  .lammah-portal-hero {
    align-items: stretch;
    border-radius: 16px;
  }

  .lammah-portal-tabs {
    display: flex;
    margin-inline: -2px;
    overflow-x: auto;
    position: static;
  }

  .lammah-portal-tabs a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .lammah-action-row,
  .lammah-inline-actions {
    align-items: stretch;
  }

  .lammah-action-row > *,
  .lammah-inline-actions > * {
    justify-content: center;
  }

  .lammah-portal-summary {
    align-items: stretch;
    display: grid;
  }

  .lammah-admin-grid {
    grid-template-columns: 1fr;
  }
}
