/*!
 * Velix Perfect Panel Theme
 * Version 1.0.0
 * Copyright © 2026 VelixSoft
 * Website: velixsoft.net
 *
 * Unauthorized copying or redistribution is prohibited.
 * This copyright and license notice must not be removed or altered.
 */

:root {

  --brand: #2563eb;
  --brand-600: #1d4ed8;
  --brand-400: #60a5fa;
  --brand-rgb: 37, 99, 235;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --fs-hero: clamp(2.25rem, 4.5vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.5rem);
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;
  --lh-body: 1.6;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.35s;

  --container-max: 1200px;
  --nav-height: 72px;

  --dir: 1;
  --dir-x: right;
}

:root {
  color-scheme: light;
}

html.dark {
  color-scheme: dark;
}

[dir="rtl"] {
  --dir: -1;
  --dir-x: left;
}

.icon-dir {
  transform: scaleX(var(--dir));
}

:root {
  --bg: #f6f7fb;
  --bg-soft: #eef0f6;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #f9fafc;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --nav-glass: rgba(255, 255, 255, 0.78);

  --border: rgba(17, 24, 39, 0.08);
  --border-strong: rgba(17, 24, 39, 0.14);

  --text: #14161c;
  --text-strong: #0b0d12;
  --text-muted: #5b6270;
  --text-faint: #8a91a0;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, 0.12);
  --glow: 0 20px 60px rgba(var(--brand-rgb), 0.18);

  --code-bg: #0f1320;
  --code-text: #e6e9f2;

  --star: #f5a623;
}

html.dark {
  --bg: #040a18;
  --bg-soft: #060e20;
  --bg-elevated: #0a1428;
  --surface: rgba(15, 26, 48, 0.7);
  --surface-2: rgba(20, 32, 58, 0.55);
  --surface-glass: rgba(12, 22, 44, 0.55);
  --nav-glass: rgba(9, 18, 38, 0.6);

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eaf0ff;
  --text-strong: #ffffff;
  --text-muted: #9aa6c2;
  --text-faint: #67728f;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.6);
  --glow: 0 0 60px rgba(var(--brand-rgb), 0.35);

  --code-bg: rgba(4, 10, 24, 0.85);
  --code-text: #e6e9f2;

  --star: #ffc042;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  font-size: var(--fs-body);
  line-height: var(--lh-body);

  text-align: start;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.order-id-chip,
.service-id-chip,
.sd-ticket-id,
.tc-head-id,
.table-link,
.aff-link-value,
.update-date,
.order-link-line > span,
.tc-msg-head time {
  direction: ltr;
  unicode-bidi: isolate;
}

pre,
code,
kbd,
samp {
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
}

body::before {
  content: "";
  position: fixed;
  top: -10%;
  left: 50%;
  width: 900px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(var(--brand-rgb), 0.16),
    transparent 62%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

html:not(.dark) body::before {
  opacity: 0.5;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--text-strong);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.text-brand {
  color: var(--brand) !important;
}

.text-muted-2 {
  color: var(--text-muted) !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(var(--brand-rgb), 0.1);
  border: 1px solid rgba(var(--brand-rgb), 0.2);
}

.section {
  position: relative;
  z-index: 1;
  padding: var(--space-9) 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto var(--space-7);
  text-align: center;
}

.section-head h1,
.section-head h2 {
  font-size: var(--fs-h2);
  margin: var(--space-3) 0 var(--space-3);
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.container-x {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.btn {
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.5rem;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease),
    color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.btn:focus {
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.28);
}

.btn-brand {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 26px rgba(var(--brand-rgb), 0.4);
}

.btn-brand:hover {
  background: var(--brand-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(var(--brand-rgb), 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--text-strong);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.btn-soft {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}

.btn-soft:hover {
  color: var(--text-strong);
  border-color: var(--brand);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-block-sm {
  width: 100%;
  justify-content: center;
}

.card-surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

html.dark .card-surface {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.card-hover:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--brand-rgb), 0.45);
  box-shadow: var(--shadow-lg), var(--glow);
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand);
  border: 1px solid rgba(var(--brand-rgb), 0.22);
}

.icon-badge svg {
  width: 24px;
  height: 24px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.badge-success {
  background: rgba(34, 197, 94, 0.14);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-success .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.nav-wrap {
  position: sticky;
  top: var(--space-4);
  z-index: 1030;
  padding: 0 var(--space-4);
}

.navbar-pill {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-block: 0.6rem;
  padding-inline: 1.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--nav-glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

html.dark .navbar-pill::after {
  content: "";
  position: absolute;
  inset: auto 12% -14px 12%;
  height: 26px;
  background: rgba(var(--brand-rgb), 0.55);
  filter: blur(26px);
  border-radius: 50%;
  z-index: -1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-strong);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(var(--brand-rgb), 0.5);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-strong);
  background: var(--surface-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 58px;
  height: 32px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  position: relative;
  cursor: pointer;
  padding: 0;
  flex: none;
  transition: background-color var(--dur) var(--ease);
}

.theme-toggle .knob {
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur) var(--ease);
  box-shadow: 0 3px 8px rgba(var(--brand-rgb), 0.5);
}

.theme-toggle .knob svg {
  width: 14px;
  height: 14px;
}

html.dark .theme-toggle .knob {
  transform: translateX(calc(26px * var(--dir)));
}

.theme-toggle .sun {
  display: none;
}
.theme-toggle .moon {
  display: block;
}
html.dark .theme-toggle .sun {
  display: block;
}
html.dark .theme-toggle .moon {
  display: none;
}

.nav-toggler {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  max-width: var(--container-max);
  margin: 10px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: var(--space-3);
  display: none;
}

.mobile-menu.open {
  display: block;
  animation: fadeDown var(--dur) var(--ease);
}

.mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
}

.mobile-menu a:hover {
  background: var(--surface-2);
  color: var(--brand);
}

.mobile-menu .divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.hero {
  padding: var(--space-8) 0 var(--space-9);
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: var(--fs-hero);
  margin-bottom: var(--space-4);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

#home .hero-cta { margin-bottom: var(--space-3); }

.hero-note {
  max-width: 540px;
  margin-bottom: var(--space-6);
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

#home .hero-lead { margin-bottom: var(--space-3); }
.hero-sub {
  max-width: 540px;
  margin-bottom: var(--space-5);
  font-size: 1rem;
  color: var(--text-muted);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.stat-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  text-align: start;
}

html.dark .stat-block {
  backdrop-filter: blur(12px);
}

.stat-block .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-strong);
}

.stat-block .lbl {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 600;
}

.hero-auth-head {
  text-align: center;
  margin-bottom: var(--space-5);
}

.hero-auth-head h2 {
  margin: var(--space-2) 0 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

.hero-auth-sub {
  margin: var(--space-2) 0 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.hero-stats-strip {
  margin-top: var(--space-5);
}

.dash-wrap {
  position: relative;
  z-index: 1;
}

.dash {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4);
  position: relative;
}

html.dark .dash {
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), var(--glow);
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.dash-dots {
  display: flex;
  gap: 6px;
}
.dash-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border-strong);
}
.dash-dots span:first-child {
  background: var(--brand);
}

.balance-card {
  background: var(--brand);
  background-image: linear-gradient(135deg, var(--brand), var(--brand-600));
  color: #fff;
  border-radius: var(--radius);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  box-shadow: 0 14px 34px rgba(var(--brand-rgb), 0.4);
}

.balance-card .lbl {
  font-size: var(--fs-xs);
  opacity: 0.85;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.balance-card .amount {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

.dash-field {
  margin-bottom: var(--space-3);
}

.dash-field label {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  display: block;
}

.dash-input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-input .chev {
  color: var(--text-faint);
}

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

.chip {
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  cursor: default;
}

.chip.active {
  background: rgba(var(--brand-rgb), 0.14);
  color: var(--brand);
  border-color: rgba(var(--brand-rgb), 0.4);
}

.dash-table {
  width: 100%;
  font-size: var(--fs-xs);
  margin-top: var(--space-3);
}

.dash-table th {
  color: var(--text-faint);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 4px;
  border-bottom: 1px solid var(--border);
  text-align: start;
}

.dash-table td {
  padding: 9px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
  margin-top: var(--space-2);
}

.mini-chart .bar {
  flex: 1;
  background: rgba(var(--brand-rgb), 0.25);
  border-radius: 6px 6px 0 0;
  position: relative;
}

.mini-chart .bar::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 40%;
  background: var(--brand);
  border-radius: 6px 6px 0 0;
}

.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-strong);
  z-index: 3;
  animation: floaty 5s ease-in-out infinite;
}

html.dark .float-card {
  backdrop-filter: blur(16px);
}

.float-card small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 600;
}

.float-card .fc-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-rgb), 0.14);
  color: var(--brand);
  flex: none;
}

.float-card .fc-ico.green {
  background: rgba(34, 197, 94, 0.16);
  color: #22c55e;
}

.fc-1 {
  top: -22px;
  inset-inline-start: -26px;
  animation-delay: 0s;
}
.fc-2 {
  top: 30%;
  inset-inline-end: -30px;
  animation-delay: 0.8s;
}
.fc-3 {
  bottom: 18%;
  inset-inline-start: -34px;
  animation-delay: 1.6s;
}
.fc-4 {
  bottom: -20px;
  inset-inline-end: 4%;
  animation-delay: 2.2s;
}

.platform-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-6);
}

.service-card {
  padding: var(--space-5);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card .plat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
}

.service-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: 6px;
}

.service-card p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-4);
  flex: 1;
}

