@font-face {
  font-family: "Golos Text";
  src: url("/static/fonts/GolosText-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --theme-bg-dark: #111115;
  --theme-bg-light: #f6f5fa;
  --bg: var(--theme-bg-dark);
  --surface: #202027;
  --raised: #292932;
  --soft: #32323d;
  --line: #393942;
  --text: #f4f2fb;
  --muted: #c0bdcd;
  --quiet: #aaa6ba;
  --accent: #c5a5ff;
  --accent-strong: #a286ec;
  --accent-soft: #3b2458;
  --hero: #6322bd;
  --hero-text: #ffffff;
  --hero-muted: #ffffff;
  --hero-wave: #dba4ff;
  --button-text: #24133d;
  --hero-gradient: linear-gradient(
    130deg,
    #4814b5 0%,
    #742ad1 53%,
    #8532ba 100%
  );
  --primary-gradient: linear-gradient(105deg, #c1a0ff, #edb2ff);
  --green: #a6d8be;
  --red: #ffb6c5;
  --warning: #f0d396;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family:
    -apple-system, BlinkMacSystemFont, "Golos Text", "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: var(--theme-bg-light);
  --surface: #fff;
  --raised: #efedf6;
  --soft: #e5e0ef;
  --line: #ded9e8;
  --text: #26222f;
  --muted: #61596e;
  --quiet: #766d82;
  --accent: #7755d9;
  --accent-strong: #6640c5;
  --accent-soft: #ece5ff;
  --hero: #6322bd;
  --hero-text: #ffffff;
  --hero-muted: #f4edff;
  --hero-wave: #dba4ff;
  --button-text: #fff;
  --hero-gradient: linear-gradient(
    130deg,
    #4814b5 0%,
    #742ad1 53%,
    #8532ba 100%
  );
  --primary-gradient: linear-gradient(110deg, #7530d9, #9741ce);
  --green: #2b6b51;
  --red: #9f3451;
  --warning: #86642b;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-weight: 450;
  line-height: 1.55;
  -webkit-tap-highlight-color: transparent;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
summary {
  touch-action: manipulation;
  outline-offset: 4px;
}
button {
  color: inherit;
  cursor: pointer;
  border: 0;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
}
a {
  color: inherit;
}
button,
a {
  -webkit-user-select: none;
  user-select: none;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
  color: var(--muted);
}
h1 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 750;
}
h2 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 650;
}
h3 {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
}
strong {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
small {
  font-size: 12px;
  line-height: 1.5;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 50;
  background: var(--accent);
  color: var(--button-text);
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}
.app-header {
  padding-top: var(--safe-top);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  max-width: 584px;
  height: 66px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 44px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #070708;
  overflow: hidden;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}
.brand-mark img {
  position: absolute;
  width: 58px;
  height: 58px;
  max-width: none;
  object-fit: cover;
}
.header-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.icon-button {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  background: var(--raised);
  color: var(--muted);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  transition:
    transform 0.16s ease-out,
    opacity 0.16s ease-out;
}
.icon-button:active {
  transform: scale(0.94);
}
.header-actions .avatar {
  width: 36px;
  height: 36px;
  min-height: 36px;
  background: transparent;
}
.header-actions .avatar .icon {
  width: 18px;
  height: 18px;
}
.theme-moon {
  display: none;
}
:root[data-theme="light"] .theme-sun {
  display: none;
}
:root[data-theme="light"] .theme-moon {
  display: block;
}
.app-shell {
  width: 100%;
  max-width: 584px;
  min-height: calc(100svh - 66px - var(--safe-top));
  padding: 8px 20px calc(110px + var(--safe-bottom));
  margin: auto;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  min-width: 0;
}
.page-heading {
  margin: 2px 0 24px;
}
.page-heading p {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.6;
}
.heading-with-action {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.refresh-button {
  width: 38px;
  height: 38px;
  min-height: 38px;
  background: var(--surface);
}
.refresh-button .icon {
  width: 18px;
  height: 18px;
}
.refresh-button[aria-busy="true"] .icon {
  opacity: 0.6;
}
.screen {
  min-width: 0;
}
.screen-enter {
  animation: screen-enter 0.21s cubic-bezier(0.2, 0.8, 0.22, 1);
}
@keyframes screen-enter {
  from {
    opacity: 0.65;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.section-space {
  margin-top: 22px;
}
.section-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-heading h2,
.section-heading > span:first-child {
  display: flex;
  gap: 9px;
  align-items: center;
}
.content-card {
  background: var(--surface);
  border-radius: 26px;
  padding: 22px;
  margin-top: 16px;
}
.content-card > p:not(:first-child) {
  margin-top: 9px;
}
.content-card h2 {
  display: flex;
  gap: 9px;
  align-items: center;
}
.content-card .section-heading h2 .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.feature-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--hero-gradient);
  color: var(--hero-text);
  border-radius: 30px;
  padding: 23px;
}
.feature-card p {
  color: var(--hero-muted);
}
.feature-card > * {
  position: relative;
  z-index: 1;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 12px;
}
.access-label {
  display: flex;
  gap: 8px;
  align-items: center;
}
.access-label .icon {
  width: 16px;
  height: 16px;
}
.mode-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.2;
  white-space: nowrap;
  background: var(--raised);
  color: var(--muted);
}
.feature-card .mode-label {
  color: var(--hero-text);
  background: rgba(255, 255, 255, 0.12);
}
.access-hero h2 {
  font-size: 25px;
  line-height: 1.22;
  font-weight: 700;
  max-width: 18ch;
}
.access-hero p {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 11px;
  max-width: 37ch;
}
.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--hero-muted);
}
.hero-benefits li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.hero-benefits .icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.hero-actions {
  display: flex;
  gap: 8px;
  margin-top: 23px;
}
.hero-actions .button-primary {
  flex: 1.3;
}
.hero-actions .button-on-hero {
  flex: 1;
}
.hero-note {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 10px;
}
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 47px;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.15s ease-out,
    opacity 0.15s ease-out;
}
.button:active {
  transform: scale(0.98);
}
.button-primary {
  background: var(--primary-gradient);
  color: var(--button-text);
}
.button-secondary {
  background: var(--raised);
  color: var(--text);
}
.button-tertiary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}
.button-on-hero {
  background: rgba(255, 255, 255, 0.12);
  color: var(--hero-text);
}
.feature-card .button-primary {
  background: #fff;
  color: #56268e;
}
:root[data-theme="light"] .feature-card .button-primary {
  background: #fff;
  color: #56268e;
}
.button .icon {
  width: 17px;
  height: 17px;
}
.text-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 0;
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  font-weight: 550;
  text-decoration: none;
}
.text-button .icon {
  width: 16px;
  height: 16px;
}
.text-button:hover {
  opacity: 0.8;
}
.field-help,
.fine-print,
.dialog-footnote {
  font-size: 13px;
  line-height: 1.6;
  color: var(--quiet);
}
.field-help:empty {
  display: none;
}
.fine-print {
  margin-top: 11px;
}
.overview-statistics {
  margin-top: 18px;
}
.usage-overview {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px;
  background: var(--surface);
  border-radius: 26px;
}
.usage-gauge {
  position: relative;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  flex-shrink: 0;
}
.gauge-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}
.gauge-track,
.gauge-fill {
  fill: none;
  stroke-width: 5;
}
.gauge-track {
  stroke: var(--soft);
}
.gauge-fill {
  stroke: var(--accent);
  stroke-linecap: round;
}
.usage-gauge > strong {
  font-size: 24px;
  line-height: 1.1;
  max-width: 88px;
  text-align: center;
}
.usage-description {
  min-width: 0;
}
.small-label {
  font-size: 12px;
  color: var(--quiet);
}
.usage-description p {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 550;
  color: var(--text);
}
.traffic-limit-caption {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--quiet);
}
.overview-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.metric-tile {
  position: relative;
  background: var(--surface);
  border-radius: 23px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.metric-tile > .icon {
  width: 16px;
  height: 16px;
  margin-bottom: 11px;
  color: var(--accent);
}
.metric-tile > span {
  font-size: 12px;
  color: var(--quiet);
}
.metric-tile > strong {
  margin-top: 4px;
  font-size: 23px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.metric-tile small {
  margin-top: 5px;
  font-size: 12px;
  color: var(--quiet);
}
.metric-tile #overview-expiry-value {
  font-size: 18px;
}
.traffic-summary {
  margin-top: 10px;
  padding: 16px 18px;
  background: var(--surface);
  border-radius: 22px;
}
.traffic-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
progress {
  display: block;
  appearance: none;
  border: 0;
  width: 100%;
  height: 5px;
  margin: 11px 0 9px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--soft);
  accent-color: var(--accent);
}
progress::-webkit-progress-bar {
  background: var(--soft);
  border-radius: 10px;
}
progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 10px;
}
progress::-moz-progress-bar {
  background: var(--accent);
  border-radius: 10px;
}
.account-summary {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-top: 16px;
  border: 1px solid #d4b6ff24;
  border-radius: 20px;
  background: #24143f;
  color: #faf6ff;
  text-align: left;
}
.account-summary:not([hidden]) {
  animation: profile-arrive 0.28s cubic-bezier(.18, .8, .24, 1);
}
@keyframes profile-arrive {
  from { opacity: .55; transform: translateY(6px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.account-monogram {
  position: relative;
  width: 60px;
  height: 60px;
  color: #dbbaff;
  display: grid;
  place-items: center;
}
.profile-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: profile-orbit-turn 32s linear infinite paused;
  transform-origin: center;
}
.is-orbiting .profile-orbit {
  animation-play-state: running;
  will-change: transform;
}
.profile-portrait {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 50%;
  background: #4a2c68;
}
.profile-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-mark {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.dashboard-identity {
  min-width: 0;
}
.dashboard-identity > span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.3;
  color: #d0b9eb;
  overflow-wrap: anywhere;
}
.dashboard-identity h3 {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.25;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes profile-orbit-turn {
  to { transform: rotate(1turn); }
}
@media (prefers-reduced-motion: reduce) {
  .profile-orbit { animation: none !important; }
}
@media (max-width: 440px) {
  .account-summary {
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 11px;
    row-gap: 0;
  }
  .account-monogram { grid-row: span 2; }
  .account-id-copy { grid-column: 2; justify-self: start; }
}
.bonus-overview {
  display: block;
  margin-top: 14px;
  padding: 22px;
  background: var(--accent-soft);
  border-radius: 27px;
  text-decoration: none;
}
.bonus-overview .section-heading {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
}
.bonus-overview .section-heading > span:first-child {
  gap: 8px;
}
.bonus-overview > strong {
  display: block;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.1;
}
.bonus-overview > p {
  margin-top: 10px;
  font-size: 12px;
}
.round-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
}
.round-arrow .icon {
  width: 18px;
  height: 18px;
}
.profile-access > code,
.qr-url {
  display: block;
  font-family: inherit;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.55;
  padding: 14px;
  background: var(--raised);
  border-radius: 14px;
  margin-top: 14px;
}
.profile-access > .button {
  width: 100%;
  margin-top: 12px;
}
.profile-access > .text-button {
  margin-top: 7px;
}
.profile-access .section-heading .text-button {
  min-height: 24px;
  padding: 0;
}
.capacity-heading {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-top: 9px;
}
.capacity-heading strong {
  font-size: 26px;
}
.capacity-heading span {
  color: var(--quiet);
  font-size: 12px;
}
.capacity-slots {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 17px 0 13px;
}
.capacity-slots li {
  background: var(--raised);
  border: 1px solid transparent;
  border-radius: 15px;
  min-height: 60px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.capacity-slots li.extra-slot {
  border-color: var(--line);
}
.capacity-slots .icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}
.slot-number {
  font-size: 12px;
  color: var(--quiet);
  align-self: flex-end;
  margin-bottom: 10px;
}
.device-caption {
  font-size: 12px;
  color: var(--muted);
}
.device-card .field-help {
  margin-top: 8px;
}
.quick-actions {
  margin-top: 18px;
  background: var(--surface);
  border-radius: 25px;
  overflow: hidden;
}
.quick-actions > a,
.quick-actions > button,
.menu-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 16px 19px;
  color: var(--text);
  background: transparent;
  text-align: left;
  text-decoration: none;
}
.quick-actions > * + * {
  border-top: 1px solid var(--bg);
}
.menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--raised);
  display: inline-grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}
