/* =====================================================================
   Center-Agentplc — Industrial Command Center
   Dark glassmorphism · neon gradient · dynamic tech portal
   ===================================================================== */

:root {
  color-scheme: dark;

  /* base */
  --bg-0: #05080f;
  --bg-1: #080d1a;
  --bg-2: #0b1122;

  /* glass surfaces */
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --surface-3: rgba(255, 255, 255, 0.11);
  --surface-solid: #0c1322;

  /* lines */
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --hairline: rgba(255, 255, 255, 0.06);

  /* text */
  --text: #e9eefb;
  --muted: #97a8c6;
  --muted-2: #6a7b9a;

  /* accents */
  --cyan: #22d3ee;
  --teal: #2dd4bf;
  --teal-deep: #0d9488;
  --blue: #3b82f6;
  --blue-soft: #60a5fa;
  --violet: #8b5cf6;
  --amber: #f59e0b;
  --green: #34d399;
  --red: #fb7185;

  --grad-primary: linear-gradient(135deg, #22d3ee 0%, #2dd4bf 42%, #3b82f6 100%);
  --grad-text: linear-gradient(115deg, #6ee7d3 0%, #38bdf8 45%, #a78bfa 100%);
  --grad-amber: linear-gradient(135deg, #fbbf24, #f59e0b);
  --grad-danger: linear-gradient(135deg, #fb7185, #f43f5e);

  --glow-cyan: 0 0 24px -6px rgba(34, 211, 238, 0.55);
  --glow-soft: 0 18px 60px -28px rgba(0, 0, 0, 0.85);
  --shadow-card: 0 24px 70px -34px rgba(0, 0, 0, 0.9);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 9px;

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-head: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Consolas", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 12% -8%, rgba(45, 212, 191, 0.10), transparent 55%),
    radial-gradient(1100px 680px at 92% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
    radial-gradient(900px 600px at 50% 120%, rgba(139, 92, 246, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  color: var(--text);
  font: 15px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
[hidden] { display: none !important; }

::selection { background: rgba(45, 212, 191, 0.30); color: #fff; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.4), rgba(59, 130, 246, 0.4));
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.6), rgba(59, 130, 246, 0.6));
  background-clip: padding-box;
}

code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 0.18rem 0.45rem;
  border: 0;
  border-radius: 7px;
  background: rgba(34, 211, 238, 0.06);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.18);
  color: #8fe9ef;
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =====================================================================
   Animated background field
   ===================================================================== */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  will-change: transform;
}
.orb-1 {
  width: 520px; height: 520px;
  top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.55), transparent 65%);
  animation: drift1 26s var(--ease) infinite;
}
.orb-2 {
  width: 620px; height: 620px;
  top: -120px; right: -180px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.5), transparent 65%);
  animation: drift2 32s var(--ease) infinite;
}
.orb-3 {
  width: 540px; height: 540px;
  bottom: -220px; left: 38%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.42), transparent 65%);
  animation: drift3 38s var(--ease) infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 90px) scale(1.12); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-110px, 110px) scale(0.92); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, -70px) scale(1.1); }
}

.bg-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 35%, transparent 80%);
  animation: gridpan 40s linear infinite;
}
@keyframes gridpan {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}

.scanline {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.7), transparent);
  opacity: 0.4;
  animation: scan 9s linear infinite;
}
@keyframes scan {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { top: 100%; opacity: 0; }
}

/* =====================================================================
   App shell + boot
   ===================================================================== */
.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.boot-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 22px;
  padding: 32px;
  color: var(--muted);
  text-align: center;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.12), rgba(45, 212, 191, 0.03));
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.28);
  color: #5eead4;
  flex: none;
}
.brand-mark svg { width: 20px; height: 20px; display: block; }

.brand-copy { display: grid; min-width: 0; }
.brand-copy strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  color: var(--text);
}
.brand-copy span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.boot-loader {
  width: 220px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.boot-loader span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: var(--grad-primary);
  box-shadow: var(--glow-cyan);
  animation: loadbar 1.5s var(--ease) infinite;
}
@keyframes loadbar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(360%); }
}

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 14px 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 13, 26, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.5), rgba(59, 130, 246, 0.5), transparent);
  opacity: 0.6;
}

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

/* 品牌格 = 商标 + 「首发折扣」外链。头是 `auto minmax(0,1fr) auto` 三列网格,而中间那列
   (`.primary-nav`) 是 `justify-self:center` 的 —— 所以促销链接**不能**放进主导航:那里是
   正中间,不是商标右边。包成第一格,两侧都还稳。
   `min-width:0` 让窄屏时是这一格先让位,而不是把账号按钮挤出屏幕。 */
.brand-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* 兑换码商铺入口。用主题的青绿,不另造一套色。
   **两种元素共用这一套**:已登录时是外链 `<a>`,未登录时是触发登录弹窗的 `<button>`
   —— 所以边框/字体/指针都得自己写,不然 button 会带出浏览器默认那套观感。 */
.brand-promo {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: var(--teal, #007a70);
  color: #ffffff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.2s var(--ease);
}
.brand-promo:hover { filter: brightness(1.09); }
.brand-promo:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

.primary-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
  justify-self: center;
}

.primary-nav a {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.primary-nav a:hover {
  color: var(--text);
  background: var(--surface);
}
.primary-nav a.is-active {
  color: var(--text);
  background: var(--surface-2);
}
.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-primary);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.8);
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.18), rgba(52, 211, 153, 0.04));
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.3);
  color: #86efac;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.status-pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse-dot 2.2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.clock {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  min-width: 92px;
  text-align: right;
}

