:root {
  color-scheme: light;
  --ink: #13211f;
  --muted: #667774;
  --line: #dce9e6;
  --paper: #ffffff;
  --soft: #f4faf8;
  --brand: #21BBB0;
  --brand-dark: #128d86;
  --brand-soft: #e8faf8;
  --brand-line: rgba(33, 187, 176, 0.22);
  --shadow-soft: 0 18px 45px rgba(19, 33, 31, 0.08);
  --accent: #f2b84b;
  --danger: #d95f76;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, "Aptos", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis-weight: none;
  font-weight: 400;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand,
nav,
.login,
.heroActions,
.sectionHead,
.searchBox,
.metrics,
.adminList span,
.planCard li {
  align-items: center;
  display: flex;
}

.brand {
  font-weight: 800;
  gap: 10px;
}

.brandMark {
  background: #fff;
  border-radius: 8px;
  color: #fff;
  display: block;
  height: 36px;
  object-fit: cover;
  width: 36px;
}

nav {
  color: var(--muted);
  flex: 0 0 auto;
  gap: 20px;
  font-size: 14px;
}

.headerSearch {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  flex: 1 1 420px;
  grid-template-columns: minmax(130px, 1fr) 46px;
  height: 46px;
  max-width: 520px;
  overflow: hidden;
}

.headerSearch input {
  border: 0;
  color: var(--ink);
  font: inherit;
  min-width: 0;
  outline: 0;
  padding: 0 14px;
}

.headerSearch button {
  align-items: center;
  align-self: stretch;
  background: var(--ink);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
}

.legalPage {
  color: var(--ink);
  margin: 0 auto;
  max-width: 860px;
  padding: clamp(34px, 7vw, 72px) clamp(18px, 4vw, 32px);
}

.legalPage h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  margin: 0 0 22px;
}

.legalPage h2 {
  font-size: 22px;
  margin: 34px 0 10px;
}

.legalPage p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 14px;
}

.login {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  gap: 8px;
  padding: 10px 12px;
}

.accountNavLink {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.premiumNavIcon {
  align-items: center;
  color: #f59e0b;
  display: inline-flex;
  line-height: 1;
}

.eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.98;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  margin-bottom: 0;
}

h3 {
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.catalogHeader p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  max-width: 720px;
}

.catalogHome {
  background: #fff;
  min-height: calc(100vh - 69px);
  padding: 34px clamp(18px, 3vw, 52px) 58px;
}

.catalogSearchHero {
  align-items: start;
  background:
    radial-gradient(140% 80% at 8% 88%, rgba(255, 255, 255, 0.9) 0 9%, transparent 9.5%),
    radial-gradient(75% 72% at 18% -4%, rgba(255, 255, 255, 0.22) 0 37%, transparent 38%),
    radial-gradient(90% 80% at 78% 18%, rgba(255, 255, 255, 0.28) 0 31%, transparent 32%),
    linear-gradient(180deg, var(--brand) 0%, var(--brand) 52%, rgba(199, 247, 241, 0.78) 53%, rgba(199, 247, 241, 0.78) 74%, #fff 75%);
  display: grid;
  margin: 0 calc(clamp(18px, 3vw, 52px) * -1);
  min-height: 146px;
  padding-top: 26px;
  place-items: start center;
}

.catalogSearchForm {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(9, 74, 70, 0.12);
  display: grid;
  grid-template-columns: minmax(240px, 530px) 90px;
  height: 80px;
  overflow: hidden;
  width: min(620px, calc(100% - 38px));
}

.catalogSearchForm input {
  border: 0;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: 0;
  padding: 0 20px;
}

.catalogSearchForm button {
  align-items: center;
  background: #242426;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
}

.catalogIntro {
  color: #111;
  font-size: 18px;
  line-height: 1.45;
  margin: 0 auto 18px;
  max-width: 920px;
  text-align: center;
}

.catalogIntro strong {
  font-weight: 900;
}

.catalogFilterChips {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: center;
  margin: 0 auto 46px;
  max-width: 1120px;
}

.catalogFilterGroup {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.catalogFilterGroup > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-right: 2px;
  text-transform: uppercase;
}

.catalogFilterGroup a {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  min-height: 34px;
  padding: 0 14px;
  text-decoration: none;
}

.catalogFilterGroup a:hover {
  border-color: #9fb2ac;
  color: var(--ink);
}

.catalogFilterGroup a.isActive {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.catalogFilterGroup a.premium:not(.isActive) {
  background: #fff7ea;
  border-color: #ffd18a;
  color: #9b5a00;
}

.catalogFilterGroup a.free:not(.isActive) {
  background: #edf9f7;
  border-color: #bce8e1;
  color: var(--brand);
}

.catalogFilterSelects {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin: 0 0 28px;
  max-width: none;
}

.catalogFilterSelects label {
  color: var(--ink);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 5px;
  min-width: 190px;
}

.catalogFilterSelects span {
  color: var(--muted);
  line-height: 1;
}

.catalogFilterSelects select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 18px) 55% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 13px) 55% / 6px 6px no-repeat,
    #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 19px;
  font-weight: 700;
  min-height: 46px;
  padding: 0 40px 0 14px;
}

.catalogFilterSelects select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(33, 187, 176, 0.14);
  outline: none;
}

.catalogHeader {
  align-items: flex-end;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr auto;
  margin-bottom: 22px;
}

.catalogStats {
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 1px;
  min-width: 270px;
  overflow: hidden;
}

.catalogStats span {
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
}

.catalogStats strong {
  color: #9be8dc;
}

.catalogTools {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(260px, 1fr) auto;
  margin-bottom: 18px;
}

.filters {
  display: flex;
  gap: 8px;
}

.filters button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
  min-height: 42px;
  padding: 0 13px;
}