.menu-icon > .icon {
  width: 19px;
  height: 19px;
}
.menu-row > span:not(.menu-icon),
.quick-actions > a > span:not(.menu-icon),
.quick-actions > button > span:not(.menu-icon) {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
}
.menu-row small,
.quick-actions small {
  display: block;
  font-size: 12px;
  font-weight: 450;
  margin-top: 3px;
  color: var(--quiet);
}
.chevron {
  width: 17px;
  height: 17px;
  color: var(--quiet);
  margin-left: auto;
}
.help-row {
  margin-top: 17px;
  background: var(--surface);
  border-radius: 24px;
}
.account-settings {
  margin-top: 16px;
  border-radius: 25px;
  background: var(--surface);
}
.account-settings > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 19px;
  cursor: pointer;
  list-style: none;
  min-height: 74px;
  font-size: 13px;
  font-weight: 550;
}
summary::-webkit-details-marker {
  display: none;
}
.account-settings > summary > span:not(.menu-icon) {
  flex: 1;
}
.account-settings summary small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 450;
  color: var(--quiet);
}
.account-settings[open] > summary .chevron,
.faq-item[open] > summary .chevron {
  transform: rotate(90deg);
}
summary .chevron {
  transition: transform 0.18s ease-out;
}
.settings-content {
  padding: 0 18px 19px;
}
.appearance-card {
  padding: 20px 0 22px;
  border-top: 1px solid var(--line);
}
.appearance-card .section-heading h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.appearance-card .section-heading h2 .icon {
  width: 17px;
  height: 17px;
}
.theme-auto {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 18px;
  width: 100%;
  background: transparent;
  text-align: left;
}
.theme-auto > span:not(.menu-icon):not(.theme-switch) {
  flex: 1;
  font-size: 13px;
  font-weight: 550;
}
.theme-auto small {
  display: block;
  color: var(--quiet);
  font-size: 12px;
  margin-top: 2px;
  font-weight: 450;
}
.theme-switch {
  width: 40px;
  height: 24px;
  border-radius: 20px;
  background: var(--soft);
  padding: 4px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.theme-switch::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--quiet);
  transition: transform 0.16s ease-out;
}
.theme-auto[aria-pressed="true"] .theme-switch {
  background: var(--accent);
  border-color: var(--accent);
}
.theme-auto[aria-pressed="true"] .theme-switch::after {
  background: var(--button-text);
  transform: translateX(15px);
}
.theme-previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.theme-choice {
  min-width: 0;
  display: block;
  text-align: left;
  padding: 7px;
  background: var(--raised);
  border: 2px solid transparent;
  border-radius: 21px;
}
.theme-choice[aria-pressed="true"] {
  border-color: var(--accent);
}
.theme-preview {
  position: relative;
  display: block;
  border-radius: 14px;
  height: 92px;
  padding: 13px 11px;
  overflow: hidden;
}
.preview-light {
  background: #f4f1fa;
  --preview-text: #302b3b;
  --preview-hero: #d8cbf3;
  --preview-bar: #8b78b3;
  --preview-button: #8261c8;
}
.preview-dark {
  background: #141319;
  --preview-text: #e3dced;
  --preview-hero: #4b3a70;
  --preview-bar: #a695c5;
  --preview-button: #c2afff;
}
.theme-preview > i {
  display: block;
  width: 43%;
  height: 5px;
  border-radius: 4px;
  background: var(--preview-text);
}
.theme-preview > span {
  display: block;
  width: 100%;
  height: 35px;
  margin-top: 10px;
  border-radius: 8px;
  background: var(--preview-hero);
  padding: 9px 9px;
}
.theme-preview > span::before,
.theme-preview > span::after {
  content: "";
  display: block;
  height: 4px;
  border-radius: 3px;
  background: var(--preview-bar);
  width: 92%;
}
.theme-preview > span::after {
  margin-top: 5px;
  width: 66%;
}
.theme-preview > em {
  display: block;
  width: 28%;
  height: 11px;
  border-radius: 5px;
  margin: 8px 0 0 auto;
  background: var(--preview-button);
}
.theme-choice-label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 5px 6px;
  font-size: 12px;
  font-weight: 550;
}
.radio-dot {
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--quiet);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.theme-choice[aria-pressed="true"] .radio-dot {
  background: var(--accent);
  border-color: var(--accent);
}
.theme-choice[aria-pressed="true"] .radio-dot::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--button-text);
}
.purchase-history {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.purchase-history h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.purchase-history h2 .icon {
  width: 17px;
  height: 17px;
}
.count-badge {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  min-height: 25px;
  padding: 0 6px;
  background: var(--raised);
  border-radius: 8px;
  color: var(--quiet);
  font-size: 12px;
}
.empty-history {
  padding: 16px;
  background: var(--raised);
  border-radius: 16px;
}
.empty-history p {
  color: var(--muted);
  font-size: 12px;
}
.empty-history > span {
  display: block;
  color: var(--quiet);
  font-size: 12px;
  margin-top: 4px;
}
.order-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.order-row:last-child {
  border-bottom: 0;
}
.order-entry {
  border-bottom: 1px solid var(--line);
}
.order-entry:last-child {
  border-bottom: 0;
}
.order-detail > .order-row {
  min-height: 64px;
  list-style: none;
  cursor: pointer;
  border-bottom: 0;
}
.order-detail > .order-row::-webkit-details-marker {
  display: none;
}
.order-expand {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}
.order-body {
  padding: 0 0 14px;
}
.order-number {
  display: block;
  margin: 5px 0;
  font-size: 12px;
  overflow-wrap: anywhere;
  user-select: all;
}
.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.order-actions > .text-button {
  min-height: 44px;
}
#client-platform {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  margin-top: 6px;
  background: var(--raised);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}