/* =====================================================================
   Buttons
   ===================================================================== */
.icon-button,
.button {
  min-height: 38px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background 0.25s, opacity 0.2s;
}
.icon-button {
  width: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: var(--muted);
}
.icon-button:hover {
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.6), 0 0 20px -6px rgba(45, 212, 191, 0.6);
  transform: translateY(-1px);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  overflow: hidden;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.button-primary {
  border: 0;
  background: var(--grad-primary);
  color: #04121a;
  box-shadow: 0 10px 30px -12px rgba(34, 211, 238, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.button-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
}
.button-primary:hover::after { left: 140%; }

.button-secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: var(--text);
}
.button-secondary:hover {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.16), rgba(45, 212, 191, 0.02));
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.55), 0 0 24px -8px rgba(45, 212, 191, 0.6);
}

.button.wide { width: 100%; }
.slim { min-height: 34px; padding-inline: 12px; font-size: 13px; }

/* =====================================================================
   Layout containers
   ===================================================================== */
.portal-main {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 64px;
}
.engine-main { width: min(1180px, calc(100% - 40px)); }

.notice-bar {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 18px auto 0;
  padding: 13px 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, rgba(52, 211, 153, 0.12), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 14px;
  position: relative;
  padding-left: 44px;
  animation: notice-in 0.4s var(--ease);
}
.notice-bar::before {
  content: "";
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.notice-bar.is-error {
  background: linear-gradient(90deg, rgba(251, 113, 133, 0.14), rgba(255, 255, 255, 0.03));
  color: #fda4af;
}
.notice-bar.is-error::before { background: var(--red); box-shadow: 0 0 10px var(--red); }
.notice-bar.is-success { color: #a7f3d0; }
@keyframes notice-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-footer {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 26px auto 0;
  padding: 18px 4px 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 13px;
  border-top: 1px solid var(--hairline);
}
.site-footer span:first-child {
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.footer-links { display: inline-flex; gap: 14px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--teal); }
.footer-record { color: var(--muted-2); white-space: nowrap; }
.footer-record:hover { color: var(--teal); }

/* =====================================================================
   Headings / eyebrow
   ===================================================================== */
.page-heading,
.home-hero,
.product-hero,
.activity-hero,
.activity-layout,
.split-layout,
.support-layout,
.community-layout {
  display: grid;
  gap: 18px;
}

.page-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin-bottom: 22px;
  padding: 6px 0 0;
}
.page-heading h1,
.home-hero h1,
.product-hero h1 {
  margin: 0;
  line-height: 1.04;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page-heading h1 { font-size: 36px; }
.home-hero h1,
.product-hero h1,
.activity-hero h1 { font-size: 52px; max-width: 11ch; }
.product-hero h1 { max-width: 100%; overflow-wrap: anywhere; padding-right: 0.08em; }

.home-hero h1,
.product-hero h1,
.activity-hero h1 {
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-pan 8s linear infinite;
}
@keyframes text-pan {
  to { background-position: 200% center; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #5eead4;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.eyebrow::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 1px;
  background: #2dd4bf;
  opacity: 0.8;
}

.hero-lead,
.page-heading p,
.auth-copy p,
.portal-panel p,
.list-item p,
.post-item p,
.workspace-list span,
.definition-list dd,
.feature-list,
.compact-metrics span,
.metric-card span,
.section-title p {
  color: var(--muted);
}

/* =====================================================================
   Hero
   ===================================================================== */
.home-hero,
.product-hero,
.activity-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: stretch;
  margin-bottom: 26px;
  padding: 34px;
  border: 0;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(45, 212, 191, 0.14), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(59, 130, 246, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.home-hero::before,
.product-hero::before,
.activity-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(90% 60% at 18% 0%, rgba(45, 212, 191, 0.18), transparent 60%);
  pointer-events: none;
}

.hero-copy,
.product-hero-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  z-index: 1;
}

.hero-lead { max-width: 56ch; font-size: 16.5px; line-height: 1.65; }

.hero-visual,
.product-visual {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 0;
  background: var(--surface-solid);
  box-shadow: inset 0 0 60px rgba(34, 211, 238, 0.08), var(--glow-soft);
  position: relative;
}
.hero-visual img,
.product-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.hero-visual::after,
.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, transparent 70%, rgba(5, 8, 15, 0.5));
  pointer-events: none;
}

.product-visual {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 28px;
  background: #fff;
}
.product-visual::after { display: none; }
.product-visual img.product-hero-icon {
  width: min(100%, 360px);
  height: auto;
  min-height: 0;
  max-height: 360px;
  object-fit: contain;
}

.hero-supporting {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.activity-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
}

.activity-hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  z-index: 1;
}

.activity-price-grid {
  display: grid;
  align-content: center;
  gap: 10px;
  z-index: 1;
}

.activity-price-grid > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.activity-price-grid span {
  color: var(--muted);
  font-size: 13px;
}

.activity-price-grid strong {
  color: var(--text);
  font-family: var(--font-head);
  font-size: 24px;
}

.activity-price-grid .is-current {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(59, 130, 246, 0.08));
}

.activity-price-grid .is-current strong {
  color: #5eead4;
}

.activity-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 26px;
}

.activity-offer,
.activity-action {
  min-height: 100%;
}

.activity-benefits,
.activity-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-benefits li {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
}

