

/* ==========================================================================
   R60 · teal 遗留清零
   --------------------------------------------------------------------------
   原来这里硬编码了一整套 teal 色值（原 --brand: #0f766e 等），依赖文件末尾
   的「令牌消费层」把它整体覆盖掉。这是脆弱设计：只要 tokens.css 未加载、
   或消费层被删除，整站立刻退回青绿。

   现在源头直接消费令牌，且 fallback 本身也是蓝色系 ——
   任何加载顺序、任何降级路径下都不会出现青绿。
   真正的取值定义见 assets/css/tokens.css。
   ========================================================================== */
:root {
  --brand: var(--qf-primary, #2563EB);
  --brand-2: var(--qf-primary-hover, #1D4ED8);
  --brand-3: var(--qf-accent, #0891B2);
  --accent: #3b82f6;
  --brand-grad: var(--qf-brand-grad, linear-gradient(135deg, #2563EB 0%, #1D4ED8 55%, #0891B2 100%));
  --brand-grad-soft: var(--qf-brand-grad-soft, linear-gradient(135deg, rgba(37,99,235,.12) 0%, rgba(8,145,178,.12) 100%));
  --brand-glow: var(--qf-brand-glow, rgba(37, 99, 235, .28));

  --bg: var(--qf-bg, #F6F7FA);
  --bg-2: var(--qf-surface-hover, #F0F2F7);
  --card: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: var(--qf-border, #E3E7EF);
  --line-2: var(--qf-border-soft, #EEF1F6);
  --ok: #059669;
  --warn: #d97706;
  --bad: #dc2626;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 7px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow: 0 6px 24px -8px rgba(15,23,42,.14);
  --shadow-lg: 0 18px 48px -14px rgba(37, 99, 235, .25);
  --maxw: 1160px;
  --header-h: 66px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

/* 深色下的品牌相关值同样令牌化：深色令牌里 --brand 会被更亮的 blue-400 接管 */
[data-theme="dark"] {
  --bg: var(--qf-bg, #0E1116);
  --bg-2: var(--qf-surface-hover, #222A35);
  --card: var(--qf-surface, #1A2029);
  --ink: var(--qf-text, #E7ECF3);
  --ink-2: var(--qf-text-muted, #5A6478);
  --muted: var(--qf-text-muted, #5A6478);
  --line: var(--qf-border, #262D38);
  --line-2: var(--qf-border-soft, #1E242E);
  --brand-grad: var(--qf-brand-grad);
  --brand-grad-soft: var(--qf-brand-grad-soft);
  --brand-glow: var(--qf-brand-glow);

  --brand-deep: var(--brand-3);
  --shadow: 0 6px 24px -8px rgba(0,0,0,.5);
  --shadow-lg: 0 18px 48px -14px rgba(0,0,0,.6);
}


* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background .2s ease, color .2s ease;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
img { max-width: 100%; }
button { font-family: inherit; }
::selection { background: var(--qf-primary-ring); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }


.announce {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 42px;
  font-size: 13.5px;
  background: var(--brand-grad);
  color: #fff;
  position: relative;
  text-align: center;
}
.announce.show { display: flex; }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ann-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.18); border: none; color: #fff;
  width: 24px; height: 24px; border-radius: 50%; cursor: pointer; font-size: 14px; line-height: 1;
}
.ann-close:hover { background: rgba(255,255,255,.32); }


.site-banner { background: var(--brand-grad); color: #fff; font-size: 13.5px; }
.site-banner-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 9px 16px; flex-wrap: wrap; text-align: center;
}
.site-banner-img { height: 20px; width: auto; max-width: 90px; object-fit: contain; display: block; flex: none; }
.site-banner-text { min-width: 0; }
.site-banner-text b { font-weight: 700; }
.site-banner-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.site-banner-link:hover { opacity: .85; }


.flag-off {
  max-width: 640px; margin: var(--sp-section) auto; text-align: center;
  padding: 34px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow-sm);
}
.flag-off h2 { font-size: var(--fs-h3); margin: 0 0 10px; }
.flag-off p { color: var(--muted); margin: 0; line-height: 1.75; }


.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -.3px; }
.brand:hover { color: var(--ink); }
.logo {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--brand-grad);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px -2px var(--brand-glow);
}
.logo svg { width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 13px; border-radius: 9px;
  color: var(--ink-2); font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-grad-soft); }
.nav-links a.active { color: var(--brand); background: var(--brand-grad-soft); font-weight: 600; }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.icon-btn:hover { border-color: var(--brand-2); transform: translateY(-1px); }
.icon-btn svg { width: 19px; height: 19px; }
.nav-toggle { display: none; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--card); box-sizing: border-box; height: 38px; flex: 0 0 auto; }
.lang-switch button {
  border: none; background: transparent; color: var(--muted);
  font-size: 12.5px; padding: 0 11px; cursor: pointer; font-weight: 600;
  transition: background .18s ease, color .18s ease;
  display: inline-flex; align-items: center; justify-content: center;
  height: 100%; box-sizing: border-box; white-space: nowrap; line-height: 1; min-width: 38px;
}
.lang-switch button:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.lang-switch button:hover { color: var(--brand); }
.lang-switch button.on { background: var(--brand-grad); color: #fff; }


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: 12px; font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; line-height: 1.4;
  transition: transform .16s ease, box-shadow .16s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 32px; font-size: 15.5px; border-radius: 13px; }
.btn-sm { padding: 8px 15px; font-size: 13px; border-radius: 9px; }
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: 0 6px 18px -6px var(--brand-glow); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -6px var(--brand-glow); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-2); color: var(--brand); transform: translateY(-1px); }
.btn-danger { background: linear-gradient(135deg, #e5484d, #d03140); color: #fff; border-color: transparent; box-shadow: 0 6px 18px -8px rgba(229,72,77,.7); }
.btn-danger:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(229,72,77,.8); }
.btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }


.hero {
  position: relative;
  padding: 72px 0 64px;
  background:
    radial-gradient(900px 380px at 85% -10%, var(--qf-brand-glow), transparent 60%),
    radial-gradient(700px 320px at -10% 20%, rgba(59,130,246,.10), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--brand-grad-soft); color: var(--brand);
  border: 1px solid var(--line); margin-bottom: 22px;
}
.badge-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-glow); }
.hero h1 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; line-height: 1.14; letter-spacing: -.02em; margin-bottom: 18px; }
.hero h1 .grad { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero .lead { font-size: 17px; color: var(--ink-2); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-metrics { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-metrics > span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--card); border: 1px solid var(--line-2); color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.hero-metrics svg { width: 15px; height: 15px; color: var(--brand-2); flex: none; }


.mock { position: relative; }
.mock::before {
  content: ""; position: absolute; inset: -40px;
  background: var(--brand-grad); opacity: .14; filter: blur(60px); z-index: 0;
  border-radius: 40px;
}
.mock-win {
  position: relative; z-index: 1;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.mock-bar {
  display: flex; align-items: center; gap: 8px; padding: 13px 16px;
  background: var(--bg-2); border-bottom: 1px solid var(--line-2);
}
.mock-bar > span { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.mock-bar > span:nth-child(1) { background: #f87171; }
.mock-bar > span:nth-child(2) { background: #fbbf24; }
.mock-bar > span:nth-child(3) { background: #34d399; }
.mock-input {
  flex: 1; margin-left: 10px; padding: 8px 14px; border-radius: 9px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-2);
  box-shadow: 0 0 0 3px var(--brand-grad-soft);
}
.mock-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; border-bottom: 1px solid var(--line-2);
  transition: background .18s ease;
}
.mock-row:last-of-type { border-bottom: none; }
.mock-row:hover { background: var(--brand-grad-soft); }
.mock-ico { font-size: 19px; flex: none; }
.mock-row b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.mock-row small { font-size: 12.5px; color: var(--muted); }
.mock-row em {
  margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700;
  color: var(--brand); background: var(--brand-grad-soft);
  border: 1px solid var(--line); padding: 4px 9px; border-radius: 999px;
}
.mock-foot { padding: 10px 16px; font-size: 12.5px; color: var(--muted); display: flex; justify-content: flex-end; }


.section { padding: 76px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head .kicker { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 10px; }
.section-head h2 { font-size: clamp(24px, 3vw, 33px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 10px; }
.section-head .sub { font-size: 15.5px; color: var(--muted); max-width: 620px; margin: 0 auto; }
.kicker { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 10px; }


.page-hero {
  padding: 64px 0 44px;
  background:
    radial-gradient(760px 300px at 80% -20%, var(--qf-brand-glow), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom: 1px solid var(--line-2);
  text-align: center;
}
.page-hero .kicker { margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.page-hero .lead {
  max-width: 640px; margin: 14px auto 0; font-size: 16px; color: var(--ink-2);
}


.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  background: var(--brand-grad-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.card p { font-size: 14px; color: var(--muted); }
.card-icon { font-size: 30px; margin-bottom: 14px; line-height: 1; }


.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-group { margin-bottom: 34px; }
/* R66 · 移除 4px 左侧彩色装饰条
   原 padding-left: 13px 中，13px = 4px 竖条 + 9px 内容间距。
   竖条删除后若保留 13px，标题会凭空多出 9px 左缩进，与下方卡片的左边缘对不齐。
   现改为 padding-left: 0（与正文左对齐），层级改由字号 + 字重 + 上间距表达。 */
.feature-group-title { font-size: 20px; font-weight: 700; margin: 38px 0 18px; }


.syntax-card {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.syntax-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.qrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.q {
  font-family: Consolas, "Cascadia Code", monospace; font-size: 13.5px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 4px 11px; color: var(--brand); font-weight: 600;
}
.tag {
  font-size: 11.5px; font-weight: 700; color: var(--brand);
  background: var(--brand-grad-soft); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px;
}
.syntax-card h4 { font-size: 15.5px; margin-bottom: 8px; }
.syntax-card p { font-size: 13.5px; color: var(--muted); }


.data-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.data-cell {
  text-align: center; padding: 22px 14px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius);
}
.data-cell b { display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 800; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.data-cell span { font-size: 13px; color: var(--muted); }


.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  display: flex; gap: 14px; background: var(--card);
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px;
}
.step::before {
  content: attr(data-n); flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand-grad); color: #fff; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
.step h4 { font-size: 15px; margin-bottom: 4px; }
.step p { font-size: 13.5px; color: var(--muted); }


.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  position: relative; background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.price-card.popular { border: 2px solid var(--brand-2); box-shadow: 0 14px 40px -12px var(--brand-glow); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand-grad); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.price { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.price span { font-size: 13.5px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.price-features { list-style: none; margin-bottom: 24px; flex: 1; }
.price-features li { position: relative; padding: 6px 0 6px 26px; font-size: 14px; color: var(--ink-2); }
.price-features li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 15px; height: 15px; background-color: var(--brand-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}


.cta-band {
  background: var(--brand-grad); border-radius: 22px; padding: 52px 40px;
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  background: rgba(255,255,255,.14); border-radius: 50%; filter: blur(30px);
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 12px; position: relative; z-index: 1; }
.cta-band p { font-size: 15.5px; opacity: .92; margin-bottom: 26px; position: relative; z-index: 1; }
.cta-band .btn-ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }


.form-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--ink-2); }
.form-label .req { color: var(--bad); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--bg);
  color: var(--ink); font-size: 14.5px; font-family: inherit;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-grad-soft);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.form-error { display: none; font-size: 12.5px; color: var(--bad); margin-top: 4px; }
.form-error.show { display: block; }
/* R67 · 表单状态提示与 .callout 统一：去边框、纯底色、消费令牌
   原为 rgba(220,38,38,.08) + rgba(220,38,38,.28) 硬编码，
   与 callout 的三套色值互不相通，深色下也不跟随。 */
.form-err-panel {
  display: none; margin-top: 14px; padding: 11px 15px; border-radius: var(--ui-r, 8px);
  border: 0; background: var(--qf-danger-note, rgba(217, 45, 32, .07));
  color: var(--qf-danger-note-text, var(--qf-text)); font-size: 13.5px; line-height: 1.7;
}
.form-err-panel.show { display: block; }
.form-err-panel b, .form-err-panel strong { color: var(--qf-danger-note-title, #A81E14); }
.form-ok {
  display: none; margin-top: 14px; padding: 12px 15px; border-radius: var(--ui-r, 8px);
  border: 0; background: var(--qf-success-note, rgba(14, 159, 91, .08));
  color: var(--qf-success-note-text, var(--qf-text)); font-size: 14px; line-height: 1.7;
}
.form-ok.show { display: block; }
.form-ok b, .form-ok strong { color: var(--qf-success-note-title, #046C4E); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--bg); flex-wrap: wrap; }
.seg button {
  border: none; background: transparent; color: var(--muted); font-size: 13px;
  padding: 9px 18px; cursor: pointer; font-weight: 600; transition: background .16s ease, color .16s ease;
}
.seg button:hover { color: var(--brand); }
.seg button.on { background: var(--brand-grad); color: #fff; }
.select-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }


.footer { border-top: 1px solid var(--line-2); background: var(--bg-2); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; padding-bottom: 40px; }
.footer .brand-col p { font-size: 13.5px; color: var(--muted); margin-top: 12px; max-width: 260px; }
.footer-col h4 { font-size: 13.5px; font-weight: 700; margin-bottom: 14px; color: var(--ink); }
.footer-col a { display: block; font-size: 13.5px; color: var(--muted); padding: 4px 0; transition: color .15s ease; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 18px 0 24px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted);
}


.doc-block { margin-bottom: 30px; }
.doc-block h3 { font-size: 19px; margin-bottom: 10px; }
.doc-block p { margin-bottom: 10px; color: var(--ink-2); }
.table-scroll { overflow-x: auto; margin: 16px 0; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card); border-radius: 12px; overflow: hidden; }
.table th, .table td { border: 1px solid var(--line-2); padding: 10px 14px; text-align: left; }
.table th { background: var(--bg-2); font-weight: 700; }
.note { background: var(--brand-grad-soft); border: 1px solid var(--brand-2); border-radius: 10px; padding: 12px 16px; font-size: 13.5px; color: var(--ink-2); margin: 14px 0; }
.note-box { background: rgba(59,130,246,.08); border: 1px solid var(--accent); border-radius: 10px; padding: 12px 16px; font-size: 13.5px; margin: 14px 0; }
.mono, code { font-family: Consolas, "Cascadia Code", monospace; }
.code-block { position: relative; background: var(--qf-code-bg); border-radius: 12px; margin: 14px 0; overflow: hidden; }
.code-block pre { padding: 15px 18px; overflow-x: auto; }
.code-block code { color: var(--qf-code-text); font-size: 13px; line-height: 1.6; }
.code-copy {
  position: absolute; right: 8px; top: 8px; font-size: 12px; cursor: pointer;
  background: rgba(255,255,255,.12); color: #d1fae5; border: 1px solid rgba(255,255,255,.2);
  padding: 4px 10px; border-radius: 7px;
}
.code-copy:hover { background: rgba(255,255,255,.22); }


.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: var(--line); }
.tl-item { position: relative; margin-bottom: 30px; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--brand-grad); box-shadow: 0 0 0 4px var(--brand-grad-soft);
}
.tl-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.tl-date { font-size: 12.5px; color: var(--muted); }
.tl-body { font-size: 14px; color: var(--ink-2); }
.tl-body ul { margin: 6px 0 0 18px; }
.chip-stable, .chip-beta { font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.chip-stable { background: rgba(5,150,105,.12); color: var(--ok); border: 1px solid rgba(5,150,105,.3); }
.chip-beta { background: rgba(217,119,6,.12); color: var(--warn); border: 1px solid rgba(217,119,6,.3); }


.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.support-card { display: flex; flex-direction:column; gap: 10px; align-items: flex-start; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; transition: transform .2s ease, box-shadow .2s ease; }
.support-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.support-card .p-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-grad-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.support-card .p-icon svg { width: 21px; height: 21px; }
.support-card h3 { font-size: 15.5px; margin-bottom: 4px; }
.support-card p { font-size: 13.5px; color: var(--muted); }
.support-card a.btn { margin-top: 12px; }

.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.principle { display: flex; gap: 15px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px; }
.principle .p-icon { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-grad-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.principle .p-icon svg { width: 19px; height: 19px; }
.principle h3 { font-size: 15px; margin-bottom: 4px; }
.principle p { font-size: 13.5px; color: var(--muted); }

.fact-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 2px; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.fact-row:last-child { border-bottom: none; }
.fact-row b { font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.fact-row span { color: var(--muted); text-align: right; }

.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.link-list h3 { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--ink); margin: 0 0 6px; }
.link-list .sub { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0 0 10px; }
.link-list a { display: block; padding: 8px 0; color: var(--ink-2); font-size: 14.5px; border-bottom: 1px dashed var(--line-2); transition: color .15s ease; }
.link-list a:hover { color: var(--brand); }

.blog-list { display: grid; gap: 16px; max-width: 760px; margin: 0 auto; }
.blog-item { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 24px; transition: transform .2s ease, box-shadow .2s ease; }
.blog-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.blog-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }

.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item h3 { font-size: 15px; padding: 16px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq-item h3::after { content: "+"; font-size: 18px; color: var(--brand-2); }
.faq-item.open h3::after { content: "−"; }
.faq-body { display: none; padding: 0 20px 16px; font-size: 14px; color: var(--muted); }
.faq-item.open .faq-body { display: block; }


.platform-head { display: flex; align-items: center; gap: 16px; margin: 34px 0 16px; }
.pl-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-grad-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pl-icon svg { width: 23px; height: 23px; }
.platform-head h2 { font-size: 19px; font-weight: 700; }
.platform-head p { font-size: 13px; color: var(--muted); }
.dl-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 15px 18px; margin-bottom: 10px; }
.dl-row .meta h4 { font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 9px; }
.dl-row .meta small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.dl-chip { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.dl-chip.ready { background: rgba(5,150,105,.12); color: var(--ok); }
.dl-chip.soon { background: rgba(100,116,139,.12); color: var(--muted); }
.sha { font-size: 12px; color: var(--muted); font-family: Consolas, monospace; margin-top: 4px; word-break: break-all; }
.mirror-strip { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0 4px; }
.mirror-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; padding: 6px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); color: var(--ink-2); }
.mirror-chip.on { border-color: var(--brand-2); color: var(--brand); }
.mirror-chip.on.primary { background: var(--brand-grad-soft); font-weight: 600; }
.mirror-chip.off { opacity: .5; }
.mirror-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.mirror-chip.on .dot { background: var(--brand-2); }
.mirror-chip.off .dot { background: var(--line); }
.divider { border: none; border-top: 1px solid var(--line-2); margin: 34px 0; }


.legal-doc { max-width: 800px; margin: 0 auto; }
.legal-meta { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.legal-doc h3 { font-size: 18px; margin: 26px 0 10px; }
.legal-doc p, .legal-doc li { font-size: 14.5px; color: var(--ink-2); margin-bottom: 8px; }
.legal-highlight { background: var(--brand-grad-soft); border: 1px solid var(--brand-2); padding: 10px 14px; border-radius: 8px; }
.legal-doc h2 { font-size: 21px; margin: 30px 0 12px; scroll-margin-top: 90px; }
.legal-anchor { margin-left: 8px; font-size: 15px; color: var(--brand-2, var(--qf-primary-hover)); text-decoration: none; opacity: 0; transition: opacity .15s; }
.legal-doc h2:hover .legal-anchor { opacity: 1; }
.legal-toc { background: var(--bg-2, var(--qf-surface-hover)); border: 1px solid var(--line-2, var(--qf-border)); border-radius: 10px; padding: 14px 18px; margin: 0 0 26px; }
.legal-toc-h { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 8px; letter-spacing: .02em; }
.legal-toc-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; }
.legal-toc-list a { font-size: 13.5px; color: var(--ink-2); text-decoration: none; line-height: 1.5; }
.legal-toc-list a:hover { color: var(--brand-2, var(--qf-primary-hover)); }
@media (max-width: 640px) { .legal-toc-list { grid-template-columns: 1fr; } }


.docs-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.docs-sidebar { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 4px; }
.docs-sidebar a { padding: 8px 12px; border-radius: 9px; font-size: 14px; color: var(--ink-2); }
.docs-sidebar a:hover { color: var(--brand); background: var(--brand-grad-soft); }
.docs-sidebar a.active { color: var(--brand); background: var(--brand-grad-soft); font-weight: 600; }
.docs-content { min-width: 0; }
.usage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.usage-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 16px; }
.usage-label { font-size: 12px; font-weight: 700; color: var(--brand-2); text-transform: uppercase; letter-spacing: .06em; }
.usage-num { font-size: 30px; font-weight: 800; margin: 6px 0 2px; }
.usage-desc { font-size: 13px; color: var(--muted); }
.auth-wrap { max-width: 420px; margin: 0 auto; }
.auth-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); }
.auth-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.auth-card .sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.auth-msg { font-size: 13.5px; text-align: center; margin-top: 16px; }
.auth-err { color: var(--bad); }
.auth-btn { width: 100%; justify-content: center; }
.otp-row { display: flex; gap: 10px; }
.otp-row .form-input { text-align: center; font-size: 20px; letter-spacing: .2em; }
.dash-layout { display: grid; grid-template-columns: 230px 1fr; gap: 30px; align-items: start; }
.dash-sidebar { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 86px; }
.dash-h1 { margin: 0 0 22px; font-size: 26px; }
.dash-panel { display: none; }
.dash-panel.active { display: block; }
.dash-panel.active + .dash-panel.active { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.dash-panel .dash-card + .dash-card { margin-top: 16px; }
.dash-card.span2 { max-width: 720px; }
.dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dash-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px; }
.dash-card h3 { font-size: 15px; margin-bottom: 6px; }
.dash-card .val { font-size: 28px; font-weight: 800; color: var(--brand); }
.dash-card .desc { font-size: 13px; color: var(--muted); }
.dash-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); font-size: 13.5px; }
.dash-row:last-child { border-bottom: none; }
.dash-row > span:first-child { color: var(--muted); }
.dash-row .val { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.plan-pill { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--brand-grad); color: #fff; }
.plan-pill.free { background: var(--brand-grad-soft); color: var(--brand); border: 1px solid var(--line); }
.mono { font-family: Consolas, "Cascadia Code", monospace; }
.testi-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; }
.testi-card p { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.testi-card cite { font-size: 12.5px; color: var(--muted); font-style: normal; }


.err-wrap { text-align: center; padding: 90px 0; }
.err-code { font-size: clamp(70px, 12vw, 120px); font-weight: 800; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.err-wrap h1 { font-size: 24px; margin: 18px 0 8px; }
.err-wrap p { color: var(--muted); margin-bottom: 26px; }


.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }


@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 52px 0 48px; }
  .grid-3, .grid-4, .feature-grid, .data-band, .pricing-grid, .steps, .support-grid, .about-grid, .usage-grid, .dash-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .docs-layout, .dash-layout { grid-template-columns: 1fr; }
  .docs-sidebar, .dash-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .section { padding: 54px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

#userDropdown.show{display:block !important;}


.qf-account { display: inline-flex; align-items: center; margin-right: 6px; }
.qf-login-link { font-size: 13.5px; font-weight: 600; color: var(--primary); padding: 8px 16px; border: 1px solid var(--primary); border-radius: 999px; white-space: nowrap; }
.qf-login-link:hover { background: var(--primary); color: #fff; }
.qf-user-menu { position: relative; display: inline-block; }
.qf-nav-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--bg-secondary); cursor: pointer; border: 2px solid transparent; }
.qf-nav-avatar:hover { border-color: var(--primary); }
.qf-dropdown { display: none; position: absolute; right: 0; top: 42px; min-width: 190px; background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.14); padding: 6px; z-index: 200; }
.qf-dropdown.show { display: block; }
.qf-dd-email { font-size: 12.5px; color: var(--muted); padding: 8px 12px 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; word-break: break-all; }
.qf-dropdown a { display: block; padding: 9px 12px; font-size: 13.5px; border-radius: 8px; color: var(--text); }
.qf-dropdown a:hover { background: var(--bg-secondary); }

.auth-mode-tabs { display: flex; gap: 8px; background: var(--bg-secondary); border-radius: 12px; padding: 4px; margin-bottom: 24px; }
.auth-mode-btn { flex: 1; padding: 10px; border: none; border-radius: 9px; background: transparent; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.auth-mode-btn.active { background: var(--card); color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.auth-sub-tabs { display: flex; gap: 6px; margin: -4px 0 16px; border-bottom: 1px solid var(--line-2); }
.auth-sub-btn { flex: none; padding: 8px 14px; border: none; background: transparent; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.auth-sub-btn.active { color: var(--primary); border-bottom-color: var(--primary); }

.pf-select { padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 13px; background: var(--bg); color: var(--text); }
.pf-switch { position: relative; display: inline-block; width: 40px; height: 22px; }
.pf-switch input { opacity: 0; width: 0; height: 0; }
.pf-switch span { position: absolute; inset: 0; background: #cbd5e1; border-radius: 22px; transition: .2s; cursor: pointer; }
.pf-switch span:before { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.pf-switch input:checked + span { background: var(--primary); }
.pf-switch input:checked + span:before { transform: translateX(18px); }


.dash-welcome { display:flex; align-items:center; gap:16px; padding:20px 22px; border-radius:var(--radius); background:var(--brand-grad); color:#fff; margin-bottom:20px; box-shadow:0 8px 24px rgba(13,148,136,.18); }
.dw-avatar { display:block; width:52px; height:52px; border-radius:50%; object-fit:cover; object-position:center center; vertical-align:middle; background:rgba(255,255,255,.25); border:2px solid rgba(255,255,255,.6); flex:none; align-self:center; }
.dw-text { flex:1; min-width:0; }
.dw-greet { font-size:20px; font-weight:800; line-height:1.2; }
.dw-email { font-size:13px; opacity:.9; margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dash-welcome .plan-pill { background:rgba(255,255,255,.2); border:1px solid rgba(255,255,255,.5); color:#fff; }
.dash-welcome .plan-pill.free { background:rgba(255,255,255,.2); border-color:rgba(255,255,255,.5); color:#fff; }

.stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:8px; }
.stat-card { display:flex; align-items:center; gap:13px; background:var(--card); border:1px solid var(--line-2); border-radius:var(--radius); padding:16px; transition:transform .18s ease, box-shadow .18s ease; }
.stat-card:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(15,23,42,.08); }
.stat-ic { width:42px; height:42px; border-radius:11px; display:flex; align-items:center; justify-content:center; background:var(--brand-grad-soft); color:var(--brand); flex:none; }
.stat-ic svg { width:21px; height:21px; }
.stat-num { font-size:22px; font-weight:800; line-height:1.1; color:var(--ink); }
.stat-label { font-size:12px; color:var(--muted); margin-top:2px; }

.dash-section-title { font-size:15px; font-weight:700; margin:26px 0 14px; }

.quick-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.quick-card { display:flex; flex-direction:column; align-items:flex-start; gap:12px; background:var(--card); border:1px solid var(--line-2); border-radius:var(--radius); padding:18px; color:var(--ink-2); font-size:14px; font-weight:600; transition:transform .18s ease, border-color .18s ease; }
.quick-card:hover { transform:translateY(-2px); border-color:var(--brand); color:var(--brand); }
.quick-card svg { width:24px; height:24px; color:var(--brand); }

.plan-compare { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; align-items:stretch; }
.pc-card { position:relative; display:flex; flex-direction:column; background:var(--card); border:1px solid var(--line-2); border-radius:var(--radius); padding:22px; }
.pc-card.pc-featured { border:2px solid var(--brand); box-shadow:0 12px 30px rgba(13,148,136,.16); }
.pc-flag { position:absolute; top:-11px; left:50%; transform:translateX(-50%); background:var(--brand-grad); color:#fff; font-size:11px; font-weight:700; padding:4px 14px; border-radius:999px; }
.pc-name { font-size:16px; font-weight:800; }
.pc-price { font-size:30px; font-weight:800; color:var(--brand); margin:6px 0 14px; }
.pc-price span { font-size:13px; font-weight:600; color:var(--muted); }
.pc-card ul { list-style:none; margin:0 0 18px; padding:0; flex:1; }
.pc-card li { position:relative; font-size:13px; color:var(--ink-2); padding:6px 0 6px 24px; border-bottom:1px dashed var(--line-2); }
.pc-card li:before { content:""; position:absolute; left:2px; top:11px; width:13px; height:7px; border-left:2px solid var(--brand); border-bottom:2px solid var(--brand); transform:rotate(-45deg); }
.pc-tag { text-align:center; font-size:13px; font-weight:700; color:var(--muted); border:1px solid var(--line-2); border-radius:999px; padding:8px; }
.pc-card .btn { text-align:center; }

.platform-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:18px; }
.platform-btn { display:flex; flex-direction:column; align-items:center; gap:8px; padding:16px; border:1px solid var(--line-2); border-radius:var(--radius); color:var(--ink-2); font-size:13px; font-weight:600; }
.platform-btn:hover { border-color:var(--brand); color:var(--brand); }
.platform-btn svg { width:28px; height:28px; color:var(--brand); }

.pf-group-title { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:var(--brand-2); margin:16px 0 4px; }
.api-example { background:var(--bg-secondary); border:1px solid var(--line-2); border-radius:10px; padding:14px; font-family:Consolas,"Cascadia Code",monospace; font-size:12.5px; line-height:1.6; overflow-x:auto; color:var(--ink-2); }

#deviceList .dev-empty { font-size:13px; color:var(--muted); padding:10px 0; }
.dev-row { display:flex; align-items:center; gap:12px; padding:11px 0; border-bottom:1px dashed var(--line-2); }
.dev-row:last-child { border-bottom:none; }
.dev-ic { width:38px; height:38px; border-radius:10px; background:var(--bg-secondary); color:var(--brand); display:flex; align-items:center; justify-content:center; flex:none; }
.dev-ic svg { width:19px; height:19px; }
.dev-info { flex:1; min-width:0; }
.dev-name { font-size:13.5px; font-weight:700; }
.dev-meta { font-size:12px; color:var(--muted); margin-top:1px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dev-toolbar { display:flex; align-items:center; gap:14px; padding:8px 0 12px; margin-bottom:4px; border-bottom:1px solid var(--line-2); flex-wrap:wrap; }
.dev-selall { font-size:13px; color:var(--ink-2); display:inline-flex; align-items:center; gap:6px; cursor:pointer; }
.dev-toolbar-msg { font-size:12.5px; color:var(--muted); }
.dev-sel { display:inline-flex; align-items:center; flex:none; cursor:pointer; }
.dev-ops { display:flex; align-items:center; gap:6px; flex:none; }
.dev-detail { margin:8px 0 2px; padding:8px 12px; background:var(--bg-2, var(--qf-surface-hover)); border-radius:8px; }
.dev-drow { display:flex; justify-content:space-between; gap:16px; font-size:12.5px; padding:3px 0; }
.dev-drow span:first-child { color:var(--muted); flex:none; }

@media (max-width:900px){
  .stat-grid { grid-template-columns:repeat(2,1fr); }
  .quick-grid, .plan-compare { grid-template-columns:1fr; }
  .platform-grid { grid-template-columns:1fr; }
}
@media (max-width:560px){
  .stat-grid { grid-template-columns:1fr; }
  .dash-welcome { flex-wrap:wrap; }
}


.sec-checklist .sec-item { display:flex; align-items:flex-start; gap:12px; padding:10px 0; border-bottom:1px dashed var(--line-2); }
.sec-checklist .sec-item:last-child { border-bottom:none; }
.sec-badge { width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex:none; }
.sec-badge svg { width:15px; height:15px; }
.sec-badge.ok { background:var(--brand-grad-soft); color:var(--brand); }
.sec-badge.warn { background:#fef3c7; color:#b45309; }
.sec-text { min-width:0; }
.sec-text .sec-label { font-size:13.5px; font-weight:700; }
.sec-text .sec-hint { font-size:12px; color:var(--muted); margin-top:1px; }

.accent-swatches { display:flex; gap:8px; }
.accent-swatch { width:26px; height:26px; border-radius:50%; border:2px solid transparent; cursor:pointer; padding:0; position:relative; }
.accent-swatch.selected { box-shadow:0 0 0 2px var(--card), 0 0 0 4px currentColor; }

.token-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:10px; }
.token-row .mono { font-size:14px; }

.api-lang-tabs { display:inline-flex; gap:4px; background:var(--bg-secondary); padding:4px; border-radius:10px; margin:4px 0 12px; }
.api-lang-btn { border:none; background:transparent; font-size:13px; font-weight:600; color:var(--muted); padding:6px 16px; border-radius:7px; cursor:pointer; }
.api-lang-btn.active { background:var(--card); color:var(--brand); box-shadow:0 1px 3px rgba(15,23,42,.12); }
.api-example-wrap { position:relative; }
.api-example-wrap .api-example { padding:16px 14px; padding-right:90px; white-space:pre; }
.api-copy-btn { position:absolute; top:10px; right:10px; padding:4px 12px; font-size:12px; }


.sec-item .sec-ic { width:22px; height:22px; border-radius:50%; flex:none; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:800; }
.sec-item.ok .sec-ic { background:var(--brand-grad-soft); color:#16a34a; }
.sec-item.warn .sec-ic { background:#fef3c7; color:#b45309; }
.sec-item .sec-label { font-size:13.5px; font-weight:600; align-self:center; }
.dev-tag { display:inline-block; font-size:11px; font-weight:600; padding:1px 8px; border-radius:20px; background:var(--bg-secondary); color:var(--muted); vertical-align:middle; margin-left:2px; }
.dev-tag.cur-tag { background:#dbeafe; color:#1d4ed8; }
.dev-row.current { background:linear-gradient(90deg,rgba(37,99,235,.07),transparent); border-radius:8px; padding-left:8px; padding-right:8px; }

.qfo-mask {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8, 20, 30, .55);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.qfo-mask.open { display: flex; }
.qfo-mask[hidden] { display: none; }
.qfo {
  background: var(--card); color: var(--ink);
  width: min(560px, 100%);
  max-height: 88vh;
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.qfo-head {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-bottom: 1px solid var(--line-2);
}
.qfo-title { font-size: 16px; font-weight: 800; }
.qfo-x {
  border: none; background: transparent; color: var(--muted);
  font-size: 24px; line-height: 1; cursor: pointer; padding: 0 4px;
}
.qfo-x:hover { color: var(--ink); }
.qfo-body { padding: 20px 22px; overflow-y: auto; min-height: 0; overscroll-behavior: contain; }
.qfo-foot {
  flex: none; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap;
  padding: 14px 22px; border-top: 1px solid var(--line-2); background: var(--bg-2);
}
.qfo-muted { color: var(--muted); font-size: 13.5px; margin: 8px 0; }
.qfo-wait { color: var(--warn); font-size: 13px; margin-top: 12px; }


.qfo-cycle { display: inline-flex; gap: 4px; background: var(--bg-2); border-radius: 10px; padding: 4px; margin-bottom: 16px; }
.qfo-chip { border: none; background: transparent; cursor: pointer; border-radius: 8px; padding: 6px 16px; font-size: 13px; color: var(--ink-2); }
.qfo-chip.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); font-weight: 700; }
.qfo-save { font-size: 10px; background: var(--brand); color: #fff; padding: 1px 6px; border-radius: 4px; margin-left: 4px; }
.qfo-plan {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border: 1.5px solid var(--line-2); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer;
}
.qfo-plan.on { border-color: var(--brand-2); background: var(--brand-grad-soft); }
.qfo-plan input { accent-color: var(--brand); }
.qfo-plan-desc { font-size: 12.5px; color: var(--muted); }
.qfo-plan-price { font-size: 20px; font-weight: 800; }
.qfo-plan-price span { font-size: 12px; color: var(--muted); font-weight: 500; }
.qfo-seats { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 14px; }
.qfo-seat-ctl { display: inline-flex; align-items: center; gap: 12px; }
.qfo-seat-ctl button {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--card); cursor: pointer; font-size: 16px; line-height: 1;
}
.qfo-seat-ctl b { min-width: 24px; text-align: center; }


.qfo-summary, .qfo-detail {
  border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 16px; margin-bottom: 14px;
}
.qfo-sum-row, .qfo-detail-row {
  display: flex; justify-content: space-between; gap: 12px; padding: 8px 0;
  font-size: 14px; border-bottom: 1px dashed var(--line-2);
}
.qfo-sum-row:last-child, .qfo-detail-row:last-child { border-bottom: none; }
.qfo-sum-row > span:first-child, .qfo-detail-row > span:first-child { color: var(--muted); }
.qfo-detail-row.qfo-total { border-top: 2px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 800; font-size: 16px; }
.qfo-detail-row.qfo-disc span:last-child { color: var(--ok); }
.qfo-coupon label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.qfo-coupon-row { display: flex; gap: 8px; }
.qfo-coupon-row .form-input { flex: 1; }
.qfo-coupon-msg { font-size: 13px; margin-top: 6px; min-height: 18px; }
.qfo-amt { color: var(--brand); }
.qfo-order-no { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.qfo-order-no b { color: var(--ink); }


.qfo-qr { display: flex; justify-content: center; margin: 6px 0 10px; }
.qfo-qr img, .qfo-qr-ph {
  width: 180px; height: 180px; border-radius: 12px; border: 1px dashed var(--line);
  background: var(--bg-2);
}
.qfo-qr-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--muted); font-size: 12px;
}
.qfo-pay-offline h4 { margin: 12px 0 4px; }
.qfo-pay-static .qfo-qr-img { width: 190px; height: 190px; max-width: 100%; object-fit: contain; background: #fff; padding: 6px; }
.qfo-ch { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 2px 0 14px; }
.qfo-ch-btn {
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer;
}
.qfo-ch-btn.on { border-color: var(--brand-2); color: var(--ink); font-weight: 700; background: var(--brand-grad-soft); }
.qfo-note { font-size: 13px; color: var(--ink-2); background: var(--bg-2); border-radius: 10px; padding: 10px 12px; margin: 4px 0 10px; word-break: break-word; }
.qfo-claim { margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.qfo-claim-label { display: block; font-size: 12.5px; color: var(--muted); margin: 8px 0 4px; }
.qfo-claim .form-input { width: 100%; box-sizing: border-box; }
.qfo-claim .btn { margin-top: 12px; width: 100%; }
.qfo-claim-msg { font-size: 13px; margin-top: 8px; min-height: 18px; word-break: break-word; }
.qfo-claim-msg[data-kind="bad"] { color: var(--bad); }
.qfo-claim-msg[data-kind="ok"] { color: var(--ok); }
.qfo-claim-done {
  margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px;
  background: var(--brand-grad-soft); color: var(--ink); word-break: break-word;
}
.qfo-claim-done b { color: var(--ok); }
.qfo-claim-rejected {
  margin-top: 12px; margin-bottom: 12px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px;
  background: rgba(220,38,38,.10); color: var(--ink); word-break: break-word;
}
.qfo-claim-rejected b { color: var(--bad); }
.qfo-claim-rejected .qfo-muted { color: var(--ink-2); }
@media (max-width: 430px) {
  .qfo-pay-static .qfo-qr-img { width: 150px; height: 150px; }
  .qfo-claim .btn { width: 100%; }
}


.qfo-success { text-align: center; padding: 20px 0 8px; }
.qfo-success-ic {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--brand-grad-soft); color: var(--ok);
  display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800;
}


.qfo-radio { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 14px; }
.qfo-radio input { accent-color: var(--brand); }
.qfo-sub { margin: 16px 0 8px; font-size: 14px; }
.qfo-tl { border-left: 2px solid var(--line-2); padding-left: 14px; }
.qfo-tl-item { padding: 6px 0; font-size: 13.5px; }


.qf-table-wrap { overflow: auto; max-height: 460px; border: 1px solid var(--line-2); border-radius: 12px; }
.qf-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.qf-table th, .qf-table td { padding: 9px 12px; border-bottom: 1px solid var(--line-2); text-align: left; white-space: nowrap; }
.qf-table th { position: sticky; top: 0; background: var(--bg-2); font-weight: 700; z-index: 1; }
.qf-table .mono, .mono { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }
.qf-ops { display: flex; gap: 6px; flex-wrap: wrap; }
.qf-obtn {
  font-size: 12px; padding: 4px 10px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--brand);
}
.qf-obtn:hover { border-color: var(--brand-2); }
.qf-obtn.danger { color: var(--bad); }
.qf-obtn[disabled] { opacity: .5; cursor: not-allowed; }
.dash-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.dash-pager[hidden] { display: none; }
.dash-pager-ctl { display: inline-flex; align-items: center; gap: 8px; }
.dash-pager-num { color: var(--ink-2); font-variant-numeric: tabular-nums; }

.qf-search-btn svg { width: 19px; height: 19px; }
.nav-tools { position: relative; }
.qf-search-panel {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 70;
  width: min(560px, calc(100vw - 36px));
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 12px;
}
.qf-search-panel[hidden] { display: none; }
.qf-search-row { display: flex; align-items: center; gap: 8px; }
.qf-search-input {
  flex: 1; min-width: 0; padding: 9px 12px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink);
}
.qf-search-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); }
.qf-search-x { border: none; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 8px; }
.qf-search-x:hover { color: var(--ink); }
.qf-search-count, .qf-search-tip { font-size: 12.5px; color: var(--muted); }
.qf-search-count { margin: 8px 0 4px; }
.qf-search-tip { margin-top: 12px; }
.qf-search-state { font-size: 13.5px; color: var(--ink-2); }
.qf-search-state[hidden] { display: none; }
.qf-search-nohit { margin: 6px 0; color: var(--muted); }
.qf-search-list { list-style: none; margin: 6px 0 0; padding: 0; max-height: 420px; overflow-y: auto; overscroll-behavior: contain; }
.qf-search-panel .qf-search-list { max-height: 46vh; }
.qf-sr-item { border-radius: 10px; }
.qf-sr-item.on, .qf-sr-item:hover { background: var(--brand-grad-soft); }
.qf-sr-link { display: block; padding: 9px 10px; text-decoration: none; color: inherit; }
.qf-sr-name, .qf-sr-title { display: block; font-weight: 700; font-size: 14px; color: var(--ink); }
.qf-sr-where { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.qf-sr-text { display: block; font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.65; }
.qf-sr-text mark, .qf-sr-title mark { background: var(--brand-glow); color: inherit; border-radius: 3px; padding: 0 2px; }
.qf-sr-crumb { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; overflow-wrap: anywhere; }
.qf-sr-crumb-sep { margin: 0 4px; opacity: .7; }
.qf-sr-crumb-sec { color: var(--ink-2); }
.qf-sr-badge {
  display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .01em;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink-2);
}
.qf-sr-badge-title { border-color: var(--brand); color: var(--brand); }
.qf-sr-badge-section { border-color: var(--brand-2); color: var(--brand-deep); }
.qf-search-filters { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 12px; }
.qf-search-filters[hidden] { display: none; }
.qf-filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.qf-filter-label { font-size: 12.5px; color: var(--muted); font-weight: 700; margin-right: 2px; }
.qf-filter-chip {
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  border-radius: 999px; padding: 4px 12px; font-size: 12.5px; cursor: pointer;
  font-family: inherit; line-height: 1.5;
}
.qf-filter-chip:hover { border-color: var(--brand-2); color: var(--ink); }
.qf-filter-chip.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-deep); font-weight: 700; }
.qf-filter-chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.qf-search-filtered-hint { font-size: 12.5px; }
.qf-search-sentinel { height: 1px; margin-top: 4px; }
.qf-search-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.qf-search-all { font-size: 13px; font-weight: 700; color: var(--brand); text-decoration: none; }
.qf-search-hint { font-size: 12px; color: var(--muted); }
.qf-search-page-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.qf-search-page-form .qf-search-input { flex: 1 1 320px; padding: 12px 14px; font-size: 15px; }
.qf-search-guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-bottom: 22px; }
.qf-search-guide[hidden] { display: none; }
.qf-search-guide-col h2 { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.qf-search-chips, .qf-search-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.qf-search-cats { flex-direction: column; align-items: flex-start; }
.qf-chip {
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer;
}
.qf-chip:hover { border-color: var(--brand-2); color: var(--ink); }
.qf-search-chips a { font-size: 13px; color: var(--brand); }
.qf-search-results { margin-top: 8px; }
.qf-search-results[hidden] { display: none; }
.qf-search-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.qf-search-more-row { margin-top: 14px; }
.qf-search-fallback { margin-top: 18px; padding: 14px; border: 1px dashed var(--line); border-radius: 12px; }
.qf-search-fallback[hidden] { display: none; }
.qf-search-fallback-note { font-size: 13.5px; color: var(--ink-2); margin: 0 0 8px; }
.qf-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1240px) {
  .qf-search-btn { width: 38px; height: 38px; }
}
@media (max-width: 1000px) {
  .qf-search-panel { right: -6px; }
}
@media (max-width: 560px) {
  .qf-search-panel { width: calc(100vw - 24px); right: -4px; padding: 10px; }
  .qf-search-page-form .qf-search-input { flex: 1 1 100%; }
}
.qf-tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.qf-tag.ok { background: rgba(5,150,105,.12); color: var(--ok); }
.qf-tag.warn { background: rgba(217,119,6,.12); color: var(--warn); }
.qf-tag.bad { background: rgba(220,38,38,.12); color: var(--bad); }
.qf-tag.info { background: rgba(59,130,246,.12); color: var(--accent); }
.qf-tag.muted { background: var(--bg-2); color: var(--muted); }


.qf-renew-banner {
  background: var(--brand-grad-soft); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px;
}

.qf-ent-unavail {
  background: var(--bg-2); border: 1px dashed var(--line-2);
  border-radius: 10px; padding: 12px 14px; font-size: 13.5px; line-height: 1.7; margin-bottom: 14px;
}
.qf-ent-unavail b { display: block; margin-bottom: 4px; color: var(--ink); }
.qf-ent-unavail p { margin: 0 0 6px; color: var(--ink-2); }
.qf-ent-unavail .qf-ent-unavail-note { color: var(--muted); font-size: 12.5px; }

.plan-pill.stale { background: var(--bg-2); color: var(--ink-2); border: 1px dashed var(--line-2); }
.dash-welcome .plan-pill.stale { background: rgba(255,255,255,.12); color: #fff; border: 1px dashed rgba(255,255,255,.6); }


.qf-auth-fault {
  position: relative; z-index: 60; display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 16px; font-size: 13.5px; line-height: 1.6;
  background: var(--warn); color: #fff;
}
.qf-auth-fault[data-kind="session"] { background: var(--bad); }
.qf-auth-fault-txt { flex: 1; }
.qf-auth-fault a.qf-auth-fault-login { color: #fff; text-decoration: underline; font-weight: 600; }
.qf-auth-fault-x {
  flex: none; background: transparent; border: 1px solid rgba(255,255,255,.55); color: #fff;
  border-radius: 6px; width: 24px; height: 24px; line-height: 1; cursor: pointer; font-size: 15px;
}
.qf-auth-fault-x:hover { background: rgba(255,255,255,.15); }

.doc-hub { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.doc-cat { background:var(--card); border:1px solid var(--line-2); border-radius:var(--radius); padding:22px 24px; transition:transform .2s ease, box-shadow .2s ease; }
.doc-cat:hover { transform:translateY(-2px); box-shadow:var(--shadow); }
.doc-cat h3 { font-size:16px; margin-bottom:4px; display:flex; align-items:center; gap:10px; }
.doc-cat h3 .dc-ic { width:32px; height:32px; border-radius:9px; background:var(--brand-grad-soft); color:var(--brand); display:inline-flex; align-items:center; justify-content:center; flex:none; }
.doc-cat h3 .dc-ic svg { width:17px; height:17px; }
.doc-cat .dc-d { font-size:12.5px; color:var(--muted); margin:0 0 10px 42px; }
.doc-cat ul { list-style:none; padding:0; margin:0; }
.doc-cat li a { display:flex; align-items:center; gap:10px; padding:9px 6px; border-bottom:1px dashed var(--line-2); font-size:13.5px; color:var(--ink-2); }
.doc-cat li:last-child a { border-bottom:none; }
.doc-cat li a:hover { color:var(--brand); }
.doc-cat li a .arr { margin-left:auto; color:var(--muted); font-size:12px; }
.doc-cat li a:hover .arr { color:var(--brand); }
.doc-cat li.ext a { color:var(--muted); }
@media (max-width:760px){ .doc-hub { grid-template-columns:1fr; } }


.cmp-scores { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; margin-bottom:22px; }
.cmp-score { background:var(--card); border:1px solid var(--line-2); border-radius:12px; padding:14px 10px; text-align:center; }
.cmp-score.featured { border-color:var(--brand); box-shadow:0 8px 20px rgba(37,99,235,.14); }
.cmp-score .cs-name { font-size:12px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cmp-score .cs-num { font-size:23px; font-weight:800; color:var(--brand); margin:4px 0 8px; }
.cmp-score .cs-bar { height:6px; border-radius:6px; background:var(--bg-secondary); overflow:hidden; }
.cmp-score .cs-bar i { display:block; height:100%; background:var(--brand-grad); border-radius:6px; }
table.cmp { width:100%; border-collapse:separate; border-spacing:0; background:var(--card); border:1px solid var(--line-2); border-radius:14px; overflow:hidden; }
.cmp th, .cmp td { padding:12px 12px; text-align:center; font-size:13px; border-bottom:1px solid var(--line-2); }
.cmp thead th { background:var(--bg-secondary); font-weight:700; }
.cmp thead th.featured { background:var(--brand); color:#fff; }
.cmp td:first-child, .cmp th:first-child { text-align:left; position:sticky; left:0; min-width:150px; background:var(--card); font-weight:600; z-index:1; }
.cmp thead th:first-child { background:var(--bg-secondary); z-index:2; }
.cmp td.featured { background:rgba(37,99,235,.055); }
.cmp tr.cat td { background:var(--bg-secondary); font-weight:700; text-align:left; font-size:12.5px; color:var(--brand); letter-spacing:.3px; }
.cmp .yes { color:#16a34a; font-size:16px; font-weight:800; }
.cmp .no { color:#cbd5e1; font-size:15px; }
.cmp .partial { color:#d97706; font-weight:800; font-size:15px; }
.cmp tr:last-child td { border-bottom:none; }
.cmp .price { font-size:11.5px; color:var(--ink-2); white-space:nowrap; }
.cmp-cta { margin-top:30px; }
@media (max-width:860px){ .cmp-scores { grid-template-columns:repeat(2,1fr); } }

@media (min-width:761px) and (max-width:1080px){ .support-grid { grid-template-columns:repeat(2,1fr); } }


.blog-card {
  background: var(--card); border: 1px solid var(--line-2); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-cover { aspect-ratio: 16 / 7; overflow: hidden; background: var(--bg-2); }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.blog-card:hover .blog-cover img { transform: scale(1.04); }
.blog-card-body { padding: 20px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.blog-card-title { font-size: 19px; line-height: 1.4; margin: 0 0 9px; }
.blog-card-title a { color: var(--ink); }
.blog-card-title a:hover { color: var(--brand); }
.blog-summary { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; margin: 0 0 14px; flex: 1; }
.blog-card-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.blog-tag {
  display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 10px;
  border-radius: 999px; background: var(--brand-grad-soft); color: var(--brand);
}
.blog-more { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--brand); }


.blog-post { max-width: 820px; margin: 0 auto; }
.blog-post-cover { border-radius: 16px; overflow: hidden; margin-bottom: 22px; max-height: 380px; }
.blog-post-cover img { width: 100%; object-fit: cover; display: block; }
.blog-post-meta { margin-bottom: 10px; font-size: 13px; }
.blog-post-meta a { color: var(--brand); font-weight: 600; }
.blog-post-info { font-size: 12.5px; color: var(--muted); }
.blog-content { font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.blog-content h2 { font-size: 21px; color: var(--ink); margin: 30px 0 12px; }
.blog-content h3 { font-size: 17.5px; color: var(--ink); margin: 24px 0 10px; }
.blog-content p { margin: 0 0 15px; }
.blog-content ul, .blog-content ol { margin: 0 0 15px; padding-left: 24px; }
.blog-content li { margin: 4px 0; }
.blog-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
/* R66 · 引用块：取消左侧 4px 彩色条与单边弧形（border-radius: 0 10px 10px 0），
   改为四边等宽边框 + 全圆角。引用语义仍由底色与边框保留（这是功能性区分），
   但不再有「括号状」的装饰线。padding 相应从 18px 收到 14px 以补偿左侧减少的 4px。 */
.blog-content blockquote {
  border: 1px solid var(--line); background: var(--bg-2);
  border-radius: var(--radius-sm, 10px); padding: 12px 16px; margin: 16px 0; color: var(--ink-2);
}
.blog-content pre {
  background: var(--qf-code-bg); border-radius: 12px; padding: 14px 16px; overflow-x: auto; margin: 16px 0;
}
.blog-content code { font-family: Consolas, "Cascadia Code", monospace; font-size: 13px; color: var(--qf-code-text); }
.blog-content :not(pre) > code { background: var(--bg-2); color: var(--brand); padding: 2px 6px; border-radius: 6px; }
.blog-content img { max-width: 100%; border-radius: 12px; margin: 14px 0; }
.blog-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13.5px; }
.blog-content th, .blog-content td { border: 1px solid var(--line-2); padding: 8px 12px; text-align: left; }
.blog-content th { background: var(--bg-2); font-weight: 700; }
.blog-post-back { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.blog-post-back a { color: var(--brand); font-weight: 600; font-size: 14px; }




.btn-danger { background: #dc2626; color: #fff; border-color: #dc2626; }
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; transform: translateY(-1px); }
.danger-zone { border-color: rgba(220,38,38,.35); }
.danger-zone h3 { color: #dc2626; }


.inv-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.inv-card {
  background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px; transition: border-color .15s ease, box-shadow .2s ease;
}
.inv-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.inv-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.inv-card-no { font-size: 11.5px; color: var(--muted); }
.inv-card-title { font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.inv-card-sub { font-size: 12px; color: var(--muted); }
.inv-card .qf-obtn { align-self: flex-start; margin-top: 2px; }


.inv-detail-badge { text-align: center; margin-bottom: 14px; }
.inv-drow { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); font-size: 13.5px; }
.inv-dk { flex: none; width: 76px; color: var(--muted); }
.inv-dv { flex: 1; color: var(--ink); word-break: break-all; }
@media (max-width:640px){ .inv-cards { grid-template-columns: 1fr; } .inv-drow { flex-direction: column; gap: 2px; } }




.qf404-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 40px;
  background:
    radial-gradient(900px 380px at 50% -12%, var(--qf-brand-glow), transparent 65%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom: 1px solid var(--line-2);
}
.qf404-glow { position: absolute; inset: 0; pointer-events: none; }
.qf404-orb { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .8; }
.qf404-orb-a {
  width: 360px; height: 360px; top: -140px; left: 10%;
  background: var(--brand-glow);
  animation: qf404Drift 13s ease-in-out infinite;
}
.qf404-orb-b {
  width: 270px; height: 270px; top: 34px; right: 9%;
  background: rgba(59,130,246,.16);
  animation: qf404Drift 17s ease-in-out infinite reverse;
}
.qf404-hero-inner { position: relative; text-align: center; }


.qf404-eyebrow {
  display: block; width: fit-content; margin: 0 auto 14px; padding: 4px 14px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-grad-soft); border: 1px solid var(--line);
}


.qf404-art { position: relative; display: block; width: fit-content; margin: 0 auto; line-height: 1; }
.qf404-code {
  display: block;
  font-size: clamp(80px, 16vw, 164px); font-weight: 900; line-height: .92; letter-spacing: -.05em;
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: qf404Pop .7s cubic-bezier(.2,.8,.3,1) both;
}
.qf404-lens {
  position: absolute; right: -3%; bottom: 4%;
  width: clamp(52px, 7.5vw, 76px); height: clamp(52px, 7.5vw, 76px);
  border-radius: 50%;
  background: var(--brand-grad); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 16px 34px -12px var(--brand-glow), inset 0 0 0 3px rgba(255,255,255,.24);
  animation: qf404Bob 4.6s ease-in-out infinite;
}
.qf404-lens svg { width: 46%; height: 46%; }


.qf404-title { font-size: clamp(23px, 2.6vw, 31px); font-weight: 800; letter-spacing: -.02em; margin: 8px 0 10px; }
.qf404-desc { font-size: 15px; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.75; }
.qf404-path {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  margin: 16px auto 0; padding: 6px 13px;
  background: var(--card); border: 1px dashed var(--line); border-radius: 999px;
  font-size: 12.5px; color: var(--muted);
}
.qf404-path[hidden] { display: none; }
.qf404-path code {
  font-family: Consolas, "Cascadia Code", monospace; font-size: 12.5px; color: var(--brand);
  max-width: 44vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}


.qf404-search { display: flex; gap: 8px; align-items: stretch; max-width: 480px; margin: 22px auto 0; }
.qf404-field { position: relative; flex: 1; display: flex; min-width: 0; }
.qf404-field-ic {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--muted); pointer-events: none;
}
.qf404-search input {
  flex: 1; width: 100%; min-width: 0;
  -webkit-appearance: none; appearance: none;
  background: var(--card); border: 1px solid var(--line-2); color: var(--ink);
  border-radius: var(--radius-sm); padding: 12px 14px 12px 40px;
  font-family: inherit; font-size: 14.5px; box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.qf404-search input::placeholder { color: var(--muted); }
.qf404-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); }
.qf404-go {
  border: none; background: var(--brand-grad); color: #fff;
  border-radius: var(--radius-sm); padding: 0 22px;
  font-family: inherit; font-size: 14.5px; font-weight: 700; white-space: nowrap; cursor: pointer;
  box-shadow: 0 8px 20px -12px var(--brand-glow);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.qf404-go:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 24px -12px var(--brand-glow); }
.qf404-go:active { transform: translateY(0); }


.qf404-actions { margin-top: 20px; }
.qf404-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm);
  background: var(--card); border: 1px solid var(--line-2); color: var(--ink-2);
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.qf404-back svg { width: 16px; height: 16px; }
.qf404-back:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }


.qf404-dest { padding: 40px 0 60px; }
.qf404-dest-head { text-align: center; margin-bottom: 26px; }
.qf404-dest-head h2 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 6px; }
.qf404-dest-head p { font-size: 14px; color: var(--muted); }
.qf404-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.qf404-card {
  position: relative; display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 42px 18px 18px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.qf404-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); }
.qf404-card-ic {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand-grad-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.qf404-card-ic svg { width: 21px; height: 21px; }
.qf404-card-txt { min-width: 0; }
.qf404-card-t { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); margin-bottom: 4px; }
.qf404-card-d { display: block; font-size: 13px; line-height: 1.65; color: var(--muted); }
.qf404-card-arrow {
  position: absolute; top: 50%; right: 15px; width: 17px; height: 17px; margin-top: -8.5px;
  color: var(--brand); opacity: 0; transform: translateX(-4px);
  transition: opacity .2s ease, transform .2s ease;
}
.qf404-card:hover .qf404-card-arrow { opacity: 1; transform: translateX(0); }


.qf404-retry {
  border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2);
  border-radius: var(--radius-sm); padding: 9px 18px;
  font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
.qf404-retry:hover { border-color: var(--brand); color: var(--brand); }


@keyframes qf404Pop { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes qf404Up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes qf404Bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-7px) rotate(4deg); } }
@keyframes qf404Drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(24px, -18px) scale(1.08); } }
.qf404-hero-inner > * { animation: qf404Up .55s cubic-bezier(.2,.8,.3,1) both; }
.qf404-hero-inner > *:nth-child(1) { animation-delay: .02s; }
.qf404-hero-inner > *:nth-child(2) { animation-delay: .06s; }
.qf404-hero-inner > *:nth-child(3) { animation-delay: .14s; }
.qf404-hero-inner > *:nth-child(4) { animation-delay: .20s; }
.qf404-hero-inner > *:nth-child(5) { animation-delay: .26s; }
.qf404-hero-inner > *:nth-child(6) { animation-delay: .30s; }
.qf404-hero-inner > *:nth-child(7) { animation-delay: .36s; }


@media (max-width: 900px) {
  .qf404-hero { padding: 38px 0 34px; }
  .qf404-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .qf404-grid { grid-template-columns: 1fr; gap: 12px; }
  .qf404-search { flex-direction: column; }
  .qf404-go { padding: 12px 18px; }
  .qf404-card { padding: 15px 38px 15px 15px; }
  .qf404-path code { max-width: 58vw; }
  .qf404-dest { padding: 34px 0 48px; }
  .qf404-lens { width: 44px; height: 44px; right: -6%; bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .qf404-hero-inner > *, .qf404-code, .qf404-lens, .qf404-orb { animation: none !important; }
}




:root {
  --primary: var(--brand);
  --bg-secondary: var(--bg-2);
  --text-muted: var(--muted);
  --error: var(--bad);
  
  --text: var(--ink);                    
  --brand-soft: var(--brand-grad-soft);  
  --brand-deep: var(--brand);            

  
  --fs-h1: clamp(30px, 4.6vw, 52px);
  --fs-h2: clamp(23px, 2.9vw, 34px);
  --fs-h3: clamp(17px, 1.5vw, 20px);
  --fs-lead: clamp(15px, 1.25vw, 17.5px);
  --sp-section: clamp(52px, 6vw, 84px);
  --sp-block: clamp(26px, 3vw, 40px);
}


body { font-size: 15.5px; line-height: 1.75; }
.section { padding: var(--sp-section) 0; }
.section-tight { padding: calc(var(--sp-section) * .62) 0; }
.section-head { margin-bottom: var(--sp-block); }
.section-head h2 { font-size: var(--fs-h2); line-height: 1.28; }
.section-head .sub { font-size: var(--fs-lead); line-height: 1.7; }
.page-hero { padding: clamp(46px, 5vw, 76px) 0 clamp(30px, 3.4vw, 52px); }
.page-hero h1 { font-size: var(--fs-h1); line-height: 1.16; }
.page-hero .lead { font-size: var(--fs-lead); line-height: 1.7; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
p, li, td, th, summary { overflow-wrap: break-word; }

.grid > *, .feature-grid > *, .steps > *, .tile-grid > *, .matrix-wrap { min-width: 0; }


.doc-block h2, .doc-block h3, [id].anchor-target { scroll-margin-top: calc(var(--header-h) + 22px); }


.section-alt { background: var(--bg-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.qf-panel {
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: clamp(20px, 2.4vw, 30px);
  box-shadow: var(--shadow-sm);
}
.qf-panel-tint { background: var(--brand-grad-soft); border-color: var(--line); box-shadow: none; }

.card { position: relative; overflow: hidden; }
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--brand-grad); opacity: 0; transition: opacity .22s ease;
}
.card:hover::after { opacity: 1; }
.card .card-kicker {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-2); margin-bottom: 8px;
}


.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2);
}
.pill svg { width: 13px; height: 13px; }
.tier {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
  padding: 4px 9px; border-radius: 6px; border: 1px solid transparent;
}
.tier-free { background: rgba(5,150,105,.12); color: var(--ok); border-color: rgba(5,150,105,.28); }
.tier-pro { background: rgba(217,119,6,.13); color: var(--warn); border-color: rgba(217,119,6,.3); }
.tier-team { background: rgba(139,92,246,.14); color: #7c3aed; border-color: rgba(139,92,246,.3); }
[data-theme="dark"] .tier-team { color: #c4b5fd; }
.tier-soon { background: rgba(100,116,139,.14); color: var(--muted); border-color: rgba(100,116,139,.3); }

.card .card-kicker.tier { display: inline-flex; align-items: center; text-transform: none; letter-spacing: .02em; margin-bottom: 10px; }



.q42-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.q42-stat {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 18px 16px; text-align: center;
}
.q42-stat b { display: block; font-size: clamp(18px, 2.1vw, 25px); font-weight: 800; letter-spacing: -.02em; color: var(--brand); line-height: 1.2; overflow-wrap: anywhere; }
[data-theme="dark"] .q42-stat b { color: var(--brand-3); }
.q42-stat span { font-size: 12.5px; color: var(--muted); }


.callout {
  display: flex; gap: 12px; align-items: flex-start;
  border-radius: 12px; padding: 14px 17px; margin: 16px 0;
  border: 1px solid var(--line); background: var(--bg-2);
  font-size: 13.8px; color: var(--ink-2); line-height: 1.7;
}
.callout > .ci { flex: none; width: 20px; height: 20px; color: var(--brand); margin-top: 2px; }
.callout > .ci svg { width: 20px; height: 20px; }
.callout b { color: var(--ink); font-weight: 700; }
.callout-info { background: rgba(59,130,246,.08); border-color: rgba(59,130,246,.26); }
.callout-info > .ci { color: var(--accent); }
.callout-ok { background: rgba(5,150,105,.09); border-color: rgba(5,150,105,.28); }
.callout-ok > .ci { color: var(--ok); }
.callout-warn { background: rgba(217,119,6,.09); border-color: rgba(217,119,6,.3); }
.callout-warn > .ci { color: var(--warn); }
.callout-bad { background: rgba(220,38,38,.07); border-color: rgba(220,38,38,.26); }
.callout-bad > .ci { color: var(--bad); }


.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0; border-radius: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card); min-width: 720px; }
.tbl caption {
  caption-side: top; text-align: left; font-size: 12.5px; color: var(--muted);
  padding: 0 0 8px;
}
.tbl th, .tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.tbl thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--bg-2); color: var(--ink); font-size: 12.8px; font-weight: 700;
  letter-spacing: .02em; border-bottom: 1px solid var(--line);
}
.tbl tbody tr:hover { background: var(--brand-grad-soft); }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: none; }
.tbl th[scope="row"] { font-weight: 600; color: var(--ink); }
.tbl .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .cell-yes, .tbl .cell-no, .tbl .cell-part { text-align: center; white-space: nowrap; }
.tbl .cell-yes { color: var(--ok); font-weight: 700; }
.tbl .cell-no { color: var(--muted); }
.tbl .cell-part { color: var(--warn); font-weight: 600; font-size: 13px; }
.tbl .muted-cell { color: var(--muted); font-size: 13px; }
.tbl-col-hl { background: var(--brand-grad-soft); }


.matrix-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line-2); border-radius: var(--radius); }
.matrix { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; background: var(--card); }
.matrix th, .matrix td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); text-align: center; }
.matrix th:first-child, .matrix td:first-child { text-align: left; }
.matrix thead th { background: var(--bg-2); font-size: 13px; }
.matrix thead th.col-free { color: var(--ok); }
.matrix thead th.col-pro { color: var(--warn); }
.matrix thead th.col-team { color: #7c3aed; }
[data-theme="dark"] .matrix thead th.col-team { color: #c4b5fd; }
.matrix tbody tr:hover { background: var(--brand-grad-soft); }
.matrix .group td {
  background: var(--bg-2); text-align: left; font-weight: 700; font-size: 12.5px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--brand-2);
}
.matrix .yes { color: var(--ok); font-weight: 700; }
.matrix .no { color: var(--muted); }
.matrix .part { color: var(--warn); font-weight: 600; font-size: 13px; }
.matrix td small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; }


.cmp .yes svg { color: var(--ok); }
.cmp .no { color: var(--muted); }


.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile-grid.two { grid-template-columns: repeat(2, 1fr); }
.tile {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.tile-head { display: flex; align-items: flex-start; gap: 12px; }
.tile-ic {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand-grad-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.tile-ic svg { width: 21px; height: 21px; }
.tile h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.tile .tile-sub { font-size: 12.5px; color: var(--muted); }
.tile p { font-size: 14px; color: var(--muted); }
.tile .bullets { list-style: none; display: grid; gap: 8px; }
.tile .bullets li { position: relative; padding-left: 20px; font-size: 13.6px; color: var(--ink-2); }
.tile .bullets li::before {
  content: ""; position: absolute; left: 0; top: .48em;
  width: 8px; height: 8px; border-radius: 3px; background: var(--brand-2);
  box-shadow: 0 0 0 3px var(--brand-grad-soft);
}
.tile .tile-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); }


.limits { list-style: none; display: grid; gap: 10px; }
.limits li {
  position: relative; padding: 11px 15px 11px 40px; font-size: 13.8px; color: var(--ink-2);
  background: var(--bg-2); border: 1px dashed var(--line); border-radius: 10px;
}
.limits li::before {
  content: "!"; position: absolute; left: 14px; top: 11px;
  width: 17px; height: 17px; border-radius: 50%; font-size: 12px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--warn); border: 1.5px solid var(--warn);
}
.limits.tight li { padding-top: 9px; padding-bottom: 9px; font-size: 13.4px; }


.flow { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); counter-reset: q42flow; }
.flow-item {
  position: relative; background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 24px 22px 22px;
}
.flow-item .fi-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; margin-bottom: 12px;
  background: var(--brand-grad); color: #fff; font-size: 14px; font-weight: 700;
}
.flow-item h3 { font-size: 15.5px; margin-bottom: 6px; }
.flow-item p { font-size: 13.6px; color: var(--muted); }
.flow-item .fi-code {
  display: block; margin-top: 10px; font-family: Consolas, "Cascadia Code", monospace;
  font-size: 12.5px; color: var(--brand); background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px;
}


