/* ==========================================================================
   LC 工作台 — Obsidian Optical Studio Flagship (v9)
   Art direction: Apple Pro Studio × Linear Dark Architecture × CJK Editorial
   ========================================================================== */

:root {
  --ls-void: #050507;
  --ls-arch: #08090c;
  --ls-surface: #0d0e13;
  --ls-card: #12141b;
  --ls-card-elev: #161922;

  --ls-ink: #f5f5f7;
  --ls-ink-2: #a1a1aa;
  --ls-ink-3: #787882;

  --ls-cyan: #38bdf8;
  --ls-green: #34d399;
  --ls-amber: #fbbf24;

  --ls-hairline: rgba(255, 255, 255, 0.075);
  --ls-hairline-strong: rgba(255, 255, 255, 0.14);
  --ls-hairline-bright: rgba(255, 255, 255, 0.24);

  --ls-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --ls-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ls-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Auth-page light ceramic tokens (strictly scoped to /desktop-auth) */
  --ap-white: #ffffff;
  --ap-stone: #f5f5f7;
  --ap-ink: #1d1d1f;
  --ap-ink-2: #515154;
  --ap-ink-3: #6e6e73;
  --ap-blue: #0071e3;
  --ap-blue-hover: #0077ed;
  --ap-hairline-light: rgba(0, 0, 0, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--ls-sans);
  font-variant-numeric: tabular-nums;
  line-height: 1.65;
}

body.ls-studio-page {
  color-scheme: only dark;
  background: var(--ls-void);
  color: var(--ls-ink);
  position: relative;
}

/* Subtle cinema matte film-grain texture (zero external asset) */
body.ls-studio-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

.ls-mono {
  font-family: var(--ls-mono);
  font-variant-numeric: tabular-nums;
}

.ls-dim {
  color: var(--ls-ink-3);
  font-weight: 400;
}

.ls-cyan-txt {
  color: var(--ls-cyan);
  font-weight: 500;
}

.ls-green-txt {
  color: var(--ls-green);
  font-weight: 500;
}

.ap-nobr {
  display: inline-block;
  white-space: nowrap;
}

.ls-container {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

.ls-container-narrow {
  width: min(1040px, calc(100% - 48px));
}

/* ==========================================================================
   1. Navigation — Translucent Obsidian Glass (54px)
   ========================================================================== */
.ls-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 54px;
  background: rgba(5, 5, 7, 0.56);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 220ms var(--ls-ease), border-color 220ms var(--ls-ease);
}

.ls-nav.scrolled {
  background: rgba(5, 5, 7, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

.ls-nav-inner {
  width: min(1140px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ls-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ls-ink);
  white-space: nowrap;
}

.ls-wordmark-glyph {
  color: var(--ls-ink);
  opacity: 0.9;
}

.ls-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.ls-links a {
  font-size: 13px;
  color: var(--ls-ink-2);
  transition: color 160ms var(--ls-ease);
}

.ls-links a:hover {
  color: var(--ls-ink);
}

.ls-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ls-nav-account {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ls-hairline);
  font-size: 12px;
  color: var(--ls-ink-2);
  max-width: 190px;
}

.ls-nav-account span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ls-nav-account[hidden] {
  display: none;
}

.ls-nav-link {
  font-size: 13px;
  color: var(--ls-ink-2);
  transition: color 160ms var(--ls-ease);
  white-space: nowrap;
}

.ls-nav-link:hover {
  color: var(--ls-ink);
}

.ls-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ls-green);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.14);
}

/* ==========================================================================
   Buttons — Porcelain Primary & Obsidian Glass Secondary
   ========================================================================== */
.ls-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    background-color 180ms var(--ls-ease),
    border-color 180ms var(--ls-ease),
    color 180ms var(--ls-ease),
    transform 180ms var(--ls-ease),
    box-shadow 180ms var(--ls-ease);
}

.ls-btn:active {
  transform: translateY(1px);
}

.ls-btn-nav {
  height: 30px;
  padding: 0 13px;
  font-size: 12.5px;
}

.ls-btn-md {
  height: 40px;
  padding: 0 20px;
  font-size: 13.5px;
}

.ls-btn-lg {
  height: 46px;
  padding: 0 24px;
  font-size: 14.5px;
}

.ls-btn-porcelain {
  background: #f5f5f7;
  color: #09090b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 28px rgba(255, 255, 255, 0.09);
}

.ls-btn-porcelain:hover {
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 14px 36px rgba(255, 255, 255, 0.15);
}