.connection-followup {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 16px;
}
.connection-followup summary {
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
}
.access-management summary {
  cursor: pointer;
}
.access-management h2 {
  display: inline;
  font-size: 16px;
}
.connected-device-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
.connected-device {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.connected-device > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.renewal-preview dd {
  text-align: right;
  overflow-wrap: anywhere;
}
#access-confirm-description {
  margin: 12px 0 20px;
  line-height: 1.55;
}
.order-row > div {
  min-width: 0;
}
.order-row strong {
  font-size: 12px;
}
.order-row p {
  font-size: 12px;
  margin-top: 3px;
}
.order-price {
  text-align: right;
  flex-shrink: 0;
}
.order-status {
  font-size: 12px;
  display: block;
  margin-top: 4px;
  color: var(--quiet);
}
.order-status.paid {
  color: var(--green);
}
.order-status.waiting {
  color: var(--warning);
}
.order-status.refunded {
  color: var(--muted);
}
.notification-settings {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.notification-settings label {
  min-width: 0;
}
.notification-settings label strong {
  display: block;
  font-size: 12px;
}
.notification-settings label span {
  display: block;
  font-size: 12px;
  color: var(--quiet);
  margin-top: 4px;
}
.notification-settings input {
  appearance: none;
  width: 40px;
  height: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 4px;
  margin: 0;
}
.notification-settings input::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--quiet);
  transition: transform 0.16s ease-out;
}
.notification-settings input:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.notification-settings input:checked::before {
  background: var(--button-text);
  transform: translateX(15px);
}
.notification-settings .field-help {
  grid-column: 1/-1;
}
.profile-links {
  border-top: 1px solid var(--line);
  padding-top: 5px;
}
.profile-links .menu-row {
  min-height: 53px;
  padding: 12px 0;
  font-size: 12px;
}
.profile-links .menu-row > .icon:first-child {
  color: var(--quiet);
  width: 18px;
  height: 18px;
}
.profile-links .menu-row > span {
  font-size: 12px;
}
.demo-note {
  margin: 20px 9px 0;
  font-size: 12px;
  color: var(--quiet);
  text-align: center;
}
.period-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 3px 0 16px;
  padding: 0;
  background: transparent;
  border-radius: 17px;
}
.period-tabs .plan-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 13px;
  min-height: 76px;
  padding: 8px 5px;
  min-width: 0;
  color: var(--muted);
  text-align: center;
  transition:
    transform 0.16s ease-out,
    opacity 0.16s ease-out;
}
.period-tabs .plan-card[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
}
.period-tabs .plan-card:active {
  transform: scale(0.96);
}
.period-tabs .plan-start {
  display: block;
}
.period-tabs .selection-dot,
.period-tabs .plan-price,
.period-tabs .plan-name {
  display: none;
}
.period-tabs .plan-caption {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.period-tabs .plan-name,
.period-tabs .period-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.selected-plan-card {
  padding: 23px;
}
.selected-plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 13px;
  margin-bottom: 22px;
}
.selected-plan-top h2 {
  font-size: 24px;
  font-weight: 700;
}
.featured-price {
  text-align: left;
  min-width: 0;
}
.featured-price strong {
  display: block;
  min-height: 62px;
  font-size: 56px;
  letter-spacing: -1.8px;
  line-height: 1.05;
  font-weight: 750;
  white-space: nowrap;
}
.plan-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 17px;
  font-size: 12px;
  color: var(--hero-muted);
}
.plan-benefits li {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  min-width: 0;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
}
.plan-benefits .icon {
  width: 17px;
  height: 17px;
}
.featured-stars {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #ffffff35;
  border-radius: 15px;
  background: #421580;
  color: #fff;
  margin: 0 0 14px;
}
.featured-stars-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.35;
}
.featured-stars strong {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.featured-stars .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.selected-plan-card .sbp-payment-note {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--hero-muted);
}
.selected-plan-card > .button {
  width: 100%;
  margin-top: 9px;
}
.selected-plan-card .purchase-note {
  text-align: center;
}
.selected-plan-card .field-help {
  margin-top: 9px;
  color: var(--hero-muted);
}
.payment-info h2 {
  font-size: 15px;
}
.payment-info > p {
  font-size: 12px;
}
.faq-section {
  margin-top: 26px;
}
.faq-section > h2 {
  margin: 0 4px 13px;
  font-size: 15px;
}
.faq-item {
  margin-top: 9px;
  background: var(--surface);
  border-radius: 21px;
  overflow: hidden;
}
.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 17px 19px;
  font-size: 12px;
  font-weight: 550;
  list-style: none;
  cursor: pointer;
}
.faq-item > p {
  padding: 0 19px 19px;
  font-size: 12px;
  line-height: 1.75;
}
.client-choice > p {
  font-size: 12px;
}
.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 4px;
  border-radius: 18px;
  background: var(--raised);
  margin: 17px 0 10px;
}
.segmented-control > button {
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  min-height: 41px;
  padding: 10px 9px;
  font-size: 12px;
  font-weight: 550;
  transition: transform 0.15s ease-out;
}
.segmented-control > button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--button-text);
}
.segmented-control > button:active {
  transform: scale(0.97);
}
.client-choice .text-button {
  margin-top: 3px;
}
.client-choice > .field-help {
  font-size: 12px;
}
.access-card > p {
  font-size: 12px;
}
.access-card .section-heading > .icon {
  color: var(--quiet);
  width: 18px;
  height: 18px;
}
.access-card .button {
  width: 100%;
  margin-top: 13px;
}
.access-card .text-button {
  display: flex;
}
.access-card .field-help {
  margin-top: 11px;
}
.setup-hint {
  font-size: 12px;
  line-height: 1.7;
  margin: 14px 0 10px;
}
.setup-card h2 {
  margin-bottom: 22px;
  font-size: 15px;
}
.setup-list {
  display: grid;
  gap: 22px;
}
.setup-list > li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
}
.step-number {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  flex-shrink: 0;
  margin-top: 1px;
}
.setup-list h3 {
  font-size: 13px;
  margin-bottom: 5px;
}
.setup-list p {
  font-size: 12px;
  line-height: 1.7;
}
.setup-list li > div {
  min-width: 0;
}
.referral-reward h2 {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.referral-reward > p {
  font-size: 12px;
  line-height: 1.7;
}
.referral-reward .card-heading {
  margin-bottom: 20px;
}
.reward-rate {
  font-size: 20px;
  font-weight: 650;
  color: var(--hero-text);
}
.referral-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.referral-stats > div {
  min-width: 0;
}
.referral-stats strong {
  display: block;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.referral-stats span {
  display: block;
  font-size: 12px;
  margin-top: 5px;
  color: var(--hero-muted);
}
.wallet-card .section-heading {
  margin-bottom: 13px;
}
.wallet-card h2 {
  font-size: 14px;
}
.wallet-badge {
  padding: 4px 7px;
  background: var(--raised);
  color: var(--quiet);
  font-size: 12px;
  border-radius: 7px;
  white-space: nowrap;
}
.wallet-value {
  font-size: 33px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.wallet-card > .button {
  width: 100%;
  margin-top: 17px;
}
.wallet-card > p:not(.wallet-value) {
  font-size: 12px;
}
.referral-link-card h2 {
  font-size: 15px;
}
.referral-link-card label {
  display: block;
  margin-top: 8px;
}
.referral-link-field {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 8px 9px 8px 13px;
  margin: 14px 0;
  background: var(--raised);
  border-radius: 18px;
}
.referral-link-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  padding: 5px 0;
  outline-offset: 2px;
}
.referral-link-field .icon-button {
  width: 34px;
  height: 34px;
  min-height: 34px;
  background: var(--accent);
  color: var(--button-text);
  border-radius: 50%;
}
.referral-link-card > .button {
  width: 100%;
}
.referral-history h2 {
  font-size: 18px;
  font-weight: 700;
}
.referral-history-empty {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 30px 0 14px;
  text-align: center;
  color: var(--muted);
}
.referral-empty-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  color: var(--accent);
  background: var(--accent-soft);
}
.referral-empty-icon .icon {
  width: 29px;
  height: 29px;
}
.referral-history-empty p {
  max-width: 30ch;
  font-size: 15px;
  line-height: 1.55;
}
.referral-purchases {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.referral-purchase {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.referral-purchase:last-child {
  padding-bottom: 0;
}
.referral-purchase-top {
  display: grid;
  gap: 6px;
}
.referral-purchase-user {
  min-width: 0;
  font-size: 16px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.referral-purchase-date {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.referral-purchase-payment,
.referral-purchase-reward {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 7px 12px;
}
.referral-purchase-payment {
  margin-top: 15px;
  font-size: 15px;
  color: var(--muted);
}
.referral-purchase-payment strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.referral-purchase-reward {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: var(--raised);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.referral-purchase-reward[data-status="credited"] {
  background: var(--accent-soft);
  color: var(--accent);
}
.referral-purchase-reward strong {
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.referral-purchase-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
#referral-history-more {
  width: 100%;
  margin-top: 18px;
}
.referral-how > h2 {
  font-size: 15px;
  margin-bottom: 23px;
}
.referral-rules > summary {
  font-size: 12px;
}
.app-footer {
  margin-top: 30px;
  text-align: center;
  font-size: 12px;
  color: var(--quiet);
}
.app-footer > span {
  opacity: 0.65;
}
.public-documents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 12px;
  margin-bottom: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.public-documents a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
}
.public-documents a:hover {
  text-decoration: underline;
}
.qualification-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
}
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 0 14px calc(10px + var(--safe-bottom));
  pointer-events: none;
}
.bottom-nav-inner {
  max-width: 554px;
  margin: auto;
  padding: 7px 5px;
  border-radius: 29px;
  background: var(--raised);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  box-shadow: 0 7px 28px #0002;
  pointer-events: auto;
}
.bottom-nav a {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 7px 3px 5px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}
.bottom-nav .icon {
  position: relative;
  width: 21px;
  height: 21px;
  z-index: 1;
  transition: transform 0.16s ease-out;
}
.bottom-nav a > span {
  position: relative;
  z-index: 1;
}
.bottom-nav a::before {
  content: "";
  position: absolute;
  top: 2px;
  width: 47px;
  height: 30px;
  border-radius: 17px;
  background: var(--accent-soft);
  opacity: 0;
  transform: scale(0.85);
  transition:
    transform 0.18s ease-out,
    opacity 0.18s ease-out;
}
.bottom-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}
.bottom-nav a[aria-current="page"]::before {
  opacity: 1;
  transform: scale(1);
}
.bottom-nav a[aria-current="page"] .icon {
  color: var(--accent);
  animation: nav-icon-settle .28s cubic-bezier(.2, .76, .28, 1);
}
@keyframes nav-icon-settle {
  0% { transform: translateY(3px) scale(.88); }
  55% { transform: translateY(-2px) scale(1.08); }
  100% { transform: translateY(0) scale(1); }
}
.bottom-nav a:active .icon {
  transform: scale(0.88);
}
.load-state,
.error-state,
.membership-gate {
  text-align: center;
  padding: 50px 15px;
}
.load-state > p,
.error-state > p,
.membership-gate > p {
  margin: 14px auto;
  font-size: 13px;
  max-width: 34ch;
}
.error-state h1,
.membership-gate h1 {
  font-size: 25px;
}
.error-state .button,
.membership-gate .button {
  width: 100%;
  margin-top: 14px;
}
.spinner {
  display: inline-block;
  width: 27px;
  height: 27px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.membership-symbol {
  width: 65px;
  height: 65px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 23px;
}
.membership-symbol .icon {
  width: 30px;
  height: 30px;
}
.membership-help {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.membership-help .text-button {
  font-size: 12px;
}
body.dialog-open {
  overflow: hidden;
}
dialog {
  color: var(--text);
  border: 0;
  background: var(--surface);
  border-radius: 29px;
  padding: 20px 23px 25px;
  width: calc(100% - 30px);
  max-width: 490px;
  max-height: calc(100dvh - 32px - var(--safe-top));
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: auto;
  box-shadow: 0 12px 48px #0003;
}
dialog[open] {
  animation: dialog-in 0.18s ease-out;
}
dialog::backdrop {
  background: #05040a99;
}
@keyframes dialog-in {
  from {
    opacity: 0.2;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.dialog-top {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 35px;
  margin-bottom: 11px;
}
.dialog-handle {
  position: absolute;
  width: 32px;
  height: 4px;
  background: var(--line);
  border-radius: 5px;
  left: calc(50% - 16px);
  top: 5px;
}
.dialog-top .icon-button {
  width: 32px;
  height: 32px;
  min-height: 32px;
  background: var(--raised);
}
.dialog-top .icon {
  width: 17px;
  height: 17px;
}
dialog h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
dialog > p,
dialog form > p {
  font-size: 12px;
}
dialog .button {
  width: 100%;
  margin-top: 14px;
}
.checkout-detail {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  border-radius: 18px;
  background: var(--raised);
  padding: 17px;
  margin: 20px 0 12px;
  font-size: 13px;
}
.checkout-detail > span {
  min-width: 0;
}
.checkout-detail strong {
  font-size: 18px;
  white-space: nowrap;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 18px;
  margin-bottom: 15px;
}
.payment-option > .icon {
  color: var(--accent);
  width: 24px;
  height: 24px;
}
.payment-option > div {
  flex: 1;
  min-width: 0;
}
.payment-option strong {
  font-size: 12px;
}
.payment-option p {
  font-size: 12px;
  margin-top: 3px;
}
.selection-dot {
  display: block;
  width: 16px;
  height: 16px;
  border: 4px solid var(--accent);
  background: var(--button-text);
  border-radius: 50%;
  flex-shrink: 0;
}
.checkout-preview {
  padding: 12px;
  background: var(--raised);
  border-radius: 13px;
  margin-bottom: 15px;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 8px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.consent-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
  margin: 1px 0 0;
}
.consent-label a {
  color: var(--accent);
  text-underline-offset: 3px;
}
.form-error {
  color: var(--red);
  font-size: 12px;
  line-height: 1.6;
  padding-top: 11px;
}
.dialog-footnote {
  margin-top: 12px;
  text-align: center;
}
#consent-help {
  font-size: 12px;
}
.device-rate {
  margin-top: 15px;
  padding: 12px 14px;
  background: var(--raised);
  border-radius: 14px;
}
.device-stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.device-stepper label {
  font-size: 12px;
  font-weight: 550;
}
.device-stepper > div {
  display: flex;
  align-items: center;
  background: var(--raised);
  padding: 5px;
  border-radius: 16px;
}
.device-stepper button {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 23px;
  line-height: 1;
  background: var(--surface);
}
.device-stepper input {
  appearance: textfield;
  -moz-appearance: textfield;
  width: 42px;
  padding: 5px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 17px;
}
.device-stepper input::-webkit-inner-spin-button,
.device-stepper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#device-availability {
  margin-top: 10px;
}
.device-period-note {
  margin-top: 18px;
  line-height: 1.7;
}
.device-quote {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 20px;
}
.device-quote dl {
  margin: 0;
}
.device-quote dl > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 7px 0;
}
.device-quote dt {
  font-size: 12px;
  color: var(--muted);
}
.device-quote dd {
  font-size: 12px;
  font-weight: 550;
  margin: 0;
  text-align: right;
}
.device-quote .quote-price-row {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 15px;
}
.quote-price-row dd {
  font-size: 18px;
}
#device-quote-valid {
  margin-top: 8px;
}
#device-payment-note {
  margin-top: 11px;
}
#device-error {
  margin-top: 6px;
}
.support-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
}
.support-toolbar .text-button {
  font-size: 12px;
}
.support-tickets {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
}
.support-ticket {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  width: 100%;
  padding: 14px;
  background: var(--raised);
  border-radius: 16px;
  text-align: left;
}
.support-ticket strong {
  font-size: 12px;
}
.support-ticket p {
  grid-column: 1/-1;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.support-ticket small {
  color: var(--quiet);
  font-size: 12px;
}
.ticket-status {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 7px;
  border-radius: 8px;
  line-height: 1.3;
}
.support-thread-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 15px 0;
}
.support-thread-heading h3 {
  font-size: 13px;
}
.support-messages {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  max-height: 38dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}
.support-message {
  padding: 13px;
  background: var(--raised);
  border-radius: 15px 15px 15px 5px;
  max-width: 94%;
}
.support-message.admin {
  margin-left: auto;
  border-radius: 15px 15px 5px 15px;
  background: var(--accent-soft);
}
.support-message strong {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
  color: var(--accent);
}
.support-message p {
  font-size: 12px;
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.support-message time,
.support-message small {
  display: block;
  color: var(--quiet);
  font-size: 12px;
  margin-top: 6px;
}
.textarea-label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin: 18px 0 9px;
}
textarea {
  display: block;
  width: 100%;
  min-height: 106px;
  resize: vertical;
  padding: 14px;
  background: var(--raised);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
  line-height: 1.65;
  border-radius: 15px;
}
textarea::placeholder {
  color: var(--quiet);
}
#support-help {
  margin-top: 8px;
  font-size: 12px;
}
.support-success {
  padding: 12px 14px;
  background: var(--accent-soft);
  color: var(--text);
  border-radius: 13px;
  margin-top: 13px;
  font-size: 12px;
}
#support-loading {
  margin: 14px 0;
}
#support-status-action {
  color: var(--quiet);
  font-size: 12px;
}
.subscription-qr {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  background: #fff;
  padding: 16px;
  border-radius: 20px;
  margin: 24px auto 16px;
  display: grid;
  place-items: center;
}
.subscription-qr svg {
  display: block;
  width: 100%;
  height: auto;
}
.qr-url {
  font-size: 12px;
  margin-bottom: 14px;
}
#subscription-qr-dialog > p {
  line-height: 1.7;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(104px + var(--safe-bottom));
  transform: translateX(-50%);
  z-index: 50;
  width: max-content;
  max-width: calc(100% - 36px);
  padding: 14px 19px;
  border-radius: 20px;
  color: var(--text);
  background: var(--raised);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px #0002;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