.activity-benefits li:last-child { border-bottom: 0; }
.activity-benefits strong,
.activity-steps strong { color: var(--text); }
.activity-benefits span,
.activity-steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.activity-result {
  display: grid;
  gap: 10px;
  align-content: start;
  margin-top: 18px;
  padding: 17px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.activity-result p { margin: 0; line-height: 1.65; }
.activity-result.is-success { background: rgba(45, 212, 191, 0.08); }

.activity-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.activity-steps > div {
  display: grid;
  gap: 7px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.activity-steps span {
  color: #5eead4;
  font-family: var(--font-mono);
  font-size: 12px;
}

.capability-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.65fr);
}

.capability-overview {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 320px;
  padding: 32px;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(100% 90% at 100% 0%, rgba(245, 158, 11, 0.2), transparent 58%),
    linear-gradient(155deg, rgba(45, 212, 191, 0.13), rgba(11, 17, 34, 0.7));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), var(--glow-soft);
  z-index: 1;
}
.capability-product-icon {
  width: 72px;
  height: 72px;
  padding: 4px;
  border-radius: 14px;
  background: #fff;
  object-fit: contain;
}
.capability-overview .capability-kicker {
  color: #fcd34d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.capability-overview > strong {
  font-family: var(--font-head);
  font-size: clamp(72px, 9vw, 116px);
  line-height: 0.9;
  background: linear-gradient(135deg, #f8fafc, #5eead4 55%, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.capability-overview h2 { margin: 0; font-size: 23px; }
.capability-overview p { margin: 0; color: var(--muted); line-height: 1.65; }

.capability-title { max-width: 820px; }
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.capability-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 310px;
  padding: 23px;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(45, 212, 191, 0.09), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.capability-card:hover {
  transform: translateY(-3px);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(45, 212, 191, 0.15), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
}
.capability-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.capability-number {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: rgba(94, 234, 212, 0.72);
}
.capability-evidence {
  max-width: 70%;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
  color: #fcd34d;
  font-size: 11px;
  line-height: 1.35;
  text-align: right;
}
.capability-card h3 { margin: 0; font-family: var(--font-head); font-size: 20px; }
.capability-card > p { margin: 0; color: var(--muted); line-height: 1.65; }
.compact-feature-list { gap: 5px; margin: 0; }
.compact-feature-list li { margin-bottom: 3px; font-size: 13px; }

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.scenario-card {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(59, 130, 246, 0.11), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.014));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
}
.scenario-card summary,
.capability-module summary {
  list-style: none;
  cursor: pointer;
}
.scenario-card summary::-webkit-details-marker,
.capability-module summary::-webkit-details-marker { display: none; }
.scenario-card summary {
  display: grid;
  gap: 10px;
  min-height: 215px;
  padding: 22px;
  align-content: start;
}
.scenario-card summary:hover { background: rgba(45, 212, 191, 0.04); }
.scenario-index {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.scenario-card h3 { margin: 0; font-family: var(--font-head); font-size: 20px; }
.scenario-card summary p { margin: 0; color: var(--muted); line-height: 1.65; }
.details-hint {
  align-self: end;
  color: #8fe9ef;
  font-size: 12px;
}
.scenario-card[open] .details-hint { color: var(--muted-2); }
.scenario-card[open] .details-hint::after { content: " · 已展开"; }
.scenario-detail {
  display: grid;
  gap: 18px;
  padding: 0 22px 22px;
  border-top: 1px solid var(--hairline);
}
.scenario-steps {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.scenario-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  position: relative;
  min-height: 48px;
}
.scenario-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 27px;
  bottom: 2px;
  width: 1px;
  background: linear-gradient(var(--teal), rgba(45, 212, 191, 0.08));
}
.scenario-steps li > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.13);
  color: #8fe9ef;
  font-family: var(--font-mono);
  font-size: 11px;
  z-index: 1;
}
.scenario-steps p { margin: 2px 0 14px; color: var(--muted); line-height: 1.55; }
.scenario-result {
  padding: 15px 16px;
  border-radius: var(--radius-xs);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(59, 130, 246, 0.07));
}
.scenario-result strong { color: #8fe9ef; font-size: 12px; }
.scenario-result p { margin: 7px 0 0; color: var(--text); line-height: 1.6; }

.capability-ledger { overflow: visible; }
.capability-ledger-title { align-items: end; }
.catalog-totals {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.catalog-totals span {
  display: grid;
  gap: 2px;
  min-width: 110px;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 11px;
}
.catalog-totals strong { color: var(--text); font-family: var(--font-head); font-size: 22px; }
.capability-search-shell {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: center;
  position: sticky;
  top: 86px;
  z-index: 6;
  margin-bottom: 14px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: rgba(11, 17, 34, 0.93);
  box-shadow: 0 12px 36px rgba(3, 7, 18, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.capability-search-shell label { color: var(--text); font-size: 13px; font-weight: 650; }
.capability-search-shell input {
  width: 100%;
  padding: 11px 13px;
  border: 0;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.capability-search-shell input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.55), 0 0 0 3px rgba(45, 212, 191, 0.12);
}
.capability-search-shell > span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.capability-module-list { display: grid; gap: 10px; }
.capability-module {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.043), rgba(255, 255, 255, 0.012));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.capability-module summary {
  display: grid;
  grid-template-columns: 44px minmax(260px, 1fr) auto 32px;
  gap: 14px;
  align-items: center;
  padding: 17px 18px;
}
.capability-module summary:hover { background: rgba(45, 212, 191, 0.045); }
.module-order {
  font-family: var(--font-head);
  font-size: 20px;
  color: rgba(94, 234, 212, 0.66);
}
.module-summary-copy { display: grid; gap: 5px; }
.module-summary-copy strong { color: var(--text); font-family: var(--font-head); font-size: 17px; }
.module-summary-copy small { color: var(--muted); line-height: 1.5; }
.module-badges { display: flex; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.module-badges span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 10.5px;
  white-space: nowrap;
}
.module-badges span:first-child { background: rgba(45, 212, 191, 0.1); color: #8fe9ef; }
.module-toggle {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: var(--teal);
  font-size: 18px;
  transition: transform 0.25s var(--ease);
}
.capability-module[open] .module-toggle { transform: rotate(45deg); }
.module-detail {
  display: grid;
  gap: 20px;
  padding: 22px;
  border-top: 1px solid var(--hairline);
  background: rgba(2, 6, 23, 0.18);
}
.module-outcome-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: 22px; }
.module-detail h3 { margin: 0 0 13px; font-family: var(--font-head); font-size: 15px; }
.module-deliverable {
  padding: 17px;
  border-radius: var(--radius-xs);
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.08), rgba(45, 212, 191, 0.065));
}
.module-deliverable > p { color: var(--text); line-height: 1.65; }
.module-tool-catalog {
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.tool-chip-list { display: flex; gap: 7px; flex-wrap: wrap; }
.tool-chip-list code {
  padding: 6px 8px;
  border-radius: 7px;
  background: rgba(45, 212, 191, 0.075);
  color: #8fe9ef;
  font-size: 10.5px;
  overflow-wrap: anywhere;
}
.tool-detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.tool-detail-item {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 11px 12px;
  border-radius: 9px;
  background: rgba(45, 212, 191, 0.055);
}
.tool-detail-item code { color: #8fe9ef; font-size: 11px; overflow-wrap: anywhere; }
.tool-detail-item span { color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.boundary-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-xs);
  background: rgba(245, 158, 11, 0.07);
  line-height: 1.65;
}
.product-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(90% 100% at 0% 0%, rgba(45, 212, 191, 0.16), transparent 62%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(59, 130, 246, 0.06));
  box-shadow: var(--shadow-card);
}
.product-cta h2 { margin: 0 0 8px; font-family: var(--font-head); font-size: 24px; }
.product-cta p:not(.eyebrow) { margin: 0; max-width: 66ch; color: var(--muted); }