.kbd {
  display: inline-block; font-family: Consolas, "Cascadia Code", monospace;
  font-size: 12.5px; font-weight: 600; line-height: 1.5;
  padding: 4px 8px; border-radius: 6px; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line);
  border-bottom-width: 2px; white-space: nowrap;
}
.kbd-row { display: flex; align-items: center; gap: 14px; padding: 10px 2px; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.kbd-row:last-child { border-bottom: none; }
.kbd-row .kr-keys { flex: 0 0 190px; display: flex; flex-wrap: wrap; gap: 4px; }
.kbd-row .kr-act { color: var(--ink-2); min-width: 0; }
@media (max-width: 560px) { .kbd-row { flex-direction: column; align-items: flex-start; gap: 6px; } .kbd-row .kr-keys { flex-basis: auto; } }
kbd {
  display: inline-block; font-family: Consolas, "Cascadia Code", monospace; font-size: 12.5px;
  padding: 2px 8px; border-radius: 6px; background: var(--bg-2);
  border: 1px solid var(--line); border-bottom-width: 2px;
}


.prose { max-width: 780px; }
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: var(--fs-h3); margin-top: 34px; }
.prose h3 { font-size: 16.5px; margin-top: 26px; }
.prose ul, .prose ol { margin-left: 20px; }
.prose li { margin-bottom: 8px; color: var(--ink-2); }
.prose p { color: var(--ink-2); }
.doc-block { margin-bottom: clamp(26px, 3vw, 38px); }
.doc-block h2 { font-size: clamp(19px, 1.8vw, 23px); margin-bottom: 12px; letter-spacing: -.01em; }
.doc-block > p { color: var(--ink-2); }
.doc-block ul, .doc-block ol { margin: 10px 0 0 20px; }
.doc-block li { margin-bottom: 8px; color: var(--ink-2); font-size: 14.5px; }
.toc {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 16px 18px; margin-bottom: 26px;
}
.toc h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-2); margin-bottom: 10px; }
.toc ol { margin-left: 18px; }
.toc a { color: var(--ink-2); font-size: 14px; }
.toc a:hover { color: var(--brand); }
.docs-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 40px; }
.docs-sidebar .ds-group { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 6px; }