.service-price {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.service-price strong {
  font-size: 1.25rem;
  color: var(--text-strong);
}

.service-card-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.service-card-head .plat-ico {
  flex: none;
  width: 40px;
  height: 40px;
}

.service-card-head h3 {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.service-card-desc {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-muted);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
  flex: 1;
}

.service-list li {
  position: relative;
  padding-inline-start: var(--space-4);
  margin-bottom: 7px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.service-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.7;
}

.service-explore {
  display: block;
  margin-top: auto;
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.5;
  color: var(--brand);
}

.service-explore:hover {
  color: var(--brand-600);
}

.service-explore svg {
  vertical-align: -3px;
  transition: transform var(--dur) var(--ease);
}

.nowrap-end {
  white-space: nowrap;
}

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

.svc-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.svc-pill {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.svc-pill:hover {
  color: var(--text-strong);
  border-color: var(--brand);
}

.svc-pill.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(var(--brand-rgb), 0.35);
}

.svc-table-wrap {
  overflow: hidden;
}

.svc-table-scroll {
  overflow-x: auto;
}

.svc-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.svc-table th,
.svc-table td {
  padding: var(--space-4) var(--space-5);
  text-align: start;
  font-size: var(--fs-sm);
  white-space: nowrap;
}

.svc-table thead th {
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.svc-table tbody tr {
  border-top: 1px solid var(--border);
}

.svc-table tbody tr:hover {
  background: rgba(var(--brand-rgb), 0.05);
}

.svc-name {
  color: var(--text-strong);
  font-weight: 700;
}

.svc-rate {
  color: var(--text-strong);
  font-weight: 700;
}

.svc-muted {
  color: var(--text-muted);
}

.svc-action {
  text-align: end;
}

.btn-xs {
  padding: 6px 16px;
  font-size: var(--fs-xs);
}

.badge-info {
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand);
  border: 1px solid rgba(var(--brand-rgb), 0.28);
}

.svc-note {
  margin: var(--space-4) auto 0;
  max-width: 720px;
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.svc-row-hidden {
  display: none;
}

.card-hover:hover .service-explore svg {
  transform: scaleX(var(--dir)) translateX(3px);
}

.plat-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.plat-ico svg {
  width: 22px;
  height: 22px;
}
.pi-instagram {
  background: #e1306c;
}
.pi-tiktok {
  background: #010101;
}
html.dark .pi-tiktok {
  background: #25f4ee;
  color: #010101;
}
.pi-youtube {
  background: #ff0000;
}
.pi-facebook {
  background: #1877f2;
}
.pi-telegram {
  background: #229ed9;
}
.pi-x {
  background: #000;
}
html.dark .pi-x {
  background: #fff;
  color: #000;
}
.pi-spotify {
  background: #1db954;
}
.pi-snapchat {

  background: #fffc00;
  color: #000;
}
.pi-pinterest {
  background: #e60023;
}
.pi-linkedin {
  background: #0a66c2;
}

.platmq-viewport {
  overflow: hidden;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}

.platmq-track {
  display: flex;
  width: max-content;
  animation: platmq-scroll 42s linear infinite;
  will-change: transform;
}

.platmq-viewport:hover .platmq-track,
.platmq-viewport:focus-within .platmq-track {
  animation-play-state: paused;
}

.platmq-set {
  display: flex;
  align-items: flex-start;
  gap: var(--space-7);
  margin: 0;
  padding: 0 var(--space-4) 0 0;
  list-style: none;
}

[dir="rtl"] .platmq-set {
  padding: 0 0 0 var(--space-4);
}

.platmq-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  width: 82px;

  flex: 0 0 82px;
}

.platmq-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: inherit;
}

.platmq-name {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-strong);
  text-align: center;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.platmq-link:hover .platmq-name,
.platmq-link:focus-visible .platmq-name {
  color: var(--brand);
}

@keyframes platmq-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-25% * var(--dir)), 0, 0);
  }
}

@media (max-width: 600px) {
  .platmq-set {
    gap: var(--space-5);
  }

  .platmq-item {
    width: 72px;
    flex-basis: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .platmq-viewport {
    overflow-x: auto;
  }
}

.feature-card {
  padding: var(--space-5);
  height: 100%;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin: var(--space-4) 0 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin: 0;
}

.steps {
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 34px;
  inset-inline: 10%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--brand-rgb), 0.5),
    transparent
  );
}

.step {
  text-align: center;
  padding: 0 var(--space-3);
  position: relative;
}

.step .num {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--brand);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
}

html.dark .step .num {
  backdrop-filter: blur(12px);
}

.step .num svg {
  width: 28px;
  height: 28px;
}

.step .idx {
  position: absolute;
  top: -8px;
  inset-inline-end: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.step p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin: 0;
}

.payopt-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.payopt-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-2);
  padding-inline: var(--space-2) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.payopt-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--brand-rgb), 0.45);
  box-shadow: var(--shadow);
}

.payopt-name {
  font-weight: 700;
  white-space: nowrap;
}

.payopt-ico {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.payopt-ico svg {
  width: 18px;
  height: 18px;
}

.po-upi {
  background: linear-gradient(135deg, #f26a21, #0d8a4f);
}
.po-paytm {
  background: #00baf2;
}
.po-phonepe {
  background: #5f259f;
}

.po-gpay {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.12);
}
.po-cards {
  background: #111827;
}
html.dark .po-cards {
  background: #fff;
  color: #111827;
}
.po-netbanking {
  background: #0f766e;
}
.po-crypto {
  background: #f7931a;
}

.activity-list {
  max-width: 720px;
  margin: 0 auto;
}

.activity-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  animation: fadeUp 0.5s var(--ease) both;
}

html.dark .activity-row {
  backdrop-filter: blur(10px);
}

.activity-row .av {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: none;
}

.activity-row .meta {
  flex: 1;
  min-width: 0;
}

.activity-row .meta .title {
  font-weight: 700;
  color: var(--text-strong);
  font-size: 0.95rem;
}

.activity-row .meta .sub {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.activity-row .time {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  white-space: nowrap;
}

.code-block {
  background: var(--code-bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.code-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-head .dots {
  display: flex;
  gap: 6px;
}
.code-head .dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.code-head .dots span:first-child {
  background: var(--brand);
}
.code-head .file {
  font-size: var(--fs-xs);
  color: #8b93a7;
  font-family: "SF Mono", ui-monospace, "Cascadia Code", Menlo, monospace;
  margin-inline-start: 6px;
}

.code-block pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  color: var(--code-text);
  font-family: "SF Mono", ui-monospace, "Cascadia Code", Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.7;
}

.tok-key {
  color: #ff6b6b;
}
.tok-str {
  color: #7ee787;
}
.tok-fn {
  color: #79c0ff;
}
.tok-com {
  color: #6b7280;
}
.tok-num {
  color: #f0b429;
}

.api-benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: var(--space-4);
}

.api-benefit .tick {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(var(--brand-rgb), 0.14);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.api-benefit h4 {
  font-size: 1rem;
  margin: 0 0 2px;
  color: var(--text-strong);
}

.api-benefit p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.wa-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.wa-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.wa-shot {
  aspect-ratio: 4 / 5;
  background: #0b1014;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.wa-caption {
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .wa-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .wa-grid { grid-template-columns: 1fr; }

  .wa-shot { aspect-ratio: auto; }
  .wa-shot img { height: auto; }
}

.seo-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-7);
}

.seo-toc a {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.seo-toc a:hover,
.seo-toc a:focus-visible {
  color: var(--brand);
  border-color: var(--brand);
}

.seo-article {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--space-7);
  counter-reset: art;
}

.art-block + .art-block {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

.art-block {
  scroll-margin-top: 100px;
  counter-increment: art;
}

.art-block h3 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 1.3rem;
  margin: 0 0 var(--space-4);
}

.art-block h3::before {
  content: counter(art);
  flex: 0 0 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-rgb), 0.12);
  border: 1px solid rgba(var(--brand-rgb), 0.24);
  color: var(--brand);
  font-size: var(--fs-sm);
  font-weight: 800;
}

.art-block p {
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0 0 var(--space-4);
}

.art-block p:last-child {
  margin-bottom: 0;
}

.art-block ul {
  margin: 0 0 var(--space-4);
  padding-inline-start: var(--space-5);
  color: var(--text-muted);
}

.art-block li {
  line-height: 1.85;
  margin-bottom: var(--space-3);
}

.art-block li::marker {
  color: var(--brand);
}

.art-block strong {
  color: var(--text-strong);
  font-weight: 700;
}

.keyword {
  color: var(--brand);
  font-weight: 700;
}

.inline-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link:hover {
  text-decoration-thickness: 2px;
}

@media (max-width: 600px) {
  .seo-article {
    padding: var(--space-5);
  }

  .art-block h3 {
    font-size: 1.15rem;
  }
}

.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}

html.dark .faq-item {
  backdrop-filter: blur(10px);
}

.faq-q {
  width: 100%;
  text-align: start;
  background: transparent;
  border: 0;
  padding: var(--space-4) var(--space-5);
  font-weight: 700;
  color: var(--text-strong);
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  cursor: pointer;
}

.faq-q .plus {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur) var(--ease);
}

.faq-item.open {
  border-color: rgba(var(--brand-rgb), 0.4);
}

.faq-item.open .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease);
}

.faq-a-inner {
  padding: 0 var(--space-5) var(--space-4);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-5);
  text-align: center;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

html.dark .cta-band {
  backdrop-filter: blur(20px);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 120%,
    rgba(var(--brand-rgb), 0.35),
    transparent 60%
  );
  pointer-events: none;
}

.cta-band h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-3);
  position: relative;
}

.cta-band p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto var(--space-5);
  position: relative;
}

.cta-band .hero-cta {
  justify-content: center;
  margin: 0;
  position: relative;
}

.footer {
  position: relative;
  z-index: 1;
  padding: var(--space-8) 0 var(--space-5);
  border-top: 1px solid var(--border);
  margin-top: var(--space-8);
}

.footer h5 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: var(--space-4);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.footer ul a:hover {
  color: var(--brand);
}