/* =====================================================================
   Metric grid + counters
   ===================================================================== */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.metric-card,
.portal-card,
.portal-panel,
.form-panel,
.list-panel,
.section-block,
.table-shell,
.empty-state {
  position: relative;
  border: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

.metric-card {
  padding: 18px 18px 16px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}
.metric-card::before {
  content: "";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--grad-primary);
  opacity: 0.8;
}
.metric-card:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.12), rgba(59, 130, 246, 0.04));
  box-shadow: var(--shadow-card), 0 0 30px -10px rgba(45, 212, 191, 0.5);
}
.metric-card span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;  color: var(--muted-2);
  margin-bottom: 8px;
}
.metric-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.metric-card .metric-value.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-block {
  margin-top: 26px;
  padding: 26px;
}

.section-title,
.card-heading,
.section-title.compact-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}
.section-title h2,
.card-heading h2,
.portal-card h2,
.portal-panel h2,
.form-panel h2,
.empty-state h1,
.empty-state h2,
.list-panel h2 {
  margin: 0;
  line-height: 1.2;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
}

/* =====================================================================
   Cards / grids
   ===================================================================== */
.portal-grid { display: grid; gap: 16px; }
.portal-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portal-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.portal-card,
.portal-panel,
.form-panel,
.list-panel {
  padding: 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}
.portal-card:hover,
.workspace-card:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-card), 0 0 36px -12px rgba(45, 212, 191, 0.5);
}

.product-card,
.workspace-card {
  display: grid;
  gap: 16px;
}
.product-card-intro {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.product-card-intro h2 { margin: 10px 0 0; }
.product-icon {
  display: block;
  width: 84px;
  height: 84px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #fff;
  object-fit: contain;
}
.workspace-card { min-height: 188px; align-content: start; }

.workspace-card h2 { font-size: 18px; }

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.chip.teal {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.22), rgba(45, 212, 191, 0.08));
  color: #5eead4;
}
.chip.amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.08));
  color: #fcd34d;
}
.chip.slate {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.2), rgba(148, 163, 184, 0.06));
  color: #cbd5e1;
}

.compact-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.compact-metrics span {
  display: grid;
  gap: 3px;
  padding: 13px 14px;
  border: 0;
  border-radius: var(--radius-xs);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}
.compact-metrics strong {
  color: var(--text);
  font-family: var(--font-head);
  font-size: 19px;
}

.card-footer,
.action-row,
.inline-field,
.captcha-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.text-link {
  color: var(--teal);
  font-weight: 600;
  position: relative;
  transition: color 0.2s;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--grad-primary);
  transition: width 0.3s var(--ease);
}
.text-link:hover { color: #5eead4; }
.text-link:hover::after { width: 100%; }

/* =====================================================================
   Workspace list / definition list / feature list
   ===================================================================== */
.workspace-list,
.feature-list,
.operation-list {
  display: grid;
  gap: 10px;
}
.workspace-list a {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 0;
  border-radius: var(--radius-xs);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  transition: transform 0.25s var(--ease), background 0.25s;
}
.workspace-list a:hover {
  transform: translateX(3px);
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.12), rgba(45, 212, 191, 0.02));
}