@media (min-width: 620px) {
  .app-shell {
    padding-top: 18px;
  }
  .page-heading h1 {
    font-size: 31px;
  }
  .access-hero h2 {
    font-size: 29px;
    max-width: 21ch;
  }
  .hero-benefits {
    font-size: 13px;
  }
  .hero-actions .button {
    min-height: 49px;
    font-size: 13px;
  }
  .content-card {
    padding: 25px;
  }
  .overview-two {
    gap: 12px;
  }
  .bottom-nav {
    padding-bottom: 14px;
  }
  .bottom-nav a {
    font-size: 12px;
  }
  .feature-card {
    padding: 27px;
  }
  .selected-plan-top h2 {
    font-size: 26px;
  }
}
@media (max-width: 360px) {
  .header-inner {
    padding: 0 15px;
    height: 60px;
  }
  .app-shell {
    padding: 6px 15px calc(104px + var(--safe-bottom));
  }
  .brand {
    font-size: 13px;
    gap: 7px;
  }
  .header-actions {
    gap: 2px;
  }
  .header-actions .avatar {
    width: 32px;
  }
  .theme-toggle {
    width: 35px;
    height: 35px;
    min-height: 35px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .feature-card {
    padding: 20px;
    border-radius: 27px;
  }
  .access-hero h2 {
    font-size: 23px;
  }
  .hero-benefits {
    font-size: 12px;
  }
  .hero-actions {
    gap: 6px;
  }
  .hero-actions .button {
    padding: 11px 9px;
    font-size: 12px;
  }
  .content-card {
    padding: 19px;
    border-radius: 24px;
  }
  .usage-overview {
    gap: 14px;
    padding: 18px;
  }
  .usage-gauge {
    width: 92px;
    height: 92px;
  }
  .usage-gauge strong {
    font-size: 22px;
  }
  .usage-description p {
    font-size: 12px;
  }
  .metric-tile {
    padding: 15px;
  }
  .metric-tile strong {
    font-size: 21px;
  }
  .metric-tile #overview-expiry-value {
    font-size: 16px;
  }
  .overview-two {
    gap: 8px;
  }
  .account-summary {
    padding: 10px;
  }
  .account-monogram {
    width: 60px;
    height: 60px;
  }
  .dashboard-identity h3 {
    font-size: 16px;
  }
  .capacity-slots {
    gap: 6px;
  }
  .capacity-slots li {
    min-height: 52px;
    border-radius: 12px;
  }
  .capacity-slots .icon {
    width: 23px;
    height: 23px;
  }
  .slot-number {
    font-size: 12px;
  }
  .quick-actions > a,
  .quick-actions > button,
  .menu-row {
    padding: 15px 17px;
    gap: 10px;
  }
  .quick-actions small,
  .menu-row small {
    font-size: 12px;
  }
  .theme-preview {
    height: 82px;
    padding: 11px 9px;
  }
  .theme-preview > span {
    height: 29px;
    margin-top: 8px;
    padding: 7px;
  }
  .theme-choice-label {
    font-size: 12px;
    gap: 5px;
  }
  .selected-plan-top h2 {
    font-size: 22px;
  }
  .featured-price strong {
    font-size: 28px;
  }
  .plan-benefits {
    font-size: 12px;
  }
  .referral-reward h2 {
    font-size: 23px;
  }
  .referral-stats strong {
    font-size: 27px;
  }
  .referral-stats span {
    font-size: 12px;
  }
  .wallet-card .section-heading {
    gap: 7px;
  }
  .wallet-card h2 {
    font-size: 13px;
  }
  .bottom-nav {
    padding-left: 10px;
    padding-right: 10px;
  }
  .bottom-nav a {
    font-size: 8px;
  }
  dialog {
    width: calc(100% - 20px);
    padding: 16px 19px 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.account-id-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-height: 44px;
  padding: 8px;
  border-radius: 11px;
  background: #180d2c;
  color: #e1cff7;
  font-size: 13px;
  font-weight: 550;
  text-align: left;
  margin-top: 0;
}
.account-id-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-id-copy .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.copy-success {
  animation: copy-confirm 0.18s ease-out;
}
@keyframes copy-confirm {
  from {
    transform: scale(0.9);
    opacity: 0.4;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.is-refreshing .icon {
  animation: spin 0.18s ease-out;
}
.toast[data-tone="success"]::before {
  content: "✓";
  color: var(--green);
  margin-right: 8px;
  font-weight: 650;
}

.hero-countdown {
  display: none;
  align-items: baseline;
  gap: 9px;
  margin: 19px 0 18px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.remaining-number {
  font-size: 76px;
  font-weight: 700;
  letter-spacing: -3px;
}
.remaining-unit {
  font-size: 25px;
  font-weight: 600;
}
.remaining-detail {
  font-size: 15px;
  color: var(--hero-muted);
}
.hero-chips {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 23px;
}
.hero-chips > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--hero-muted);
  font-size: 12px;
}
.hero-chips .icon {
  width: 14px;
  height: 14px;
}
#screen-home[data-access="active"] .hero-countdown,
#screen-home[data-access="active"] .hero-chips {
  display: flex;
}
#screen-home[data-access="active"] .hero-benefits,
#screen-home[data-access="active"] .access-hero > p {
  display: none;
}
#screen-home[data-access="active"] .access-hero h2 {
  font-size: 22px;
}
#screen-home[data-access="active"] .card-heading {
  margin-bottom: 24px;
}
#screen-home[data-access="active"] .hero-actions {
  margin-top: 15px;
}
.personal-url {
  display: block;
  margin: 14px 0 0;
  padding: 13px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  background: var(--raised);
  color: var(--muted);
  user-select: all;
}
@media (max-width: 360px) {
  .remaining-number {
    font-size: 64px;
  }
  .remaining-unit {
    font-size: 21px;
  }
  .hero-chips > span {
    font-size: 12px;
  }
}