.ls-btn-glass {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.13);
  color: #e4e4e7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ls-btn-glass:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.ls-btn-disabled {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--ls-hairline);
  color: var(--ls-ink-3);
  cursor: not-allowed;
}

.ls-btn-os-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ls-btn-os-icon:empty {
  display: none;
}

/* ==========================================================================
   2. Chapter 1 — Obsidian Optical Hero & Floating Software Stage
   ========================================================================== */
.ls-hero {
  position: relative;
  padding: 76px 0 96px;
  background: var(--ls-void);
  overflow: hidden;
}

/* Full-bleed Architectural Fluted Glass Optical Light Scene */
.ls-hero-scene {
  position: absolute;
  inset: 0 0 auto 0;
  height: 920px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ls-hero-backdrop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.92;
  filter: contrast(1.04) brightness(1.02);
  -webkit-mask-image: radial-gradient(ellipse 92% 84% at 50% 42%, #000 52%, transparent 98%);
  mask-image: radial-gradient(ellipse 92% 84% at 50% 42%, #000 52%, transparent 98%);
}

.ls-hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 7, 0.42) 0%, rgba(5, 5, 7, 0.08) 38%, rgba(5, 5, 7, 0.35) 72%, var(--ls-void) 100%);
}

.ls-hero-head,
.ls-stage-wrap {
  position: relative;
  z-index: 2;
}

.ls-hero-head {
  text-align: center;
  max-width: 780px;
}

.ls-version-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  font-size: 12.5px;
  color: #d4d4d8;
  margin-bottom: 24px;
}

.ls-pill-sep {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.16);
}

.ls-hero-title {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.026em;
  background: linear-gradient(180deg, #ffffff 30%, #b2b5c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

.ls-hero-sub {
  margin: 20px auto 0;
  max-width: 580px;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ls-ink-2);
  text-wrap: pretty;
}

.ls-hero-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ls-hero-meta-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ls-ink-3);
}

.ls-meta-sep {
  opacity: 0.45;
}

.ls-inline-link {
  color: #c4c6cf;
  transition: color 160ms var(--ls-ease);
}

.ls-inline-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ls-link-btn {
  border: 0;
  padding: 0;
  background: transparent;
  font-size: inherit;
}

/* ==========================================================================
   3. Interactive Spatial Desktop Software Stage
   ========================================================================== */
.ls-stage-wrap {
  margin-top: 52px;
}

.ls-stage-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(13, 14, 19, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  margin: 0 auto 20px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.ls-stage-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 15px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ls-ink-2);
  font-size: 13px;
  font-weight: 500;
  transition:
    background-color 180ms var(--ls-ease),
    border-color 180ms var(--ls-ease),
    color 180ms var(--ls-ease),
    box-shadow 180ms var(--ls-ease);
}

.ls-stage-tab:hover {
  color: var(--ls-ink);
}

.ls-stage-tab[aria-selected="true"] {
  color: var(--ls-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* Outer Specular Architectural Glass Bezel */
.ls-stage-bezel {
  position: relative;
  padding: 8px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.02) 48%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    0 44px 120px rgba(0, 0, 0, 0.92),
    0 0 90px rgba(148, 200, 235, 0.065);
}

/* Razor-thin specular top edge reflection */
.ls-stage-bezel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48) 50%, transparent);
  pointer-events: none;
}

.ls-app-window {
  border-radius: 14px;
  background: #0b0c10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Window Titlebar */
.ls-win-bar {
  height: 42px;
  padding: 0 16px;
  background: #0e1015;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.ls-win-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ls-win-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #272932;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ls-win-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ls-ink-2);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ls-win-appname {
  color: var(--ls-ink);
  font-weight: 500;
}

.ls-win-sep {
  color: var(--ls-ink-3);
}

.ls-win-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--ls-ink-2);
  white-space: nowrap;
}

/* Window Body & Sidebar */
.ls-win-body {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  min-height: 492px;
}

.ls-win-sidebar {
  background: #090a0e;
  border-right: 1px solid rgba(255, 255, 255, 0.065);
  padding: 14px 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ls-sb-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 9px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #101218;
  border: 1px solid rgba(255, 255, 255, 0.075);
  color: var(--ls-ink-3);
  font-size: 11.5px;
}

.ls-sb-search > span:nth-child(2) {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ls-sb-kbd {
  display: inline-flex;
  gap: 3px;
}

.ls-sb-kbd kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 4px;
  background: #181b24;
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--ls-mono);
  font-size: 9.5px;
  color: var(--ls-ink-2);
}