.feature-list { padding-left: 2px; }
.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--grad-primary);
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.7);
}

.definition-list { display: grid; gap: 12px; }
.definition-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid transparent;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
  background-size: 100% 1px;
  background-position: bottom;
  background-repeat: no-repeat;
}
.definition-list dt {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
}
.definition-list dd { margin: 0; color: var(--text); }
.definition-list.compact div:last-child,
.definition-list div:last-child { border-bottom: 0; padding-bottom: 0; }

/* =====================================================================
   Tables + badges
   ===================================================================== */
.table-shell { overflow: auto; }
.table-shell::-webkit-scrollbar { height: 8px; }

.data-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}
.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 0;
  text-align: left;
  vertical-align: top;
}
.data-table tbody td {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 80%);
  background-size: 100% 1px;
  background-position: bottom;
  background-repeat: no-repeat;
}
.data-table th {
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.08em;  font-weight: 600;
  position: sticky;
  top: 0;
}
.data-table tbody tr {
  transition: background 0.2s;
}
.data-table tbody tr:hover { background: rgba(45, 212, 191, 0.05); }
.data-table td strong { color: var(--text); font-weight: 600; }
.data-table td span { color: var(--muted); font-size: 12.5px; }
.data-table tr:last-child td { background-image: none; }
.data-table .empty-cell {
  text-align: center;
  color: var(--muted);
  padding: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 600;
}
.badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
}
.badge.is-ok {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.22), rgba(52, 211, 153, 0.06));
  color: #6ee7b7;
}
.badge.is-ok::before { box-shadow: 0 0 8px var(--green); animation: pulse-dot 2.2s infinite; }
.badge.is-warn {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.06));
  color: #fcd34d;
}
.badge.is-muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

/* =====================================================================
   Auth / forms
   ===================================================================== */
.auth-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 22px;
  align-items: start;
}
.auth-copy {
  display: grid;
  gap: 12px;
  padding: 24px 6px 0;
}
.auth-copy h1 { font-size: 38px; }

.form-panel { display: grid; gap: 14px; }
.auth-feedback {
  position: sticky;
  top: -1px;
  z-index: 2;
  padding: 11px 13px;
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: var(--radius-xs);
  background: rgba(45, 212, 191, 0.12);
  color: #a7f3d0;
  font-size: 13px;
  line-height: 1.55;
}
.auth-feedback.is-error { border-color: rgba(251, 113, 133, 0.35); background: rgba(251, 113, 133, 0.14); color: #fecdd3; }

.form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.field { display: grid; gap: 7px; }
.field span {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--radius-xs);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  color: var(--text);
  transition: box-shadow 0.25s, background 0.25s;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.08), rgba(45, 212, 191, 0.02));
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.5), 0 0 0 3px rgba(45, 212, 191, 0.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select option { background: var(--surface-solid); color: var(--text); }

.inline-field { align-items: end; }
.inline-field .field { flex: 1 1 240px; }
.captcha-row .field { flex: 1 1 200px; }

.hint { font-size: 12.5px; color: var(--teal); font-family: var(--font-mono); }

.captcha-row { align-items: center; }
.captcha-row img {
  width: 180px;
  height: 72px;
  border-radius: var(--radius-xs);
  background: #f8fbf8;
  flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* =====================================================================
   Empty states
   ===================================================================== */
.empty-state,
.empty-inline { padding: 22px; }
.empty-state {
  display: grid;
  gap: 14px;
  text-align: left;
}
.empty-state h1,
.empty-state h2 { font-size: 24px; }
.empty-inline {
  border: 0;
  border-radius: var(--radius-xs);
  color: var(--muted);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  text-align: center;
}

/* =====================================================================
   Support / community layouts
   ===================================================================== */
.support-layout,
.community-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

.list-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}
.section-title.compact-title { margin-bottom: 6px; }

.list-item,
.post-item {
  padding: 16px;
  border: 0;
  border-radius: var(--radius-xs);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: transform 0.25s var(--ease), background 0.25s;
}
.list-item:hover,
.post-item:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.1), rgba(255, 255, 255, 0.015));
}
.list-item { display: grid; gap: 7px; }
.list-item strong { color: var(--text); font-size: 15px; }
.list-item span { color: var(--muted); font-size: 12.5px; }

.post-list { display: grid; gap: 14px; }
.post-item { display: grid; gap: 9px; }
.post-item span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.post-item h2 { margin: 0; font-family: var(--font-head); font-size: 18px; }
.post-item small { color: var(--muted-2); font-size: 12px; }
.post-content {
  white-space: pre-wrap;
  color: var(--text);
  line-height: 1.7;
  padding: 12px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.comment-list,
.ticket-replies { display: grid; gap: 9px; margin-top: 6px; }
.comment-item,
.ticket-reply {
  padding: 11px 13px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.035);
}
.comment-item strong,
.ticket-reply strong { font-size: 13px; color: var(--teal); }
.comment-item p,
.ticket-reply p { margin: 5px 0; white-space: pre-wrap; }
.comment-form { display: grid; gap: 10px; margin-top: 4px; }
.comment-form textarea { min-height: 72px; }