.footer-lead {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  max-width: 300px;
  margin: var(--space-3) 0 var(--space-4);
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.social-row a:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.social-row a svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

.footer-bottom small {
  color: var(--text-muted);
}

.footer-tagline {
  color: var(--text-faint);
}
.footer-tagline::before {
  content: "·";
  margin: 0 var(--space-2);
  color: var(--text-faint);
}

.pay-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pay-chip {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 991px) {
  .nav-links,
  .nav-actions .desktop-only {
    display: none;
  }
  .nav-toggler {
    display: inline-flex;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps::before {
    display: none;
  }
  .float-card {
    display: none;
  }
  .hero {
    padding-top: var(--space-6);
  }
  .dash-wrap {
    margin-top: var(--space-6);
  }
}

@media (max-width: 767px) {
  .section {
    padding: var(--space-8) 0;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

.tut {
  max-width: 1080px;
  margin: 0 auto;
}

.tut-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-7);
}

.tut-head h1 {
  font-size: var(--fs-h2);
  margin: var(--space-3) 0;
}

.tut-head > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 var(--space-5);
}

.tut-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.tut-meta li {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.tut-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.tut-nav a {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.tut-nav a:hover,
.tut-nav a:focus-visible {
  color: var(--brand);
  border-color: var(--brand);
}

.tut-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
  margin-bottom: var(--space-8);
  scroll-margin-top: 100px;
}

.tut-step-flip .tut-step-text {
  order: 2;
}

.tut-step-num {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(var(--brand-rgb), 0.12);
  border: 1px solid rgba(var(--brand-rgb), 0.24);
  color: var(--brand);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tut-step-text h2 {
  font-size: 1.6rem;
  margin: var(--space-4) 0 var(--space-3);
}

.tut-step-text > p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 var(--space-4);
}

.tut-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tut-points li {
  position: relative;
  padding-inline-start: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--text-muted);
  line-height: 1.75;
}

.tut-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.tut-points strong {
  color: var(--text-strong);
}

.tut-shot .order-card {
  margin: 0;
}

.tut-shot-label {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.tut-filled {
  color: var(--text-strong);
  display: flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tut-select {
  position: relative;
}

.tut-select::after {
  content: "";
  position: absolute;
  inset-inline-end: 1rem;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

.tut-hint {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.tut-btn {
  margin-top: var(--space-4);
  padding: 0.85rem 1rem;
  border-radius: 13px;
  background: var(--brand);
  color: #fff;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(var(--brand-rgb), 0.32);
}

.tut-shot-note {
  margin: var(--space-3) 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.tut-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.tut-summary b {
  color: var(--text-strong);
}

.tut-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.tut-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: var(--space-3) var(--space-2);
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-align: center;
}

.tut-method.is-picked {
  border-color: var(--brand);
  background: rgba(var(--brand-rgb), 0.08);
  color: var(--text-strong);
}

.tut-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.tut-plat {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
}

.tut-plat svg {
  width: 19px;
  height: 19px;
}

.tut-plat.is-picked {
  border-color: var(--brand);
  background: rgba(var(--brand-rgb), 0.1);
  color: var(--brand);
}

.tut-order {
  padding: var(--space-4);
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.tut-order + .tut-order {
  margin-top: var(--space-3);
}

.tut-order.is-done {
  opacity: 0.72;
}

.tut-order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.tut-order-name {
  color: var(--text-strong);
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.tut-bar {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--border);
  overflow: hidden;
}

.tut-bar-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(to var(--dir-x), var(--brand-400), var(--brand));
  animation: tut-fill 7s var(--ease) infinite;
}

.tut-bar-fill.is-full {
  animation: none;
}

.tut-order-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-3);
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.tut-order-foot b {
  color: var(--text-strong);
}

@property --tut-n {
  syntax: "<integer>";
  initial-value: 1000;
  inherits: false;
}

.tut-live-count {
  counter-reset: tutn var(--tut-n);
  animation: tut-count 7s var(--ease) infinite;
}

.tut-live-count::after {
  content: counter(tutn);
}

@keyframes tut-fill {
  0% {
    width: 0;
  }
  90%,
  100% {
    width: 100%;
  }
}

@keyframes tut-count {
  0% {
    --tut-n: 0;
  }
  90%,
  100% {
    --tut-n: 1000;
  }
}

.tut-block {
  margin-bottom: var(--space-8);
  scroll-margin-top: 100px;
}

.tut-block h2 {
  font-size: 1.6rem;
  margin: 0 0 var(--space-3);
  text-align: center;
}

.tut-lead {
  max-width: 620px;
  margin: 0 auto var(--space-6);
  text-align: center;
  color: var(--text-muted);
}

.tut-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
  margin: 0;
}

.tut-fix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin: 0;
}

@media (max-width: 720px) {
  .tut-fix-grid {
    grid-template-columns: 1fr;
  }
}

.tut-status {
  padding: var(--space-5);
}

.tut-status dt {
  margin-bottom: var(--space-3);
}

.tut-status dd {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.75;
}

.tut-fix {
  padding: var(--space-5);
}

.tut-fix h3 {
  font-size: 1.05rem;
  margin: 0 0 var(--space-3);
}

.tut-fix p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.75;
}

.tut-cta {
  padding: var(--space-7);
  text-align: center;
}

.tut-cta h2 {
  font-size: 1.6rem;
  margin: 0 0 var(--space-3);
}

.tut-cta p {
  color: var(--text-muted);
  margin: 0 0 var(--space-5);
}

.tut-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

@media (max-width: 860px) {
  .tut-step {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .tut-step-flip .tut-step-text {
    order: 0;
  }

  .tut-cta {
    padding: var(--space-5);
  }
}

.auth-shell {
  display: none;
  position: relative;
  min-height: 100vh;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

body.auth-active {
  min-height: 100vh;
}

body.auth-active #main-content .hero,
body.auth-active #main-content section:not(.auth-page),
body.auth-active > .footer {
  display: none;
}

body.auth-active .auth-shell {
  display: block;
  animation: authEnter 0.45s var(--ease) both;
}

.auth-atmosphere {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 12%, rgba(var(--brand-rgb), 0.12), transparent 32%);
}

html:not(.dark) .auth-atmosphere {
  background: radial-gradient(circle at 50% 8%, rgba(var(--brand-rgb), 0.07), transparent 30%);
}

.auth-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-brand {
  margin-bottom: 2rem;
  font-size: 1.15rem;
}

.auth-page {
  display: none;
  width: 100%;
  max-width: 500px;
}

.auth-page.active {
  display: block;
  animation: authCardEnter 0.5s var(--ease) both;
}

.auth-page-wide {
  max-width: 760px;
}

.auth-page-compact {
  max-width: 500px;
}

.auth-intro {
  margin: 0 auto 1.75rem;
  text-align: center;
}

.auth-intro h1,
.auth-intro h2 {
  margin: 0.85rem 0 0.6rem;
  color: var(--text-strong);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.auth-intro p {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.65;
}

.auth-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.12);
}

.auth-card {
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

html.dark .auth-card {
  background: rgba(12, 21, 40, 0.78);
  box-shadow: var(--shadow-lg), 0 24px 80px rgba(var(--brand-rgb), 0.08);
}

html:not(.dark) .auth-card {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(26, 26, 26, 0.09);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

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

.auth-span-2 {
  grid-column: 1 / -1;
}

.form-group-premium {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
}

.form-group-premium label,
.label-row label {
  margin: 0;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.label-row a,
.auth-switch a,
.check-row a {
  color: var(--brand);
  font-weight: 700;
}

.label-row a {
  font-size: 0.78rem;
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 50px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.input-shell:focus-within {
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.1);
}

.input-shell input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 0.95rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-strong);
  font: inherit;
  font-size: 0.9rem;
}

.input-shell input::placeholder {
  color: var(--text-faint);
}

.input-shell-area {
  align-items: stretch;
}

.input-shell textarea {
  width: 100%;
  min-width: 0;
  min-height: 150px;
  padding: 0.85rem 0.95rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-strong);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.6;
  resize: vertical;
}

.input-shell textarea::placeholder {
  color: var(--text-faint);
}

.input-shell.has-error {
  border-color: var(--brand);
}

.input-icon {
  display: inline-flex;
  margin-inline-start: 0.95rem;
  color: var(--text-faint);
}

.input-icon svg,
.password-toggle svg {
  width: 18px;
  height: 18px;
}

.input-icon + input {
  padding-inline-start: 0.7rem;
}

.password-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-inline-end: 0.25rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-faint);
  cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  background: var(--surface-3);
  color: var(--text);
  outline: none;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
  cursor: pointer;
}

.check-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-ui {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--surface-2);
  color: transparent;
  transition: all var(--dur) var(--ease);
}

.check-ui svg {
  width: 13px;
  height: 13px;
}

.check-row input:checked + .check-ui {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.check-row input:focus-visible + .check-ui {
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.12);
}

.captcha-placeholder {
  display: flex;
  align-items: center;
  min-height: 70px;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--border-strong);
  border-radius: 13px;
  background: var(--surface-2);
}

.captcha-check {
  width: 25px;
  height: 25px;
  border: 2px solid var(--border-strong);
  border-radius: 7px;
  background: var(--surface);
}

.captcha-placeholder div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.captcha-placeholder strong {
  color: var(--text);
  font-size: 0.78rem;
}

.captcha-placeholder small {
  color: var(--text-faint);
  font-size: 0.7rem;
}

.captcha-mark {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  height: 50px;
  width: 100%;
  padding-block: 0;
  padding-inline: 0.95rem 2.4rem;
  border: 1px solid var(--border);
  border-radius: 13px;
  background-color: var(--surface-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' fill='none' stroke='%238a91a0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: var(--dir-x) 1rem center;
  color: var(--text-strong);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

select.form-control:focus {
  outline: 0;
  border-color: var(--brand);
  background-color: var(--surface);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.1);
}

select.form-control option {
  background-color: var(--surface);
  color: var(--text-strong);
}

html .select2-container--default .select2-selection--single {
  height: 50px;
  display: flex;
  align-items: center;
  padding-block: 0;
  padding-inline: 0.95rem 2.4rem;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

html .select2-container--default.select2-container--open .select2-selection--single,
html .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.1);
}

html .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  color: var(--text-strong);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.2;
}

html .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--text-faint);
}

html .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  width: 2.4rem;
  top: 0;
  left: auto;
  right: auto;
  inset-inline-end: 0;
}

html .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border: 0;
  width: 9px;
  height: 9px;
  margin: 0;
  left: auto;
  right: auto;
  inset-inline-end: 16px;
  top: 50%;
  border-right: 2px solid var(--text-faint);
  border-bottom: 2px solid var(--text-faint);
  transform: translateY(-65%) rotate(45deg);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

html .select2-container--open .select2-selection__arrow b {
  border-color: var(--brand);
  transform: translateY(-35%) rotate(-135deg);
}

html .select2-container--default.select2-container--disabled .select2-selection--single {
  background: var(--surface-2);
  color: var(--text-faint);
  cursor: not-allowed;
  opacity: 0.6;
}

html .select2-container--rtl .select2-selection--single {
  padding: 0 0.95rem 0 2.4rem;
}

html .select2-container--rtl .select2-selection--single .select2-selection__arrow {
  right: auto;
  left: 0;
}

html .select2-container--rtl .select2-selection--single .select2-selection__arrow b {
  right: auto;
  left: 16px;
}

html .select2-dropdown {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;

  z-index: 1075;
}

html.dark .select2-dropdown {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

html .select2-search--dropdown {
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

html .select2-container--default .select2-search--dropdown .select2-search__field {
  height: 42px;
  padding: 0 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text-strong);
  font: inherit;
  font-size: 0.85rem;
  outline: 0;
}

html .select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: var(--brand);
}

html .select2-container--default .select2-results__options {
  max-height: 280px;
  padding: 6px;
}

