.ticket-stack { display: grid; gap: 1.25rem; max-width: 820px; }
.ticket-board {
  background: #fff; border: 1px solid #e6edf4; border-radius: 22px;
  box-shadow: 0 14px 36px rgba(6, 24, 46, .06); overflow: hidden;
}
.ticket-board__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  padding: 1.15rem 1.2rem .9rem; border-bottom: 1px solid #eef2f6;
}
.ticket-board__kicker {
  margin: 0 0 .2rem; font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  color: #c9a227; text-transform: none;
}
.ticket-board h2 { margin: 0; font-size: 1.15rem; color: #06182e; }
.ticket-board__stats { display: flex; gap: .5rem; flex-wrap: wrap; }
.ticket-board__stats span {
  background: #f4f7fb; color: #143e66; font-size: .78rem; font-weight: 800;
  padding: .28rem .7rem; border-radius: 999px;
}
.ticket-empty { padding: 1.6rem 1.2rem 1.8rem; text-align: center; color: #5a6b7d; }
.ticket-empty strong { display: block; color: #06182e; margin-bottom: .35rem; }
.ticket-rows { display: flex; flex-direction: column; }
.ticket-row {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1rem 1.2rem; border-bottom: 1px solid #eef2f6; color: inherit !important;
  text-decoration: none;
}
.ticket-row:last-child { border-bottom: 0; }
.ticket-row:hover { background: #f7fafc; }
.ticket-row__main { min-width: 0; display: grid; gap: .2rem; }
.ticket-row__id { font-size: .75rem; font-weight: 800; color: #8a97a8; }
.ticket-row__main strong { color: #06182e; overflow-wrap: anywhere; }
.ticket-row__main small { color: #6b7c8e; font-size: .8rem; }
.ticket-row__meta { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; flex: 0 0 auto; }
.ticket-prio {
  font-size: .72rem; font-weight: 800; padding: .15rem .55rem; border-radius: 999px; background: #eef2f6;
}
.ticket-prio--high { background: #fde8e8; color: #b42318; }
.ticket-prio--low { color: #667; }
.ticket-compose { max-width: none; }
.ticket-compose h2 { margin: .15rem 0 .35rem; }

.bell-wrap { position: relative; }
button.icon-bell { border: 0; cursor: pointer; font: inherit; }
.bell-drop {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 4700;
  width: min(22rem, 86vw); background: #fff; color: #0e1a28;
  border-radius: 18px; box-shadow: 0 22px 50px rgba(3, 11, 22, .28);
  overflow: hidden; border: 1px solid #e6edf4;
  max-height: min(70vh, 28rem);
  display: flex; flex-direction: column;
}
.bell-drop[hidden] { display: none !important; }
.bell-drop [data-bell-list] { overflow: auto; -webkit-overflow-scrolling: touch; flex: 1 1 auto; max-height: min(52vh, 20rem); }

/* Mobile: keep panel fully inside the viewport (not clipped off-screen). */
@media (max-width: 980px) {
  .topbar__actions { overflow: visible; }
  .bell-wrap { position: static; }
  .bell-drop {
    position: fixed;
    top: calc(var(--top, 84px) + 6px);
    left: max(12px, env(safe-area-inset-left, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    inset-inline-end: auto;
    width: auto;
    max-width: none;
    z-index: 4800;
    max-height: min(72vh, 30rem);
  }
}
.bell-drop__head {
  padding: .75rem 1rem; background: #06182e; color: #fff; font-weight: 800; font-size: .88rem;
}
.bell-drop__empty { margin: 0; padding: 1.1rem 1rem; color: #6b7c8e; font-size: .9rem; }
.bell-drop__item {
  display: block; padding: .85rem 1rem; border-bottom: 1px solid #eef2f6;
  color: #06182e !important; text-decoration: none;
}
.bell-drop__item:hover { background: #fff8e8; }
.bell-drop__item strong { display: block; font-size: .9rem; }
.bell-drop__item span { display: block; margin-top: .2rem; font-size: .75rem; color: #6b7c8e; }
.bell-drop__all {
  display: block; text-align: center; padding: .8rem; font-weight: 800; color: #143e66 !important;
  background: #f5f7fa;
}

.admin-acc { margin: .15rem 0 .4rem; }
.admin-acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  background: transparent; border: 0; color: rgba(255,255,255,.48); cursor: pointer;
  padding: .45rem .55rem; font: inherit; font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  border-radius: 10px;
}
.admin-acc__btn:hover { color: rgba(255,255,255,.82); background: rgba(255,255,255,.04); }
.admin-acc__right { display: inline-flex; align-items: center; gap: .4rem; }
.admin-acc__chev {
  width: 8px; height: 8px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .18s ease; opacity: .8;
}
.admin-acc.is-open .admin-acc__chev { transform: rotate(-135deg); }
.admin-acc__body { display: none; padding: .1rem 0 .25rem; }
.admin-acc.is-open .admin-acc__body { display: block; }
.admin-side a {
  display: flex; align-items: center; justify-content: space-between; gap: .45rem;
}
.nav-badge {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 99px; background: #e53935; color: #fff !important; font-size: .68rem;
  font-style: normal; font-weight: 800; line-height: 1;
}
.admin-acc.is-open > .admin-acc__btn .nav-badge--group { display: none !important; }
.admin-acc:not(.is-open) .admin-acc__body .nav-badge { display: none !important; }
.nav-badge.is-bump { animation: nav-bump .45s ease; }
@keyframes nav-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

@media (max-width: 720px) {
  .ticket-row { flex-direction: column; align-items: flex-start; }
  .ticket-row__meta { align-items: flex-start; flex-direction: row; }
}

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

.pay-online-kicker {
  margin: .2rem 0 .65rem; font-size: .78rem; font-weight: 800; color: #8a6d12; letter-spacing: .02em;
}
.gw-logos {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: .7rem; margin: 0 0 1.1rem;
}
.gw-logo {
  position: relative; margin: 0; cursor: pointer; display: block;
}
.gw-logo input {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}
.gw-logo__frame {
  display: flex; align-items: center; justify-content: center;
  min-height: 78px; padding: .7rem .55rem;
  background: linear-gradient(180deg, #fff, #f7fafc);
  border: 1.5px solid #e4edf5; border-radius: 18px;
  box-shadow: 0 8px 22px rgba(6, 24, 46, .05);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.gw-logo img { max-width: 100%; height: 40px; width: auto; display: block; }
.gw-logo:hover .gw-logo__frame { border-color: #c9d7e6; transform: translateY(-1px); }
.gw-logo:has(input:focus-visible) .gw-logo__frame { outline: 2px solid #c9a227; outline-offset: 2px; }
.gw-logo:has(input:checked) .gw-logo__frame {
  border-color: #c9a227;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .22), 0 10px 24px rgba(6, 24, 46, .08);
}
.pay-offline {
  background: linear-gradient(180deg, #fff8e8, #fff);
  border: 1px solid #ead7a0; border-radius: 18px;
  padding: 1rem 1.05rem 1.05rem; margin: 0 0 1rem; color: #3d4a59;
  line-height: 1.85;
}
.pay-offline strong { display: block; color: #06182e; margin-bottom: .35rem; font-size: 1rem; }
.pay-offline p { margin: 0; }
.pay-offline a { color: #0b4d8c; font-weight: 800; text-decoration: none; }

.pay-desk { gap: 1rem; }
.pay-desk__hero {
  background: linear-gradient(135deg, #06182e 0%, #143e66 58%, #1c5a8a 100%);
  color: #fff; border-radius: 20px; padding: 1.2rem 1.25rem 1.25rem;
  box-shadow: 0 16px 40px rgba(6, 24, 46, .18);
}
.pay-desk__kicker {
  margin: 0 0 .25rem; font-size: .72rem; font-weight: 800; color: #e8c96a; letter-spacing: .06em;
}
.pay-desk__hero h3 { margin: 0 0 .45rem; color: #fff; font-size: 1.2rem; }
.pay-desk__hero p { margin: 0; color: rgba(255,255,255,.82); line-height: 1.75; font-size: .9rem; }
.pay-desk__card {
  background: #fff; border: 1px solid #e6edf4; border-radius: 18px; padding: 1rem 1.1rem 1.15rem;
  box-shadow: 0 10px 28px rgba(6, 24, 46, .05);
}
.pay-desk__card h4 { margin: 0 0 .35rem; font-size: 1rem; color: #06182e; }
.gw-default { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .55rem; margin-top: .7rem; }
.gw-default__item {
  display: flex; align-items: center; justify-content: center;
  min-height: 64px; padding: .45rem; border: 1.5px solid #e6edf4; border-radius: 14px;
  background: #f8fafc; cursor: pointer; position: relative;
}
.gw-default__item input { position: absolute; inset: 0; opacity: 0; }
.gw-default__item img { height: 32px; width: auto; max-width: 100%; }
.gw-default__item.is-dim { opacity: .45; }
.gw-default__item:has(input:checked) {
  border-color: #c9a227; background: #fffdf6;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .18);
}
.gw-acc-list { display: grid; gap: .7rem; }
.gw-acc {
  background: #fff; border: 1px solid #e6edf4; border-radius: 18px;
  box-shadow: 0 10px 28px rgba(6, 24, 46, .05); overflow: hidden;
}
.gw-acc__sum {
  list-style: none; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  padding: .85rem 1rem; cursor: pointer; user-select: none;
}
.gw-acc__sum::-webkit-details-marker { display: none; }
.gw-acc__sum::after {
  content: ""; margin-right: auto; width: 9px; height: 9px;
  border-right: 2px solid #8a97a8; border-bottom: 2px solid #8a97a8;
  transform: rotate(45deg); transition: transform .18s;
}
.gw-acc[open] > .gw-acc__sum::after { transform: rotate(-135deg); }
.gw-acc__sum img { height: 28px; width: auto; }
.gw-acc__title { font-weight: 800; color: #06182e; }
.gw-pill {
  font-size: .72rem; font-weight: 800; padding: .18rem .6rem; border-radius: 999px;
}
.gw-pill.is-on { background: #e8f7ee; color: #0f7a3f; }
.gw-pill.is-off { background: #f1f4f8; color: #6b7c8e; }
.gw-acc__body {
  border-top: 1px solid #eef2f6; padding: 1rem 1.05rem 1.15rem;
  background: linear-gradient(180deg, #fbfcfe, #fff);
}
.gw-hint { margin: 0 0 .9rem; color: #5a6b7d; line-height: 1.8; font-size: .88rem; }
.gw-hint code { font-size: .82rem; }
.gw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; }
.gw-field { display: grid; gap: .35rem; }
.gw-field--full, .gw-field--toggle { grid-column: 1 / -1; }
.gw-field label { font-size: .82rem; font-weight: 800; color: #143e66; }
.gw-field input, .gw-field select {
  width: 100%; box-sizing: border-box;
}
.gw-switch {
  display: flex; align-items: center; gap: .55rem;
  background: #f4f7fb; border-radius: 12px; padding: .7rem .85rem; font-weight: 800; color: #06182e;
}
.gw-toggles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 0 0 1rem;
}
.admin-main .ui-toggle,
.stack-form .ui-toggle,
.pay-desk .ui-toggle {
  background: linear-gradient(180deg, #f7fafc, #eef3f8);
  border: 1px solid #e2eaf1;
  border-radius: 16px;
  padding: .85rem .95rem;
  box-sizing: border-box;
  margin: 0 0 .75rem;
}
.admin-main .ui-toggle-stack { display: grid; gap: .75rem; margin: 0 0 1rem; }
.admin-main .ui-toggle-stack .ui-toggle { margin: 0; }
.admin-main .ui-toggle__lab,
.stack-form .ui-toggle__lab,
.pay-desk .ui-toggle__lab {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: .85rem;
  cursor: pointer;
  margin: 0 !important;
  font-weight: inherit !important;
  color: inherit !important;
  direction: ltr;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
.admin-main .ui-toggle__lab > input[type="checkbox"],
.stack-form .ui-toggle__lab > input[type="checkbox"],
.pay-desk .ui-toggle__lab > input[type="checkbox"] {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  border: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  pointer-events: none !important;
  clip: rect(0 0 0 0) !important;
}
.admin-main .ui-toggle__track,
.stack-form .ui-toggle__track,
.pay-desk .ui-toggle__track {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  width: 58px !important;
  height: 32px !important;
  flex: 0 0 58px !important;
  border-radius: 999px !important;
  background: #c62828 !important;
  box-shadow: inset 0 1px 3px rgba(120, 20, 20, .28);
  transition: background .22s ease, box-shadow .22s ease;
  overflow: hidden;
  vertical-align: middle;
}
.admin-main .ui-toggle__track::after,
.stack-form .ui-toggle__track::after,
.pay-desk .ui-toggle__track::after {
  content: "خاموش";
  position: absolute;
  inset-inline-end: 7px;
  font-size: .58rem;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  letter-spacing: -.02em;
  pointer-events: none;
}
.admin-main .ui-toggle__thumb,
.stack-form .ui-toggle__thumb,
.pay-desk .ui-toggle__thumb {
  position: absolute !important;
  top: 3px !important;
  left: 3px !important;
  right: auto !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 3px 8px rgba(6, 24, 46, .22);
  transition: transform .22s cubic-bezier(.2, .9, .2, 1);
  z-index: 1;
}
.admin-main .ui-toggle__lab > input[type="checkbox"]:checked + .ui-toggle__track,
.stack-form .ui-toggle__lab > input[type="checkbox"]:checked + .ui-toggle__track,
.pay-desk .ui-toggle__lab > input[type="checkbox"]:checked + .ui-toggle__track {
  background: linear-gradient(135deg, #15803d, #22c55e) !important;
  box-shadow: inset 0 1px 3px rgba(15, 100, 50, .25), 0 0 0 3px rgba(34, 197, 94, .16);
}
.admin-main .ui-toggle__lab > input[type="checkbox"]:checked + .ui-toggle__track::after,
.stack-form .ui-toggle__lab > input[type="checkbox"]:checked + .ui-toggle__track::after,
.pay-desk .ui-toggle__lab > input[type="checkbox"]:checked + .ui-toggle__track::after {
  content: "فعال";
  inset-inline-end: auto;
  inset-inline-start: 8px;
}
.admin-main .ui-toggle__lab > input[type="checkbox"]:checked + .ui-toggle__track .ui-toggle__thumb,
.stack-form .ui-toggle__lab > input[type="checkbox"]:checked + .ui-toggle__track .ui-toggle__thumb,
.pay-desk .ui-toggle__lab > input[type="checkbox"]:checked + .ui-toggle__track .ui-toggle__thumb {
  transform: translateX(26px) !important;
}
.admin-main .ui-toggle__copy,
.stack-form .ui-toggle__copy,
.pay-desk .ui-toggle__copy {
  display: grid;
  gap: .15rem;
  min-width: 0;
  flex: 1 1 auto;
  direction: rtl;
  text-align: right;
}
.admin-main .ui-toggle__copy strong,
.stack-form .ui-toggle__copy strong,
.pay-desk .ui-toggle__copy strong {
  font-size: .92rem;
  color: #06182e;
  font-weight: 800;
}
.admin-main .ui-toggle__copy small,
.stack-form .ui-toggle__copy small,
.pay-desk .ui-toggle__copy small {
  color: #607487;
  line-height: 1.55;
  font-size: .78rem;
}
.gw-logo-upload {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
  padding: .9rem 1rem;
  border: 1px dashed #d5e0ea;
  border-radius: 16px;
  background: #fbfcfe;
}
.gw-logo-upload__preview {
  width: 160px;
  min-height: 64px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #e6edf4;
  border-radius: 14px;
  padding: .55rem;
}
.gw-logo-upload__preview img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
}
.gw-logo-upload__fields {
  display: grid;
  gap: .55rem;
  flex: 1;
  min-width: 220px;
}
.gw-default__text, .gw-logo__text {
  font-weight: 800;
  color: #143e66;
  font-size: .92rem;
  text-align: center;
}
.gw-acc.is-live {
  border-color: #cfe9d8;
  box-shadow: 0 10px 28px rgba(31,143,78,.08);
}
.tx-board { padding: 1rem 1.05rem 1.15rem; }
.tx-board__head { margin-bottom: .85rem; }
.tx-table th { white-space: nowrap; }
.tx-user { display: grid; gap: .12rem; }
.tx-user strong { color: #06182e; }
.tx-user small { color: #6b7c8e; display: block; }
.tx-status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-radius: 999px;
  padding: .28rem .7rem;
  font-weight: 800;
  font-size: .82rem;
}
.tx-status__dot {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: .72rem;
  line-height: 1;
}
.tx-status.is-ok { background: #e8f7ee; color: #0f7a3f; }
.tx-status.is-ok .tx-status__dot { background: #1f8f4e; color: #fff; }
.tx-status.is-bad { background: #fdecee; color: #b42318; }
.tx-status.is-bad .tx-status__dot { background: #d92d20; color: #fff; }
.tx-status.is-warn { background: #fff4e5; color: #b54708; }
.tx-status.is-warn .tx-status__dot { background: #f79009; color: #fff; }
.tx-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .84rem;
  background: #f4f7fb;
  border-radius: 8px;
  padding: .18rem .4rem;
}
@media (max-width: 720px) {
  .gw-grid { grid-template-columns: 1fr; }
  .gw-logos { grid-template-columns: 1fr 1fr; }
  .gw-toggles { grid-template-columns: 1fr; }
}

[data-settings-root] { max-width: 920px; }
:root { --radius: 10px; }
[data-settings-root] [data-pane][hidden],
[data-settings-root] [data-pane]:not(.is-active) { display: none !important; }
[data-settings-root] [data-pane].is-active { display: block !important; }
[data-settings-root] .pay-desk.is-active {
  display: flex !important; flex-direction: column; gap: 1rem;
}
.settings-form { max-width: none; }
.settings-otp-test { margin-top: 1rem; }
.set-acc-list, .gw-acc-list { display: grid; gap: .65rem; }
.set-acc {
  background: #fff; border: 1px solid #e6edf4; border-radius: 10px; overflow: hidden;
}
.set-acc > summary {
  list-style: none; cursor: pointer; user-select: none;
  padding: .85rem 1rem; color: #06182e; font-weight: 500;
  display: flex; align-items: center; gap: .5rem;
}
.set-acc > summary::-webkit-details-marker { display: none; }
.set-acc > summary::after {
  content: ""; margin-right: auto; width: 8px; height: 8px;
  border-right: 1.5px solid #8a97a8; border-bottom: 1.5px solid #8a97a8;
  transform: rotate(45deg);
}
.set-acc[open] > summary { border-bottom: 1px solid #eef2f6; background: #f8fafc; }
.set-acc[open] > summary::after { transform: rotate(-135deg); }
.set-acc__body { padding: .9rem 1rem 1.05rem; }

body, p, a, li, td, th, label, .muted, .nav a, .admin-acc__btn, .account-nav a {
  font-weight: 400;
}
h1, h2, h3, h4, h5 { font-weight: 500; }
.btn, .btn-gold, .btn-navy, .btn-ghost, .btn-download,
.settings-tabs button, .admin-burger, button.btn {
  border-radius: 8px !important;
  font-weight: 500 !important;
}
.stack-form label, .file-pick-label, .gw-field label, .gw-switch,
.gw-acc__title, .ticket-board h2, .buy-price {
  font-weight: 500 !important;
}
input, select, textarea {
  border-radius: 8px !important;
  font-weight: 400 !important;
}
.panel, .stat, .article-card, .plan, .story, .ticket-board,
.pay-desk__card, .gw-acc, .gw-logo__frame, .pay-offline {
  border-radius: 10px !important;
}
.settings-tabs button { border-radius: 8px !important; font-weight: 500 !important; }
.icon-bell { border-radius: 10px !important; }

.buy-layout { align-items: start; }
.buy-layout__main { min-width: 0; }
.buy-aside { margin-top: 0; }
.buy-aside__thanks { color: var(--navy-800); }
@media (min-width: 981px) {
  .buy-aside { position: sticky; top: calc(var(--top, 92px) + .8rem); }
}
.btn, a.btn, button.btn, .settings-tabs button, .cart-ico-btn {
  position: relative;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, background-color .16s ease;
  box-shadow: 0 3px 0 rgba(6, 24, 46, .12), 0 8px 16px rgba(6, 24, 46, .06);
}
.btn:hover, a.btn:hover, button.btn:hover, .settings-tabs button:hover, .cart-ico-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 5px 0 rgba(6, 24, 46, .12), 0 14px 22px rgba(6, 24, 46, .1);
}
.btn:active, a.btn:active, button.btn:active, .settings-tabs button:active, .cart-ico-btn:active {
  transform: translateY(2px);
  filter: brightness(.97);
  box-shadow: 0 0 0 rgba(6, 24, 46, .1), 0 2px 6px rgba(6, 24, 46, .12);
}
.btn:disabled, .btn[disabled] {
  transform: none !important;
  filter: none !important;
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .btn, a.btn, button.btn, .settings-tabs button, .cart-ico-btn {
    transition: none;
  }
  .btn:hover, .btn:active, a.btn:hover, a.btn:active { transform: none; }
}
.cart-ico-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  margin: .35rem 0 0; padding: .32rem .65rem;
  border: 1px solid #d7e0ea; background: #f7fafc; color: #3d4d5e;
  font: inherit; font-size: .78rem; font-weight: 500; cursor: pointer;
  border-radius: 8px !important;
}
.cart-ico-btn svg { flex: 0 0 auto; }
.cart-ico-btn--del { color: #9b1c1c; border-color: #f0d5d5; background: #fff7f7; }
.cart-ico-btn--clear { color: #7a5b12; border-color: #ead9a8; background: #fffbeb; }
.cart-empty-form { margin: .35rem 0 .5rem; }
.cart-coupon { margin: .85rem 0 1rem; }
.cart-coupon__row { display: flex; gap: .5rem; align-items: center; }
.cart-coupon__row input { flex: 1; min-width: 0; }
.cart-coupon__btn {
  position: relative; min-width: 5.4rem; display: inline-flex;
  align-items: center; justify-content: center; gap: .35rem;
}
.cart-coupon__msg { margin: .4rem 0 0; font-size: .84rem; }
.cart-coupon__msg.is-ok { color: #0f7a3f; }
.cart-coupon__msg.is-err { color: #b42318; }
.btn-spin {
  width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff; border-radius: 50%;
  animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

.app-push { max-width: 920px; display: grid; gap: 1.15rem; }
.app-push__hero {
  background: linear-gradient(135deg, #06182e 0%, #0d3a5c 55%, #1c5a8a 100%);
  color: #fff; border-radius: 16px; padding: 1.25rem 1.3rem;
  box-shadow: 0 10px 28px rgba(6,24,46,.18);
}
.app-push__kicker { margin: 0 0 .25rem; color: #e8c96a; font-size: .75rem; letter-spacing: .04em; }
.app-push__hero h2 { margin: 0 0 .4rem; font-weight: 600; color: #fff; }
.app-push__hero p { margin: 0; color: rgba(255,255,255,.86); line-height: 1.8; }
.app-push__form {
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(15,35,58,.06);
}
.app-push__targets { display: flex; flex-wrap: wrap; gap: .55rem; margin: .35rem 0 .7rem; }
.app-push__opt {
  display: flex; align-items: center; gap: .45rem; cursor: pointer;
  padding: .55rem .85rem; border: 1px solid #e6edf4; border-radius: 999px; background: #f8fafc;
  font-size: .9rem;
}
.app-push__opt input { accent-color: #c9a227; }
.app-push__opt:has(input:checked) {
  border-color: #c9a227; background: #fff8e6; color: #06182e; font-weight: 600;
}
.app-push__many {
  max-height: 260px; overflow: auto; border: 1px solid #e6edf4; border-radius: 12px;
  padding: .55rem .75rem; background: #fff;
}
.app-push__history h3 { margin: 0 0 .7rem; font-weight: 600; }
.app-push__cards { display: grid; gap: .75rem; }
.app-push__card {
  background: #fff; border: 1px solid #e6edf4; border-radius: 14px; padding: 1rem 1.05rem;
  box-shadow: 0 6px 18px rgba(15,35,58,.05);
}
.app-push__card-top { display: flex; justify-content: space-between; gap: .7rem; flex-wrap: wrap; }
.app-push__card-top span { color: #6b7c8e; font-size: .82rem; }
.app-push__card p { margin: .45rem 0 .6rem; color: #3d4a59; line-height: 1.75; }
.app-push__card-foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.app-push__del { padding: .28rem .65rem !important; font-size: .8rem !important; color: #b42318 !important; }

.footer__trust-wrap { margin-top: 1.7rem; }
.footer__trust {
  display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; flex-wrap: wrap;
  background: #fff; color: #1c2a38; border-radius: 18px; padding: 1rem 1.15rem 1.05rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.16);
  border: 1px solid rgba(201,162,39,.35);
}
.footer__trust-copy { max-width: 28rem; }
.footer__trust-kicker {
  margin: 0 0 .15rem; color: #b8891a; font-size: .75rem; font-weight: 700; letter-spacing: .04em;
}
.footer__trust-label { margin: 0 0 .25rem; color: #06182e; font-size: 1.05rem; font-weight: 800; }
.footer__trust-copy p:last-child { margin: 0; color: #5c6b7a; font-size: .86rem; line-height: 1.7; }
.footer__trust-logos { display: flex; align-items: flex-end; gap: 1.1rem; flex-wrap: wrap; }
.trust-seal-item { display: flex; flex-direction: column; align-items: center; gap: .35rem; min-width: 96px; }
.trust-seal-item em { font-style: normal; font-size: .72rem; font-weight: 700; color: #06182e; }
.footer a.trust-seal,
.footer .trust-seal a {
  display: inline-block !important; margin: 0 !important; line-height: 0; background: #fff;
}
.footer .trust-seal img,
.footer a.trust-seal img,
.footer .trust-seal-item img {
  display: block; width: 110px; height: auto; min-height: 96px; max-height: 128px; object-fit: contain;
  border-radius: 0 !important; background: #fff;
}
.trust-admin { max-width: 820px; display: grid; gap: 1rem; }
.trust-admin__card { border-radius: 16px !important; }
.trust-admin__head { margin-bottom: .85rem; }
.trust-admin__kicker { margin: 0 0 .2rem; color: #b8891a; font-size: .75rem; font-weight: 700; }
.trust-admin__head h2 { margin: 0 0 .35rem; font-size: 1.15rem; font-weight: 700; }
.trust-admin__head p { margin: 0; color: #5c6b7a; line-height: 1.75; }
.trust-admin__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.trust-admin__preview { margin-top: .85rem; }
.trust-admin__preview > span { display: block; margin-bottom: .4rem; color: #6b7c8e; font-size: .82rem; }
.trust-admin__stage {
  background: #f6f8fb; border: 1px dashed #d5dee8; border-radius: 14px;
  padding: .85rem; min-height: 88px; display: flex; align-items: center; justify-content: center;
}
.trust-admin__stage img { max-height: 118px; width: auto; }
@media (max-width: 720px) {
  .trust-admin__grid { grid-template-columns: 1fr; }
  .footer__trust { justify-content: center; text-align: center; }
  .footer__trust-copy { max-width: none; }
  .footer__trust-logos { justify-content: center; }
}

.app-installs { max-width: 1100px; display: grid; gap: 1.1rem; }
.app-installs__hero {
  background: linear-gradient(135deg, #06182e 0%, #14532d 70%);
  color: #fff; border-radius: 16px; padding: 1.2rem 1.25rem;
}
.app-installs__kicker { margin: 0 0 .25rem; color: #86efac; font-size: .75rem; }
.app-installs__hero h2 { margin: 0 0 .35rem; color: #fff; font-weight: 600; }
.app-installs__hero p { margin: 0; color: rgba(255,255,255,.88); line-height: 1.8; }
.app-installs__stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .7rem; }
.app-installs__stats article {
  background: #fff; border: 1px solid #e6edf4; border-radius: 14px; padding: .85rem 1rem;
}
.app-installs__stats span { display: block; color: #6b7c8e; font-size: .82rem; }
.app-installs__stats strong { font-size: 1.45rem; color: #06182e; }
.app-installs__stats .is-ok { border-color: #86efac; background: #f0fdf4; }
.app-installs__stats .is-wait { border-color: #fde68a; background: #fffbeb; }
.app-installs__tools { display: flex; gap: .55rem; flex-wrap: wrap; align-items: center; }
.app-installs__tools input[type="search"] { flex: 1; min-width: 220px; }
.install-badge {
  display: inline-flex; align-items: center; gap: .25rem;
  border-radius: 999px; padding: .18rem .6rem; font-size: .8rem; font-weight: 700;
}
.install-badge--on { background: #16a34a; color: #fff; }
.install-badge--off { background: #f1f5f9; color: #64748b; }
.app-installs td small, .app-installs td code { display: block; margin-top: .15rem; color: #64748b; }
@media (max-width: 720px) {
  .app-installs__stats { grid-template-columns: 1fr; }
}
.install-pick { display: grid; gap: .45rem; }
.install-pick__chips { display: flex; flex-wrap: wrap; gap: .4rem; min-height: 0; }
.install-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #eef6ff; border: 1px solid #cfe0f4; color: #06182e;
  border-radius: 999px; padding: .2rem .45rem .2rem .7rem; font-size: .82rem;
}
.install-chip button {
  border: 0; background: transparent; cursor: pointer; font-size: 1.05rem; line-height: 1; color: #64748b;
}
.site-inbox { max-width: 860px; }

/* فرم ثبت‌نام دانش‌آموز (intake) */
.intake-toolbar { margin: 0 0 1rem; }
.intake-toolbar--modes { display: flex; flex-wrap: wrap; gap: .55rem; }
.intake-toolbar .is-disabled { opacity: .45; pointer-events: none; }

/* دکمه‌های استاندارد در صفحات فرم ثبت‌نام */
.account-main .intake-toolbar .btn,
.account-main .intake-form-card__actions .btn,
.account-main .intake-detail-head .btn,
.account-main .intake-detail-code .btn,
.account-main .intake-copy-row .btn,
.account-main .intake-keys .btn,
.account-main .intake-creds .btn,
.account-main .intake-delete-panel .btn,
.account-main .intake-buy-card .btn,
.account-main .intake-create .btn,
.account-main .intake-paid-dialog .btn {
  padding: .52rem .95rem;
  font-size: .88rem;
  font-weight: 700;
  min-height: 2.4rem;
  border-radius: 10px !important;
  box-shadow: 0 2px 0 rgba(6, 24, 46, .1), 0 6px 14px rgba(6, 24, 46, .05);
}
.account-main .intake-form-card__actions .btn,
.account-main .intake-detail-code .btn,
.account-main .intake-copy-row .btn,
.account-main .intake-keys .btn,
.account-main .intake-creds .btn {
  padding: .4rem .78rem;
  font-size: .82rem;
  min-height: 2.15rem;
}
.intake-steps {
  display: flex; gap: .5rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 1rem;
}
.intake-steps li {
  padding: .35rem .75rem; border-radius: 999px; background: #eef2f7; color: #6b7c8e; font-size: .82rem; font-weight: 800;
}
.intake-steps li.is-on { background: #06182e; color: #fff; }

/* قوانین الزامی ساخت فرم */
.intake-terms {
  margin: 0 0 1.15rem;
  border: 1px solid #d7e4f2;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(201, 162, 39, .12), transparent 55%),
    linear-gradient(180deg, #f8fbff, #fff);
  box-shadow: 0 14px 34px rgba(6, 24, 46, .06);
}
.intake-terms__head {
  display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1rem;
}
.intake-terms__badge {
  width: 2.35rem; height: 2.35rem; border-radius: 14px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: #06182e; color: #f5d76e; font-weight: 900; font-size: 1.15rem;
  box-shadow: 0 10px 22px rgba(6, 24, 46, .18);
}
.intake-terms h2 { margin: .1rem 0 0; color: #06182e; font-size: 1.2rem; }
.intake-terms__alert {
  border: 1px solid #f0d78a; background: #fff8e8; border-radius: 16px;
  padding: .95rem 1.05rem; margin: 0 0 1rem; color: #5c4a12;
}
.intake-terms__alert strong { display: block; margin-bottom: .35rem; color: #7a5a0a; }
.intake-terms__alert p { margin: 0; line-height: 1.85; }
.intake-terms__alert em { font-style: normal; font-weight: 800; color: #8a6508; }
.intake-terms__list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem;
}
.intake-terms__list li {
  display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start;
  padding: .8rem .9rem; border-radius: 14px; border: 1px solid #e4edf6; background: #fff;
}
.intake-terms__num {
  width: 1.7rem; height: 1.7rem; border-radius: 999px;
  display: grid; place-items: center;
  background: #06182e; color: #fff; font-size: .78rem; font-weight: 800;
}
.intake-terms-check {
  display: flex; gap: .7rem; align-items: flex-start;
  margin-top: 1rem; padding: .95rem 1rem;
  border: 1px solid #cfe0f4; border-radius: 16px;
  background: linear-gradient(180deg, #f4f9ff, #fff);
  cursor: pointer; line-height: 1.75; color: #24384f;
}
.intake-terms-check input {
  width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: 0 0 auto; accent-color: #0d2b48;
}
.intake-terms-check span { font-weight: 700; }
.intake-create [data-intake-submit]:disabled {
  opacity: .45; cursor: not-allowed; filter: grayscale(.15);
}
.intake-create__title {
  margin: .15rem 0 1rem; color: #06182e; font-size: 1.2rem;
}
.intake-mode-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin: 0 0 1.25rem;
}
.intake-mode-card {
  text-align: right; cursor: pointer; border: 1px solid #d7e4f2; border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff, #fff);
  padding: 1.05rem 1.1rem 1.15rem; display: grid; gap: .45rem;
  box-shadow: 0 10px 24px rgba(6, 24, 46, .04);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
  color: #24384f; font: inherit;
}
.intake-mode-card:hover {
  border-color: rgba(201, 162, 39, .55);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(6, 24, 46, .08);
}
.intake-mode-card.is-active {
  border-color: #06182e;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(201, 162, 39, .16), transparent 55%),
    linear-gradient(180deg, #fff, #f7fbff);
  box-shadow: 0 16px 34px rgba(6, 24, 46, .1);
}
.intake-mode-card__icon {
  width: 2.4rem; height: 2.4rem; border-radius: 12px;
  display: grid; place-items: center;
  background: #06182e; color: #f5d76e; font-weight: 900; font-size: .95rem;
}
.intake-mode-card__icon--multi { font-size: .72rem; letter-spacing: -.02em; }
.intake-mode-card strong { color: #06182e; font-size: 1.02rem; }
.intake-mode-card span:last-child { color: #5f7285; line-height: 1.7; font-size: .9rem; }
/* overflow:hidden روی .panel در موبایل، دراپ‌داون select را خالی نشان می‌دهد */
.panel.intake-create,
.panel:has(.intake-grade-pane) {
  overflow: visible;
}
.intake-grade-pane__label { margin: 0; font-weight: 800; color: #06182e; }
.intake-grade-checks {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .55rem;
  margin: 0 0 .85rem;
}
.intake-grade-check {
  display: flex; gap: .55rem; align-items: center;
  padding: .7rem .8rem; border-radius: 14px; border: 1px solid #e2ebf4;
  background: #fff; cursor: pointer; font-weight: 700; color: #24384f;
  transition: border-color .15s ease, background .15s ease;
}
.intake-grade-check:has(input:checked) {
  border-color: rgba(201, 162, 39, .7);
  background: #fffaf0;
}
.intake-grade-check input { width: 1.05rem; height: 1.05rem; accent-color: #0d2b48; }
.intake-grade-check:has(input[type="radio"]:checked) {
  border-color: #06182e;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(201, 162, 39, .18), transparent 55%),
    #fffaf0;
  box-shadow: 0 8px 18px rgba(6, 24, 46, .06);
}
.intake-acc__chip.is-grade { background: #eef6ff; color: #1d4f7a; }
@media (max-width: 720px) {
  .intake-mode-grid { grid-template-columns: 1fr; }
}
.intake-buy-card__note {
  margin: .65rem 0 0 !important;
  padding: .7rem .85rem;
  border-radius: 12px;
  background: #fff8e8;
  border: 1px solid #f0d78a;
  color: #5c4a12 !important;
  font-size: .92rem;
  font-weight: 700;
}
.intake-pay-lightbox__rule {
  margin: 0 0 .85rem;
  padding: .7rem .85rem;
  border-radius: 12px;
  background: #f4f9ff;
  border: 1px solid #d7e4f2;
  color: #3d5670;
  line-height: 1.75;
  font-size: .92rem;
}
.intake-delete-panel {
  border-color: #f0c7c7;
  background: linear-gradient(180deg, #fff7f7, #fff);
  margin-top: .35rem;
}
.intake-delete-panel .btn {
  width: auto;
  min-width: 8.5rem;
}
.intake-creds {
  border: 1px solid #d9e6f5; background: linear-gradient(180deg, #f7fbff, #fff);
  box-shadow: 0 12px 30px rgba(6, 24, 46, .06);
}
.intake-creds h2 { margin-top: 0; color: #06182e; }
.intake-creds__grid {
  display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 1rem;
}
.intake-creds__grid span { display: block; font-size: .8rem; font-weight: 800; color: #3d5670; margin-bottom: .25rem; }
.intake-creds__grid code {
  display: block; direction: ltr; text-align: left; padding: .55rem .7rem; border-radius: 12px;
  background: #f3f7fb; border: 1px solid #e2ebf4; word-break: break-all; margin-bottom: .45rem;
}
.intake-warn {
  background: #fff8e8; border: 1px solid #f0d78a; border-radius: 14px; padding: .85rem 1rem; color: #5c4a12;
}
.intake-warn ul { margin: .4rem 0 0; padding-right: 1.1rem; line-height: 1.85; }
.intake-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 0 0 1rem;
}
.intake-stat {
  background: #fff; border: 1px solid #e6edf4; border-radius: 16px; padding: .85rem 1rem;
  box-shadow: 0 8px 20px rgba(6, 24, 46, .04);
}
.intake-stat span { display: block; color: #6b7c8e; font-size: .78rem; font-weight: 700; }
.intake-stat strong { display: block; margin-top: .25rem; color: #06182e; font-size: 1.15rem; }
.intake-copy-row { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; }
.intake-copy-row input { flex: 1; min-width: 0; }
.intake-acc { display: grid; gap: .55rem; }
.intake-acc__item {
  border: 1px solid #e2ebf4; border-radius: 16px; background: #fff; overflow: hidden;
  box-shadow: 0 8px 22px rgba(6, 24, 46, .04);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.intake-acc__item[open] {
  border-color: rgba(201, 162, 39, .45);
  box-shadow: 0 14px 32px rgba(6, 24, 46, .08);
}
.intake-acc__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: .75rem;
  align-items: center; padding: .95rem 1.05rem; font-weight: 700; color: #06182e;
  background: linear-gradient(180deg, #fbfcfe, #fff);
}
.intake-acc__item summary::-webkit-details-marker { display: none; }
.intake-acc__item summary::after {
  content: "";
  width: 10px; height: 10px; flex: 0 0 auto;
  border-right: 2px solid #8aa0b5; border-bottom: 2px solid #8aa0b5;
  transform: rotate(45deg); transition: transform .2s ease; margin-inline-start: .35rem;
}
.intake-acc__item[open] summary::after { transform: rotate(225deg); }
.intake-acc__who { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; min-width: 0; }
.intake-acc__who strong { font-size: 1rem; }
.intake-acc__chip {
  display: inline-flex; align-items: center;
  padding: .18rem .55rem; border-radius: 999px; font-size: .72rem; font-style: normal; font-weight: 800;
  background: #eef3f8; color: #4d6278;
}
.intake-acc__chip.is-imported { background: #e8f7ee; color: #1b7f4a; }
.intake-acc__meta { color: #6b7c8e; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.intake-acc__body { padding: 0 1rem 1rem; border-top: 1px solid #eef2f6; }
.intake-public {
  background:
    radial-gradient(circle at 12% 8%, rgba(212, 175, 55, .16), transparent 42%),
    linear-gradient(180deg, #f4f8fc 0%, #eef3f8 45%, #f7f9fb 100%);
  padding: 1.5rem 0 3rem;
}
.intake-public__shell { max-width: 720px; }
.intake-public__hero {
  margin-bottom: 1.1rem; padding: 1.35rem 1.2rem; border-radius: 22px;
  background: linear-gradient(135deg, #06182e 0%, #143e66 70%, #1c547f 100%); color: #fff;
  box-shadow: 0 18px 40px rgba(6, 24, 46, .22);
}
.intake-public__brand {
  margin: 0 0 .35rem; font-size: 1.35rem; font-weight: 900; letter-spacing: .02em; color: #f0d78a;
}
.intake-public__hero h1 { margin: 0 0 .45rem; font-size: clamp(1.35rem, 3vw, 1.85rem); }
.intake-public__hero p { margin: 0; color: rgba(255,255,255,.86); line-height: 1.75; }
.intake-public__grade {
  display: inline-flex; margin-top: .9rem; padding: .35rem .8rem; border-radius: 999px;
  background: rgba(240, 215, 138, .18); color: #f7e7b0; font-weight: 800; font-size: .9rem;
}
.intake-public__done { text-align: center; padding: 2rem 1.2rem; }
.intake-public-empty { text-align: center; padding: 2rem 1rem; }
.intake-wizard__tabs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-bottom: .85rem;
}
.intake-wizard__tabs button {
  border: 1px solid #d7e2ee; background: #fff; border-radius: 12px; padding: .55rem .35rem;
  font-weight: 800; color: #5a6b7d; cursor: pointer;
}
.intake-wizard__tabs button.is-active {
  background: #06182e; border-color: #06182e; color: #fff;
}
.intake-wizard__pane { animation: rise .45s ease both; }
@media (max-width: 720px) {
  .intake-stats { grid-template-columns: 1fr 1fr; }
  .intake-wizard__tabs { grid-template-columns: 1fr 1fr; }
  .intake-copy-row { flex-direction: column; align-items: stretch; }
}

.intake-user-notice {
  margin: 0 0 1rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid #f0d78a;
  background: linear-gradient(180deg, #fff9ea, #fffdf7);
  color: #5c4a12;
  box-shadow: 0 10px 24px rgba(180, 140, 20, .08);
}
.intake-user-notice strong {
  display: block;
  margin-bottom: .35rem;
  font-size: .95rem;
  color: #7a5a10;
}
.intake-user-notice p {
  margin: 0;
  line-height: 1.9;
  font-size: .92rem;
}
.intake-list-board {
  background: #fff;
  border: 1px solid #e6edf4;
  border-radius: 18px;
  padding: 1rem 1.05rem 1.15rem;
  box-shadow: 0 10px 28px rgba(6, 24, 46, .05);
}
.intake-list-board__head {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
  margin-bottom: 1rem;
}
.intake-list-board__head h2 { margin: 0; color: #06182e; font-size: 1.15rem; }
.intake-list-board__count {
  font-weight: 800; color: #143e66; background: #eef4fb;
  border-radius: 999px; padding: .28rem .7rem; font-size: .82rem;
}
.intake-form-cards { display: grid; gap: .85rem; }
.intake-form-card {
  border: 1px solid #e6edf4; border-radius: 16px; padding: 1rem;
  background: linear-gradient(180deg, #fbfcfe, #fff);
}
.intake-form-card__top {
  display: flex; justify-content: space-between; gap: .75rem; align-items: flex-start;
  margin-bottom: .85rem;
}
.intake-form-card__top h3 { margin: 0 0 .25rem; color: #06182e; font-size: 1.02rem; }
.intake-form-card__top p { margin: 0; color: #6b7c8e; font-size: .86rem; }
.intake-chip {
  flex-shrink: 0; border-radius: 999px; padding: .22rem .65rem;
  font-size: .75rem; font-weight: 800;
}
.intake-chip.is-on { background: #e8f7ee; color: #0f7a3f; }
.intake-chip.is-off { background: #f1f4f8; color: #6b7c8e; }
.intake-chip.is-expired { background: #fff1f0; color: #b42318; }
.intake-form-card__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-bottom: .9rem;
}
.intake-form-card__stats > div {
  background: #f5f8fc; border-radius: 12px; padding: .7rem .8rem;
}
.intake-form-card__stats span {
  display: block; color: #6b7c8e; font-size: .75rem; font-weight: 700; margin-bottom: .2rem;
}
.intake-form-card__stats strong { color: #06182e; font-size: 1.05rem; }
.intake-code { letter-spacing: .04em; font-family: ui-monospace, Consolas, monospace; }
.intake-form-card__actions { display: flex; gap: .45rem; flex-wrap: wrap; align-items: center; }
.intake-detail-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: .8rem; flex-wrap: wrap;
  margin-bottom: .35rem;
}
.intake-detail-hero {
  display: grid; grid-template-columns: 1.3fr .9fr; gap: .85rem; margin-bottom: 1rem;
}
.intake-detail-hero__main {
  background: linear-gradient(135deg, #06182e 0%, #143e66 70%, #1c547f 100%);
  color: #fff; border-radius: 16px; padding: 1.05rem 1.1rem;
  box-shadow: 0 12px 28px rgba(6, 24, 46, .16);
}
.intake-detail-hero__badge {
  display: inline-flex; margin-bottom: .55rem; border-radius: 999px;
  padding: .18rem .65rem; font-size: .74rem; font-weight: 800;
}
.intake-detail-hero__badge.is-on { background: rgba(232, 247, 238, .2); color: #d8f3e4; }
.intake-detail-hero__badge.is-off { background: rgba(255,255,255,.12); color: #d7e2ee; }
.intake-detail-hero__badge.is-expired { background: rgba(255, 241, 240, .2); color: #ffd2cd; }
.intake-detail-hero__main h2 { margin: 0 0 .3rem; font-size: 1.18rem; }
.intake-detail-hero__main > p { margin: 0 0 .75rem; color: rgba(255,255,255,.8); font-size: .9rem; }
.intake-detail-code {
  display: flex; gap: .45rem; flex-wrap: wrap; align-items: center;
}
.intake-detail-code code {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px; padding: .45rem .7rem; letter-spacing: .05em; font-size: .95rem;
}
.intake-detail-metrics {
  display: grid; gap: .55rem;
}
.intake-metric {
  background: #fff; border: 1px solid #e6edf4; border-radius: 14px;
  padding: .75rem .9rem; box-shadow: 0 6px 16px rgba(6, 24, 46, .04);
}
.intake-metric span { display: block; color: #6b7c8e; font-size: .76rem; font-weight: 700; }
.intake-metric strong { display: block; margin-top: .2rem; color: #06182e; font-size: 1.15rem; }
.intake-metric__date { font-size: .92rem !important; line-height: 1.55; }
.intake-link-panel { margin-bottom: 1rem; }
@media (max-width: 860px) {
  .intake-detail-hero { grid-template-columns: 1fr; }
  .intake-form-card__stats { grid-template-columns: 1fr; }
}

.intake-security-notice {
  margin: 0 0 1rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid #cfe0f2;
  background: linear-gradient(180deg, #f4f8fc, #fff);
  color: #1d3b57;
  box-shadow: 0 10px 24px rgba(6, 24, 46, .05);
}
.intake-security-notice strong {
  display: block;
  margin-bottom: .35rem;
  color: #0d2b48;
}
.intake-security-notice p {
  margin: 0;
  line-height: 1.9;
  font-size: .92rem;
}
.intake-intro-card {
  position: relative;
  overflow: hidden;
  margin: 0 0 1rem;
  padding: 1.25rem 1.2rem 1.3rem;
  border-radius: 22px;
  border: 1px solid #d7e4f1;
  background: linear-gradient(135deg, #06182e 0%, #143e66 58%, #1f5f8f 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(6, 24, 46, .16);
}
.intake-intro-card__glow {
  position: absolute;
  inset-inline-end: -40px;
  top: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.35), transparent 70%);
  pointer-events: none;
}
.intake-intro-card .ticket-board__kicker { color: rgba(255,255,255,.72); }
.intake-intro-card h2 { margin: .2rem 0 .85rem; font-size: 1.28rem; }
.intake-intro-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}
.intake-intro-card__list li {
  position: relative;
  padding-inline-start: 1.1rem;
  line-height: 1.85;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
}
.intake-intro-card__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .72rem;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #d4af37;
}
.intake-buy-card {
  margin: 0 0 1rem;
  border: 1px solid #e6edf4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 24, 46, .06);
  overflow: hidden;
}
.intake-buy-card__body {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 1rem;
  padding: 1.2rem;
  align-items: center;
}
.intake-buy-card h2 { margin: .15rem 0 .55rem; color: #06182e; font-size: 1.18rem; }
.intake-buy-card p { margin: 0; color: #5f7285; line-height: 1.8; }
.intake-buy-card__price {
  margin-top: .9rem;
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  background: #f4f8fc;
  border-radius: 14px;
  padding: .7rem .9rem;
}
.intake-buy-card__price span { color: #6b7c8e; font-size: .82rem; font-weight: 700; }
.intake-buy-card__price strong { color: #0d2b48; font-size: 1.25rem; }
.intake-buy-card__credit {
  margin-top: .7rem !important;
  color: #0f7a3f !important;
  font-weight: 700;
}
.intake-buy-card__actions {
  display: grid;
  gap: .55rem;
  justify-items: stretch;
}
.intake-paid-success {
  margin: 0 0 1rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid #b7e4c7;
  background: linear-gradient(180deg, #eefbf3, #f7fffa);
  color: #0f5132;
}
.intake-paid-success strong { display: block; margin-bottom: .3rem; }
.intake-paid-success p { margin: 0; line-height: 1.8; }
.intake-paid-dialog {
  text-align: center;
}
.intake-paid-dialog h2 {
  margin: .25rem 0 .7rem;
  color: #0f5132;
}
.intake-paid-dialog > p {
  margin: 0 0 .55rem;
  color: #1d3b57;
  line-height: 1.85;
}
.intake-pay-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(3, 11, 22, .72);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.intake-pay-lightbox[hidden] { display: none !important; }
.intake-pay-lightbox__panel {
  position: relative;
  width: min(520px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.intake-pay-lightbox__close {
  position: absolute;
  top: .85rem;
  inset-inline-start: .85rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #eef3f8;
  font-size: 1.45rem;
  cursor: pointer;
  color: #143e66;
}
.intake-pay-lightbox h2 { margin: .2rem 0 .9rem; color: #06182e; }
.intake-pay-lightbox__summary {
  display: grid;
  gap: .55rem;
  margin-bottom: .9rem;
}
.intake-pay-lightbox__summary > div {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  background: #f5f8fc;
  border-radius: 12px;
  padding: .75rem .85rem;
}
.intake-pay-lightbox__summary span { color: #6b7c8e; font-size: .84rem; font-weight: 700; }
.intake-pay-lightbox__summary strong { color: #06182e; }
html.intake-pay-open { overflow: hidden; }
@media (max-width: 860px) {
  .intake-buy-card__body { grid-template-columns: 1fr; }
}

/* ===== Admin panel polish ===== */
.admin-body {
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(212, 175, 55, .08), transparent 55%),
    linear-gradient(180deg, #eef3f8 0%, #f7f9fc 40%, #f4f7fb 100%);
}
.admin-body .admin-main {
  background: transparent;
}
.admin-body .admin-top {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(214, 226, 238, .9);
  border-radius: 18px;
  padding: .85rem 1rem;
  box-shadow: 0 10px 28px rgba(6, 24, 46, .05);
  margin-bottom: 1rem;
}
.admin-body .admin-top h1 {
  font-size: 1.2rem;
  color: #06182e;
  letter-spacing: -.01em;
}
.admin-body .admin-side {
  background: linear-gradient(185deg, #041221 0%, #06182e 45%, #0a2742 100%);
  border-inline-end: 1px solid rgba(255,255,255,.05);
  box-shadow: inset -1px 0 0 rgba(212,175,55,.08);
}
.admin-body .admin-brand {
  padding: .35rem .25rem .85rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: .85rem;
}
.admin-body .admin-brand strong {
  font-size: 1rem;
  letter-spacing: -.01em;
}
.admin-body .admin-acc__btn {
  border-radius: 12px;
  padding: .7rem .75rem;
  font-weight: 700 !important;
  color: rgba(255,255,255,.78);
}
.admin-body .admin-side a {
  border-radius: 11px;
  margin: .12rem 0;
  padding: .58rem .75rem;
  font-size: .9rem;
}
.admin-body .admin-side a.is-active {
  background: linear-gradient(135deg, rgba(212,175,55,.22), rgba(212,175,55,.1));
  color: #f3d27a;
  box-shadow: inset 0 0 0 1px rgba(212,175,55,.28);
}
.admin-body .admin-main .panel {
  background: #fff;
  border: 1px solid #e2eaf3;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(6, 24, 46, .045);
  padding: 1.15rem 1.15rem 1.25rem;
}
.admin-body .admin-main .stat {
  background: #fff;
  border: 1px solid #e2eaf3;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(6, 24, 46, .04);
  padding: 1rem;
}
.admin-body .admin-main .stat strong {
  color: #06182e;
  font-size: 1.35rem;
}
.admin-body .admin-main .table {
  border-collapse: separate;
  border-spacing: 0;
}
.admin-body .admin-main .table thead th {
  background: #f3f7fb;
  color: #143e66;
  font-weight: 700;
  border-bottom: 1px solid #e2eaf3;
}
.admin-body .admin-main .table td,
.admin-body .admin-main .table th {
  border-color: #eef2f6;
}
.admin-body .admin-main .table-wrap {
  border: 1px solid #e2eaf3;
  border-radius: 16px;
  overflow: auto;
  background: #fff;
  box-shadow: 0 8px 22px rgba(6, 24, 46, .04);
}
.admin-page-head {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #06182e, #143e66);
  color: #fff;
  box-shadow: 0 14px 32px rgba(6, 24, 46, .14);
}
.admin-page-head__kicker {
  margin: 0 0 .35rem;
  font-size: .72rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.65);
  font-weight: 800;
}
.admin-page-head .muted,
.admin-page-head a { color: rgba(255,255,255,.82); }
.admin-page-head a:hover { color: #f3d27a; }
.content-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 1rem;
  padding: .45rem;
  background: #fff;
  border: 1px solid #e2eaf3;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(6, 24, 46, .04);
}
.content-subnav__item {
  display: inline-flex;
  align-items: center;
  padding: .48rem .8rem;
  border-radius: 11px;
  color: #33506b;
  font-weight: 700;
  font-size: .86rem;
  text-decoration: none;
}
.content-subnav__item:hover { background: #f3f7fb; color: #06182e; }
.content-subnav__item.is-on {
  background: linear-gradient(135deg, #06182e, #143e66);
  color: #fff;
}
.settings-shell { max-width: 980px; }
.settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 1rem;
  padding: .45rem;
  background: #fff;
  border: 1px solid #e2eaf3;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(6, 24, 46, .04);
}
.settings-tabs button {
  border: 0 !important;
  background: transparent !important;
  color: #33506b !important;
  padding: .55rem .85rem !important;
  box-shadow: none !important;
  transform: none !important;
}
.settings-tabs button:hover {
  background: #f3f7fb !important;
  color: #06182e !important;
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}
.settings-tabs button.is-active {
  background: linear-gradient(135deg, #06182e, #143e66) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(6, 24, 46, .16) !important;
}
.settings-form.panel {
  border-radius: 20px !important;
}
.settings-hero {
  margin: 0 0 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4f8fc, #eef4fa);
  border: 1px solid #dce7f2;
}
.settings-hero--intake {
  background: linear-gradient(135deg, #06182e 0%, #143e66 70%, #1c547f 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 36px rgba(6, 24, 46, .16);
}
.settings-hero__kicker {
  margin: 0 0 .35rem;
  font-size: .72rem;
  letter-spacing: .08em;
  font-weight: 800;
  color: #6b7c8e;
}
.settings-hero--intake .settings-hero__kicker { color: rgba(255,255,255,.65); }
.settings-hero h2 {
  margin: 0 0 .45rem;
  font-size: 1.2rem;
  color: #06182e;
}
.settings-hero--intake h2 { color: #fff; }
.settings-hero p {
  margin: 0;
  line-height: 1.8;
  color: #5a6b7d;
  font-size: .92rem;
}
.settings-hero--intake p { color: rgba(255,255,255,.86); }
.settings-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.settings-card {
  background: linear-gradient(180deg, #fbfcfe, #fff);
  border: 1px solid #e6edf4;
  border-radius: 16px;
  padding: 1rem;
}
.settings-save-bar {
  position: sticky;
  bottom: .75rem;
  margin-top: 1.25rem;
  padding: .85rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  border: 1px solid #e2eaf3;
  box-shadow: 0 12px 30px rgba(6, 24, 46, .1);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: flex-end;
  z-index: 5;
}
.admin-body .set-acc {
  border-radius: 14px !important;
  border-color: #e2eaf3;
  box-shadow: 0 6px 16px rgba(6, 24, 46, .03);
}
.admin-body .set-acc > summary {
  font-weight: 700 !important;
}
.admin-body .flash,
.admin-body .toast {
  border-radius: 14px;
}
.bz-hero {
  background: linear-gradient(135deg, #0a3d24 0%, #06182e 55%, #0b2748 100%) !important;
}
.bz-hero .sales-hero__kicker { color: #8fd9a8; }
#bz-table tfoot td {
  background: #f4f8f5;
  border-top: 2px solid #c8e6c9;
  padding-top: .9rem;
  padding-bottom: .9rem;
}
@media (max-width: 900px) {
  .settings-card-grid { grid-template-columns: 1fr; }
  .gw-toggles { grid-template-columns: 1fr; }
}

/* —— Dashboard colorful stats —— */
.admin-body .dash-block {
  margin-bottom: 1.15rem;
}
.admin-body .dash-block__title {
  margin: 0 0 .65rem;
  font-size: .92rem;
  font-weight: 800;
  color: #143e66;
  letter-spacing: -.01em;
}
.admin-body .admin-main .stat {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(145deg, var(--stat-edge, #d7e3f0), #fff) border-box;
  box-shadow: 0 10px 26px rgba(6, 24, 46, .05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.admin-body .admin-main .stat--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.admin-body .admin-main .stat--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(6, 24, 46, .09);
}
.admin-body .admin-main .stat__icon {
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: var(--stat-icon-bg, #eef4fb);
  box-shadow: inset 0 0 0 1px var(--stat-icon-ring, rgba(20, 62, 102, .08));
}
.admin-body .admin-main .stat__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.admin-body .admin-main .stat__body .muted {
  font-size: .78rem;
  font-weight: 700;
  color: #5a6f86;
}
.admin-body .admin-main .stat__body .muted a {
  color: inherit;
  text-decoration: none;
}
.admin-body .admin-main .stat strong {
  color: var(--stat-value, #06182e);
  font-size: 1.28rem;
  line-height: 1.2;
}

.admin-body .stat--users { --stat-edge: #90caf9; --stat-icon-bg: #e3f2fd; --stat-icon-ring: rgba(25,118,210,.15); --stat-value: #1565c0; }
.admin-body .stat--license { --stat-edge: #ffe082; --stat-icon-bg: #fff8e1; --stat-icon-ring: rgba(245,158,11,.18); --stat-value: #b45309; }
.admin-body .stat--orders { --stat-edge: #a5d6a7; --stat-icon-bg: #e8f5e9; --stat-icon-ring: rgba(46,125,50,.15); --stat-value: #2e7d32; }
.admin-body .stat--revenue { --stat-edge: #ce93d8; --stat-icon-bg: #f3e5f5; --stat-icon-ring: rgba(123,31,162,.14); --stat-value: #6a1b9a; }
.admin-body .stat--today { --stat-edge: #80deea; --stat-icon-bg: #e0f7fa; --stat-icon-ring: rgba(0,151,167,.14); --stat-value: #00838f; }
.admin-body .stat--visitors { --stat-edge: #9fa8da; --stat-icon-bg: #e8eaf6; --stat-icon-ring: rgba(57,73,171,.14); --stat-value: #3949ab; }
.admin-body .stat--online { --stat-edge: #81c784; --stat-icon-bg: #e8f5e9; --stat-icon-ring: rgba(56,142,60,.16); --stat-value: #2e7d32; }
.admin-body .stat--more { --stat-edge: #90caf9; --stat-icon-bg: #e3f2fd; --stat-icon-ring: rgba(21,101,192,.14); --stat-value: #0d47a1; }
.admin-body .stat--warn { --stat-edge: #ffcc80; --stat-icon-bg: #fff3e0; --stat-icon-ring: rgba(239,108,0,.16); --stat-value: #e65100; }
.admin-body .stat--probe { --stat-edge: #b0bec5; --stat-icon-bg: #eceff1; --stat-icon-ring: rgba(69,90,100,.14); --stat-value: #455a64; }
.admin-body .stat--block { --stat-edge: #ef9a9a; --stat-icon-bg: #ffebee; --stat-icon-ring: rgba(198,40,40,.16); --stat-value: #c62828; }
.admin-body .stat--shield { --stat-edge: #80cbc4; --stat-icon-bg: #e0f2f1; --stat-icon-ring: rgba(0,121,107,.14); --stat-value: #00695c; }

.admin-body .dash-alerts {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0 0 1.25rem;
}
.admin-body .dash-alert {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 700;
  color: #143e66;
  background: #f3f7fb;
  border: 1px solid #e2eaf3;
  transition: transform .12s ease, box-shadow .12s ease;
}
.admin-body .dash-alert:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(6, 24, 46, .08);
}
.admin-body .dash-alert__icon {
  font-size: 1rem;
  line-height: 1;
}
.admin-body .dash-alert--amber { background: #fff8e1; border-color: #ffe082; color: #9a6700; }
.admin-body .dash-alert--blue { background: #e3f2fd; border-color: #90caf9; color: #1565c0; }
.admin-body .dash-alert--navy { background: #e8eef6; border-color: #b7c9de; color: #0a2742; }
.admin-body .dash-alert--teal { background: #e0f2f1; border-color: #80cbc4; color: #00695c; }
.admin-body .dash-alert--slate { background: #eceff1; border-color: #cfd8dc; color: #455a64; }

.admin-body .dash-panel__head {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .55rem;
}
.admin-body .dash-panel__head h3 {
  margin: 0;
}
.admin-body .dash-panel__icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: #eef4fb;
  box-shadow: inset 0 0 0 1px rgba(20, 62, 102, .08);
}
.admin-body .dash-panel--search .dash-panel__icon {
  background: #e3f2fd;
}
.admin-body .dash-panel--otp .dash-panel__icon {
  background: #fff3e0;
}
@media (max-width: 700px) {
  .admin-body .dash-alerts {
    flex-direction: column;
  }
  .admin-body .dash-alert {
    width: 100%;
    border-radius: 14px;
  }
}

/* —— Dashboard charts —— */
.admin-body .dash-charts {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  gap: 1rem;
  margin: 0 0 1.25rem;
}
.admin-body .dash-chart-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(520px 180px at 100% 0%, rgba(212,175,55,.12), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f7fafc 100%);
  border: 1px solid #e2eaf3;
  box-shadow: 0 16px 36px rgba(6, 24, 46, .06);
  padding: 1.05rem 1.15rem 1.2rem;
}
.admin-body .dash-chart-card--donut {
  background:
    radial-gradient(420px 200px at 0% 100%, rgba(46,125,50,.10), transparent 50%),
    radial-gradient(420px 180px at 100% 0%, rgba(239,108,0,.08), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f8fbf8 100%);
}
.admin-body .dash-chart-card--line {
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(21,101,192,.10), transparent 55%),
    radial-gradient(420px 180px at 0% 100%, rgba(0,137,123,.08), transparent 50%),
    linear-gradient(165deg, #ffffff 0%, #f6f9fc 100%);
}
.admin-body .dash-chart-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}
.admin-body .dash-chart-card__eyebrow {
  margin: 0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #7a8ea5;
  text-transform: uppercase;
}
.admin-body .dash-chart-card__title {
  margin: .15rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0a2742;
}
.admin-body .dash-chart-card__link {
  flex: 0 0 auto;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
  color: #1565c0;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(21,101,192,.08);
  border: 1px solid rgba(21,101,192,.14);
}
.admin-body .dash-chart-card__link:hover {
  background: rgba(21,101,192,.14);
}
.admin-body .dash-chart-card__body--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: 1rem;
  align-items: center;
}
.admin-body .dash-donut-wrap {
  position: relative;
  width: min(100%, 220px);
  margin-inline: auto;
}
.admin-body .dash-donut-wrap canvas {
  width: 100% !important;
  height: auto !important;
}
.admin-body .dash-donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}
.admin-body .dash-donut-center strong {
  font-size: 1.55rem;
  line-height: 1;
  color: #0a2742;
}
.admin-body .dash-donut-center span {
  margin-top: .25rem;
  font-size: .75rem;
  font-weight: 700;
  color: #6b7f95;
}
.admin-body .dash-donut-meta {
  display: grid;
  gap: .7rem;
}
.admin-body .dash-kpi {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem .8rem;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(226,234,243,.95);
  box-shadow: 0 6px 16px rgba(6,24,46,.03);
}
.admin-body .dash-kpi__dot {
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(0,0,0,.04);
}
.admin-body .dash-kpi--green .dash-kpi__dot { background: #43a047; }
.admin-body .dash-kpi--amber .dash-kpi__dot { background: #fb8c00; }
.admin-body .dash-kpi em {
  display: block;
  font-style: normal;
  font-size: .75rem;
  font-weight: 700;
  color: #6b7f95;
}
.admin-body .dash-kpi strong {
  display: block;
  font-size: 1.15rem;
  color: #0a2742;
  line-height: 1.2;
}
.admin-body .dash-rate {
  margin-top: .15rem;
}
.admin-body .dash-rate__bar {
  height: .45rem;
  border-radius: 999px;
  background: #e8eef5;
  overflow: hidden;
  margin-bottom: .4rem;
}
.admin-body .dash-rate__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2e7d32, #66bb6a);
}
.admin-body .dash-rate span {
  font-size: .78rem;
  font-weight: 800;
  color: #3d5a40;
}
.admin-body .dash-line-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: .55rem;
  font-size: .78rem;
  font-weight: 800;
  color: #5a6f86;
}
.admin-body .dash-leg {
  display: inline-block;
  width: .85rem;
  height: .28rem;
  border-radius: 999px;
  margin-left: .35rem;
  vertical-align: middle;
}
.admin-body .dash-leg--hits { background: #1565c0; }
.admin-body .dash-leg--visitors { background: #00897b; }
.admin-body .dash-line-wrap {
  height: 220px;
  position: relative;
}
@media (max-width: 980px) {
  .admin-body .dash-charts {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .admin-body .dash-chart-card__body--split {
    grid-template-columns: 1fr;
  }
  .admin-body .dash-donut-wrap {
    width: min(100%, 200px);
  }
  .admin-body .dash-line-wrap {
    height: 200px;
  }
}

/* —— Admin video gallery management —— */
.admin-body .video-admin-list {
  display: grid;
  gap: .85rem;
}
.admin-body .video-admin-card {
  border: 1px solid #e2eaf3;
  border-radius: 16px;
  padding: 1rem 1.05rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(6, 24, 46, .04);
}
.admin-body .video-admin-card.is-editing {
  border-color: #90caf9;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, .08);
}
.admin-body .video-admin-card__head {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  flex-wrap: wrap;
}
.admin-body .video-admin-card__num {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .85rem;
  color: #0a2742;
  background: #eef4fb;
  border: 1px solid #d7e3f0;
}
.admin-body .video-admin-card__titles {
  flex: 1 1 12rem;
  min-width: 0;
}
.admin-body .video-admin-card__titles strong {
  display: block;
  color: #06182e;
  margin-bottom: .2rem;
}
.admin-body .video-admin-card__titles code {
  font-size: .78rem;
  color: #5a6f86;
  background: #f3f7fb;
  padding: .15rem .4rem;
  border-radius: 6px;
}
.admin-body .video-admin-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-inline-start: auto;
}
@media (max-width: 700px) {
  .admin-body .video-admin-card__actions {
    width: 100%;
    margin-inline-start: 0;
  }
}


/* ===== Intake submission detail (teacher + admin) ===== */
.intake-keys {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem;
}
.intake-key-card {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1rem; border-radius: 16px;
  background: linear-gradient(165deg, #f7fbff, #fff);
  border: 1px solid #e2ebf4;
}
.intake-key-card__icon {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #f5e19a, #c9a227); color: #06182e;
  box-shadow: 0 8px 18px rgba(201,162,39,.28);
}
.intake-key-card__body { min-width: 0; flex: 1; }
.intake-key-card__body > span {
  display: block; font-size: .78rem; font-weight: 800; color: #3d5670; margin-bottom: .35rem;
}
.intake-key-card__body code {
  display: block; direction: ltr; text-align: left;
  padding: .55rem .7rem; border-radius: 12px; margin-bottom: .45rem;
  background: #06182e; color: #f5e19a; font-size: 1.02rem; letter-spacing: .04em;
  word-break: break-all;
}
.intake-key-card--link .intake-key-card__icon {
  background: linear-gradient(135deg, #1b4f7a, #06182e); color: #f5e19a;
}

.sdet { display: grid; gap: 1rem; padding-top: .9rem; }
.sdet__progress {
  padding: .75rem .85rem; border-radius: 14px;
  background: linear-gradient(135deg, rgba(6,24,46,.04), rgba(201,162,39,.08));
  border: 1px solid #e8eef5;
}
.sdet__progress-meta {
  display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap;
  font-size: .82rem; font-weight: 700; color: #3d5670; margin-bottom: .45rem;
}
.sdet__progress-meta strong { color: #06182e; }
.sdet__progress-bar {
  height: 8px; border-radius: 999px; background: #e4ebf2; overflow: hidden;
}
.sdet__progress-bar i {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #c9a227, #f5e19a 55%, #1b7f4a);
}

.sdet__group {
  border: 1px solid #e8eef5; border-radius: 14px; overflow: hidden; background: #fbfcfe;
}
.sdet__group-title {
  margin: 0; padding: .65rem .9rem;
  font-size: .88rem; font-weight: 900; color: #06182e;
  background: linear-gradient(90deg, rgba(201,162,39,.12), transparent);
  border-bottom: 1px solid #e8eef5;
}
.sdet__fields { margin: 0; display: grid; }
.sdet__row {
  display: grid; grid-template-columns: minmax(7.5rem, 32%) 1fr;
  gap: .55rem; padding: .7rem .9rem;
  border-bottom: 1px solid #eef2f6;
}
.sdet__row:last-child { border-bottom: 0; }
.sdet__row dt {
  margin: 0; font-size: .82rem; font-weight: 800; color: #5a6b7d;
}
.sdet__row dd { margin: 0; font-size: .92rem; font-weight: 700; color: #06182e; word-break: break-word; }
.sdet__row.is-empty { background: rgba(198, 40, 40, .03); }
.sdet__row.is-filled { background: transparent; }
.sdet__missing {
  display: inline-flex; align-items: center;
  padding: .15rem .55rem; border-radius: 999px;
  font-style: normal; font-size: .78rem; font-weight: 800;
  background: #ffe8e6; color: #b71c1c;
}
.sdet__photo {
  display: inline-block; border-radius: 12px; overflow: hidden;
  border: 1px solid #e2ebf4; box-shadow: 0 8px 18px rgba(6,24,46,.08);
}
.sdet__photo img {
  display: block; width: 96px; height: 96px; object-fit: cover;
}

.intake-admin-detail__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.intake-admin-stats {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .55rem;
}
.intake-admin-stats > div {
  background: #f7fafc; border: 1px solid #e6edf4; border-radius: 12px; padding: .7rem .8rem;
}
.intake-admin-stats span { display: block; font-size: .72rem; font-weight: 700; color: #6b7c8e; }
.intake-admin-stats strong { display: block; margin-top: .2rem; color: #06182e; font-size: .95rem; }
.intake-admin-pass {
  margin-top: .95rem; padding: .85rem 1rem; border-radius: 14px;
  background: #fff8e8; border: 1px solid #f0d78a;
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem;
}
.intake-admin-pass code {
  padding: .35rem .6rem; border-radius: 8px; background: #06182e; color: #f5e19a;
}
.intake-admin-subs {
  margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid #e6edf4;
}
.intake-admin-subs header h3 { margin: 0 0 .25rem; }
.intake-admin-subs header p { margin: 0 0 .85rem; }

@media (max-width: 900px) {
  .intake-keys { grid-template-columns: 1fr; }
  .intake-admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sdet__row { grid-template-columns: 1fr; gap: .2rem; }
  .intake-acc__item summary { flex-direction: column; align-items: flex-start; }
}

.intake-grant-panel {
  border: 1px solid #e2ebf4;
  background: linear-gradient(165deg, #f7fbff, #fff);
  box-shadow: 0 10px 26px rgba(6,24,46,.05);
}
.intake-grant-form__grid {
  display: grid;
  grid-template-columns: 1.6fr .7fr auto;
  gap: .75rem;
  align-items: end;
}
.intake-grant-form__go { padding-bottom: .1rem; }
.intake-sub-search {
  margin: 0;
  display: grid;
  gap: .4rem;
  max-width: none;
  padding: 1rem 1.2rem .85rem;
  box-sizing: border-box;
}
.intake-sub-search label {
  font-size: .82rem;
  font-weight: 800;
  color: #3d5670;
}
.intake-sub-search input {
  width: 100%;
  max-width: 28rem;
  border: 1px solid #d7e2ee;
  border-radius: 12px;
  padding: .65rem .9rem;
  font: inherit;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  box-sizing: border-box;
}
.intake-sub-search input:focus {
  outline: none;
  border-color: rgba(201, 162, 39, .55);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .15);
}
.intake-subs-board .intake-acc {
  padding: 0 1.2rem 1.15rem;
  box-sizing: border-box;
}
.intake-subs-board .intake-sub-empty {
  padding: 0 1.2rem 1.15rem;
  margin: 0;
}
.intake-keys-panel { padding: 1rem 1.1rem; margin-bottom: 1rem; }
.intake-copy-row { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; }
.intake-copy-row input {
  flex: 1;
  min-width: 0;
  padding: .5rem .7rem;
  font-size: .88rem;
}
.intake-acc__item[hidden] { display: none !important; }
@media (max-width: 800px) {
  .intake-grant-form__grid { grid-template-columns: 1fr; }
}

/* —— Updates content studio —— */
.upd-studio__head { margin-bottom: 1rem; }
.upd-studio__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin: 0 0 1rem;
}
.upd-studio__stats .stat span {
  display: block;
  color: #5b7390;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: .35rem;
}
.upd-studio__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 1rem;
  padding: .35rem;
  border-radius: 14px;
  background: #eef3f8;
  border: 1px solid #e2eaf3;
}
.upd-studio__tab {
  display: inline-flex;
  align-items: center;
  padding: .55rem 1rem;
  border-radius: 11px;
  font-weight: 800;
  font-size: .9rem;
  color: #3d5a78;
  text-decoration: none;
}
.upd-studio__tab:hover { background: #fff; color: #06182e; }
.upd-studio__tab.is-on {
  background: linear-gradient(135deg, #06182e, #143e66);
  color: #fff;
  box-shadow: 0 10px 22px rgba(6,24,46,.16);
}
.upd-studio__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 1.1rem;
  align-items: start;
}
.upd-studio__grid--versions {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .9fr);
}
.upd-studio__block {
  padding: 1rem 1rem 1.1rem;
  margin: 0 0 1rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7fafc, #fff);
  border: 1px solid #e8eef5;
}
.upd-studio__block h3 {
  margin: 0 0 .85rem;
  font-size: 1.02rem;
  color: #0b2547;
}
.upd-studio__hint {
  margin: .45rem 0 0;
  font-size: .82rem;
}
.upd-studio__hint code {
  direction: ltr;
  display: inline-block;
  padding: .1rem .35rem;
  border-radius: 6px;
  background: #eef3f8;
  font-size: .78rem;
}
.upd-studio__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .4rem;
}
.upd-studio__form-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: .35rem;
}
.upd-studio__form-top h3 { margin: 0; }
.upd-studio__fields-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.upd-studio__preview-label {
  margin: 0 0 .7rem;
  font-size: .8rem;
  font-weight: 800;
  color: #5b7390;
  letter-spacing: .04em;
}
.upd-studio__hero-mock {
  border-radius: 18px;
  padding: 1.25rem 1.15rem 1.35rem;
  color: #fff;
  background:
    radial-gradient(700px 220px at 10% -20%, rgba(201,162,39,.28), transparent 55%),
    linear-gradient(160deg, #06182e 0%, #0b2547 55%, #123b68 100%);
  box-shadow: 0 16px 36px rgba(6,24,46,.18);
  min-height: 10rem;
}
.upd-studio__hero-badge {
  display: inline-flex;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .75rem;
  font-weight: 800;
  margin-bottom: .7rem;
}
.upd-studio__hero-title {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: .55rem;
}
.upd-studio__hero-title em {
  font-style: normal;
  color: #f3d27a;
}
.upd-studio__hero-lead {
  color: rgba(255,255,255,.88);
  font-size: .95rem;
  line-height: 1.7;
  font-weight: 600;
}
.upd-studio__hero-lead p { margin: 0 0 .35rem; }
.upd-quill {
  background: #fff;
  border-radius: 14px;
  margin-bottom: .35rem;
}
.upd-quill .ql-toolbar.ql-snow {
  border: 1px solid #d7e2ee;
  border-radius: 14px 14px 0 0;
  background: #f5f8fb;
}
.upd-quill .ql-container.ql-snow {
  border: 1px solid #d7e2ee;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  min-height: 160px;
  font-family: inherit;
  font-size: .95rem;
}
.upd-quill .ql-editor {
  min-height: 140px;
  direction: rtl;
  text-align: right;
  line-height: 1.75;
}
.upd-quill--title .ql-container.ql-snow,
.upd-quill--title .ql-editor { min-height: 72px; }
.upd-quill--sm .ql-container.ql-snow,
.upd-quill--sm .ql-editor { min-height: 100px; }
.upd-quill--items .ql-container.ql-snow,
.upd-quill--items .ql-editor { min-height: 220px; }
.upd-emoji-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0 0 .55rem;
}
.upd-emoji-bar__btn {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
  border: 1px solid #dde6f0;
  background: #fff;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.upd-emoji-bar__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(201,162,39,.55);
  background: #fffbeb;
}
.upd-studio__list-head {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: .85rem;
}
.upd-studio__search {
  width: 100%;
  padding: .65rem .85rem;
  border-radius: 12px;
  border: 1px solid #d7e2ee;
  background: #f7fafc;
  font: inherit;
}
.upd-studio__cards {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  max-height: min(72vh, 820px);
  overflow: auto;
  padding-left: .15rem;
}
.upd-card {
  border-radius: 16px;
  border: 1px solid #e2eaf3;
  background: linear-gradient(180deg, #fff, #f8fafc);
  padding: .9rem .95rem;
  box-shadow: 0 8px 18px rgba(6,24,46,.04);
}
.upd-card.is-active {
  border-color: rgba(201,162,39,.55);
  box-shadow: 0 12px 28px rgba(201,162,39,.12);
}
.upd-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-bottom: .35rem;
}
.upd-card__top strong {
  font-size: 1.05rem;
  color: #06182e;
}
.upd-card__pill {
  display: inline-flex;
  padding: .18rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  background: #eef2f6;
  color: #5b7390;
}
.upd-card__pill.is-on {
  background: rgba(22,163,74,.12);
  color: #15803d;
}
.upd-card__title {
  margin: 0 0 .25rem;
  font-weight: 800;
  color: #143e66;
  font-size: .92rem;
}
.upd-card__meta {
  margin: 0 0 .7rem;
  color: #7a8fa8;
  font-size: .8rem;
  font-weight: 700;
}
.upd-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}
.upd-card__actions .btn {
  padding: .28rem .55rem;
  font-size: .78rem;
}
.upd-card__inline { display: inline; margin: 0; }
.upd-card__danger { color: #b91c1c !important; }
@media (max-width: 1080px) {
  .upd-studio__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .upd-studio__grid,
  .upd-studio__grid--versions { grid-template-columns: 1fr; }
  .upd-studio__fields-row { grid-template-columns: 1fr; }
  .upd-studio__cards { max-height: none; }
}

/* —— Dashboard charts: sizing + motion —— */
.admin-body .dash-donut-wrap {
  aspect-ratio: 1 / 1;
  width: min(100%, 230px);
}
.admin-body .dash-donut-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.admin-body .dash-donut-center strong {
  font-variant-numeric: tabular-nums;
}
.admin-body .dash-line-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.admin-body .dash-charts.is-anim .dash-chart-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease;
}
.admin-body .dash-chart-card.is-chart-in,
.admin-body .dash-chart-card.is-chart-failed {
  opacity: 1;
  transform: none;
}
.admin-body .dash-chart-card--line { transition-delay: .08s, .08s, 0s; }
.admin-body .dash-chart-card:hover {
  box-shadow: 0 20px 44px rgba(6, 24, 46, .09);
}
.admin-body .dash-charts.is-anim .dash-donut-center {
  opacity: 0;
  transform: scale(.85);
  transition: opacity .5s ease .35s, transform .6s cubic-bezier(.2, .8, .2, 1) .35s;
}
.admin-body .dash-chart-card.is-chart-in .dash-donut-center,
.admin-body .dash-chart-card.is-chart-failed .dash-donut-center {
  opacity: 1;
  transform: none;
}
.admin-body .dash-charts.is-anim .dash-kpi {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .45s ease, transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease;
}
.admin-body .dash-kpi--green { transition-delay: .25s, .25s, 0s; }
.admin-body .dash-kpi--amber { transition-delay: .4s, .4s, 0s; }
.admin-body .dash-chart-card.is-chart-in .dash-kpi,
.admin-body .dash-chart-card.is-chart-failed .dash-kpi {
  opacity: 1;
  transform: none;
}
.admin-body .dash-kpi:hover { box-shadow: 0 10px 22px rgba(6, 24, 46, .07); }
.admin-body .dash-charts.is-anim .dash-rate__bar i {
  width: 0 !important;
  transition: width 1.3s cubic-bezier(.2, .8, .2, 1) .45s;
}
.admin-body .dash-chart-card.is-chart-in .dash-rate__bar i,
.admin-body .dash-chart-card.is-chart-failed .dash-rate__bar i {
  width: var(--rate, 0%) !important;
}
.admin-body .dash-line-legend span {
  display: inline-flex;
  align-items: center;
}

/* —— Visits page: animated daily bars —— */
.admin-body .visit-bars--anim {
  height: 210px;
  gap: .4rem;
  padding: 1rem .6rem .5rem;
  background:
    repeating-linear-gradient(to top, rgba(20, 62, 102, .06) 0 1px, transparent 1px 25%) 0 1rem / 100% calc(100% - 3.4rem) no-repeat,
    #fff;
  box-shadow: 0 12px 28px rgba(6, 24, 46, .05);
}
.admin-body .visit-bars--anim .visit-bar {
  gap: .2rem;
  border-radius: 10px;
  padding-top: .2rem;
  transition: background .2s ease;
}
.admin-body .visit-bars--anim .visit-bar:hover { background: rgba(21, 101, 192, .05); }
.admin-body .visit-bar__track {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.admin-body .visit-bars--anim .visit-bar__col {
  width: 72%;
  max-width: 30px;
  background: linear-gradient(180deg, #4f8fd8 0%, #1565c0 55%, #0a3d7a 100%);
  box-shadow: 0 6px 14px rgba(21, 101, 192, .22);
  transform-origin: 50% 100%;
  animation: visitBarGrow .9s cubic-bezier(.2, .85, .25, 1.12) both;
  animation-delay: calc(var(--i, 0) * 55ms + 80ms);
  transition: filter .2s ease, transform .2s ease;
}
.admin-body .visit-bars--anim .visit-bar:hover .visit-bar__col { filter: brightness(1.12); }
.admin-body .visit-bars--anim .visit-bar.is-on .visit-bar__col {
  outline: 0;
  background: linear-gradient(180deg, #f3d27a 0%, #c9a227 60%, #8a6d12 100%);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(201, 162, 39, .55), 0 8px 16px rgba(201, 162, 39, .3);
}
.admin-body .visit-bars--anim .visit-bar em,
.admin-body .visit-bars--anim .visit-bar small {
  animation: visitBarLabel .5s ease both;
  animation-delay: calc(var(--i, 0) * 55ms + 520ms);
}
@keyframes visitBarGrow {
  from { transform: scaleY(0); opacity: .2; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes visitBarLabel {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .admin-body .visit-bars--anim { gap: .2rem; padding-inline: .3rem; overflow-x: auto; }
  .admin-body .visit-bars--anim .visit-bar { min-width: 1.6rem; }
  .admin-body .visit-bars--anim .visit-bar small { font-size: .56rem; }
}
@media (prefers-reduced-motion: reduce) {
  .admin-body .dash-chart-card,
  .admin-body .dash-donut-center,
  .admin-body .dash-kpi,
  .admin-body .dash-rate__bar i { transition: none; }
  .admin-body .visit-bars--anim .visit-bar__col,
  .admin-body .visit-bars--anim .visit-bar em,
  .admin-body .visit-bars--anim .visit-bar small { animation: none; }
}

