:root {
  --bg: #06182d;
  --bg-2: #0a2340;
  --panel: rgba(255, 255, 255, 0.94);
  --panel-dark: rgba(6, 28, 51, 0.82);
  --text: #f5f8f7;
  --text-dark: #0b243b;
  --muted: #9db0bd;
  --muted-dark: #60717c;
  --line: rgba(159, 200, 201, 0.2);
  --blue: #25d1be;
  --blue-2: #0c8ea7;
  --teal: #18c9b7;
  --teal-soft: #8be4d8;
  --navy: #06264a;
  --ivory: #f4f1e9;
  --coral: #ef8f74;
  --green: #22c55e;
  --purple: #8b5cf6;
  --orange: #f59e0b;
  --red: #ef4444;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI Variable Text", "Microsoft YaHei UI", "PingFang SC", "Hiragino Sans GB", ui-sans-serif, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(24, 201, 183, 0.22), transparent 28rem),
    radial-gradient(circle at 88% 5%, rgba(239, 143, 116, 0.13), transparent 30rem),
    linear-gradient(145deg, #03111f 0%, var(--bg) 50%, #09233b 100%);
}

a {
  color: inherit;
}

.shell {
  width: min(1320px, calc(100vw - 96px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
  background: rgba(3, 17, 31, 0.8);
  box-shadow: 0 12px 40px rgba(1, 10, 19, 0.16);
}

.topbar-clear {
  background: rgba(0, 0, 0, 0.72);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #39c3ff, #2f6df6);
  color: #fff;
  box-shadow: 0 14px 34px rgba(47, 109, 246, 0.24);
  overflow: hidden;
}

.as-logo {
  width: 58px;
  height: 58px;
  border: 2px solid #8b4cff;
  border-radius: 4px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.1), rgba(139,76,255,0.12)),
    #070707;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.28) inset,
    0 0 24px rgba(139, 76, 255, 0.35);
  font-size: 29px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark-letter {
  font-size: 23px;
  font-weight: 820;
}

.brand-mark-image img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 5px;
  object-fit: contain;
}

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

.mobile-tool-btn {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 430px;
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 48px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(14, 165, 233, 0.08);
}

.hero h1 {
  margin: 22px 0 18px;
  max-width: 820px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.login-body {
  background:
    radial-gradient(circle at 67% 47%, rgba(120, 64, 255, 0.2), transparent 30rem),
    radial-gradient(circle at 77% 54%, rgba(0, 203, 255, 0.16), transparent 26rem),
    radial-gradient(circle at 4% 55%, rgba(255, 255, 255, 0.035), transparent 18rem),
    #020202;
}

.aurora {
  pointer-events: none;
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(44px);
  opacity: 0.62;
}

.aurora-a {
  width: 420px;
  height: 420px;
  left: -120px;
  top: 150px;
  background: rgba(20, 184, 166, 0.28);
}

.aurora-b {
  width: 520px;
  height: 520px;
  right: -160px;
  top: 80px;
  background: rgba(239, 143, 116, 0.18);
}

.login-stage {
  display: grid;
  grid-template-columns: minmax(520px, 0.72fr) minmax(600px, 1fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 58px 0 46px;
}

.ais-hero {
  position: relative;
}

.ais-hero::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(132, 78, 255, 0.55) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(0, 203, 255, 0.45) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 184, 0, 0.5) 0 1px, transparent 1.8px);
  background-position: 4% 18%, 78% 34%, 88% 74%, 22% 62%;
  background-size: 78px 78px, 53px 53px, 92px 92px, 121px 121px;
  opacity: 0.42;
  mask-image: linear-gradient(90deg, black, black);
}

.login-copy h1 {
  margin: 0 0 22px;
  max-width: 760px;
  font-family: "Segoe UI Variable Display", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: clamp(48px, 4.4vw, 78px);
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.login-copy h1 span {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(70px, 6.2vw, 118px);
  font-weight: 720;
  line-height: 0.9;
  letter-spacing: 0;
}

.title-stroke {
  display: block;
  width: 60px;
  height: 7px;
  margin: 30px 0 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7b3cff, #9b5cff);
  box-shadow: 0 0 18px rgba(123, 60, 255, 0.68);
}

.ais-copy {
  position: relative;
  z-index: 2;
}

.lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 24px;
  line-height: 1.75;
}

.logic-line {
  color: #ffc400;
  font-size: 22px;
  font-weight: 720;
  letter-spacing: 0.06em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 330px;
  min-height: 78px;
  margin-top: 36px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #7440ff, #8f55ff 62%, #6538df);
  box-shadow: 0 22px 48px rgba(117, 64, 255, 0.34);
  font-size: 24px;
  font-weight: 520;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.hero-cta span {
  font-size: 42px;
  line-height: 1;
}

.logic-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  max-width: 760px;
}

.logic-chain span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(128, 82, 255, 0.28);
  border-radius: 999px;
  padding: 0 10px;
  color: rgba(234, 242, 255, 0.8);
  background: rgba(255, 255, 255, 0.045);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.logic-chain span:nth-child(2n) {
  border-color: rgba(24, 201, 183, 0.26);
  color: rgba(139, 228, 216, 0.86);
}

.as-system {
  min-width: 0;
  transform: translateX(-2%);
}

.as-orbit-field {
  position: relative;
  width: min(54vw, 920px);
  min-width: 600px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.as-orbit-field::before,
.as-orbit-field::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.as-orbit-field::before {
  inset: 6%;
  z-index: -2;
  background:
    radial-gradient(circle at 43% 49%, rgba(128, 63, 255, 0.54), transparent 34%),
    radial-gradient(circle at 64% 52%, rgba(0, 203, 255, 0.36), transparent 30%),
    radial-gradient(circle at 38% 62%, rgba(255, 184, 0, 0.16), transparent 42%);
  filter: blur(36px);
  opacity: 0.86;
}

.as-orbit-field::after {
  inset: 12%;
  z-index: -1;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.88) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(128,82,255,0.72) 0 1.5px, transparent 2.2px),
    radial-gradient(circle, rgba(24,201,183,0.68) 0 1.3px, transparent 2px);
  background-size: 13px 13px, 19px 19px, 24px 24px;
  opacity: 0.84;
  mask-image: radial-gradient(circle, black 0 57%, transparent 73%);
  animation: particleDrift 18s linear infinite;
}

.as-mark {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.4vw, 8px);
  width: 66%;
  aspect-ratio: 1.35;
  border-radius: 999px;
  color: transparent;
  font-family: "Segoe UI Variable Display", "Arial Black", "Microsoft YaHei UI", sans-serif;
  font-size: clamp(210px, 18vw, 340px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
  transform: skewX(-5deg);
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.52),
    0 0 44px rgba(128, 82, 255, 0.72),
    0 0 86px rgba(0, 203, 255, 0.42);
}