.ls-sb-group {
  font-size: 11px;
  font-weight: 500;
  color: var(--ls-ink-3);
  padding: 4px 8px 6px;
}

.ls-sb-group-space {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.ls-sb-item {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 9px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 12.5px;
  color: var(--ls-ink-2);
  cursor: pointer;
  transition: background-color 160ms var(--ls-ease), color 160ms var(--ls-ease), border-color 160ms var(--ls-ease);
}

.ls-sb-item svg {
  flex-shrink: 0;
  opacity: 0.72;
}

.ls-sb-item:hover {
  color: var(--ls-ink);
  background: rgba(255, 255, 255, 0.03);
}

.ls-sb-item.is-active {
  color: var(--ls-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.ls-sb-item.is-active svg {
  opacity: 1;
}

.ls-sb-count {
  margin-left: auto;
  font-family: var(--ls-mono);
  font-size: 11px;
  color: var(--ls-ink-3);
}

.ls-sb-mini-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 8px;
}

.ls-sb-mini-list > div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--ls-ink-2);
}

.ls-sb-mini-list > div > span:nth-child(2) {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ls-sb-mini-list > div > span:last-child {
  font-size: 10px;
  color: var(--ls-ink-3);
}

.ls-mini-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ls-mini-dot.is-cyan { background: var(--ls-cyan); }
.ls-mini-dot.is-green { background: var(--ls-green); }
.ls-mini-dot.is-muted { background: #52545e; }

.ls-sb-footer {
  margin-top: auto;
  padding: 10px 10px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ls-sb-foot-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: #d4d4d8;
}

.ls-sb-foot-meta {
  font-family: var(--ls-mono);
  font-size: 10.5px;
  color: var(--ls-ink-3);
}

/* Stacked Workspace Panels */
.ls-win-panels {
  display: grid;
  min-width: 0;
  background: #0c0d12;
}

.ls-win-panel {
  grid-area: 1 / 1;
  min-width: 0;
}

.ls-win-panel[hidden="until-found"] {
  visibility: hidden;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.ls-panel-inner {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ls-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.ls-panel-kicker {
  display: block;
  font-size: 11.5px;
  color: var(--ls-ink-3);
  margin-bottom: 4px;
}

.ls-panel-heading {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ls-ink);
}

.ls-panel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ls-chip-ok,
.ls-chip-muted,
.ls-chip-warn {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.ls-chip-ok {
  background: rgba(52, 211, 153, 0.11);
  border: 1px solid rgba(52, 211, 153, 0.24);
  color: #6ee7b7;
}

.ls-chip-muted {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--ls-ink-2);
}

.ls-chip-warn {
  background: rgba(251, 191, 36, 0.11);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: #fcd34d;
}

/* KPI Row inside Panel 1 */
.ls-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ls-kpi-card {
  padding: 14px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #13151d 0%, #101218 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ls-kpi-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.ls-kpi-label {
  font-size: 11.5px;
  color: var(--ls-ink-3);
}

.ls-kpi-val {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ls-ink);
  line-height: 1.2;
}

.ls-kpi-val small {
  font-size: 12px;
  font-weight: 400;
  color: var(--ls-ink-3);
}

.ls-kpi-sub {
  font-size: 11.5px;
  color: var(--ls-ink-2);
}

.ls-kpi-viz {
  flex-shrink: 0;
}

/* Broadcast Timeline Card */
.ls-timeline-card {
  padding: 15px 16px 12px;
  border-radius: 10px;
  background: #101218;
  border: 1px solid rgba(255, 255, 255, 0.075);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ls-timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ls-timeline-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ls-timeline-title strong {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ls-ink);
}

.ls-tag,
.ls-tag-mono {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ls-ink-2);
}

.ls-tag-mono {
  font-family: var(--ls-mono);
}

.ls-timeline-meta {
  font-size: 11.5px;
  color: var(--ls-cyan);
}

.ls-timeline-svg,
.ls-topo-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Delivered Independent MP4 Strip */
.ls-clips-strip {
  padding: 13px 15px;
  border-radius: 10px;
  background: #0e1015;
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ls-clips-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
  color: var(--ls-ink-3);
}

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

.ls-clip-item {
  padding: 10px 12px;
  border-radius: 8px;
  background: #13161e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ls-clip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ls-ink-3);
}

.ls-clip-ok {
  font-size: 10.5px;
  color: #6ee7b7;
}

.ls-clip-item strong {
  font-family: var(--ls-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ls-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ls-clip-item > span:last-child {
  font-size: 11px;
  color: var(--ls-ink-3);
}

/* Panel 2 — Multi-HR Recruiting Sandbox */
.ls-hr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ls-hr-card {
  padding: 14px 15px;
  border-radius: 10px;
  background: linear-gradient(180deg, #13151d 0%, #101218 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ls-hr-card.is-warn {
  border-color: rgba(251, 191, 36, 0.24);
}

.ls-hr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ls-hr-id {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ls-ink-2);
}

.ls-hr-id strong {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ls-ink);
}

.ls-state-ok { font-size: 11px; color: #6ee7b7; }
.ls-state-warn { font-size: 11px; color: #fcd34d; }

.ls-hr-meta {
  font-size: 11px;
  color: var(--ls-ink-3);
}

.ls-hr-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ls-hr-quota-label {
  font-size: 11px;
  color: var(--ls-ink-3);
}

.ls-hr-quota-num {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ls-ink);
  margin-top: 2px;
}

.ls-cand-table {
  padding: 14px 15px;
  border-radius: 10px;
  background: #0e1015;
  border: 1px solid rgba(255, 255, 255, 0.075);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ls-cand-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--ls-ink-3);
}

.ls-cand-row {
  padding: 12px 14px;
  border-radius: 8px;
  background: #13161e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  gap: 14px;
}

.ls-tier {
  font-family: var(--ls-mono);
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.ls-tier.is-s {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--ls-cyan);
}

.ls-tier.is-a {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ls-ink);
}

.ls-cand-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ls-cand-info strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--ls-ink);
}