html .select2-container--default .select2-results__option {
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text-strong);
  background: transparent;
  font-size: 0.88rem;
}

html .select2-container--default .select2-results__option a,
html .select2-container--default .select2-results__option a:hover,
html .select2-container--default .select2-results__option a:focus {
  color: inherit;
  text-decoration: none;
}

html .select2-container--default .select2-results__option--highlighted,
html .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: rgba(var(--brand-rgb), 0.14);
  color: var(--brand);
}

html .select2-container--default .select2-results__option--highlighted a,
html .select2-container--default .select2-results__option--highlighted a:hover {
  color: inherit;
}

html .select2-container--default .select2-results__option[aria-selected="true"],
html .select2-container--default .select2-results__option--selected {
  background: rgba(var(--brand-rgb), 0.1);
  color: var(--brand);
  font-weight: 700;
}

html .select2-container--default .select2-results__option[aria-selected="true"] a,
html .select2-container--default .select2-results__option[aria-selected="true"] a:hover,
html .select2-container--default .select2-results__option--selected a,
html .select2-container--default .select2-results__option--selected a:hover {
  color: inherit;
}

html .select2-container--default .select2-results__option--highlighted[aria-selected="true"],
html .select2-container--default .select2-results__option--highlighted.select2-results__option--selected {
  background: rgba(var(--brand-rgb), 0.18);
  color: var(--brand);
}

html .select2-container--default .select2-results__message {
  padding: 12px;
  color: var(--text-faint);
  font-size: 0.85rem;
}

.auth-submit,
.auth-google {
  width: 100%;
  justify-content: center;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-faint);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.google-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text-strong);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 900;
}

.auth-switch {
  margin: 0.15rem 0 0;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.84rem;
}

.auth-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  color: var(--text-faint);
  font-size: 0.72rem;
  text-align: center;
}

.auth-trust span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25b875;
  box-shadow: 0 0 0 4px rgba(37, 184, 117, 0.1);
}

.auth-form-status {
  margin: 0;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(37, 184, 117, 0.25);
  border-radius: 12px;
  background: rgba(37, 184, 117, 0.08);
  color: var(--text);
  font-size: 0.82rem;
  text-align: center;
}

@keyframes authEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes authCardEnter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {

  .auth-shell {
    padding: 2.5rem 0 3rem;
  }

  #signin .auth-intro p,
  #signup .auth-intro p {
    display: none;
  }

  .auth-card {
    padding: 1.4rem;
    border-radius: var(--radius-md);
  }

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

  .auth-span-2 {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .auth-card {
    padding: 1.15rem;
  }

  .auth-intro h1,
  .auth-intro h2 {
    font-size: 2rem;
  }

  .captcha-placeholder {
    padding: 0.75rem;
  }
}

.hidden {
  display: none !important;
}

[data-copy-text] .copy-done {
  display: none;
}

[data-copy-text].is-copied .copy-idle {
  display: none;
}

[data-copy-text].is-copied .copy-done {
  display: inline-block;
}

[data-copy-text].is-copied {
  color: var(--brand);
  border-color: rgba(var(--brand-rgb), 0.45);
}

.aff-copy.is-copied {
  color: #fff;
  background: var(--brand-600);
}

.alert {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

html.dark .alert {
  backdrop-filter: blur(10px);
}

.alert h4 {
  font-size: 1rem;
  margin: 0 0 var(--space-2);
  color: var(--text-strong);
}

.alert a {
  color: var(--brand);
  font-weight: 700;
}

.alert-success {
  border-color: rgba(34, 197, 94, 0.38);
  background: rgba(34, 197, 94, 0.1);
}

.alert-danger {
  border-color: rgba(239, 68, 68, 0.38);
  background: rgba(239, 68, 68, 0.1);
}

.alert-warning {
  border-color: rgba(245, 166, 35, 0.38);
  background: rgba(245, 166, 35, 0.1);
}

.alert-info {
  border-color: rgba(var(--brand-rgb), 0.35);
  background: rgba(var(--brand-rgb), 0.08);
}

.alert-dismissible {
  padding-inline-end: calc(var(--space-5) + 28px);
}

.alert-dismissible .close {
  position: absolute;
  top: 0;
  right: auto;
  left: auto;
  inset-inline-end: 0;
  padding: var(--space-4) var(--space-5);
  color: var(--text-muted);
  text-shadow: none;
  opacity: 0.75;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1;
}

.alert-dismissible .close:hover,
.alert-dismissible .close:focus {
  color: var(--text-strong);
  opacity: 1;
}

.modal-content {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.modal-header,
.modal-footer {
  border-color: var(--border);
}

.modal-content .close {
  color: var(--text);
  text-shadow: none;
  opacity: 0.7;
}

.modal-content .close:hover {
  color: var(--text);
  opacity: 1;
}

.modal-header .close {
  margin: -1rem;
  margin-inline-start: auto;
}

.dropdown-menu {
  right: auto;
  left: auto;
  inset-inline-start: 0;
  text-align: start;
}

.dropdown-menu-right {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

.input-shell input.form-control:disabled {
  background: transparent;
  border: 0;
  color: var(--text-muted);
  box-shadow: none;
  height: auto;
  -webkit-text-fill-color: var(--text-muted);
  opacity: 1;
}

.input-shell input {
  border-radius: 12px;
}

.input-shell input:-webkit-autofill,
.input-shell input:-webkit-autofill:hover,
.input-shell input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-strong);
  caret-color: var(--text-strong);
  -webkit-box-shadow: 0 0 0 1000px var(--surface-2) inset;
  box-shadow: 0 0 0 1000px var(--surface-2) inset;
}

.input-shell input:autofill {
  -webkit-text-fill-color: var(--text-strong);
  box-shadow: 0 0 0 1000px var(--surface-2) inset;
}

.g_id_signin {
  display: flex;
  justify-content: center;
}

:root {
  --radius-md: 16px;
  --surface-3: #eef0f6;
}

html.dark {
  --surface-3: rgba(255, 255, 255, 0.07);
}

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
}

.faq-tabs .nav-link {
  font-size: var(--fs-sm);
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.faq-tabs .nav-link:hover {
  color: var(--text-strong);
  border-color: var(--border-strong);
}

.faq-tabs .nav-link.active {
  background: rgba(var(--brand-rgb), 0.14);
  color: var(--brand);
  border-color: rgba(var(--brand-rgb), 0.4);
}

.prose-card {
  max-width: 880px;
  margin: 0 auto;
  padding: var(--space-7) var(--space-6);
}

.prose-card h3 {
  font-size: 1.2rem;
  margin: var(--space-6) 0 var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

.prose-card h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose-card p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.prose-card ul,
.prose-card ol {
  padding-inline-start: 1.4rem;
  margin-bottom: var(--space-4);
}

.prose-card li {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.prose-card li::marker {
  color: var(--brand);
  font-weight: 700;
}

.prose-card strong {
  color: var(--text-strong);
}

@media (max-width: 767px) {
  .prose-card {
    padding: var(--space-5) var(--space-4);
  }
}

.api-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.api-info-card {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.api-info-card .lbl {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.api-info-card b {
  color: var(--text-strong);
  font-size: var(--fs-sm);
  word-break: break-all;
}

.api-info-card a {
  color: var(--brand);
}

.api-copy-btn {
  padding: 4px 12px;
  font-size: var(--fs-xs);
}

.api-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 880px;
  margin: 0 auto;
}

.api-method {
  padding: var(--space-5);
}

.api-method-title {
  font-size: 1.15rem;
  margin-bottom: var(--space-4);
}

.api-type-select {
  margin-bottom: var(--space-4);
}

.api-type-select select {
  width: 100%;
  max-width: 340px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
}

.api-table {
  width: 100%;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-4);
  border-collapse: collapse;
}

.api-table th {
  color: var(--text-faint);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: start;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-strong);
}

.api-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}

.api-table code {
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.08);
  border: 1px solid rgba(var(--brand-rgb), 0.18);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.api-example-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.api-php-example {
  text-align: center;
  margin-top: var(--space-6);
}

@media (max-width: 991px) {
  .api-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .api-info-grid {
    grid-template-columns: 1fr;
  }
}

.services-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.services-toolbar .service-search {
  flex: 1;
  min-width: 220px;
}

.dropdown-menu {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 6px;
}

.services-dropdown {
  max-height: 400px;
  overflow: auto;
  min-width: 260px;
}

.dropdown-menu .dropdown-item {
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: 9px;
  padding: 9px 12px;
  white-space: normal;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background: var(--surface-2);
  color: var(--brand);
}

.service-category {
  margin-bottom: var(--space-5);
  overflow: hidden;
}

.service-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
}

.service-cat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  margin: 0;
}

.s-count {
  background: rgba(var(--brand-rgb), 0.1);
  color: var(--brand);
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  white-space: nowrap;
}

.service-item {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
}

.service-item:last-child {
  border-bottom: 0;
}

.service-row-main {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: 10px;
}

.service-id-chip {
  flex: none;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px 10px;
}

.service-name {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  color: var(--text-strong);
  font-size: 0.95rem;
}

.service-rate {
  flex: none;
  font-weight: 800;
  color: var(--brand);
  font-size: 0.95rem;
  white-space: nowrap;
}

.service-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.service-meta-chip {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  white-space: nowrap;
}

.service-meta-chip strong {
  color: var(--text-strong);
}

.service-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}

.service-desc-btn {
  padding: 5px 14px;
  font-size: var(--fs-xs);
}

.service-favorite,
[data-favorite-service-id] {
  display: inline-flex;
  color: var(--text-faint);
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}

.service-favorite:hover,
[data-favorite-service-id]:hover {
  color: var(--star);
}

[data-favorite-icon]::before,
[data-favorite-icon]::after {
  content: none !important;
}

[data-favorite-icon] {
  display: inline-flex;
  font: inherit;
}

.service-favorite.favorite-active,
.service-favorite .favorite-active,
[data-favorite-service-id].favorite-active,
.service-favorite.favorite-active svg,
.service-favorite .favorite-active svg,
[data-favorite-service-id].favorite-active svg {
  color: var(--star);
  fill: var(--star);
}

.nothing-found-card {
  max-width: 520px;
  margin: 0 auto var(--space-6);
  padding: var(--space-7) var(--space-5);
  text-align: center;
  color: var(--text-faint);
}

.nothing-found-card h3 {
  font-size: 1.2rem;
  margin: var(--space-4) 0 6px;
}

.nothing-found-card p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin: 0;
}

