@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --bg: #efede0;
  --chrome-bg: #e5e1cf;
  --line: #aeb3a7;
  --green: #7f9672;
  --green-dark: #78906a;
  --card: #f4e8b2;
  --white: #f3f5f2;
  --shadow: #b4b4a7;
  --soft-shadow: 14px 14px 28px rgba(125, 150, 114, 0.22);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  overflow-y: auto;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  position: relative;
  background:
    linear-gradient(
      to bottom,
      var(--chrome-bg) 0 65px,
      var(--line) 65px 66px,
      var(--bg) 66px 100%
    );
  color: var(--green);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
}

body.mobile-nav-open {
  overflow: hidden;
}

body:not(.is-auth-ready) .site-header nav a[href="wallet.html"],
body.is-auth-ready:not(.is-logged-in) .site-header nav a[href="wallet.html"] {
  display: none !important;
}

body::before {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

.page {
  width: 1366px;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background: linear-gradient(to bottom, transparent 0 66px, var(--bg) 66px);
  overflow: visible;
  padding-bottom: 50px;
  z-index: 1;
}

.page::before {
  display: none;
}

.topline {
  display: none;
}

.bottomline {
  position: absolute;
  left: calc(50% - 50vw);
  bottom: 47px;
  width: 100vw;
  height: 1px;
  background: var(--line);
  display: none;
}

.brand {
  position: absolute;
  left: 186px;
  top: 10px;
  width: 198px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: visible;
}

.brand img {
  display: none;
}

.brand::before {
  content: "";
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 2px solid rgba(127, 150, 114, 0.75);
  border-radius: 50%;
  background: url("IGSTLOGO.jpg") center center / cover no-repeat;
  box-shadow: 0 2px 8px rgba(127, 150, 114, 0.18);
}

.brand::after {
  content: "IGSTPREM";
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

nav {
  position: absolute;
  top: 22px;
  right: 186px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  font-size: 18px;
  letter-spacing: 0.3px;
}

nav a {
  width: 126px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-weight: 500;
  border: 2px solid transparent;
  border-radius: 9px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 78px;
  z-index: 12;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(127, 150, 114, 0.7);
  border-radius: 12px;
  background: rgba(245, 237, 199, 0.96);
  box-shadow: 0 8px 22px rgba(127, 150, 114, 0.14);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mobile-menu-toggle:hover {
  transform: translateY(-1px);
  background: rgba(239, 231, 198, 0.98);
}

.mobile-menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
}

.active {
  background: var(--green);
  color: #f0eee4;
  border-color: var(--green);
}

.login-btn {
  width: auto;
  min-width: 84px;
  max-width: 176px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--green);
  padding: 0 14px;
  border-radius: 14px;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero,
.product-hero {
  text-align: center;
}

.hero {
  padding-top: 126px;
}

.hero h1,
.product-hero h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 500;
}

.tag {
  margin-top: 10px;
  font-size: 18px;
}

.pill {
  display: inline-block;
  margin-left: 2px;
  padding: 8px 9px;
  border-radius: 8px;
  background: var(--green);
  color: #f1efe2;
  font-weight: 500;
}

.grid {
  width: 1058px;
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 325px);
  gap: 34px 41px;
}

.card {
  width: 325px;
  height: 205px;
  position: relative;
  border: 2px solid var(--green);
  border-radius: 30px;
  background: var(--card);
  box-shadow: var(--soft-shadow);
}

.card .divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 56px;
  height: 1.5px;
  background: var(--green);
}

.logo-wrap {
  position: absolute;
  left: 26px;
  top: 50px;
  width: 66px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--green);
  border-radius: 16px;
  background: #ffffff;
}

.logo-wrap img {
  max-width: 58px;
  max-height: 46px;
}

.title {
  position: absolute;
  left: 104px;
  top: 58px;
  min-width: 136px;
  max-width: 150px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 2px solid var(--green);
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
}

.price {
  position: absolute;
  left: 16px;
  bottom: 20px;
  font-size: 18px;
  font-weight: 700;
}

.view,
.order-btn,
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--green);
  border-radius: 16px;
  background: #f0f2ef;
  color: var(--green);
  font-size: 18px;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.view {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 90px;
  height: 33px;
}

.content-box {
  width: 455px;
  margin: 150px auto 0;
  padding: 24px 28px;
  border: 2px solid var(--green);
  border-radius: 26px;
  background: #efe7c6;
  box-shadow: var(--soft-shadow);
}

.section-title {
  margin: 0 0 10px;
  font-size: 40px;
  text-align: center;
}

.sub {
  margin: 18px 0 8px;
  font-size: 26px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 145px;
  font-size: 32px;
}

.auth-tabs {
  align-items: center;
  gap: 12px;
}

.auth-tab {
  min-height: 56px;
  padding: 0 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(127, 150, 114, 0.58);
  font-size: inherit;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color 0.2s ease, background 0.2s ease;
}

.auth-tab.active {
  background: var(--green);
  color: #f3f5f2;
  font-weight: 600;
}

.field-group {
  display: block;
}

.field-label {
  margin: 18px 0 8px;
  font-size: 24px;
}

.field {
  height: 47px;
  border: 2px solid var(--green);
  border-radius: 10px;
  background: #f4f6f2;
  width: 100%;
  padding: 0 16px;
  color: var(--green);
  font: inherit;
  outline: none;
}

input.is-invalid,
.field.is-invalid {
  border-color: #b55355;
}

.btn {
  width: 126px;
  height: 34px;
  margin: 24px auto 8px;
}

.small {
  font-size: 15px;
  text-align: center;
}