.doc-hub.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .doc-hub.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .doc-hub.four { grid-template-columns: 1fr; } }
.doc-cat ul { display: grid; }
.doc-cat li a { justify-content: flex-start; }


.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-stats .hs {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2);
  background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px;
}
.hero-stats .hs svg { width: 15px; height: 15px; color: var(--brand-2); }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px;
  font-size: 12.8px; color: var(--muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 14px; height: 14px; color: var(--ok); }
.hero-badge-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }


.verdict-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.verdict {
  background: var(--card); border: 1px solid var(--brand-2);
  border-radius: 12px; padding: 20px 22px;
}
.verdict h3 { font-size: 15.5px; margin-bottom: 8px; }
.verdict p { font-size: 13.8px; color: var(--muted); }
.verdict.is-alt { border-color: var(--accent); }


a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
  border-radius: 6px;
}
.btn:focus-visible { outline-offset: 3px; }


.bill-toggle { color: var(--muted); font-weight: 600; transition: background .18s ease, color .18s ease; }
.bill-toggle:hover { color: var(--brand); }
.bill-toggle.active { background: var(--card); color: var(--brand); box-shadow: var(--shadow-sm); }


:root {
  --scroll-thumb: rgba(15, 118, 110, .28);
  --scroll-thumb-hover: rgba(15, 118, 110, .48);
  --scroll-track: transparent;
}
[data-theme="dark"] {
  --scroll-thumb: rgba(45, 212, 191, .30);
  --scroll-thumb-hover: rgba(45, 212, 191, .55);
}


html { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) var(--scroll-track); }
html::-webkit-scrollbar { width: 10px; height: 10px; }
html::-webkit-scrollbar-track { background: var(--scroll-track); }
html::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb);
  border: 3px solid transparent; border-radius: 999px; background-clip: content-box;
}
html::-webkit-scrollbar-thumb:hover { background-color: var(--scroll-thumb-hover); }
html::-webkit-scrollbar-corner { background: transparent; }


.tbl-wrap, .table-scroll, .matrix-wrap, .code-block pre, .api-example, .qfo-body, .qf-table-wrap {
  scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}
.tbl-wrap::-webkit-scrollbar, .table-scroll::-webkit-scrollbar, .matrix-wrap::-webkit-scrollbar,
.code-block pre::-webkit-scrollbar, .api-example::-webkit-scrollbar,
.qfo-body::-webkit-scrollbar, .qf-table-wrap::-webkit-scrollbar { width: 9px; height: 9px; }
.tbl-wrap::-webkit-scrollbar-thumb, .table-scroll::-webkit-scrollbar-thumb, .matrix-wrap::-webkit-scrollbar-thumb,
.code-block pre::-webkit-scrollbar-thumb, .api-example::-webkit-scrollbar-thumb,
.qfo-body::-webkit-scrollbar-thumb, .qf-table-wrap::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb); border: 2px solid transparent;
  border-radius: 999px; background-clip: content-box;
}
.tbl-wrap::-webkit-scrollbar-thumb:hover, .table-scroll::-webkit-scrollbar-thumb:hover,
.matrix-wrap::-webkit-scrollbar-thumb:hover, .qf-table-wrap::-webkit-scrollbar-thumb:hover {
  background-color: var(--scroll-thumb-hover); background-clip: content-box;
}