/* Community feed: one post followed by its own comment thread. */
.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; }
.community-shell { width: min(860px, 100%); margin: 0 auto; display: grid; gap: 20px; }
.community-composer,
.community-post,
.community-login-prompt {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow-card);
}
.community-composer { overflow: hidden; }
.community-composer > summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}
.community-composer > summary::-webkit-details-marker { display: none; }
.community-composer > summary > span:nth-child(2) { display: grid; gap: 4px; }
.community-composer > summary strong { color: var(--text); font-size: 14px; }
.community-composer > summary small { color: var(--muted); font-size: 13px; }
.composer-open-label { padding: 8px 12px; border-radius: 999px; background: rgba(45, 212, 191, 0.12); color: var(--teal); font-size: 12px; font-weight: 700; }
.community-composer[open] .composer-open-label { background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.community-composer-form { display: grid; gap: 14px; padding: 20px; border-top: 1px solid var(--hairline); }
.community-composer-grid { display: grid; grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.35fr); gap: 14px; }
.community-composer-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.community-composer-actions span { color: var(--muted-2); font-size: 12px; }
.community-avatar {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.28), rgba(59, 130, 246, 0.26));
  color: #dffcf8;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.community-avatar.is-official { background: linear-gradient(135deg, #0f9f8f, #2563eb); }
.community-avatar.is-small { width: 34px; height: 34px; font-size: 12px; }
.community-login-prompt { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 20px; color: var(--muted); }
.community-feed { display: grid; gap: 16px; }
.community-post { overflow: hidden; }
.community-post-header { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 20px 22px 14px; }
.community-post-identity { display: grid; gap: 4px; min-width: 0; }
.community-post-identity strong { overflow: hidden; color: var(--text); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.community-post-identity span { color: var(--muted-2); font-size: 12px; }
.community-post-tags { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.community-post-tags span { padding: 5px 8px; border-radius: 999px; background: rgba(45, 212, 191, 0.1); color: var(--teal); font-size: 11px; font-weight: 700; }
.community-post-tags span.is-official { background: rgba(59, 130, 246, 0.13); color: #93c5fd; }
.community-post-body { padding: 4px 22px 22px 80px; }
.community-post-body h2 { margin: 0 0 10px; color: var(--text); font-family: var(--font-head); font-size: 21px; line-height: 1.35; }
.community-post-summary { margin: 0 0 12px; color: var(--muted); font-weight: 600; line-height: 1.65; }
.community-post-content { color: var(--text); line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.community-comments { padding: 16px 22px 20px 80px; border-top: 1px solid var(--hairline); background: rgba(3, 8, 18, 0.18); }
.community-comments-header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.community-comments-header strong { color: var(--text); font-size: 13px; }
.community-comments-header span { color: var(--muted-2); font-size: 12px; }
.community-comment-list { display: grid; gap: 10px; }
.community-comment { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 9px; align-items: start; }
.community-comment-bubble { padding: 10px 12px; border-radius: 4px 12px 12px 12px; background: rgba(255, 255, 255, 0.045); }
.community-comment-bubble > div { display: flex; justify-content: space-between; gap: 12px; }
.community-comment-bubble strong { color: var(--teal); font-size: 12px; }
.community-comment-bubble time { color: var(--muted-2); font-size: 11px; }
.community-comment-bubble p { margin: 5px 0 0; color: var(--text); line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.community-no-comments { padding: 12px; border-radius: var(--radius-xs); background: rgba(255, 255, 255, 0.025); color: var(--muted-2); font-size: 12px; text-align: center; }
.community-comment-form { grid-template-columns: 34px minmax(0, 1fr) auto; align-items: end; gap: 9px; margin-top: 13px; }
.community-comment-form .field { min-width: 0; }
.community-comment-form textarea { min-height: 44px; padding-block: 10px; resize: vertical; }
.community-comment-login { margin-top: 13px; }
.community-empty { padding: 34px; }

@media (max-width: 720px) {
  .community-composer > summary,
  .community-post-header { grid-template-columns: 40px minmax(0, 1fr); padding-inline: 16px; }
  .community-avatar { width: 40px; height: 40px; }
  .community-avatar.is-small { width: 32px; height: 32px; }
  .composer-open-label,
  .community-post-tags { grid-column: 2; justify-self: start; }
  .community-composer-grid { grid-template-columns: 1fr; }
  .community-composer-actions,
  .community-login-prompt { align-items: stretch; flex-direction: column; }
  .community-composer-actions .button,
  .community-login-prompt .button { width: 100%; }
  .community-post-body,
  .community-comments { padding-inline: 16px; }
  .community-post-body { padding-top: 4px; }
  .community-comment-form { grid-template-columns: 32px minmax(0, 1fr); }
  .community-comment-form .button { grid-column: 2; justify-self: end; }
}

.ticket-reply {
  border-left: 3px solid rgba(45, 212, 191, 0.65);
  background: rgba(45, 212, 191, 0.07);
}

.qr-grid { align-items: stretch; }
.qr-card { display: grid; grid-template-columns: minmax(180px, 220px) 1fr; gap: 24px; align-items: center; }
.qr-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}
.qr-image-frame img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
}
.qr-card h3 { margin: 0 0 8px; }
.qr-card span { color: var(--amber); font-size: 13px; }

.download-card { display: grid; gap: 18px; align-content: space-between; }
.definition-list.compact { margin: 0; }
.mono-wrap { overflow-wrap: anywhere; font-family: var(--font-mono); font-size: 11px; }

.consent-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.consent-field input { margin-top: 4px; inline-size: 17px; block-size: 17px; accent-color: var(--teal); }
.consent-field small { display: block; color: var(--muted-2); }
.inline-legal-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--teal);
  font: inherit;
  cursor: pointer;
}
.inline-legal-link:hover { text-decoration: underline; }

.legal-document {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-card);
}
.legal-document header { padding-bottom: 18px; border-bottom: 1px solid var(--hairline); }
.legal-document header h1 { margin: 0 0 10px; }
.legal-document section { margin-top: 24px; }
.legal-document section h2 { margin: 0 0 10px; font-size: 18px; }
.legal-document p { color: var(--muted); line-height: 1.75; }
.legal-notice {
  margin: 18px 0;
  padding: 18px;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-xs);
  background: rgba(245, 158, 11, 0.08);
}
.legal-notice p { margin: 7px 0 0; color: var(--muted); line-height: 1.65; }
.legal-modal { width: min(860px, 100%); }
.legal-modal .legal-document { padding: 0; background: none; box-shadow: none; }
.legal-modal .legal-document header h1 { font-size: 26px; }

