:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --ink: #12182b;
  --ink-soft: #3c4a63;
  --muted: #617089;
  --line: #e3e9f3;
  --line-strong: #d3dced;
  --brand: #0000f6;
  --brand-dark: #0000c4;
  --brand-soft: #ececff;
  --ok: #0f7a4a;
  --ok-bg: #e8f6ee;
  --warn: #8a5a10;
  --danger: #b42318;
  --shadow: 0 12px 32px rgba(22, 48, 110, 0.05);
  --shadow-lg: 0 24px 60px rgba(16, 32, 72, 0.14);
  --header-h: 64px;
  --font: Inter, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "WenQuanYi Micro Hei", system-ui, sans-serif;
  color-scheme: light;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(880px 380px at 88% -8%, rgba(0, 0, 246, 0.08), transparent 58%),
    var(--bg);
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: break-word;
}
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3, .faq summary, .redeem-hit, .pay-summary {
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.015em;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
  hanging-punctuation: allow-end;
  text-wrap: pretty;
  text-wrap: balance;
}
p,
li,
.hint,
.muted,
.hero-note,
.product .desc,
.tiers span,
.plan small,
.split p,
.trust p,
.step p,
.section-head p,
.upgrade-result,
.payment-note,
.faq details p,
.footer-tagline,
.footer-bottom,
.footer-legal {
  word-break: normal;
  line-break: strict;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  max-width: none;
}
.phrase,
.nowrap {
  display: inline-block;
  white-space: nowrap;
}
.latin { white-space: nowrap; }
.sep {
  display: inline-block;
  margin-inline: 0.32em;
  font-weight: 400;
}
.hero h1 .br-sm { display: none; }
ul { padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button, a, summary, .check { touch-action: manipulation; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button svg, a svg { flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #8eafff; outline-offset: 3px; }

.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;
}
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { top: 8px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}
@media (min-width: 768px) { .wrap { width: min(1120px, calc(100% - 48px)); } }
@media (min-width: 1280px) { .wrap { width: min(1180px, calc(100% - 64px)); } }
@media (min-width: 1440px) { .wrap { width: min(1240px, calc(100% - 96px)); } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: env(safe-area-inset-top);
  background: rgba(245, 248, 252, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(227, 233, 243, 0.9);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}
.logo { width: 32px; height: 32px; display: block; flex: none; object-fit: contain; }
.footer-brandline { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.footer-brandline .logo { width: 28px; height: 28px; }
.footer-brandline .footer-brand { margin-bottom: 0; }
.brand strong {
  display: block;
  font-size: 18px;
  font-weight: 620;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.16em;
}
.site-nav { display: flex; align-items: center; gap: 16px; }
.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--brand);
}
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.demo-pill, .agent-launch, .support-launch {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #c9d7fb;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease;
}
.agent-launch[aria-expanded="true"], .agent-launch:hover, .support-launch:hover { background: var(--brand-soft); border-color: #9db6f5; }
.support-long { display: none; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.bars { display: flex; flex-direction: column; gap: 5px; }
.bars i {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle.is-open .bars i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open .bars i:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .bars i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.noscript { margin: 0; padding: 12px 16px; text-align: center; background: #fff6e6; color: #6b4a10; }

.page { padding: 8px 0 12px; }
.subpage {
  width: min(680px, 100%);
  margin-inline: auto;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: 12px;
}
.subpage .section-head { margin-bottom: 32px; }
.subpage .query-row { gap: 12px; align-items: stretch; }
.subpage .field {
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
}
.subpage .query-row .btn { min-height: 54px; padding-inline: 22px; flex: none; }
.subpage .warn { margin-top: 16px; }
#order-results, #redeem-result { margin-top: 36px; }
#order-results:empty, #redeem-result:empty { margin-top: 0; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  align-items: center;
  gap: 28px;
  padding: 36px 0 12px;
}
.hero-copy { container-type: inline-size; min-width: 0; }
.eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.hero h1 {
  max-width: 14em;
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(28px, 4.6vw, 56px);
  font-size: clamp(28px, 8cqi, 56px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}
.hero h1 .line { display: block; text-wrap: wrap; }
.hero h1 .accent { color: var(--brand); }
@container (max-width: 430px) {
  .hero h1 { font-size: clamp(32px, 9.4cqi, 40px); }
  .hero h1 .br-sm { display: inline; }
  .hero h1 .sep,
  .hero h1 .comma { display: none; }
}
@supports not (container-type: inline-size) {
  @media (max-width: 480px) {
    .hero h1 { font-size: 32px; }
    .hero h1 .br-sm { display: inline; }
    .hero h1 .sep,
    .hero h1 .comma { display: none; }
  }
}
.hero-lead {
  max-width: 38em;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 26px; }
.hero-stage { display: grid; justify-items: center; min-width: 0; }
#hero-orbit { width: min(340px, 100%); aspect-ratio: 1; display: block; }

.notice {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin: 8px 0 36px;
  padding: 14px 0;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.notice strong { color: var(--brand-dark); font-weight: 600; white-space: nowrap; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
#page-shop .section-head { margin-bottom: 2px; }
.section-head h1, .section-head h2 {
  max-width: 12em;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.28;
}
.section-head p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
#catalog { scroll-margin-top: calc(var(--header-h) + 16px); }

.filters { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-bottom: 18px; }
.filters button {
  min-height: 44px;
  padding: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
}
.filters button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--brand); }

.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 22px 22px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.kicker {
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.product h3 {
  margin-top: 10px;
  font-size: clamp(24px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.product .desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  text-wrap: pretty;
}
.tiers { list-style: none; margin: 16px 0 0; }
.tiers li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.tiers li > div { flex: 1; min-width: 0; }
.tiers strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.tiers span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.tiers span.latin,
.tiers span.nowrap { display: inline-block; margin-top: 0; white-space: nowrap; }
.tiers b { font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.product-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 8px;
}
.price { display: flex; flex-direction: column; gap: 2px; }
.price .from { color: var(--muted); font-size: 11px; letter-spacing: 0.04em; }
.price strong { font-size: 22px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.price small { margin-left: 3px; color: var(--muted); font-size: 12px; font-weight: 500; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 550;
}
.text-link svg { width: 16px; height: 16px; transition: transform 160ms ease; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: 22px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn.secondary { background: #fff; color: var(--brand-dark); border-color: #b9caf8; }
.btn.wide { width: 100%; margin-top: 10px; }
button:disabled, .btn:disabled { opacity: 0.5; }

.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 36px;
  border-block: 1px solid var(--line);
}
.trust article { padding: 22px 18px 22px 0; }
.trust article + article { padding-left: 18px; border-left: 1px solid var(--line); }
.trust h3 { margin-top: 8px; font-size: 16px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.4; }
.trust p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 18px; margin-top: 28px; }
.split h2 {
  max-width: 16em;
  margin-top: 8px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
}
.split p { margin-top: 10px; color: var(--muted); line-height: 1.75; }
.upgrade-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.upgrade-result { color: var(--ink); font-weight: 550; }
select.field { appearance: none; }
.progress { display: flex; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.progress li {
  flex: 1;
  padding-top: 8px;
  border-top: 2px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.progress .is-done, .progress .is-current { border-top-color: var(--brand); color: var(--ink); }
.progress .is-current { font-weight: 600; }
.redeem-hit { margin: 16px 0 8px; font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: 0.01em; }
.pay-summary { font-size: 16px; font-weight: 600; line-height: 1.45; letter-spacing: 0.01em; }
.step { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.step h3 { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.4; }
.step p { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.step-no {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #c5d4fb;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow);
}
.muted { color: var(--muted); }
.hint { margin-top: 12px; font-size: 13px; line-height: 1.7; }
.warn { margin-top: 8px; color: var(--danger); font-size: 13px; }
.query-row { display: flex; gap: 10px; }
.query-row .field { flex: 1; }
.field, .agent-input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
}
.field:focus, .agent-input:focus { outline: 3px solid #8eafff; outline-offset: 1px; }
.empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 28px 8px 8px;
}
.empty p { margin: 0; }
.empty-mark { color: #8ea0b8; }
.subpage .help-actions { margin-top: 32px; }

.order { padding: 18px 0; border-bottom: 1px solid var(--line); }
.order:first-child { padding-top: 6px; }
.order:last-child { border-bottom: 0; padding-bottom: 0; }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.order h3 { font-size: 17px; font-weight: 600; letter-spacing: 0.01em; line-height: 1.4; }
.order-meta { margin-top: 4px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.status {
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
.status.done { background: var(--ok-bg); color: var(--ok); }
.order-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.delivery, .payment-note {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #d9e3f8;
  border-radius: 10px;
  background: #f7f9ff;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.delivery strong { display: block; margin-bottom: 4px; color: var(--warn); font-weight: 600; }
.delivery p { white-space: pre-wrap; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.02em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.help-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }

.site-footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px 64px;
}
.footer-brandblock { min-width: 0; }
.footer-brand { display: block; color: var(--ink); font-size: 16px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.3; }
.footer-tagline { margin: 8px 0 0; line-height: 1.6; }
.footer-groups { display: flex; gap: 56px; }
.footer-groups nav { display: flex; flex-direction: column; align-items: flex-start; min-width: 7.5em; }
.footer-label {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
}
.footer-groups a, .footer-groups button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 28px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  padding-bottom: calc(22px + env(safe-area-inset-bottom));
}
.footer-legal { margin: 0; text-align: right; line-height: 1.6; }
.support-id {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 14px;
}
.support-id span { color: var(--muted); font-size: 13px; }
.support-id strong { color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: 0.03em; }

dialog {
  width: min(560px, calc(100% - 24px));
  max-height: min(96vh, 880px);
  max-height: min(96dvh, 880px);
  padding: 0;
  border: 0;
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
#checkout .modal-head { flex: none; }
dialog::backdrop { background: rgba(14, 22, 44, 0.46); }
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 14px 16px 22px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  min-width: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.015em;
}
.close, .agent-close {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--bg);
  font-size: 22px;
  line-height: 1;
}
.modal-body {
  overflow: auto;
  overscroll-behavior: contain;
  max-height: calc(96dvh - 68px);
  padding: 18px 22px 20px;
}
.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.modal-foot { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.label { display: block; margin: 12px 0 6px; font-size: 13px; font-weight: 600; }
.label small { color: var(--muted); font-weight: 500; }
.plan-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name price" "period price";
  align-items: center;
  column-gap: 10px;
  width: 100%;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease;
}
.plan strong { grid-area: name; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.plan small { grid-area: period; color: var(--muted); }
.plan b { grid-area: price; font-size: 16px; font-weight: 600; color: var(--brand); letter-spacing: -0.03em; }
.plan[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); }
.qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.qty .label { margin: 0; }
.qty-ctrl { display: flex; align-items: center; gap: 8px; }
.qty-ctrl button {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 18px;
}
output { display: inline-block; min-width: 1.5ch; text-align: center; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 8px; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 8px; }
.total small { color: var(--muted); }
.total strong { font-size: 28px; font-weight: 600; color: var(--brand); letter-spacing: -0.04em; }
.error { min-height: 0; margin: 6px 0 0; color: var(--danger); font-size: 13px; }
.error:empty { margin: 0; }
.payment-price {
  margin: 6px 0;
  text-align: center;
  color: var(--brand);
  font-size: clamp(30px, 8vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
}
.pay-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.pay-choices button {
  min-height: 48px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 550;
  transition: border-color 160ms ease, background 160ms ease;
}
.pay-choices button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.success {
  width: 52px;
  height: 52px;
  margin: 4px auto 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok);
}
.center { text-align: center; }
.center.muted { margin-top: 8px; }

.toast {
  position: fixed;
  z-index: 80;
  top: calc(var(--header-h) + 12px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(420px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: 10px;
  background: #172033;
  color: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  text-align: center;
}

.agent-panel {
  position: fixed;
  z-index: 50;
  top: calc(var(--header-h) + env(safe-area-inset-top) + 12px);
  right: 16px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  width: min(400px, calc(100% - 32px));
  height: min(680px, calc(100dvh - var(--header-h) - env(safe-area-inset-top) - 28px));
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.agent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.agent-head strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.agent-head small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.agent-feed { overflow: auto; overscroll-behavior: contain; padding: 14px; background: #f7f9fd; }
.msg {
  max-width: 92%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px 12px 12px 4px;
  background: #fff;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.msg.user { margin-left: auto; background: var(--brand-soft); border-color: #d5e2ff; border-radius: 12px 12px 4px 12px; }
.agent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.agent-actions button, .agent-quick button {
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #d5e0f8;
  background: #fff;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 550;
}
.agent-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px 0; }
.agent-quick button { background: var(--brand-soft); border-color: transparent; }
.agent-form { display: flex; gap: 8px; padding: 10px 12px 0; }
.agent-form .send { flex: none; padding-inline: 14px; }
.ticket {
  width: 100%;
  min-height: 160px;
  margin-bottom: 10px;
  resize: vertical;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.6;
}

.reveal-ready [data-reveal].will-rise:not(.is-revealed) { opacity: 0; transform: translateY(10px); }
.reveal-ready [data-reveal].will-rise.is-revealed { animation: rise 480ms ease both; animation-delay: var(--rise, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes menu-enter { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.motion-enabled .hero-copy { animation: rise 680ms ease both; }
.motion-enabled .hero-stage { animation: rise 860ms ease 90ms both; }
.motion-enabled dialog[open] { animation: dialog-in 220ms ease-out; }
.motion-enabled dialog[open]::backdrop { animation: fade-in 200ms ease; }
.motion-enabled .site-nav.is-open { animation: menu-enter 200ms ease-out; }

@media (hover: hover) and (pointer: fine) {
  .product { transition: border-color 160ms ease, box-shadow 160ms ease; }
  .product:hover { border-color: #c9d6f2; box-shadow: 0 16px 36px rgba(22, 48, 110, 0.07); }
  .text-link:hover { color: var(--brand); }
  .text-link:hover svg { transform: translateX(2px); }
  .btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
  .btn.secondary:hover { background: var(--brand-soft); }
  .site-nav a:hover, .footer-groups a:hover, .footer-groups button:hover { color: var(--ink); }
  .filters button:hover { color: var(--ink); }
}

@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

@media (max-width: 879px) {
  .hero { grid-template-columns: 1fr; gap: 0; padding-top: 22px; }
  .hero-stage { display: none; }
}
@media (max-width: 1100px) {
  .steps, .trust { grid-template-columns: 1fr 1fr; }
  .trust article:nth-child(odd) { padding-left: 0; border-left: 0; }
  .trust article:nth-child(3), .trust article:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 800px) {
  .split, .upgrade-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 20px; }
  .footer-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-legal { text-align: left; }
  .steps { gap: 18px; }
}
@media (max-width: 719px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 16px 14px;
    background: rgba(251, 252, 254, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(21, 40, 80, 0.06);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
  }
  .site-nav a[aria-current="page"] { background: var(--brand-soft); }
  .section-head { flex-direction: column; align-items: stretch; }
  .order-head { flex-direction: column; }
  .agent-panel {
    top: calc(var(--header-h) + env(safe-area-inset-top) + 8px);
    right: 8px;
    left: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    width: auto;
    height: auto;
  }
}
@media (min-width: 720px) {
  .support-short { display: none; }
  .support-long { display: inline; }
}
@media (max-width: 640px) {
  .trust article { padding: 16px 14px 16px 0; }
  .trust article + article { padding-left: 14px; }
  .steps { gap: 14px 16px; }
}
@media (max-width: 520px) {
  .subpage .query-row { flex-direction: column; }
  .subpage .query-row .btn { width: 100%; }
  .plan-list, .pay-choices { grid-template-columns: 1fr; }
  .modal-body { padding: 16px; }
  dialog { width: calc(100% - 16px); }
  .product { padding: 18px 16px 14px; }
  .product h3 { font-size: 24px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 24px); }
  .brand small { display: none; }
  .logo { width: 28px; height: 28px; }
}
@media (max-width: 640px) {
  .field, .agent-input, .ticket { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-ready [data-reveal].will-rise:not(.is-revealed) { opacity: 1; transform: none; }
}


/* Support chat: conversation, process and permission cards */
#support-agent .agent-launch {
  position: fixed; z-index: 49; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom));
  min-height: 48px; gap: 9px; padding: 5px 17px 5px 7px; border: 0; border-radius: 999px;
  background: #182be3; color: #fff; box-shadow: 0 9px 26px rgba(25, 41, 152, .24);
  font-size: 13px; font-weight: 600; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
#support-agent .agent-launch:hover { color: #fff; background: #1022cb; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(25, 41, 152, .3); }
#support-agent .agent-launch[aria-expanded="true"] { visibility: hidden; }
.agent-launch-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 17px; }
.agent-panel {
  top: auto; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom));
  width: min(420px, calc(100% - 32px)); height: min(690px, calc(100dvh - 48px - env(safe-area-inset-bottom)));
  border: 1px solid #e0e7f2; border-radius: 20px; background: #fff;
  box-shadow: 0 24px 70px rgba(21, 36, 80, .18), 0 3px 12px rgba(21, 36, 80, .06);
}
.agent-head { padding: 16px 16px 15px; border-bottom: 1px solid #edf0f5; }
.agent-identity { min-width: 0; display: flex; align-items: center; gap: 10px; }
.agent-avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 1px solid #e8edfc; border-radius: 13px; background: #f2f4ff; }
.agent-avatar img { width: 23px; height: 23px; }
.agent-head strong { color: #18223a; font-size: 14px; font-weight: 650; letter-spacing: .01em; }
.agent-head small { display: flex; align-items: center; gap: 5px; margin-top: 3px; color: #8994a7; font-size: 11px; }
.agent-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #51bb8c; }
.agent-head-actions { display: flex; align-items: center; gap: 8px; }
.agent-human { flex: none; padding: 7px 9px; border-radius: 8px; color: #4355b4; font-size: 12px; white-space: nowrap; }
.agent-human:hover { background: #f2f4ff; }
.agent-head .agent-close { width: 32px; height: 32px; border-radius: 10px; color: #8290a5; background: #f5f7fa; font-size: 21px; line-height: 1; }
.agent-head .agent-close:hover { background: #eaf0f7; color: #34405a; }
.agent-feed { display: flex; flex-direction: column; min-height: 0; overflow: hidden; padding: 0; background: #fff; }
.agent-transcript { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 10px 19px 18px; scrollbar-width: thin; scrollbar-color: #d6ddea transparent; }
.agent-transcript::-webkit-scrollbar { width: 5px; }
.agent-transcript::-webkit-scrollbar-thumb { border-radius: 8px; background: #d6ddea; }
.agent-transcript .message.user { display: flex; justify-content: flex-end; margin: 18px 0 15px; }
.agent-transcript .message-bubble { max-width: 86%; padding: 9px 12px; border: 1px solid #dfe4ff; border-radius: 15px 15px 4px 15px; background: #f0f2ff; color: #273360; font-size: 13px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.agent-transcript .chat-run { margin: 13px 0 17px; color: #29354b; font-size: 13px; line-height: 1.75; }
.agent-transcript .chat-entry { margin: 10px 0; min-width: 0; }
.agent-transcript .chat-text { overflow-wrap: anywhere; }
.agent-transcript .chat-entry[data-phase="commentary"] .chat-text { color: #7a8799; font-size: 12px; line-height: 1.7; }
.agent-transcript .chat-process-summary { display: flex; align-items: center; min-height: 32px; margin: 0 0 12px; border-bottom: 1px solid #e9edf4; color: #9aa5b5; font-size: 11px; }
.agent-transcript .chat-process-toggle, .agent-transcript .chat-process-time { padding: 6px 0; color: #8c98a9; font-size: 11px; line-height: 1.5; }
.agent-transcript .chat-process-toggle { text-align: left; transition: color 160ms ease; }
.agent-transcript .chat-process-toggle:hover { color: #495abe; }
.agent-transcript .chat-outcome, .agent-error { color: #ad443d; font-size: 12px; line-height: 1.5; }
.agent-transcript .chat-tool-group { border: 0; border-radius: 0; background: transparent; color: #8190a3; font-size: 12px; }
.agent-transcript .chat-tool-group summary { display: flex; align-items: center; gap: 7px; cursor: pointer; padding: 3px 0; list-style: none; overflow-wrap: anywhere; }
.agent-transcript .chat-tool-group summary::-webkit-details-marker { display: none; }
.agent-transcript .chat-tool-group summary::before { content: '⌘'; display: grid; place-items: center; width: 19px; height: 19px; flex: none; border-radius: 6px; background: #f0f3fa; color: #8a98ad; font-size: 12px; }
.agent-transcript .chat-tool-group summary::after { content: '⌄'; color: #aab4c3; transition: transform 160ms ease; }
.agent-transcript .chat-tool-group:not([open]) summary::after { transform: rotate(-90deg); }
.agent-transcript .chat-tool-group summary:hover { color: #52617a; }
.agent-transcript .chat-tool-list { margin: 5px 0 2px 9px; padding: 2px 0 2px 15px; border-left: 1px solid #e6ebf2; }
.agent-transcript .chat-tool-row { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; }
.agent-transcript .chat-tool-row strong, .agent-transcript .chat-tool-row small { display: block; }
.agent-transcript .chat-tool-row strong { color: #66758a; font-size: 12px; font-weight: 500; }
.agent-transcript .chat-tool-row small, .agent-transcript .chat-tool-row > span { color: #9ba7b8; font-size: 11px; }
.agent-transcript .chat-tool-technical { overflow-wrap: anywhere; }
.agent-transcript .chat-pending, .agent-pending { display: flex; align-items: center; gap: 7px; margin: 12px 0; padding: 0; color: #91a0b2; font-size: 12px; line-height: 1.6; }
.agent-pending strong { font-weight: 400; background: linear-gradient(100deg, #9ca9ba 32%, #465a91 50%, #9ca9ba 68%); background-size: 300% 100%; background-clip: text; -webkit-background-clip: text; color: transparent; animation: agent-thinking-shimmer 2s linear infinite; }
.agent-pending small { display: none; }
@keyframes agent-thinking-shimmer { 0% { background-position: 100% 0; } 85%, 100% { background-position: 0 0; } }
.agent-approvals { max-height: 42%; overflow-y: auto; padding: 0 16px; }
.agent-approval { margin-bottom: 10px; padding: 13px; border: 1px solid #dce4f8; border-radius: 12px; background: #f9faff; font-size: 12px; line-height: 1.6; }
.agent-approval strong { display: block; color: #354466; font-size: 13px; overflow-wrap: anywhere; }
.agent-approval p { margin-top: 5px; color: #66758c; overflow-wrap: anywhere; }
.agent-approval .agent-approval-meta { color: #8b97a9; }
.agent-approval-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.agent-approval-actions button, .agent-file { min-height: 33px; padding: 5px 10px; border: 1px solid #d7dfff; border-radius: 8px; background: #eef1ff; color: #4354ad; font-size: 12px; }
.agent-approval-actions button.secondary { background: #fff; color: #768398; border-color: #e5eaf1; }
.agent-file { max-width: 100%; text-align: left; overflow-wrap: anywhere; }
.agent-error { margin: 0; padding: 4px 16px 10px; }
.agent-quick { gap: 6px; padding: 12px 16px 0; border-top: 1px solid #edf0f5; }
.agent-quick button { min-height: 30px; padding: 4px 10px; border: 1px solid #e8ecf3; border-radius: 8px; background: #f8f9fc; color: #738097; font-size: 11px; font-weight: 500; transition: color 160ms ease, background 160ms ease, border-color 160ms ease; }
.agent-quick button:hover { color: #4255bb; background: #f2f4ff; border-color: #dce3fb; }
.agent-form { align-items: center; gap: 8px; margin: 10px 16px 16px; padding: 5px 5px 5px 12px; border: 1px solid #dfe5ee; border-radius: 12px; background: #fff; transition: border-color 160ms ease, box-shadow 160ms ease; }
.agent-form:focus-within { border-color: #9eaeed; box-shadow: 0 0 0 3px #edf0ff; }
.agent-form .agent-input { min-width: 0; min-height: 32px; padding: 0; border: 0; outline: 0; background: transparent; font-size: 13px; }
.agent-form .agent-input:focus { outline: 0; }
.agent-form .agent-input::placeholder { color: #a3adbc; }
.agent-form .send { min-height: 32px; padding: 5px 13px; border: 0; border-radius: 8px; background: #263ad5; color: #fff; font-size: 12px; }
.agent-form .send:hover:not(:disabled) { background: #172bbc; }
/* Safe Markdown output, following the Studio chat reading flow. */
.agent-transcript .chat-text > :first-child { margin-top: 0; }
.agent-transcript .chat-text > :last-child { margin-bottom: 0; }
.agent-transcript .chat-text p { margin: 0 0 10px; }
.agent-transcript .chat-text strong { color: #1c2942; font-weight: 650; }
.agent-transcript .chat-text h1, .agent-transcript .chat-text h2, .agent-transcript .chat-text h3, .agent-transcript .chat-text h4 { margin: 13px 0 6px; color: #202d46; font-size: 14px; line-height: 1.5; }
.agent-transcript .chat-text ul, .agent-transcript .chat-text ol { margin: 6px 0 11px; padding-left: 20px; }
.agent-transcript .chat-text li { padding-left: 2px; margin: 3px 0; }
.agent-transcript .chat-text li p { margin: 0; }
.agent-transcript .chat-text a { color: #3d56c5; text-decoration: underline; text-decoration-color: #c3ccef; text-underline-offset: 3px; }
.agent-transcript .chat-text blockquote { margin: 10px 0; padding: 1px 0 1px 11px; border-left: 2px solid #c9d3ef; color: #78869a; }
.agent-transcript .chat-text code { padding: 2px 4px; border-radius: 4px; background: #f1f3f8; color: #4e5d77; font: .93em ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.agent-transcript .chat-text pre { margin: 10px 0; padding: 11px 12px; overflow-x: auto; border: 1px solid #e8edf5; border-radius: 9px; background: #f7f9fc; line-height: 1.6; }
.agent-transcript .chat-text pre code { padding: 0; background: transparent; white-space: pre; }
.agent-transcript .chat-text table { display: block; max-width: 100%; margin: 10px 0; overflow-x: auto; border-collapse: collapse; font-size: 12px; }
.agent-transcript .chat-text th, .agent-transcript .chat-text td { padding: 6px 9px; border: 1px solid #e6ebf3; text-align: left; }
.agent-transcript .chat-text th { background: #f7f9fc; }
.agent-transcript .chat-text hr { height: 1px; margin: 12px 0; border: 0; background: #e8edf4; }
.agent-transcript .chat-text img { max-width: 100%; border-radius: 8px; }
@media (max-width: 719px) {
  #support-agent .agent-launch { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  body.agent-page-locked { position: fixed; top: var(--agent-page-top); left: 0; right: 0; width: 100%; overflow: hidden; }
  .agent-panel {
    top: calc(var(--agent-viewport-top, 0px) + max(12px, var(--agent-viewport-height, 100dvh) - 702px - env(safe-area-inset-bottom)));
    left: calc(var(--agent-viewport-left, 0px) + 12px);
    right: auto;
    bottom: auto;
    width: calc(var(--agent-viewport-width, 100vw) - 24px);
    height: min(690px, calc(var(--agent-viewport-height, 100dvh) - 24px - env(safe-area-inset-bottom)));
  }
  .agent-form .agent-input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .agent-pending strong { animation: none; background: none; color: #91a0b2; }
  #support-agent .agent-launch, .agent-transcript .chat-tool-group summary::after { transition: none; }
}
.agent-form { align-items: flex-end; }
.agent-form .agent-input { flex: 1; resize: none; max-height: 104px; padding: 6px 0; line-height: 20px; overflow-y: auto; }
.agent-form .agent-mic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 8px; color: #8996aa; }
.agent-form .agent-mic:hover:not(:disabled) { background: #f2f4fb; color: #4355b4; }
.agent-form .agent-mic svg, .agent-form .send svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.agent-form .send { display: grid; place-items: center; flex: none; width: 34px; height: 34px; padding: 0; }
.agent-voice-draft { display: flex; align-items: center; gap: 8px; margin: 10px 16px 0; padding: 8px 10px; border: 1px solid #e3e9f6; border-radius: 10px; background: #f8faff; font-size: 12px; }
.agent-voice-cancel { width: 25px; height: 25px; border-radius: 7px; color: #8c99ac; font-size: 18px; }
.agent-voice-cancel:hover { background: #e9edf6; }
.agent-voice-status { display: flex; flex: 1; align-items: center; gap: 8px; min-width: 0; color: #74839a; }
.agent-wave { display: inline-flex; align-items: center; gap: 2px; height: 20px; }
.agent-wave i { width: 2px; height: 6px; border-radius: 3px; background: #6476d2; }
.agent-wave i:nth-child(2n) { height: 13px; }
.agent-wave i:nth-child(3n) { height: 18px; }
.agent-voice-draft.recording .agent-wave i { animation: agent-wave-pulse 850ms ease-in-out infinite alternate; }
.agent-voice-draft.recording .agent-wave i:nth-child(2n) { animation-delay: -450ms; }
@keyframes agent-wave-pulse { from { transform: scaleY(.45); opacity: .65; } to { transform: scaleY(1); opacity: 1; } }
.agent-voice-time { color: #96a3b5; font-size: 11px; font-variant-numeric: tabular-nums; }
.agent-voice-stop { padding: 5px 9px; border-radius: 7px; background: #e9edff; color: #4054be; font-size: 11px; }
.agent-voice-preview { flex: 1; min-width: 0; height: 32px; }
.agent-audio { display: inline-flex; margin: 4px 0; }
.agent-audio-play { padding: 7px 11px; border: 1px solid #dfe4ff; border-radius: 9px; background: #f0f2ff; color: #4b5bb5; font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .agent-voice-draft.recording .agent-wave i { animation: none; } }
@media (prefers-reduced-motion: no-preference) {
  .agent-transcript .chat-tool-group.is-running summary { background: linear-gradient(100deg, #92a0b2 32%, #4e6090 50%, #92a0b2 68%); background-size: 300% 100%; background-clip: text; -webkit-background-clip: text; color: transparent; animation: agent-thinking-shimmer 2s linear infinite; }
}

/* Customer account */
.account-trigger { max-width: 120px; min-height: 34px; padding: 0 11px; overflow: hidden; border: 1px solid #c9d7fb; border-radius: 999px; background: #fff; color: var(--brand-dark); font-size: 12px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.account-trigger:hover { background: var(--brand-soft); }
#account-dialog { width: min(420px, calc(100% - 24px)); }
.account-body { padding-bottom: 22px; }
.account-intro, .account-hint { color: var(--muted); font-size: 13px; line-height: 1.7; }
.account-tabs { display: flex; gap: 22px; margin-top: 18px; border-bottom: 1px solid var(--line); }
.account-tabs button { padding: 8px 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: 13px; }
.account-tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
#account-form .btn, #password-form .btn { margin-top: 18px; }
.account-hint { margin-top: 14px; font-size: 12px; }
.account-profile-card { display: flex; flex-direction: column; gap: 5px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #f8faff; }
.account-profile-card span { color: var(--muted); font-size: 12px; }
.account-profile-card strong { overflow-wrap: anywhere; font-size: 16px; }
.account-logout { width: 100%; margin-top: 12px; padding: 10px; color: var(--muted); font-size: 13px; }
.account-logout:hover { color: var(--danger); }
#account-error:not(:empty) { margin-top: 12px; }
@media (max-width: 380px) { .account-trigger { max-width: 86px; padding-inline: 8px; } .header-tools { gap: 5px; } }