.plan-saving {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f5d9ff;
  margin-top: 0;
  font-size: 13px;
  font-weight: 700;
  color: #401568;
  white-space: nowrap;
}
.plan-saving:focus-visible {
  outline-color: #fff;
}
.plan-saving-description {
  padding: 11px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.feature-card {
  border: 1px solid #ffffff15;
}
.hero-benefits li {
  padding: 7px 9px;
  border-radius: 12px;
  background: #ffffff0d;
  font-size: 12px;
}
.hero-benefits li:last-child {
  flex-basis: 100%;
  width: max-content;
}
.plan-tab-price {
  display: block;
  margin-top: 7px;
  font-size: 17px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.plan-tab-title {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.3;
}
.plan-device-picker {
  padding-top: 15px;
  margin: 0 0 18px;
  border-top: 1px solid #ffffff2b;
}
.plan-device-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hero-text);
}
.plan-device-heading strong {
  font-size: 13px;
  font-weight: 600;
}
.plan-device-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.plan-device-options[data-options="6"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.plan-device-option {
  min-width: 0;
  min-height: 44px;
  border: 1px solid #ffffff35;
  border-radius: 11px;
  color: var(--hero-text);
  background: #ffffff10;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: transform 140ms ease-out;
}
.plan-device-option[aria-pressed="true"] {
  border-color: var(--hero-text);
  color: var(--hero);
  background: var(--hero-text);
}
.plan-device-option:focus-visible {
  outline: 2px solid var(--hero-text);
  outline-offset: 2px;
}
.plan-device-option:active {
  transform: scale(0.95);
}
.plan-device-picker p {
  margin-top: 10px;
  color: var(--hero-muted);
  font-size: 13px;
  line-height: 1.5;
}
.checkout-breakdown {
  margin: -3px 0 18px;
  font-size: 12px;
  color: var(--muted);
}
.checkout-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 0;
}
.checkout-breakdown > [hidden] {
  display: none;
}
.checkout-breakdown dd {
  margin: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .plan-device-option {
    transition: none;
  }
}
.period-tabs .plan-card[aria-pressed="true"] .plan-tab-price {
  color: var(--accent);
}
.plan-saving:empty {
  display: none;
}
.featured-price [data-currency="XTR"] {
  font-size: 36px;
}
.selected-plan-card #choose-plan {
  margin-top: 10px;
  min-height: 50px;
  font-size: 15px;
}
.payment-info > summary,
.setup-card > summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  margin: 0;
  min-height: 28px;
}
.payment-info > summary h2,
.setup-card > summary h2 {
  font-size: 14px;
}
.payment-info[open] > summary,
.setup-card[open] > summary {
  margin-bottom: 17px;
}
.payment-info[open] > summary .chevron,
.setup-card[open] > summary .chevron {
  transform: rotate(90deg);
}
.payment-info > p {
  margin-top: 12px;
}
.bottom-nav a:active .icon {
  transform: scale(0.86) rotate(-6deg);
}
.capacity-slots li {
  transition: transform 0.18s ease-out;
}
.capacity-slots li:active {
  transform: translateY(-3px);
}
.brand:active .brand-mark {
  transform: rotate(-7deg) scale(0.94);
}
.brand-mark {
  transition: transform 0.18s ease-out;
}
.button:active {
  transform: scale(0.97);
}
.gauge-fill {
  transition: stroke-dashoffset 0.42s ease-out;
}
@media (max-width: 360px) {
  .selected-plan-card .featured-price strong {
    font-size: 46px;
    min-height: 52px;
  }
  .selected-plan-card .featured-price [data-currency="XTR"] {
    font-size: 38px;
  }
  .plan-benefits li {
    padding: 8px 7px;
    gap: 6px;
    font-size: 13px;
    flex-direction: column;
    align-items: flex-start;
  }
  .plan-benefits .icon {
    width: 15px;
    height: 15px;
  }
  .plan-tab-price {
    font-size: 16px;
  }
}