.qf-table-wrap { overflow-x: auto; overflow-y: visible; max-height: none; }


.qfo-body { overscroll-behavior: contain; }


.dash-layout, .docs-layout { min-width: 0; }
.dash-layout > *, .docs-layout > * { min-width: 0; }
.dash-panels, .dash-panel, .dash-card, .dash-grid > * { min-width: 0; }
.plan-compare > *, .platform-grid > *, .stat-grid > * { min-width: 0; }
.pc-card, .pc-card ul, .pc-card li, .pc-price, .pc-name { min-width: 0; overflow-wrap: anywhere; }
.dash-row { flex-wrap: wrap; }
.api-example-wrap { min-width: 0; }
.api-example-wrap .api-example { min-width: 0; max-width: 100%; }
.qf-table-wrap { max-width: 100%; }
.dash-sidebar, .docs-sidebar { min-width: 0; }
@media (max-width: 560px) {
  .pc-price { font-size: 25px; }
  .dash-panel .qf-table { min-width: 520px; }
}


@media (max-width: 1100px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .q42-stats { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .tile-grid, .tile-grid.two, .q42-stats, .flow, .verdict-grid { grid-template-columns: 1fr; }
  .matrix { min-width: 560px; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .callout { padding: 12px 14px; }
  .q42-stat { padding: 15px 13px; }
  .qf-panel { padding: 18px 16px; }
  .tbl { min-width: 720px; }
}
@media (max-width: 420px) {
  .hero-stats .hs { font-size: 12.3px; padding: 6px 11px; }
  .pill { font-size: 11.4px; }
}

@media (max-width: 430px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .header-inner { gap: 6px; }
  .brand { font-size: 15.5px; gap: 8px; }
  .brand .logo { width: 28px; height: 28px; border-radius: 8px; }
  .brand .logo svg { width: 16px; height: 16px; }
  .nav-tools { gap: 4px; }
  .icon-btn { width: 32px; height: 32px; border-radius: 9px; }
  .icon-btn svg { width: 17px; height: 17px; }
  .lang-switch button { padding: 6px; font-size: 11px; }
  .qf-account { margin-right: 2px; }
  .qf-login-link { padding: 6px 9px; font-size: 12px; }
  .qf-nav-avatar { width: 28px; height: 28px; }
  .docs-sidebar a, .dash-sidebar a { font-size: 13px; padding: 8px 10px; }
}

@media (min-width: 1440px) {
  :root { --maxw: 1200px; }
}





.code-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); }
.code-lang { font-family: var(--font); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #7fd6c4; }
.code-copy { border: 1px solid rgba(255,255,255,.18); background: transparent; color: #cfe9e2; font-size: 12px; padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.code-copy:hover { border-color: var(--brand-2); color: #fff; }
.code-block pre { margin: 0; }
.ui-path, .cmd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; background: var(--bg-2); color: var(--brand-deep); padding: 2px 6px; border-radius: 6px; }
.doc-article .ui-path, .doc-article .mono-nowrap { white-space: nowrap; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.8px; background: var(--bg-2); color: var(--brand-deep); padding: 1px 4px; border-radius: 6px; }
.code-block code { background: transparent; color: var(--qf-code-text); padding: 0; }
.doc-article code { overflow-wrap: normal; word-break: normal; }


.guide-wrap { max-width: 1080px; margin-inline: auto; }
.guide-layout { display: flex; gap: 30px; align-items: flex-start; }
.guide-nav { flex: 0 0 216px; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; max-height: calc(100vh - 140px); overflow-y: auto; padding-right: 4px; }
/* R66 · 移除弧形装饰竖线
   原：border-left: 3px solid transparent + border-radius: 0 9px 9px 0
   —— 左侧单边竖条配合「右侧圆角」形成括号状装饰，属纯视觉装饰，
      删掉后信息量不变（选中态可由背景色 + 字重表达）。
   占位回收：原 padding: 9px 11px 中的左侧空间是为 3px 竖条预留的
      （11px = 3px 竖条 + 8px 内容间距）。竖条删除后若不改 padding，
      文字会整体左移 3px，与右侧 hover 态不对齐。现改为 10px 且保持对称。
   边框：transparent 边框本身不占视觉空间，删除后 box-sizing 不变，无需补偿。 */
.guide-nav-btn { display: flex; gap: 9px; align-items: flex-start; width: 100%; text-align: left; background: none; border: 0; border-radius: var(--ui-r-sm, 5px); padding: 9px 10px; font: inherit; font-size: 13.5px; line-height: 1.45; color: var(--muted); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.guide-nav-btn:hover { background: var(--bg-2); color: var(--ink); }
.guide-nav-btn.active { background: var(--brand-soft); color: var(--brand-deep); font-weight: 700; }
.gn-i { flex: none; width: 20px; font-size: 11.5px; font-weight: 700; opacity: .8; padding-top: 1px; }
.gn-t { min-width: 0; }
.guide-body { flex: 1; min-width: 0; }
.guide-chapter-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line-2); padding-bottom: 10px; margin-bottom: 22px; }
.guide-chapter-title { font-size: var(--fs-h2); margin: 0; }
.guide-progress { flex: none; font-size: 12.5px; color: var(--muted); }
.guide-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line-2); }
@media (max-width: 860px) {
  .guide-layout { flex-direction: column; gap: 16px; }
  .guide-nav { position: static; flex: none; max-height: none; flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 0; overflow: visible; }
  /* 窄屏：横排胶囊标签。R66 原有 `border-left: 0` 是为清除竖条而写的，
     竖条已删，该声明已成空操作，一并移除。 */
  .guide-nav-btn { width: auto; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
  .guide-nav-btn.active { border-color: var(--brand); }
  .gn-i { display: none; }
}


.doc-station-wrap { margin-top: 8px; }
.doc-station { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 26px; align-items: start; }
.doc-rail { position: sticky; top: 96px; max-height: calc(100vh - 140px); overflow-y: auto; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card); padding: 14px; }
.doc-rail-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.doc-rail-title { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.doc-rail-close { display: none; border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.doc-tree-group { margin-bottom: 14px; }
.doc-tree-h { font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin: 0 0 6px; }
.doc-tree-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
/* R66 · 移除 border-left: 2px solid transparent
   这是为「选中态显示左侧竖条」预留的空白，但 .doc-tree-link.active 从未用它
   （只用背景色 + 字重）。属于无主的占位边框，且 transparent 边框仍会撑开 2px
   宽度导致文字比同级元素右移 2px —— 删除后 padding 9px 保持不变即可对齐。
   同时把 .active 的渐变底改为纯色软底，与本轮去渐变方向一致。 */
.doc-tree-link { display: block; padding: 6px 9px; border-radius: 8px; font-size: 13.5px; color: var(--muted); }
.doc-tree-link:hover { background: var(--bg-2); color: var(--ink); }
.doc-tree-link.active { background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; }
.doc-tree-link.external-page::after { content: ' ↗'; font-size: 11px; opacity: .7; }
.doc-main { min-width: 0; }
.doc-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.doc-rail-open { display: none; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.doc-bc { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.doc-bc a { color: var(--muted); }
.doc-bc a:hover { color: var(--brand-deep); }
.doc-bc-cur { color: var(--ink); font-weight: 600; }
.doc-updated { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.doc-cols { display: grid; grid-template-columns: minmax(0, 1fr) 186px; gap: 26px; align-items: start; }
.doc-article { min-width: 0; }
.doc-sec { scroll-margin-top: calc(var(--header-h) + 30px); padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line-2); }
.doc-sec:last-of-type { border-bottom: 0; }
.doc-sec:focus { outline: none; }
.doc-sec-title { font-size: clamp(19px, 1.9vw, 23px); margin: 0 0 12px; }
.doc-article .doc-sub-h { font-size: 15px; font-weight: 700; letter-spacing: .01em; margin: 18px 0 6px; color: var(--ink); }
.doc-article p, .doc-article li { color: var(--ink-2); }
.doc-article ul { margin: 10px 0 0 20px; }
.doc-article li { margin-bottom: 8px; font-size: 14.5px; line-height: 1.6; padding-left: 4px; }
.doc-article ul > li { padding-left: 4px; }
.doc-article li::marker { color: var(--brand-deep); }
.doc-article p code, .doc-article li code { padding: 1px 5px; border-radius: 4px; background: var(--brand-grad-soft, #eef6f4); font-size: 12.5px; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.nf-chip, .dash-chip, .qf-filter-chip { white-space: nowrap; flex-shrink: 0; }
.notif-item { display: flex; align-items: flex-start; gap: 10px; }
.notif-sel { flex: 0 0 auto; padding-top: 4px; }
.notif-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; }
.notif-ov-card { background: #fff; max-width: 640px; width: 100%; max-height: 85vh; overflow: auto; border-radius: 12px; padding: 20px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.notif-ov-meta { color: #666; font-size: 12.5px; margin: 6px 0 12px; }
.notif-ov-body { line-height: 1.7; word-wrap: break-word; overflow-wrap: anywhere; }
.notif-ov-foot { margin-top: 16px; }
.qf-avatar-btn { border: 0; background: transparent; padding: 0; margin: 0; display: inline-flex; align-items: center; justify-content: center; height: 32px; line-height: 1; vertical-align: middle; cursor: pointer; }
.qf-avatar-btn img { width: 30px; height: 30px; border-radius: 50%; display: block; }
@media (max-width: 600px) { .doc-article p code, .doc-article li code { white-space: normal; overflow-wrap: anywhere; } }
.doc-sec-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }
.doc-toc { position: sticky; top: 96px; font-size: 13px; }
.doc-toc-title { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.doc-toc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; border-left: 2px solid var(--line-2); }
.doc-toc-link { display: block; padding: 4px 0 4px 10px; color: var(--muted); }
.doc-toc-link:hover { color: var(--ink); }
.doc-toc-link.active { background: var(--brand-grad-soft); color: var(--brand-deep); font-weight: 600; }
@media (max-width: 1080px) {
  .doc-cols { grid-template-columns: minmax(0, 1fr); }
  .doc-toc { display: none; }
}
@media (max-width: 860px) {
  .doc-station { grid-template-columns: minmax(0, 1fr); }
  .doc-rail { position: fixed; inset: 0 auto 0 0; width: min(320px, 86vw); max-height: none; z-index: 1001; border-radius: 0; transform: translateX(-102%); transition: transform .18s ease; box-shadow: var(--shadow-lg); }
  .doc-rail.open { transform: translateX(0); }
  .doc-rail-close { display: block; }
  .doc-rail-open { display: inline-flex; }
}


.faq-container { max-width: 900px; }
.faq-hero-bar { margin-bottom: 18px; }
.faq-hero-title { font-size: clamp(19px, 1.9vw, 23px); margin: 0 0 8px; }
.faq-search-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.faq-input { flex: 1 1 260px; min-width: 0; }
.faq-count { font-size: 12.5px; color: var(--muted); }
.faq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.faq-chip { border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2); border-radius: 999px; padding: 6px 13px; font: inherit; font-size: 13px; cursor: pointer; }
.faq-chip:hover { border-color: var(--brand-2); color: var(--ink); }
.faq-chip.active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-deep); font-weight: 600; }
.faq-list { margin-top: 26px; display: grid; gap: 26px; }
.faq-cat-title { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0 0 10px; color: var(--ink); }
.faq-cat-n { font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--bg-2); border-radius: 999px; padding: 1px 8px; }
.faq-item { border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card); margin-bottom: 8px; }
.faq-item[open] { border-color: var(--brand-2); }
.faq-q { cursor: pointer; padding: 13px 16px; font-weight: 600; font-size: 14.5px; color: var(--ink); list-style: none; display: flex; gap: 10px; align-items: flex-start; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::before { content: '+'; flex: none; width: 14px; color: var(--brand); font-weight: 800; }
.faq-item[open] .faq-q::before { content: '−'; }
.faq-item:focus-within { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.faq-q:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: var(--radius-sm); }
.faq-a { padding: 0 16px 15px 40px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.faq-empty { color: var(--muted); font-size: 14px; padding: 18px 0; }
.faq-deeper { margin-top: 34px; border-top: 1px solid var(--line-2); padding-top: 20px; }
.faq-deeper h3 { font-size: 15px; margin: 0 0 10px; }
.faq-deeper-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.faq-deeper-list a { color: var(--brand-deep); font-size: 14px; }
.faq-exit { margin-top: 30px; text-align: center; }
.faq-exit-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }


.sup-triage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sup-step { display: block; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card); padding: 18px; color: inherit; transition: transform .15s ease, border-color .15s ease; }
.sup-step:hover { transform: translateY(-2px); border-color: var(--brand-2); }
.sup-step-n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); font-weight: 800; font-size: 14px; }
.sup-step h3 { font-size: 15.5px; margin: 10px 0 6px; }
.sup-step p { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin: 0 0 12px; }
.sup-step-a { font-size: 13px; font-weight: 700; color: var(--brand-deep); }
.sup-diag { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.sup-diag-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
.sup-diag-card { border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card); padding: 14px 16px; }
.sup-diag-card h3 { font-size: 14px; margin: 0 0 6px; }
.sup-diag-card p { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; overflow-wrap: anywhere; }
.checklist-card { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card); padding: 18px; }
.cl-title { font-size: 15.5px; margin: 0 0 6px; }
.cl-intro { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0 0 12px; }
.cl-pre { background: var(--qf-code-bg); color: var(--qf-code-text); border-radius: var(--radius-sm); padding: 14px 16px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow: auto; margin: 0 0 12px; }
.cl-copy { margin-bottom: 10px; }
.cl-note { font-size: 12.5px; color: var(--muted); margin: 0; }
@media (max-width: 1080px) {
  .sup-triage { grid-template-columns: minmax(0, 1fr); }
  .sup-diag { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .sup-diag-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
}


.doc-tree-pages { margin-top: 4px; }
.doc-tree-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.doc-tree-chip { display: inline-block; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; color: var(--muted); background: var(--bg-2); }
.doc-tree-chip:hover { border-color: var(--brand-2); color: var(--ink); }


.doc-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 18px; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); background: var(--bg-2); }
.doc-pages-h { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.doc-page-chip { display: inline-block; border: 1px solid var(--line-2); background: var(--card); border-radius: 999px; padding: 4px 11px; font-size: 13px; color: var(--ink-2); }
.doc-page-chip:hover { border-color: var(--brand-2); color: var(--ink); }


.doc-rail { padding: 12px; }
.doc-tree-group { margin-bottom: 9px; }
.doc-tree-h { font-size: 11.5px; margin: 0 0 4px; }
.doc-tree-link { padding: 4px 8px; font-size: 13px; line-height: 1.45; }


.contact-list { margin: 10px 0 0 20px; padding: 0; font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.contact-list li + li { margin-top: 6px; }
.contact-list code { overflow-wrap: anywhere; }

.contact-channels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 820px; margin-inline: auto; }
.contact-channel-main { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card); padding: 22px; }
.contact-channel-main h3 { font-size: 15.5px; margin: 0 0 4px; }
.contact-mail-row { margin: 8px 0 14px; }
.contact-mail-row code { font-size: 14px; padding: 4px 10px; color: var(--ink); font-weight: 600; }
.contact-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.contact-topic { border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink-2); border-radius: 999px; padding: 4px 11px; font-size: 12.5px; }
.contact-facts { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card); padding: 8px 18px; }
.contact-facts .fact-row { flex-wrap: wrap; }
.form-status { margin: 0; }
.form-status:empty { display: none; }
.form-status .callout { margin: 14px 0 0; }
.form-status .callout > div > *:last-child { margin-bottom: 0; }
.form-status .callout .form-hint { margin-top: 6px; }
.form-status .callout a.btn { margin-top: 10px; }




