/* DigiStore — professional mobile-first PWA */
:root {
  --bg: #f3f6f5;
  --bg-elevated: #ffffff;
  --ink: #0f1c1a;
  --muted: #5b6b68;
  --line: #d8e3df;
  --brand: #0f766e;
  --brand-dark: #0d5c56;
  --brand-soft: #ccfbf1;
  --accent: #c2410c;
  --ok: #047857;
  --ok-bg: #d1fae5;
  --err: #b91c1c;
  --err-bg: #fee2e2;
  --warn: #b45309;
  --warn-bg: #ffedd5;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 28, 26, 0.07);
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --header-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #d9f5ef 0%, transparent 55%),
    radial-gradient(900px 400px at 100% 0%, #fde8d8 0%, transparent 50%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
button, input, select, textarea { font: inherit; }
.container { width: min(1100px, calc(100% - 32px)); margin-inline: auto; }

/* Header — professional marketplace */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.header-left {
  display: flex; 
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  min-width: 0;
  max-width: min(220px, 52vw);
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand), #134e4a);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.brand-text {
  font-family: var(--display);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}
.nav-desktop a,
.nav-link-btn {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 11px;
  border-radius: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}
.nav-desktop a:hover,
.nav-link-btn:hover {
  color: var(--ink);
  background: #f3f7f6;
}
.nav-desktop .btn { margin-left: 6px; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.header-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
}
.header-icon-btn:hover {
  color: var(--brand);
  border-color: var(--brand);
}
.header-cs {
  color: #128c7e;
  border-color: #b7e4d8;
  background: #f0fdf8;
}
.header-cs:hover {
  color: #075e54;
  border-color: #25d366;
}
.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.nav-toggle:hover { border-color: var(--brand); }
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle span {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile sidebar drawer */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(15, 28, 26, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: block;
}
.nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.nav-backdrop[hidden] {
  display: none !important;
}
.nav-drawer {
  position: fixed !important;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 80;
  width: min(320px, 86vw);
  max-width: 100%;
  background: #fff;
  box-shadow: 12px 0 40px rgba(15, 28, 26, 0.18);
  transform: translateX(-110%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s ease, visibility 0.28s ease;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow: hidden;
}
.nav-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.nav-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px 14px;
  border-bottom: 1px solid var(--line);
  background: #f7fbfa;
}
.nav-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.nav-drawer-brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.nav-drawer-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.nav-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
}
.nav-drawer-close:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.nav-drawer-nav {
  padding: 10px 12px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-drawer-label {
  margin: 14px 8px 6px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a9b97;
}
.nav-drawer-nav a,
.nav-drawer-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.95rem;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}
.nav-drawer-nav a:hover,
.nav-drawer-btn:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.nav-drawer-cta {
  margin-top: 10px !important;
  justify-content: center !important;
  background: var(--brand) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.nav-drawer-cta:hover {
  background: var(--brand-dark) !important;
  color: #fff !important;
}
body.nav-open { overflow: hidden; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-desktop { display: flex; }
  .header-login-sm { display: none; }
  .nav-backdrop,
  .nav-drawer { display: none !important; }
}

.main { min-height: calc(100vh - 180px); padding-bottom: calc(24px + var(--safe-b)); }

/* Hero storefront */
.hero {
  padding: 36px 0 12px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 0 0 10px;
}
.hero p { margin: 0; color: var(--muted); max-width: 42ch; font-size: 1.05rem; }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 20px 0 40px;
}
@media (min-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.product-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  color: inherit;
  display: flex; flex-direction: column;
}
a.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15,28,26,.1);
  color: inherit;
}
.product-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #e2e8e6, #cfe8e2);
  overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card h3 {
  margin: 0; font-size: 1.05rem; line-height: 1.35; letter-spacing: -.01em;
}
.product-card .desc {
  margin: 0; color: var(--muted); font-size: .9rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .meta {
  margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding-top: 8px;
}
.price { font-weight: 700; color: var(--brand-dark); font-size: 1.1rem; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .85rem; font-weight: 500; }
.badge {
  display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; background: var(--brand-soft); color: var(--brand-dark);
}

/* Buttons & forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 11px; border: 1px solid transparent;
  font-weight: 600; cursor: pointer; transition: .15s ease; text-align: center;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-danger { background: var(--err); color: #fff; }
.btn-sm { padding: 8px 12px; font-size: .88rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .88rem; font-weight: 600; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px;
  background: #fff; color: var(--ink); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,118,110,.15);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-section {
  margin: 8px 0 0; font-size: .95rem; font-family: var(--display);
  border-top: 1px dashed var(--line); padding-top: 16px;
}
.form-hint { font-size: .8rem; color: var(--muted); margin: 0; }
.form-row { display: grid; gap: 12px; }
@media (min-width: 640px) {
  .form-row.cols-2 { grid-template-columns: 1fr 1fr; }
}

.alert {
  padding: 12px 14px; border-radius: 11px; margin: 16px 0; font-size: .92rem; font-weight: 500;
}
.alert-success { background: var(--ok-bg); color: var(--ok); }
.alert-error { background: var(--err-bg); color: var(--err); }
.alert-warn { background: var(--warn-bg); color: var(--warn); }

/* Auth — mobile-first */
.auth-page {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: max(16px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(900px 420px at 0% 0%, #d9f5ef 0%, transparent 55%),
    radial-gradient(700px 360px at 100% 10%, #fde8d8 0%, transparent 50%),
    var(--bg);
}
.auth-shell {
  width: min(440px, 100%); 
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-back {
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  align-self: flex-start;
}
.auth-back:hover { color: var(--ink); }
.auth-card {
  width: 100%;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px 24px;
  box-shadow: var(--shadow);
}
.auth-card-pro { padding: 24px 20px 26px; }
.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.auth-logo {
  width: 40px; height: 40px; border-radius: 12px;
  object-fit: contain; border: 1px solid var(--line); background: #fff;
}
.auth-kicker {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.auth-card h1 {
  font-family: var(--display);
  margin: 2px 0 0;
  font-size: clamp(1.35rem, 5vw, 1.65rem);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.auth-card .sub { color: var(--muted); margin: 0 0 16px; font-size: .95rem; line-height: 1.5; }
.auth-note {
  margin: -6px 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.45;
}
.auth-links { margin-top: 16px; text-align: center; font-size: .92rem; color: var(--muted); }
.auth-closed { text-align: center; padding: 8px 0 4px; }
.auth-closed-icon {
  width: 52px; height: 52px; margin: 0 auto 12px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--ok-bg); color: var(--ok);
  font-size: 1.4rem; font-weight: 700;
}
.auth-closed-icon-wait {
  background: var(--warn-bg); color: var(--warn);
}
.auth-closed h2 {
  font-family: var(--display);
  margin: 0 0 8px;
  font-size: 1.25rem;
}
.auth-closed p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}
.auth-closed-note { font-size: .85rem !important; }
.auth-closed-actions { display: grid; gap: 8px; margin-top: 8px; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
@media (min-width: 480px) {
  .auth-card, .auth-card-pro { padding: 28px 26px 30px; }
}

/* Order / Payment */
.order-layout {
  display: grid; gap: 20px; padding: 24px 0 40px;
}
@media (min-width: 800px) {
  .order-layout { grid-template-columns: 1.1fr .9fr; align-items: start; }
}
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.panel h2 { margin: 0 0 14px; font-family: var(--display); font-size: 1.25rem; }
.order-product {
  display: flex; gap: 14px; align-items: center; margin-bottom: 18px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.order-product img {
  width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: #e8efed;
}
.qr-wrap {
  text-align: center; padding: 12px 0;
}
.qr-wrap img {
  width: min(280px, 100%); margin: 0 auto 12px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
}
.status-pill {
  display: inline-flex; padding: 6px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.status-pending { background: var(--warn-bg); color: var(--warn); }
.status-paid { background: var(--ok-bg); color: var(--ok); }
.status-failed, .status-expired, .status-cancelled { background: var(--err-bg); color: var(--err); }

/* Admin / Member shell */
.app-shell { display: grid; gap: 0; min-height: calc(100vh - var(--header-h)); }
@media (min-width: 900px) {
  .app-shell { grid-template-columns: 240px 1fr; }
}
.side-nav {
  background: #0f1c1a; color: #e7eeec; padding: 18px 12px;
}
.side-nav a {
  display: block; padding: 11px 14px; border-radius: 10px; color: #c5d4d0;
  font-weight: 500; margin-bottom: 2px;
}
.side-nav a:hover, .side-nav a.active { background: rgba(255,255,255,.08); color: #fff; }
.side-nav .side-label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
  color: #7a908b; padding: 12px 14px 6px; font-weight: 700;
}
.app-content { padding: 20px 16px 40px; }
@media (min-width: 900px) {
  .app-content { padding: 28px 28px 48px; }
}
.page-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 20px;
}
.page-head h1 { margin: 0; font-family: var(--display); font-size: 1.55rem; }

.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px;
}
@media (min-width: 700px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
}
.stat-card .label { color: var(--muted); font-size: .8rem; font-weight: 600; }
.stat-card .value { font-family: var(--display); font-size: 1.45rem; margin-top: 4px; }

.table-wrap {
  overflow-x: auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th, table.data td {
  padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle;
}
table.data th {
  background: #f8faf9; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .05em; color: var(--muted);
}
table.data tr:last-child td { border-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; }

.empty {
  text-align: center; padding: 48px 20px; color: var(--muted);
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
}

.code-box {
  background: #0f1c1a; color: #d1fae5; padding: 12px 14px; border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem;
  word-break: break-all; user-select: all;
}

.landing-help {
  background: #f0fdfa; border: 1px solid #99f6e4; border-radius: 12px;
  padding: 14px 16px; font-size: .85rem; color: #134e4a; margin-bottom: 12px;
}
.landing-help code {
  background: rgba(15,118,110,.1); padding: 1px 5px; border-radius: 4px; font-size: .8rem;
}

.site-header .brand {
  max-width: min(200px, 42vw);
}
.site-header .brand-logo,
.site-header img.brand-logo,
header.site-header .brand img,
.nav-drawer .brand-logo {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 10px;
  object-fit: contain !important;
  object-position: center;
  background: #fff;
  border: 1px solid var(--line);
  flex: 0 0 36px !important;
  display: block !important;
}
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-float:hover {
  color: #fff !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 32px rgba(37, 211, 102, .5);
}
.wa-float svg {
  width: 28px;
  height: 28px;
  display: block;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 28px 0 calc(22px + var(--safe-b));
  margin-top: 28px;
}
.site-footer-center .footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; 
  gap: 10px;
  max-width: 640px;
}
.footer-brand {
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  max-width: 36ch;
  line-height: 1.45;
}
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.footer-actions .btn {
  min-height: 36px;
  padding: 7px 14px;
  font-size: .82rem;
  border-radius: 999px;
}
.footer-copy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.4;
}
.footer-grid {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
}
.footer-grid p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

/* About popup (footer) */
.about-eyebrow {
  margin: 0; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--brand);
}
.about-dialog {
  border: 0;
  padding: 0;
  max-width: min(440px, calc(100vw - 28px));
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 28, 26, .28);
  background: transparent;
}
.about-dialog::backdrop {
  background: rgba(15, 28, 26, .52);
  backdrop-filter: blur(3px);
}
.about-dialog-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px 16px;
  max-height: min(78vh, 560px);
  overflow: auto;
}
.about-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.about-dialog-head h2 {
  font-family: var(--display);
  margin: 4px 0 0;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.about-dialog-close {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
}
.about-dialog-close:hover { border-color: var(--brand); color: var(--brand); }
.about-dialog-tagline {
  margin: 10px 0 0;
  font-weight: 600;
  font-size: .92rem;
}
.about-dialog-body {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
  text-align: left;
}
.about-dialog-actions { margin-top: 16px; }

.tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs button {
  border: 1px solid var(--line); background: #fff; padding: 8px 14px;
  border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .85rem;
}
.tabs button.active { background: var(--brand); color: #fff; border-color: var(--brand); }

@media (max-width: 559px) {
  .hide-sm { display: none !important; }
}