.as-mark::before {
  content: "";
  position: absolute;
  inset: -22% -12%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 40% 42%, rgba(255, 255, 255, 0.14), transparent 32%),
    radial-gradient(circle at 64% 52%, rgba(128, 82, 255, 0.3), transparent 36%);
  filter: blur(16px);
}

.as-mark span {
  background:
    radial-gradient(circle at 36% 38%, #ffffff 0 10%, rgba(255,255,255,0.84) 11% 16%, transparent 17%),
    linear-gradient(112deg, rgba(255,255,255,0.95) 0%, #8c4cff 42%, #00c9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
}

.as-mark span:first-child {
  transform: translateX(6px);
}

.as-mark span:last-child {
  transform: translateX(-4px);
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: var(--orbit-w);
  height: var(--orbit-h);
  border: 1px solid var(--orbit-color);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(var(--orbit-r));
  box-shadow:
    0 0 20px var(--orbit-glow),
    inset 0 0 22px rgba(255, 255, 255, 0.025);
  opacity: var(--orbit-o);
  animation: orbitSweep var(--orbit-speed, 38s) linear infinite;
}

.orbit::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px dashed var(--orbit-dash);
  opacity: 0.36;
}

.orbit-a {
  --orbit-w: 114%;
  --orbit-h: 34%;
  --orbit-r: -14deg;
  --orbit-color: rgba(255, 255, 255, 0.34);
  --orbit-dash: rgba(139, 228, 216, 0.72);
  --orbit-glow: rgba(255, 255, 255, 0.16);
  --orbit-o: 0.86;
  --orbit-speed: 34s;
}

.orbit-b {
  --orbit-w: 118%;
  --orbit-h: 45%;
  --orbit-r: 11deg;
  --orbit-color: rgba(128, 82, 255, 0.44);
  --orbit-dash: rgba(128, 82, 255, 0.8);
  --orbit-glow: rgba(128, 82, 255, 0.22);
  --orbit-o: 0.72;
  --orbit-speed: 44s;
}

.orbit-c {
  --orbit-w: 104%;
  --orbit-h: 60%;
  --orbit-r: 38deg;
  --orbit-color: rgba(24, 201, 183, 0.34);
  --orbit-dash: rgba(24, 201, 183, 0.66);
  --orbit-glow: rgba(24, 201, 183, 0.18);
  --orbit-o: 0.7;
  --orbit-speed: 52s;
}

.orbit-d {
  --orbit-w: 124%;
  --orbit-h: 30%;
  --orbit-r: -33deg;
  --orbit-color: rgba(255, 184, 41, 0.26);
  --orbit-dash: rgba(255, 184, 41, 0.62);
  --orbit-glow: rgba(255, 184, 41, 0.14);
  --orbit-o: 0.64;
  --orbit-speed: 39s;
}

.orbit-e {
  --orbit-w: 90%;
  --orbit-h: 112%;
  --orbit-r: 72deg;
  --orbit-color: rgba(255, 255, 255, 0.22);
  --orbit-dash: rgba(255, 255, 255, 0.58);
  --orbit-glow: rgba(255, 255, 255, 0.12);
  --orbit-o: 0.58;
  --orbit-speed: 58s;
}

.orbit-f {
  --orbit-w: 132%;
  --orbit-h: 76%;
  --orbit-r: 8deg;
  --orbit-color: rgba(128, 82, 255, 0.2);
  --orbit-dash: rgba(24, 201, 183, 0.38);
  --orbit-glow: rgba(128, 82, 255, 0.14);
  --orbit-o: 0.44;
  --orbit-speed: 66s;
}

.orbit-g {
  --orbit-w: 72%;
  --orbit-h: 126%;
  --orbit-r: -64deg;
  --orbit-color: rgba(139, 228, 216, 0.2);
  --orbit-dash: rgba(255, 255, 255, 0.42);
  --orbit-glow: rgba(139, 228, 216, 0.12);
  --orbit-o: 0.5;
  --orbit-speed: 49s;
}

.orbit-node,
.as-particle {
  position: absolute;
  z-index: 5;
  border-radius: 999px;
  pointer-events: none;
}

.orbit-node {
  width: 9px;
  height: 9px;
  background: #ffffff;
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.8),
    0 0 30px rgba(128, 82, 255, 0.55);
  animation: nodePulse 2.6s ease-in-out infinite;
}

.node-a {
  right: 9%;
  top: 43%;
}

.node-b {
  left: 17%;
  top: 31%;
  background: #8be4d8;
  box-shadow: 0 0 22px rgba(24, 201, 183, 0.75);
}

.node-c {
  left: 54%;
  bottom: 13%;
  width: 7px;
  height: 7px;
  background: #ffb829;
  box-shadow: 0 0 20px rgba(255, 184, 41, 0.72);
}

.as-particle {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.48);
  animation: particleFloat 5.8s ease-in-out infinite;
}

.p1 { left: 19%; top: 52%; }
.p2 { left: 30%; top: 18%; background: rgba(139, 228, 216, 0.86); }
.p3 { right: 20%; top: 26%; background: rgba(128, 82, 255, 0.9); }
.p4 { right: 15%; bottom: 32%; }
.p5 { left: 39%; bottom: 18%; background: rgba(255, 184, 41, 0.8); }
.p6 { right: 34%; bottom: 9%; background: rgba(139, 228, 216, 0.78); }

.orbit-label {
  position: absolute;
  z-index: 7;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.35;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

.orbit-label::before {
  content: "";
  position: absolute;
  width: 58px;
  height: 1px;
  top: 10px;
  background: rgba(255, 255, 255, 0.55);
}

.label-insights {
  left: 16%;
  top: 18%;
}

.label-insights::before {
  right: -66px;
}

.label-campaigns {
  right: 18%;
  top: 7%;
}

.label-campaigns::before {
  left: -66px;
}

.label-keywords {
  right: 2%;
  top: 39%;
}

.label-keywords::before {
  left: -66px;
}

.label-asins {
  right: 3%;
  bottom: 24%;
}

.label-asins::before {
  left: -66px;
}

.label-engine {
  left: 59%;
  bottom: 10%;
}

.label-engine::before {
  left: -66px;
}

.label-operations {
  left: 25%;
  bottom: 18%;
}

.label-operations::before {
  right: -66px;
}

.label-market {
  left: 9%;
  bottom: 32%;
}

.label-market::before {
  right: -66px;
}

.signal-board {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}

.signal-board > article {
  min-height: 118px;
  padding: 25px 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(139, 228, 216, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(4, 23, 41, 0.68);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease;
}

.signal-board > article:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 209, 190, 0.42);
}

.signal-meta {
  display: none;
}