@media (max-width: 767px) {
  .service-row-actions {
    margin-inline-start: 0;
    width: 100%;
    justify-content: flex-end;
  }
}

.service-modal .modal-content {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 24px 80px rgba(var(--brand-rgb), 0.08);
}

html.dark .service-modal .modal-content {
  background: var(--bg-elevated);
}

.service-modal .modal-header {
  padding: var(--space-4) var(--space-5);
  align-items: center;
}

.service-modal .modal-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-strong);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-modal .modal-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.15);
}

.service-modal .modal-body {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

.modal-order-content {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.75;
  overflow-wrap: break-word;
}

.modal-order-content a {
  color: var(--brand);
  font-weight: 700;
}

.modal-order-content strong,
.modal-order-content b {
  color: var(--text-strong);
}

.modal-order-content ul,
.modal-order-content ol {
  padding-inline-start: 1.3rem;
  margin: var(--space-3) 0;
}

.modal-backdrop.show {
  opacity: 0.6;
}

html.dark .modal-backdrop {
  background-color: #020610;
}

.lang-toggle {
  width: 42px;
  height: 32px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.lang-toggle:hover {
  color: var(--text-strong);
  border-color: var(--brand);
}

.lang-menu {
  min-width: 170px;
}

.lang-menu .lang-active {
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.1);
}

.free-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

@media (max-width: 900px) {
  .free-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.free-card {
  padding: var(--space-6);
  text-align: center;
}

.free-panel {
  display: none;
}

#free-service[data-state="form"] .free-panel-form,
#free-service[data-state="timer"] .free-panel-timer,
#free-service[data-state="done"] .free-panel-done,
#free-service[data-state="error"] .free-panel-error {
  display: block;
}

.free-form {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-5);
}

.free-form .form-control {
  flex: 1 1 220px;
}

.free-quantity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-4);
}

.free-clock {
  width: 118px;
  height: 118px;
  margin: 0 auto var(--space-5);
  border-radius: 50%;
  border: 3px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text-strong);
  line-height: 1;
}

.free-progress {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  overflow: hidden;
}

.free-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--brand);
  transition: width 1s linear;
}

.free-rules li {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.free-rules li:last-child {
  margin-bottom: 0;
}

.free-rules svg {
  flex: none;
  color: var(--brand);
  margin-top: 2px;
}

.free-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}

.free-tile {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
}

.free-tile b {
  display: block;
  color: var(--text-strong);
}

.free-tile small {
  color: var(--text-muted);
}

.free-tile .icon-dir {
  margin-inline-start: auto;
  color: var(--text-faint);
}

.integration-fixed {
  position: fixed;
  z-index: 1060;
}

.integration-fixed__bottom-left  { inset: auto auto 20px 20px; }
.integration-fixed__bottom-right { inset: auto 20px 20px auto; }
.integration-fixed__top-left     { inset: 84px auto auto 20px; }
.integration-fixed__top-right    { inset: 84px 20px auto auto; }

.currency-toggle {
  width: auto;
  gap: 5px;
  padding-inline: 11px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-strong);
  white-space: nowrap;
}

.currency-toggle .currency-symbol {
  color: var(--text-muted);
  font-weight: 600;
}

.currency-toggle .currency-caret {
  color: var(--text-faint);
  transition: transform var(--dur) var(--ease);
}

.dropdown.show > .currency-toggle .currency-caret {
  transform: rotate(180deg);
}

.currency-menu {
  min-width: 150px;
  list-style: none;
  margin: 0;
}

.currency-menu li {
  list-style: none;
}

.currency-menu .dropdown-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}

.currency-menu li.active > .dropdown-item {
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.1);
}

.currency-menu .currency-symbol {
  color: var(--text-muted);
}

.currency-menu li.active > .dropdown-item .currency-symbol {
  color: inherit;
}

.mobile-menu .lang-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 14px 4px;
}

.mobile-menu .lang-chip {
  display: inline-flex;
  padding: 6px 14px;
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
}

.mobile-menu .lang-chip.active {
  background: rgba(var(--brand-rgb), 0.14);
  color: var(--brand);
  border-color: rgba(var(--brand-rgb), 0.4);
}

.dash-page {
  padding-top: var(--space-7);
}

.dash-head {
  margin-bottom: var(--space-5);
}

.dash-head h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin: var(--space-3) 0 0;
  letter-spacing: -0.03em;
}

.dash-stats {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.dash-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 0;
}

.dash-balance .btn-on-brand {
  margin-top: 6px;
  background: #fff;
  color: var(--brand);
  border: 0;
  padding: 0.45rem 1.1rem;
  font-size: var(--fs-sm);
}

.dash-balance .btn-on-brand:hover {
  background: #fff;
  color: var(--brand-600);
  transform: translateY(-2px);
}

.dash-stats .stat-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dash-stats .stat-block .num {
  font-size: 1.8rem;
}

.dash-note {
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.nwo-categories {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: var(--space-5);
  scrollbar-width: none;
}

.nwo-categories::-webkit-scrollbar {
  display: none;
}

.nwo-cat-btn {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.nwo-cat-btn svg {
  width: 22px;
  height: 22px;
}

.nwo-cat-btn:hover {
  color: var(--text-strong);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.nwo-cat-btn.active {
  background: rgba(var(--brand-rgb), 0.14);
  color: var(--brand);
  border-color: rgba(var(--brand-rgb), 0.45);
}

.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-5);
  align-items: start;
}

.dash-main,
.dash-side {
  min-width: 0;
}

.order-tabs {
  justify-content: flex-start;
  margin-bottom: var(--space-4);
}

.order-card,
.info-card,
.account-card,
.api-method {
  position: relative;
}

.order-card,
.info-card {
  padding: var(--space-5);
}

.dash-side .info-card {
  position: sticky;
  top: 96px;
}

.order-card .form-group {
  margin-bottom: var(--space-4);
}

.order-card .form-label,
.order-card .control-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.order-card .form-control,
.order-card select,
.order-card textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.9rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2);
  color: var(--text-strong);
  font: inherit;
  font-size: 0.9rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.order-card textarea {
  min-height: 200px;
  line-height: 1.6;
}

.order-card .form-control:focus,
.order-card select:focus,
.order-card textarea:focus {
  outline: 0;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.1);
}

.order-card .form-control::placeholder {
  color: var(--text-faint);
}

.order-card .charge-input {
  font-weight: 800;
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.06);
  border-color: rgba(var(--brand-rgb), 0.25);
}

.order-card .auth-submit {
  margin-top: var(--space-2);
}

.order-card #service_description .panel-body {
  padding: var(--space-3) var(--space-4);
  border: 1px dashed var(--border-strong);
  border-radius: 13px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.order-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--fs-sm);
}

.order-summary b {
  overflow-wrap: anywhere;
}

.ns-name .service-title {
  display: block;
  font-weight: 800;
  color: var(--text-strong);
  font-size: 1rem;
  margin-bottom: var(--space-4);
  min-height: 1.2em;
  overflow-wrap: anywhere;
}

.ns-info {
  display: flex;
  flex-direction: column;
}

.ns-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
}

.ns-row:last-child {
  border-bottom: 0;
}

.ns-label {
  color: var(--text-faint);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex: none;
}

.ns-value {
  color: var(--text-strong);
  font-weight: 700;
  text-align: end;
  overflow-wrap: anywhere;
}

.service-desc {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-height: 320px;
  overflow-y: auto;
}

.service-desc:empty,
.service-desc #s_desc:empty {
  display: none;
}

.service-desc:empty,
.service-desc #s_desc:empty {
  display: none;
}

#order-desc-field { display: block; }
#order-desc-field:has(#s_desc:empty) { display: none; }
#order-desc-field .service-desc { margin-top: 0; }

.read-before-text {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin: 0;
}

@media (max-width: 991px) {
  .dash-stats {
    grid-template-columns: 1fr 1fr;
  }
  .dash-balance {
    grid-column: 1 / -1;
  }
  .dash-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .dash-side .info-card {
    position: static;
  }
}

.app-shell {
  display: grid;
  grid-template-columns: 264px 1fr;
  min-height: 100vh;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--surface-glass);
  border-inline-end: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 1040;
}

.app-sidebar-head .brand {
  padding: 6px 4px;
}

.app-sidebar-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.app-avatar {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(var(--brand-rgb), 0.4);
}

.app-sidebar-user {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.app-sidebar-user b {
  color: var(--text-strong);
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-sidebar-user a {
  color: var(--text-faint);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.app-sidebar-user a:hover {
  color: var(--brand);
}

.app-logout {
  flex: none;
  color: var(--text-faint);
  display: inline-flex;
  padding: 6px;
  border-radius: 9px;
}

.app-logout:hover {
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.1);
}

.app-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.app-nav-link:hover {
  color: var(--text-strong);
  background: var(--surface-2);
}

.app-nav-link.active {
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.12);
}

.app-nav-icon {
  flex: none;
  display: inline-flex;
}

.app-nav-icon svg {
  width: 19px;
  height: 19px;
}

.app-nav-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 992px) {
  .app-shell.collapsed {
    grid-template-columns: 84px 1fr;
  }

  .app-shell.collapsed .app-sidebar-brandname,
  .app-shell.collapsed .app-sidebar-user,
  .app-shell.collapsed .app-logout,
  .app-shell.collapsed .app-nav-text {
    display: none;
  }

  .app-shell.collapsed .app-sidebar-profile {
    justify-content: center;
    padding: 8px;
  }

  .app-shell.collapsed .app-nav-link {
    justify-content: center;
    padding: 12px;
  }

  .app-shell.collapsed .app-sidebar-head .brand {
    justify-content: center;
  }
}

.app-topbar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 12px var(--space-5);
  border-bottom: 1px solid var(--border);
  background: var(--nav-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.app-topbar-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}

.app-topbar-btn:hover {
  color: var(--text-strong);
  border-color: var(--border-strong);
}

.app-page-title {
  font-weight: 800;
  color: var(--text-strong);
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}

.app-user-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.app-user-btn .app-avatar {
  width: 34px;
  height: 34px;
  font-size: 0.9rem;
}

.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-content {
  flex: 1;
  min-width: 0;
}

.app-footer {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border);
  color: var(--text-faint);
}

.app-content .section {
  padding: var(--space-6) 0;
}

.app-content .section-head {
  margin-bottom: var(--space-6);
}

.app-content .container-x {
  max-width: 1280px;
}

.app-content .dash-page {
  padding-top: var(--space-6);
}

.app-backdrop {
  display: none;
}