.endpoint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.endpoint-item {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 0;
  border-radius: var(--radius-xs);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}
.endpoint-item span {
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.operation-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.operation-list span {
  padding: 11px 14px;
  border: 0;
  border-radius: var(--radius-xs);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.08), rgba(255, 255, 255, 0.012));
  font-family: var(--font-mono);
  font-size: 13px;
  color: #8fe9ef;
  transition: transform 0.25s var(--ease), background 0.25s;
}
.operation-list span:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.16), rgba(255, 255, 255, 0.015));
}

/* =====================================================================
   Auth modal — centered dialog over a frosted, blurred backdrop
   ===================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(45, 212, 191, 0.08), transparent 70%),
    rgba(5, 8, 15, 0.55);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  animation: overlay-in 0.3s var(--ease);
}
.modal-overlay.is-closing {
  animation: overlay-out 0.22s var(--ease) forwards;
}
@keyframes overlay-in {
  from { opacity: 0; backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); }
  to { opacity: 1; }
}
@keyframes overlay-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

.modal-dialog {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 30px 30px 26px;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(45, 212, 191, 0.1), transparent 55%),
    radial-gradient(120% 90% at 100% 100%, rgba(59, 130, 246, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(20, 28, 46, 0.96), rgba(12, 18, 32, 0.96));
  box-shadow: var(--shadow-card), 0 0 60px -20px rgba(45, 212, 191, 0.5);
  animation: dialog-in 0.36s var(--ease);
}
.modal-dialog.wide { width: min(620px, 100%); }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.modal-head {
  margin-bottom: 20px;
}
.modal-head h2 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
}
.modal-head p { margin: 0; color: var(--muted); font-size: 14px; }

.modal-dialog .form-panel {
  padding: 0;
  background: none;
  box-shadow: none;
}

/* field width control within the register modal grid */
.field.col-span { grid-column: 1 / -1; }

.modal-dialog .form-panel > .text-link {
  justify-self: center;
  font-size: 13px;
  padding: 4px 8px;
  background: none;
  border: 0;
  cursor: pointer;
}