.signal-number {
  color: var(--teal-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.signal-icon,
.tool-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(139, 228, 216, 0.2);
  border-radius: 13px;
  color: var(--teal-soft);
  background: rgba(24, 201, 183, 0.08);
}

.signal-icon svg,
.tool-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-board strong {
  display: block;
  margin-bottom: 9px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.signal-board p {
  margin: 0;
  color: #95a8bd;
  line-height: 1.7;
}

.auth-card {
  position: relative;
  grid-column: 1 / -1;
  width: min(500px, 100%);
  margin: 80px auto 0;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 34px;
  color: var(--navy);
  background:
    radial-gradient(circle at 90% 2%, rgba(219, 231, 253, 0.52), transparent 14rem),
    linear-gradient(180deg, rgba(246, 248, 252, 0.98), rgba(223, 228, 237, 0.96));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.auth-card::before {
  content: none;
  position: absolute;
  inset: 12px 12px auto 12px;
  height: 110px;
  border-radius: 26px;
  background: linear-gradient(90deg, rgba(24,201,183,0.13), rgba(239,143,116,0.11));
  pointer-events: none;
}

.auth-card > * {
  position: relative;
}

.auth-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.auth-header h2 {
  margin: 8px 0 0;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.auth-kicker {
  display: block;
  color: #7bbcff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.24em;
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  color: #12853f;
  background: rgba(230, 255, 239, 0.9);
  font-size: 13px;
  font-weight: 850;
}

.auth-tabs {
  margin-bottom: 30px;
  padding: 8px;
  border-radius: 24px;
  background: #eaf1fb;
}

.auth-input {
  min-height: 54px;
  border-radius: 17px;
  background: rgba(255,255,255,0.88);
}

.auth-submit {
  min-height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #38bdf8, #2563eb 72%);
}

.auth-footnote {
  margin: 16px 0 0;
  color: #60717c;
  font-size: 13px;
  line-height: 1.7;
}

.auth-note {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 20px;
  background: rgba(239, 246, 255, 0.74);
}

.auth-note strong {
  display: block;
  margin-bottom: 6px;
  color: #1d4ed8;
  font-size: 13px;
}

.auth-note p {
  margin: 0;
  color: #516070;
  font-size: 13px;
  line-height: 1.7;
}

.hero p {
  max-width: 670px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
}

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

.card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.88));
  color: var(--text-dark);
  box-shadow: var(--shadow);
}

.card-pad {
  padding: 28px;
}

.panel {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  background: var(--panel);
  color: var(--text-dark);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.panel-header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid #e8edf5;
}

.panel-title {
  margin: 0;
  font-size: 18px;
}

.panel-body {
  padding: 24px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border-radius: 16px;
  background: #eef4ff;
}

.tab {
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: transparent;
  color: #475467;
  cursor: pointer;
  font-weight: 700;
}

.tab.active {
  background: white;
  color: #0f172a;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.file-guidance {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}

.file-format {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 7px;
  padding: 2px 7px;
  background: rgba(20, 184, 166, 0.08);
  color: #0f766e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.field-help {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.65;
}

.input, .file {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  padding: 13px 14px;
  background: white;
  color: #101828;
  font-size: 15px;
  outline: none;
}

.input:focus, .file:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  color: white;
  background: linear-gradient(135deg, var(--teal), #087d9b);
  box-shadow: 0 14px 34px rgba(13, 142, 154, 0.25);
  cursor: pointer;
  font-weight: 760;
  text-decoration: none;
}

.btn.secondary {
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.btn.ghost {
  color: #0f172a;
  background: #eef4ff;
  box-shadow: none;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.status {
  min-height: 22px;
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.55;
}

.status.error {
  color: var(--red);
}

.status.ok {
  color: #15803d;
}

.page {
  padding: 34px 0 56px;
}

.page-title {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  margin: 30px 0 24px;
}

.page-title h1 {
  margin: 0;
  font-family: "Segoe UI Variable Display", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 680;
  letter-spacing: -0.03em;
}

.page-title p {
  margin: 8px 0 0;
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf1f7;
  text-align: left;
  vertical-align: middle;
}

th {
  color: #475467;
  background: #f8fafc;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 760;
  background: #eef4ff;
  color: #2563eb;
}

.badge.pending { background: #fff7ed; color: #c2410c; }
.badge.running { background: #eff6ff; color: #1d4ed8; }
.badge.done { background: #ecfdf3; color: #15803d; }
.badge.failed { background: #fef2f2; color: #b91c1c; }

.report-frame {
  width: 100%;
  min-height: 78vh;
  border: 0;
  border-radius: 24px;
  background: white;
}

.footer {
  padding: 28px 0;
  color: rgba(234, 242, 255, 0.72);
  font-size: 13px;
  text-align: center;
}

.footer a {
  color: rgba(234, 242, 255, 0.82);
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-sep {
  color: rgba(234, 242, 255, 0.42);
}

.site-body {
  position: relative;
  overflow-x: hidden;
}

.site-body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(circle at 82% 14%, rgba(24, 201, 183, 0.2), transparent 24rem),
    radial-gradient(circle at 28% 76%, rgba(239, 143, 116, 0.1), transparent 30rem);
  filter: blur(10px);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.2;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 65%, rgba(24,201,183,0.08) 0 1px, transparent 1.5px),
    repeating-linear-gradient(125deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 18px);
  background-size: 34px 34px, 46px 46px, auto;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.brand-link {
  text-decoration: none;
}

.brand-sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.site-nav a {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  position: relative;
  min-height: 78px;
  color: inherit;
  text-decoration: none;
}

.site-nav a:hover {
  color: #a56cff;
}

.site-nav a.active {
  color: #a56cff;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: #8b4cff;
  box-shadow: 0 0 18px rgba(139, 76, 255, 0.74);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 78px;
}

.nav-dropdown {
  position: absolute;
  left: 50%;
  top: calc(100% - 10px);
  z-index: 40;
  min-width: 180px;
  padding: 8px;
  border: 1px solid rgba(128, 82, 255, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 10%, rgba(128, 82, 255, 0.18), transparent 10rem),
    rgba(8, 8, 14, 0.94);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
  backdrop-filter: blur(18px);
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.site-nav .nav-dropdown a {
  display: flex;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  white-space: nowrap;
}

.site-nav .nav-dropdown a:hover,
.site-nav .nav-dropdown a:focus {
  color: #fff;
  background: rgba(128, 82, 255, 0.18);
  outline: none;
}

.site-nav .nav-dropdown a::after {
  content: none;
}

.site-nav .nav-trigger::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 0 12px rgba(128, 82, 255, 0.5);
  opacity: 0;
  transform: translateX(-50%) scaleX(0.35);
  transform-origin: center;
  transition: opacity 160ms ease, transform 180ms ease;
}

.nav-item:hover .nav-trigger::before,
.nav-item:focus-within .nav-trigger::before {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.nav-item:hover .nav-trigger,
.nav-item:focus-within .nav-trigger {
  color: #fff;
}

.nav-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #8b4cff;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-login {
  min-width: 118px;
  min-height: 48px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #6f3dff, #9b62ff);
  box-shadow: 0 12px 32px rgba(111, 61, 255, 0.35);
  font-size: 16px;
}

.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  opacity: 0.68;
}

.hero-editorial {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  min-height: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn.ghost-dark {
  border: 1px solid rgba(234, 242, 255, 0.22);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.command-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(15, 25, 43, 0.88), rgba(10, 18, 32, 0.76));
  box-shadow: var(--shadow);
}

.command-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

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

.command-row span {
  color: var(--muted);
  font-size: 13px;
}

.command-row strong {
  font-size: 30px;
  line-height: 1;
}

.section-block {
  padding: 44px 0;
}

.section-kicker {
  margin: 0 0 14px;
  color: #93c5fd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.feature-grid,
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.tool-card {
  display: block;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  color: var(--text);
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(139,228,216,0.1), rgba(255,255,255,0.035)),
    rgba(4, 24, 43, 0.72);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card:hover,
.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 209, 190, 0.45);
  background:
    linear-gradient(145deg, rgba(24,201,183,0.15), rgba(255,255,255,0.04)),
    rgba(4, 24, 43, 0.82);
}

.feature-card span,
.tool-card span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--teal-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.feature-card h2,
.feature-card h3,
.tool-card h2,
.tool-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.feature-card p,
.tool-card p,
.tool-card em {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.tool-card em {
  display: inline-block;
  margin-top: 18px;
  font-style: normal;
  color: #bfdbfe;
}

.tool-card.primary {
  grid-column: span 1;
  background:
    radial-gradient(circle at 82% 10%, rgba(24, 201, 183, 0.24), transparent 16rem),
    linear-gradient(145deg, rgba(8,125,155,0.26), rgba(255,255,255,0.05)),
    rgba(4, 24, 43, 0.82);
}

.tool-card .tool-icon {
  display: grid;
  margin: 0 0 24px;
  color: var(--teal-soft);
  letter-spacing: 0;
}

.tool-card > .badge {
  margin-bottom: 32px;
}

.tool-card h2 {
  font-family: "Segoe UI Variable Display", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-weight: 670;
}

.manifesto {
  margin-top: 22px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  color: rgba(234, 242, 255, 0.82);
  background: rgba(255, 255, 255, 0.045);
  line-height: 1.9;
}

.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 26px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  color: rgba(234, 242, 255, 0.78);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: white;
}

.battle-title {
  margin-top: 18px;
}

.battle-panel {
  backdrop-filter: blur(14px);
}

.validation-mode {
  background: rgba(20, 184, 166, 0.1);
  color: #0f766e;
}

.validation-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgba(14, 116, 144, 0.13);
  border-radius: 16px;
  padding: 14px 15px;
  background: linear-gradient(135deg, rgba(236, 254, 255, 0.88), rgba(239, 246, 255, 0.74));
  color: #164e63;
}

.validation-note-icon {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #14b8a6, #2563eb);
  color: white;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.17);
}

.validation-note strong {
  display: block;
  margin: 1px 0 3px;
  color: #164e63;
  font-size: 13px;
}

.validation-note p {
  margin: 0;
  color: #52718a;
  font-size: 12px;
  line-height: 1.6;
}

.badge.running {
  animation: pulseGlow 1.8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(37, 99, 235, 0);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
  }
}

@keyframes particleDrift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 120px 80px, -90px 130px, 70px -110px;
  }
}

@keyframes orbitSweep {
  from {
    transform: translate(-50%, -50%) rotate(var(--orbit-r));
  }
  to {
    transform: translate(-50%, -50%) rotate(calc(var(--orbit-r) + 360deg));
  }
}

@keyframes nodePulse {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.86);
  }
  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}