@media (max-width: 991px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: fixed;
    inset-block: 0;
    inset-inline: 0 auto;
    width: 280px;
    max-width: 84vw;

    transform: translateX(calc(-100% * var(--dir)));
    transition: transform var(--dur) var(--ease);
    z-index: 1050;
    background: var(--bg-elevated);
  }

  .app-shell.sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  .app-shell.sidebar-open .app-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 16, 0.55);
    backdrop-filter: blur(2px);
    z-index: 1045;
  }
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.quick-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--space-4);
}

.quick-action b {
  color: var(--text-strong);
  font-size: 0.92rem;
}

.quick-action .icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.quick-action .icon-badge svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 767px) {
  .quick-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.dash-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-6);
  margin-bottom: var(--space-5);
  overflow: hidden;
}

html.dark .dash-hero {
  box-shadow: var(--shadow-lg), var(--glow);
}

.dash-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at calc(50% + 35% * var(--dir)) 15%, rgba(var(--brand-rgb), 0.16), transparent 55%);
  pointer-events: none;
}

.dash-hero-main {
  position: relative;
}

.dash-hero h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: var(--space-3) 0 var(--space-2);
  letter-spacing: -0.03em;
}

.dash-hero-sub {
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  max-width: 480px;
}

.dash-hero .hero-cta {
  margin-bottom: 0;
}

.dash-hero-side {
  position: relative;
}

.dash-hero-side .balance-card {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.balance-card .mini-chart {
  width: 100%;
  height: 56px;
  margin-top: 4px;
}

.balance-card .mini-chart .bar {
  background: rgba(255, 255, 255, 0.2);
}

.balance-card .mini-chart .bar::after {
  background: rgba(255, 255, 255, 0.85);
}

.btn-on-brand {
  background: #fff;
  color: var(--brand);
  border: 0;
  padding: 0.5rem 1.2rem;
  font-size: var(--fs-sm);
  margin-top: 4px;
}

.btn-on-brand:hover {
  background: #fff;
  color: var(--brand-600);
  transform: translateY(-2px);
}

.dash-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.dash-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--space-4);
}

.dash-tile .icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  flex: none;
}

.dash-tile .icon-badge svg {
  width: 21px;
  height: 21px;
}

.dash-tile-text {
  min-width: 0;
}

.dash-tile .num {
  font-weight: 800;
  color: var(--text-strong);
  font-size: 1.15rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-tile .lbl {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.dash-tile-arrow {
  margin-inline-start: auto;
  color: var(--text-faint);
  display: inline-flex;
  flex: none;
}

.dash-tile-action:hover .dash-tile-arrow {
  color: var(--brand);
}

.order-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: calc(var(--space-5) * -1) calc(var(--space-5) * -1) var(--space-4);
  padding: 14px var(--space-5);
  border-bottom: 1px solid var(--border);
}

html.dark .order-card {
  box-shadow: var(--shadow-lg), var(--glow);
}

@media (max-width: 991px) {
  .dash-hero {
    grid-template-columns: 1fr;
    padding: var(--space-5);
  }
  .dash-tiles {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .dash-tiles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .dash-hero {
    padding: var(--space-4);
  }
  .dash-hero-sub,
  .dash-hero .hero-cta {
    display: none;
  }
  .dash-hero h1 {
    font-size: 1.3rem;
    margin: 8px 0 0;
  }
  .dash-hero-side .balance-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 0;
    padding: 12px 14px;
  }
  .dash-hero-side .balance-card .lbl {
    grid-column: 1;
    grid-row: 1;
  }
  .dash-hero-side .balance-card .amount {
    grid-column: 1;
    grid-row: 2;
    font-size: 1.25rem;
  }
  .dash-hero-side .balance-card .mini-chart {
    display: none;
  }
  .dash-hero-side .balance-card .btn-on-brand {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }
  .dash-tiles {
    display: none;
  }
}

.nwo-tabs-stretch {
  justify-content: stretch;
}

.nwo-tabs-stretch .nav-item {
  flex: 1;
}

.nwo-tabs-stretch .nav-link {
  display: block;
  width: 100%;
  text-align: center;
}

.order-card select,
.order-card .form-control,
.order-card #fields * {
  max-width: 100%;
}

.app-content,
.dash-page .container-x {
  overflow-x: clip;
}

.app-balance-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding-block: 0;
  padding-inline: 14px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.app-balance-chip b {
  color: var(--text-strong);
  font-weight: 800;
  white-space: nowrap;
}

.app-balance-chip .chip-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(var(--brand-rgb), 0.4);
  transition: transform var(--dur) var(--ease);
}

.app-balance-chip:hover .chip-plus {
  transform: scale(1.1);
}

@media (max-width: 575px) {
  .app-balance-chip b {
    display: none;
  }
  .app-balance-chip {
    padding-inline-start: 10px;
  }
}

.order-card #service_description {
  display: none !important;
}

.ns-banner {
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  color: #fff;
  padding: 12px 16px;
  border-radius: 13px;
  margin-bottom: var(--space-4);
  box-shadow: 0 10px 26px rgba(var(--brand-rgb), 0.35);
}

.ns-banner.is-empty {
  display: none;
}

.ns-banner .service-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ns-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ns-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2);
}

.ns-chip.is-empty {
  display: none;
}

.ns-chip-ico {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ns-chip-ico svg {
  width: 16px;
  height: 16px;
}

.ns-chip-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ns-chip-body small {
  color: var(--text-faint);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ns-chip-body b {
  color: var(--text-strong);
  font-size: var(--fs-sm);
  overflow-wrap: anywhere;
}

@media (max-width: 991px) {
  .navbar-pill .lang-dropdown {
    display: none;
  }
}

@media (max-width: 767px) {
  .app-balance-chip,
  a.app-topbar-btn[href="/notifications"] {
    display: none;
  }

  .app-topbar {
    padding: 10px var(--space-4);
    gap: 8px;
  }

  .app-topbar-actions {
    gap: 8px;
  }
}

@media (max-width: 767px) {
  .footer .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5) var(--space-4);
  }

  .footer .row > [class*="col-"] {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 !important;
  }

  .footer .row > .col-lg-4 {
    grid-column: 1 / -1;
  }

  .footer h5 {
    margin-bottom: var(--space-3);
  }

  .footer ul li {
    margin-bottom: 8px;
  }

  .footer-lead {
    max-width: none;
  }

  .pay-row {
    flex-wrap: wrap;
  }
}

.orders-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.orders-status-tabs {
  justify-content: flex-start;
  margin: 0;
  flex: 1;
}

.orders-search {
  min-width: 220px;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.order-row {
  padding: var(--space-4) var(--space-5);
}

.order-row-top {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: 8px;
}

.order-id-chip {
  flex: none;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.08);
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  border-radius: 8px;
  padding: 3px 10px;
  cursor: pointer;
}

.order-id-chip:hover {
  background: rgba(var(--brand-rgb), 0.16);
}

.order-service {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  color: var(--text-strong);
  font-size: 0.95rem;
}

.order-service .service-id-chip {
  margin-inline-end: 4px;
}

.status-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
}

.st-completed { background: rgba(34, 197, 94, 0.14); color: #22c55e; border-color: rgba(34, 197, 94, 0.3); }
.st-inprogress { background: rgba(6, 182, 212, 0.14); color: #06b6d4; border-color: rgba(6, 182, 212, 0.3); }
.st-processing { background: rgba(99, 102, 241, 0.14); color: #818cf8; border-color: rgba(99, 102, 241, 0.3); }
.st-pending { background: rgba(245, 158, 11, 0.14); color: #f59e0b; border-color: rgba(245, 158, 11, 0.3); }
.st-partial { background: rgba(168, 85, 247, 0.14); color: #c084fc; border-color: rgba(168, 85, 247, 0.3); }
.st-canceled { background: rgba(var(--brand-rgb), 0.12); color: var(--brand); border-color: rgba(var(--brand-rgb), 0.3); }

html:not(.dark) .st-processing { color: #6366f1; }
html:not(.dark) .st-partial { color: #a855f7; }

.order-link-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.order-link-line svg {
  flex: none;
  color: var(--text-faint);
}

.order-details-btn {
  padding: 3px 12px;
  font-size: var(--fs-xs);
}

.order-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.order-actions-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.order-act {
  padding: 5px 14px;
  font-size: var(--fs-xs);
}

.order-act-danger {
  color: var(--brand);
  border-color: rgba(var(--brand-rgb), 0.35);
}

.order-detail-field {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  padding: 10px 14px;
  font: inherit;
  font-size: var(--fs-sm);
}

.orders-pagination {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}

.pagination .page-link {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: var(--fs-sm);
  margin: 0 3px;
  border-radius: 10px !important;
  padding: 8px 14px;
}

.pagination .page-link:hover {
  background: var(--surface);
  color: var(--text-strong);
  border-color: var(--border-strong);
}

.pagination .page-item.active .page-link {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.wallet-card {
  max-width: 720px;
  margin: 0 auto;
}

.wallet-page .order-tabs {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-4);
}

.pay-methods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: var(--space-4);
}

.pay-method-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  text-align: start;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.pay-method-card p {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.pay-method-check {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pay-method-card.active {
  border-color: rgba(var(--brand-rgb), 0.5);
  background: rgba(var(--brand-rgb), 0.08);
}

.pay-method-card.active .pay-method-check {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.wallet-card .form-control {
  width: 100%;
  min-height: 50px;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2);
  color: var(--text-strong);
  font: inherit;
  font-size: 0.9rem;
}

.wallet-card .form-control:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.1);
}

.wallet-card .form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.deposit-list {
  display: flex;
  flex-direction: column;
}

.deposit-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
}

.deposit-row:last-child {
  border-bottom: 0;
}

.deposit-method {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  color: var(--text-strong);
}

.deposit-date {
  color: var(--text-faint);
  font-size: var(--fs-xs);
}

.deposit-invoice {
  flex: none;

  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text-muted);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.deposit-invoice:hover,
.deposit-invoice:focus-visible {
  border-color: var(--brand);
  background: rgba(var(--brand-rgb), 0.08);
  color: var(--brand);
}

@media (max-width: 600px) {
  .deposit-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "id     method  invoice"
      "date   amount  amount";

    grid-template-rows: minmax(28px, auto) auto;
    gap: 8px 10px;
    align-items: center;
  }
  .deposit-row .service-id-chip {
    grid-area: id;
  }
  .deposit-method {
    grid-area: method;
    overflow-wrap: anywhere;
  }
  .deposit-invoice {
    grid-area: invoice;
    margin-inline-start: 0;
  }
  .deposit-date {
    grid-area: date;
  }
  .deposit-row .status-badge {
    grid-area: amount;
    justify-self: end;
  }
}

.wallet-bar {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.wallet-bar-lbl {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wallet-bar-amount {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.wallet-step {
  margin-bottom: var(--space-5);
}

.wallet-step-body {
  min-width: 0;
}

.wallet-side-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: var(--space-4);
}

.wallet-side-head h3 {
  margin: 0;
  font-size: 1rem;
}

.wallet-side-count {
  flex: none;
  color: var(--text-faint);
  font-size: var(--fs-xs);
  font-weight: 600;
}

#fund-form,
#deposit-history {
  scroll-margin-top: 100px;
}

.support-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-5);
}

.support-strip .service-meta-chip {
  white-space: normal;
}

.tickets-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-5);
  align-items: start;
}

.tickets-main,
.tickets-side {
  min-width: 0;
}

.tickets-page .form-control,
.tickets-page .form-select {
  width: 100%;
  min-height: 50px;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2);
  color: var(--text-strong);
  font: inherit;
  font-size: 0.9rem;
}