.button {
  position: relative;
  overflow: hidden;
}
.button::after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  left: calc(50% - 22.5px);
  top: calc(50% - 22.5px);
  background: #fff;
  opacity: 0;
  transform: scale(0);
}
.button:active::after {
  animation: tap-wave 0.4s ease-out;
  will-change: transform, opacity;
}
@keyframes tap-wave {
  from {
    transform: scale(0);
    opacity: 0.2;
  }
  to {
    transform: scale(7);
    opacity: 0;
  }
}

::view-transition-group(root) {
  animation: none;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-old(root) {
  z-index: 1;
}
::view-transition-new(root) {
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .gauge-fill {
    transition: none;
  }
  .button:active::after {
    animation: none;
  }
}

/* These layers exist only for the short theme transition. */
::view-transition-image-pair(root) {
  isolation: auto;
}
::view-transition-new(root) {
  will-change: clip-path;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.plan-period {
  color: var(--hero-muted);
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}
.selected-plan-top {
  align-items: center;
  margin-bottom: 25px;
}
.plan-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
}
.plan-value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: 2px 0 2px 17px;
  border-left: 1px solid #ffffff38;
  min-height: 64px;
}
.plan-value > span:first-child {
  color: var(--hero-muted);
  font-size: 14px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hero-note:empty {
  display: none;
}
@media (max-width: 360px) {
  .plan-price-row {
    gap: 10px;
  }
  .plan-value {
    padding-left: 11px;
    min-height: 54px;
  }
  .plan-value > span:first-child {
    font-size: 13px;
  }
  .plan-period {
    font-size: 13px;
  }
  .plan-price-row .featured-price strong {
    font-size: 42px;
    min-height: 48px;
  }
  .plan-price-row .featured-price [data-currency="XTR"] {
    font-size: 29px;
    letter-spacing: -1px;
  }
}

/* Compact payment method sheet;
  shared theme tokens keep both themes legible. */
.payment-method-list {
  display:grid;
  gap:10px;
  margin:24px 0;
 
}

.payment-method-choice {
  display:grid;
  grid-template-columns:32px minmax(0,1fr) auto 12px;
  gap:12px;
  align-items:center;
  width:100%;
  min-height:76px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--surface);
  color:var(--text);
  text-align:left;
  cursor:pointer;
  transition:background-color .16s, border-color .16s;
 
}