@keyframes particleFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.62;
  }
  50% {
    transform: translate3d(8px, -10px, 0);
    opacity: 1;
  }
}

@media (max-width: 1500px) {
  .shell {
    width: min(1360px, calc(100vw - 56px));
  }

  .site-nav {
    gap: 18px;
    font-size: 13px;
  }

  .nav-icon {
    width: 20px;
    height: 20px;
  }

  .login-stage {
    grid-template-columns: minmax(420px, 0.66fr) minmax(580px, 1fr);
  }

  .as-orbit-field {
    width: min(57vw, 840px);
    min-width: 560px;
  }

  .login-copy h1 {
    font-size: clamp(44px, 4vw, 70px);
  }

  .login-copy h1 span {
    font-size: clamp(64px, 5.5vw, 104px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.hidden {
  display: none !important;
}

/* 2026-08-18 AISAILO Dala-style dynamic hero overrides */
.mobile-tool-btn {
  display: none;
}

.ais-hero {
  overflow: visible;
}

.as-system {
  transform: translate(1.5%, -2%);
}

.as-particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.as-orbit-field.canvas-ready::after {
  opacity: 0.12;
}

.as-orbit-field.canvas-ready .as-mark {
  opacity: 0.18;
  filter: blur(0.2px);
}

.nav-actions .nav-login,
.nav-actions .nav-login:visited {
  min-width: 130px;
  min-height: 50px;
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #7144ff 0%, #9a61ff 100%);
  box-shadow: 0 14px 36px rgba(113, 68, 255, 0.42);
}

.nav-actions .nav-login:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(113, 68, 255, 0.52);
}

.login-copy h1 {
  font-size: clamp(44px, 3.15vw, 68px);
  line-height: 1.1;
}

.login-copy h1 span {
  font-size: clamp(72px, 5.2vw, 112px);
  line-height: 0.92;
}

.title-stroke {
  margin: 24px 0 24px;
}

.logic-line {
  font-size: clamp(15px, 1.02vw, 22px);
}

.login-copy .lead {
  margin-top: 24px;
}

.hero-cta {
  margin-top: 34px;
}

@media (max-width: 1500px) {
  .login-copy h1 {
    font-size: clamp(40px, 3.45vw, 60px);
  }

  .login-copy h1 span {
    font-size: clamp(62px, 5.1vw, 92px);
  }

  .title-stroke {
    margin: 20px 0 20px;
  }

  .logic-line {
    font-size: 17px;
  }

  .login-copy .lead {
    margin-top: 20px;
    font-size: 20px;
  }

  .hero-cta {
    margin-top: 28px;
    min-height: 64px;
  }

  .as-system {
    transform: translate(2%, -4%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .as-particle-canvas {
    display: none;
  }

  .as-orbit-field.canvas-ready .as-mark {
    opacity: 1;
  }
}

@media (max-width: 920px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .shell {
    width: min(1320px, calc(100vw - 32px));
  }

  .hero, .grid-2 {
    grid-template-columns: 1fr;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .page-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    display: none;
  }

  .topbar-inner {
    gap: 12px;
    min-height: 64px;
  }

  .topbar-inner .nav-actions {
    position: fixed;
    right: 16px;
    top: 14px;
    z-index: 30;
    margin-left: 0;
  }

  .brand {
    min-width: 0;
    font-size: 14px;
  }

  .brand-sub {
    display: none;
  }

  .nav-actions {
    flex: 0 0 auto;
  }

  .nav-actions .btn {
    width: auto;
    min-width: 74px;
    min-height: 38px;
    padding: 9px 10px;
    font-size: 0;
    white-space: nowrap;
  }

  .nav-actions .btn::after {
    content: "登录";
    font-size: 12px;
  }

  .nav-actions .nav-login,
  .nav-actions .nav-login:visited {
    min-width: 74px;
    min-height: 38px;
    border-radius: 999px;
  }

  .mobile-tool-btn {
    position: fixed;
    right: 16px;
    top: 14px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #7144ff 0%, #9a61ff 100%);
    box-shadow: 0 14px 36px rgba(113, 68, 255, 0.42);
    font-size: 12px;
    font-weight: 780;
    text-decoration: none;
    backdrop-filter: blur(18px);
  }

  .feature-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .hero-editorial {
    min-height: auto;
  }

  .login-stage {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding-top: 32px;
  }

  .ais-hero::before {
    opacity: 0.22;
    mask-image: linear-gradient(to bottom, black, transparent 92%);
  }

  .login-copy,
  .auth-card {
    min-width: 0;
  }

  .login-copy h1 {
    max-width: 100%;
    font-size: clamp(34px, 9.5vw, 50px);
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .login-copy h1 span {
    font-size: clamp(58px, 14vw, 76px);
  }

  .login-copy .lead {
    max-width: 100%;
  }

  .logic-line {
    display: block;
    inline-size: min(360px, calc(100vw - 32px));
    max-width: min(360px, calc(100vw - 32px));
    font-size: 12px;
    line-height: 1.55;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .logic-chain {
    gap: 8px;
    margin-top: 24px;
    max-width: 100%;
  }

  .logic-chain span {
    min-height: 28px;
    padding: 0 9px;
    font-size: 10px;
  }

  .as-orbit-field {
    width: min(100%, 390px);
    min-width: 0;
  }

  .as-system {
    transform: none;
  }

  .as-particle-canvas {
    opacity: 0.88;
  }

  .as-mark {
    font-size: clamp(76px, 23vw, 118px);
  }

  .signal-board {
    grid-template-columns: 1fr;
  }

  .lead {
    font-size: 16px;
    line-height: 1.75;
  }

  .auth-card {
    padding: 22px;
    border-radius: 26px;
  }
}

@media (max-width: 920px) {
  .topbar {
    overflow: visible;
  }

  .topbar-inner {
    position: relative;
  }

  .site-nav {
    display: none !important;
  }

  .topbar-inner .nav-actions {
    display: none !important;
    position: fixed !important;
    top: 14px !important;
    right: 16px !important;
    left: auto !important;
    z-index: 80 !important;
    width: auto !important;
    transform: none !important;
  }

  .nav-actions .nav-login {
    display: inline-flex !important;
    width: 74px !important;
    min-width: 74px !important;
    min-height: 38px !important;
    padding: 0 14px !important;
    font-size: 0 !important;
  }

  .nav-actions .nav-login::after {
    content: "登录";
    font-size: 12px;
    font-weight: 780;
  }
}

@media (max-width: 1200px) {
  .mobile-tool-btn {
    position: fixed !important;
    top: 14px !important;
    right: auto !important;
    left: min(calc(100vw - 90px), 300px) !important;
    z-index: 120 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 74px;
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #7144ff 0%, #9a61ff 100%);
    box-shadow: 0 14px 36px rgba(113, 68, 255, 0.42);
    font-size: 12px;
    font-weight: 780;
    text-decoration: none;
    backdrop-filter: blur(18px);
  }
}

/* 2026-08-18 AISAILO final homepage direction */
:root {
  --ais-bg: #020205;
  --ais-purple: #8052ff;
  --ais-purple-2: #a46bff;
  --ais-cyan: #00c8ff;
  --ais-amber: #ffb829;
}

.login-body {
  background:
    radial-gradient(circle at 72% 46%, rgba(128, 82, 255, 0.18), transparent 31rem),
    radial-gradient(circle at 82% 50%, rgba(0, 200, 255, 0.13), transparent 28rem),
    radial-gradient(circle at 16% 46%, rgba(255, 255, 255, 0.035), transparent 22rem),
    var(--ais-bg);
}

.site-body::before,
.aurora {
  display: none;
}

.grain {
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 18% 26%, rgba(255,255,255,0.1) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 62%, rgba(128,82,255,0.12) 0 1px, transparent 1.5px),
    repeating-linear-gradient(125deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 20px);
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(2, 2, 5, 0.86), rgba(2, 2, 5, 0.2));
  box-shadow: none;
}

.topbar-inner {
  min-height: 96px;
}

.brand {
  flex: 0 0 auto;
}

.as-logo {
  width: 54px;
  height: 54px;
  border-color: var(--ais-purple);
  border-radius: 2px;
  background: #050505;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.26) inset,
    0 0 24px rgba(128, 82, 255, 0.36);
  font-size: 28px;
}

.site-nav {
  gap: clamp(14px, 1.45vw, 28px);
  margin-left: auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(12px, 0.72vw, 15px);
}

.site-nav a {
  min-height: 88px;
  gap: 7px;
}

.site-nav .nav-item {
  min-height: 88px;
}

.site-nav a.active,
.site-nav a:hover {
  color: #fff;
}

.site-nav a.active::after {
  height: 2px;
  background: var(--ais-purple);
}

.nav-icon {
  width: 18px;
  height: 18px;
  color: var(--ais-purple);
}

.nav-actions {
  margin-left: clamp(14px, 1.5vw, 28px);
}

.nav-actions .nav-login,
.nav-actions .nav-login:visited {
  min-width: 128px;
  min-height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7042ff, #9d65ff);
  box-shadow: 0 14px 36px rgba(128, 82, 255, 0.42);
}

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

.ais-hero {
  width: min(1780px, calc(100vw - 96px));
  grid-template-columns: minmax(760px, 0.92fr) minmax(680px, 1.08fr);
  gap: 22px;
  min-height: 100vh;
  padding: 132px 0 64px;
}

.ais-hero::before {
  opacity: 0.28;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.24) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(128,82,255,0.5) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(0,200,255,0.32) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(255,184,41,0.28) 0 1px, transparent 1.8px);
  background-position: 8% 18%, 72% 30%, 86% 72%, 24% 62%;
  background-size: 90px 90px, 58px 58px, 108px 108px, 150px 150px;
  mask-image: linear-gradient(90deg, transparent 0 2%, rgba(0,0,0,0.58) 34%, black 52%);
}

.ais-copy {
  align-self: center;
  padding-top: 10px;
}

.login-copy h1 {
  max-width: 900px;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(42px, 3vw, 62px);
  font-weight: 760;
  line-height: 1.12;
  text-shadow: 0 0 18px rgba(255,255,255,0.12);
  white-space: nowrap;
}

.login-copy h1 span {
  margin-bottom: 18px;
  font-size: clamp(74px, 5.25vw, 116px);
  font-weight: 720;
  line-height: 0.88;
}

.title-stroke {
  width: 64px;
  height: 6px;
  margin: 34px 0 28px;
  background: linear-gradient(90deg, #7042ff, #9d65ff);
}

.logic-line {
  max-width: 780px;
  color: var(--ais-amber);
  font-size: clamp(16px, 1.05vw, 21px);
  font-weight: 760;
  letter-spacing: 0.035em;
}

.login-copy .lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.28vw, 24px);
  line-height: 1.75;
}

.hero-cta {
  min-width: 315px;
  min-height: 76px;
  margin-top: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7042ff 0%, #9d65ff 62%, #6f3dff 100%);
  box-shadow: 0 22px 54px rgba(128, 82, 255, 0.38);
  font-size: 24px;
}

.as-system {
  align-self: center;
  justify-self: end;
  width: 100%;
  min-width: 0;
  transform: translate(0, -1.5%);
}

.as-orbit-field {
  width: min(55vw, 980px);
  min-width: 700px;
  margin-right: 0;
}

.as-orbit-field::before {
  inset: 7%;
  background:
    radial-gradient(circle at 42% 49%, rgba(128, 82, 255, 0.58), transparent 32%),
    radial-gradient(circle at 65% 52%, rgba(0, 200, 255, 0.4), transparent 30%),
    radial-gradient(circle at 35% 62%, rgba(255, 184, 41, 0.10), transparent 38%);
}

.orbit-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.84);
}