.ls-cand-info span {
  font-size: 12px;
  color: var(--ls-ink-2);
}

/* Panel 3 — Topology Sharing */
.ls-topo-card {
  padding: 14px;
  border-radius: 10px;
  background: #101218;
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.ls-share-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ls-share-pillars > div {
  padding: 13px 14px;
  border-radius: 10px;
  background: #101218;
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ls-share-pillars strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--ls-ink);
}

.ls-share-pillars span {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ls-ink-2);
}

/* ==========================================================================
   4. Architectural Section Bands & Shared Typography
   ========================================================================== */
.ls-band {
  padding: 96px 0;
  border-top: 1px solid var(--ls-hairline);
}

.ls-band-arch {
  background: var(--ls-arch);
}

.ls-band-void {
  background: var(--ls-void);
}

.ls-head-left {
  max-width: 660px;
  margin-bottom: 48px;
}

.ls-head-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.ls-eyebrow {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ls-cyan);
}

.ls-h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ls-ink);
  text-wrap: balance;
}

.ls-lead {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ls-ink-2);
}

/* ==========================================================================
   5. Chapter 2 — Linear-Style Architectural Hairline Bento Grid
   ========================================================================== */
.ls-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--ls-hairline);
  border: 1px solid var(--ls-hairline);
  border-radius: 20px;
  overflow: hidden;
}

.ls-bento-cell {
  background: #0b0c10;
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.ls-bento-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 40px;
  align-items: center;
  background: linear-gradient(180deg, #0e1016 0%, #0b0c10 100%);
}

.ls-cell-idx {
  display: inline-block;
  font-size: 12px;
  color: var(--ls-cyan);
  margin-bottom: 12px;
}

.ls-bento-copy h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ls-ink);
}

.ls-bento-copy p {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ls-ink-2);
}

.ls-bento-visual {
  padding: 10px;
  border-radius: 14px;
  background: #08090c;
  border: 1px solid var(--ls-hairline);
}

.ls-diag-svg,
.ls-mini-schematic svg {
  width: 100%;
  height: auto;
  display: block;
}

.ls-mini-schematic {
  padding: 12px;
  border-radius: 12px;
  background: #08090c;
  border: 1px solid var(--ls-hairline);
}

.ls-cell-specs {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--ls-hairline);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ls-cell-specs-3 {
  margin-top: 0;
}

.ls-cell-specs strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--ls-ink);
}

.ls-cell-specs span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--ls-ink-3);
}

/* ==========================================================================
   6. Chapter 3 — Obsidian 3-Column Platform Download Matrix
   ========================================================================== */
.ls-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--ls-hairline);
  border: 1px solid var(--ls-hairline);
  border-radius: 20px;
  overflow: hidden;
}

.ls-compare-col {
  position: relative;
  padding: 40px 32px 36px;
  background: #090a0e;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ls-compare-col.is-rec {
  background: linear-gradient(180deg, #11131b 0%, #0b0c11 100%);
}

.ls-compare-col.is-rec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65) 50%, transparent);
}