.tickets-page .form-control:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.1);
}

.tickets-page .form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.tickets-page .form-group {
  margin-bottom: var(--space-4);
}

.unread-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.unread-callout .icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.tickets-side-title {
  font-size: 1rem;
  margin-bottom: var(--space-4);
}

.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ticket-row {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.ticket-row:hover {
  border-color: rgba(var(--brand-rgb), 0.4);
  transform: translateY(-2px);
}

.ticket-row-new {
  border-color: rgba(34, 197, 94, 0.4);
}

.ticket-row-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.ticket-theme {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  color: var(--text-strong);
  font-size: var(--fs-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ticket-time {
  color: var(--text-faint);
  font-size: var(--fs-xs);
}

.chat-head {
  gap: var(--space-3);
}

.chat-back {
  padding: 5px 14px;
  font-size: var(--fs-xs);
  flex: none;
}

.chat-subject {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.chat-subject small {
  color: var(--text-faint);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.chat-subject b {
  color: var(--text-strong);
  font-size: var(--fs-sm);
  overflow-wrap: anywhere;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-height: 520px;
  overflow-y: auto;
  padding: 4px 2px;
  margin-bottom: var(--space-4);
}

.chat-msg {
  max-width: 85%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-msg-me {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-msg-support {
  align-self: flex-start;
  align-items: flex-start;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: var(--fs-sm);
  line-height: 1.6;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.chat-msg-me .chat-bubble {
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  color: #fff;
  border-end-end-radius: 5px;
}

.chat-msg-support .chat-bubble {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-end-start-radius: 5px;
}

.chat-files {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.chat-files small {
  opacity: 0.8;
}

.chat-file {
  display: inline-flex;
  padding: 2px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-decoration: underline;
}

.chat-msg-support .chat-file {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--brand);
  text-decoration: none;
}

.chat-meta {
  color: var(--text-faint);
  font-size: var(--fs-xs);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chat-verified {
  color: #22c55e;
  display: inline-flex;
}

.chat-composer {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.chat-composer textarea {
  flex: 1;
  min-width: 200px;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2);
  color: var(--text-strong);
  font: inherit;
  font-size: 0.9rem;
  resize: vertical;
}

.chat-composer textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.1);
}

.chat-send {
  padding: 0.7rem 1.4rem;
}

@media (max-width: 991px) {
  .tickets-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .orders-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .orders-search {
    width: 100%;
  }
  .order-actions-group {
    margin-inline-start: 0;
    width: 100%;
    justify-content: flex-end;
  }
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.account-card {
  padding: var(--space-5);
}

.account-span {
  grid-column: 1 / -1;
}

.account-card-title {
  font-size: 1.05rem;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}

.account-card .input-shell input,
.account-card .input-shell select {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 0.95rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-strong);
  font: inherit;
  font-size: 0.9rem;
}

.account-card .input-shell input[readonly] {
  color: var(--text-muted);
}

.account-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.account-actions > .btn,
.account-actions > form {
  flex: 1;
  min-width: 160px;
}

.account-inline-form {
  display: flex;
  align-items: flex-end;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.account-inline-form:last-child {
  margin-bottom: 0;
}

.account-inline-form .form-group-premium {
  flex: 1;
  min-width: 0;
}

.account-inline-form .btn {
  flex: none;
  height: 50px;
}

.account-hint {
  display: block;
  margin-top: 6px;
  color: var(--text-faint);
  font-size: var(--fs-xs);
}

.notif-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 760px;
  margin: 0 auto;
}

.notif-lead {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-4);
}

.notif-table-wrap {
  overflow-x: auto;
}

.notif-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.notif-table th {
  color: var(--text-faint);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 10px;
  border-bottom: 1px solid var(--border-strong);
}

.notif-table th:first-child {
  text-align: start;
}

.notif-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}

.notif-name {
  text-align: start !important;
  color: var(--text);
  font-weight: 600;
}

.notif-switch {
  display: inline-flex;
  cursor: pointer;
  margin: 0;
}

.notif-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.notif-switch-track {
  width: 42px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  position: relative;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.notif-switch-track::after {
  content: "";
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-faint);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.notif-switch input:checked + .notif-switch-track {
  background: rgba(var(--brand-rgb), 0.2);
  border-color: var(--brand);
}

.notif-switch input:checked + .notif-switch-track::after {
  transform: translateX(calc(18px * var(--dir)));
  background: var(--brand);
}

.notif-switch input:disabled + .notif-switch-track {
  opacity: 0.4;
  cursor: not-allowed;
}

.updates-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.update-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px var(--space-4);
}

.update-service {
  flex: 1;
  min-width: 140px;
  font-weight: 700;
  color: var(--text-strong);
  font-size: var(--fs-sm);
}

.update-change {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.up-added { background: rgba(34, 197, 94, 0.14); color: #22c55e; border-color: rgba(34, 197, 94, 0.3); }
.up-removed { background: rgba(var(--brand-rgb), 0.12); color: var(--brand); border-color: rgba(var(--brand-rgb), 0.3); }
.up-down { background: rgba(34, 197, 94, 0.1); color: #22c55e; border-color: rgba(34, 197, 94, 0.25); }
.up-up { background: rgba(245, 158, 11, 0.14); color: #f59e0b; border-color: rgba(245, 158, 11, 0.3); }

.update-date {
  color: var(--text-faint);
  font-size: var(--fs-xs);
  white-space: nowrap;
}

.update-hist {
  flex: none;
  padding: 6px 10px;
}

@media (max-width: 767px) {
  .account-grid {
    grid-template-columns: 1fr;
  }
  .account-2col {
    grid-template-columns: 1fr;
  }
  .account-inline-form {
    flex-direction: column;
    align-items: stretch;
  }
  .account-inline-form .btn {
    width: 100%;
  }
}

.massorder-warn {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #f59e0b;
  font-size: var(--fs-sm);
  font-weight: 600;
}

html:not(.dark) .massorder-warn {
  color: #b45309;
}

.massorder-warn svg {
  flex: none;
  margin-top: 1px;
}

.massorder-format {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border: 1px dashed var(--border-strong);
  border-radius: 13px;
  background: var(--surface-2);
}

.massorder-format code {
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.08);
  border: 1px solid rgba(var(--brand-rgb), 0.18);
  padding: 3px 10px;
  border-radius: 7px;
  font-size: var(--fs-xs);
  font-weight: 700;
}

.massorder-format .fmt-sep {
  color: var(--text-faint);
  font-weight: 800;
}

.massorder-page .form-control {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2);
  color: var(--text-strong);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.7;
  resize: vertical;
}

.massorder-page .form-control:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.1);
}

.massorder-page .form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.data-table-card {
  padding: 0;
  overflow: hidden;
}

.data-table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.data-table th {
  color: var(--text-faint);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: start;
  padding: 14px var(--space-5);
  border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
}

.data-table td {
  padding: 14px var(--space-5);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr {
  transition: background-color var(--dur) var(--ease);
}

.data-table tbody tr:hover {
  background: var(--surface-2);
}

.td-muted {
  color: var(--text-faint);
  font-size: var(--fs-xs);
}

.table-link {
  color: var(--brand);
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-4);
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur) var(--ease);
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
}

.blog-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--space-5);
  flex: 1;
}

.blog-date {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1.35;
  flex: 1;
}

.blog-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-muted);
}

.blog-card:hover .blog-more {
  color: var(--brand);
}

.blogpost {
  max-width: 820px;
  margin: 0 auto;
}

.blogpost-back {
  padding: 6px 16px;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-5);
}

.blogpost-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-lg);
}

.blogpost-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.blogpost-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2);
}

.blogpost-date {
  color: var(--brand);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-5);
}

.blogpost-content {
  max-width: none;
}

.blogpost-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: var(--space-4) 0;
}

.section-subtitle {
  font-size: 1.1rem;
  margin: var(--space-6) 0 var(--space-4);
}

.aff-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.aff-cap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.aff-link-card,
.aff-stat {
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aff-stat b {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-strong);
}

.aff-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aff-link-value {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  color: var(--text-strong);
  overflow-wrap: anywhere;
  font-size: var(--fs-sm);
}

.aff-copy {
  flex: none;
  padding: 8px 12px;
}

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

.aff-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  font-size: var(--fs-sm);
}

.aff-metric span {
  color: var(--text-muted);
}

.aff-metric b {
  color: var(--text-strong);
  font-weight: 800;
}

.aff-metric-hl {
  background: rgba(var(--brand-rgb), 0.08);
  border-color: rgba(var(--brand-rgb), 0.25);
}

.aff-metric-hl b {
  color: var(--brand);
}

.childpanel-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.childorder-page .form-control,
.childorder-page .form-select {
  width: 100%;
  min-height: 50px;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2);
  color: var(--text-strong);
  font: inherit;
  font-size: 0.9rem;
}

.childorder-page .form-control:focus,
.childorder-page .form-select:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.1);
}

.childorder-page .form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.childorder-page .form-group {
  margin-bottom: var(--space-4);
}

.ns-info-block {
  text-align: center;
}

.ns-info-block .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: var(--space-3);
}

.ns-info-text {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-3);
}

.ns-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ns-list code {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--brand);
  font-weight: 700;
  font-size: var(--fs-sm);
  overflow-wrap: anywhere;
}

.childorder-support {
  margin-top: var(--space-4);
  text-align: center;
}