.orbit-label br + * {
  opacity: 0.7;
}

.orbit-label::before {
  width: 50px;
  background: rgba(185, 190, 210, 0.45);
}

.label-insights { left: 13%; top: 14%; }
.label-campaigns { right: 24%; top: 5%; }
.label-keywords { right: 0%; top: 34%; }
.label-asins { right: 3%; bottom: 22%; }
.label-engine { left: 58%; bottom: 7%; }
.label-operations { left: 21%; bottom: 17%; }
.label-market { left: 11%; bottom: 35%; }

.auth-modal[hidden] {
  display: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 28px;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(12px);
}

.auth-open {
  overflow: hidden;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: min(700px, calc(100vw - 56px));
  max-height: calc(100vh - 56px);
  overflow: auto;
  border-color: rgba(128, 82, 255, 0.22);
  border-radius: 22px;
  color: #eef2ff;
  background:
    radial-gradient(circle at 92% 8%, rgba(128, 82, 255, 0.18), transparent 12rem),
    linear-gradient(180deg, rgba(14, 14, 24, 0.92), rgba(8, 8, 14, 0.94));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}

.auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.06);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.auth-close:hover {
  color: #fff;
  background: rgba(128, 82, 255, 0.28);
}

.auth-card .field label,
.auth-header h2 {
  color: #fff;
}