.payment-method-choice > span:first-of-type {
  display:grid;
  gap:4px;
 
}

.payment-method-choice strong {
  font-size:16px;
  font-weight:650;
 
}

.payment-method-choice small {
  font-size:13px;
  color:var(--muted);
 
}

.payment-method-choice b {
  font-size:15px;
  white-space:nowrap;
 
}

.payment-method-choice:hover, .payment-method-choice:focus-visible {
  border-color:var(--accent);
 
}

.payment-method-choice:active {
  opacity:.8;
 
}

@media (max-width:360px) {
  .payment-method-choice {
  gap:8px;
  padding:12px;
 
}
 .payment-method-choice b {
  font-size:13px;
 
}

}


.payment-methods-consent { margin:0 0 12px; color:var(--muted); font-size:13px; line-height:1.5; }
#payment-methods-open-bot { margin:12px 0; }
#payment-methods-status:empty { display:none; }

.payment-method-choice:active { transform: scale(.985); }
dialog[open] .payment-method-choice {
  animation: payment-method-arrive .2s cubic-bezier(.2, .8, .2, 1) backwards;
}
dialog[open] .payment-method-choice:nth-child(2) { animation-delay: .035s; }
dialog[open] .payment-method-choice:nth-child(3) { animation-delay: .07s; }
@keyframes payment-method-arrive {
  from { opacity: .65; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .account-summary:not([hidden]),
  .bottom-nav a[aria-current="page"] .icon,
  dialog[open] .payment-method-choice {
    animation: none;
  }
  .payment-method-choice:active { transform: none; }
}