.dash-subpanel { display: none; }
.dash-subpanel.active { display: block; }


.dash-state[hidden], .dash-row[hidden], .dash-note[hidden], .dash-subpanel[hidden], .dash-panel[hidden] { display: none; }
.dash-layout [hidden] { display: none !important; }


.dash-sidebar a { display: block; padding: 8px 12px; border-radius: 9px; font-size: 14px; color: var(--ink-2, #334155); border: 1px solid transparent; }
.dash-sidebar a:hover { color: var(--brand, var(--qf-primary)); background: var(--brand-grad-soft); }
.dash-sidebar a.active,
.dash-sidebar a[aria-current="page"] { color: var(--brand, var(--qf-primary)); background: var(--brand-grad-soft); font-weight: 600; }
.dash-sidebar #logoutLink { margin-top: 6px; color: var(--muted, #64748b); }


.dash-plan-strip { margin-top: 14px; padding: 12px; border: 1px dashed var(--line, rgba(15, 118, 110, .14)); border-radius: var(--radius-sm, 10px); background: var(--bg-2, var(--qf-surface-hover)); }
.dash-plan-strip .dps-h { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-2, var(--qf-primary-hover)); margin-bottom: 8px; }
.dash-plan-strip .dps-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted, #64748b); }
.dash-plan-strip .dps-row + .dps-row { margin-top: 6px; }
.dash-plan-strip .dps-msg { margin-top: 8px; font-size: 12px; color: var(--bad, #dc2626); line-height: 1.6; }


.dash-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.dash-panel-head h2 { font-size: 19px; margin: 0; }
.dash-panel-head p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted, #64748b); line-height: 1.7; max-width: 68ch; }


.dash-subtabs { display: inline-flex; gap: 4px; background: var(--bg-2, var(--qf-surface-hover)); padding: 4px; border-radius: 10px; margin: 0 0 18px; max-width: 100%; overflow-x: auto; }
.dash-subtab { border: none; background: transparent; font-size: 13px; font-weight: 600; color: var(--muted, #64748b); padding: 8px 16px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.dash-subtab[aria-selected="true"] { background: var(--card, #fff); color: var(--brand, var(--qf-primary)); box-shadow: var(--shadow-sm, 0 1px 2px rgba(15, 23, 42, .05)); }
.dash-subtabs a { display: inline-block; font-size: 13px; font-weight: 600; color: var(--muted, #64748b); padding: 8px 16px; border-radius: 7px; white-space: nowrap; text-decoration: none; }
.dash-subtabs a:hover { background: var(--card, #fff); color: var(--brand, var(--qf-primary)); }
.dash-op-h { font-size: 15.5px; font-weight: 700; color: var(--ink); margin: 26px 0 10px; scroll-margin-top: 96px; }
.dash-op-h:first-of-type { margin-top: 0; }
.qf-tech-info { border: 1px solid var(--line-2); border-radius: var(--radius-sm, 10px); background: var(--bg-2, var(--qf-surface-hover)); margin: 14px 0 0; padding: 0 14px; }
.qf-tech-info > summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 10px 0; }
.qf-tech-info[open] > summary { border-bottom: 1px solid var(--line-2); margin-bottom: 10px; }
.qf-tech-info ul { margin: 0 0 10px; padding-left: 20px; }
.qf-tech-info li { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.qf-tech-info .tbl-wrap { margin-bottom: 10px; }
.nb { white-space: nowrap; }
.nb-keep { word-break: keep-all; }
table.matrix tbody th { white-space: nowrap; }
table.matrix tbody td.part { white-space: nowrap; }
.callout a, .form-hint a { white-space: nowrap; }
table.tbl thead th, table.tbl tbody th { white-space: nowrap; }
table.tbl td a { white-space: nowrap; }


.dash-state { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px dashed var(--line, rgba(15, 118, 110, .14)); border-radius: var(--radius-sm, 10px); background: var(--bg-2, var(--qf-surface-hover)); font-size: 13px; color: var(--ink-2, #334155); }
.dash-state-ic { flex: none; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; background: var(--bg, var(--qf-bg)); color: var(--muted, #64748b); }
.dash-state-txt { flex: 1; min-width: 0; }
.dash-state-txt b { display: block; color: var(--ink, #0f172a); font-size: 13.5px; margin-bottom: 4px; }
.dash-state-txt p { margin: 0; color: var(--muted, #64748b); font-size: 12.5px; line-height: 1.7; overflow-wrap: anywhere; }
.dash-state-txt p + p { margin-top: 4px; }
.dash-state[data-state="unavailable"] { border-color: rgba(220, 38, 38, .38); background: rgba(220, 38, 38, .06); }
.dash-state[data-state="unavailable"] .dash-state-ic { background: rgba(220, 38, 38, .12); color: var(--bad, #dc2626); }
.dash-state[data-state="unavailable"] .dash-state-txt b { color: var(--bad, #dc2626); }
.dash-state[data-state="empty"] { border-style: solid; border-color: var(--line-2, rgba(15, 118, 110, .08)); background: transparent; color: var(--muted, #64748b); }
.dash-state[data-state="empty"] .dash-state-ic { background: transparent; }
.dash-state[data-state="loading"] { border-style: solid; background: transparent; }
.dash-state .btn { flex: none; align-self: center; }


.stat-card[data-state="unavailable"] { border-color: rgba(220, 38, 38, .34); }
.stat-card[data-state="unavailable"] .stat-num { color: var(--bad, #dc2626); }
.stat-note { font-size: 11.5px; color: var(--muted, #64748b); margin-top: 4px; line-height: 1.5; }
.stat-card[data-state="unavailable"] .stat-note { color: var(--bad, #dc2626); }


.attn-list { display: flex; flex-direction: column; gap: 9px; }
.attn-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2, #334155); }
.attn-item .attn-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--warn, #d97706); }
.attn-item.bad .attn-dot { background: var(--bad, #dc2626); }
.attn-item.ok .attn-dot { background: var(--ok, #059669); }
.attn-item a { margin-left: auto; font-size: 12.5px; color: var(--brand, var(--qf-primary)); white-space: nowrap; }


.dash-row > label:first-child { color: var(--muted, #64748b); font-size: 13.5px; }


.dash-avatar-img { display:block; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center center; vertical-align: middle; background: var(--bg-2, var(--qf-surface-hover)); flex: none; align-self: center; }
.dash-avatar-img[data-state="unavailable"] { border: 1px dashed var(--bad, #dc2626); }


.dash-note { font-size: 12.5px; color: var(--muted, #64748b); line-height: 1.7; margin: 8px 0 0; }
.dash-note:empty { display: none; }
.dash-note.bad { color: var(--bad, #dc2626); }
.dash-hint-inline { font-size: 12px; color: var(--muted, #64748b); }

.dash-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; }

@media (max-width: 900px) {
  .dash-plan-strip { margin-top: 10px; }
}
@media (max-width: 768px) {
  .dash-subtabs { display: flex; width: 100%; }
  .dash-subtab { flex: 1 1 auto; text-align: center; }
  .attn-item { flex-wrap: wrap; }
  .attn-item a { margin-left: 18px; }
}
@media (max-width: 480px) {
  .dash-state { flex-wrap: wrap; }
  .dash-state .btn { width: 100%; }
  .dash-panel-head h2 { font-size: 17px; }
  .dash-avatar-img { width: 56px; height: 56px; }
}

@media (max-width: 430px) {
  .docs-sidebar a, .dash-sidebar a { font-size: 13px; padding: 8px 10px; }
}

@media (min-width: 1241px) {
  .nav-links { gap: 4px; }
}
@media (min-width: 1001px) and (max-width: 1240px) {
  .header-inner { gap: 10px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 8px 9px; font-size: 13.4px; }
  .nav-tools { gap: 6px; }
  .lang-switch button { padding: 8px 8px; font-size: 12px; }
}
@media (min-width: 1001px) and (max-width: 1120px) {
  .header-inner { gap: 8px; }
  .nav-links a { padding: 8px 8px; font-size: 13px; }
  .brand { font-size: 16.5px; gap: 8px; }
  .brand .logo { width: 28px; height: 28px; border-radius: 8px; }
  .brand .logo svg { width: 16px; height: 16px; }
  .lang-switch button { padding: 8px 6px; font-size: 11.5px; }
  .qf-login-link { padding: 8px 9px; font-size: 12.4px; }
  .qf-account { gap: 4px; }
}
@media (max-width: 1140px) {
  .nav-links {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 20px 18px; gap: 2px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: inline-flex; }
}

.section-head h3 {
  font-size: clamp(19px, 2.1vw, 24px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 10px;
}
.section-head h2 + .sub, .section-head h3 + .sub { margin-top: 0; }
.doc-sec-title { font-size: clamp(21px, 2.2vw, 26px); }
.doc-body .doc-block h2 {
  font-size: clamp(16.5px, 1.5vw, 18px); letter-spacing: -.005em;
  padding-top: 14px; border-top: 1px solid var(--line-2);
}
.doc-body .doc-block:first-child h2 { border-top: 0; padding-top: 0; }
.doc-sec .guide-chapter-title { font-size: clamp(18.5px, 1.7vw, 21px); }
.faq-container { max-width: 780px; margin-inline: auto; }
.merged-narrow { max-width: 820px; margin-inline: auto; }
.merged-link-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }

.footer-social {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-2);
}
.footer-social[hidden] { display: none; }
.footer-social-h { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-right: 6px; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0; border-radius: 11px;
  border: 1px solid var(--line-2); background: var(--card); color: var(--muted);
  cursor: pointer; transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.social-btn:hover { color: var(--brand); border-color: var(--brand-2); background: var(--brand-grad-soft); transform: translateY(-1px); }
.social-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.social-btn svg { width: 19px; height: 19px; display: block; }
.qf-qr-mask {
  position: fixed; inset: 0; z-index: 320; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(15, 23, 42, .62);
}
.qf-qr-card {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 18px 18px 14px; width: 100%; max-width: 320px; text-align: center; box-shadow: var(--shadow);
}
.qf-qr-title { font-size: 14.5px; font-weight: 700; margin: 0 0 12px; }
.qf-qr-img { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--bg-2); }
.qf-qr-x { margin-top: 14px; }
@media (max-width: 560px) {
  .footer-social { gap: 8px; margin-top: 24px; padding-top: 18px; }
  .social-btn { width: 34px; height: 34px; border-radius: 9px; }
  .social-btn svg { width: 17px; height: 17px; }
}

.header .lang-switch { height: 38px; }
.header .icon-btn { height: 38px; }
.header .qf-login-link {
  height: 38px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
}
.header .lang-switch button { white-space: nowrap; line-height: 1; }
@media (min-width: 1001px) and (max-width: 1240px) {
  .header .lang-switch button { padding: 0 8px; }
  .header .qf-login-link { padding: 0 9px; }
}
@media (max-width: 1140px) {
  .header .lang-switch button { padding: 0 9px; }
}
@media (max-width: 430px) {
  .header .lang-switch, .header .icon-btn, .header .qf-login-link { height: 32px; }
  .header .lang-switch button { padding: 0 8px; min-width: 32px; }
}

@media (max-width: 1140px) {
  .header .lang-switch, .header .icon-btn, .header .qf-search-btn, .header .qf-login-link {
    height: 46px; box-sizing: border-box;
  }
  .header .icon-btn, .header .qf-search-btn { width: 44px; }
  .header .qf-login-link { min-width: 44px; }
  .header .lang-switch { border-radius: 12px; }
  .header .lang-switch button { min-width: 44px; min-height: 44px; padding: 0 10px; }
  .header .nav-links a { padding: 13px 14px; min-height: 44px; display: flex; align-items: center; }
  .brand { min-height: 44px; min-width: 44px; }
  .qf-chip, .qf-obtn, .btn-sm, .qf-filter-chip { min-height: 44px; }
  .doc-page-chip, .faq-chip, .bill-toggle, .mirror-chip, .code-copy { min-height: 44px; }
  .faq-chip, .qf-filter-chip { min-width: 44px; }
  .doc-page-chip, .mirror-chip, .bill-toggle { display: inline-flex; align-items: center; }
  .faq-item summary, .price-faq > details > summary { min-height: 44px; display: flex; align-items: center; }
  .auth-mode-btn, .auth-sub-btn, .seg button, .guide-nav-btn, .doc-rail-open, .doc-rail-close, .link-list a, .doc-bc a, .doc-cat a, .footer-bottom a { min-height: 44px; }
  .doc-pages a { min-width: 44px; }
  .link-list a { min-height: 44px; display: flex; align-items: center; }
  .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .doc-rail-open, .doc-rail-close, .auth-sub-btn, nav a { display: inline-flex; align-items: center; }
  .doc-rail-close, .doc-rail-open { justify-content: center; }
  .doc-rail-close { min-width: 44px; }
  input[type="hidden"] { font-size: 16px; }
  .qf-search-input, .form-input, .form-select, .form-textarea, .hp-input,
  .qf404-search input, .qf-search-page-form .qf-search-input { font-size: 16px; }
}
@media (max-width: 560px) {
  .header .lang-switch button { min-width: 44px; padding: 0 8px; }
  .qf-search-page-form .btn { min-height: 44px; }
  .qf-sr-link { padding: 12px 10px; }
}

@media (max-width: 560px) {
  .header-inner { gap: 4px; }
  .brand { font-size: 15px; gap: 6px; flex: 0 1 auto; min-width: 44px; }
  .brand .logo { width: 26px; height: 26px; border-radius: 8px; }
  .nav-tools { gap: 4px; }
  .header .lang-switch button { min-width: 44px; padding: 0 4px; font-size: 11.5px; letter-spacing: -.02em; }
  .header .icon-btn, .header .qf-search-btn { width: 44px; height: 46px; }
  .header .qf-login-link { padding: 0 8px; font-size: 12px; }
  .qf-account { margin-right: 0; }
  .lang-switch { gap: 1px; background: var(--line); }
  .lang-switch button { background: var(--card); }
  .lang-switch button.on { background: var(--brand-grad); }
  .container { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 380px) {
  .brand { font-size: 0; gap: 0; }
  .brand .logo { width: 30px; height: 30px; }
  .header .lang-switch button { min-width: 44px; padding: 0 2px; font-size: 11px; }
  .header .icon-btn, .header .qf-search-btn { width: 44px; }
  .nav-tools { gap: 2px; }
}
@media (max-width: 430px) {
  :root { --header-h: 104px; }
  .header-inner { flex-wrap: wrap; height: auto; min-height: var(--header-h); row-gap: 2px; padding-top: 4px; padding-bottom: 4px; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .nav-tools { flex: 1 1 auto; min-width: 0; flex-wrap: wrap; justify-content: flex-end; row-gap: 2px; }
  .doc-sec, .doc-block h2, .doc-block h3, [id].anchor-target { scroll-margin-top: calc(var(--header-h) + 12px); }
}

.plg-filters { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.plg-filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plg-filter-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.plg-count { font-size: 13px; color: var(--muted); margin: 6px 0 12px; }
.plg-state { font-size: 14px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 18px 20px; }
.plg-state[hidden] { display: none; }
.plg-state-msg { margin: 0 0 4px; font-weight: 600; color: var(--ink); }
.plg-state-hint { margin: 0 0 12px; color: var(--muted); }
.plg-state-actions { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.plg-state[data-state="loading"] { border-style: dashed; }
.plg-state[data-state="error"] { border-color: var(--bad); }
.plg-state-spin { display: inline-block; width: 14px; height: 14px; margin-right: 8px; border: 2px solid var(--line); border-top-color: var(--brand); border-radius: 50%; vertical-align: -2px; animation: plgspin .8s linear infinite; }
@keyframes plgspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .plg-state-spin { animation: none; } }
.plg-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.plg-card { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.plg-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.plg-name { margin: 0; font-size: 16.5px; font-weight: 800; overflow-wrap: anywhere; }
.plg-summary { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.6; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.plg-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.plg-perms { display: flex; flex-wrap: wrap; gap: 6px; }
.plg-perm { font-size: 11.5px; padding: 4px 9px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line-2); overflow-wrap: anywhere; }
.plg-more-row { margin-top: 16px; }
.plg-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-top: 10px; }
.plg-crumb a { color: var(--brand); }
.plg-detail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.plg-detail-head h1 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); }
.plg-body { margin: 14px 0 6px; font-size: 15px; line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; }
.plg-body p { margin: 0 0 10px; }
.plg-h2 { font-size: 17px; font-weight: 800; margin: 22px 0 10px; }
.plg-perm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.plg-perm-list li { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; font-size: 14px; }
.plg-perm-list code { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; background: var(--bg-2); border-radius: 6px; padding: 2px 8px; }
.plg-log { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line-2); }
.plg-log li { padding: 6px 0; font-size: 13.5px; overflow-wrap: anywhere; }
.plg-log-date { margin-left: 10px; color: var(--muted); font-size: 12.5px; }
.plg-log p { margin: 4px 0 0; color: var(--ink-2); }
.plg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.plg-muted { font-size: 13.5px; color: var(--muted); }
@media (max-width: 560px) {
  .plg-list { grid-template-columns: 1fr; }
  .plg-card { padding: 14px; }
  .plg-filters { gap: 10px; }
}
.captcha-slot { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 65px; margin: 2px 0 14px; }
/* 占位整行占满、居中、强制单行（禁止词中折断/竖排）；error 态字号略缩以保证窄档单行不溢出。 */
.captcha-slot .captcha-ph { flex: 1 1 auto; min-width: 0; font-size: 12px; line-height: 1.4; color: var(--muted); text-align: center; white-space: nowrap; overflow: visible; }
.captcha-slot[data-state="unavailable"] .captcha-ph, .captcha-slot[data-state="error"] .captcha-ph { color: var(--bad); }
.captcha-slot iframe { max-width: 100%; }
/* expired/timeout/error/unavailable 时只显占位文本、隐藏 Turnstile iframe，避免二者同一 flex 行并排重叠。 */
.captcha-slot[data-state="expired"] iframe,
.captcha-slot[data-state="timeout"] iframe,
.captcha-slot[data-state="error"] iframe,
.captcha-slot[data-state="unavailable"] iframe { display: none !important; }
/* 开关关时 JS 置 el.hidden；本类 display:flex 会盖过 UA [hidden]，故显式兜底隐藏（连同“正在加载…”占位文本）。 */
.captcha-slot[hidden] { display: none !important; }
@media (max-width: 400px) {
  .captcha-slot { min-height: 78px; }
}
@media (max-width: 900px) {
  .dash-sidebar a { min-height: 44px; display: inline-flex; align-items: center; }
  .dash-subtab { min-height: 44px; }
}
.dev-scope-box { border: 1px solid var(--line-2); border-radius: var(--radius-sm, 10px); padding: 12px 14px; margin: 14px 0 0; }
.dev-scope-box legend { padding: 0 6px; }
.dev-scope-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin-top: 6px; }
.dev-scope-item { display: flex; align-items: center; gap: 8px; font-size: 13px; min-height: 32px; }
.dev-scope-item input { width: 18px; height: 18px; flex: none; }
.dev-scope-txt { display: flex; flex-direction: column; min-width: 0; }
.dev-scope-label { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
  .dev-scope-list { grid-template-columns: 1fr; }
  .dev-scope-item { min-height: 44px; }
  .dev-scope-item input { width: 22px; height: 22px; }
}

.dev-verify-state { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.dev-verify-state p { margin: 0; font-size: 13px; color: var(--muted); width: 100%; }
.dev-state-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.dev-state-pill.ok { background: rgba(15, 118, 110, .12); color: var(--brand); }
.dev-state-pill.bad { background: rgba(220, 38, 38, .12); color: var(--bad); }
.dev-state-pill.wait { background: rgba(217, 119, 6, .14); color: #b45309; }
.dev-agree { display: flex; align-items: center; gap: 8px; font-size: 13px; min-height: 32px; flex-wrap: wrap; }
.dev-agree input { width: 18px; height: 18px; flex: none; }
@media (max-width: 640px) {
  .dev-agree { min-height: 44px; }
  .dev-agree input { width: 22px; height: 22px; }
}
.dev-block { border-top: 1px dashed var(--line-2); padding-top: 12px; margin-top: 12px; }
.dev-block:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.dev-block-h { font-size: 13.5px; font-weight: 700; margin: 0 0 10px; }
.dev-type { border: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.dev-radio { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; min-height: 32px; }
.dev-radio input { width: 18px; height: 18px; flex: none; }
.dev-radio span { white-space: nowrap; }
.dev-privacy { font-size: 12px; color: var(--muted); margin: 8px 0 0; line-height: 1.7; }
@media (max-width: 640px) {
  .dev-radio { min-height: 44px; }
  .dev-radio input { width: 22px; height: 22px; }
}

.qf-time { font-size: 12.5px; color: var(--muted); }
.qf-time-rel { color: var(--muted); }
.qf-time-empty { color: var(--muted); }
.notif-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.notif-unread { font-size: 13px; font-weight: 700; color: var(--brand); margin-right: auto; }
.notif-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--bad, #dc2626); color: #fff; font-size: 11.5px; font-weight: 700; }
.notif-item { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); cursor: pointer; }
.notif-item:last-child { border-bottom: none; }
.notif-item.is-read { opacity: .68; }
.notif-dot { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--muted); }
.notif-dot.lv-info { background: #0ea5e9; }
.notif-dot.lv-success { background: var(--brand, var(--qf-primary)); }
.notif-dot.lv-warning { background: #d97706; }
.notif-dot.lv-danger { background: var(--bad, #dc2626); }
.notif-main { flex: 1; min-width: 0; }
.notif-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.notif-head b { font-size: 13.5px; overflow-wrap: anywhere; }
.notif-meta { font-size: 12px; color: var(--muted); }
.notif-read-tag { font-size: 11.5px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 8px; }
.notif-unread-tag { font-size: 11.5px; color: var(--brand); border: 1px solid currentColor; border-radius: 999px; padding: 1px 8px; }
.notif-body { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; white-space: pre-wrap; }
.notif-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
@media (max-width: 640px) {
  .notif-item { min-height: 44px; }
  .notif-toolbar .btn { min-height: 44px; }
}

.remember-row { display: flex; align-items: center; gap: 8px; font-size: 13px; min-height: 32px; margin: 4px 0 0; }
.remember-row input { width: 18px; height: 18px; flex: none; }
.remember-row > span { white-space: nowrap; }
.remember-note { font-size: 12px; color: var(--muted); margin: 4px 0 12px; line-height: 1.7; }
@media (max-width: 640px) {
  .remember-row { min-height: 44px; }
  .remember-row input { width: 22px; height: 22px; }
}

.pf-note { font-size: 12px; color: var(--muted); margin: 2px 0 10px; line-height: 1.7; }

.auth-card .form-group { margin-bottom: 12px; }
.auth-card .form-group > .form-input { height: 45px; }
.auth-card .form-label { line-height: 16px; word-break: keep-all; overflow-wrap: normal; }
.auth-card .btn-primary { height: 43px; }
.auth-card .captcha-slot { height: 80px; margin: 8px 0 12px; }
.form-label { display: block; font-weight: 600; margin-bottom: 6px; white-space: nowrap; }
.form-label .req { color: #d33; margin-left: 2px; }
.form-input, .form-select, .form-textarea { width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid #d4d4d8; border-radius: 8px; font-size: 14px; }
.form-textarea { min-height: 120px; resize: vertical; }
.form-hint { color: #666; font-size: 12.5px; }
/* R66 · 原 .form-hint[id$="Secrets"]（黄底 + 左侧 3px 橙条）已删除。
   两个原因：1) 左侧竖条属装饰；2) 该属性选择器匹配的是 id 以 "Secrets" 结尾的
   .form-hint 元素，而 support.html 实际用的是 .callout#contactSecrets（id 不以
   Secrets 结尾），全站无元素命中此规则 —— 属死规则。
   相应的警示语义由 .callout-warn 承载（已改为顶部色条）。 */