.auth-kicker {
  color: #a78bfa;
}

.auth-tabs {
  background: rgba(255,255,255,0.08);
}

.tab.active {
  color: #fff;
  background: rgba(128, 82, 255, 0.72);
}

.tab {
  color: rgba(255,255,255,0.7);
}

.auth-input {
  border-color: rgba(255,255,255,0.18);
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.auth-input::placeholder {
  color: rgba(255,255,255,0.42);
}

.auth-submit {
  background: linear-gradient(135deg, #7042ff, #9d65ff);
}

.auth-footnote,
.status {
  color: rgba(255,255,255,0.6);
}

.loop-section,
.module-section {
  padding: 86px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading span {
  color: var(--ais-amber);
  font-size: 12px;
  font-weight: 840;
  letter-spacing: 0.22em;
}

.section-heading h2 {
  margin: 14px 0 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 52px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-heading p {
  margin: 16px 0 0;
  color: rgba(255,255,255,0.64);
  font-size: 17px;
  line-height: 1.75;
}

.loop-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.035);
}

.loop-rail article,
.module-grid article {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.loop-rail article:last-child {
  border-right: 0;
}

.loop-rail strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ais-purple-2);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.loop-rail span,
.module-grid p {
  color: rgba(255,255,255,0.64);
  font-size: 14px;
  line-height: 1.72;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.module-grid article {
  min-height: 188px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 16%, rgba(128, 82, 255, 0.13), transparent 12rem),
    rgba(255,255,255,0.035);
}

.module-grid article span {
  display: block;
  margin-bottom: 28px;
  color: rgba(0, 200, 255, 0.82);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.14em;
}

.module-grid strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 26px;
}

@media (max-width: 1500px) {
  .ais-hero {
    width: min(1440px, calc(100vw - 56px));
    grid-template-columns: minmax(610px, 0.86fr) minmax(610px, 1fr);
  }

  .as-orbit-field {
    width: min(54vw, 820px);
    min-width: 600px;
  }

  .login-copy h1 {
    font-size: clamp(38px, 2.9vw, 54px);
  }
}

@media (max-width: 1200px) {
  .site-nav {
    display: none;
  }

  .topbar-inner {
    min-height: 76px;
  }

  .nav-actions {
    gap: 12px;
    margin-left: auto;
  }

  .topbar-inner .nav-actions {
    display: flex !important;
    position: static !important;
    width: auto !important;
    transform: none !important;
  }

  .mobile-menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 2px 0;
    border-radius: 999px;
    background: currentColor;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: block;
    background: rgba(0,0,0,0.62);
    backdrop-filter: blur(12px);
  }

  .mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(390px, 88vw);
    height: 100%;
    padding: 26px;
    border-left: 1px solid rgba(255,255,255,0.12);
    background:
      radial-gradient(circle at 88% 12%, rgba(128,82,255,0.18), transparent 13rem),
      #06060b;
    box-shadow: -30px 0 90px rgba(0,0,0,0.48);
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
  }

  .mobile-menu-title {
    color: #fff;
    font-size: 18px;
    font-weight: 780;
  }

  .mobile-menu-close {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,0.06);
    font-size: 24px;
    cursor: pointer;
  }

  .mobile-menu-nav {
    display: grid;
    gap: 10px;
  }

  .mobile-menu-nav a,
  .mobile-menu-nav summary {
    display: flex;
    align-items: center;
    min-height: 46px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.86);
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-menu-nav details a {
    min-height: 40px;
    padding-left: 18px;
    color: rgba(255,255,255,0.68);
    font-size: 14px;
  }

  .mobile-menu-login {
    justify-content: center;
    margin-top: 16px;
    border: 0 !important;
    border-radius: 999px;
    background: linear-gradient(135deg, #7042ff, #9d65ff);
  }

  .menu-open {
    overflow: hidden;
  }

  .ais-hero {
    grid-template-columns: 1fr;
    width: min(860px, calc(100vw - 40px));
    min-height: auto;
    padding-top: 112px;
  }

  .as-system {
    justify-self: center;
    margin-top: 28px;
    transform: none;
  }

  .as-orbit-field {
    width: min(100%, 680px);
    min-width: 0;
    margin: 0 auto;
  }

  .orbit-label {
    display: none;
  }

  .loop-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loop-rail article {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .shell,
  .ais-hero {
    width: calc(100vw - 32px);
  }

  .topbar-inner {
    min-height: 68px;
  }

  .as-logo {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .nav-actions .nav-login,
  .nav-actions .nav-login:visited {
    min-width: 82px;
    min-height: 38px;
    padding: 0 13px;
    font-size: 12px;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
  }

  .ais-hero {
    padding-top: 98px;
  }

  .login-copy h1 {
    font-size: clamp(32px, 9.4vw, 44px);
    white-space: normal;
  }

  .login-copy h1 span {
    font-size: clamp(56px, 16vw, 76px);
  }

  .title-stroke {
    margin: 24px 0 20px;
  }

  .logic-line {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.7;
  }

  .login-copy .lead {
    font-size: 16px;
  }

  .hero-cta {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    font-size: 17px;
  }

  .hero-cta span {
    font-size: 28px;
  }

  .as-orbit-field {
    width: min(100%, 380px);
  }

  .orbit-f,
  .orbit-g,
  .label-market,
  .label-operations,
  .label-engine,
  .label-asins,
  .label-keywords,
  .label-campaigns,
  .label-insights {
    display: none;
  }

  .auth-card {
    width: min(100%, 390px);
    padding: 22px;
  }

  .loop-section,
  .module-section {
    padding: 58px 0;
  }

  .loop-rail,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .loop-rail article {
    border-right: 0;
  }
}

/* AISAILO homepage v8: keep the desktop hero inside the viewport and closer to the approved visual mockup. */
@media (min-width: 1201px) {
  .topbar-inner {
    min-height: 72px;
  }

  .as-logo {
    width: 50px;
    height: 50px;
    font-size: 26px;
  }

  .site-nav {
    gap: clamp(12px, 1.05vw, 22px);
    font-size: clamp(12px, 0.68vw, 14px);
  }

  .site-nav a {
    min-height: 72px;
    gap: 6px;
  }

  .site-nav .nav-item {
    min-height: 72px;
  }

  .nav-icon {
    width: 17px;
    height: 17px;
  }

  .nav-actions .nav-login,
  .nav-actions .nav-login:visited {
    min-width: 120px;
    min-height: 44px;
    font-size: 15px;
  }

  .ais-hero {
    width: min(1640px, calc(100vw - 64px));
    grid-template-columns: minmax(520px, 0.78fr) minmax(620px, 1fr);
    gap: clamp(12px, 2vw, 44px);
    min-height: calc(100vh - 72px);
    padding: 92px 0 48px;
    overflow: hidden;
  }

  .ais-copy {
    padding-top: 0;
  }

  .login-copy h1 {
    max-width: 720px;
    font-size: clamp(36px, 2.55vw, 52px);
    line-height: 1.14;
  }

  .login-copy h1 span {
    margin-bottom: 16px;
    font-size: clamp(64px, 4.75vw, 96px);
  }

  .title-stroke {
    width: 58px;
    height: 5px;
    margin: 28px 0 24px;
  }

  .logic-line {
    max-width: 720px;
    font-size: clamp(14px, 0.92vw, 18px);
    letter-spacing: 0.032em;
  }

  .login-copy .lead {
    max-width: 560px;
    margin-top: 22px;
    font-size: clamp(16px, 1vw, 20px);
  }

  .hero-cta {
    min-width: 270px;
    min-height: 62px;
    margin-top: 32px;
    gap: 16px;
    font-size: 20px;
  }

  .hero-cta span {
    font-size: 34px;
  }

  .as-system {
    justify-self: stretch;
    overflow: visible;
    transform: translate(-1.5%, -1%);
  }

  .as-orbit-field {
    width: clamp(610px, 47vw, 820px);
    min-width: 0;
    margin: 0 auto;
  }

  .as-orbit-field::before {
    inset: 9%;
    filter: blur(30px);
    opacity: 0.78;
  }

  .as-orbit-field::after {
    inset: 14%;
    opacity: 0.72;
    mask-image: radial-gradient(circle, black 0 55%, transparent 73%);
  }

  .as-mark {
    width: 62%;
    font-size: clamp(190px, 15vw, 280px);
    text-shadow:
      0 0 12px rgba(255, 255, 255, 0.46),
      0 0 38px rgba(128, 82, 255, 0.68),
      0 0 72px rgba(0, 203, 255, 0.38);
  }

  .orbit-label {
    font-size: clamp(12px, 0.74vw, 14px);
    line-height: 1.32;
  }

  .orbit-label::before {
    width: 42px;
  }

  .label-insights { left: 17%; top: 15%; }
  .label-campaigns { right: 21%; top: 7%; }
  .label-keywords { right: 4%; top: 36%; }
  .label-asins { right: 5%; bottom: 25%; }
  .label-engine { left: 57%; bottom: 10%; }
  .label-operations { left: 24%; bottom: 18%; }
  .label-market { left: 14%; bottom: 34%; }
}

@media (min-width: 1201px) and (max-width: 1500px) {
  .ais-hero {
    width: min(1360px, calc(100vw - 48px));
    grid-template-columns: minmax(470px, 0.72fr) minmax(560px, 0.94fr);
    gap: 10px;
  }

  .login-copy h1 {
    max-width: 620px;
    font-size: clamp(34px, 2.45vw, 44px);
  }

  .login-copy h1 span {
    font-size: clamp(58px, 4.6vw, 82px);
  }

  .as-orbit-field {
    width: clamp(560px, 45vw, 670px);
  }

  .label-keywords,
  .label-asins {
    right: 6%;
  }
}

/* 2026-08-18 AISAILO subpage visual unification */
.ais-subpage {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 18%, rgba(128, 82, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 82% 62%, rgba(0, 200, 255, 0.1), transparent 28rem),
    radial-gradient(circle at 16% 46%, rgba(255, 255, 255, 0.035), transparent 22rem),
    var(--ais-bg);
}

.ais-subpage .grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.ais-subpage .topbar {
  position: sticky;
  background: linear-gradient(180deg, rgba(2, 2, 5, 0.9), rgba(2, 2, 5, 0.62));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.ais-subpage .topbar-inner {
  min-height: 72px;
}

.ais-subpage .brand {
  color: #fff;
  text-decoration: none;
}

.ais-subpage .brand > div > div {
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}

.ais-subpage .brand-sub {
  color: rgba(255,255,255,0.54);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.ais-subpage .site-nav {
  gap: clamp(16px, 1.45vw, 28px);
  color: rgba(255,255,255,0.76);
  font-size: clamp(12px, 0.74vw, 15px);
}

.ais-subpage .site-nav a {
  min-height: 72px;
  color: inherit;
  text-decoration: none;
}

.ais-subpage .site-nav .nav-item {
  min-height: 72px;
}

.ais-subpage .site-nav a:hover,
.ais-subpage .site-nav a.active {
  color: #fff;
}

.ais-subpage .page {
  padding: 54px 0 82px;
}

.ais-subpage .breadcrumb {
  color: rgba(255,255,255,0.54);
}

.ais-subpage .breadcrumb a {
  color: rgba(255,255,255,0.74);
}

.ais-subpage .breadcrumb a:hover {
  color: var(--ais-purple-2);
}

.ais-subpage .page-title {
  align-items: flex-end;
  margin: 24px 0 28px;
  padding: 32px 0 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ais-subpage .page-title h1 {
  margin: 12px 0 0;
  color: #fff;
  font-family: "Segoe UI Variable Display", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: clamp(36px, 3vw, 56px);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(255,255,255,0.1);
}

.ais-subpage .page-title p {
  max-width: 680px;
  color: rgba(255,255,255,0.66);
  font-size: 17px;
  line-height: 1.75;
}

.ais-subpage .eyebrow {
  border: 0;
  padding: 0;
  border-radius: 0;
  color: var(--ais-amber);
  background: transparent;
  font-size: 12px;
  font-weight: 840;
  letter-spacing: 0.22em;
}

.ais-subpage .btn {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #7042ff, #9d65ff);
  box-shadow: 0 14px 34px rgba(128, 82, 255, 0.28);
}

.ais-subpage .btn:hover {
  filter: brightness(1.08);
}

.ais-subpage .btn.secondary,
.ais-subpage .btn.ghost {
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  background: rgba(255,255,255,0.07);
  box-shadow: none;
}

.ais-subpage .nav-login,
.ais-subpage .nav-login:visited {
  border: 0;
  background: linear-gradient(135deg, #7042ff, #9d65ff);
  box-shadow: 0 14px 36px rgba(128, 82, 255, 0.36);
}

.ais-subpage .panel,
.ais-subpage .tool-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #eef2ff;
  background:
    radial-gradient(circle at 88% 12%, rgba(128, 82, 255, 0.14), transparent 14rem),
    linear-gradient(180deg, rgba(15, 15, 25, 0.9), rgba(8, 8, 14, 0.92));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.ais-subpage .tool-card {
  min-height: 220px;
  text-decoration: none;
}

.ais-subpage .tool-card.primary {
  background:
    radial-gradient(circle at 86% 18%, rgba(0, 200, 255, 0.14), transparent 14rem),
    radial-gradient(circle at 20% 72%, rgba(128, 82, 255, 0.16), transparent 14rem),
    linear-gradient(180deg, rgba(18, 18, 30, 0.94), rgba(8, 8, 14, 0.94));
}

.ais-subpage .tool-card:hover {
  border-color: rgba(128, 82, 255, 0.42);
  transform: translateY(-3px);
}

.ais-subpage .tool-card h2,
.ais-subpage .tool-card h3,
.ais-subpage .panel-title {
  color: #fff;
}

.ais-subpage .tool-card p,
.ais-subpage .tool-card em,
.ais-subpage .panel-body,
.ais-subpage .field-help {
  color: rgba(255,255,255,0.64);
}

.ais-subpage .tool-card span:not(.badge):not(.tool-icon) {
  color: var(--ais-cyan);
}

.ais-subpage .tool-icon {
  border-color: rgba(128, 82, 255, 0.3);
  color: var(--ais-purple-2);
  background: rgba(128, 82, 255, 0.1);
}

.ais-subpage .panel-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ais-subpage .input,
.ais-subpage .file,
.ais-subpage select.input {
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  background: rgba(255,255,255,0.075);
}

.ais-subpage .input::placeholder {
  color: rgba(255,255,255,0.38);
}

.ais-subpage .input:focus,
.ais-subpage .file:focus {
  border-color: var(--ais-purple);
  box-shadow: 0 0 0 4px rgba(128, 82, 255, 0.16);
}

.ais-subpage .field label {
  color: rgba(255,255,255,0.86);
}

.ais-subpage .file-format,
.ais-subpage .badge {
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.76);
  background: rgba(255,255,255,0.07);
}

.ais-subpage .badge.done,
.ais-subpage .status.ok {
  color: #8be4d8;
  background: rgba(24, 201, 183, 0.1);
}

.ais-subpage .badge.pending,
.ais-subpage .validation-mode {
  color: var(--ais-amber);
  background: rgba(255, 184, 41, 0.1);
}

.ais-subpage .badge.failed,
.ais-subpage .status.error {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
}

.ais-subpage .status {
  color: rgba(255,255,255,0.6);
}

.ais-subpage .validation-note {
  border: 1px solid rgba(128, 82, 255, 0.2);
  color: rgba(255,255,255,0.72);
  background:
    radial-gradient(circle at 98% 0%, rgba(128, 82, 255, 0.16), transparent 12rem),
    rgba(255,255,255,0.045);
}

.ais-subpage .validation-note strong {
  color: #fff;
}

.ais-subpage .validation-note p {
  color: rgba(255,255,255,0.62);
}

.ais-subpage .validation-note-icon {
  color: var(--ais-amber);
  background: rgba(255, 184, 41, 0.1);
}

.ais-subpage .table-wrap {
  background: rgba(255,255,255,0.02);
}

.ais-subpage table {
  color: rgba(255,255,255,0.72);
}

.ais-subpage th {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.58);
  background: rgba(255,255,255,0.04);
}

.ais-subpage td {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ais-subpage tbody tr:hover td {
  background: rgba(128, 82, 255, 0.06);
}

.ais-subpage .report-frame {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: #fff;
}

.ais-subpage .footer {
  color: rgba(234, 242, 255, 0.52);
}

.ais-subpage .footer a {
  color: rgba(234, 242, 255, 0.72);
}

@media (max-width: 920px) {
  .ais-subpage .topbar-inner .nav-actions {
    display: flex !important;
    position: static !important;
  }

  .ais-subpage .nav-actions .nav-login {
    width: auto !important;
    min-width: 82px !important;
    font-size: 12px !important;
  }

  .ais-subpage .brand > div {
    display: none;
  }

  .ais-subpage .page {
    padding-top: 38px;
  }

  .ais-subpage .page-title {
    display: grid;
    gap: 18px;
    align-items: start;
  }

  .ais-subpage .grid-2,
  .ais-subpage .tool-grid {
    grid-template-columns: 1fr;
  }
}