.auth-helper-link {
  display: block;
  color: var(--green);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.auth-helper-link:hover {
  opacity: 0.76;
}

.auth-form {
  display: block;
}

.auth-form .btn {
  display: flex;
  margin: 2px auto 6px;
}

.auth-message {
  min-height: 18px;
  margin: 2px 0 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.auth-message.is-error {
  color: #b55355;
}

.contact-grid {
  width: 585px;
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

.contact-item {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--green);
  border-radius: 28px;
  background: #efe7c6;
  box-shadow: var(--soft-shadow);
  font-size: 34px;
  font-weight: 700;
}

.updates-box {
  width: 565px;
  height: 356px;
  margin: 25px auto;
  border: 2px solid var(--green);
  border-radius: 28px;
  background: #efe7c6;
  box-shadow: var(--soft-shadow);
}

.product-hero {
  padding-top: 128px;
}

.product-cards {
  width: 980px;
  margin: 50px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 80px;
}

.product-card {
  width: 360px;
  min-height: 312px;
  position: relative;
  padding: 26px 26px 18px;
  border: 2px solid var(--green);
  border-radius: 28px;
  background: #efe7c6;
  box-shadow: var(--soft-shadow);
}

.feature-icon {
  width: 77px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 2px solid var(--green);
  border-radius: 14px;
  background: #f4f6f2;
}

.feature-icon img {
  max-width: 64px;
  max-height: 50px;
}

.mini-pill {
  display: inline-block;
  margin-left: 12px;
  padding: 8px 12px;
  border: 2px solid var(--green);
  border-radius: 14px;
  background: #f0f2ef;
}

.features {
  margin: 18px 0 24px;
  white-space: pre-line;
  font-size: 23px;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.order-btn {
  width: 91px;
  height: 33px;
}

.dash-wrap {
  width: 1010px;
  margin: 120px auto 0;
  display: flex;
  gap: 22px;
}

.sidebar {
  width: 210px;
  min-height: 537px;
  padding: 30px 20px;
  border: 2px solid var(--green);
  border-radius: 20px;
  background: #efe7c6;
  box-shadow: var(--soft-shadow);
}

.side-link {
  display: block;
  margin: 10px 0 26px;
  font-size: 32px;
}

.mainpanel {
  flex: 1;
  min-height: 537px;
  padding: 42px 50px;
  border: 2px solid var(--green);
  border-radius: 20px;
  background: #efe7c6;
  box-shadow: var(--soft-shadow);
}

.stats {
  display: flex;
  gap: 20px;
}

.stat {
  padding: 12px 22px;
  border: 2px solid var(--green);
  border-radius: 14px;
  background: #f0f2ef;
  font-size: 22px;
}

.recent {
  margin-top: 30px;
  font-size: 26px;
}

/* strict global alignment against the Canva layout */
.page {
  padding-bottom: 0;
}

.topline {
  top: 65px;
}

.bottomline {
  bottom: 0;
}

.brand {
  left: 188px;
  top: 10px;
  width: 198px;
  height: 56px;
  overflow: visible;
}

.brand img {
  display: none;
}

.brand::before {
  mix-blend-mode: multiply;
}

nav {
  top: 17px;
  right: 186px;
}

.hero {
  padding-top: 102px;
}

.hero h1,
.product-hero h1 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
}

.tag {
  margin-top: 8px;
  font-size: 14px;
}

.pill {
  margin-left: 6px;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  vertical-align: middle;
}

.grid {
  width: 984px;
  margin: 44px auto 0;
  grid-template-columns: repeat(3, 288px);
  gap: 30px 60px;
}

.card {
  width: 288px;
  height: 182px;
  border-radius: 27px;
  box-shadow: var(--soft-shadow);
}

.card .divider {
  bottom: 53px;
}

.logo-wrap {
  left: 23px;
  top: 43px;
  width: 58px;
  height: 48px;
  border-radius: 14px;
}

.logo-wrap img {
  max-width: 50px;
  max-height: 39px;
}

.title {
  left: 92px;
  top: 49px;
  min-width: 126px;
  max-width: 142px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 15px;
  font-size: 18px;
}

.price {
  left: 14px;
  bottom: 16px;
  font-size: 16px;
}

.view,
.order-btn,
.btn {
  font-size: 17px;
}

.view {
  right: 12px;
  bottom: 12px;
  width: 78px;
  height: 28px;
}

.content-box {
  width: 455px;
  margin: 118px auto 0;
  padding: 26px 28px;
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
}

.section-title {
  font-size: 34px;
  line-height: 1;
  margin-bottom: 26px;
}

.sub {
  margin: 0 0 20px;
  font-size: 24px;
}

.field-label {
  margin: 0 0 12px;
  font-size: 24px;
}

.field {
  height: 47px;
  margin-bottom: 24px;
}

.btn {
  width: 126px;
  height: 33px;
  margin: 0 auto 24px;
}

.small {
  font-size: 14px;
}

.tabs {
  margin-top: 148px;
  gap: 14px;
  font-size: 34px;
  letter-spacing: 0.4px;
}

.account-btn {
  width: auto;
  min-width: 84px;
  max-width: 176px;
  height: 31px;
  border: 2px solid var(--green);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  padding: 0 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-btn.filled {
  background: var(--green);
  color: #f0eee4;
}

.page-title {
  margin: 120px 0 16px;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
}

.login-page,
.register-page {
  padding-top: 102px;
}

.login-page .tabs,
.register-page .tabs {
  margin-top: 0;
}

.manual-payment-page,
.automatic-payment-page,
.invite-page {
  padding-top: 108px;
}

.manual-payment-page .page-title,
.automatic-payment-page .page-title,
.invite-page .page-title {
  margin: 0 0 16px;
}

.payment-card,
.invite-card,
.contact-panel {
  border: 2px solid var(--green);
  border-radius: 28px;
  background: #fdeba9;
  box-shadow: var(--soft-shadow);
}

.payment-card {
  width: 455px;
  margin: 0 auto;
  overflow: hidden;
}

.payment-card-header,
.invite-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 28px 14px;
  border-bottom: 1.5px solid rgba(127, 150, 114, 0.65);
  font-size: 25px;
}

.invite-card {
  width: 455px;
  margin: 0 auto;
  overflow: hidden;
}

.invite-card-header {
  justify-content: center;
}

.payment-card-body,
.invite-card-body {
  padding: 18px 18px 0;
}

.method-label,
.scan-label,
.invite-label {
  font-size: 20px;
}

.method-label {
  margin-bottom: 12px;
}

.scan-label {
  margin: 8px 0 12px;
}

.method-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.method-chip {
  flex: 1;
  height: 29px;
  border: 2px solid var(--green);
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 245, 242, 0.8);
  color: var(--green);
  font-size: 15px;
  font-family: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

.method-chip:hover,
.method-chip:focus {
  color: var(--green);
}

.method-chip.active {
  background: var(--green);
  color: #f0eee4;
}

.method-chip.active:hover,
.method-chip.active:focus {
  color: #f0eee4;
}

.qr-block {
  width: 132px;
  height: 132px;
  margin: 0 auto 20px;
  position: relative;
}

.manual-qr-frame {
  min-height: 152px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-block span {
  position: absolute;
  display: block;
}

.qr-square {
  width: 46px;
  height: 46px;
  border: 10px solid var(--green);
  background: transparent;
}

.qr-square.a {
  left: 0;
  top: 0;
}

.qr-square.b {
  right: 0;
  top: 0;
}

.qr-square.c {
  left: 0;
  bottom: 0;
}

.qr-cluster {
  right: 6px;
  bottom: 6px;
  width: 34px;
  height: 34px;
  background:
    linear-gradient(var(--green), var(--green)) 0 0 / 10px 10px no-repeat,
    linear-gradient(var(--green), var(--green)) 24px 0 / 10px 10px no-repeat,
    linear-gradient(var(--green), var(--green)) 12px 12px / 10px 10px no-repeat,
    linear-gradient(var(--green), var(--green)) 0 24px / 10px 10px no-repeat,
    linear-gradient(var(--green), var(--green)) 24px 24px / 10px 10px no-repeat;
}

.qr-block[data-qr-method="maya"] .qr-square {
  width: 40px;
  height: 40px;
}

.qr-block[data-qr-method="maya"] .qr-square.b {
  top: 12px;
}

.qr-block[data-qr-method="maya"] .qr-cluster {
  right: 14px;
  bottom: 4px;
  transform: rotate(90deg);
}

.qr-block[data-qr-method="binance"] .qr-square {
  width: 34px;
  height: 34px;
  border-width: 8px;
}

.qr-block[data-qr-method="binance"] .qr-square.a {
  left: 8px;
  top: 8px;
}

.qr-block[data-qr-method="binance"] .qr-square.b {
  right: 8px;
  top: 8px;
}

.qr-block[data-qr-method="binance"] .qr-square.c {
  left: 8px;
  bottom: 8px;
}

.qr-block[data-qr-method="binance"] .qr-cluster {
  right: 14px;
  bottom: 14px;
}

.payment-qr-image {
  width: 132px;
  height: 132px;
  object-fit: contain;
  display: block;
}

.payment-actions {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-bottom: 20px;
}

.manual-payment-form {
  margin-top: 12px;
}

.manual-payment-form .wallet-field-group {
  margin-bottom: 14px;
}

.manual-upload-card {
  margin-top: 0;
  margin-bottom: 14px;
}

.payment-actions .btn,
.invite-card .btn,
.auto-confirm .btn {
  width: 168px;
  height: 28px;
  margin: 0;
  border-radius: 18px;
  text-transform: uppercase;
}

.payment-note {
  border-top: 1.5px solid rgba(127, 150, 114, 0.65);
  padding: 14px 18px 18px;
  text-align: center;
  font-size: 17px;
  line-height: 1.28;
}

.wallet-page {
  padding-top: 92px;
}

.wallet-shell {
  width: 1180px;
  margin: 0 auto;
}

.wallet-header-copy {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid rgba(127, 150, 114, 0.4);
}

.wallet-header-copy h1 {
  margin: 0 0 4px;
  font-size: 34px;
  font-weight: 700;
}

.wallet-header-copy p {
  margin: 0;
  font-size: 17px;
}

.wallet-dashboard {
  display: grid;
  grid-template-columns: 256px 1fr;
  gap: 16px;
  align-items: stretch;
}

.wallet-sidebar {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

.wallet-balance-card,
.wallet-qr-card,
.wallet-main-card,
.wallet-history-card {
  border: 2px solid var(--green);
  border-radius: 22px;
  background: #efe7c6;
  box-shadow: var(--soft-shadow);
}

.wallet-balance-card {
  padding: 20px;
  background: #e9bbbaaf;
}

.wallet-balance-label {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.wallet-balance-value {
  margin-top: 8px;
  font-size: 46px;
  font-weight: 700;
  line-height: 0.98;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.wallet-balance-value.is-long {
  font-size: 38px;
}

.wallet-balance-value.is-xlong {
  font-size: 30px;
}

.wallet-balance-pill {
  width: fit-content;
  margin-top: 16px;
  padding: 8px 16px;
  border: 2px solid var(--green);
  border-radius: 14px;
  background: rgba(243, 245, 242, 0.8);
  font-size: 15px;
  font-weight: 600;
}

.wallet-qr-card {
  padding: 18px 18px 16px;
  text-align: center;
  min-height: 100%;
}

.wallet-panel-title,
.wallet-history-head {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.wallet-qr-frame {
  width: 132px;
  height: 132px;
  margin: 16px auto 10px;
  border: 2px solid var(--green);
  border-radius: 12px;
  background: #f4f6f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-qr-frame .qr-block {
  margin: 0;
}

.manual-qr-frame .qr-block {
  margin: 0;
}

.wallet-qr-label {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.wallet-main-card {
  padding: 20px;
}

.wallet-methods {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.wallet-method {
  min-width: 118px;
  height: 34px;
  border: 2px solid var(--green);
  border-radius: 16px;
  background: rgba(243, 245, 242, 0.85);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.wallet-method.active {
  background: var(--green);
  color: #f0eee4;
}

.wallet-info-card {
  padding: 16px 18px;
  border: 2px solid rgba(127, 150, 114, 0.6);
  border-radius: 16px;
  background: rgba(243, 245, 242, 0.2);
}

.wallet-info-title {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
}

.wallet-info-card ol {
  margin: 0;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.55;
}

.wallet-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.wallet-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wallet-field-group span {
  font-size: 17px;
  font-weight: 700;
}

.wallet-input {
  height: 48px;
  padding: 0 16px;
  border: 2px solid var(--green);
  border-radius: 12px;
  background: #f4f6f2;
  color: var(--green);
  font: inherit;
}

.wallet-input::placeholder {
  color: rgba(127, 150, 114, 0.8);
}

.wallet-upload-card {
  margin-top: 16px;
  padding: 16px 18px;
  border: 2px dashed rgba(127, 150, 114, 0.7);
  border-radius: 16px;
  background: rgba(243, 245, 242, 0.22);
}

.wallet-upload-copy {
  margin-bottom: 12px;
}

.wallet-upload-title {
  font-size: 18px;
  font-weight: 700;
}

.wallet-upload-subtitle {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.35;
}

.wallet-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wallet-upload-label {
  min-width: 152px;
  height: 38px;
  padding: 0 18px;
  border: 2px solid var(--green);
  border-radius: 16px;
  background: rgba(243, 245, 242, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.wallet-upload-name {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.3;
}

.wallet-form-note {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.35;
}

.wallet-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.wallet-verify-btn {
  min-width: 186px;
  height: 44px;
  padding: 0 18px;
  border: 2px solid var(--green);
  border-radius: 16px;
  background: var(--green);
  color: #f0eee4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.wallet-history-card {
  margin-top: 16px;
  overflow: hidden;
}

.wallet-history-list {
  display: grid;
  gap: 0;
}

.wallet-history-row {
  padding: 16px 20px;
  border-top: 1.5px solid rgba(127, 150, 114, 0.3);
}

.wallet-history-row strong,
.wallet-history-row span,
.wallet-history-row small {
  display: block;
}

.wallet-history-row strong {
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.wallet-history-row span {
  margin-top: 4px;
  font-size: 14px;
}

.wallet-history-row small {
  margin-top: 4px;
  color: var(--dash-muted);
  font-size: 12px;
}

.wallet-status {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  background: rgba(198, 109, 33, 0.14);
  color: var(--dash-orange);
}

.wallet-history-row .wallet-status {
  display: inline-flex;
  margin-top: 0;
  font-size: 10px;
}

.wallet-status-approved {
  color: #4c8e52;
  background: rgba(76, 142, 82, 0.14);
}

.wallet-status-pending {
  color: var(--dash-orange);
  background: rgba(182, 123, 45, 0.14);
}

.wallet-status-rejected {
  color: #b14a4a;
  background: rgba(177, 74, 74, 0.14);
}

.wallet-history-head {
  padding: 16px 20px;
  border-bottom: 1.5px solid rgba(127, 150, 114, 0.4);
}

.wallet-history-empty {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.wallet-history-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  border: 2px solid rgba(127, 150, 114, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.wallet-history-title {
  font-size: 24px;
  font-weight: 700;
}

.wallet-history-copy {
  margin-top: 6px;
  font-size: 15px;
}

.wallet-page .bottomline {
  bottom: -22px;
}

/* Compact wallet layout: keeps top-up, QR, receipt upload, and history in one viewport. */
.wallet-page {
  padding-top: 78px;
  padding-bottom: 96px;
}

.wallet-shell {
  width: 980px;
  padding-bottom: 28px;
}

.wallet-header-copy {
  margin-bottom: 10px;
  padding-bottom: 8px;
}

.wallet-header-copy h1 {
  font-size: 28px;
}

.wallet-header-copy p {
  font-size: 14px;
}

.wallet-dashboard {
  grid-template-columns: 216px 1fr;
  gap: 12px;
  align-items: stretch;
}

.wallet-sidebar {
  grid-template-rows: auto 1fr;
  gap: 10px;
}

.wallet-balance-card {
  padding: 14px 16px;
}

.wallet-balance-label {
  font-size: 13px;
}

.wallet-balance-value {
  margin-top: 6px;
  font-size: 34px;
}

.wallet-balance-pill {
  margin-top: 12px;
  padding: 7px 14px;
  font-size: 13px;
}

.wallet-qr-card {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wallet-panel-title,
.wallet-history-head {
  font-size: 15px;
}

.wallet-qr-frame {
  width: 118px;
  height: 118px;
  margin: 10px auto 8px;
}

.wallet-qr-frame .qr-block {
  transform: scale(0.78);
}

.wallet-qr-label {
  font-size: 13px;
}

.wallet-main-card {
  padding: 14px;
}

.wallet-methods {
  gap: 10px;
  margin-bottom: 10px;
}

.wallet-method {
  min-width: 104px;
  height: 30px;
  font-size: 14px;
}

.wallet-info-card {
  padding: 10px 12px;
}

.wallet-info-title {
  margin-bottom: 6px;
  font-size: 16px;
}

.wallet-info-card ol {
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.35;
}

.wallet-info-card ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
  font-size: 12px;
  line-height: 1.22;
}

.wallet-form-grid {
  gap: 12px;
  margin-top: 10px;
}

.wallet-field-group {
  gap: 5px;
}

.wallet-field-group span {
  font-size: 13px;
}

.wallet-input {
  height: 36px;
  padding: 0 12px;
}

.wallet-upload-card {
  margin-top: 10px;
  padding: 10px 12px;
}

.wallet-upload-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 14px;
}

.wallet-upload-copy {
  margin-bottom: 8px;
}

.wallet-upload-copy {
  margin-bottom: 0;
}

.wallet-upload-title {
  font-size: 15px;
}

.wallet-upload-subtitle {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.25;
}

.wallet-upload-label {
  min-width: 136px;
  height: 30px;
  padding: 0 14px;
  font-size: 13px;
}

.wallet-upload-name {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.25;
}

.wallet-upload-name {
  grid-column: 1 / -1;
  margin-top: 5px;
}

.wallet-form-note {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.25;
}

.wallet-form-note {
  display: inline-block;
  max-width: 480px;
}

.wallet-actions {
  margin-top: 10px;
}

.wallet-actions {
  margin-top: -28px;
}

.wallet-verify-btn {
  min-width: 164px;
  height: 36px;
  padding: 0 14px;
  font-size: 15px;
}

.wallet-history-card {
  margin-top: 10px;
  margin-bottom: 22px;
}

.wallet-history-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: stretch;
}

.wallet-history-head {
  padding: 9px 14px;
}

.wallet-history-head {
  border-bottom: 0;
  border-right: 1.5px solid rgba(127, 150, 114, 0.4);
  display: flex;
  align-items: center;
}

.wallet-history-empty {
  min-height: 62px;
  padding: 8px 12px;
}

.wallet-history-empty {
  min-height: 48px;
  flex-direction: row;
  gap: 10px;
}

.wallet-history-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  font-size: 15px;
}

.wallet-history-icon {
  margin-bottom: 0;
}

.wallet-history-title {
  font-size: 15px;
}

.wallet-history-copy {
  margin-top: 2px;
  font-size: 11px;
}

.auto-copy {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px 10px;
  text-align: center;
  font-size: 22px;
}

.auto-confirm {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.invite-card-body .field {
  width: 248px;
  height: 36px;
  margin: 12px 0 96px 12px;
  border-radius: 16px;
}

.invite-card .btn {
  display: flex;
  margin: 0 auto 36px;
}

.contact-page .hero {
  padding-top: 94px;
}

.contact-panel {
  width: 582px;
  margin: 34px auto 0;
  padding: 42px 70px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 24px;
  border: 2px solid var(--green);
  border-radius: 26px;
  background: #efe7c6;
  box-shadow: var(--soft-shadow);
}

.contact-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--green);
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.contact-option:hover {
  transform: translateY(-3px);
  opacity: 0.94;
}

.contact-icon {
  width: 110px;
  height: 110px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 68px;
  height: 68px;
  fill: #f7f3e6;
}

.contact-label {
  font-size: 24px;
}

.live-chat-widget {
  position: fixed;
  right: 26px;
  bottom: 108px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.live-chat-toggle {
  position: relative;
  min-width: 132px;
  height: 48px;
  padding: 0 38px 0 16px;
  border: 2px solid var(--green);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--card);
  color: var(--green);
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(130, 150, 117, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.live-chat-badge {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 1.5px solid #f7f0df;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d88a89;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(216, 138, 137, 0.2);
}

.live-chat-badge[hidden] {
  display: none !important;
}

.live-chat-toggle:hover,
.live-chat-send:hover,
.live-chat-thread:hover,
.live-chat-close:hover {
  transform: translateY(-2px);
}

.live-chat-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.live-chat-panel {
  width: min(468px, calc(100vw - 28px));
  border: 2px solid var(--green);
  border-radius: 24px;
  background: #f4ecce;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.live-chat-head {
  padding: 16px 18px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(130, 150, 117, 0.35);
}

.live-chat-head strong {
  display: block;
  font-size: 24px;
  line-height: 1.05;
}

.live-chat-head small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(126, 149, 112, 0.92);
}

.live-chat-close {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(130, 150, 117, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.live-chat-body {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  min-height: 452px;
}

.live-chat-threads {
  padding: 14px 10px;
  display: grid;
  align-content: start;
  gap: 8px;
  border-right: 1px solid rgba(130, 150, 117, 0.28);
  background: rgba(255, 255, 255, 0.34);
}

.live-chat-threads[hidden] + .live-chat-main {
  grid-column: 1 / -1;
}

.live-chat-thread,
.live-chat-thread-empty {
  width: 100%;
  padding: 10px 10px 9px;
  border: 2px solid rgba(130, 150, 117, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green);
  text-align: left;
}

.live-chat-thread {
  cursor: pointer;
  font-family: inherit;
}

.live-chat-thread.is-active {
  border-color: var(--green);
  background: #ece6c8;
}

.live-chat-thread strong,
.live-chat-thread span,
.live-chat-thread small {
  display: block;
}

.live-chat-thread strong {
  font-size: 15px;
  line-height: 1.2;
}

.live-chat-thread span {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.live-chat-thread small,
.live-chat-thread-empty {
  font-size: 11px;
  line-height: 1.35;
}

.live-chat-main {
  padding: 16px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
  min-width: 0;
  align-content: start;
}

.live-chat-messages {
  min-height: 280px;
  max-height: 352px;
  padding: 4px 6px 4px 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.live-chat-empty {
  width: 100%;
  min-height: 240px;
  border: 2px dashed rgba(130, 150, 117, 0.35);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(126, 149, 112, 0.92);
  background: rgba(255, 255, 255, 0.42);
}

.live-chat-message {
  max-width: min(86%, 320px);
  padding: 13px 15px 11px;
  border: 2px solid rgba(130, 150, 117, 0.24);
  border-radius: 18px 18px 18px 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--green);
  box-shadow: 0 8px 18px rgba(130, 150, 117, 0.08);
}

.live-chat-message.is-self {
  margin-left: auto;
  border-radius: 18px 18px 8px 18px;
  background: #e6e7d6;
}

.live-chat-message strong,
.live-chat-message time {
  display: block;
}

.live-chat-message strong {
  font-size: 13px;
}

.live-chat-message p {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.live-chat-message time {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(126, 149, 112, 0.92);
}

.live-chat-form {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.live-chat-composer {
  position: relative;
  min-width: 0;
  padding: 10px;
  border: 2px solid rgba(130, 150, 117, 0.24);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.42);
}

.live-chat-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 74px;
  padding: 14px 112px 14px 14px;
  border: 2px solid rgba(130, 150, 117, 0.4);
  border-radius: 18px;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.8);
  color: var(--green);
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  overflow-y: auto;
  overflow-x: hidden;
  white-space: pre-wrap;
  word-break: break-word;
}

.live-chat-send {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(calc(-50% - 2px));
  min-width: 84px;
  height: 38px;
  padding: 0 14px;
  border: 2px solid var(--green);
  border-radius: 14px;
  background: var(--green);
  color: #f7f3e6;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.live-chat-status {
  min-height: 18px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(122, 151, 111, 0.92);
}

.live-chat-status.is-error {
  color: #b94c72;
}

.live-chat-status.is-success {
  color: #2b9d61;
}

.product-hero {
  padding-top: 78px;
}

.product-cards {
  width: 1170px;
  margin: 44px auto 0;
  justify-content: center;
  gap: 42px;
}

.product-card {
  width: 360px;
  min-height: 310px;
  padding: 28px 36px 74px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--soft-shadow);
}

.stock-pill {
  position: absolute;
  top: 16px;
  right: 18px;
  min-width: 78px;
  height: 24px;
  padding: 0 12px;
  border: 2px solid var(--green);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f6f2;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.stock-pill.available {
  background: #f4f6f2;
}

.stock-pill.preorder {
  background: rgba(255, 255, 255, 0.78);
}

.stock-pill.unavailable {
  opacity: 0.78;
}

.product-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.feature-icon {
  width: 78px;
  height: 64px;
  margin-bottom: 0;
  border-radius: 14px;
}

.feature-icon img {
  max-width: 62px;
  max-height: 50px;
}

.account-pill {
  height: 38px;
  min-width: 184px;
  padding: 0 16px;
  border: 2px solid var(--green);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.features-list {
  margin: 0;
  padding-left: 24px;
  font-size: 18px;
  line-height: 1.18;
}

.features-list li {
  margin-bottom: 4px;
}

.product-footer {
  position: absolute;
  left: 32px;
  right: 28px;
  bottom: 12px;
  margin-top: 0;
  padding-top: 14px;
  border-top: 1.5px solid rgba(127, 150, 114, 0.65);
}

.product-card .price {
  position: static;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.order-btn {
  width: 92px;
  min-width: 92px;
  height: 32px;
  text-transform: uppercase;
}

.order-btn.is-preorder {
  width: 124px;
}

.order-btn.is-disabled {
  width: 148px;
  opacity: 0.58;
  pointer-events: auto;
  cursor: not-allowed;
}

.product-status-message {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 50px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.product-status-message.is-error {
  color: #a76a36;
}

.login-page .content-box {
  margin-top: 18px;
  padding: 14px 40px 12px;
  border-radius: 28px;
  background: #efe7c6;
  box-shadow: var(--soft-shadow);
}

.register-page .content-box {
  margin-top: 14px;
  padding: 10px 40px 10px;
  border-radius: 28px;
  background: #efe7c6;
  box-shadow: var(--soft-shadow);
}

.login-page .field-label,
.register-page .field-label {
  font-size: 22px;
  margin: 0 0 6px;
}

.login-page .field,
.register-page .field {
  height: 42px;
  margin-bottom: 12px;
  border-radius: 16px;
}

.login-page .btn,
.register-page .btn {
  width: 126px;
  height: 34px;
  margin: 2px auto 6px;
  text-transform: uppercase;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: -2px 0 10px;
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
}

.auth-remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.register-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 10px;
}

.register-row .field-label {
  font-size: 18px;
}

.register-row .field {
  height: 42px;
  margin-bottom: 0;
}

.forgot-password-shell {
  width: min(560px, calc(100% - 48px));
  margin: 176px auto 0;
  text-align: center;
}

.forgot-password-title {
  margin: 0;
  font-size: 32px;
  letter-spacing: 0.5px;
}

.forgot-password-copy {
  width: min(390px, 100%);
  margin: 14px auto 0;
  color: rgba(127, 150, 114, 0.9);
  font-size: 17px;
  line-height: 1.5;
}

.forgot-password-page .content-box {
  width: min(520px, 100%);
  margin: 26px auto 0;
  padding: 24px 40px 22px;
  border-radius: 30px;
  background: #efe7c6;
  box-shadow: var(--soft-shadow);
}

.forgot-password-page .field-label {
  display: block;
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-align: left;
}

.forgot-password-page .field {
  height: 52px;
  margin-bottom: 18px;
  border-radius: 18px;
}

.forgot-password-btn {
  width: 248px;
  max-width: 100%;
  height: 42px;
  margin: 8px auto 10px;
  border-radius: 18px;
  justify-content: center;
  white-space: nowrap;
  font-size: 14px;
  letter-spacing: 0.4px;
}

.auth-back-link {
  margin-top: 12px;
  font-weight: 600;
}

.updates-page .hero {
  padding-top: 94px;
}

.updates-page .updates-list {
  width: 566px;
  margin: 28px auto 0;
}

.updates-page .updates-box {
  width: 566px;
  height: 356px;
  margin: 0 auto 54px;
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
}

.updates-status {
  position: absolute;
  top: 182px;
  right: 275px;
  font-size: 16px;
}

.dashboard-page .hero {
  padding-top: 82px;
}

.dashboard-page .hero h1 {
  font-size: 30px;
  font-weight: 500;
}

.dashboard-page .pill {
  text-transform: uppercase;
}

.dash-wrap {
  width: 1010px;
  margin: 28px auto 0;
  display: flex;
  gap: 22px;
}

.sidebar {
  width: 210px;
  min-height: 452px;
  padding: 32px 18px 0;
  border-radius: 26px;
}

.side-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  margin: 0 0 22px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 19px;
  font-weight: 700;
}

.side-link-badge {
  min-width: 20px;
  height: 20px;
  margin-left: auto;
  padding: 0 6px;
  border: 2px solid #fff5ea;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff2f4f;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(255, 47, 79, 0.18);
}

.side-link-badge[hidden] {
  display: none !important;
}

.side-link.current {
  width: 100%;
  background: var(--green);
  color: #f0eee4;
}

button.side-link {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.side-link,
.dashboard-tab,
.code-tab,
.settings-tab,
.dashboard-filter button,
.announcement-actions button {
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

nav a:hover,
nav a:focus-visible,
.view:hover,
.view:focus-visible,
.order-btn:hover,
.order-btn:focus-visible,
.btn:hover,
.btn:focus-visible,
.side-link:hover,
.side-link:focus-visible,
.dashboard-tab:hover,
.dashboard-tab:focus-visible,
.code-tab:hover,
.code-tab:focus-visible,
.settings-tab:hover,
.settings-tab:focus-visible,
.dashboard-filter button:hover,
.dashboard-filter button:focus-visible,
.announcement-actions button:hover,
.announcement-actions button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(127, 150, 114, 0.12);
}

nav a:hover,
nav a:focus-visible,
.view:hover,
.view:focus-visible,
.order-btn:hover,
.order-btn:focus-visible,
.btn:hover,
.btn:focus-visible,
.side-link:hover,
.side-link:focus-visible,
.dashboard-filter button:hover,
.dashboard-filter button:focus-visible,
.announcement-actions button:hover,
.announcement-actions button:focus-visible {
  background: rgba(127, 150, 114, 0.12);
}

.dashboard-tab:hover,
.dashboard-tab:focus-visible,
.code-tab:hover,
.code-tab:focus-visible,
.settings-tab:hover,
.settings-tab:focus-visible {
  border-color: rgba(127, 150, 114, 0.5);
}

.btn:disabled,
.order-btn:disabled,
.dashboard-filter button:disabled,
.announcement-actions button:disabled {
  transform: none;
  box-shadow: none;
}

button.side-link.current {
  width: 100%;
}

.sidebar-footer {
  margin: auto -18px 0;
  padding: 24px 18px 0;
  border-top: 1.5px solid rgba(127, 150, 114, 0.65);
}

.mainpanel {
  min-height: 452px;
  padding: 46px 50px;
  border-radius: 26px;
}

.stats {
  gap: 24px;
}

.stat {
  min-width: 230px;
  padding: 8px 22px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.recent {
  margin-top: 34px;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
}

.dashboard-page {
  --dash-bg: var(--bg);
  --dash-panel: #efe7c6;
  --dash-panel-soft: #fdeba9;
  --dash-line: rgba(127, 150, 114, 0.65);
  --dash-text: var(--green);
  --dash-muted: #6f8565;
  --dash-pink: #b55355;
  --dash-green: var(--green);
  --dash-orange: #c66d21;
  width: 1366px;
  min-height: 100vh;
  padding: 0;
  background: linear-gradient(to bottom, transparent 0 66px, var(--dash-bg) 66px);
  color: var(--dash-text);
  overflow: visible;
}

.dashboard-page .topline,
.dashboard-page .bottomline {
  background: var(--line);
}

.dashboard-page .bottomline {
  display: none;
}

.dashboard-page .brand img {
  mix-blend-mode: multiply;
}

.dashboard-page nav a {
  color: var(--green);
}

.dashboard-page nav a:hover,
.dashboard-page nav a:focus {
  color: var(--green);
}

.dashboard-page nav a.active {
  background: var(--green);
  border-color: var(--green);
  color: #f0eee4;
}

.dashboard-page .account-btn.filled {
  background: var(--green);
  border-color: var(--green);
  color: #f0eee4;
}

.notification-bell-link {
  position: relative;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid rgba(127, 150, 114, 0.62);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 245, 242, 0.7);
}

.notification-bell-link--quick {
  position: absolute;
  top: 14px;
  right: 64px;
  z-index: 15;
  display: none;
}

.notification-bell-link.is-current {
  background: rgba(127, 150, 114, 0.16);
  border-color: var(--green);
}

.notification-bell-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notification-bell-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.notification-bell-icon svg path {
  fill: var(--green);
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff5ea;
  border-radius: 999px;
  background: #ff2f4f;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(255, 47, 79, 0.22);
}

.notifications-shell {
  display: grid;
  gap: 18px;
}

.notifications-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1.5px solid rgba(127, 150, 114, 0.28);
}

.notifications-head .notification-card-icon {
  width: 58px;
  height: 58px;
}

.notifications-head strong {
  display: block;
  color: var(--green);
  font-size: 26px;
  font-weight: 800;
}

.notifications-head p {
  margin: 6px 0 0;
  color: var(--dash-muted);
  font-size: 13px;
  line-height: 1.45;
}

.notifications-list {
  display: grid;
  gap: 12px;
}

.notification-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid rgba(127, 150, 114, 0.32);
  border-radius: 18px;
  background: rgba(255, 249, 232, 0.92);
}

.notification-card--approved {
  border-color: rgba(177, 143, 53, 0.32);
}

.notification-card--resolved,
.notification-card--replaced {
  border-color: rgba(96, 148, 84, 0.28);
}

.notification-card--rejected {
  border-color: rgba(177, 87, 87, 0.28);
}

.notification-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f5f2;
  border: 2px solid rgba(127, 150, 114, 0.42);
}

.notification-card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.notification-card-icon svg path {
  fill: var(--green);
}

.notification-card-body {
  display: grid;
  gap: 8px;
}

.notification-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.notification-card-head strong {
  color: var(--green);
  font-size: 16px;
  line-height: 1.15;
}

.notification-card-status {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(127, 150, 114, 0.14);
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  text-transform: uppercase;
}

.notification-card--approved .notification-card-status {
  background: rgba(215, 176, 72, 0.16);
  color: #9a7520;
}

.notification-card--resolved .notification-card-status,
.notification-card--replaced .notification-card-status {
  background: rgba(132, 186, 119, 0.16);
  color: #4f7f45;
}

.notification-card--rejected .notification-card-status {
  background: rgba(210, 118, 118, 0.14);
  color: #a14f4f;
}

.notification-card p {
  margin: 0;
  color: var(--dash-muted);
  font-size: 13px;
  line-height: 1.5;
}

.notification-card small {
  color: var(--dash-muted);
  font-size: 11px;
}

.notification-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.notification-card-link {
  width: fit-content;
  min-width: 128px;
  min-height: 34px;
  padding: 0 14px;
  border: 2px solid var(--green);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(127, 150, 114, 0.08);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.notification-card-trash {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid rgba(127, 150, 114, 0.32);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(127, 150, 114, 0.06);
  color: var(--green);
  cursor: pointer;
}

.notification-card-trash svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.dashboard-page .dash-wrap {
  margin-top: 28px;
}

.dashboard-page .sidebar {
  min-height: auto;
  align-self: flex-start;
  height: fit-content;
}

.dashboard-page .sidebar-footer {
  margin: 6px -18px 0;
  padding-top: 18px;
}

.admin-page .dash-wrap {
  gap: 22px;
}

.dashboard-page .mainpanel {
  overflow: hidden;
}

.admin-page .sidebar {
  width: 208px;
  min-height: auto;
  padding-top: 26px;
  align-self: flex-start;
  height: fit-content;
}

.admin-page .sidebar-footer {
  margin: 6px -18px 0;
  padding-top: 18px;
}

.admin-page .sidebar-footer .side-link {
  margin-bottom: 0;
}

.admin-page .mainpanel {
  padding: 22px 24px 24px;
  min-height: 540px;
  background: #f1e8c8 !important;
  box-shadow: none;
}

.dashboard-shell {
  width: 100%;
  margin: 0 auto;
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-metric {
  min-height: 46px;
  padding: 8px 10px;
  border: 2px solid var(--green);
  border-radius: 11px;
  background: rgba(243, 245, 242, 0.55);
  color: var(--dash-text);
  box-shadow: none;
}

.dashboard-metric span {
  display: block;
  margin-bottom: 3px;
  color: var(--dash-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.dashboard-metric strong {
  display: block;
  font-size: 17px;
  line-height: 1;
}

.dashboard-metric-balance {
  background: #e9efdc;
}

.dashboard-metric-balance span,
.dashboard-metric-balance strong {
  color: var(--dash-green);
}

.dashboard-metric-alert strong {
  color: var(--dash-pink);
}

.dashboard-metric-refund strong {
  color: var(--dash-orange);
}

.dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 18px;
  border-bottom: 1.5px solid var(--dash-line);
}

.dashboard-tab {
  padding: 0 0 9px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--dash-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.dashboard-tab.active {
  border-color: var(--green);
  color: var(--green);
}

.dashboard-filter {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(152px, 0.56fr) minmax(152px, 0.56fr) 96px;
  column-gap: 22px;
  row-gap: 12px;
  align-items: end;
  margin-top: 16px;
  padding: 12px;
  border: 2px solid var(--green);
  border-radius: 14px;
  background: rgba(243, 245, 242, 0.45);
  box-shadow: none;
}

.dashboard-filter label {
  display: grid;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.dashboard-date-field--from {
  margin-right: 0;
}

.dashboard-date-field--to {
  margin-left: 0;
  margin-right: 0;
}

.dashboard-filter span {
  color: var(--dash-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-filter input {
  width: 100%;
  height: 32px;
  border: 2px solid var(--green);
  border-radius: 10px;
  background: #f3f5f2;
  color: var(--dash-text);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  outline: none;
  padding: 0 14px;
}

.dashboard-filter input[type="date"] {
  padding-right: 34px;
}

.dashboard-filter input::placeholder {
  color: var(--dash-muted);
}

.dashboard-filter input:focus {
  border-color: var(--green-dark);
}

.dashboard-filter button {
  width: 96px;
  height: 32px;
  margin-left: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: #f0eee4;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.dashboard-table {
  display: none;
  min-height: 160px;
  margin-top: 18px;
  border: 2px solid var(--green);
  border-radius: 14px;
  background: rgba(243, 245, 242, 0.35);
  box-shadow: none;
  overflow: hidden;
}

.dashboard-table.active {
  display: block;
  color: var(--dash-text);
}

.dashboard-table-head,
.dashboard-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.25fr 0.8fr 0.7fr;
  gap: 18px;
  align-items: center;
}

.dashboard-table-head {
  min-height: 38px;
  padding: 0 14px;
  border-bottom: 1.5px solid var(--dash-line);
  color: var(--dash-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-row {
  padding: 12px 14px;
  color: var(--dash-text);
}

.dashboard-row strong {
  font-size: 12px;
}

.dashboard-row small {
  display: block;
  margin-top: 3px;
  color: var(--dash-muted);
  font-size: 9px;
  letter-spacing: 0.2px;
}

.dashboard-transaction {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-service-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--green);
  border-radius: 9px;
  background: #f3f5f2;
}

.dashboard-service-icon img {
  max-width: 26px;
  max-height: 21px;
}

.dashboard-service-letter {
  color: var(--dash-pink);
  font-size: 18px;
  font-weight: 800;
}

.dashboard-payment strong {
  color: var(--dash-muted);
  font-size: 12px;
}

.dashboard-payment small::before {
  content: "UP";
  margin-right: 5px;
  font-size: 8px;
}

.dashboard-amount {
  white-space: nowrap;
}

.dashboard-status {
  justify-self: start;
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(198, 109, 33, 0.14);
  color: var(--dash-orange);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-status.waiting {
  background: rgba(127, 150, 114, 0.14);
  color: var(--dash-muted);
}

.dashboard-table-head-simple,
.dashboard-row-simple {
  grid-template-columns: 2fr 1fr 0.8fr 0.7fr;
}

.dashboard-empty {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 22px;
  text-align: center;
}

.dashboard-empty strong {
  color: var(--dash-text);
  font-size: 15px;
}

.dashboard-empty span {
  max-width: 430px;
  margin-top: 8px;
  color: var(--dash-muted);
  font-size: 12px;
}

.admin-shell {
  width: 100%;
  display: grid;
  align-content: start;
  background: transparent !important;
}

.admin-panel {
  display: none;
  background: transparent !important;
}

.admin-panel.active {
  display: grid;
  gap: 12px;
  align-content: start;
  background: transparent !important;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-card-head strong,
.admin-card-head span,
.admin-card-head small {
  display: block;
}

.admin-card-head strong {
  color: var(--green);
  font-size: 15px;
}

.admin-card-head span {
  margin-top: 3px;
  color: var(--dash-muted);
  font-size: 12px;
}

.admin-card-head small {
  margin-top: 4px;
  color: var(--dash-muted);
  font-size: 11px;
}

.admin-card-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) 132px auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 2px solid rgba(127, 150, 114, 0.55);
  border-radius: 14px;
  background: #fbf6e8 !important;
  box-shadow: none;
}

.admin-row--user {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr) auto;
  align-items: center;
}

.admin-row--report {
  grid-template-columns: minmax(180px, 0.95fr) minmax(170px, 0.8fr) 140px;
  grid-template-areas:
    "head meta proof"
    "actions actions proof"
    "replace replace replace";
  align-items: start;
}

.admin-row--report .admin-card-head {
  grid-area: head;
}

.admin-row--report .admin-card-meta {
  grid-area: meta;
}

.admin-card-meta {
  display: grid;
  gap: 4px;
  align-content: start;
}

.admin-card-meta strong {
  color: var(--green);
  font-size: 18px;
  line-height: 1.1;
}

.admin-card-meta span {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.admin-card-meta small {
  color: var(--dash-muted);
  font-size: 11px;
  line-height: 1.4;
}

.admin-receipt {
  display: flex;
  justify-content: center;
}

.admin-row--report .admin-receipt {
  grid-area: proof;
  justify-content: flex-start;
}

.admin-receipt-thumb {
  width: 132px;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 2px solid rgba(127, 150, 114, 0.45);
  border-radius: 12px;
  background: #f4f6f2;
  color: var(--green);
  text-decoration: none;
}

.admin-receipt-thumb img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.admin-receipt-thumb span {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.admin-receipt-thumb.is-empty {
  min-height: 118px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
}

.admin-card-proof {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.admin-card-proof small {
  color: var(--dash-muted);
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
}

.admin-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.admin-row--user .admin-actions button {
  min-width: 0;
  padding-inline: 12px;
  white-space: nowrap;
}

.admin-actions--user-ban {
  justify-content: flex-start;
}

.admin-actions--report {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  grid-area: actions;
  align-self: end;
  padding-top: 0;
}

.admin-actions button {
  min-width: 82px;
  height: 32px;
  border: 2px solid var(--green);
  border-radius: 12px;
  background: rgba(243, 245, 242, 0.85);
  color: var(--green);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.admin-actions button:first-child {
  background: var(--green);
  color: #f0eee4;
}

.admin-actions button.is-danger,
.admin-actions button.is-danger:first-child {
  background: rgba(226, 109, 94, 0.14);
  border-color: rgba(205, 103, 89, 0.38);
  color: #a45147;
}

.admin-report-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 12px;
  border: 2px solid rgba(127, 150, 114, 0.35);
  background: rgba(243, 245, 242, 0.82);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-report-status--approved,
.admin-report-status--fixed,
.admin-report-status--resolved {
  background: rgba(132, 186, 119, 0.16);
  border-color: rgba(96, 148, 84, 0.28);
  color: #4f7f45;
}

.admin-report-status--replaced {
  background: rgba(114, 156, 188, 0.16);
  border-color: rgba(96, 134, 170, 0.28);
  color: #4f7095;
}

.admin-report-status--rejected {
  background: rgba(210, 118, 118, 0.14);
  border-color: rgba(177, 87, 87, 0.24);
  color: #a14f4f;
}

.admin-report-status--pending {
  background: rgba(215, 176, 72, 0.14);
  border-color: rgba(177, 143, 53, 0.26);
  color: #9a7520;
}

.admin-report-replacement {
  display: grid;
  gap: 8px;
  width: 100%;
}

.admin-report-replacement small {
  color: rgba(122, 151, 111, 0.92);
  font-size: 11px;
  line-height: 1.35;
}

.admin-report-replacement-grid {
  grid-template-columns: repeat(4, minmax(118px, 1fr));
  gap: 12px 14px;
}

.admin-actions--report .admin-report-replacement {
  min-width: 0;
  align-self: start;
}

.admin-actions--report button {
  min-width: 112px;
  align-self: start;
  white-space: nowrap;
}

.admin-report-replacement--row {
  grid-area: replace;
  padding-top: 10px;
  border-top: 1px solid rgba(127, 150, 114, 0.28);
}

.admin-inventory-list,
.admin-payment-list,
.admin-list,
.admin-content-list {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

.admin-inventory-list {
  padding: 0;
}

.admin-stock-list {
  display: grid;
  gap: 10px;
}

.admin-inventory-row,
.admin-payment-row {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 2px solid rgba(127, 150, 114, 0.55);
  border-radius: 12px;
  background: #fbf6e8 !important;
  box-shadow: none;
}

.admin-payment-row[data-admin-mailbox-row] {
  gap: 14px;
  padding: 14px 16px;
}

.admin-stock-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) 120px minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "copy summary access status"
    "creds creds creds creds"
    "note note note note"
    "actions actions actions actions";
  gap: 12px 16px;
  align-items: start;
  padding: 12px 14px;
  border: 2px solid rgba(127, 150, 114, 0.55);
  border-radius: 12px;
  background: #fbf6e8 !important;
  box-shadow: none;
}

.admin-stock-copy {
  grid-area: copy;
}

.admin-stock-summary {
  grid-area: summary;
}

.admin-stock-field--access {
  grid-area: access;
}

.admin-stock-field--status {
  grid-area: status;
}

.admin-stock-copy strong,
.admin-stock-copy span,
.admin-stock-copy small {
  display: block;
}

.admin-stock-copy strong {
  color: var(--green);
  font-size: 15px;
}

.admin-stock-copy span {
  margin-top: 4px;
  color: var(--dash-muted);
  font-size: 12px;
}

.admin-stock-copy small {
  margin-top: 4px;
  color: var(--dash-muted);
  font-size: 11px;
}

.admin-stock-summary {
  display: grid;
  gap: 4px;
  min-height: 36px;
  padding: 8px 10px;
  border: 2px solid rgba(127, 150, 114, 0.45);
  border-radius: 12px;
  background: #f4f6f2;
}

.admin-stock-label {
  color: var(--dash-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-stock-summary strong {
  color: var(--green);
  font-size: 18px;
  line-height: 1;
}

.admin-stock-summary-note {
  color: var(--dash-muted);
  font-size: 10px;
  line-height: 1.35;
}

.admin-stock-summary--inline {
  align-content: center;
}

.admin-stock-credentials {
  grid-area: creds;
  margin-top: 2px;
}

.admin-stock-credentials-title {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-stock-entries {
  display: grid;
  gap: 10px;
}

.admin-stock-entry {
  display: grid;
  grid-template-columns: minmax(170px, 1.35fr) minmax(130px, 0.95fr) minmax(130px, 0.95fr) minmax(96px, 0.72fr) auto;
  gap: 10px 12px;
  align-items: end;
  padding: 10px;
  border: 2px solid rgba(127, 150, 114, 0.35);
  border-radius: 12px;
  background: #f4f6f2;
}

.admin-stock-entries[data-via-code="true"] .admin-stock-entry {
  grid-template-columns: minmax(180px, 1.45fr) minmax(130px, 1fr) minmax(96px, 0.75fr) auto;
}

.admin-stock-entries[data-via-code="true"] .admin-stock-column--password {
  display: none;
}

.admin-stock-entry .admin-inventory-field {
  min-width: 0;
}

.admin-stock-entry .admin-inventory-field input {
  width: 100%;
}

.admin-stock-remove {
  min-width: 74px;
  height: 36px;
  padding: 0 12px;
  border: 2px solid rgba(127, 150, 114, 0.55);
  border-radius: 12px;
  background: #fbf6e8;
  color: var(--green);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.admin-stock-remove:hover,
.admin-stock-remove:focus-visible {
  background: var(--green);
  color: #fbf6e8;
  transform: translateY(-1px);
}

.admin-stock-note {
  grid-area: note;
  margin: -2px 0 0;
  color: var(--dash-muted);
  font-size: 11px;
  line-height: 1.4;
}

.admin-stock-row .admin-card-actions {
  grid-area: actions;
  justify-content: flex-end;
  align-self: end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-stock-view-list {
  display: grid;
  gap: 12px;
}

.admin-stock-view-group {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border: 2px solid rgba(127, 150, 114, 0.55);
  border-radius: 14px;
  background: #fbf6e8;
}

.admin-stock-view-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-stock-view-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-stock-view-badge--available {
  background: rgba(132, 186, 119, 0.18);
  color: #4f7f45;
}

.admin-stock-view-badge--sold {
  background: rgba(215, 176, 72, 0.18);
  color: #9a7520;
}

.admin-stock-view-badge--expired {
  background: rgba(210, 118, 118, 0.18);
  color: #a14f4f;
}

.admin-stock-view-records {
  display: grid;
  gap: 8px;
}

.admin-stock-view-record {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto minmax(230px, 0.9fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 2px solid rgba(127, 150, 114, 0.35);
  border-radius: 12px;
  background: #f4f6f2;
}

.admin-stock-view-main,
.admin-stock-view-meta,
.admin-stock-view-side {
  display: grid;
  gap: 4px;
}

.admin-stock-view-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.admin-stock-view-reset,
.admin-stock-view-delete {
  min-width: 74px;
  height: 34px;
  padding: 0 14px;
  border-radius: 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.admin-stock-view-reset {
  border: 2px solid rgba(127, 150, 114, 0.34);
  background: rgba(243, 245, 242, 0.9);
  color: var(--green);
}

.admin-stock-view-delete {
  border: 2px solid rgba(177, 98, 98, 0.45);
  background: #fff4f1;
  color: #a14f4f;
}

.admin-stock-view-reset:hover,
.admin-stock-view-delete:hover {
  transform: translateY(-1px);
}

.admin-stock-view-reset:hover {
  background: #edf4ea;
}

.admin-stock-view-delete:hover {
  background: #fde8e4;
}

.admin-stock-view-main strong {
  color: var(--green);
  font-size: 14px;
}

.admin-stock-view-main span,
.admin-stock-view-meta small,
.admin-stock-view-side span {
  color: var(--dash-muted);
  font-size: 12px;
}

.admin-stock-view-side strong {
  color: var(--green);
}

.admin-toolbar {
  display: flex;
  justify-content: flex-start;
}

.admin-search {
  display: grid;
  gap: 6px;
  width: min(340px, 100%);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-search input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 2px solid rgba(127, 150, 114, 0.55);
  border-radius: 12px;
  background: #f4f6f2;
  color: var(--green);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.admin-search input::placeholder {
  color: var(--dash-muted);
}

.admin-form-grid {
  display: grid;
  gap: 10px 12px;
  align-items: end;
}

.admin-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-payment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-payment-grid--mailbox {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.admin-inventory-main strong,
.admin-inventory-main span,
.admin-inventory-main small {
  display: block;
}

.admin-inventory-main strong {
  color: var(--green);
  font-size: 15px;
}

.admin-inventory-main span {
  margin-top: 4px;
  color: var(--dash-muted);
  font-size: 12px;
}

.admin-inventory-main small {
  margin-top: 4px;
  color: var(--dash-muted);
  font-size: 11px;
}

.admin-inventory-field {
  display: grid;
  gap: 6px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-inventory-field select,
.admin-inventory-field input {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 2px solid var(--green);
  border-radius: 11px;
  background: #f4f6f2;
  color: var(--green);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
}

.admin-inventory-wide {
  grid-column: span 2;
}

.admin-payment-path {
  min-width: 0;
}

.admin-payment-path--wide {
  grid-column: 1 / -1;
}

.admin-mailbox-note {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: var(--dash-muted);
  font-size: 11px;
  line-height: 1.5;
}

.admin-content-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 12px;
  margin-bottom: 0;
  padding: 12px 14px;
  border: 2px solid rgba(127, 150, 114, 0.55);
  border-radius: 14px;
  background: #fbf6e8 !important;
  box-shadow: none;
}

.admin-content-wide {
  grid-column: span 2;
}

.admin-content-form textarea {
  min-height: 94px;
  padding: 10px 12px;
  border: 2px solid var(--green);
  border-radius: 12px;
  background: #f4f6f2;
  color: var(--green);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  resize: vertical;
}

.admin-content-submit {
  align-self: end;
  justify-self: start;
}

.admin-content-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 2px solid rgba(127, 150, 114, 0.55);
  border-radius: 12px;
  background: #fbf6e8 !important;
  box-shadow: none;
}

.admin-content-row--review {
  grid-template-columns: minmax(0, 1fr) 120px auto;
  align-items: start;
}

.admin-content-preview {
  display: grid;
  gap: 6px;
  width: 120px;
  padding: 8px;
  border: 2px solid rgba(127, 150, 114, 0.45);
  border-radius: 12px;
  background: #f4f6f2;
  color: var(--green);
  text-decoration: none;
}

.admin-content-preview img {
  width: 100%;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.admin-content-preview span {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.admin-content-row button {
  min-width: 86px;
  height: 32px;
  border: 2px solid var(--green);
  border-radius: 12px;
  background: rgba(243, 245, 242, 0.85);
  color: var(--green);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.admin-content-row [data-admin-post-delete] {
  background: rgba(226, 109, 94, 0.14);
  border-color: rgba(205, 103, 89, 0.38);
  color: #a45147;
}

.admin-inventory-save {
  min-width: 82px;
  height: 32px;
  border: 2px solid var(--green);
  border-radius: 12px;
  background: var(--green);
  color: #f0eee4;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.admin-page .settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 1.5px solid rgba(127, 150, 114, 0.4);
  background: transparent;
}

.admin-page .settings-head h2 {
  margin-bottom: 2px;
}

.admin-page .settings-head p {
  max-width: 330px;
  margin: 4px 0 0;
  text-align: right;
  font-size: 12px;
  line-height: 1.4;
  color: #708567;
}

.admin-page .dashboard-empty {
  min-height: 150px;
  border: 2px solid rgba(127, 150, 114, 0.45);
  border-radius: 14px;
  background: #fbf6e8 !important;
}

.admin-page .dashboard-empty strong {
  color: var(--green);
}

.admin-page .dashboard-empty span {
  color: var(--dash-muted);
}

.admin-inventory-save:disabled {
  opacity: 0.65;
  cursor: wait;
}

.code-panel {
  width: 100%;
}

.code-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.code-panel h2 {
  margin: 0;
  color: var(--green);
  font-size: 26px;
  line-height: 1;
}

.code-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px;
  border: 2px solid var(--green);
  border-radius: 16px;
  background: rgba(243, 245, 242, 0.35);
}

.code-tab {
  min-width: 112px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.code-tab.active {
  border-color: var(--green);
  background: rgba(127, 150, 114, 0.12);
}

.code-tab span {
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(127, 150, 114, 0.6);
  border-radius: 6px;
  color: var(--green);
}

.code-list {
  display: none;
  border: 2px solid var(--green);
  border-radius: 14px;
  background: rgba(243, 245, 242, 0.35);
  overflow: hidden;
}

.code-list.active {
  display: block;
}

.code-purchase {
  border-bottom: 1.5px solid rgba(127, 150, 114, 0.45);
}

.code-purchase:last-child {
  border-bottom: 0;
}

.code-purchase-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
}

.code-purchase-head,
.code-delivery {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.code-purchase-head {
  background: transparent;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
}

.code-product-icon,
.code-delivery-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--green);
  border-radius: 9px;
  background: #f3f5f2;
  color: var(--green);
  font-weight: 800;
}

.code-product-icon img {
  max-width: 27px;
  max-height: 22px;
}

.code-purchase-title {
  flex: none;
  min-width: 0;
}

.code-purchase-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.code-purchase-title strong {
  color: var(--green);
  font-size: 14px;
  line-height: 1.15;
}

.code-purchase-title span {
  display: block;
  margin-top: 0;
  color: var(--dash-muted);
  font-size: 11px;
}

.code-purchase-title > span {
  margin-top: -2px;
  line-height: 1.1;
}

.code-purchase-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  white-space: nowrap;
  justify-self: end;
  padding-top: 7px;
}

.code-purchase-status em {
  color: var(--green);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.code-chevron {
  color: var(--green);
  font-size: 18px;
  transition: transform 160ms ease;
}

.code-purchase-trash {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 2px solid rgba(127, 150, 114, 0.32);
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(127, 150, 114, 0.08);
  color: var(--green);
  cursor: pointer;
  flex: 0 0 auto;
}

.code-purchase-trash svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

.code-detail-panel {
  display: none;
}

.code-purchase.open .code-detail-panel {
  display: block;
}

.code-purchase.open .code-chevron {
  transform: rotate(90deg);
}

.code-access-card {
  max-width: 560px;
  margin: 0 auto 12px;
  padding: 14px;
  border: 1.5px solid rgba(127, 150, 114, 0.45);
  border-radius: 16px;
  background: rgba(255, 248, 226, 0.96);
  box-shadow: 0 10px 28px rgba(127, 150, 114, 0.12);
}

.code-access-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.code-access-header > strong {
  color: var(--green);
  font-size: 16px;
  font-weight: 800;
}

.code-access-status-block {
  text-align: right;
}

.code-access-status-block span {
  display: block;
  color: rgba(127, 150, 114, 0.78);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code-access-status-block b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  margin-top: 6px;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(76, 226, 141, 0.16);
  color: #2b9d61;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code-access-fields {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.code-access-field {
  padding: 10px 12px;
  border: 1.5px solid rgba(127, 150, 114, 0.35);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.68);
}

.code-access-field--accent {
  border-color: rgba(214, 99, 137, 0.4);
  background: rgba(255, 244, 247, 0.84);
}

.code-access-field-label {
  display: block;
  color: rgba(127, 150, 114, 0.82);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code-access-field-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
}

.code-access-field-row--action-first {
  justify-content: flex-start;
}

.code-access-field-value {
  flex: 1;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
}

.code-access-field-value.is-empty {
  opacity: 0.55;
}

.code-access-field-value[data-field-kind="profile"] {
  color: #c44d77;
}

.code-access-action,
.code-mail-button,
.code-mail-fetch,
.code-access-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.code-access-action:hover,
.code-mail-button:hover,
.code-mail-fetch:hover,
.code-access-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.code-access-action:disabled,
.code-mail-button:disabled,
.code-mail-fetch:disabled,
.code-access-button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.code-access-action {
  padding: 6px 10px;
  background: rgba(127, 150, 114, 0.14);
  color: var(--green);
  font-size: 11px;
  text-decoration: none;
}

.code-access-meta {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(127, 150, 114, 0.28);
}

.code-access-meta p {
  margin: 0;
  color: var(--green);
  font-size: 13px;
}

.code-access-meta p + p {
  margin-top: 5px;
}

.code-access-rules {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1.5px solid rgba(127, 150, 114, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.code-access-rules > strong {
  display: block;
  color: #a87a24;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.code-access-rules ul {
  list-style: disc;
  padding-left: 20px;
}

.code-access-rules li {
  margin-top: 7px;
  color: var(--green);
  font-size: 13px;
  line-height: 1.45;
}

.code-mail-card {
  margin-top: 12px;
  padding: 12px;
  border: 1.5px solid rgba(127, 150, 114, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
}

.code-mail-header,
.code-mail-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.code-mail-header strong,
.code-mail-selected strong {
  display: block;
  color: var(--green);
}

.code-mail-header span,
.code-mail-selected span {
  display: block;
  color: rgba(127, 150, 114, 0.78);
  font-size: 11px;
}

.code-mail-selected {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(127, 150, 114, 0.24);
}

.code-mail-selected strong {
  color: #c44d77;
  font-size: 13px;
  word-break: break-word;
}

.code-mail-button,
.code-mail-fetch {
  min-width: 78px;
  padding: 8px 12px;
  background: rgba(127, 150, 114, 0.16);
  color: var(--green);
  font-size: 12px;
}

.code-mail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.code-mail-meta {
  min-height: 64px;
  padding: 10px;
  border: 1.5px solid rgba(127, 150, 114, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
}

.code-mail-meta span {
  display: block;
  color: rgba(127, 150, 114, 0.78);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code-mail-meta strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}

.code-mail-body {
  margin-top: 10px;
  padding: 12px;
  border: 1.5px solid rgba(127, 150, 114, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green);
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.code-mail-html {
  margin-top: 10px;
  border: 1.5px solid rgba(127, 150, 114, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-height: min(78vh, 980px);
}

.code-mail-html-render {
  width: 100%;
  min-height: 220px;
  background: #ffffff;
  display: block;
}

.code-access-note {
  margin: 12px 0 0;
  color: #a87a24;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.code-access-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.code-access-button {
  padding: 10px 12px;
  background: rgba(127, 150, 114, 0.14);
  color: var(--green);
  font-size: 12px;
}

.code-access-button--secondary {
  background: rgba(255, 255, 255, 0.68);
  color: var(--green);
}

body.modal-open {
  overflow: hidden;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.review-modal[hidden] {
  display: none;
}

.review-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(241, 235, 210, 0.92);
  backdrop-filter: blur(2px);
}

.review-modal-dialog {
  position: relative;
  width: min(100%, 470px);
  padding: 18px 18px 16px;
  border: 2px solid var(--green);
  border-radius: 22px;
  background: #f8e7a0;
  box-shadow: 0 24px 60px rgba(127, 150, 114, 0.28);
}

.review-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(127, 150, 114, 0.4);
  border-radius: 50%;
  background: #fbf6e8;
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.review-modal-head {
  padding-right: 44px;
}

.review-modal-head strong {
  display: block;
  color: var(--green);
  font-size: 18px;
  font-weight: 800;
}

.review-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.review-field {
  display: grid;
  gap: 6px;
}

.review-field span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.review-field input,
.review-field textarea {
  width: 100%;
  border: 2px solid rgba(127, 150, 114, 0.55);
  border-radius: 14px;
  background: #fbf6e8;
  color: var(--green);
  font: inherit;
  padding: 12px 14px;
  outline: none;
}

.review-field input[readonly] {
  background: #fbf6e8;
}

.review-field textarea {
  min-height: 112px;
  resize: vertical;
}

.review-upload {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 2px solid rgba(127, 150, 114, 0.55);
  border-radius: 14px;
  background: #fbf6e8;
}

.review-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.review-upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
}

.review-upload-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 34px;
  padding: 0 14px;
  border: 2px solid rgba(127, 150, 114, 0.65);
  border-radius: 12px;
  background: #fbf6e8;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.review-upload-trigger:hover,
.review-upload-trigger:focus-visible {
  background: var(--green);
  color: #fbf6e8;
  transform: translateY(-1px);
}

.review-upload small,
.review-help {
  color: var(--dash-muted);
  font-size: 11px;
  line-height: 1.45;
}

.review-upload small {
  flex: 1 1 auto;
  min-width: 0;
}

.review-submit {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--green);
  color: #fbf6e8;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.review-submit:hover,
.review-submit:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.code-badge {
  display: inline-flex;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(127, 150, 114, 0.14);
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.code-badge--delivered,
.code-badge--good {
  background: rgba(76, 226, 141, 0.14);
  color: #2b9d61;
}

.code-badge--pending,
.code-badge--waiting,
.code-badge--approved {
  background: rgba(214, 150, 49, 0.14);
  color: #ae7a17;
}

.code-badge--rejected {
  background: rgba(196, 77, 119, 0.14);
  color: #b94c72;
}

.code-badge--fixed,
.code-badge--replaced {
  background: rgba(76, 226, 141, 0.14);
  color: #2b9d61;
}

.code-badge--pre-order,
.code-badge--preorder {
  background: rgba(86, 121, 188, 0.14);
  color: #5470aa;
}

.code-empty {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 18px;
  text-align: center;
}

.code-empty strong {
  color: var(--green);
  font-size: 16px;
}

.code-empty span {
  max-width: 420px;
  margin-top: 8px;
  color: var(--dash-muted);
  font-size: 12px;
}

.settings-panel {
  width: 100%;
}

.settings-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid rgba(127, 150, 114, 0.45);
}

.settings-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.settings-head h2 {
  margin: 0;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.settings-head p {
  max-width: 320px;
  margin: 0;
  color: var(--dash-muted);
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
}

.settings-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
}

.settings-tabs {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 12px;
  border: 2px solid var(--green);
  border-radius: 18px;
  background: rgba(243, 245, 242, 0.35);
}

.settings-tab {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  padding: 0 12px;
}

.settings-tab span {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(127, 150, 114, 0.14);
  font-size: 11px;
}

.settings-tab.active {
  border-color: var(--green);
  background: rgba(127, 150, 114, 0.12);
}

.settings-card {
  display: none;
  min-height: 292px;
  padding: 20px;
  border: 2px solid var(--green);
  border-radius: 18px;
  background: rgba(243, 245, 242, 0.35);
}

.settings-card.active {
  display: block;
  color: var(--green);
}

.settings-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.settings-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--green);
  border-radius: 12px;
  background: rgba(253, 235, 169, 0.5);
  font-size: 13px;
  font-weight: 900;
}

.settings-card-title h3 {
  margin: 0;
  color: var(--green);
  font-size: 22px;
}

.settings-card-title p {
  margin: 2px 0 0;
  color: var(--dash-muted);
  font-size: 13px;
}

.settings-form {
  display: grid;
  gap: 14px;
}

.settings-form label {
  display: grid;
  gap: 6px;
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.settings-form input,
.settings-2fa input {
  width: 100%;
  height: 38px;
  border: 2px solid var(--green);
  border-radius: 12px;
  background: #f3f5f2;
  color: var(--green);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  padding: 0 14px;
}

.settings-form input::placeholder,
.settings-2fa input::placeholder {
  color: rgba(127, 150, 114, 0.68);
}

.settings-form button,
.settings-2fa button {
  height: 38px;
  border: 0;
  border-radius: 14px;
  background: var(--green);
  color: #f0eee4;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.settings-security-grid {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 22px;
}

.settings-2fa {
  padding-left: 22px;
  border-left: 1.5px solid rgba(127, 150, 114, 0.45);
  text-align: center;
}

.settings-qr {
  width: 116px;
  height: 116px;
  position: relative;
  margin: 0 auto 12px;
}

.settings-qr .qr-square {
  border-width: 9px;
}

.settings-2fa p {
  margin: 0 auto 10px;
  color: var(--dash-muted);
  font-size: 12px;
  line-height: 1.35;
}

.settings-2fa code {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 12px;
  border: 1.5px solid rgba(127, 150, 114, 0.55);
  border-radius: 9px;
  background: rgba(243, 245, 242, 0.45);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.settings-2fa input {
  margin-bottom: 12px;
  text-align: center;
}

.announcements-page .mainpanel {
  overflow: visible;
}

.announcements-page .dash-wrap {
  margin-top: 28px;
  align-items: flex-start;
}

.announcements-page {
  padding-bottom: 0;
}

.announcements-page .bottomline {
  display: none;
}

.announcements-page .sidebar,
.announcements-page .mainpanel {
  min-height: 452px;
  background: #efe7c6;
}

.announcements-page .sidebar {
  flex: 0 0 210px;
}

.announcements-page .sidebar-footer {
  margin-top: auto;
}

.announcement-side-title {
  margin: 0 0 18px;
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.announcements-sidebar .side-link {
  min-height: 46px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.25;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
}

.announcements-sidebar .side-link.current,
.announcements-sidebar .side-link.current:hover,
.announcements-sidebar .side-link.current:focus-visible,
.announcements-sidebar .side-link.current:active {
  background: var(--green);
  color: #f0eee4;
  border-color: var(--green);
  box-shadow: none;
  transform: none;
}

.announcements-panel {
  width: 100%;
  display: grid;
  gap: 18px;
}

.announcements-toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}

.announcements-heading {
  display: grid;
  gap: 5px;
}

.announcements-toolbar h2 {
  margin: 0;
  color: var(--green);
  font-size: 29px;
  line-height: 1;
}

.announcements-toolbar p {
  margin: 0;
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 800;
}

.announcement-filter {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px 138px 90px;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 2px solid var(--green);
  border-radius: 14px;
  background: rgba(243, 245, 242, 0.45);
}

.announcement-filter label {
  display: grid;
  gap: 8px;
}

.announcement-filter span {
  color: var(--dash-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.announcement-filter input {
  min-width: 0;
  width: 100%;
  height: 32px;
  border: 2px solid var(--green);
  border-radius: 11px;
  background: #f3f5f2;
  color: var(--green);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  outline: none;
  padding: 0 12px;
}

.announcement-filter input::placeholder {
  color: rgba(127, 150, 114, 0.78);
}

.announcement-filter button {
  height: 32px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: #f0eee4;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.announcement-list {
  display: grid;
  gap: 16px;
}

.announcement-card {
  padding: 18px;
  border: 2px solid var(--green);
  border-radius: 18px;
  background: rgba(243, 245, 242, 0.22);
}

.announcement-card[hidden] {
  display: none;
}

.faq-card {
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(243, 245, 242, 0.28);
}

.faq-card h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 18px;
  line-height: 1.35;
}

.faq-card p {
  margin: 0;
  color: var(--dash-muted);
  font-size: 14px;
  line-height: 1.7;
}

.review-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(243, 245, 242, 0.28);
}

.review-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-card-author {
  display: grid;
  gap: 3px;
}

.review-card-author strong {
  font-size: 15px;
}

.review-card-author span {
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 700;
}

.review-verified {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(127, 150, 114, 0.15);
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-media {
  margin-top: 18px;
  border: 2px solid rgba(127, 150, 114, 0.4);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(243, 245, 242, 0.78);
}

.review-media img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  display: block;
}

.announcement-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.announcement-avatar {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: rgba(253, 235, 169, 0.7);
  font-size: 18px;
  font-weight: 900;
}

.announcement-author strong {
  display: block;
  font-size: 16px;
}

.announcement-author span {
  display: block;
  margin-top: 2px;
  color: var(--dash-muted);
  font-size: 11px;
}

.announcement-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.announcement-actions button,
.announcement-actions span {
  min-width: 58px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--green);
  border-radius: 8px;
  background: rgba(243, 245, 242, 0.4);
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.announcement-actions button {
  cursor: pointer;
}

.announcement-card h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 22px;
}

.announcement-card h4 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 16px;
}

.announcement-card p {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 14px;
  line-height: 1.55;
}

.announcement-card p:last-child {
  margin-bottom: 0;
}

.announcement-art {
  min-height: 154px;
  display: grid;
  align-content: end;
  gap: 12px;
  margin-top: 16px;
  padding: 20px;
  border: 2px solid var(--green);
  border-radius: 16px;
  background:
    radial-gradient(circle at 14% 28%, rgba(127, 150, 114, 0.4), transparent 22%),
    radial-gradient(circle at 84% 20%, rgba(233, 187, 186, 0.55), transparent 24%),
    linear-gradient(135deg, rgba(253, 235, 169, 0.7), rgba(243, 245, 242, 0.7));
}

.announcement-art span {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--green);
  color: #f0eee4;
  font-size: 12px;
  font-weight: 900;
}

.announcement-art strong {
  max-width: 520px;
  color: var(--green);
  font-size: 20px;
  line-height: 1.25;
}

.announcement-empty {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 30px 18px;
  border: 2px dashed rgba(127, 150, 114, 0.6);
  border-radius: 16px;
  color: var(--green);
  text-align: center;
}

.announcement-empty strong,
.announcement-empty span {
  display: block;
}

.announcement-empty strong {
  font-size: 15px;
  font-weight: 800;
}

.announcement-empty span {
  color: var(--dash-muted);
  line-height: 1.5;
}

.announcement-empty[hidden] {
  display: none;
}

.announcement-pager {
  display: grid;
  grid-template-columns: 132px 1fr 132px;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}

.announcement-pager button {
  height: 44px;
  border: 2px solid var(--green);
  border-radius: 14px;
  background: rgba(243, 245, 242, 0.45);
  color: var(--green);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.announcement-pager button:disabled {
  opacity: 0.45;
  cursor: default;
}

.announcement-pager span {
  text-align: center;
  color: var(--green);
  font-size: 16px;
  font-weight: 800;
}

.announcement-pager[hidden] {
  display: none;
}

.site-footer {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: auto 0 0;
  padding: 26px max(36px, calc((100% - 980px) / 2)) 18px;
  color: var(--green);
  display: block;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100vw;
  right: -100vw;
  border-top: 1.5px solid rgba(127, 150, 114, 0.45);
  background: var(--chrome-bg);
  z-index: 0;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer-simple {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto auto;
  gap: 18px 30px;
  align-items: center;
}

.site-footer-brand strong {
  display: block;
  font-size: 17px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.site-footer-brand span {
  display: block;
  margin-top: 4px;
  color: var(--dash-muted);
  font-size: 11px;
}

.site-footer-copy {
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.site-footer-connect p {
  margin: 8px 0 0;
  color: var(--dash-muted);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer-connect {
  display: grid;
  justify-items: start;
}

.site-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer-social a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: rgba(243, 245, 242, 0.6);
  color: var(--green);
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-footer-social a:hover {
  background: rgba(127, 150, 114, 0.16);
  transform: translateY(-1px);
}

.site-footer-social svg {
  width: 15px;
  height: 15px;
  display: block;
}

.site-footer-social svg path,
.site-footer-social svg rect,
.site-footer-social svg circle {
  fill: var(--green);
  stroke: var(--green);
  stroke-width: 1.5;
}

.site-footer-social .site-footer-icon-cutout {
  fill: var(--chrome-bg);
  stroke: var(--chrome-bg);
}

@media (max-width: 1365px) {
  .page {
    width: 100%;
    min-height: 100svh;
    overflow-x: hidden;
  }

  .brand {
    left: 32px;
  }

  nav {
    right: 32px;
  }

  .grid,
  .product-cards,
  .dash-wrap,
  .wallet-shell {
    width: calc(100% - 64px);
  }

  .dashboard-page .dash-wrap {
    width: min(1010px, calc(100% - 64px));
  }

  .grid {
    justify-content: center;
  }

  .product-cards {
    gap: 28px;
  }

  .updates-status {
    right: 8%;
  }
}

@media (max-width: 1024px) {
  .topline {
    top: 112px;
  }

  .brand {
    left: 50%;
    top: 13px;
    transform: translateX(-50%);
  }

  nav {
    top: 70px;
    left: 24px;
    right: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    font-size: 15px;
  }

  nav a,
  .login-btn,
  .account-btn {
    width: auto;
    min-width: 82px;
    height: 30px;
    padding: 0 12px;
  }

  .hero,
  .contact-page .hero,
  .updates-page .hero,
  .dashboard-page .hero,
  .product-hero {
    padding-top: 148px;
  }

  .manual-payment-page,
  .automatic-payment-page,
  .invite-page,
  .wallet-page {
    padding-top: 142px;
  }

  .login-page,
  .register-page,
  .forgot-password-page {
    padding-top: 142px;
  }

  .grid {
    grid-template-columns: repeat(2, 250px);
  }

  .product-cards {
    width: calc(100% - 48px);
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-panel,
  .updates-page .updates-list,
  .updates-page .updates-box {
    width: min(566px, calc(100% - 48px));
  }

  .dash-wrap {
    width: calc(100% - 48px);
    align-items: stretch;
    justify-content: center;
    margin-inline: auto;
  }

  .mainpanel {
    padding: 38px 32px;
  }

  .stats {
    flex-wrap: wrap;
  }

  .wallet-shell {
    width: calc(100% - 48px);
    margin-inline: auto;
  }

  .wallet-dashboard {
    grid-template-columns: 220px 1fr;
  }

  .dashboard-shell {
    width: 100%;
  }

  .dashboard-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-filter {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }

  .dashboard-search-field {
    grid-column: 1 / -1;
  }

  .dashboard-date-field--from {
    margin-right: 0;
  }

  .dashboard-date-field--to {
    margin-left: 0;
    margin-right: 0;
  }

.dashboard-filter button {
  width: 140px;
  margin-left: 0;
  justify-self: end;
}

  .dashboard-table {
    overflow-x: auto;
  }

  .dashboard-table-head,
  .dashboard-row {
    min-width: 690px;
  }

  .admin-inventory-row,
  .admin-payment-row,
  .admin-stock-row {
    gap: 10px;
  }

  .admin-product-grid,
  .admin-payment-grid,
  .admin-stock-row {
    grid-template-columns: 1fr;
  }

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

  .admin-stock-entry,
  .admin-stock-entries[data-via-code="true"] .admin-stock-entry {
    grid-template-columns: 1fr 1fr;
  }

  .admin-stock-view-record {
    grid-template-columns: 1fr;
  }

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

  .admin-page .settings-head {
    flex-direction: column;
  }

  .admin-page .settings-head p {
    max-width: none;
    text-align: left;
  }

  .code-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .code-tabs {
    width: 100%;
  }

  .settings-layout {
    grid-template-columns: 1fr;
  }

  .settings-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .settings-tab {
    justify-content: center;
  }

  .settings-security-grid {
    grid-template-columns: 1fr;
  }

  .settings-2fa {
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1.5px solid rgba(127, 150, 114, 0.45);
  }

  .announcements-toolbar {
    grid-template-columns: 1fr;
  }

  .announcement-filter {
    grid-template-columns: 1fr 1fr;
  }

  .announcement-search-field {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .page {
    min-height: 100svh;
    width: 100%;
    max-width: 100%;
    padding: 0 12px 0;
    overflow-x: hidden;
  }

  .dashboard-page {
    padding: 0 12px 0;
  }

  .site-header {
    height: 92px;
  }

  .topline {
    top: 96px;
  }

  .bottomline {
    bottom: 14px;
  }

  .brand {
    left: 50%;
    top: 12px;
    width: auto;
    max-width: calc(100% - 104px);
    height: 44px;
    gap: 8px;
    overflow: visible;
    justify-content: center;
    transform: translateX(-50%);
  }

  .brand img {
    display: none;
  }

  .brand::before {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .brand::after {
    content: "IGSTPREM";
    font-size: 16px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  nav {
    top: 64px;
    left: 50%;
    right: auto;
    width: min(calc(100% - 20px), 348px);
    transform: translateX(-50%);
    display: none;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    font-size: 13px;
    justify-items: stretch;
    align-items: center;
    border: 2px solid rgba(127, 150, 114, 0.68);
    border-radius: 20px;
    background: rgba(245, 237, 199, 0.98);
    box-shadow: 0 20px 38px rgba(127, 150, 114, 0.18);
    z-index: 14;
  }

  .site-header.is-mobile-nav-open nav {
    display: grid;
  }

  nav a,
  .login-btn,
  .account-btn {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    height: auto;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 13px;
    line-height: 1.15;
  }

  .site-header nav .account-btn {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin: 0;
    display: inline-flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    justify-self: stretch;
    align-self: stretch;
    place-self: stretch;
  }

  .site-header nav .login-btn {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin: 0;
    display: inline-flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    justify-self: stretch;
    align-self: stretch;
    place-self: stretch;
  }

  .hero,
  .contact-page .hero,
  .updates-page .hero,
  .dashboard-page .hero,
  .product-hero {
    padding-top: 128px;
  }

  .hero h1,
  .product-hero h1,
  .dashboard-page .hero h1 {
    font-size: 22px;
  }

  .pill {
    font-size: 20px;
  }

  .tag {
    font-size: 12px;
  }

  .manual-payment-page,
  .automatic-payment-page,
  .invite-page,
  .wallet-page,
  .login-page,
  .register-page,
  .forgot-password-page {
    padding-top: 136px;
  }

  .page-title {
    font-size: 28px;
  }

  .grid {
    width: min(100%, 320px);
    grid-template-columns: 1fr;
    gap: 22px;
    margin-inline: auto;
    justify-items: center;
  }

  .card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .product-cards {
    width: min(100%, 320px);
    margin-top: 30px;
    gap: 24px;
    margin-inline: auto;
    justify-content: center;
  }

  .product-card {
    width: 100%;
    max-width: 320px;
    padding: 24px 20px 68px;
  }

  .product-card-head {
    gap: 16px;
  }

  .product-card .feature-icon {
    width: 64px;
    height: 54px;
    flex: 0 0 auto;
  }

  .product-card .feature-icon img {
    max-width: 52px;
    max-height: 42px;
  }

  .account-pill {
    min-width: 0;
    width: 164px;
    font-size: 16px;
  }

  .payment-card,
  .invite-card,
  .content-box,
  .login-page .content-box,
  .register-page .content-box {
    width: min(100%, 320px);
    max-width: 320px;
    margin-inline: auto;
  }

  .tabs {
    margin-top: 134px;
    flex-wrap: wrap;
    gap: 10px 12px;
    font-size: 26px;
  }

  .auth-tabs {
    justify-content: center;
  }

  .auth-tab {
    min-height: 50px;
    padding: 0 12px;
  }

  .payment-card-header,
  .invite-card-header {
    font-size: 22px;
    padding-inline: 22px;
  }

  .method-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .method-chip {
    flex: 1 1 calc(50% - 10px);
  }

  .payment-actions {
    gap: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .payment-actions .btn {
    width: 100%;
    min-width: 0;
    padding: 0 6px;
    font-size: 12px;
    white-space: nowrap;
  }

  .register-row {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    width: min(100%, 360px);
    max-width: 100%;
    padding: 18px 14px 16px;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-inline: auto;
  }

  .contact-option {
    min-height: 118px;
    padding: 12px 8px;
    border: 1.5px solid rgba(127, 150, 114, 0.34);
    border-radius: 18px;
    background: rgba(243, 245, 242, 0.48);
    justify-content: center;
  }

  .contact-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 8px;
  }

  .contact-icon svg {
    width: 32px;
    height: 32px;
  }

  .contact-label {
    font-size: 13px;
    line-height: 1.2;
  }

  .updates-page .updates-list,
  .updates-page .updates-box {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .updates-status {
    position: static;
    width: 100%;
    margin: 12px auto 0;
    text-align: center;
  }

  .dash-wrap {
    width: min(100%, 320px);
    flex-direction: column;
    margin-inline: auto;
    justify-content: center;
    align-items: center;
  }

  .sidebar,
  .mainpanel {
    width: 100%;
    min-height: auto;
  }

  .sidebar {
    padding: 24px 18px 0;
    margin-inline: auto;
  }

  .side-link {
    margin-bottom: 18px;
    font-size: 17px;
  }

  .sidebar-footer {
    margin-top: 20px;
  }

  .mainpanel {
    padding: 28px 20px;
    margin-inline: auto;
  }

  .admin-inventory-row,
  .admin-payment-row {
    gap: 10px;
  }

  .admin-product-grid,
  .admin-payment-grid,
  .admin-stock-controls,
  .admin-content-form,
  .admin-content-row,
  .admin-row {
    grid-template-columns: 1fr;
  }

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

  .admin-stock-entry,
  .admin-stock-entries[data-via-code="true"] .admin-stock-entry {
    grid-template-columns: 1fr;
  }

  .admin-stock-view-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-inventory-save {
    width: 100%;
  }

  .admin-card-actions {
    justify-content: stretch;
  }

  .stats {
    flex-direction: column;
  }

  .stat {
    min-width: 0;
    width: 100%;
  }

  .wallet-shell {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .wallet-dashboard {
    grid-template-columns: 1fr;
  }

  .wallet-sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .wallet-main-card {
    order: 2;
  }

  .wallet-methods,
  .wallet-info-card ol,
  .wallet-form-grid {
    grid-template-columns: 1fr;
  }

  .wallet-methods {
    display: grid;
  }

  .wallet-method {
    width: 100%;
  }

  .wallet-upload-card {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .wallet-header-copy,
  .wallet-main-card,
  .wallet-balance-card,
  .wallet-qr-card,
  .wallet-history-card {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .wallet-actions {
    margin-top: 12px;
    justify-content: stretch;
  }

  .wallet-verify-btn {
    width: 100%;
  }

  .wallet-history-card {
    grid-template-columns: 1fr;
  }

  .wallet-history-head {
    border-right: 0;
    border-bottom: 1.5px solid rgba(127, 150, 114, 0.4);
  }

  .dashboard-shell {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .dashboard-summary {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dashboard-metric {
    min-height: 52px;
  }

  .dashboard-tabs {
    flex-wrap: nowrap;
    gap: 18px;
    margin-top: 22px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .dashboard-tab {
    flex: 0 0 auto;
    font-size: 13px;
  }

  .dashboard-filter {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .dashboard-date-field--from,
  .dashboard-date-field--to {
    margin-left: 0;
    margin-right: 0;
  }

  .dashboard-filter button {
    margin-left: 0;
  }
  .dashboard-filter button {
    width: 100%;
  }

  .dashboard-table {
    min-height: 0;
    overflow: visible;
  }

  .dashboard-table-head {
    display: none;
  }

  .dashboard-row,
  .dashboard-row-simple {
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 18px;
  }

  .dashboard-service-icon {
    width: 34px;
    height: 34px;
  }

  .dashboard-status {
    justify-self: start;
  }

  .dashboard-empty {
    min-height: 230px;
    padding: 30px 18px;
  }

  .orders-page .dash-wrap,
  .get-code-page .dash-wrap {
    width: 100%;
    max-width: 100%;
  }

  .orders-page .mainpanel,
  .get-code-page .mainpanel {
    padding: 22px 16px;
  }

  .code-panel-head {
    gap: 12px;
    align-items: stretch;
  }

  .code-panel h2 {
    font-size: 19px;
    line-height: 0.95;
  }

  .code-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    width: min(100%, 272px);
    margin-inline: auto;
    justify-items: stretch;
  }

  .code-tab {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    height: auto;
    padding: 8px;
    font-size: 12px;
    gap: 6px;
  }

  .code-tab span {
    min-width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .code-mail-html {
    max-height: min(72vh, 720px);
  }

  .code-mail-html-render {
    min-height: 180px;
  }

  .code-purchase-head,
  .code-delivery {
    width: 100%;
    padding: 12px;
    align-items: flex-start;
    column-gap: 10px;
  }

  .code-purchase-head {
    grid-template-columns: 32px minmax(0, 1fr) 18px;
  }

  .code-purchase-top {
    gap: 8px;
    padding-right: 8px;
  }

  .code-product-icon,
  .code-delivery-icon {
    width: 32px;
    height: 32px;
  }

  .code-product-icon img {
    max-width: 24px;
    max-height: 20px;
  }

  .code-purchase-title-row {
    grid-template-columns: 1fr;
    gap: 4px;
    align-items: flex-start;
  }

  .code-purchase-title strong {
    font-size: 12px;
    line-height: 1.05;
  }

  .code-purchase-title span {
    font-size: 11px;
    line-height: 1.1;
  }

  .code-purchase-title > span {
    margin-top: 0;
  }

  .code-purchase-status {
    justify-self: start;
    align-items: flex-start;
    gap: 5px;
    padding-top: 0;
  }

  .code-purchase-status em {
    font-size: 11px;
  }

  .code-chevron {
    font-size: 16px;
    justify-self: end;
    align-self: center;
  }

  .code-purchase-trash {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .code-list {
    border-radius: 16px;
  }

  .code-access-card {
    margin: 0 0 10px;
    padding: 12px;
  }

  .code-access-header > strong {
    font-size: 15px;
  }

  .code-access-details li {
    flex-direction: column;
    gap: 3px;
  }

  .code-access-details strong {
    flex-basis: auto;
  }

  .code-access-header,
  .code-mail-header,
  .code-mail-selected {
    flex-direction: column;
    align-items: flex-start;
  }

  .code-access-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .code-access-field {
    padding: 9px 10px;
  }

  .code-access-field-row {
    gap: 8px;
    margin-top: 6px;
  }

  .code-access-actions {
    grid-template-columns: 1fr;
  }

  .code-mail-header,
  .code-mail-selected {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .code-mail-header > div,
  .code-mail-selected > div {
    min-width: 0;
    flex: 1 1 auto;
  }

  .code-mail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .code-mail-meta {
    min-height: 56px;
    padding: 9px;
  }

  .code-mail-meta strong {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.25;
  }

  .code-mail-body {
    margin-top: 8px;
    padding: 10px;
  }

  .code-access-actions {
    gap: 8px;
  }

  .code-access-button {
    width: 100%;
  }

  .code-access-field-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .code-empty {
    min-height: 150px;
    padding: 22px 16px;
    text-align: center;
  }

  .live-chat-widget {
    right: 10px;
    bottom: 88px;
    max-width: calc(100vw - 20px);
  }

  .live-chat-toggle {
    min-width: 102px;
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .settings-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .settings-head p {
    text-align: left;
  }

  .settings-tabs {
    grid-template-columns: 1fr;
  }

  .settings-tab {
    justify-content: flex-start;
  }

  .settings-card {
    padding: 16px;
  }

  .settings-card-title {
    align-items: flex-start;
  }

  .announcement-filter {
    grid-template-columns: 1fr;
  }

  .announcement-search-field {
    grid-column: auto;
  }

  .announcement-pager {
    grid-template-columns: 1fr;
  }

  .announcement-author {
    align-items: flex-start;
  }

  .announcement-actions {
    flex-direction: column;
  }

  .announcement-card {
    padding: 15px;
  }

  .announcement-card h3 {
    font-size: 19px;
  }

  .announcement-art {
    min-height: 132px;
    padding: 16px;
  }

  .announcement-art strong {
    font-size: 16px;
  }

  .site-footer {
    margin: auto 0 0;
    padding: 20px 18px 14px;
    text-align: center;
  }

  .site-footer-simple {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-footer-connect {
    justify-items: center;
  }

  .site-footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .page {
    padding-inline: 10px;
  }

  .site-header {
    height: 92px;
  }

  nav {
    top: 60px;
    width: min(calc(100% - 16px), 336px);
    gap: 8px;
    padding: 10px;
  }

  nav a,
  .login-btn,
  .account-btn {
    min-width: 0;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .site-header nav .account-btn {
    width: 100%;
    margin: 0;
    justify-self: stretch;
    align-self: stretch;
    place-self: stretch;
  }

  .site-header nav .login-btn {
    width: 100%;
    margin: 0;
    justify-self: stretch;
    align-self: stretch;
    place-self: stretch;
  }

  .mobile-menu-toggle {
    top: 12px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .brand {
    top: 12px;
    width: auto;
    max-width: calc(100% - 92px);
    height: 40px;
    gap: 7px;
  }

  .brand::before {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .brand::after {
    font-size: 15px;
  }

  .hero h1,
  .product-hero h1,
  .dashboard-page .hero h1 {
    font-size: 19px;
  }

  .pill {
    font-size: 18px;
    padding: 5px 8px;
  }

  .title {
    left: 82px;
    font-size: 18px;
  }

  .wallet-sidebar,
  .payment-actions {
    grid-template-columns: 1fr;
  }

  .tabs {
    margin-top: 130px;
    font-size: 22px;
    gap: 8px 10px;
  }

  .auth-tab {
    min-height: 46px;
    padding: 0 10px;
  }

  .contact-panel {
    width: 100%;
    max-width: 100%;
    padding: 16px 12px 14px;
    gap: 10px;
  }

  .contact-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 8px;
  }

  .contact-icon svg {
    width: 28px;
    height: 28px;
  }

  .contact-label {
    font-size: 12px;
  }

  .payment-actions {
    display: grid;
  }

  .payment-actions .btn {
    width: 100%;
  }

  .wallet-header-copy h1 {
    font-size: 24px;
  }

  .wallet-balance-value {
    font-size: 30px;
  }

  .wallet-history-empty {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .grid,
  .product-cards,
  .dash-wrap,
  .wallet-shell,
  .updates-page .updates-list {
    width: 100%;
    max-width: 360px;
  }

  .card,
  .product-card,
  .payment-card,
  .invite-card,
  .contact-panel,
  .updates-page .updates-box,
  .wallet-balance-card,
  .wallet-qr-card,
  .wallet-main-card,
  .wallet-history-card {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }

  .wallet-sidebar {
    grid-template-columns: 1fr;
  }

  .wallet-history-card {
    grid-template-columns: 1fr;
  }

  .wallet-history-empty {
    flex-direction: column;
  }

  .live-chat-widget {
    right: 10px;
    bottom: 82px;
  }

  .live-chat-panel {
    width: min(340px, calc(100vw - 20px));
    border-radius: 18px;
    max-height: min(72vh, 560px);
  }

  .live-chat-toggle {
    min-width: 90px;
    height: 36px;
    padding: 0 28px 0 10px;
    gap: 6px;
    font-size: 13px;
  }

  .live-chat-toggle svg {
    width: 16px;
    height: 16px;
  }

  .live-chat-head {
    padding: 12px 14px 10px;
  }

  .live-chat-head strong {
    font-size: 18px;
  }

  .live-chat-head small {
    font-size: 11px;
  }

  .live-chat-close {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .live-chat-body {
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: calc(min(72vh, 560px) - 68px);
  }

  .live-chat-threads {
    max-height: 120px;
    border-right: 0;
    border-bottom: 1px solid rgba(130, 150, 117, 0.28);
  }
}

@media (max-width: 420px) {
  nav {
    width: min(calc(100% - 12px), 320px);
    gap: 7px;
  }

  nav a,
  .login-btn,
  .account-btn {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .site-header nav .account-btn {
    width: 100%;
    margin: 0;
    justify-self: stretch;
    align-self: stretch;
    place-self: stretch;
  }

  .site-header nav .login-btn {
    width: 100%;
    margin: 0;
    justify-self: stretch;
    align-self: stretch;
    place-self: stretch;
  }

  .card,
  .product-card,
  .payment-card,
  .invite-card,
  .contact-panel,
  .content-box,
  .login-page .content-box,
  .register-page .content-box,
  .forgot-password-page .content-box,
  .wallet-balance-card,
  .wallet-qr-card,
  .wallet-main-card,
  .wallet-history-card,
  .updates-page .updates-box,
  .dashboard-shell,
  .dash-wrap,
  .product-cards,
  .grid {
    max-width: 300px;
  }

  .forgot-password-shell {
    width: calc(100% - 28px);
    margin-top: 118px;
  }

  .live-chat-widget {
    right: 8px;
    bottom: 82px;
  }

  .live-chat-panel {
    width: calc(100vw - 12px);
  }

  .forgot-password-title {
    font-size: 28px;
  }

  .forgot-password-copy {
    font-size: 16px;
  }

  .forgot-password-btn {
    height: 46px;
  }

  .live-chat-toggle {
    min-width: 104px;
    height: 40px;
    font-size: 13px;
  }

  .live-chat-head strong {
    font-size: 21px;
  }

  .live-chat-main {
    padding: 12px;
  }

  .live-chat-input {
    min-height: 64px;
    padding-right: 92px;
  }

  .live-chat-send {
    right: 18px;
    top: 50%;
    transform: translateY(calc(-50% - 2px));
    min-width: 72px;
    height: 34px;
    padding: 0 12px;
    font-size: 14px;
  }

  .live-chat-composer {
    padding: 8px;
  }
}

/* Final mobile shape pass: keep cards wider and softer so pages do not feel overly narrow/rectangular. */
@media (max-width: 760px) {
  .page,
  .dashboard-page {
    padding-inline: 14px;
  }

  .grid,
  .product-cards,
  .dash-wrap,
  .wallet-shell,
  .dashboard-shell,
  .updates-page .updates-list {
    width: 100%;
    max-width: 372px;
  }

  .card,
  .product-card,
  .payment-card,
  .invite-card,
  .contact-panel,
  .content-box,
  .login-page .content-box,
  .register-page .content-box,
  .forgot-password-page .content-box,
  .updates-page .updates-box,
  .sidebar,
  .mainpanel,
  .dashboard-shell,
  .wallet-balance-card,
  .wallet-qr-card,
  .wallet-main-card,
  .wallet-history-card,
  .settings-tabs,
  .settings-card,
  .code-list,
  .code-access-card,
  .code-mail-card,
  .announcement-card,
  .faq-card,
  .review-card {
    width: 100%;
    max-width: 372px;
    border-radius: 28px;
  }

  .sidebar,
  .mainpanel,
  .content-box,
  .payment-card,
  .invite-card,
  .updates-page .updates-box,
  .wallet-balance-card,
  .wallet-qr-card,
  .wallet-main-card,
  .wallet-history-card,
  .settings-card,
  .announcement-card,
  .faq-card,
  .review-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .settings-layout {
    gap: 14px;
  }

  .settings-tabs,
  .settings-card {
    border-radius: 24px;
  }

  .settings-tabs {
    padding: 12px;
  }

  .settings-card {
    padding: 18px;
  }

  .settings-card-title {
    gap: 12px;
  }

  .settings-form {
    gap: 14px;
  }

  .settings-form label {
    gap: 7px;
  }

  .orders-page .dash-wrap,
  .get-code-page .dash-wrap,
  .orders-page .mainpanel,
  .get-code-page .mainpanel {
    max-width: 372px;
  }

  .code-list,
  .code-access-card,
  .code-mail-card {
    border-radius: 22px;
  }

  .code-purchase-head,
  .code-delivery,
  .dashboard-row,
  .dashboard-row-simple,
  .admin-row,
  .admin-inventory-row,
  .admin-payment-row,
  .admin-stock-row {
    border-radius: 18px;
  }
}

@media (max-width: 420px) {
  .page,
  .dashboard-page {
    padding-inline: 12px;
  }

  .grid,
  .product-cards,
  .dash-wrap,
  .wallet-shell,
  .dashboard-shell,
  .updates-page .updates-list,
  .card,
  .product-card,
  .payment-card,
  .invite-card,
  .contact-panel,
  .content-box,
  .login-page .content-box,
  .register-page .content-box,
  .forgot-password-page .content-box,
  .updates-page .updates-box,
  .sidebar,
  .mainpanel,
  .wallet-balance-card,
  .wallet-qr-card,
  .wallet-main-card,
  .wallet-history-card,
  .settings-tabs,
  .settings-card,
  .code-list,
  .code-access-card,
  .code-mail-card,
  .announcement-card,
  .faq-card,
  .review-card {
    max-width: 344px;
  }

  .card,
  .product-card,
  .payment-card,
  .invite-card,
  .contact-panel,
  .content-box,
  .login-page .content-box,
  .register-page .content-box,
  .forgot-password-page .content-box,
  .updates-page .updates-box,
  .sidebar,
  .mainpanel,
  .dashboard-shell,
  .wallet-balance-card,
  .wallet-qr-card,
  .wallet-main-card,
  .wallet-history-card,
  .settings-tabs,
  .settings-card,
  .code-list,
  .code-access-card,
  .code-mail-card,
  .announcement-card,
  .faq-card,
  .review-card {
    border-radius: 24px;
  }

  .sidebar,
  .mainpanel,
  .content-box,
  .payment-card,
  .invite-card,
  .updates-page .updates-box,
  .wallet-balance-card,
  .wallet-qr-card,
  .wallet-main-card,
  .wallet-history-card,
  .settings-card {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 760px) {
  .announcements-page .hero {
    padding-top: 104px;
  }

  .notification-bell-link--quick {
    display: inline-flex;
  }

  .site-header nav .notification-bell-link--nav {
    display: none !important;
  }

  .site-header nav .notification-bell-link {
    width: 52px;
    min-width: 52px;
    height: 52px;
    padding: 0;
    justify-self: center;
  }

  .site-header nav .notification-bell-icon {
    width: 24px;
    height: 24px;
  }

  .dashboard-page .dash-wrap,
  .dashboard-page .mainpanel,
  .dashboard-page .dashboard-shell,
  .dashboard-page .dashboard-table {
    width: 100%;
    max-width: none;
  }

  .dashboard-page .mainpanel {
    padding: 24px 14px 18px;
  }

  .dashboard-page .sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-content: start;
    padding: 10px 10px 0;
  }

  .dashboard-page .sidebar .side-link {
    margin: 0;
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
    border-radius: 11px;
  }

  .dashboard-page .sidebar .side-link.current {
    grid-column: 1 / -1;
  }

  .dashboard-page .sidebar .sidebar-footer {
    grid-column: 1 / -1;
    margin: 0 -10px 0;
    padding: 10px 10px 0;
  }

  .dashboard-page .sidebar .sidebar-footer .side-link {
    width: 100%;
  }

  .announcements-page .dash-wrap {
    margin-top: 6px;
    gap: 12px;
  }

  .announcements-page .sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 14px 14px 0;
    align-content: start;
  }

  .announcements-page .announcement-side-title {
    margin: 0;
  }

  .announcements-sidebar .side-link {
    width: 100%;
    min-height: 48px;
    margin: 0;
    justify-content: center;
    text-align: center;
    padding: 0 14px;
  }

  .announcements-sidebar .side-link.current {
    grid-column: auto;
  }

  .announcements-page .sidebar-footer {
    margin: 0 -14px 0;
    margin-top: 2px;
    padding: 16px 14px 0;
  }

  .announcements-page .sidebar-footer .side-link {
    width: 100%;
  }

  .announcements-page .mainpanel {
    min-height: 0;
    padding-top: 14px;
  }

  .dashboard-page .dashboard-shell {
    margin-inline: 0;
  }

  .dashboard-page .dashboard-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .dashboard-page .dashboard-metric {
    min-height: 58px;
    padding: 10px 12px;
  }

  .dashboard-page .dashboard-metric-balance {
    grid-column: 1 / -1;
  }

  .dashboard-page .dashboard-metric span {
    font-size: 9px;
  }

  .dashboard-page .dashboard-metric strong {
    font-size: 15px;
  }

  .dashboard-page .dashboard-tabs {
    gap: 12px;
    margin-top: 18px;
    padding-bottom: 4px;
  }

  .dashboard-page .dashboard-tab {
    font-size: 12px;
    white-space: nowrap;
  }

  .dashboard-page .dashboard-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 10px;
    align-items: end;
  }

  .dashboard-page .dashboard-search-field,
  .dashboard-page .dashboard-filter button {
    grid-column: 1 / -1;
  }

  .dashboard-page .dashboard-date-field--from {
    margin-right: 0;
  }

  .dashboard-page .dashboard-date-field--to {
    margin-left: 0;
  }

  .dashboard-page .dashboard-date-field--from input,
  .dashboard-page .dashboard-date-field--to input {
    min-width: 0;
  }

  .dashboard-page .dashboard-filter button {
    width: 100%;
  }

  .dashboard-page .dashboard-table {
    padding: 10px;
    border-radius: 22px;
    overflow: visible;
  }

  .dashboard-page .dashboard-panel-body {
    display: grid;
    gap: 10px;
  }

  .dashboard-page .dashboard-row,
  .dashboard-page .dashboard-row-simple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 14px 14px 12px;
    border: 1.5px solid rgba(127, 150, 114, 0.24);
    border-radius: 18px;
    background: rgba(255, 249, 232, 0.55);
  }

  .dashboard-page .dashboard-row > * + *,
  .dashboard-page .dashboard-row-simple > * + * {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .dashboard-page .dashboard-transaction {
    grid-column: 1 / -1;
    align-items: flex-start;
  }

  .dashboard-page .dashboard-date,
  .dashboard-page .dashboard-payment {
    display: grid;
    gap: 4px;
  }

  .dashboard-page .dashboard-amount,
  .dashboard-page .dashboard-status {
    align-self: end;
  }

  .dashboard-page .dashboard-payment small::before {
    margin-right: 6px;
  }

  .dashboard-page .dashboard-amount {
    display: block;
    font-size: 13px;
    line-height: 1.2;
  }

  .dashboard-page .dashboard-status {
    margin-top: 0;
    justify-self: start;
  }

  .notifications-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .notifications-head .notification-card-icon {
    width: 52px;
    height: 52px;
  }

  .notifications-head strong {
    font-size: 23px;
  }

  .notification-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 15px;
  }

  .notification-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .notification-card-link {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .notification-bell-link--quick {
    right: 56px;
  }

  .site-header nav .notification-bell-link {
    width: 48px;
    min-width: 48px;
    height: 48px;
  }

  .dashboard-page .mainpanel {
    padding: 22px 12px 16px;
  }

  .dashboard-page .dashboard-table {
    padding: 8px;
  }

  .dashboard-page .dashboard-row,
  .dashboard-page .dashboard-row-simple {
    padding: 13px 12px 11px;
  }
}