.overview-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.overview-tile {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.overview-tile .ot-lbl {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
}

.overview-tile b {
  color: var(--text-strong);
  font-size: 1.15rem;
  font-weight: 800;
}

.overview-tile .ot-ellip {
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.overview-tile.ot-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  border-color: transparent;
}

.overview-tile.ot-brand .ot-lbl,
.overview-tile.ot-brand b {
  color: #fff;
}

.overview-tile.ot-brand .ot-lbl {
  opacity: 0.85;
}

.level-card {
  padding: var(--space-5);
  margin-bottom: var(--space-4);
}

.level-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.level-now {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.level-pct {
  font-weight: 800;
  color: var(--brand);
}

.level-bar {
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow: hidden;
}

.level-bar span {
  display: block;
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(to var(--dir-x), var(--brand-400), var(--brand));
  transition: width 0.8s var(--ease);
}

.level-note {
  margin: var(--space-3) 0 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.rank-ladder {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.rank-step {
  position: relative;
  padding: var(--space-4) var(--space-3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-faint);
}

.rank-star {
  display: inline-flex;
  color: var(--text-faint);
}

.rank-name {
  font-weight: 800;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.rank-min {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.rank-passed .rank-star,
.rank-passed .rank-name {
  color: var(--star);
}

.rank-current {
  border-color: rgba(var(--brand-rgb), 0.5);
  box-shadow: var(--shadow), 0 0 0 1px rgba(var(--brand-rgb), 0.25);
}

.rank-current .rank-star {
  color: var(--brand);
}

.rank-current .rank-name {
  color: var(--text-strong);
}

.rank-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--text-faint);
}

.perk-check {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-faint);
}

.perk-text {
  font-size: var(--fs-sm);
  font-weight: 600;
}

.perk-on {
  color: var(--text);
}

.perk-on .perk-check {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.perk-on .perk-text {
  color: var(--text-strong);
}

@media (max-width: 991px) {
  .overview-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aff-top {
    grid-template-columns: 1fr;
  }
  .rank-ladder {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }
  .rank-min {
    display: none;
  }
}

@media (max-width: 575px) {
  .overview-tiles {
    grid-template-columns: 1fr 1fr;
  }
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
}

.chat-file {
  text-decoration: underline;
}

.supportdesk-page {
  padding: var(--space-6) 0 var(--space-8);
}

.sd-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: var(--space-8) var(--space-6) var(--space-6);
  text-align: center;
  margin-bottom: var(--space-7);
}

html.dark .sd-hero {
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg), var(--glow);
}

.sd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(var(--brand-rgb), 0.22), transparent 55%),
    radial-gradient(circle at calc(50% - 38% * var(--dir)) 120%, rgba(var(--brand-rgb), 0.1), transparent 45%);
  pointer-events: none;
}

.sd-hero-inner {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}

.sd-hero .eyebrow {
  margin-bottom: var(--space-4);
}

.sd-hero-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: var(--space-3);
}

.sd-hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: var(--space-5);
}

.sd-hero-cta {
  padding-inline: 1.6rem;
}

.sd-hero-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.sd-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.sd-meta-pill span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: start;
}

.sd-meta-pill small {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.sd-meta-pill b {
  font-size: 0.86rem;
  color: var(--text-strong);
}

.sd-section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.sd-section-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin: 0;
}

.sd-unread {
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.1);
  border: 1px solid rgba(var(--brand-rgb), 0.25);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
}

.sd-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-faint);
  min-width: 240px;
}

.sd-search input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-strong);
  font: inherit;
  font-size: var(--fs-sm);
  width: 100%;
}

.sd-ticket-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--space-7);
}

.sd-ticket {
  display: flex;
  align-items: stretch;
  gap: var(--space-4);
  padding-block: var(--space-4);

  padding-inline: var(--space-3) var(--space-5);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

html.dark .sd-ticket {
  backdrop-filter: blur(10px);
}

.sd-ticket:hover {
  transform: translateX(calc(4px * var(--dir)));
  border-color: rgba(var(--brand-rgb), 0.4);
  box-shadow: var(--shadow);
}

.sd-rail {
  flex: none;
  width: 4px;
  border-radius: var(--radius-pill);
  background: var(--border-strong);
  align-self: stretch;
}

.rc-answered .sd-rail { background: #22c55e; }
.rc-pending .sd-rail { background: #f59e0b; }
.rc-closed .sd-rail { background: var(--brand); }

.sd-ticket-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.sd-ticket-theme {
  font-weight: 800;
  color: var(--text-strong);
  font-size: 1.02rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sd-ticket-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.sd-ticket-id {
  font-weight: 800;
  color: var(--text-muted);
}

.sd-ticket-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-faint);
}

.sd-new-flag {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 1px 8px;
  border-radius: var(--radius-pill);
}

.sd-ticket-side {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.sd-ticket-chev {
  color: var(--text-faint);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.sd-ticket:hover .sd-ticket-chev {
  color: var(--brand);
  transform: scaleX(var(--dir)) translateX(3px);
}

.sd-empty {
  text-align: center;
  padding: var(--space-8) var(--space-5);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--text-faint);
  margin-bottom: var(--space-7);
}

.sd-empty-ico {
  display: inline-flex;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  color: var(--brand);
  margin-bottom: var(--space-3);
}

.sd-empty b {
  display: block;
  font-size: 1.1rem;
  color: var(--text-strong);
  margin-bottom: 4px;
}

.sd-empty p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.sd-compose {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  scroll-margin-top: 90px;
}

.sd-compose-aside {
  padding: var(--space-7) var(--space-6);
  background: linear-gradient(160deg, var(--brand), var(--brand-600));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
}

.sd-compose-kicker {
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.sd-compose-title {
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
}

.sd-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: var(--space-3);
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
  font-size: var(--fs-sm);
  line-height: 1.55;
}

.sd-note svg {
  flex: none;
  margin-top: 2px;
}

.sd-compose-form {
  padding: var(--space-7) var(--space-6);
  background: var(--surface);
}

html.dark .sd-compose-form {
  background: var(--bg-elevated);
}

.sd-field {
  margin-bottom: var(--space-4);
}

.sd-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.sd-input {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text-strong);
  font: inherit;
  font-size: 0.92rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

textarea.sd-input {
  line-height: 1.6;
  resize: vertical;
}

.sd-input:focus {
  outline: 0;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.1);
}

.sd-input::placeholder {
  color: var(--text-faint);
}

.sd-uploader {
  margin-bottom: var(--space-4);
}

.sd-success {
  border-radius: 12px;
}

.sd-submit {
  width: 100%;
  justify-content: center;
}

@media (max-width: 767px) {
  .sd-hero {
    padding: var(--space-6) var(--space-4) var(--space-5);
  }
  .sd-compose {
    grid-template-columns: 1fr;
  }
  .sd-compose-aside {
    padding: var(--space-5);
  }
  .sd-compose-form {
    padding: var(--space-5);
  }
  .sd-search {
    width: 100%;
  }
}

.tc-wrap {
  max-width: 820px;
}

.tc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 4px;
  margin-bottom: var(--space-3);
}

.tc-back:hover {
  color: var(--brand);
}

.tc-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.tc-head-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-rgb), 0.12);
  border: 1px solid rgba(var(--brand-rgb), 0.22);
  color: var(--brand);
}

.tc-head-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.tc-head-sub {
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.tc-head-title {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 2px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-head-id {
  flex: none;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.08);
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.tc-panel {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tc-thread {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
}

.tc-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 82%;
}

.tc-in {
  align-self: flex-start;
}

.tc-out {
  align-self: flex-end;
}

.tc-avatar {
  flex: none;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.tc-avatar-support {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(var(--brand-rgb), 0.35);
}

.tc-avatar-me {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
}

.tc-msg-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.tc-out .tc-msg-body {
  align-items: flex-end;
}

.tc-msg-head {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 4px;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.tc-msg-head b {
  color: var(--text-strong);
  font-size: 0.78rem;
  font-weight: 700;
}

.tc-msg-head time {
  font-size: 0.68rem;
}

.tc-team {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.1);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
}

.tc-team svg {
  color: #22c55e;
}

.tc-bubble {
  width: fit-content;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: normal;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-end-start-radius: 4px;
}

.tc-bubble-me {
  background: rgba(var(--brand-rgb), 0.06);
  border-color: rgba(var(--brand-rgb), 0.2);
  color: var(--text);
  border-end-start-radius: 18px;
  border-end-end-radius: 4px;
}

html.dark .tc-bubble-me {
  background: rgba(var(--brand-rgb), 0.1);
  border-color: rgba(var(--brand-rgb), 0.28);
  color: var(--text-strong);
}

.tc-files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.tc-file {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--brand);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.tc-file:hover {
  border-color: rgba(var(--brand-rgb), 0.4);
}

.tc-composer {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

html.dark .tc-composer {
  background: rgba(255, 255, 255, 0.02);
}

.tc-composer-alert {
  margin-bottom: var(--space-3);
}

.tc-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 6px;
  padding-inline-start: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.tc-input-wrap:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.1);
}

.tc-textarea {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-strong);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.5;
  resize: none;
  padding: 8px 0;
  max-height: 160px;
}

.tc-textarea::placeholder {
  color: var(--text-faint);
}

.tc-send {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(var(--brand-rgb), 0.4);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.tc-send:hover {
  background: var(--brand-600);
  transform: translateY(-1px) scale(1.03);
}

.tc-uploader:not(:empty) {
  margin-top: 10px;
}

.tc-closed {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--space-5);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.tc-closed svg {
  flex: none;
  color: var(--text-faint);
}

@media (max-width: 575px) {
  .tc-msg {
    max-width: 92%;
  }
  .tc-thread {
    padding: var(--space-4);
  }
  .tc-composer {
    padding: var(--space-3) var(--space-4);
  }
}

@media (max-width: 991px) {
  html.dark {
    --surface: #0c1529;
    --surface-2: #0d162b;
    --surface-glass: #081123;
    --nav-glass: #070f20;
  }

  :root {
    --surface-glass: #fcfdfe;
    --nav-glass: #fdfdfe;
  }

  html.dark .card-surface,
  html.dark .stat-block,
  html.dark .dash,
  html.dark .float-card,
  html.dark .step .num,
  html.dark .activity-row,
  html.dark .faq-item,
  html.dark .cta-band,
  html.dark .select2-dropdown,
  html.dark .alert,
  html.dark .sd-hero,
  html.dark .sd-ticket,
  .navbar-pill,
  .mobile-menu,
  .app-sidebar,
  .app-topbar,
  .app-shell.sidebar-open .app-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