.ls-compare-flag {
  min-height: 20px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ls-cyan);
}

.ls-os-emblem {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e4e4e7;
  margin-bottom: 16px;
}

.ls-compare-col.is-rec .ls-os-emblem {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.ls-compare-title {
  margin: 0;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ls-ink);
}

.ls-compare-sub {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--ls-ink-3);
}

.ls-compare-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  width: 100%;
}

.ls-sha-link {
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 12.5px;
  color: var(--ls-ink-2);
  transition: color 160ms var(--ls-ease);
}

.ls-sha-link:hover {
  color: var(--ls-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ls-spec-rows {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--ls-hairline);
  width: 100%;
  display: grid;
  gap: 12px;
  text-align: left;
}

.ls-spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.ls-spec-row dt {
  color: var(--ls-ink-3);
}

.ls-spec-row dd {
  margin: 0;
  font-weight: 500;
  color: #d4d4d8;
  text-align: right;
}

/* ==========================================================================
   7. Chapter 4 — Two-Step Trust Release Guide + Editorial Changelog
   ========================================================================== */
.ls-guide-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
}

.ls-guide-block h3 {
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ls-hairline);
  font-size: 17.5px;
  font-weight: 500;
  color: var(--ls-ink);
}

.ls-guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.ls-guide-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.ls-step-num {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ls-cyan);
  padding-top: 2px;
}

.ls-guide-steps li > div > strong {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ls-ink);
  margin-bottom: 5px;
}

.ls-guide-steps p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ls-ink-2);
  text-wrap: pretty;
}

.ls-guide-steps p strong {
  font-weight: 500;
  color: var(--ls-ink);
}

.ls-guide-steps code {
  font-family: var(--ls-mono);
  font-size: 12px;
  color: #d4d4d8;
}

.ls-cmd-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #0d0f15;
  border: 1px solid var(--ls-hairline-strong);
}

.ls-cmd-row code {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  line-height: 1.5;
  white-space: normal;
  word-break: break-word;
}

.ls-copy-btn {
  flex-shrink: 0;
  height: 28px;
  padding: 0 11px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ls-ink);
  font-size: 12px;
  font-weight: 500;
  transition: background-color 150ms var(--ls-ease), border-color 150ms var(--ls-ease);
}

.ls-copy-btn:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.24);
}

.ls-divider {
  border: 0;
  border-top: 1px solid var(--ls-hairline);
  margin: 72px 0;
}

.ls-changelog-head {
  margin-bottom: 32px;
}

.ls-changelog {
  border-top: 1px solid var(--ls-hairline);
}

.ls-log-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--ls-hairline);
}

.ls-log-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ls-log-ver {
  font-size: 16px;
  font-weight: 500;
  color: var(--ls-ink);
}

.ls-log-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--ls-cyan);
}

.ls-log-date {
  font-size: 12px;
  color: var(--ls-ink-3);
}

.ls-log-notes {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ls-ink-2);
  white-space: pre-line;
}

/* ==========================================================================
   8. Footer & Native Obsidian <dialog>
   ========================================================================== */
.ls-footer {
  background: var(--ls-void);
  border-top: 1px solid var(--ls-hairline);
  padding: 40px 0 48px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ls-ink-3);
}

.ls-footer-notes {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ls-hairline);
  display: grid;
  gap: 6px;
}

.ls-footer-notes p {
  margin: 0;
}

.ls-footer-bar {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ls-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.ls-footer-links a:hover {
  color: var(--ls-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

dialog.ls-dialog {
  color-scheme: only dark;
  width: min(540px, calc(100% - 32px));
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #101218;
  color: var(--ls-ink);
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.78);
}

dialog.ls-dialog::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}

.ls-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--ls-hairline);
}

.ls-dialog-head strong {
  font-size: 15px;
  font-weight: 500;
}

.ls-dialog-body {
  padding: 20px 22px 24px;
  display: grid;
  gap: 14px;
}

.edge-card,
.smartscreen-card {
  padding: 15px 16px;
  border-radius: 12px;
  background: #0b0c10;
  border: 1px solid var(--ls-hairline);
  display: grid;
  gap: 8px;
}

.edge-card strong,
.smartscreen-card strong {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ls-ink);
}

.edge-card p,
.smartscreen-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ls-ink-2);
}