.filters .isActive {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.section {
  padding: 70px clamp(18px, 4vw, 56px);
}

.band {
  background: var(--soft);
}

.sectionHead {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.searchBox {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  gap: 10px;
  min-height: 46px;
  min-width: min(360px, 100%);
  padding: 0 14px;
}

.productGrid,
.planGrid,
.opsGrid {
  display: grid;
  gap: 16px;
}

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

.catalogDesignGrid {
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.productRelatedSection {
  padding-top: 42px;
}

.productRelatedSection .sectionHead h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.relatedDesignGrid {
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.relatedDesignGrid .catalogDesignCard h3 {
  font-size: 18px;
}

.productCard,
.planCard,
.opsGrid article,
.adminPanel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.productCard {
  display: grid;
  gap: 12px;
  grid-template-rows: auto 1fr auto;
  min-height: 288px;
  padding: 12px;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}

.catalogDesignCard {
  border: 0;
  box-shadow: none;
  gap: 0;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.catalogDesignCard .mockPreview {
  align-items: center;
  aspect-ratio: 1.62;
  background: #fff;
  border-radius: 6px;
  display: flex;
  grid-column: 1 / -1;
}

.catalogDesignCard .mockPreview:has(.productPreviewImage) {
  aspect-ratio: 1.62;
}

.catalogDesignCard h3 {
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.catalogDesignCard > div:nth-child(2) {
  align-self: end;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  bottom: 0;
  display: grid;
  gap: 4px;
  left: 0;
  padding: 48px 68px 16px 16px;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 2;
}

.catalogDesignCard button {
  background: rgba(18, 31, 29, 0.86);
  backdrop-filter: blur(8px);
  bottom: 12px;
  display: inline-flex;
  position: absolute;
  right: 12px;
  z-index: 3;
}

.productThumbBadge {
  align-items: center;
  border-radius: 999px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
  color: #fff !important;
  display: inline-flex !important;
  font-size: 12px !important;
  font-weight: 900;
  gap: 5px;
  line-height: 1;
  margin: 0 !important;
  padding: 8px 10px;
  position: absolute;
  right: 12px;
  text-transform: uppercase;
  top: 12px;
  z-index: 3;
}

.productThumbBadge.premium {
  background: #f28c00;
  text-shadow: 0 1px 1px rgba(92, 52, 0, 0.35);
}

.productThumbBadge.free {
  background: var(--brand);
  text-shadow: 0 1px 1px rgba(0, 65, 56, 0.35);
}

.productThumbBadge svg {
  color: #fff;
  flex: 0 0 auto;
}

.productCard:hover {
  border-color: #9fb2ac;
  transform: translateY(-2px);
}

.mockPreview {
  align-items: center;
  aspect-ratio: 1.08;
  border-radius: 8px;
  color: #fff;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.mockPreview::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 38%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 8px, transparent 8px 16px);
  content: "";
  inset: 0;
  position: absolute;
}

.shirtThumb {
  aspect-ratio: 0.78;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.86) 0 8%, transparent 9%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.6));
  clip-path: polygon(22% 0, 38% 10%, 62% 10%, 78% 0, 100% 22%, 82% 39%, 78% 100%, 22% 100%, 18% 39%, 0 22%);
  height: 78%;
  position: relative;
  z-index: 1;
}

.shirtThumb::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 12%;
  left: 32%;
  opacity: 0.72;
  position: absolute;
  top: 47%;
  width: 36%;
}

.productPreviewImage {
  display: block;
  height: 100%;
  object-fit: contain;
  position: relative;
  width: 100%;
  z-index: 1;
}

.tone-teal .mockPreview { background: var(--brand); }
.tone-yellow .mockPreview { background: #d99a1e; }
.tone-rose .mockPreview { background: #d95f76; }
.tone-indigo .mockPreview { background: #5967c5; }
.tone-emerald .mockPreview { background: #2f9d66; }
.tone-orange .mockPreview { background: #db7c35; }
.tone-sky .mockPreview { background: #2783bd; }
.tone-blue .mockPreview { background: #315aa6; }
.tone-lime .mockPreview { background: #8aa832; }
.tone-amber .mockPreview { background: #c08a21; }
.tone-slate .mockPreview { background: #485464; }
.tone-violet .mockPreview { background: #7d5cc6; }

.productCard span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
}

.productCard button {
  align-self: end;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: grid;
  height: 40px;
  place-items: center;
  justify-self: end;
  width: 40px;
}

.productCard button {
  pointer-events: none;
}

.productCard p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
}

.productDetailShell {
  background: #f8faf9;
  padding: 28px clamp(18px, 4vw, 56px) 56px;
}

.productBack {
  margin-bottom: 16px;
}

.productDetailGrid {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
}

.productMedia,
.productInfoGrid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.productVisualColumn {
  display: grid;
  gap: 22px;
}

.productMedia {
  overflow: hidden;
  position: relative;
}

.productMedia img {
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.productFallback {
  aspect-ratio: 1.18;
  background: var(--brand);
}

.productPurchasePanel {
  display: grid;
  gap: 22px;
  padding-top: 0;
}

.productTitleBlock {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  padding-bottom: 18px;
}

.productTitleBlock h1 {
  color: var(--brand);
  font-size: clamp(30px, 4vw, 38px);
  line-height: 1.1;
  margin: 0;
}

.productMetaLine {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.productMetaLine span {
  align-items: center;
  color: var(--brand);
  display: inline-flex;
  font-size: 14px;
  gap: 7px;
  text-transform: uppercase;
}

.importantNotice {
  background: #fff8df;
  border-left: 4px solid #f2b84b;
  color: #805b11;
  display: grid;
  gap: 8px;
  line-height: 1.65;
  padding: 18px;
}

.importantNotice strong {
  color: #5f420b;
  font-size: 18px;
}

.importantNotice p {
  margin: 0;
}

.productSpecTable {
  border: 1px solid var(--line);
  display: grid;
  margin: 0;
}

.productSpecTable div {
  display: grid;
  grid-template-columns: 195px 1fr;
}

.productSpecTable div + div {
  border-top: 1px solid var(--line);
}

.productSpecTable dt,
.productSpecTable dd {
  margin: 0;
  min-height: 50px;
  padding: 14px 18px;
}

.productSpecTable dt {
  border-right: 1px solid var(--line);
  color: #364256;
  font-weight: 900;
  text-transform: uppercase;
}

.productSpecTable dd {
  color: #4a586d;
}

.productFormatPanel {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.productFormatPanel h2 {
  color: #364256;
  font-size: 16px;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.productFormatPanel div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.productFormatPanel span {
  background: #eef8f6;
  border: 1px solid rgba(33, 187, 176, 0.22);
  border-radius: 999px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  padding: 8px 12px;
}

.productActions {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding-top: 30px;
}

.primaryAction,
.secondaryAction {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  gap: 9px;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
}

.primaryAction {
  background: #f28c00;
  color: #fff;
  min-width: 198px;
  text-transform: uppercase;
}

.primaryAction.brandAction {
  background: var(--brand);
}

.secondaryAction {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.subtlePrice {
  color: var(--muted);
  font-size: 13px;
  margin: -8px 0 0;
  text-align: center;
}

.shareBox {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding-top: 34px;
}

.shareBox h2 {
  color: var(--brand);
  font-size: 28px;
  margin: 0;
}

.shareButtons {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.shareButton {
  align-items: center;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 50px;
  justify-content: center;
  width: 50px;
}

.shareButton.facebook {
  background: #3b5998;
}

.shareButton.x {
  background: #000;
}

.shareButton.whatsapp {
  background: #20c76a;
}

.shareButton.pinterest {
  background: #bd081c;
}

.shareButton.telegram {
  background: #2ca5e0;
}

.primaryAction:disabled,
.secondaryAction:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.downloadQuota,
.downloadMessage {
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.downloadQuota {
  color: var(--muted);
  text-align: center;
}

.downloadMessage {
  background: #e8f7f2;
  border-radius: 8px;
  color: #116d5e;
  font-weight: 800;
  padding: 9px 10px;
}

.productInfoGrid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.productInfoGrid article {
  padding: 22px;
}

.productInfoGrid h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.productInfoGrid ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.productInfoGrid li {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: 9px;
}

.productInfoGrid dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.productInfoGrid dl div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
}

.productInfoGrid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.productInfoGrid dd {
  margin: 0;
}

.emptyCatalog {
  align-items: center;
  background: #fff;
  border: 1px dashed #b9c8c3;
  border-radius: 8px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
  min-height: 96px;
  padding: 18px;
  text-align: center;
}

.emptyCatalog p {
  margin: 0;
}

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

.planCard {
  padding: 20px;
}

.planCard p,
.opsGrid p,
.adminPanel p {
  color: var(--muted);
  line-height: 1.55;
}

.planCard ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.planCard li {
  gap: 8px;
}

.pricingPage {
  background: #f3f6fb;
  min-height: calc(100vh - 72px);
  padding: 14px clamp(18px, 4vw, 46px) 58px;
}

.billingToggle {
  background: #fff;
  border: 1px solid #d9deea;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto 70px;
  max-width: 250px;
  padding: 6px;
}

.billingToggle button {
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: #4d5a73;
  cursor: pointer;
  font: inherit;
  font-size: 19px;
  font-weight: 900;
  min-height: 50px;
}

.billingToggle button.active {
  background: var(--brand);
  color: #fff;
}

.pricingCards {
  align-items: stretch;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricingCard {
  background: #fff;
  border: 1px solid #dbe2ee;
  border-radius: 8px;
  display: grid;
  gap: 22px;
  grid-template-rows: auto auto auto auto 1fr auto;
  min-height: 800px;
  padding: 32px 30px 30px;
}

.pricingCard.highlighted {
  border-color: var(--brand);
  border-top: 6px solid var(--brand);
  padding-top: 27px;
}

.pricingCode {
  color: #001538;
  font-size: 18px;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.pricingCard h1 {
  color: #001538;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.32;
  margin: 0;
}

.membershipPrice {
  align-items: baseline;
  color: #4b5d7a;
  display: flex;
  gap: 6px;
  margin-top: 16px;
}

.membershipPrice strong,
.membershipPrice span {
  font-size: 28px;
  font-weight: 900;
}

.pricingIntro {
  color: #4b5d7a;
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
}

.pricingCard ul {
  color: #001538;
  display: grid;
  gap: 9px;
  line-height: 1.45;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricingCard li {
  align-items: start;
  display: grid;
  font-size: 19px;
  gap: 10px;
  grid-template-columns: 16px 1fr;
}

.pricingCard li svg {
  color: var(--brand);
  margin-top: 5px;
}

.patreonPriceButton {
  align-items: center;
  background: var(--brand);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  justify-content: center;
  min-height: 56px;
  padding: 0 18px;
  width: 100%;
}

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

.opsGrid article {
  padding: 20px;
}

.opsGrid svg {
  color: var(--brand);
}

.adminPanel {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.3fr 1fr;
}

.adminList {
  align-items: stretch;
  display: grid;
  gap: 10px;
}

.adminList span {
  background: var(--soft);
  border-radius: 8px;
  gap: 10px;
  padding: 14px;
}

.pageHero {
  background: var(--soft);
  padding: 54px clamp(18px, 4vw, 56px);
}

.compactHero h1 {
  margin-bottom: 12px;
}

.compactHero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  max-width: 760px;
}

.accountGrid,
.blogGrid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.accountGrid article,
.blogGrid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.accountGrid svg {
  color: var(--brand);
}

.accountGrid h2,
.blogGrid h2 {
  font-size: 22px;
  margin: 14px 0 8px;
}

.accountGrid p,
.blogGrid p {
  color: var(--muted);
  line-height: 1.55;
}

.accountGrid button {
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  min-height: 42px;
  padding: 0 14px;
}

.clientMembershipPanel {
  display: grid;
  gap: 16px;
}

.membershipStatusCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  padding: 24px;
}

.membershipStatusCard.active {
  border-color: rgba(33, 187, 176, 0.34);
  box-shadow: inset 4px 0 0 var(--brand);
}

.membershipSummaryHead {
  align-items: center;
  color: var(--brand);
  display: flex;
  gap: 12px;
}

.membershipSummaryHead h2 {
  color: var(--ink);
  font-size: 20px;
  margin: 0;
}

.membershipSummaryHead p {
  color: var(--muted);
  margin: 0;
}

.membershipDetailsTable {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  margin: 0;
  overflow: hidden;
}

.membershipDetailsTable div {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) 1fr;
}

.membershipDetailsTable div + div {
  border-top: 1px solid var(--line);
}

.membershipDetailsTable dt,
.membershipDetailsTable dd {
  min-height: 48px;
  padding: 13px 14px;
}

.membershipDetailsTable dt {
  background: #f8faf9;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-weight: 900;
}

.membershipDetailsTable dd {
  color: var(--ink);
  margin: 0;
}

.membershipState {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  min-height: 28px;
  padding: 0 12px;
  text-transform: uppercase;
}

.membershipState::before {
  border-radius: 999px;
  content: "";
  height: 9px;
  width: 9px;
}

.membershipState.active {
  color: var(--brand);
}

.membershipState.active::before {
  background: var(--brand);
}

.membershipState.inactive {
  color: var(--muted);
}

.membershipState.inactive::before {
  background: var(--muted);
}

.membershipActions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.membershipActionPrimary,
.membershipActionDanger,
.membershipActionSecondary {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
}

.membershipActionPrimary {
  background: var(--ink);
  color: #fff;
}

.membershipActionDanger {
  background: #fff3f3;
  border: 1px solid #ffc7c7;
  color: #a71313;
  cursor: pointer;
}

.membershipActionDanger:disabled {
  cursor: wait;
  opacity: 0.64;
}

.membershipActionSecondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
}

.membershipActionSecondary:disabled {
  cursor: wait;
  opacity: 0.64;
}

.membershipDetailGrid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.membershipDetailGrid.compact {
  grid-template-columns: minmax(280px, 420px);
}

.membershipDetailGrid.withPatreon {
  grid-template-columns: repeat(2, minmax(280px, 420px));
}

.membershipDetailGrid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 20px;
}

.membershipDetailGrid svg {
  color: var(--brand);
}

.membershipDetailGrid h3 {
  font-size: 22px;
  margin: 0;
}

.membershipDetailGrid p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.membershipDetailGrid dl {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.membershipDetailGrid dl div {
  display: grid;
  gap: 8px;
  grid-template-columns: 120px 1fr;
  padding: 10px;
}

.membershipDetailGrid dl div + div {
  border-top: 1px solid var(--line);
}

.membershipDetailGrid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.membershipDetailGrid dd {
  font-weight: 800;
  margin: 0;
}

.membershipDetailGrid button {
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 42px;
  padding: 0 14px;
}

.accountStatus {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: 10px;
}

.accountStatus p {
  margin: 0;
}

.profileFormCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 22px;
  padding: 24px;
}

.profileHeader {
  align-items: center;
  display: flex;
  gap: 14px;
}

.profileHeader svg {
  color: var(--brand);
}

.profileHeader h2 {
  font-size: 32px;
  margin: 0;
}

.profileHeader p {
  color: var(--muted);
  margin: 4px 0 0;
}

.profileFormGrid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profileTabs {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
}

.profileTabs button {
  background: #fff;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  min-height: 42px;
  padding: 0 14px;
}

.profileTabs button:hover,
.profileTabs button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.profileSection {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
  padding-top: 20px;
}

.profileSectionTitle {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.profileTitleActions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.profileSectionTitle h3 {
  font-size: 22px;
  margin: 0;
}

.profileSectionTitle p {
  color: var(--muted);
  margin: 4px 0 0;
}

.profileEditButton {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  min-height: 40px;
  padding: 0 14px;
}

.profileEditButton:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.profileEditButton:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.profileReadGrid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profileReadItem {
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 14px 16px;
}

.profileReadItem span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.profileReadItem strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}

.profileReadItemWide {
  grid-column: 1 / -1;
}

.profileFormGrid label {
  color: var(--ink);
  display: grid;
  font-size: 14px;
  font-weight: 650;
  gap: 8px;
}

.profileFormGrid input,
.profileFormGrid select,
.profileFormGrid textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 0 14px;
}

.profileFormGrid input[readonly],
.profileFormGrid textarea[readonly],
.profileFormGrid select:disabled,
.profileFormGrid input:disabled {
  background: var(--soft);
  color: var(--muted);
  cursor: default;
  opacity: 1;
}

.profileFormGrid textarea {
  line-height: 1.45;
  padding: 12px 14px;
  resize: vertical;
}

.profileWide {
  grid-column: 1 / -1;
}

.profileActions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.profileActions .formMessage {
  margin: 0;
}

.profileActionButtons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.profileActions button,
.profileActionButtons button {
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 48px;
  padding: 0 18px;
}

.profileActionButtons button.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.profileActions button:disabled,
.profileActionButtons button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.passwordModalDialog {
  width: min(680px, 94vw);
}

.passwordModalBody {
  display: grid;
  gap: 16px;
}

.passwordModalIntro {
  color: var(--muted);
  margin: 0;
}

.passwordModalGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.passwordModalGrid label:first-child {
  grid-column: 1 / -1;
}

.passwordModalActions {
  margin-top: 4px;
}

.checkoutAuthDialog {
  border-radius: 14px;
  width: min(540px, 92vw);
}

.checkoutAuthDialog .aim-modal__header {
  padding: 12px 14px;
}

.checkoutAuthDialog .aim-modal__header h3 {
  font-size: 17px;
}

.checkoutAuthForm {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.patreonPrimaryAction {
  align-items: center;
  background: #ff424d;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
}

.patreonPrimaryAction:disabled {
  cursor: wait;
  opacity: 0.75;
}

.emailAuthPrompt {
  align-items: center;
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 2px 0 4px;
  text-align: center;
}

.emailAuthPrompt p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.emailAuthPrompt button {
  background: transparent;
  border: 0;
  color: var(--brand);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 4px 8px;
}

.emailAuthPrompt button:hover {
  text-decoration: underline;
}

.authDivider.compact {
  font-size: 12px;
  margin: 0;
}

.checkoutAuthForm > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.checkoutAuthForm label {
  color: var(--ink);
  display: grid;
  font-size: 14px;
  font-weight: 650;
  gap: 8px;
}

.checkoutAuthForm input {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 0 12px;
}

.checkoutAuthTabs {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 5px;
}

.checkoutAuthTabs button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  gap: 8px;
  justify-content: center;
  min-height: 36px;
}

.checkoutAuthTabs button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.08);
}

.billingPanel {
  display: grid;
  gap: 18px;
}

.billingSummaryCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.billingSummaryHead {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr auto;
}

.billingSummaryHead svg {
  color: var(--brand);
}

.billingSummaryHead h2 {
  font-size: 26px;
  margin: 0;
}

.billingSummaryHead p {
  color: var(--muted);
  margin: 4px 0 0;
}

.billingSummaryHead button,
.invoiceActions a {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  text-decoration: none;
}

.billingDataGrid {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
}

.billingDataGrid div {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.billingDataGrid div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.billingDataGrid div:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.billingDataGrid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.billingDataGrid dd {
  margin: 0;
}

.billingNote {
  background: #fff8e6;
  border: 1px solid #f3df9d;
  border-radius: 8px;
  color: #6b5200;
  line-height: 1.45;
  margin: 0;
  padding: 12px 14px;
}

.invoiceList {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  overflow: hidden;
}

.invoiceList article {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 1fr) 140px 120px 120px minmax(220px, auto);
  padding: 14px;
}

.invoiceList article + article {
  border-top: 1px solid var(--line);
}

.invoiceList article > div:first-child {
  display: grid;
  gap: 3px;
}

.invoiceList span {
  color: var(--muted);
}

.invoiceActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.invoiceActions span {
  background: var(--soft);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  padding: 10px 12px;
}

.emptyBillingState {
  background: var(--soft);
  border-radius: 8px;
  color: var(--muted);
  margin: 0;
  padding: 18px;
}

.loginShell {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 520px);
}

.cleanLoginShell {
  align-items: center;
  grid-template-columns: minmax(280px, 520px);
  justify-content: center;
  min-height: calc(100vh - 120px);
  padding-top: 42px;
}

.loginCopy {
  max-width: 640px;
}

.loginCopy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.authForm,
.accountOrders {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.authStack {
  display: grid;
  gap: 14px;
}

.centeredAuthStack {
  width: min(100%, 520px);
}

.accountAccessHeader {
  align-items: center;
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-bottom: 6px;
  text-align: center;
}

.accountAccessHeader h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 0;
}

.patreonMainButton {
  align-items: center;
  background: #ff424d;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 9px;
  justify-content: center;
  min-height: 58px;
  padding: 0 18px;
  width: 100%;
}

.patreonMainButton:disabled {
  cursor: wait;
  opacity: 0.75;
}

.emailAuthReveal {
  color: var(--muted);
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.emailAuthReveal p {
  margin: 0;
}

.emailAuthReveal button {
  background: transparent;
  border: 0;
  color: var(--brand);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 4px 8px;
}

.emailAuthReveal button:hover {
  text-decoration: underline;
}

.standaloneMessage {
  margin: 0;
}

.patreonLogin {
  background: #17211f;
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.patreonLogin svg {
  color: #ff5f5f;
}

.patreonLogin .eyebrow {
  color: #f2b84b;
  margin-top: 14px;
}

.patreonLogin h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.patreonLogin p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
  margin-bottom: 0;
}

.patreonLogin button {
  align-items: center;
  background: #ff424d;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 9px;
  justify-content: center;
  min-height: 50px;
  padding: 0 16px;
  width: 100%;
}

.patreonLogin button svg {
  color: #fff;
}

.patreonLogin button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.authDivider {
  align-items: center;
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 10px;
  grid-template-columns: 1fr auto 1fr;
}

.authDivider span {
  background: var(--line);
  height: 1px;
}

.authDivider p {
  margin: 0;
}

.authForm {
  display: grid;
  gap: 14px;
}

.authTabs {
  background: var(--soft);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 1fr;
  padding: 6px;
}

.authTabs button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  min-height: 40px;
}

.authTabs button.isActive {
  background: var(--ink);
  color: #fff;
}

.authForm label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
}

.authForm input,
.authForm textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.authForm textarea {
  min-height: 120px;
  resize: vertical;
}

.clientRequestsGrid {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(280px, 420px) 1fr;
}

.clientRequestsPlugin {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.aim-btn {
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 800;
  min-height: 40px;
  padding: 8px 14px;
  transition:
    filter 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.02s ease,
    border-color 0.2s ease;
}

.aim-btn:hover {
  filter: saturate(1.05) brightness(1.03);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.aim-btn:active {
  transform: translateY(1px);
}

.aim-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.aim-btn--ghost {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #111827;
}

.aim-btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.aimdr-request-button-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-bottom: 18px;
}

.aimdr-credits-summary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

#aimdr-credits-badge {
  color: #374151;
  font-size: 14px;
}

.aimdr-request-main-button {
  margin-left: auto;
  min-width: 178px;
  text-transform: uppercase;
}

.aimdr-credits-link,
.aimdr-open {
  background: transparent;
  border: 0;
  color: var(--brand);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0;
}

.aimdr-credits-link {
  border-radius: 6px;
  font-size: 12px;
  padding: 3px 6px;
}

#aimdr-inline-credits {
  grid-column: 1 / -1;
}

.aim-credits-inline {
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin-top: 0;
  padding: 14px;
}

.aim-credits-inline p {
  margin: 0;
}

.aimdr-history {
  border-collapse: separate;
  border-spacing: 0 10px;
  width: 100%;
}

.aimdr-history th {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  padding: 0 14px 2px;
  text-align: left;
}

.aimdr-history td {
  background: #fff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: var(--ink);
  padding: 14px;
  vertical-align: middle;
}

.aimdr-history td:first-child {
  border-left: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
  font-weight: 900;
  min-width: 260px;
}

.aimdr-history td:last-child {
  border-radius: 0 8px 8px 0;
  border-right: 1px solid var(--line);
}

.aimdr-history tbody tr:hover td {
  background: #fbfdfc;
  border-color: rgba(10, 164, 149, 0.35);
}

.aimdr-history .aim-actions.compact {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aimdr-history .aim-btn {
  border-radius: 8px;
  min-height: 36px;
  padding: 7px 12px;
}

.aimdr-history .aimdr-open {
  text-align: left;
}

.aimdr-history .aimdr-rate-open {
  color: var(--brand);
  min-height: 36px;
  padding: 0 2px;
  white-space: nowrap;
}

.aim-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 100000;
}

.aim-modal__dialog {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  overflow: hidden;
  width: min(820px, 92vw);
}

.aim-modal__dialog.checkoutAuthDialog {
  border-radius: 14px;
  width: min(560px, 92vw);
}

.aim-modal__header {
  align-items: center;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 14px 16px;
}

.aim-modal__header h3 {
  font-size: 18px;
  margin: 0;
}

.aim-modal__body {
  max-height: calc(92vh - 54px);
  overflow: auto;
  padding: 16px;
}

.aim-close {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.aim-close:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.aim-detail img {
  border-radius: 8px;
  display: block;
  height: auto;
  max-width: 100%;
}

.aim-detail .meta {
  color: var(--muted);
  margin: 8px 0 12px;
}

.aim-form label {
  display: block;
  font-weight: 700;
  margin: 10px 0 6px;
}

.aim-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aim-form-grid label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.aim-form-grid .formWide,
.aim-form-grid .aim-actions {
  grid-column: 1 / -1;
}

.aim-toggle {
  align-items: center;
  background: #f4f8f6;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
}

.aim-chip {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #63726f;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
}

.aim-chip.is-active {
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(20, 164, 148, 0.18);
  color: #fff;
}

.userSearchPicker {
  display: grid;
  gap: 10px;
}

.userSearchPicker p {
  color: #646970;
  font-size: 13px;
  margin: 0;
}

.userSearchPicker > div {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  display: grid;
  max-height: 238px;
  overflow: auto;
}

.userSearchPicker > div > button {
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
  cursor: pointer;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  text-align: left;
}

.userSearchPicker > div > button:hover,
.userSearchPicker > div > button.is-selected {
  background: #eef4ff;
}

.userSearchPicker > div > button strong {
  font-size: 14px;
}

.userSearchPicker > div > button span,
.userSearchPicker > div > span {
  color: #646970;
  font-size: 12px;
}

.userSearchPicker > div > span {
  padding: 12px;
}

.aim-form input,
.aim-form select,
.aim-form textarea,
.aim-detail textarea {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #111827;
  font: inherit;
  padding: 10px 12px;
  width: 100%;
}

.aim-phone {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 2fr;
}

.aim-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.aim-inline-nav {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
}

.aim-rating-stars {
  align-items: center;
  display: flex;
  gap: 6px;
  margin: 6px 0 10px;
}

.aim-star {
  appearance: none;
  background: transparent;
  border: 0;
  color: #d1d5db;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  padding: 2px;
}

.aim-star:hover,
.aim-star.is-active {
  color: #f59e0b;
}

.aim-public-dropzone {
  align-items: center;
  background: #fff;
  border: 1.5px solid #111827;
  border-radius: 24px;
  color: #111827;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-height: 150px;
  padding: 22px;
  text-align: center;
}

.aim-public-dropzone.has-files {
  border-style: dashed;
  min-height: 74px;
}

.aim-public-dropzone__main {
  font-size: 22px;
  line-height: 1.2;
}

.aim-public-dropzone__sub {
  color: #374151;
  font-size: 15px;
}

.aim-upload-pick-btn {
  appearance: none;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(37, 179, 172, 0.18);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 9px 16px;
}

.aim-public-upload-grid {
  align-items: flex-start;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  max-width: 100%;
  overflow-x: auto;
  padding: 8px 2px 10px;
}

.aim-public-upload-preview {
  align-items: center;
  display: flex;
  flex: 0 0 96px;
  flex-direction: column;
  gap: 5px;
  width: 96px;
}

.aim-public-upload-preview img,
.aim-public-file-icon {
  background: #f8fafc;
  border: 1px solid #6b7280;
  border-radius: 6px;
  height: 112px;
  object-fit: cover;
  width: 96px;
}

.aim-public-file-icon {
  align-items: center;
  display: flex;
  font-size: 12px;
  justify-content: center;
  overflow-wrap: anywhere;
  padding: 6px;
  text-align: center;
}

.aim-upload-remove {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #374151;
  cursor: pointer;
  font-size: 12px;
  padding: 3px 8px;
}

.requestFileGallery {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.requestFileGallery > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.requestFileItem {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #111827;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  height: 116px;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  text-align: center;
  width: 104px;
}

.requestFileItem img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.finalUploadBox {
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  border-radius: 8px;
  display: grid;
  font-weight: 800;
  gap: 8px;
  margin: 14px 0;
  padding: 12px;
}

.finalUploadBox input {
  font: inherit;
}

.aim-queue-note {
  color: var(--muted);
}

.aim-actions.compact {
  margin-top: 0;
}

.accountPanel {
  display: grid;
  gap: 16px;
}

.accountDashboard {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 250px minmax(0, 1fr);
  padding-top: 26px;
}

.accountSidebar {
  background: #17211f;
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 16px;
  padding: 14px;
  position: sticky;
  top: 82px;
}

.accountIdentity {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 12px;
  grid-template-columns: 42px 1fr;
  padding-bottom: 14px;
}

.accountAvatar {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 12px;
  color: #fff;
  display: grid;
  font-size: 14px;
  font-weight: 900;
  height: 42px;
  object-fit: cover;
  place-items: center;
  width: 42px;
}

.accountAvatarFallback {
  background:
    linear-gradient(135deg, rgba(33, 187, 176, 0.95), rgba(242, 184, 75, 0.9)),
    #17211f;
}

.accountIdentity strong {
  display: block;
  font-size: 15px;
}

.accountIdentity p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.accountSidebar nav {
  display: grid;
  gap: 4px;
}

.accountSidebar nav button,
.accountLogout {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 800;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px;
  text-align: left;
}

.accountSidebar nav button.active,
.accountSidebar nav button:hover {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(33, 187, 176, 0.2);
}

.accountLogout {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffc9c9;
  padding-top: 12px;
}

.accountContent {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.accountOrders {
  display: grid;
  gap: 12px;
}

.orderList {
  display: grid;
  gap: 8px;
}

.orderList article {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) auto auto auto minmax(240px, auto);
  padding: 12px;
}

.downloadHistoryList article {
  grid-template-columns: minmax(260px, 1fr) minmax(230px, auto) minmax(280px, auto);
  min-height: 86px;
  padding: 16px;
}

.orderList span,
.mutedText {
  color: var(--muted);
}

.orderList div span {
  display: block;
  font-size: 13px;
  margin-top: 4px;
}

.purchaseInfo {
  align-self: center;
  display: grid;
  gap: 5px;
}

.purchaseInfo span {
  margin: 0;
}

.purchaseMeta {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  white-space: nowrap;
}

.purchaseMeta strong {
  min-width: 58px;
  text-align: right;
}

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

.purchaseActions button,
.purchaseActions a,
.purchaseActions span {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  text-decoration: none;
}

.purchaseActions button,
.purchaseActions a {
  background: var(--ink);
  border: 0;
  color: #fff;
  cursor: pointer;
}

.purchaseActions a + a {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.purchaseActions button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.purchaseActions span {
  background: var(--soft);
  color: var(--muted);
}

.accountDownloadAction {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  white-space: nowrap;
}

.accountDownloadAction:hover {
  background: var(--brand);
}

.accountDownloadAction:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.blogGrid span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.adminShell {
  background: #f8faf9;
  min-height: 100vh;
  padding: 28px clamp(18px, 4vw, 56px) 60px;
}

.wpAdminShell {
  background: #f0f0f1;
  color: #1d2327;
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 100vh;
}

.wpSidebar {
  background: #1d1d1d;
  color: #f0f0f1;
  min-height: 100vh;
}

.wpBrand {
  align-items: center;
  background: #111;
  display: flex;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
}

.wpBrand span {
  background: var(--brand);
  border-radius: 999px;
  display: grid;
  font-weight: 900;
  height: 24px;
  place-items: center;
  width: 24px;
}

.wpBrandLogo {
  background: #fff;
  border-radius: 999px;
  display: block;
  flex: 0 0 auto;
  height: 26px;
  object-fit: cover;
  width: 26px;
}

.wpBrand strong {
  font-size: 14px;
}

.wpMenu {
  display: grid;
  padding: 10px 0;
}

.wpMenuGroup {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 0;
}

.wpMenuGroup p {
  color: #8c8f94;
  font-size: 11px;
  font-weight: 800;
  margin: 8px 14px;
  text-transform: uppercase;
}

.wpMenu a {
  align-items: center;
  color: #f0f0f1;
  display: grid;
  font-size: 14px;
  gap: 10px;
  grid-template-columns: 20px 1fr auto;
  min-height: 36px;
  padding: 0 12px;
}

.wpMenu a:hover,
.wpMenu a.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
}

.wpMenuItem {
  display: grid;
}

.wpSubmenu {
  background: #111;
  display: grid;
  padding: 5px 0;
}

.wpSubmenu a {
  color: #c3c4c7;
  font-size: 13px;
  grid-template-columns: 1fr;
  min-height: 30px;
  padding-left: 42px;
}

.wpSubmenu a:hover,
.wpSubmenu a.active {
  background: transparent;
  color: #a8fff8;
  font-weight: 800;
}

.wpMenu em {
  background: var(--brand);
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  min-width: 22px;
  padding: 2px 6px;
  text-align: center;
}

.wpMain {
  min-width: 0;
}

.wpTopbar {
  align-items: center;
  background: #1d1d1d;
  color: #fff;
  display: flex;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 18px;
}

.wpTopbar div {
  align-items: center;
  display: flex;
  gap: 18px;
}

.wpTopbar a {
  color: #fff;
  font-size: 14px;
}

.wpTopbar span {
  background: #d7f5d1;
  border-radius: 3px;
  color: #0f5d22;
  font-size: 12px;
  font-weight: 900;
  padding: 2px 6px;
}

.wpContent {
  padding: 26px;
}

.wpPageTitle {
  margin-bottom: 18px;
}

.wpPageTitle h1 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.adminTopbar {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.backLink {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
}

.adminStats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.adminStats span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  gap: 4px;
  padding: 14px;
}

.adminStats strong {
  color: var(--ink);
  font-size: 24px;
}

.adminGrid {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(360px, 0.8fr) minmax(420px, 1.2fr);
}

.adminToolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.adminSingleColumn {
  max-width: 1180px;
}

.invoiceDashboard {
  display: grid;
  gap: 18px;
}

.invoiceStatsGrid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.invoiceStat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(19, 33, 31, 0.04);
  display: grid;
  gap: 7px;
  min-height: 128px;
  padding: 18px;
}

.invoiceStat span,
.invoiceListHeader span,
.invoiceDetailCard p span,
.invoiceProducts article span,
.invoiceModalHeader span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.invoiceStat strong {
  color: var(--ink);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.invoiceStat p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.invoiceToolbar {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(280px, 1fr) 180px auto auto;
  padding: 12px;
}

.invoiceSearch {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
}

.invoiceSearch input,
.invoiceToolbar select {
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  min-height: 42px;
  outline: 0;
  width: 100%;
}

.invoiceToolbar select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}

.invoiceListPanel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.invoiceListHeader {
  align-items: baseline;
  display: flex;
  gap: 5px;
  padding: 2px 4px 6px;
}

.invoiceListHeader strong {
  font-size: 22px;
  font-weight: 700;
}

.invoiceRow {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 1fr) 120px 120px 150px minmax(180px, auto);
  min-height: 74px;
  padding: 14px 16px;
}

.invoiceRow h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}

.invoiceRow p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.invoiceRow > span:nth-child(2) {
  color: var(--ink);
  font-weight: 650;
}

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

.invoiceRowActions button,
.invoiceToolbar button,
.invoiceModalActions a,
.invoiceModalActions button {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  gap: 7px;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
}

.invoiceRowActions button,
.invoiceDashboard .secondaryAction,
.invoiceModal .secondaryAction {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.invoiceRowActions button:hover,
.invoiceDashboard .secondaryAction:hover,
.invoiceModal .secondaryAction:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.invoiceDashboard .primaryAction,
.invoiceModal .primaryAction {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
}

.invoiceDashboard .primaryAction:hover,
.invoiceModal .primaryAction:hover {
  background: var(--brand-dark);
}

.invoiceDashboard .primaryAction:disabled,
.invoiceDashboard .secondaryAction:disabled,
.invoiceModal .primaryAction:disabled,
.invoiceModal .secondaryAction:disabled,
.invoiceRowActions button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.invoiceStatusBadge {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 750;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.invoiceStatusBadge.isOk {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.invoiceStatusBadge.isPending,
.invoiceStatusBadge.isWarn {
  background: #fff7df;
  color: #9a6200;
}

.invoiceStatusBadge.isError {
  background: #fff0f3;
  color: #b42345;
}

.invoiceStatusBadge.isMuted {
  background: #f2f5f4;
  color: var(--muted);
}

.invoiceNumber {
  background: var(--soft);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 750;
  padding: 7px 10px;
}

.invoiceEmpty {
  align-items: center;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 170px;
  padding: 28px;
  text-align: center;
}

.invoiceEmpty strong {
  color: var(--ink);
  font-size: 20px;
}

.invoiceModalBackdrop {
  align-items: center;
  background: rgba(19, 33, 31, 0.48);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 80;
}

.invoiceModal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 28px 90px rgba(19, 33, 31, 0.26);
  max-height: min(88vh, 900px);
  overflow: hidden;
  width: min(1040px, 100%);
}

.invoiceModalHeader {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 18px 22px;
}

.invoiceModalHeader h2 {
  font-size: 28px;
  font-weight: 720;
  margin: 2px 0 0;
}

.invoiceModalHeader button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.invoiceModalBody {
  display: grid;
  gap: 16px;
  max-height: calc(88vh - 78px);
  overflow: auto;
  padding: 22px;
}

.invoiceDetailGrid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.invoiceDetailCard {
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.invoiceDetailCard h3,
.invoiceProducts h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.invoiceDetailCard p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.invoiceDetailCard p strong {
  color: var(--ink);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.invoiceProducts {
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.invoiceProducts article {
  align-items: center;
  background: var(--soft);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
}

.invoiceProducts article div {
  display: grid;
  gap: 3px;
}

.invoiceProducts article strong {
  font-weight: 700;
}

.invoiceModalActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.invoiceRaw {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.invoiceRaw summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 14px;
}

.invoiceRaw pre {
  background: #101816;
  color: #d8fffb;
  font-size: 12px;
  margin: 0;
  max-height: 260px;
  overflow: auto;
  padding: 14px;
}

.dangerText strong {
  color: #b42345 !important;
}

@media (max-width: 1180px) {
  .invoiceStatsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .invoiceToolbar {
    grid-template-columns: minmax(220px, 1fr) 170px;
  }

  .invoiceRow {
    grid-template-columns: minmax(240px, 1fr) 120px 120px;
  }

  .invoiceRowActions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .invoiceDetailGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .invoiceStatsGrid,
  .invoiceToolbar {
    grid-template-columns: 1fr;
  }

  .invoiceRow {
    grid-template-columns: 1fr;
  }

  .invoiceModalBackdrop {
    padding: 10px;
  }

  .invoiceModalHeader,
  .invoiceModalBody {
    padding: 16px;
  }

  .invoiceModalHeader h2 {
    font-size: 22px;
  }

  .invoiceProducts article {
    align-items: flex-start;
    flex-direction: column;
  }
}

.adminTableList {
  display: grid;
  gap: 8px;
}

.adminTableList article {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 10px;
}

.adminProductRow {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 64px minmax(180px, 1fr) 150px 150px 90px 210px;
}

.adminOrderRow {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) 110px 110px 140px 130px;
}

.adminOrderNote {
  grid-column: 1 / -1;
  background: #fff7e0;
  border-radius: 8px;
  color: #7a5a13 !important;
  padding: 8px 10px;
}

.adminTableList h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.adminTableList p,
.adminTableList span {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.adminTableList a {
  color: var(--brand);
  font-weight: 900;
}

.adminRowActions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.adminRowActions a,
.adminRowActions button {
  background: transparent;
  border: 0;
  color: var(--brand);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  padding: 0;
}

.adminRowActions button {
  color: #4b5d7a;
}

.quickEditPanel {
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 12px;
}

.quickEditPanel label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
}

.quickEditPanel input,
.quickEditPanel select {
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  min-height: 38px;
  padding: 8px 10px;
}

.quickEditActions {
  align-items: end;
  display: flex;
  gap: 8px;
}

.quickEditActions button:not(.submitButton) {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  min-height: 40px;
  padding: 0 12px;
}

.adminPlaceholderGrid {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1fr);
}

.adminPlaceholderGrid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.adminPlaceholderGrid h2 {
  font-size: 22px;
}

.adminPlaceholderGrid p,
.adminPlaceholderGrid li {
  color: var(--muted);
  line-height: 1.55;
}

.adminPlaceholderGrid label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
}

.adminPlaceholderGrid input {
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  min-height: 42px;
  padding: 10px 12px;
}

.adminLocked {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  gap: 12px;
  justify-items: center;
  min-height: 260px;
  padding: 26px;
  text-align: center;
}

.adminLocked h2 {
  color: var(--ink);
  font-size: 28px;
}

.adminLocked p {
  margin-bottom: 4px;
}

.adminLoginShell {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(33, 187, 176, 0.16), transparent 42%),
    #f8faf9;
  display: grid;
  min-height: 100vh;
  padding: 28px;
}

.adminFrameGuard {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(33, 187, 176, 0.16), transparent 42%),
    #f8faf9;
  display: grid;
  min-height: 100vh;
  padding: 28px;
  place-items: center;
}

.adminLoginPanel {
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: 520px;
  width: 100%;
}

.adminAccessForm p,
.adminWelcome p,
.adminLoginStatus {
  color: var(--muted);
  line-height: 1.55;
}

.adminAccessForm h1,
.adminWelcome h1 {
  font-size: 34px;
  margin: 0;
}

.adminLoginStatus,
.adminWelcome {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 22px;
}

.adminWelcome svg {
  color: var(--brand);
}

.adminLoginActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.adminLoginActions button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
}

.adminDashboardGrid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.adminModuleCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-height: 170px;
  padding: 20px;
}

.adminModuleCard svg {
  color: var(--brand);
}

.adminModuleCard h2 {
  font-size: 24px;
}

.adminModuleCard p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.productForm,
.adminListPanel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.formTitle {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.formTitle h2 {
  font-size: 22px;
}

.productForm {
  display: grid;
  gap: 13px;
}

.productFormSplit .formTitle,
.productFormSplit .formMessage,
.productFormSplit .submitButton {
  grid-column: 1 / -1;
}

.productFormColumns {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
}

.productFormMain,
.productFormMedia {
  display: grid;
  gap: 14px;
}

.productForm label {
  color: #4f5f5b;
  display: grid;
  font-size: 13px;
  font-weight: 650;
  gap: 7px;
}

.productForm input,
.productForm select,
.productForm textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

.productForm textarea {
  resize: vertical;
}

.formRow,
.uploadGrid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.uploadBox {
  align-items: center;
  background: var(--soft);
  border: 1px dashed #b9c8c3;
  border-radius: 8px;
  color: var(--ink) !important;
  cursor: pointer;
  justify-items: center;
  min-height: 104px;
  padding: 14px;
  text-align: center;
}

.previewUploader {
  color: #4f5f5b;
  display: grid;
  font-size: 13px;
  font-weight: 650;
  gap: 8px;
}

.previewUploader > div {
  align-items: center;
  aspect-ratio: 1.18;
  background: var(--soft);
  border: 1px dashed #b9c8c3;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.previewUploader > div:has(img) {
  aspect-ratio: auto;
  background: #fff;
  display: block;
  min-height: 0;
}

.previewUploader img {
  display: block;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  width: 100%;
}

.previewUploader input {
  font-size: 12px;
  min-height: auto;
}

.productFormMedia small {
  color: var(--muted);
  font-size: 12px;
}

.formatPicker {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 14px;
}

.formatPicker legend {
  color: #4f5f5b;
  font-size: 13px;
  font-weight: 650;
  padding: 0 6px;
}

.formatPicker label {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: row;
  gap: 7px;
  padding: 8px 11px;
}

.formatPicker input {
  min-height: auto;
  padding: 0;
  width: auto;
}

.uploadBox input {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  min-height: auto;
  padding: 0;
}

.submitButton {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 9px;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
}

.submitButton:disabled {
  cursor: wait;
  opacity: 0.7;
}

.spin {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.formMessage {
  border-radius: 8px;
  font-weight: 700;
  margin: 0;
  padding: 10px 12px;
}

.formMessage.success {
  background: #e8f7f2;
  color: #116d5e;
}

.formMessage.error {
  background: #fdecef;
  color: #a33247;
}

.checkoutShell {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 72px;
}

.checkoutHeader {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin: 26px 0 22px;
}

.checkoutHeader h1 {
  margin: 0 0 8px;
  font-size: 42px;
  letter-spacing: 0;
}

.checkoutHeader p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.checkoutTotal {
  min-width: 220px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 18px 20px;
  text-align: right;
  box-shadow: var(--shadow);
}

.checkoutTotal span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.checkoutTotal strong {
  display: block;
  margin-top: 4px;
  font-size: 26px;
}

.checkoutGrid,
.checkoutLayout {
  display: grid;
  gap: 18px;
  align-items: start;
}

.checkoutLayout {
  grid-template-columns: minmax(280px, 0.75fr) minmax(520px, 1.25fr);
}

.checkoutLayoutPaymentRight {
  grid-template-columns: minmax(560px, 1.15fr) minmax(320px, 0.85fr);
}

.checkoutSidebar,
.checkoutMain {
  display: grid;
  gap: 18px;
}

.checkoutPaymentColumn {
  position: sticky;
  top: 96px;
}

.checkoutCard {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.centeredCard {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.checkoutProduct {
  display: grid;
  align-items: center;
  gap: 14px;
  grid-template-columns: 92px minmax(0, 1fr);
}

.checkoutProductMedia {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  width: 92px;
}

.checkoutProductMedia img,
.checkoutProductMedia .shirtThumb {
  aspect-ratio: 1 / 1;
  display: block;
  width: 100%;
  object-fit: cover;
}

.checkoutProduct span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.checkoutProduct h2,
.checkoutForm h2,
.checkoutPayment h2 {
  margin: 4px 0 6px;
  font-size: 24px;
}

.checkoutProduct h2 {
  font-size: 22px;
  line-height: 1.1;
}

.checkoutProduct p,
.checkoutPayment p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.checkoutProductCard {
  padding: 16px;
}

.checkoutProductCard .checkoutProduct {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 112px minmax(0, 1fr);
}

.checkoutProductCard .checkoutProductMedia {
  border-radius: 8px;
  height: 74px;
  width: 112px;
}

.checkoutProductCard .checkoutProductMedia img,
.checkoutProductCard .checkoutProductMedia .shirtThumb {
  aspect-ratio: auto;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.checkoutProductCard .checkoutProduct span {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.checkoutProductCard .checkoutProduct h2 {
  font-size: 20px;
  line-height: 1.15;
  margin: 0 0 4px;
}

.checkoutProductCard .checkoutProduct p {
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.checkoutItemsCard {
  padding: 16px;
}

.checkoutItemsHeader {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.checkoutItemsHeader h2 {
  font-size: 22px;
  margin: 0;
}

.checkoutItemsHeader p {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 0;
}

.secondaryAction.compact {
  min-height: 42px;
  padding: 0 14px;
  width: auto;
}

.checkoutItemsList {
  display: grid;
  gap: 10px;
}

.checkoutLineItem {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  padding: 10px;
}

.checkoutLineThumb {
  background: #eef4f1;
  border-radius: 7px;
  height: 54px;
  overflow: hidden;
  width: 76px;
}

.checkoutLineThumb img,
.checkoutLineThumb .shirtThumb {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.checkoutLineInfo {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.checkoutLineInfo strong {
  font-size: 17px;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkoutLineInfo span {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.checkoutLineInfo b {
  font-size: 14px;
}

.checkoutRemoveItem {
  align-items: center;
  background: #fff4f4;
  border: 1px solid #ffd1d1;
  border-radius: 8px;
  color: #b42318;
  cursor: pointer;
  display: grid;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.checkoutRemoveItem:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.checkoutSectionHead {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.checkoutSectionHead h2 {
  margin: 0 0 6px;
}

.checkoutSectionHead p {
  color: var(--muted);
  margin: 0;
}

.checkoutSteps {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.checkoutStep {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  font-weight: 800;
}

.checkoutStep.active {
  color: var(--ink);
}

.checkoutStep.done {
  border-color: rgba(16, 163, 143, 0.35);
  background: #edfffb;
  color: var(--teal);
}

.checkoutForm {
  display: grid;
  gap: 14px;
}

.checkoutBillingForm {
  gap: 18px;
}

.checkoutForm label,
.checkoutFieldGroup,
.manualReceiptBox label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.checkoutForm input,
.checkoutForm select,
.manualReceiptBox input,
.manualReceiptBox textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.checkoutForm .fullField {
  grid-column: 1 / -1;
}

.checkoutCountryField {
  grid-column: 1 / -1;
}

.checkoutDocumentRow {
  align-items: start;
}

.countryCombobox {
  position: relative;
}

.countryComboboxTrigger {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  font: inherit;
  font-weight: 850;
  gap: 14px;
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 52px;
  padding: 12px 42px 12px 16px;
  position: relative;
  text-align: left;
  width: 100%;
}

.countryComboboxTrigger,
.countryComboboxOptions button {
  appearance: none;
  -webkit-appearance: none;
}

.countryComboboxTrigger::after {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--muted);
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.countryComboboxTrigger img,
.countryComboboxOptions img {
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  height: 14px;
  object-fit: cover;
  width: 20px;
}

.countryComboboxPanel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(10, 20, 18, 0.16);
  display: grid;
  gap: 8px;
  left: 0;
  padding: 10px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 25;
}

.countryComboboxPanel input {
  min-height: 46px;
}

.countryComboboxOptions {
  display: grid;
  max-height: 260px;
  overflow: auto;
}

.countryComboboxOptions button,
.countryComboboxOptions [role="option"] {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  font: inherit;
  font-weight: 800;
  gap: 10px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  padding: 10px;
  text-align: left;
}

.countryComboboxOptions button:hover,
.countryComboboxOptions button.active,
.countryComboboxOptions [role="option"]:hover,
.countryComboboxOptions [role="option"].active {
  background: var(--soft);
}

.countryComboboxOptions small {
  color: var(--muted);
  font-weight: 850;
}

.countryComboboxOptions p {
  color: var(--muted);
  font-size: 14px;
  margin: 10px;
}

.billingCountrySelect,
.billingPhoneCombo {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  min-height: 52px;
  overflow: hidden;
}

.billingCountrySelect img,
.billingPhoneCombo img {
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  height: 14px;
  object-fit: cover;
  width: 20px;
}

.billingCountrySelect img {
  justify-self: center;
}

.billingCountrySelect select {
  border: 0;
  min-height: 52px;
}

.billingPhoneCombo {
  grid-template-columns: 160px minmax(0, 1fr);
}

.billingPhoneCombo span {
  align-items: center;
  align-self: stretch;
  background: var(--soft);
  border-right: 1px solid var(--line);
  display: flex;
  font-weight: 850;
  gap: 8px;
  justify-content: center;
}

.billingPhoneCombo span img {
  flex: 0 0 auto;
}

.billingPhoneCombo input {
  border: 0;
  min-height: 52px;
}

.documentFeedback {
  color: #b00020;
  font-size: 13px;
  font-weight: 850;
  margin: -4px 0 0;
}

.manualReceiptBox textarea {
  line-height: 1.45;
  resize: vertical;
}

.checkoutActions,
.checkoutSuccessActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.checkoutBillingHint {
  align-items: center;
  justify-content: space-between;
}

.checkoutBillingHint p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  max-width: 520px;
}

.checkoutPayment {
  display: grid;
  gap: 16px;
}

.checkoutPayment.isLocked {
  opacity: 0.78;
}

.checkoutMuted {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 12px;
}

.paymentSelector {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 5px;
}

.paymentSelector button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  min-height: 42px;
}

.paymentSelector button.isActive {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.paymentSelector button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.paymentBox {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding-top: 16px;
}

.manualReceiptBox {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.checkoutTotalsCard {
  display: grid;
  gap: 14px;
}

.checkoutTotalsCard h2 {
  font-size: 22px;
  margin: 0;
}

.checkoutTotalsCard dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.checkoutTotalsCard dl div {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
}

.checkoutTotalsCard dt {
  color: var(--muted);
  font-weight: 800;
}

.checkoutTotalsCard dd {
  font-weight: 900;
  margin: 0;
}

.checkoutReadGrid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkoutReadItem {
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 68px;
  padding: 13px 15px;
}

.checkoutReadItem span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkoutReadItem strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.checkoutReadItemWide {
  grid-column: 1 / -1;
}

.checkoutSuccess {
  align-items: flex-start;
  border-color: rgba(16, 163, 143, 0.35);
  display: grid;
  gap: 16px;
}

.checkoutSuccess > svg {
  color: var(--brand);
}

.checkoutSuccess h2 {
  font-size: 32px;
  margin: 0 0 8px;
}

.designRequestsAdmin {
  max-width: none;
}

.adminRequestModule {
  display: grid;
  gap: 16px;
}

.adminUsersModule {
  display: grid;
  gap: 16px;
}

.adminMembershipsModule {
  display: grid;
  gap: 16px;
}

.adminSettingsModule {
  display: grid;
  gap: 16px;
}

.settingsTabs {
  align-items: center;
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  display: flex;
  gap: 6px;
  padding: 8px;
}

.settingsTabs button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #50575e;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 36px;
  padding: 0 14px;
}

.settingsTabs button.is-active,
.settingsTabs button:hover {
  background: #1d2327;
  color: #fff;
}

.settingsFormGrid {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.settingsFormGrid label {
  color: #1d2327;
  display: grid;
  font-weight: 800;
  gap: 7px;
}

.settingsFormGrid input,
.settingsFormGrid select,
.settingsFormGrid textarea {
  border: 1px solid #c3c4c7;
  border-radius: 6px;
  color: #1d2327;
  font: inherit;
  font-weight: 400;
  min-height: 40px;
  padding: 8px 10px;
}

.settingsFormGrid textarea {
  resize: vertical;
}

.settingsWide {
  grid-column: 1 / -1;
}

.integrationsModule {
  display: grid;
  gap: 18px;
}

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

.integrationStatus > div {
  align-items: center;
  display: flex;
  gap: 8px;
}

.integrationStatus strong {
  font-size: 18px;
}

.integrationStatus strong.ok {
  color: #008a20;
}

.integrationStatus strong.pending {
  color: #996800;
}

.integrationStatus small,
.integrationsActions small,
.integrationsForm small {
  color: #646970;
  line-height: 1.45;
}

.integrationsTabs {
  justify-content: flex-start;
}

.integrationsForm {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  padding: 22px;
}

.datilSyncNote {
  background: rgba(33, 187, 176, 0.08);
  border: 1px solid rgba(33, 187, 176, 0.24);
  border-radius: 8px;
  color: #506865;
  font-size: 14px;
  grid-column: 1 / -1;
  line-height: 1.5;
  padding: 12px 14px;
}

.datilConnectionBlock {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr) auto;
}

.datilConnectionBlock label {
  min-width: 0;
}

.datilConnectButton {
  min-height: 42px;
  white-space: nowrap;
}

.integrationsForm label {
  color: #1d2327;
  display: grid;
  font-size: 14px;
  font-weight: 650;
  gap: 7px;
}

.integrationsForm input,
.integrationsForm select,
.integrationsForm textarea {
  border: 1px solid #c3c4c7;
  border-radius: 6px;
  color: #1d2327;
  font: inherit;
  min-height: 42px;
  padding: 9px 11px;
}

.integrationsForm textarea {
  line-height: 1.45;
  resize: vertical;
}

.integrationsForm input[readonly],
.integrationsForm textarea[readonly] {
  background: #f7fbfa;
  border-color: #dbe8e6;
  color: #60716f;
  cursor: default;
}

.integrationsActions {
  align-items: center;
  border-top: 1px solid #dcdcde;
  display: flex;
  gap: 12px;
  grid-column: 1 / -1;
  padding-top: 16px;
}

.settingsCheck {
  align-items: center;
  display: flex !important;
  flex-direction: row;
  gap: 10px !important;
}

.settingsCheck input {
  min-height: auto;
  width: auto;
}

.membershipPlanGrid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.membershipPlanCard {
  border: 1px solid #dcdcde;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.membershipPlanCard small {
  color: var(--brand-dark);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.membershipPlanCard h3 {
  margin: 0;
}

.membershipPlanCard strong {
  font-size: 22px;
}

.membershipPlanCard p {
  color: #50575e;
  margin: 0;
}

.membershipPlanCard span {
  color: #646970;
  font-size: 13px;
}

.membershipCardHead,
.adminSectionHead,
.adminToolbarActions {
  align-items: center;
  display: flex;
}

.membershipCardHead,
.adminSectionHead {
  justify-content: space-between;
}

.adminSectionHead {
  gap: 16px;
}

.adminSectionHead p {
  color: #646970;
  margin: 4px 0 0;
}

.adminListFilters {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(260px, 1fr) auto;
}

.adminListFilters input {
  border: 1px solid #c3c4c7;
  border-radius: 8px;
  color: #1d2327;
  font: inherit;
  min-height: 42px;
  padding: 0 12px;
}

.adminListFilters span {
  color: #646970;
  font-size: 13px;
  font-weight: 800;
}

.adminToolbarActions {
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.membershipRuleList {
  border: 1px solid #dcdcde;
  border-radius: 8px;
  display: grid;
  margin: 0;
  overflow: hidden;
}

.membershipRuleList div {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 110px 1fr;
  padding: 9px 10px;
}

.membershipRuleList div + div {
  border-top: 1px solid #dcdcde;
}

.membershipRuleList dt {
  color: #646970;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.membershipRuleList dd {
  color: #1d2327;
  font-size: 13px;
  margin: 0;
  overflow-wrap: anywhere;
}

.sourceBadge {
  background: #f0f0f1;
  border-radius: 999px;
  color: #50575e !important;
  display: inline-flex !important;
  font-size: 12px !important;
  font-weight: 900;
  line-height: 1;
  margin: 0 !important;
  padding: 7px 10px;
  text-transform: uppercase;
}

.sourceBadge.active,
.sourceBadge.patreon {
  background: #e7f8f3;
  color: #007a64 !important;
}

.sourceBadge.manual {
  background: #eef4ff;
  color: #235bd8 !important;
}

.sourceBadge.paused,
.sourceBadge.cancelled,
.sourceBadge.expired {
  background: #fff4f4;
  color: #b42318 !important;
}

.adminModuleToolbar {
  align-items: center;
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 14px 16px;
}

.adminModuleToolbar > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.adminModuleToolbar strong {
  font-size: 18px;
}

.adminModuleToolbar span {
  color: #646970;
}

.adminMetricGrid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.adminMetric,
.adminModuleCard {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 8px;
}

.adminMetric {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.adminMetric span {
  color: #646970;
  font-size: 13px;
  font-weight: 700;
}

.adminMetric strong {
  color: #1d2327;
  font-size: 30px;
  line-height: 1;
}

.adminModuleCard {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.adminModuleCard h3 {
  font-size: 20px;
  margin: 0;
}

.aimWidefat.clean {
  border: 0;
  box-shadow: none;
}

.aimWidefat.clean td strong {
  display: block;
}

.aimWidefat.clean td span {
  color: #646970;
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.adminSettingsGrid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
}

.adminRuleList {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.adminDesignerList {
  display: grid;
  gap: 8px;
}

.adminDesignerList article {
  align-items: center;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr auto;
  padding: 10px 12px;
}

.adminDesignerList span {
  color: #646970;
  font-size: 13px;
}

.adminDesignerList small {
  background: #ecfdf5;
  border-radius: 999px;
  color: #047857;
  font-weight: 800;
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: 4px 8px;
}

.rolePill {
  border-radius: 999px;
  display: inline-flex !important;
  font-size: 12px !important;
  font-weight: 900;
  margin: 0 !important;
  padding: 5px 9px;
}

.role-admin {
  background: #eef2ff;
  color: #3730a3 !important;
}

.role-seller {
  background: #ecfdf5;
  color: #047857 !important;
}

.role-accountant {
  background: #fff7ed;
  color: #c2410c !important;
}

.role-designer {
  background: #eff6ff;
  color: #1d4ed8 !important;
}

.role-customer {
  background: #f3f4f6;
  color: #374151 !important;
}

.internalModuleHead {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.internalClientForm {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(160px, 1fr)) auto auto;
}

.internalClientForm input {
  border: 1px solid #c3c4c7;
  border-radius: 6px;
  font: inherit;
  min-height: 38px;
  padding: 7px 10px;
}

.internalCardGrid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.internalRequestCard {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  overflow: hidden;
  padding: 0 14px 14px;
}

.internalRequestCard > span {
  color: #646970;
}

.internalPreview {
  aspect-ratio: 16 / 12;
  background: #f6f7f7;
  display: grid;
  margin: 0 -14px 6px;
  object-fit: cover;
  place-items: center;
  width: calc(100% + 28px);
}

.internalPreview.empty {
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.aim-pluginbar {
  margin-bottom: 12px;
}

.aimNoticePanel {
  background: #fff;
  border: 1px solid #b7c7ff;
  border-left: 2px solid #3156e7;
  border-radius: 6px;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.8;
  margin: 14px 0;
  padding: 12px 14px;
}

.aimPagination {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.aimPluginPlain {
  overflow-x: auto;
}

.aimPluginPlain .aimFilterBar {
  justify-content: flex-start;
  margin-bottom: 14px;
}

.aimInlineCounts {
  color: #1f2937;
  font-size: 14px;
  margin: 12px 0 16px;
}

.aimPerformanceTable {
  min-width: 1500px;
}

.aimSettingsSection {
  border-bottom: 1px solid #dcdcde;
  display: grid;
  gap: 14px;
  padding: 0 0 24px;
}

.aimSettingsSection + .aimSettingsSection {
  padding-top: 24px;
}

.aimSettingsSection h4 {
  font-size: 18px;
  margin: 0;
}

.aimSettingsRow {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 220px minmax(260px, 400px);
}

.aimSettingsTableWrap {
  max-width: 880px;
}

.aimSettingsTableWrap input {
  border: 1px solid #8c8f94;
  min-height: 42px;
  padding: 6px 10px;
  width: 220px;
}

.aimDesignerSettings {
  display: grid;
  gap: 16px;
  grid-template-columns: 220px 1fr;
}

.aimReviewSettings {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 220px minmax(360px, 760px);
}

.aimSupervisorList {
  display: grid;
  gap: 8px;
}

.aimSupervisorList article {
  align-items: center;
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 5px;
  display: grid;
  gap: 10px;
  grid-template-columns: 32px 1fr 74px 74px;
  min-height: 56px;
  padding: 8px 10px;
}

.aimSupervisorList label {
  align-items: center;
  display: flex;
  gap: 8px;
}

.aimReviewSettings textarea {
  border: 1px solid #8c8f94;
  font: inherit;
  min-height: 160px;
  padding: 10px 12px;
  width: 100%;
}

.aimFullSave {
  justify-self: stretch;
  min-height: 46px;
}

.adminRequestModule .wpButton.primary,
.adminRequestModule .aimdr-tabs-clone button.is-active {
  background: var(--aim-brand, #25b3ac);
  border-color: var(--aim-brand, #25b3ac);
}

.adminRequestModule .aimdr-tabs-clone button.is-active {
  color: #fff;
}

.aim-due--late {
  color: #b91c1c !important;
  font-weight: 800;
}

.aim-due--soon {
  color: #b45309 !important;
  font-weight: 800;
}

.designRequestBoard {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
}

.requestColumn {
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-height: 260px;
  padding: 12px;
}

.requestColumn h2 {
  align-items: center;
  display: flex;
  font-size: 16px;
  gap: 8px;
  margin: 0;
}

.requestCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 12px;
}

.requestCard h3 {
  font-size: 16px;
  margin: 0 0 5px;
}

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

.requestCard span {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  gap: 5px;
}

.requestActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.requestActions button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  min-height: 34px;
  padding: 0 10px;
}

.aimdr-admin-clone {
  display: grid;
  gap: 14px;
  max-width: none;
}

.aim-bulkbar,
.aimFilterBar,
.aimdr-toolbar-clone,
.aimdr-actions-clone,
.aimdr-tabs-clone {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aimdr-toolbar-clone {
  justify-content: space-between;
}

.aimFilterBar label,
.mineCheck {
  color: #374151;
  font-size: 13px;
  font-weight: 700;
}

.aimFilterBar input,
.aimFilterBar select,
.aimdr-actions-clone input,
.aim-bulkbar select {
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  min-height: 34px;
  padding: 4px 8px;
}

.wpButton,
.aimdr-tabs-clone button,
.aimdr-actions-clone button,
.rowActionButtons button {
  background: #fff;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  color: #1d2327;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  min-height: 34px;
  padding: 0 10px;
}

.wpButton.primary {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.wpButton.danger {
  border-color: #fecaca;
  color: #b91c1c;
}

.wpButton:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.wpButton.refresh {
  border-color: var(--brand);
  border-bottom: 4px solid var(--brand-dark);
}

.aimdr-tabs-clone button {
  border-radius: 12px;
  min-height: 38px;
}

.aimdr-tabs-clone button.is-active {
  background: #25b3ac;
  border-color: #25b3ac;
  color: #fff;
}

.aimdr-actions-clone button.is-active {
  background: #e9fbf8;
  border-color: var(--brand);
  color: var(--brand-dark);
}

.aimWidefat {
  background: #fff;
  border: 1px solid #c3c4c7;
  border-collapse: collapse;
  width: 100%;
}

.aimWidefat th,
.aimWidefat td {
  border-bottom: 1px solid #dcdcde;
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
}

.aimWidefat thead th {
  background: #f0f0f1;
  color: #2c3338;
  font-weight: 700;
}

.linkButton {
  background: transparent;
  border: 0;
  color: var(--brand-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0;
}

.cardTitleButton {
  color: var(--ink);
  font-size: 16px;
  text-align: left;
}

.adminRequestDetailGrid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 14px 0;
}

.adminRequestDetailGrid p {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin: 0;
  padding: 10px;
}

.aimBadge {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
}

.aimBadge.espera {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.aimBadge.proceso {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.aimBadge.finalizado {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #047857;
}

.aimBadge.anulado {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.rowActionButtons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rowActionButtons button:last-child {
  color: #b91c1c;
}

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

.aimCardClone {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.aimCardThumb {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
  color: #9ca3af;
  display: flex;
  justify-content: center;
}

.aimCardBody {
  display: grid;
  gap: 8px;
  padding: 10px 12px 12px;
}

.aimCardBody h3 {
  font-size: 16px;
  margin: 0;
}

.aimCardBody p {
  color: #6b7280;
  font-size: 13px;
  margin: 0;
}

.modalScrim {
  align-items: center;
  background: rgba(0, 0, 0, 0.42);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 50;
}

.wpModal {
  background: #fff;
  border: 1px solid #c3c4c7;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  display: grid;
  gap: 14px;
  max-width: 560px;
  padding: 24px;
  position: relative;
  width: min(100%, 560px);
}

.wpModal h2 {
  font-size: 26px;
  margin: 0;
}

.wpModal label {
  color: #374151;
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
}

.wpModal input,
.wpModal select,
.wpModal textarea {
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  font: inherit;
  min-height: 40px;
  padding: 8px 10px;
  width: 100%;
}

.wpModal textarea {
  resize: vertical;
}

.modalClose {
  align-items: center;
  background: #fff;
  border: 1px solid #c3c4c7;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
}

.modalActions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

@media (max-width: 1400px) {
  .aimGridClone {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .aimGridClone {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .aimGridClone {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .aimGridClone {
    grid-template-columns: 1fr;
  }
}

.loadingLine {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: 8px;
}

.adminProductList {
  display: grid;
  gap: 10px;
}

.adminProductList article {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 74px 1fr;
  padding: 10px;
}

.adminProductList h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.adminProductList p,
.adminProductList span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin: 0;
}

.categoryList {
  display: grid;
  gap: 10px;
}

.categoryRow {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(160px, 1fr) minmax(140px, 1fr) auto auto;
  padding: 12px;
}

.categoryRow strong {
  color: var(--ink);
}

.categoryRow span {
  color: var(--muted);
}

.categoryRow em {
  background: #eef8f6;
  border-radius: 999px;
  color: var(--brand);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  padding: 7px 10px;
}

.categoryActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.categoryEditModal {
  border-radius: 8px;
}

.tinyThumb {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: var(--brand);
  border-radius: 8px;
  color: var(--brand);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.tinyThumb:has(.productPreviewImage) {
  background: #fff;
}

.tinyThumb .shirtThumb {
  height: 68%;
}

@media (max-width: 980px) {
  .topbar {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr auto;
    padding-bottom: 12px;
    padding-top: 12px;
  }

  .topbar nav {
    display: none;
  }

  .headerSearch {
    grid-column: 1 / -1;
    max-width: none;
    width: 100%;
  }

  .wpAdminShell {
    grid-template-columns: 64px 1fr;
  }

  .wpBrand strong,
  .wpMenu a span,
  .wpMenuGroup p {
    display: none;
  }

  .wpMenu a {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .wpSubmenu {
    display: none;
  }

  .productGrid,
  .planGrid,
  .pricingCards,
  .opsGrid,
  .adminPanel,
  .productDetailGrid,
  .accountDashboard,
  .accountGrid,
  .profileFormGrid,
  .membershipDetailGrid,
  .blogGrid,
  .loginShell,
  .adminGrid,
  .adminStats,
  .adminPlaceholderGrid,
  .productInfoGrid,
  .clientRequestsGrid,
  .designRequestBoard {
    grid-template-columns: 1fr 1fr;
  }

  .adminProductRow {
    grid-template-columns: 64px 1fr 110px;
  }

  .adminTableList article span:nth-of-type(2),
  .adminTableList article strong {
    display: none;
  }

  .catalogHeader,
  .catalogTools,
  .checkoutLayout,
  .checkoutLayoutPaymentRight {
    grid-template-columns: 1fr 1fr;
  }

  .checkoutLayoutPaymentRight {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkoutPaymentColumn {
    position: static;
  }

  .datilConnectionBlock {
    grid-template-columns: 1fr;
  }

  .datilConnectButton {
    width: 100%;
  }

  .productFormColumns {
    grid-template-columns: 1fr;
  }

  .catalogDesignGrid {
    gap: 34px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .invoiceList article {
    align-items: start;
    grid-template-columns: 1fr 1fr;
  }

  .orderList article {
    align-items: start;
    grid-template-columns: 1fr 1fr;
  }

  .invoiceActions,
  .purchaseActions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .purchaseMeta {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .wpAdminShell {
    grid-template-columns: 1fr;
  }

  .wpSidebar {
    min-height: auto;
  }

  .wpMenu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wpMenu a span {
    display: block;
  }

  .wpTopbar {
    align-items: flex-start;
    display: grid;
    gap: 8px;
    padding: 10px 14px;
  }

  .wpContent {
    padding: 18px;
  }

  .sectionHead,
  .aim-form-grid,
  .productGrid,
  .planGrid,
  .pricingCards,
  .opsGrid,
  .adminPanel,
  .productDetailGrid,
  .accountDashboard,
  .accountGrid,
  .profileFormGrid,
  .membershipDetailGrid,
  .blogGrid,
  .loginShell,
  .adminGrid,
  .adminStats,
  .adminPlaceholderGrid,
  .productInfoGrid,
  .clientRequestsGrid,
  .designRequestBoard,
  .catalogHeader,
  .catalogTools,
  .checkoutLayout,
  .checkoutLayoutPaymentRight,
  .checkoutReadGrid {
    grid-template-columns: 1fr;
  }

  .checkoutShell {
    width: min(100% - 28px, 1220px);
    padding-top: 24px;
  }

  .checkoutHeader {
    align-items: flex-start;
    display: grid;
  }

  .checkoutTotal {
    text-align: left;
    width: 100%;
  }

  .checkoutItemsHeader {
    flex-direction: column;
  }

  .secondaryAction.compact {
    width: 100%;
  }

  .checkoutLineItem {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }

  .checkoutLineThumb {
    height: 48px;
    width: 64px;
  }

  .membershipDetailsTable div {
    grid-template-columns: 1fr;
  }

  .billingSummaryHead,
  .billingDataGrid,
  .orderList article,
  .invoiceList article {
    grid-template-columns: 1fr;
  }

  .billingDataGrid div:nth-child(odd) {
    border-right: 0;
  }

  .billingDataGrid div + div {
    border-top: 1px solid var(--line);
  }

  .membershipDetailsTable dt {
    border-right: 0;
    min-height: auto;
    padding-bottom: 4px;
  }

  .membershipDetailsTable dd {
    padding-top: 4px;
  }

  .catalogSearchHero {
    min-height: 124px;
    padding-top: 18px;
  }

  .catalogSearchForm {
    border-radius: 12px;
    grid-template-columns: minmax(0, 1fr) 64px;
    height: 64px;
  }

  .catalogIntro {
    font-size: 16px;
    margin-bottom: 36px;
  }

  .catalogDesignGrid {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .adminProductRow {
    align-items: start;
    grid-template-columns: 54px 1fr;
  }

  .adminTableList article > span,
  .adminTableList article > strong,
  .adminTableList article > a,
  .adminRowActions {
    grid-column: 2;
    justify-content: flex-start;
  }

  .quickEditPanel {
    grid-template-columns: 1fr;
  }

  .sectionHead {
    align-items: flex-start;
    display: grid;
  }

  .productCard {
    min-height: 250px;
  }

  .pricingPage {
    padding-top: 18px;
  }

  .billingToggle {
    margin-bottom: 28px;
  }

  .pricingCard {
    min-height: auto;
  }

  .productPurchasePanel {
    position: static;
  }

  .productSpecTable div {
    grid-template-columns: 1fr;
  }

  .productSpecTable dt {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: auto;
    padding-bottom: 8px;
  }

  .productSpecTable dd {
    min-height: auto;
    padding-top: 10px;
  }

  .filters {
    flex-wrap: wrap;
  }

  .orderList article {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .accountSidebar {
    position: static;
  }
}

@media (max-width: 980px) {
  .cleanLoginShell {
    grid-template-columns: minmax(280px, 520px);
  }
}

@media (max-width: 640px) {
  .cleanLoginShell {
    min-height: calc(100vh - 92px);
    padding-inline: 16px;
  }
}

/* Aimari modern theme overrides */
:where(h1, h2, h3, h4, .brand, .eyebrow, .wpPageTitle h1, .checkoutHeader h1, .checkoutForm h2, .checkoutPayment h2, .checkoutProduct h2, .accountGrid h2, .blogGrid h2, .membershipSummaryHead h2, .productTitle, .pricingCard h2, .adminTableList h3, .wpModal h2, .aim-modal__header h3) {
  font-weight: 650;
  letter-spacing: 0;
}

:where(strong, b, label, dt, th, .wpMenuGroup p, .checkoutForm label, .authForm label, .checkoutAuthForm label, .settingsFormGrid label, .catalogFilterSelects label, .checkoutReadItem span, .checkoutTotalsCard dt, .membershipDetailsTable dt) {
  font-weight: 600;
}

:where(button, .primaryAction, .secondaryAction, .aim-btn, .login, .authTabs button, .checkoutAuthTabs button, .settingsTabs button, .billingToggle button, .profileTabs button, .wpMenu a, .wpSubmenu a, .filterSelect, .catalogFilterSelects select) {
  font-weight: 600;
}

:where(input, select, textarea) {
  font-weight: 500;
}

:where(.topbar) {
  backdrop-filter: blur(16px);
  border-bottom-color: var(--brand-line);
  box-shadow: 0 10px 30px rgba(19, 33, 31, 0.04);
}

:where(.brandMark, .wpBrand span) {
  background: linear-gradient(135deg, var(--ink), #183f3b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

:where(.headerSearch, .catalogSearchForm, input, select, textarea, .checkoutForm input, .checkoutForm select, .authForm input, .checkoutAuthForm input, .wpModal input, .wpModal select, .wpModal textarea, .settingsFormGrid input, .settingsFormGrid select, .settingsFormGrid textarea) {
  border-color: var(--line);
  border-radius: 12px;
}

:where(.headerSearch:focus-within, .catalogSearchForm:focus-within, input:focus, select:focus, textarea:focus, .checkoutForm input:focus, .checkoutForm select:focus, .authForm input:focus, .checkoutAuthForm input:focus, .wpModal input:focus, .wpModal select:focus, .wpModal textarea:focus) {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(33, 187, 176, 0.13);
  outline: none;
}

:where(.primaryAction, .primaryAction.brandAction, .aim-btn, .accountGrid button, .profileActionButtons button:not(.secondary), .catalogFilterGroup a.isActive, .filters .isActive, .billingToggle button.active, .checkoutAuthTabs button.active, .authTabs button.isActive, .settingsTabs button.is-active, .settingsTabs button:hover) {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 10px 26px rgba(33, 187, 176, 0.18);
}

:where(.secondaryAction, .aim-btn--ghost, .backLink, .login, .billingSummaryHead button, .profileActionButtons button.secondary) {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

:where(.secondaryAction:hover, .aim-btn--ghost:hover, .backLink:hover, .login:hover, .billingSummaryHead button:hover, .profileActionButtons button.secondary:hover) {
  border-color: var(--brand);
  color: var(--brand-dark);
}

:where(.wpSidebar, .wpTopbar, .wpBrand) {
  background: #111b19;
}

:where(.wpMenu a:hover, .wpMenu a.active) {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

:where(.wpSubmenu a:hover, .wpSubmenu a.active, .wpMenuGroup p, .eyebrow, .accountGrid svg, .opsGrid svg, .membershipSummaryHead, .checkoutSuccess > svg) {
  color: var(--brand);
}

:where(.wpMenu em, .accessBadge.free, .actionButton.free) {
  background: var(--brand);
}

:where(.wpSubmenu a.active) {
  color: #a8fff8;
}

:where(.adminPanel, .accountGrid article, .blogGrid article, .membershipStatusCard, .billingPanel, .billingSummaryCard, .checkoutCard, .checkoutTotalsCard, .checkoutReadItem, .clientRequestsPlugin, .adminListPanel, .wpModal, .aim-modal__dialog, .membershipPlanCard, .settingsTabs, .productFormatPanel, .productPurchasePanel) {
  border-color: var(--brand-line);
  box-shadow: 0 12px 34px rgba(19, 33, 31, 0.045);
}

:where(.membershipStatusCard.active) {
  border-color: rgba(33, 187, 176, 0.38);
  box-shadow: inset 4px 0 0 var(--brand), var(--shadow-soft);
}

:where(.catalogSearchHero) {
  background:
    radial-gradient(circle at 25% 0%, rgba(255, 255, 255, 0.3), transparent 34%),
    linear-gradient(180deg, var(--brand) 0%, var(--brand) 52%, rgba(199, 247, 241, 0.78) 53%, rgba(199, 247, 241, 0.78) 74%, #fff 75%);
}

:where(.tone-teal .mockPreview) {
  background: var(--brand);
}

:where(.productFormatPanel span, .membershipState, .catalogFilterGroup a.free:not(.isActive)) {
  background: var(--brand-soft);
  border-color: var(--brand-line);
  color: var(--brand-dark);
}

/* Visual polish: lighter typography and compact billing country picker */
body {
  font-weight: 400;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.checkoutHero h1,
.checkoutForm h2,
.productDetailTitle,
.pricingCard h2,
.accountPanel h1,
.adminPage h1 {
  font-weight: 700;
}

.brand,
button,
.primaryAction,
.secondaryAction,
.downloadButton,
.checkoutSummary strong,
.checkoutForm label,
.checkoutForm span,
.checkoutProduct h2,
.countryComboboxTrigger,
.countryComboboxOptions button {
  font-weight: 650;
}

input,
select,
textarea {
  font-weight: 500;
}

.checkoutBillingForm .countryCombobox {
  position: relative;
  width: 100%;
}

.checkoutBillingForm .countryComboboxTrigger {
  all: unset;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-sizing: border-box;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  font: inherit;
  font-weight: 650;
  gap: 12px;
  grid-template-columns: 28px minmax(0, 1fr);
  min-height: 58px;
  padding: 14px 46px 14px 16px;
  position: relative;
  text-align: left;
  width: 100%;
}

.checkoutBillingForm .countryComboboxTrigger:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(33, 187, 176, 0.14);
}

.checkoutBillingForm .countryComboboxTrigger::after {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--muted);
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.checkoutBillingForm .countryComboboxTrigger img,
.checkoutBillingForm .countryComboboxOptions img,
.billingCountrySelect img,
.billingPhoneCombo img {
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  height: 16px;
  object-fit: cover;
  width: 24px;
}

.checkoutBillingForm .countryComboboxPanel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(10, 20, 18, 0.12);
  box-sizing: border-box;
  display: grid;
  left: 0;
  overflow: hidden;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 80;
}

.checkoutBillingForm .countryComboboxPanel input {
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  min-height: 42px;
  outline: 0;
  padding: 0 12px;
}

.checkoutBillingForm .countryComboboxPanel input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(33, 187, 176, 0.12);
}

.checkoutBillingForm .countryComboboxOptions {
  display: grid;
  gap: 0;
  max-height: 330px;
  overflow-y: auto;
}

.checkoutBillingForm .countryComboboxOptions button,
.checkoutBillingForm .countryComboboxOptions [role="option"] {
  all: unset;
  align-items: center;
  border-radius: 10px;
  box-sizing: border-box;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  font: inherit;
  font-weight: 600;
  gap: 12px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  min-height: 48px;
  padding: 10px 12px;
  text-align: left;
}

.checkoutBillingForm .countryComboboxOptions button:hover,
.checkoutBillingForm .countryComboboxOptions button.active,
.checkoutBillingForm .countryComboboxOptions [role="option"]:hover,
.checkoutBillingForm .countryComboboxOptions [role="option"].active {
  background: #e7f8f4;
  color: var(--brand);
}

.checkoutBillingForm .countryComboboxOptions small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

/* Checkout cleanup */
.checkoutShell {
  overflow-x: clip;
}

.checkoutHeader {
  align-items: center;
  margin: 22px 0 18px;
}

.checkoutHeader h1,
.checkoutHeader p {
  display: none;
}

.checkoutHeader .eyebrow {
  color: var(--muted);
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.checkoutLayoutPaymentRight {
  grid-template-columns: minmax(520px, 1fr) minmax(320px, 0.72fr);
  gap: 22px;
}

.checkoutItemsCard {
  padding: 18px;
}

.checkoutItemsHeader {
  align-items: center;
  margin-bottom: 16px;
}

.checkoutItemsHeader h2 {
  font-size: 28px;
  font-weight: 650;
  letter-spacing: 0;
}

.checkoutItemsHeader p {
  font-size: 14px;
}

.checkoutLineItem {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  padding: 10px;
}

.checkoutLineThumb {
  background: #f3f7f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 62px;
  overflow: hidden;
  width: 92px;
}

.checkoutLineThumb img,
.checkoutLineThumb .shirtThumb {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.checkoutLineInfo strong {
  font-size: 18px;
  font-weight: 650;
}

.checkoutLineInfo span {
  font-size: 13px;
  line-height: 1.25;
}

.checkoutLineInfo b {
  color: var(--brand);
  font-size: 14px;
  font-weight: 650;
}

.checkoutProductCard .checkoutProductMedia {
  height: 72px;
  width: 104px;
}

.checkoutCard {
  overflow: visible;
}

.checkoutBillingForm .countryCombobox {
  position: relative;
  width: 100%;
}

.checkoutBillingForm .countryComboboxTrigger {
  align-items: center !important;
  appearance: none !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  color: var(--ink) !important;
  cursor: pointer !important;
  display: grid !important;
  font: inherit !important;
  font-weight: 600 !important;
  gap: 12px !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  line-height: 1.2 !important;
  min-height: 56px !important;
  padding: 12px 44px 12px 16px !important;
  position: relative !important;
  text-align: left !important;
  width: 100% !important;
}

.checkoutBillingForm .countryComboboxTrigger::after {
  color: var(--muted);
  content: "" !important;
  height: 9px;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-65%) rotate(45deg);
  width: 9px;
  border-bottom: 2px solid currentColor !important;
  border-right: 2px solid currentColor !important;
}

.checkoutBillingForm .countryCombobox.isOpen .countryComboboxTrigger::after {
  content: "" !important;
  transform: translateY(-35%) rotate(225deg);
}

.checkoutBillingForm .countryComboboxTrigger img,
.checkoutBillingForm .countryComboboxOptions img,
.billingPhoneCombo img {
  border-radius: 2px !important;
  height: 14px !important;
  object-fit: cover !important;
  width: 22px !important;
}

.checkoutBillingForm .countryComboboxPanel {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 45px rgba(9, 25, 22, 0.14) !important;
  box-sizing: border-box !important;
  display: grid !important;
  gap: 8px !important;
  left: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  padding: 10px !important;
  position: absolute !important;
  right: 0 !important;
  top: calc(100% + 8px) !important;
  z-index: 200 !important;
}

.checkoutBillingForm .countryComboboxPanel input {
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  font: inherit !important;
  min-height: 42px !important;
  padding: 0 12px !important;
}

.checkoutBillingForm .countryComboboxOptions {
  display: grid !important;
  gap: 2px !important;
  max-height: 288px !important;
  overflow-y: auto !important;
  padding-right: 2px !important;
}

.checkoutBillingForm .countryComboboxOptions button {
  align-items: center !important;
  appearance: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  color: var(--ink) !important;
  cursor: pointer !important;
  display: grid !important;
  font: inherit !important;
  font-weight: 600 !important;
  gap: 10px !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  min-height: 42px !important;
  padding: 8px 10px !important;
  text-align: left !important;
  white-space: nowrap !important;
  width: 100% !important;
}

.checkoutBillingForm .countryComboboxOptions button:hover,
.checkoutBillingForm .countryComboboxOptions button.active,
.checkoutBillingForm .countryComboboxOptions button.highlighted {
  background: #e9fbf8 !important;
  color: #078f86 !important;
}

.checkoutBillingForm .countryComboboxOptions small {
  color: var(--muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.checkoutBillingForm .countryComboboxOptions p {
  color: var(--muted);
  margin: 8px;
}

@media (max-width: 980px) {
  .checkoutLayoutPaymentRight {
    grid-template-columns: 1fr;
  }

  .checkoutPaymentColumn {
    position: static;
  }
}

/* Brand sweep: avoid old blue active states in account/admin panels. */
:where(.wpMenu a.active, .wpMenu a:hover, .accountSidebar nav button.active, .accountSidebar nav button:hover) {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
}

:where(.wpMenu em, .wpBrand span) {
  background: var(--brand) !important;
  color: #fff !important;
}

:where(.wpSubmenu a.active, .wpSubmenu a:hover) {
  color: #a8fff8 !important;
}
