/* Shared product language. Page authorities own their layout and component states. */
:root {
  color-scheme: dark;
  --sws-canvas: #080b10;
  --sws-surface: rgba(21, 24, 30, .82);
  --sws-surface-strong: #13171e;
  --sws-surface-raised: #1d222b;
  --sws-line: rgba(232, 239, 250, .10);
  --sws-line-strong: rgba(232, 239, 250, .20);
  --sws-text: #edf0f6;
  --sws-text-soft: #aeb7c6;
  --sws-text-muted: #828d9f;
  --sws-accent: #f5ad76;
  --sws-accent-soft: rgba(245, 173, 118, .10);
  --sws-focus: #82b8ff;
  --sws-positive: #70dcb0;
  --sws-warning: #e9cc89;
  --sws-danger: #ff858a;
  --sws-radius-control: 12px;
  --sws-radius-panel: 20px;
  --sws-motion-fast: 160ms;
  --sws-motion-panel: 220ms;
  --sws-shadow: 0 20px 60px rgba(0, 0, 0, .30);
  --sws-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--sws-font); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled, [aria-disabled="true"] { cursor: not-allowed; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--sws-focus);
  outline-offset: 4px;
}
input::placeholder, textarea::placeholder { color: var(--sws-text-muted); opacity: 1; }
::selection { color: var(--sws-text); background: rgba(130, 184, 255, .28); }
* { scrollbar-width: thin; scrollbar-color: #3a4352 transparent; }

.sws-product-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}
.sws-product-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--sws-text-muted);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 550;
  transition: color var(--sws-motion-fast), background-color var(--sws-motion-fast);
}
.sws-product-nav a::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  bottom: 3px;
  left: calc(50% - 8px);
  border-radius: 2px;
  background: var(--sws-accent);
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity var(--sws-motion-fast), transform var(--sws-motion-fast);
}
.sws-product-nav a:hover, .sws-product-nav a[aria-current="page"] {
  color: var(--sws-text);
  background: rgba(255, 255, 255, .035);
}
.sws-product-nav a:hover::after, .sws-product-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}
.sws-product-nav img { width: 17px; height: 17px; opacity: .8; }
@supports not (backdrop-filter: blur(1px)) {
  :root { --sws-surface: #15181e; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --sws-motion-fast: 0ms; --sws-motion-panel: 0ms; }
  html { scroll-behavior: auto; }
}