.edge-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 8px;
  background: #13161e;
  border: 1px solid var(--ls-hairline);
  font-size: 12px;
  color: var(--ls-ink-2);
}

.edge-mock-dots {
  font-family: var(--ls-mono);
  font-weight: 500;
  color: var(--ls-cyan);
  white-space: nowrap;
}

.edge-pill,
.smartscreen-pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.10);
  border: 1px solid rgba(56, 189, 248, 0.24);
  color: #9bd8f8;
  font-size: 12px;
  font-weight: 500;
}

/* ==========================================================================
   9. Desktop Auth Page (/desktop-auth — Strictly Scoped Ceramic Light)
   ========================================================================== */
body.auth-page {
  color-scheme: only light;
  background: var(--ap-stone);
  color: var(--ap-ink);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-wrap {
  width: min(420px, 100%);
}

.auth-box {
  background: var(--ap-white);
  border: 1px solid var(--ap-hairline-light);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.06);
}

.auth-kicker {
  font-size: 13px;
  font-weight: 600;
  color: var(--ap-ink-2);
  margin-bottom: 14px;
}

.auth-box h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ap-ink);
}

.auth-sub {
  margin: 8px 0 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ap-ink-2);
}

.alert {
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 13px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ap-ink);
}

.field input {
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: var(--ap-white);
  color: var(--ap-ink);
  font-size: 14px;
  font-family: inherit;
}

.field input:user-invalid {
  border-color: #dc2626;
}

.auth-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.ap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
}

.ap-btn-md {
  height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.ap-btn-full {
  width: 100%;
}

.ap-btn-blue {
  background: var(--ap-blue);
  color: #ffffff;
}

.ap-btn-blue:hover {
  background: var(--ap-blue-hover);
}

.ap-btn-soft {
  background: #e8e8ed;
  color: var(--ap-ink);
}

.auth-user-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ap-stone);
  border: 1px solid var(--ap-hairline-light);
}

.auth-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ap-ink);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
}

.auth-user-pill strong {
  display: block;
  font-size: 13.5px;
  color: var(--ap-ink);
}

.auth-user-pill span {
  display: block;
  font-size: 12px;
  color: var(--ap-ink-3);
}

.code-fallback code {
  display: block;
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: var(--ap-stone);
  border: 1px solid var(--ap-hairline-light);
  font-family: var(--ls-mono);
  font-size: 13px;
  word-break: break-all;
}

/* ==========================================================================
   10. Responsive Precision (Tablet + Mobile 390px Zero Overflow)
   ========================================================================== */
@media (max-width: 980px) {
  .ls-links {
    display: none;
  }

  .ls-win-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ls-win-sidebar {
    display: none;
  }

  .ls-bento-wide {
    grid-template-columns: 1fr;
  }

  .ls-bento-grid,
  .ls-compare-grid,
  .ls-guide-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .ls-container,
  .ls-container-narrow,
  .ls-nav-inner {
    width: calc(100% - 32px);
  }

  .ls-nav-account {
    display: none;
  }

  .ls-hero {
    padding: 52px 0 68px;
  }

  .ls-hero-title {
    font-size: 34px;
  }

  .ls-version-pill {
    font-size: 11.5px;
    padding: 5px 11px;
    gap: 6px;
  }

  .ls-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .ls-stage-tabs {
    width: 100%;
    left: 0;
    transform: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ls-stage-tab {
    padding: 0 6px;
    font-size: 12px;
    justify-content: center;
  }

  .ls-stage-tab svg {
    display: none;
  }

  .ls-stage-bezel {
    padding: 5px;
    border-radius: 16px;
  }

  .ls-app-window {
    border-radius: 11px;
  }

  .ls-win-bar {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .ls-win-status {
    display: none;
  }

  .ls-panel-inner {
    padding: 16px;
  }

  .ls-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ls-kpi-row,
  .ls-clips-grid,
  .ls-hr-grid,
  .ls-share-pillars {
    grid-template-columns: 1fr;
  }

  .ls-cand-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ls-band {
    padding: 68px 0;
  }

  .ls-bento-cell {
    padding: 24px 20px;
  }

  .ls-cell-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .ls-log-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .ls-hero-title {
    font-size: 30px;
    line-height: 1.24;
  }

  .ap-nobr {
    display: block;
    white-space: nowrap;
  }

  .ls-hero-sub {
    font-size: 14.5px;
    line-height: 1.7;
  }

  .ls-hero-meta-row {
    flex-direction: column;
    gap: 5px;
  }

  .ls-meta-sep {
    display: none;
  }
}

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