/* =====================================================================
   Reveal animation
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    padding: 12px 20px;
  }
  .brand-lockup { min-width: 0; }
  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-self: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .primary-nav::-webkit-scrollbar { display: none; }
  .primary-nav a { flex: 0 0 auto; }
  .header-actions { grid-column: 2; grid-row: 1; justify-self: end; }

  .home-hero,
  .product-hero,
  .activity-hero,
  .capability-hero,
  .auth-page,
  .activity-layout,
  .support-layout,
  .community-layout,
  .page-heading,
  .split-layout { grid-template-columns: 1fr; }

  .capability-grid { grid-template-columns: 1fr; }
  .product-cta { align-items: flex-start; flex-direction: column; }
  .module-outcome-grid { grid-template-columns: 1fr; }

  .metric-grid,
  .portal-grid.two,
  .portal-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .home-hero h1,
  .product-hero h1,
  .activity-hero h1 { max-width: none; font-size: 42px; }
  .capability-overview { min-height: 260px; }
}

@media (max-width: 820px) {
  .activity-steps { grid-template-columns: 1fr; }
  .capability-module summary {
    grid-template-columns: 36px minmax(0, 1fr) 30px;
    align-items: start;
  }
  .module-badges { grid-column: 2 / -1; justify-content: flex-start; }
  .module-toggle { grid-column: 3; grid-row: 1; }
  .capability-search-shell { top: 8px; }
}

@media (max-width: 720px) {
  .product-card-intro { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .product-icon { width: 64px; height: 64px; border-radius: 11px; }
  .product-visual { min-height: 240px; padding: 20px; }
  .tool-detail-list { grid-template-columns: 1fr; }
  .site-header { padding: 10px 12px; }
  .brand-copy span { display: none; }
  .status-pill, .clock, .header-actions .icon-button { display: none; }
  .header-actions { width: auto; }
  .header-actions .button { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
  .primary-nav { margin-inline: -2px; padding-bottom: 2px; }
  .primary-nav a { min-height: 36px; padding-inline: 11px; font-size: 13px; }

  .portal-main,
  .site-footer,
  .notice-bar { width: min(100% - 24px, 100%); }
  .portal-main { padding: 18px 0 44px; }

  .home-hero,
  .product-hero,
  .activity-hero,
  .section-block,
  .portal-card,
  .portal-panel,
  .form-panel,
  .list-panel,
  .empty-state { padding: 20px; }

  .home-hero h1,
  .product-hero h1,
  .activity-hero h1 { max-width: none; font-size: 34px; }
  .page-heading h1 { font-size: 28px; }
  .hero-lead { font-size: 15px; }

  .metric-grid,
  .portal-grid.two,
  .portal-grid.three,
  .scenario-grid,
  .form-grid,
  .endpoint-grid,
  .operation-list { grid-template-columns: 1fr; }

  .header-actions,
  .action-row,
  .inline-field,
  .captcha-row { width: 100%; }
  .site-header .header-actions { width: auto; }
  .button, .icon-button { width: auto; }
  .activity-price-grid > div { padding: 14px 15px; }
  .activity-price-grid strong { font-size: 21px; }
  .captcha-row img { width: 100%; }
  .qr-card { grid-template-columns: 1fr; }
  .qr-image-frame { width: min(280px, 100%); margin: 0 auto; }
  .clock { display: none; }
  .catalog-totals { justify-content: flex-start; }
  .capability-search-shell {
    grid-template-columns: 1fr;
    top: 8px;
  }
  .capability-search-shell > span { white-space: normal; }
  .capability-module summary {
    grid-template-columns: 32px minmax(0, 1fr) 30px;
    gap: 10px;
    align-items: start;
    padding: 15px;
  }
  .module-order { font-size: 17px; }
  .module-badges {
    grid-column: 2 / -1;
    justify-content: flex-start;
  }
  .module-toggle { grid-column: 3; grid-row: 1; }
  .module-detail { padding: 17px; }
  .capability-overview { min-height: 230px; padding: 22px; }
  .capability-product-icon { width: 60px; height: 60px; border-radius: 12px; }
  .capability-overview > strong { font-size: 70px; }
  .modal-overlay { padding: 12px; }
  .modal-dialog { max-height: calc(100dvh - 24px); padding: 24px 20px 20px; }
  .modal-dialog.wide { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  body { font-size: 14px; }
  .portal-main,
  .site-footer,
  .notice-bar { width: min(100% - 16px, 100%); }
  .home-hero,
  .product-hero,
  .activity-hero,
  .section-block,
  .portal-card,
  .portal-panel,
  .form-panel,
  .list-panel,
  .empty-state { padding: 17px; }
  .home-hero h1,
  .product-hero h1,
  .activity-hero h1 { font-size: clamp(28px, 9vw, 34px); }
  .page-heading { gap: 12px; }
  .page-heading h1 { font-size: 26px; }
  .action-row { display: grid; grid-template-columns: 1fr; }
  .action-row > .button, .action-row > a.button { width: 100%; }
  .metric-grid { gap: 9px; }
  .metric-card { padding: 15px; }
  .compact-metrics { grid-template-columns: 1fr; }
  .capability-search-shell { position: static; padding: 11px; }
  .catalog-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .catalog-totals span { min-width: 0; }
  .capability-module summary { grid-template-columns: 28px minmax(0, 1fr) 28px; padding: 13px; }
  .module-summary-copy strong { font-size: 15px; }
  .module-summary-copy small { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
  .module-badges span:not(:first-child) { display: none; }
  .module-detail { padding: 14px; }
  .tool-detail-item { padding: 10px; }
  .product-cta { padding: 18px; }
  .activity-price-grid > div { align-items: flex-start; flex-direction: column; gap: 2px; }
  .qr-image-frame { width: min(100%, 300px); }
  .modal-head h2 { font-size: 21px; }
}

@media (max-width: 360px) {
  .site-header { padding-inline: 9px; }
  .site-header .brand-mark { width: 34px; height: 34px; }
  .brand-copy strong { font-size: 14px; }
  .header-actions .button { max-width: 118px; min-height: 34px; padding-inline: 10px; font-size: 12px; }
  .primary-nav a { padding-inline: 9px; font-size: 12px; }
  .portal-main { padding-top: 12px; }
  .home-hero,
  .product-hero,
  .activity-hero,
  .section-block,
  .portal-card,
  .portal-panel,
  .form-panel,
  .list-panel,
  .empty-state { padding: 14px; }
  .capability-overview { min-height: 210px; padding: 16px; }
  .capability-overview > strong { font-size: 60px; }
  .capability-overview h2 { font-size: 19px; }
  .capability-module summary { grid-template-columns: 24px minmax(0, 1fr) 26px; gap: 8px; padding: 11px; }
  .module-order { font-size: 14px; }
  .module-toggle { width: 26px; height: 26px; }
  .catalog-totals { grid-template-columns: 1fr; }
  .modal-overlay { padding: 0; }
  .modal-dialog, .modal-dialog.wide { width: 100%; max-height: 100dvh; min-height: 100dvh; border-radius: 0; padding: 22px 16px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---- 插件行（产品详情页里"已接上的插件"） -------------------------------------
   一个插件占**一整行**：左图标、中间名称与简介、右入口。
   与产品卡刻意不同：插件是挂在某份产品下面的东西，不该看起来像与产品同辈的卡片。 */
.plugin-rows {
  display: grid;
  gap: 14px;
}

.plugin-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.plugin-row-icon {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.plugin-row-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.plugin-row-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.plugin-row-head h3 {
  margin: 0;
}

.plugin-row-copy > p {
  margin: 8px 0 0;
}

.plugin-row > .button {
  flex: none;
}

@media (max-width: 760px) {
  .plugin-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
