@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-soft: #0b0b0c;
  --surface: rgba(255, 255, 255, .01);
  --surface-2: rgba(255, 255, 255, .025);
  --surface-3: rgba(255, 255, 255, .045);
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --muted-2: #77777d;
  --blue: #2997ff;
  --blue-strong: #0a84ff;
  --green: #30d158;
  --yellow: #ffd60a;
  --red: #ff453a;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-display: "Instrument Serif", "Times New Roman", "Songti SC", serif;
  --font-display-cn: "Songti SC", "STSong", "SimSun", "NSimSun", "Noto Serif CJK SC", serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
.hidden { display: none !important; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
button { border: 0; cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.liquid-glass { position: relative; overflow: hidden; border: 0; background: rgba(255,255,255,.01); background-blend-mode: luminosity; box-shadow: inset 0 1px 1px rgba(255,255,255,.10); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.liquid-glass::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; padding: 1.4px; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.15) 20%, transparent 40%, transparent 60%, rgba(255,255,255,.15) 80%, rgba(255,255,255,.45) 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.liquid-glass > * { position: relative; z-index: 1; }

.brand { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; color: var(--text); text-decoration: none; }
.lanbi-mark { font-family: "Cinzel", serif; font-size: 25px; font-weight: 400; line-height: .9; letter-spacing: 4px; text-transform: uppercase; background: linear-gradient(90deg, #fff, #888); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-product { align-self: center; margin-top: 5px; color: rgba(255,255,255,.46); font-size: 8px; font-weight: 650; line-height: 1; letter-spacing: .24em; }

.primary, .secondary, .icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border-radius: 999px; font-weight: 650; transition: .18s ease; }
.primary { padding: 0 18px; color: #050506; background: #f5f5f7; box-shadow: inset 0 -1px rgba(0,0,0,.1), 0 10px 30px rgba(255,255,255,.08); }
.primary:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: inset 0 -1px rgba(0,0,0,.12), 0 14px 36px rgba(255,255,255,.12); }
.primary:disabled { cursor: wait; opacity: .55; transform: none; }
.secondary { padding: 0 15px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.12); color: var(--text); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.secondary:hover, .icon-button:hover { background: rgba(255,255,255,.095); border-color: var(--border-strong); }
.icon-button { width: 40px; padding: 0; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.11); }
.wide { width: 100%; min-height: 48px; justify-content: space-between; padding: 0 17px 0 19px; }
.wide svg { width: 18px; }

/* Authentication */
.auth-screen { position: relative; min-height: 100vh; overflow: hidden; background: #000; }
.auth-screen::before { content: ""; position: absolute; inset: -22% -12% auto 34%; z-index: 1; height: 92%; pointer-events: none; background: radial-gradient(ellipse at center, rgba(255,255,255,.09), rgba(119,151,193,.04) 30%, transparent 68%); filter: blur(24px); }
.auth-screen::after { content: ""; position: absolute; inset: auto 0 0; z-index: 1; height: 48%; pointer-events: none; background: radial-gradient(ellipse at 50% 115%, rgba(255,255,255,.05), transparent 65%); }
.auth-backdrop { position: absolute; inset: 0 0 auto; z-index: 0; width: 100%; height: 100vh; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at center, rgba(10,43,61,.2) 0%, rgba(4,21,31,.28) 58%, rgba(0,0,0,.4) 100%), url('/media/pioneer-hero-poster.jpg?v=2') center center / cover no-repeat, #02080c; }
.auth-backdrop::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at center, rgba(0,0,0,.04) 0%, rgba(0,0,0,.14) 40%, rgba(0,0,0,.36) 100%); }
.auth-backdrop::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, transparent 32%, rgba(0,0,0,.05) 68%, rgba(0,0,0,.24) 100%); }
.auth-hero-fallback, .auth-hero-video { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; opacity: .96; filter: saturate(.92) contrast(1.02) brightness(.92); }
.auth-hero-video { z-index: 0; transition: opacity .2s ease; }
.auth-hero-video.is-video-recovering { opacity: 0; }
.public-bar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; width: min(1040px, calc(100% - 48px)); height: 58px; margin: 22px auto 0; padding: 0 18px; border-radius: 999px; background: rgba(0,0,0,.32); }
.public-nav { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.58); font-size: 11px; font-weight: 600; }
.public-nav span { white-space: nowrap; }
.privacy-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; color: rgba(255,255,255,.66); font-size: 10px; background: rgba(255,255,255,.025); }
.privacy-pill span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(48, 209, 88, .75); }
.auth-main { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: min(442px, calc(100% - 32px)); min-height: calc(100vh - 80px); margin: 0 auto; padding: 46px 0 70px; }
.eyebrow, .mini-label { margin: 0; color: rgba(255,255,255,.42); font-size: 10px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
kbd { padding: 2px 6px; border: 1px solid var(--border); border-radius: 5px; background: rgba(255,255,255,.05); color: var(--muted); font-size: 10px; font-family: var(--font); font-weight: 600; }

.auth-card { position: relative; width: 100%; padding: 30px; border-radius: 24px; background: linear-gradient(180deg, rgba(3,8,12,.42), rgba(3,8,12,.32)); box-shadow: 0 32px 90px rgba(0,0,0,.44), inset 0 1px rgba(255,255,255,.09); backdrop-filter: blur(10px) saturate(1.05); -webkit-backdrop-filter: blur(10px) saturate(1.05); }
.auth-card-head h2 { margin: 8px 0 7px; font-family: var(--font-display); font-size: 34px; font-weight: 400; letter-spacing: -.025em; }
.auth-card-head p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 25px 0 19px; padding: 4px; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; background: rgba(0,0,0,.28); }
.auth-tab { height: 36px; border-radius: 999px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 650; }
.auth-tab.active { color: #050506; background: #f5f5f7; box-shadow: inset 0 -1px rgba(0,0,0,.1), 0 4px 16px rgba(255,255,255,.06); }
.auth-form { display: grid; gap: 14px; }
.auth-form label { display: grid; gap: 7px; color: #d7d7da; font-size: 12px; font-weight: 620; }
.auth-form input { width: 100%; height: 48px; padding: 0 17px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; background: rgba(0,0,0,.28); color: var(--text); font-size: 12px; transition: .16s; }
.auth-form input::placeholder { color: #606066; }
.auth-form input:focus { border-color: rgba(41,151,255,.8); box-shadow: 0 0 0 3px rgba(41,151,255,.12); outline: 0; }
.form-error { min-height: 0; margin: -3px 0 0; color: #ff827a; font-size: 11px; line-height: 1.4; }
.form-error:empty { display: none; }
.auth-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 19px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07); color: var(--muted-2); font-size: 10px; line-height: 1.55; }
.lock-dot { flex: 0 0 auto; width: 6px; height: 6px; margin-top: 4px; border-radius: 50%; background: var(--green); }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; z-index: 4; isolation: isolate; display: flex; align-items: center; gap: 15px; min-width: 178px; padding: 10px 13px 10px 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(0,0,0,.18); box-shadow: inset 0 1px rgba(255,255,255,.06), 0 14px 40px rgba(0,0,0,.18); color: #fff; text-decoration: none; transform: translateX(-50%); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); transition: .22s ease; }
.scroll-cue::before { content: ""; position: absolute; inset: -1px; z-index: 0; padding: 1.8px; border-radius: inherit; pointer-events: none; opacity: 1; background: conic-gradient(from var(--rainbow-angle), #ff3d70, #ff9f32, #ffe04b, #35e37c, #24c8ff, #795cff, #ee3fa3, #ff3d70); filter: drop-shadow(0 0 4px rgba(92,183,255,.78)) drop-shadow(0 0 9px rgba(236,72,153,.38)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rainbow-plan-beam 2.4s linear infinite; will-change: --rainbow-angle; }
.scroll-cue:hover { border-color: rgba(255,255,255,.32); background: rgba(0,0,0,.28); transform: translateX(-50%) translateY(-2px); }
.scroll-cue > span { position: relative; z-index: 1; display: grid; gap: 2px; }
.scroll-cue small { color: rgba(255,255,255,.42); font-size: 8px; font-weight: 650; letter-spacing: .16em; }
.scroll-cue strong { color: rgba(255,255,255,.86); font-size: 10px; font-weight: 650; letter-spacing: .04em; }
.scroll-cue svg { position: relative; z-index: 1; width: 17px; height: 17px; color: rgba(255,255,255,.72); transform: rotate(90deg); animation: scroll-cue-arrow 1.6s ease-in-out infinite; }
@keyframes scroll-cue-arrow { 0%,100% { translate: 0 -2px; opacity: .45; } 50% { translate: 0 3px; opacity: 1; } }
.pioneer-native { position: relative; z-index: 2; overflow: hidden; background: #000; color: #fff; }
.pioneer-container { width: min(1152px, 100%); margin: 0 auto; }
.pioneer-philosophy .pioneer-container { width: min(1360px, 100%); }
.pioneer-philosophy, .pioneer-engage { padding: 112px 24px; }
.pioneer-display { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1; letter-spacing: -.03em; }
.pioneer-display em { color: rgba(255,255,255,.4); font-weight: 400; }
.pioneer-philosophy .pioneer-display { margin-bottom: 82px; font-size: clamp(42px, 5vw, 60px); }
.pioneer-philosophy-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 24px; }
.pioneer-video { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; background: #020203 url('/media/pioneer-innovation-poster.jpg?v=2') center center / cover no-repeat; contain: paint; }
.pioneer-philosophy-grid > .pioneer-video { align-self: center; }
.pioneer-video-fallback, .pioneer-video video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; transform: none; }
.pioneer-video-fallback { z-index: 0; }
.pioneer-video video { z-index: 1; transition: opacity .2s ease; }
.pioneer-video video.is-video-recovering { opacity: 0; }
.pioneer-copy { display: flex; flex-direction: column; gap: 18px; }
.pioneer-copy article, .local-storage-card { padding: 23px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.025); box-shadow: inset 0 1px rgba(255,255,255,.035); transition: border-color .22s ease, background .22s ease, transform .22s ease; }
.pioneer-copy article:hover, .local-storage-card:hover { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.045); transform: translateY(-3px); }
.pioneer-copy span, .local-storage-card > span, .pioneer-section-head > span, .pioneer-cta-inner > span, .pioneer-usage-eyebrow { display: block; margin-bottom: 16px; color: rgba(255,255,255,.42); font-size: 11px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
.pioneer-usage-eyebrow { margin-bottom: 12px; }
.pioneer-copy h3, .local-storage-card h3 { margin: 0 0 10px; color: rgba(255,255,255,.94); font-size: 16px; font-weight: 620; }
.pioneer-copy p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.65; }
.usage-guide-cta { display: grid; grid-template-columns: 18px minmax(0, 1fr) 18px; align-items: center; gap: 10px; width: 100%; min-height: 42px; margin-top: 17px; padding: 0 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.9); font-size: 12px; font-weight: 650; text-align: center; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.usage-guide-cta span {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}
.usage-guide-cta:hover, .usage-guide-cta:focus-visible { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.09); transform: translateY(-1px); }
.usage-guide-cta svg { flex: 0 0 auto; width: 16px; height: 16px; }
.usage-guide-cta svg:last-child { width: 14px; height: 14px; }
.local-storage-details { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.local-storage-details li { position: relative; padding-left: 16px; color: rgba(255,255,255,.64); font-size: 13px; line-height: 1.62; }
.local-storage-details li::before { content: ""; position: absolute; top: .72em; left: 1px; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.58); box-shadow: 0 0 8px rgba(255,255,255,.18); }
.local-storage-details strong { color: rgba(255,255,255,.9); font-weight: 650; }
.local-storage-card { display: flex; flex-direction: column; }
.local-storage-card .usage-tags { margin-top: auto; padding-top: 18px; }
.usage-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.usage-tags b { padding: 6px 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: rgba(255,255,255,.58); font-size: 9px; font-weight: 600; background: rgba(0,0,0,.18); }
.pioneer-section-head { margin-bottom: 48px; }
.pioneer-section-head > span { margin-bottom: 12px; }
.pioneer-section-head h2 { font-size: clamp(42px, 5vw, 60px); }
.pioneer-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pioneer-plan { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 414px; padding: 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: rgba(255,255,255,.03); transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease; }
.pioneer-plan::before { content: ""; position: absolute; inset: -1px; z-index: 2; padding: 1.4px; border-radius: inherit; pointer-events: none; opacity: 0; background: conic-gradient(from var(--rainbow-angle), transparent 0deg 216deg, #ff3d6e 232deg, #ff9f43 250deg, #ffe66d 268deg, #4ade80 286deg, #38bdf8 304deg, #8b5cf6 322deg, #ec4899 340deg, transparent 356deg); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rainbow-plan-beam 2.8s linear infinite; animation-play-state: paused; transition: opacity .22s ease; }
.pioneer-plan:hover, .pioneer-plan:focus-within { transform: translateY(-5px); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.055); box-shadow: 0 18px 50px rgba(0,0,0,.28), 0 0 28px rgba(99,102,241,.09); }
.pioneer-plan:hover::before, .pioneer-plan:focus-within::before { opacity: 1; animation-play-state: running; }
.pioneer-plan > * { position: relative; z-index: 1; }
.pioneer-hot-badge { position: absolute; top: 22px; right: 22px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(255,155,92,.28); border-radius: 999px; background: linear-gradient(135deg, rgba(255,75,123,.12), rgba(255,178,72,.08)); box-shadow: inset 0 1px rgba(255,255,255,.07), 0 0 22px rgba(255,111,89,.08); color: #ffd5b2; font-family: var(--font); font-size: 10px; font-weight: 650; line-height: 1; letter-spacing: .02em; -webkit-font-smoothing: antialiased; }
.pioneer-hot-badge i { width: 5px; height: 5px; border-radius: 50%; background: #ff9b68; box-shadow: 0 0 9px rgba(255,130,87,.82); animation: hot-badge-pulse 1.8s ease-in-out infinite; }
.pioneer-reserve-badge { position: absolute; top: 22px; right: 22px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(128,145,255,.18); border-radius: 999px; background: rgba(104,120,255,.055); box-shadow: inset 0 1px rgba(255,255,255,.05), 0 0 18px rgba(104,120,255,.06); color: rgba(210,216,255,.68); font-family: var(--font); font-size: 10px; font-weight: 650; line-height: 1; letter-spacing: .02em; }
.pioneer-reserve-badge i { width: 5px; height: 5px; border-radius: 50%; background: #8494ff; box-shadow: 0 0 8px rgba(120,138,255,.58); }
.pioneer-stock-badge { position: absolute; top: 22px; right: 22px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.035); box-shadow: inset 0 1px rgba(255,255,255,.045); color: rgba(255,255,255,.42); font-family: var(--font); font-size: 10px; font-weight: 650; line-height: 1; letter-spacing: .02em; }
.pioneer-stock-badge i { width: 5px; height: 5px; border-radius: 50%; background: #73737a; box-shadow: 0 0 7px rgba(160,160,168,.28); }
@keyframes hot-badge-pulse { 0%,100% { opacity: .5; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.12); } }
@property --rainbow-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes rainbow-plan-beam { to { --rainbow-angle: 360deg; } }
.pioneer-plan h3 { margin: 0; font-family: var(--font-display); font-size: 26px; font-style: italic; font-weight: 400; }
.pioneer-price { display: flex; align-items: baseline; gap: 4px; margin-top: 14px; }
.pioneer-price strong { font-family: var(--font-display); font-size: 54px; font-weight: 400; line-height: .9; letter-spacing: -.03em; }
.pioneer-price small { color: rgba(255,255,255,.65); font-size: 13px; }
.pioneer-plan > p { min-height: 42px; margin: 16px 0 0; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.55; }
.pioneer-plan ul { flex: 1; display: grid; align-content: start; gap: 10px; margin: 20px 0 26px; padding: 0; list-style: none; }
.pioneer-plan li { color: rgba(255,255,255,.92); font-size: 13px; }
.pioneer-plan li::before { content: "✓"; display: inline-block; width: 24px; color: #fff; }
.pioneer-plan > a, .pioneer-cta-inner > a { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 650; text-decoration: none; transition: .22s ease; }
.pioneer-plan-disabled { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid rgba(255,255,255,.075); border-radius: 999px; background: rgba(255,255,255,.025); color: rgba(255,255,255,.3); font-size: 13px; font-weight: 650; cursor: not-allowed; user-select: none; }
.pioneer-plan > a:hover, .pioneer-cta-inner > a:hover { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.pioneer-plan-featured { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.055); }
.pioneer-plan-featured > a { color: #060607; background: #fff; }
.pioneer-plan-featured > a:hover { color: #060607; background: #fff; filter: brightness(.92); }
.pioneer-cta { padding: 136px 24px 118px; text-align: center; }
.pioneer-cta-inner { width: min(850px, 100%); margin: 0 auto; }
.pioneer-cta-inner > span { margin-bottom: 22px; }
.pioneer-cta h2 { font-size: clamp(48px, 6vw, 74px); }
.pioneer-cta h2 em { color: #fff; font-style: normal; }
.cta-heart { display: inline-block; margin-left: .16em; color: #ff4967; font-family: Arial, sans-serif; font-size: .42em; font-style: normal; line-height: 1; vertical-align: .18em; text-shadow: 0 0 10px rgba(255,73,103,.42); transform-origin: center; animation: cta-heart-pulse 2.6s ease-in-out infinite; }
@keyframes cta-heart-pulse { 0%,100% { transform: scale(.92); opacity: .82; } 50% { transform: scale(1.06); opacity: 1; } }
.pioneer-cta p { margin: 28px 0 38px; color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.55; }
.pioneer-cta-inner > a { width: 184px; min-height: 52px; margin: 0 auto; gap: 14px; }
.pioneer-cta-inner > a b { font-size: 18px; font-weight: 400; }
.pioneer-footer { padding: 0 30px 32px; }
.pioneer-footer-main { display: flex; align-items: flex-end; justify-content: space-between; width: min(1152px, 100%); margin: 0 auto; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.12); }
.pioneer-footer-main strong { font-family: var(--font-display); font-size: 30px; font-style: italic; font-weight: 400; }
.pioneer-footer-main .footer-signature { display: inline-flex; align-items: center; gap: .36em; }
.footer-signature img { flex: 0 0 auto; width: 1.4em; height: 1.4em; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; object-fit: cover; object-position: center; box-shadow: 0 0 0 3px rgba(255,73,103,.09), 0 6px 18px rgba(0,0,0,.34); }
.pioneer-footer-main p { margin: 18px 0 0; color: rgba(255,255,255,.55); font-size: 13px; }
.pioneer-footer nav { display: flex; gap: 28px; }
.pioneer-footer nav a { color: rgba(255,255,255,.9); font-size: 13px; text-decoration: none; }
.pioneer-footer nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.pioneer-footer > small { display: block; width: min(1152px, 100%); margin: 26px auto 0; color: rgba(255,255,255,.48); font-size: 11px; }
.pioneer-reveal { opacity: 1; transform: none; transition: opacity .85s cubic-bezier(.2,.75,.2,1), transform .85s cubic-bezier(.2,.75,.2,1); transition-delay: var(--reveal-delay, 0s); }
body.pioneer-motion-ready .pioneer-reveal:not(.is-visible) { opacity: 0; transform: translateY(38px); }
body.pioneer-motion-ready .pioneer-reveal[data-reveal="scale"]:not(.is-visible) { transform: translateY(24px) scale(.955); }
body.pioneer-motion-ready .pioneer-video.pioneer-reveal:not(.is-visible) { opacity: 1; transform: none; }
@media (max-width: 1200px) {
  .pioneer-philosophy .pioneer-container { width: min(1152px, 100%); }
  .pioneer-philosophy-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .local-storage-card { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .pioneer-philosophy, .pioneer-engage { padding: 88px 20px; }
  .pioneer-philosophy .pioneer-display, .pioneer-section-head h2 { font-size: clamp(42px, 12vw, 58px); }
  .pioneer-philosophy .pioneer-display { margin-bottom: 52px; }
  .pioneer-philosophy-grid, .pioneer-plan-grid { grid-template-columns: 1fr; }
  .pioneer-philosophy-grid { gap: 40px; }
  .local-storage-card { grid-column: auto; }
  .pioneer-copy p { font-size: 14px; }
  .pioneer-plan { min-height: 390px; }
  .pioneer-cta { padding: 105px 20px 96px; }
  .pioneer-cta h2 { font-size: clamp(44px, 13vw, 62px); }
  .pioneer-cta p br { display: none; }
  .pioneer-footer { padding: 0 20px 28px; }
  .pioneer-footer-main { align-items: flex-start; flex-direction: column; gap: 36px; }
  .pioneer-footer nav { flex-wrap: wrap; gap: 18px 24px; }
}

/* App shell */
.app { min-height: 100vh; background: radial-gradient(ellipse at 72% 5%, rgba(255,255,255,.035), transparent 35%), var(--bg); }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; flex-direction: column; width: 390px; padding: 18px 14px 12px; border-radius: 0; background: rgba(255,255,255,.012); box-shadow: inset -1px 0 rgba(255,255,255,.07); backdrop-filter: blur(18px); }
.sidebar-brand { flex: 0 0 auto; height: 42px; margin: 0 8px 16px; }
.sidebar-brand .lanbi-mark { font-size: 24px; }
.side-nav { margin-top: 4px; }
.side-nav > p { margin: 0 10px 7px; color: #626268; font-size: 9px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.side-link { display: flex; align-items: center; gap: 11px; width: 100%; height: 42px; padding: 0 12px; border-radius: 999px; background: transparent; color: #9c9ca1; font-size: 12px; text-align: left; }
.side-link:hover { background: rgba(255,255,255,.045); color: #e7e7e9; }
.side-link.active { background: rgba(255,255,255,.085); color: white; box-shadow: inset 0 1px rgba(255,255,255,.1); }
.side-link svg { width: 18px; }
.side-link.active svg { color: var(--blue); }
.side-link b { margin-left: auto; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.065); color: #a5a5aa; font-size: 9px; }
.nav-letter { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 6px; color: #d9d9dd; font-size: 9px; font-weight: 750; }
.storage-card { margin: auto 3px 13px; padding: 14px; border-radius: 16px; }
.storage-title { display: flex; justify-content: space-between; color: #cfcfd2; font-size: 10px; font-weight: 650; }
.storage-title b { color: var(--muted-2); font-weight: 550; }
.storage-track { height: 4px; margin: 10px 0; border-radius: 999px; overflow: hidden; background: #2b2b2e; }
.storage-track span { display: block; width: 12%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-strong), #55b0ff); }
.storage-card p { margin: 0; color: #65656a; font-size: 9px; line-height: 1.55; }
.sidebar-user { position: relative; flex: 0 0 auto; margin-top: 8px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.07); }
.user-button { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 9px; width: 100%; padding: 7px; border-radius: 999px; background: transparent; text-align: left; }
.user-button:hover { background: rgba(255,255,255,.045); }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(255,255,255,.055); color: #e8e8eb; font-size: 12px; font-weight: 750; }
.user-button strong, .user-button small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-button strong { font-size: 11px; }
.user-button small { margin-top: 3px; color: #6f6f74; font-size: 9px; }
.more { color: #6b6b70; font-size: 10px; letter-spacing: 1px; }
.user-menu { position: absolute; inset: auto 0 calc(100% + 6px); padding: 5px; border: 1px solid var(--border); border-radius: 9px; background: #252527; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.user-menu button { width: 100%; padding: 9px 10px; border-radius: 6px; background: transparent; color: #ff8a83; text-align: left; font-size: 11px; }
.user-menu button:hover { background: rgba(255,255,255,.06); }

.workspace { min-height: 100vh; margin-left: 390px; background: radial-gradient(ellipse at 68% -10%, rgba(255,255,255,.04), transparent 42%), #000; }
.topbar { display: flex; align-items: center; justify-content: space-between; height: 69px; padding: 0 18px 0 22px; border-radius: 0; background: rgba(255,255,255,.012); box-shadow: inset 0 -1px rgba(255,255,255,.07); backdrop-filter: blur(20px); }
.topbar-title { display: flex; align-items: center; gap: 10px; }
.topbar-title span, .topbar-title small { display: block; }
.topbar-title span { color: #e5e5e8; font-family: var(--font-display); font-size: 18px; font-weight: 400; }
.topbar-title small { margin-top: 4px; color: #69696f; font-size: 9px; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.top-actions button { min-height: 38px; font-size: 11px; }
.top-actions svg { width: 16px; height: 16px; }
.global-search { display: flex; align-items: center; gap: 8px; width: min(330px, 28vw); height: 40px; padding: 0 13px; border-radius: 999px; background: rgba(255,255,255,.015); }
.global-search:focus-within { border-color: rgba(41,151,255,.45); box-shadow: 0 0 0 3px rgba(41,151,255,.08); }
.global-search svg { width: 16px; color: #77777c; }
.global-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #e9e9eb; font-size: 11px; }
.global-search input::placeholder { color: #66666b; }
.sidebar-search { flex: 0 0 auto; width: 100%; margin-bottom: 14px; }

.library-view { display: block; height: calc(100vh - 69px); }
.list-pane { min-width: 0; overflow: hidden; }
.sidebar .list-pane { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; height: auto; border: 0; background: transparent; }
.list-head { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 15px 0 18px; }
.list-head h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 23px; font-weight: 400; letter-spacing: -.02em; }
.list-head span { color: #6c6c72; font-size: 9px; }
.list-head .icon-button { width: 32px; min-height: 32px; }
.list-head .icon-button svg { width: 15px; }
.filter-chips { display: flex; gap: 6px; padding: 0 16px 13px; overflow-x: auto; scrollbar-width: none; }
.filter-chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; height: 28px; padding: 0 12px; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; background: rgba(255,255,255,.018); color: #77777d; font-size: 9px; font-weight: 650; }
.chip.active { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.1); color: #f5f5f7; }
.conversation-list { flex: 1 1 auto; min-height: 0; height: auto; overflow-y: auto; padding: 0 2px 16px; scrollbar-color: #343438 transparent; scrollbar-width: thin; }
.conversation-item { position: relative; display: block; width: 100%; min-height: 102px; padding: 14px 16px; border: 1px solid transparent; border-radius: 16px; background: transparent; text-align: left; }
.conversation-item:hover { background: rgba(255,255,255,.035); }
.conversation-item.active { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.055); box-shadow: inset 0 1px rgba(255,255,255,.05); }
.conversation-copy { display: block; min-width: 0; }
.conversation-row { display: flex; align-items: center; gap: 8px; }
.conversation-row strong { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #dfdfe2; font-size: 13.5px; line-height: 1.4; }
.conversation-row time { flex: 0 0 auto; color: #5e5e63; font-size: 10px; }
.conversation-copy p { display: -webkit-box; overflow: hidden; margin: 8px 0 10px; color: #75757b; font-size: 11.5px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.conversation-meta { display: flex; align-items: center; gap: 7px; color: #55555a; font-size: 10px; line-height: 1.4; }
.conversation-meta i { width: 2px; height: 2px; border-radius: 50%; background: #515156; }
.mini-star { width: 11px; height: 11px; margin-left: auto; color: var(--yellow); fill: rgba(255,214,10,.18); }
.list-empty { display: grid; place-items: center; min-height: 300px; padding: 30px; text-align: center; color: #6d6d72; }
.list-empty svg { width: 28px; height: 28px; margin-bottom: 11px; color: #4e4e53; }
.list-empty strong { display: block; color: #aaaab0; font-size: 12px; }
.list-empty p { max-width: 220px; margin: 7px 0 0; font-size: 9px; line-height: 1.6; }
.list-loading { padding: 12px; }
.skeleton { height: 76px; margin-bottom: 8px; border-radius: 10px; background: linear-gradient(90deg, rgba(255,255,255,.025), rgba(255,255,255,.06), rgba(255,255,255,.025)); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }

.detail-pane { position: relative; min-width: 0; height: 100%; overflow: hidden; background: rgba(255,255,255,.006); }
.empty-detail { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 40px; text-align: center; background: radial-gradient(circle at 50% 42%, rgba(255,255,255,.035), transparent 35%); }
.empty-detail h2 { margin: 12px 0 8px; font-family: var(--font-display); font-size: 31px; font-weight: 400; letter-spacing: -.025em; }
.empty-detail > p:not(.eyebrow) { margin: 0 0 21px; color: var(--muted); font-size: 11px; }
.empty-detail .primary { font-size: 11px; }
.empty-orbit { position: relative; width: 116px; height: 116px; margin-bottom: 22px; }
.empty-core { position: absolute; inset: 29px; z-index: 2; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.055); box-shadow: 0 16px 40px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.1); }
.empty-core svg { width: 25px; color: rgba(255,255,255,.76); }
.empty-orbit i { position: absolute; inset: 7px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; transform: rotate(-18deg) scaleY(.58); }
.empty-orbit i:nth-of-type(2) { transform: rotate(42deg) scaleY(.58); }
.empty-orbit i:nth-of-type(3) { inset: 0; border-color: rgba(255,255,255,.09); transform: rotate(96deg) scaleY(.72); }
.conversation-detail { height: 100%; overflow-y: auto; scrollbar-color: #353539 transparent; }
.detail-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; min-height: 106px; padding: 21px 25px 18px; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(0,0,0,.74); backdrop-filter: blur(18px); }
#mobile-back-btn svg { transform: rotate(180deg); }
.detail-title-wrap { min-width: 0; }
.source-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border: 1px solid rgba(255,255,255,.1); border-radius: 5px; background: rgba(255,255,255,.04); color: #aaaab0; font-size: 8px; font-weight: 720; letter-spacing: .04em; }
.source-badge.ai { border-color: rgba(41,151,255,.22); background: rgba(41,151,255,.1); color: #73bbff; }
.detail-title-wrap h1 { max-width: 700px; margin: 8px 0 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-display); font-size: 27px; font-weight: 400; letter-spacing: -.02em; }
.detail-title-wrap p { margin: 0; color: #66666b; font-size: 12px; line-height: 1.45; }
.detail-actions { display: flex; align-items: center; gap: 7px; padding-top: 17px; }
.detail-actions button { min-height: 34px; font-size: 9px; }
.detail-actions .icon-button { width: 34px; }
.detail-actions svg { width: 15px; }
.detail-actions .is-favorite { color: var(--yellow); background: rgba(255,214,10,.08); border-color: rgba(255,214,10,.2); }
.detail-actions .is-favorite svg { fill: rgba(255,214,10,.22); }
.detail-actions .danger-icon:hover,
.detail-actions .danger-icon:focus-visible { border-color: rgba(255,69,58,.34); background: rgba(255,69,58,.08); color: #ff6961; }
.message-thread { width: min(1200px, calc(100% - 72px)); margin: 0 auto; padding: 36px 0 88px; }
.scroll-top-button {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 7;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(10,10,11,.72);
  box-shadow: inset 0 1px rgba(255,255,255,.09), 0 14px 38px rgba(0,0,0,.42);
  color: rgba(255,255,255,.9);
  transform: translateY(0);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.scroll-top-button:hover { border-color: rgba(255,255,255,.3); background: rgba(28,28,30,.84); transform: translateY(-2px); }
.scroll-top-button:focus-visible { outline: 2px solid rgba(255,255,255,.72); outline-offset: 3px; }
.scroll-top-button svg { width: 19px; height: 19px; }
.message-block { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 14px; padding: 22px 0; }
.message-avatar { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(255,255,255,.035); color: #bbbcc1; font-size: 10px; font-weight: 750; }
.message-block.assistant .message-avatar { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.07); color: #f1f1f3; }
.message-body { min-width: 0; }
.message-role { display: flex; align-items: center; gap: 9px; height: 27px; color: #d7d7da; font-size: 12px; font-weight: 680; }
.message-role time { color: #57575c; font-size: 10px; font-weight: 500; }
.message-content { margin-top: 7px; color: #c8c8cc; font-size: 14.5px; line-height: 1.82; white-space: pre-wrap; overflow-wrap: anywhere; }
.message-block.user .message-content { padding: 16px 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(255,255,255,.025); color: #e2e2e5; box-shadow: inset 0 1px rgba(255,255,255,.04); }
.message-actions { display: flex; justify-content: flex-end; min-height: 28px; margin-top: 7px; }
.message-copy { min-width: 52px; height: 26px; padding: 0 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.018); color: rgba(255,255,255,.42); font-size: 9px; font-weight: 600; opacity: .62; transition: border-color .18s ease, background .18s ease, color .18s ease, opacity .18s ease; }
.message-block:hover .message-copy, .message-copy:focus-visible { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.045); color: rgba(255,255,255,.82); opacity: 1; }
.message-copy.copied { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.08); color: #fff; opacity: 1; }
.message-copy:disabled { cursor: default; }

/* Workspace visual language: pure black stage, transparent glass and white edges. */
.app { position: relative; overflow: hidden; background: #000; }
.sidebar .list-head h2,
.workspace .topbar-title span,
.workspace .empty-detail h2,
.workspace .detail-title-wrap h1,
.modal-card .modal-head h2 {
  font-family: var(--font-display-cn);
  font-style: normal;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
  font-synthesis: none;
}
.sidebar { border-right: 1px solid rgba(255,255,255,.09); background: rgba(3,3,4,.76); box-shadow: inset -1px 0 rgba(255,255,255,.025), 24px 0 70px rgba(0,0,0,.36); backdrop-filter: blur(24px) saturate(1.02); -webkit-backdrop-filter: blur(24px) saturate(1.02); }
.sidebar::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(circle at 18% 8%, rgba(255,255,255,.035), transparent 28%), linear-gradient(180deg, rgba(255,255,255,.012), transparent 32%); }
.sidebar > * { position: relative; z-index: 1; }
.sidebar-brand .lanbi-mark { background: linear-gradient(90deg, #fff 0%, #c9c9cc 58%, #7a7a80 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sidebar-brand .brand-product { color: rgba(255,255,255,.38); }
.sidebar-search { border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.018); box-shadow: inset 0 1px rgba(255,255,255,.045), 0 10px 34px rgba(0,0,0,.22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sidebar-search:hover { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.03); }
.sidebar-search:focus-within { border-color: rgba(255,255,255,.42); box-shadow: 0 0 0 3px rgba(255,255,255,.065), 0 0 22px rgba(255,255,255,.035); }
.sidebar-search svg { color: rgba(255,255,255,.5); }
.sidebar-search kbd { border-color: rgba(255,255,255,.11); background: rgba(255,255,255,.035); }
.sidebar-search input { font-size: 12.5px; }
.list-head { height: 84px; padding: 5px 6px 9px 10px; }
.list-head h2 { margin-bottom: 8px; color: rgba(255,255,255,.94); font-size: 26px; }
.list-head span { display: block; color: rgba(255,255,255,.38); font-size: 10px; line-height: 1; }
.list-head .icon-button { border-color: rgba(255,255,255,.11); background: rgba(255,255,255,.025); }
.filter-chips { gap: 8px; padding: 2px 8px 20px; }
.chip { height: 31px; padding: 0 14px; border-color: rgba(255,255,255,.09); background: rgba(255,255,255,.018); color: rgba(255,255,255,.44); font-size: 10px; }
.chip:hover { border-color: rgba(255,255,255,.19); color: rgba(255,255,255,.8); }
.chip.active { border-color: rgba(255,255,255,.27); background: rgba(255,255,255,.09); color: #fff; box-shadow: inset 0 1px rgba(255,255,255,.09), 0 8px 24px rgba(0,0,0,.18); }
.conversation-item { border-radius: 18px; transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
.conversation-item + .conversation-item { margin-top: 4px; }
.conversation-item:hover { border-color: rgba(255,255,255,.09); background: rgba(255,255,255,.032); transform: translateY(-1px); }
.conversation-item.active { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.055); box-shadow: inset 0 1px rgba(255,255,255,.07), 0 12px 32px rgba(0,0,0,.2); }
.conversation-item.active::before { content: ""; position: absolute; top: 19px; bottom: 19px; left: -1px; width: 2px; border-radius: 999px; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.28); }
.list-empty { min-height: 260px; padding: 18px 8px; }
.list-empty > div { width: 100%; padding: 25px 16px; border: 1px solid rgba(255,255,255,.075); border-radius: 22px; background: rgba(255,255,255,.018); box-shadow: inset 0 1px rgba(255,255,255,.03); }
.list-empty svg { color: rgba(255,255,255,.42); }
.sidebar-user { border-color: rgba(255,255,255,.08); }
.user-button { border: 1px solid transparent; }
.user-button:hover { border-color: rgba(255,255,255,.09); background: rgba(255,255,255,.035); }
.avatar { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.055); box-shadow: inset 0 1px rgba(255,255,255,.07); }
.user-menu { border-color: rgba(255,255,255,.11); background: rgba(10,10,11,.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }

.workspace { position: relative; background: radial-gradient(ellipse at 64% 14%, rgba(255,255,255,.025), transparent 36%), #000; }
.workspace::before { content: ""; position: absolute; inset: 69px 0 0; z-index: 0; pointer-events: none; background: linear-gradient(115deg, transparent 0 44%, rgba(255,255,255,.012) 58%, transparent 72%); }
.workspace > * { position: relative; z-index: 1; }
.topbar { border-bottom: 1px solid rgba(255,255,255,.09); background: rgba(4,4,5,.56); box-shadow: inset 0 1px rgba(255,255,255,.03), 0 18px 50px rgba(0,0,0,.2); backdrop-filter: blur(24px) saturate(1.02); -webkit-backdrop-filter: blur(24px) saturate(1.02); }
.topbar-title span { color: rgba(255,255,255,.94); font-size: 20px; }
.topbar-title small { color: rgba(255,255,255,.38); }
.top-actions .secondary { border-color: rgba(255,255,255,.13); background: rgba(255,255,255,.025); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.top-actions .primary { box-shadow: 0 12px 32px rgba(255,255,255,.1), inset 0 -1px rgba(0,0,0,.12); }
.detail-pane { background: transparent; }
.empty-detail { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.025), transparent 32%); }
.empty-detail::before { content: ""; position: absolute; z-index: -1; width: min(590px, calc(100% - 48px)); height: 356px; border: 1px solid rgba(255,255,255,.11); border-radius: 30px; background: rgba(255,255,255,.018); box-shadow: inset 0 1px rgba(255,255,255,.045), 0 36px 100px rgba(0,0,0,.34); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.empty-detail::after { content: ""; position: absolute; z-index: -2; width: 480px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.018); filter: blur(65px); }
.empty-detail > * { position: relative; z-index: 1; }
.empty-detail .eyebrow { color: rgba(255,255,255,.46); letter-spacing: .22em; }
.empty-detail h2 { margin: 14px 0 10px; color: #fff; font-size: clamp(32px, 3.2vw, 42px); }
.empty-detail > p:not(.eyebrow) { color: rgba(255,255,255,.5); }
.empty-orbit { margin-bottom: 18px; }
.empty-core { isolation: isolate; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); box-shadow: 0 18px 48px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.1); }
.empty-core::before { content: ""; position: absolute; inset: -2px; z-index: -1; padding: 1.2px; border-radius: inherit; background: conic-gradient(from var(--rainbow-angle), #ff4d7d, #ffad52, #55dc8b, #45c5ff, #8667ff, #ed57ab, #ff4d7d); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rainbow-plan-beam 4.6s linear infinite; }
.empty-orbit i { border-color: rgba(255,255,255,.095); }
.empty-detail .primary { position: relative; min-height: 44px; padding: 0 20px; border: 1px solid rgba(255,255,255,.72); box-shadow: 0 14px 40px rgba(255,255,255,.1); }
.detail-head { border-color: rgba(255,255,255,.09); background: rgba(4,4,5,.7); backdrop-filter: blur(22px) saturate(1.02); -webkit-backdrop-filter: blur(22px) saturate(1.02); }
.source-badge { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.035); }
.source-badge.ai { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.045); color: rgba(255,255,255,.72); }
.message-block.user .message-content { border-color: rgba(255,255,255,.09); background: rgba(255,255,255,.025); box-shadow: inset 0 1px rgba(255,255,255,.04); }
/* Sync modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.84); backdrop-filter: blur(14px); }
.modal-card { width: min(680px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; border: 1px solid rgba(255,255,255,.11); border-radius: 24px; background: rgba(8,8,9,.86); box-shadow: 0 30px 100px rgba(0,0,0,.74), inset 0 1px rgba(255,255,255,.07); scrollbar-width: thin; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 25px 26px 21px; border-bottom: 1px solid rgba(255,255,255,.075); }
.modal-head h2 { margin: 8px 0 6px; font-family: var(--font-display); font-size: 31px; font-weight: 400; letter-spacing: -.025em; }
.modal-head > div > p:last-child { margin: 0; color: var(--muted); font-size: 11px; }
.modal-head .icon-button { flex: 0 0 auto; width: 34px; min-height: 34px; }
.modal-head svg { width: 15px; }
.sync-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 18px 22px 14px; }
.sync-steps > div { display: flex; gap: 9px; padding: 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 16px; background: rgba(255,255,255,.018); }
.sync-steps b { display: grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(255,255,255,.055); color: #f1f1f3; font-size: 9px; }
.sync-steps strong, .sync-steps small { display: block; }
.sync-steps strong { margin: 2px 0 5px; color: #d8d8db; font-size: 9px; }
.sync-steps small { color: #6b6b70; font-size: 8px; line-height: 1.45; }
.exporter-guide { width: calc(100% - 52px); margin: 0 26px 21px; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: rgba(255,255,255,.018); }
.exporter-guide summary { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 15px; color: #fff; cursor: pointer; list-style: none; transition: background .18s ease; }
.exporter-guide summary::-webkit-details-marker { display: none; }
.exporter-guide summary:hover { background: rgba(255,255,255,.04); }
.exporter-guide[open] summary { border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.035); }
.exporter-guide-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: rgba(255,255,255,.045); }
.exporter-guide-icon svg { width: 17px; height: 17px; }
.exporter-guide summary > span:nth-child(2) { min-width: 0; flex: 1; }
.exporter-guide summary strong, .exporter-guide summary small { display: block; }
.exporter-guide summary strong { font-size: 14px; line-height: 1.35; }
.exporter-guide summary small { margin-top: 5px; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.4; }
.exporter-guide summary em { flex: 0 0 auto; padding: 7px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: rgba(255,255,255,.68); font-size: 11px; font-style: normal; }
.exporter-guide[open] summary em { color: #fff; }
.exporter-guide-body { padding: 18px; }
.exporter-guide-body > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 17px; border-bottom: 1px solid rgba(255,255,255,.07); }
.exporter-guide-body > header > div { min-width: 0; }
.exporter-guide-body > header strong { color: #fff; font-size: 15px; }
.exporter-guide-body > header p { margin: 6px 0 0; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.55; }
.exporter-guide-body > header a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,.74); border-radius: 999px; background: #f5f5f7; color: #080809; font-size: 12px; font-weight: 680; text-decoration: none; }
.exporter-guide-body > header a svg { width: 15px; height: 15px; }
.exporter-guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 18px; }
.exporter-guide-grid section { min-width: 0; }
.exporter-guide-grid h3 { margin: 0 0 11px; color: #fff; font-size: 14px; }
.exporter-guide-grid h4 { margin: 14px 0 7px; color: rgba(255,255,255,.86); font-size: 12px; }
.exporter-guide-grid ol, .exporter-guide-grid ul { display: grid; gap: 7px; margin: 0; padding-left: 20px; color: rgba(255,255,255,.67); font-size: 12px; line-height: 1.55; }
.exporter-guide-grid code { padding: 2px 5px; border: 1px solid rgba(255,255,255,.1); border-radius: 5px; background: rgba(255,255,255,.055); color: rgba(255,255,255,.9); font-family: Consolas, monospace; font-size: 11px; }
.exporter-guide-note { display: flex; align-items: flex-start; gap: 9px; margin: 18px 0 0; padding: 12px 13px; border: 1px solid rgba(48,209,88,.16); border-radius: 12px; background: rgba(48,209,88,.045); color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.55; }
.exporter-guide-note i { flex: 0 0 auto; width: 7px; height: 7px; margin-top: .48em; border-radius: 50%; background: #30d158; box-shadow: 0 0 9px rgba(48,209,88,.46); }
.exporter-tutorial-card { width: min(820px, 100%); }
.exporter-tutorial-card .exporter-guide-body { padding: 22px 26px 26px; }
.drop-zone { display: flex; flex-direction: column; align-items: center; width: calc(100% - 44px); min-height: 206px; margin: 0 22px 18px; padding: 28px; border-radius: 20px; background: rgba(255,255,255,.012); text-align: center; transition: .18s; }
.drop-zone:hover, .drop-zone.dragging { background: rgba(255,255,255,.05); }
.upload-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.05); color: rgba(255,255,255,.76); }
.upload-icon svg { width: 22px; }
.drop-zone strong { font-size: 12px; }
.drop-zone > span:not(.upload-icon) { margin-top: 7px; color: #6f6f75; font-size: 9px; }
.drop-zone em { margin-top: 16px; padding: 8px 15px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.055); color: #d6d6d9; font-size: 9px; font-style: normal; font-weight: 650; }
.sync-progress, .sync-result { margin: 0 22px 18px; padding: 13px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.025); }
.progress-label { display: flex; justify-content: space-between; color: #bcbcc0; font-size: 9px; }
.progress-label b { color: #67676c; font-weight: 500; }
.progress-bar { height: 4px; margin-top: 11px; overflow: hidden; border-radius: 99px; background: #2b2b2e; }
.progress-bar span { display: block; width: 42%; height: 100%; border-radius: inherit; background: var(--blue); animation: upload 1.1s infinite ease-in-out; }
@keyframes upload { 0% { transform: translateX(-110%); } 100% { transform: translateX(340%); } }
.sync-result.success { border-color: rgba(48,209,88,.2); background: rgba(48,209,88,.055); }
.sync-result.error { border-color: rgba(255,69,58,.2); background: rgba(255,69,58,.055); }
.sync-result strong { display: block; margin-bottom: 5px; font-size: 10px; }
.sync-result p { margin: 0; color: #8b8b90; font-size: 9px; line-height: 1.55; }
.modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 22px; border-top: 1px solid rgba(255,255,255,.07); background: rgba(0,0,0,.14); }
.modal-foot > span { display: flex; align-items: center; gap: 7px; color: #68686d; font-size: 8px; }
.modal-foot i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.modal-foot a { display: inline-flex; align-items: center; gap: 5px; color: #7dbfff; font-size: 8px; text-decoration: none; }
.modal-foot svg { width: 12px; }

.toast-region { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: grid; gap: 8px; width: min(340px, calc(100% - 36px)); pointer-events: none; }
.toast { padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 10px; background: rgba(35,35,37,.96); box-shadow: 0 14px 40px rgba(0,0,0,.5); color: #dfdfe2; font-size: 10px; line-height: 1.55; animation: toast-in .22s ease-out; }
.toast.error { border-color: rgba(255,69,58,.28); }
.toast.success { border-color: rgba(48,209,88,.23); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.mobile-only, .mobile-nav { display: none; }

@media (max-width: 1100px) {
  .sidebar { width: 340px; }
  .workspace { margin-left: 340px; }
  .detail-head { flex-direction: column; gap: 10px; }
  .detail-actions { padding-top: 0; }
}

@media (min-width: 861px) and (min-aspect-ratio: 3/2) {
  .auth-hero-fallback, .auth-hero-video {
    object-fit: cover;
    object-position: center 78%;
  }
}

@media (min-width: 861px) and (max-height: 760px) {
  .auth-main { padding: 24px 0 34px; }
  .auth-card { padding: 20px 28px; }
  .auth-card-head h2 { margin: 5px 0 4px; font-size: 30px; line-height: 1.05; }
  .auth-card-head p { font-size: 11px; line-height: 1.45; }
  .auth-tabs { margin: 14px 0 12px; padding: 3px; }
  .auth-tab { height: 32px; }
  .auth-form { gap: 8px; }
  .auth-form label { gap: 4px; font-size: 11px; }
  .auth-form input { height: 40px; }
  .auth-card .wide { min-height: 42px; }
  .auth-note { margin-top: 10px; padding-top: 10px; font-size: 9px; line-height: 1.45; }
}

@media (max-width: 860px) {
  .auth-backdrop::before { background: rgba(0,0,0,.22); }
  .auth-hero-fallback, .auth-hero-video { object-position: 50% center; opacity: .92; }
  .auth-hero-video.is-video-recovering { opacity: 0; }
  .public-bar { width: min(620px, calc(100% - 32px)); margin-top: 16px; }
  .public-nav { display: none; }
  .auth-main { padding-top: 48px; }
  .sidebar { width: min(340px, calc(100vw - 24px)); transform: translateX(-100%); transition: transform .22s ease; box-shadow: 22px 0 60px rgba(0,0,0,.5); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-shade { position: fixed; inset: 0; z-index: 15; display: block; background: rgba(0,0,0,.62); }
  .workspace { margin-left: 0; }
  .mobile-only { display: inline-flex; }
  .topbar-title .icon-button { width: 34px; min-height: 34px; }
  .global-search { width: min(310px, 35vw); }
  .top-actions .secondary span { display: none; }
}

@media (max-width: 680px) {
  .auth-backdrop::before { background: rgba(0,0,0,.28); }
  .auth-hero-fallback, .auth-hero-video { object-position: 52% center; opacity: .9; }
  .auth-hero-video.is-video-recovering { opacity: 0; }
  .public-bar { height: 54px; padding: 0 15px; }
  .public-bar .lanbi-mark { font-size: 22px; }
  .public-bar .brand-product { font-size: 7px; }
  .privacy-pill { display: none; }
  .auth-main { width: calc(100% - 28px); padding: 36px 0 48px; }
  .auth-card { padding: 24px 20px; border-radius: 22px; }
  .auth-card-head h2 { font-size: 31px; }
  .topbar { padding: 0 12px; }
  .topbar-title > div { display: none; }
  .global-search { width: min(100%, 260px); }
  .global-search kbd { display: none; }
  .top-actions .secondary { display: none; }
  .top-actions .primary span { display: none; }
  .top-actions .primary { width: 38px; padding: 0; }
  .library-view { display: block; height: calc(100vh - 126px); }
  .empty-detail { padding: 24px; }
  .empty-detail::before { width: calc(100% - 28px); height: min(356px, calc(100% - 32px)); border-radius: 24px; }
  .empty-detail h2 { font-size: clamp(28px, 8vw, 36px); }
  .list-pane { height: 100%; border-right: 0; }
  .detail-pane { position: fixed; inset: 69px 0 57px; z-index: 10; display: none; }
  .detail-pane.mobile-open { display: block; }
  .detail-head { min-height: auto; padding: 16px; }
  .detail-title-wrap h1 { max-width: calc(100vw - 32px); }
  .detail-actions { width: 100%; overflow-x: auto; }
  .message-thread { width: calc(100% - 30px); padding-bottom: 40px; }
  .scroll-top-button { right: 15px; bottom: 15px; width: 43px; height: 43px; }
  .message-copy { min-width: 58px; height: 30px; opacity: .78; }
  .mobile-nav { position: fixed; inset: auto 0 0; z-index: 12; display: grid; grid-template-columns: repeat(2,1fr); height: 57px; border-top: 1px solid var(--border); background: rgba(17,17,18,.96); backdrop-filter: blur(18px); }
  .mobile-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: transparent; color: #6b6b71; font-size: 8px; }
  .mobile-nav button.active { color: #f5f5f7; }
  .mobile-nav svg { width: 17px; height: 17px; }
  .sync-steps { grid-template-columns: 1fr; }
  .modal-backdrop { padding: 10px; }
  .modal-card { max-height: calc(100vh - 20px); }
  .modal-head { padding: 21px 19px 17px; }
  .drop-zone { width: calc(100% - 32px); margin-left: 16px; margin-right: 16px; }
  .modal-foot { align-items: flex-start; }
}

/* High-contrast workspace typography on the black stage. */
.app .lanbi-mark { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.app .brand-product,
.app .global-search svg,
.app .global-search input,
.app .global-search input::placeholder,
.app kbd,
.app .list-head span,
.app .chip,
.app .conversation-row strong,
.app .conversation-row time,
.app .conversation-copy p,
.app .conversation-meta,
.app .list-empty,
.app .list-empty svg,
.app .list-empty strong,
.app .list-empty p,
.app .user-button strong,
.app .user-button small,
.app .more,
.app .topbar-title span,
.app .topbar-title small,
.app .empty-detail .eyebrow,
.app .empty-detail > p:not(.eyebrow),
.app .source-badge,
.app .source-badge.ai,
.app .detail-title-wrap p,
.app .message-avatar,
.app .message-role,
.app .message-role time,
.app .message-content,
.app .message-copy,
.app .mobile-nav button,
.modal-card .eyebrow,
.modal-card .modal-head > div > p:last-child,
.modal-card .sync-steps strong,
.modal-card .sync-steps small,
.modal-card .drop-zone strong,
.modal-card .drop-zone > span,
.modal-card .drop-zone em,
.modal-card .progress-label,
.modal-card .progress-label b,
.modal-card .sync-result,
.modal-card .sync-result p,
.modal-card .modal-foot > span,
.modal-card .modal-foot a,
.toast {
  color: #fff;
}

/* Codex-inspired reading layout: quiet index on the left, one document flow on the right. */
.sidebar {
  width: 320px;
  padding: 14px 10px 10px;
}
.workspace { margin-left: 320px; }
.sidebar-brand {
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 10px;
  height: 30px;
  margin: 0 10px 12px;
}
.sidebar-brand .lanbi-mark { font-size: 18px; letter-spacing: 3px; }
.sidebar-brand .brand-product {
  align-self: auto;
  margin-top: 0;
  font-size: 10px;
  font-weight: 550;
  letter-spacing: .05em;
}
.sidebar-search {
  height: 38px;
  margin-bottom: 9px;
  padding: 0 12px;
  border-radius: 11px;
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.sidebar-search input { font-size: 12px; }
.sidebar-search kbd { font-size: 9px; }
.list-head {
  height: 43px;
  padding: 0 8px 0 10px;
}
.list-head > div { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.list-head h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
}
.list-head span { font-size: 10.5px; line-height: 1; }
.list-head .icon-button { width: 28px; min-height: 28px; }
.list-head .icon-button svg { width: 13px; }
.filter-chips { gap: 5px; padding: 0 8px 8px; }
.chip {
  height: 27px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 10px;
}
.conversation-list { padding: 2px 0 12px; }
.conversation-item {
  min-height: 62px;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  transition: background .14s ease;
}
.conversation-item + .conversation-item { margin-top: 2px; }
.conversation-item:hover {
  border-color: transparent;
  background: rgba(255,255,255,.045);
  transform: none;
}
.conversation-item.active {
  border-color: transparent;
  background: rgba(255,255,255,.085);
  box-shadow: none;
}
.conversation-item.active::before { display: none; }
.conversation-row { gap: 10px; }
.conversation-row strong { font-size: 13.5px; line-height: 1.35; }
.conversation-row time { font-size: 10.5px; }
.conversation-meta {
  margin-top: 7px;
  font-size: 10.5px;
  line-height: 1.2;
}
.mini-star { width: 10px; height: 10px; }
.sidebar-user { margin-top: 4px; padding-top: 7px; }
.user-button { padding: 6px 8px; border-radius: 10px; }

.topbar {
  height: 56px;
  padding: 0 16px 0 20px;
  background: rgba(3,3,4,.46);
  box-shadow: inset 0 -1px rgba(255,255,255,.065);
}
.topbar-title > div { display: flex; align-items: baseline; gap: 10px; }
.topbar-title span { font-family: var(--font-sans); font-size: 15px; font-weight: 650; letter-spacing: 0; }
.topbar-title small { margin-top: 0; font-size: 10px; }
.top-actions button { min-height: 34px; padding: 0 13px; font-size: 10.5px; }
.top-actions svg { width: 14px; height: 14px; }
.workspace::before { inset: 56px 0 0; }
.library-view { height: calc(100vh - 56px); }
.conversation-detail { scrollbar-color: rgba(255,255,255,.18) transparent; }
.detail-head {
  position: static;
  width: min(1040px, calc(100% - 64px));
  min-height: 0;
  margin: 0 auto;
  padding: 30px 0 20px;
  border-bottom: 1px solid rgba(255,255,255,.065);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.source-badge { display: none; }
.detail-title-wrap h1 {
  max-width: 760px;
  margin: 0 0 7px;
  font-size: 28px;
  line-height: 1.2;
}
.detail-title-wrap p { font-size: 12px; line-height: 1.45; }
.detail-actions { padding-top: 1px; }
.detail-actions button { min-height: 32px; font-size: 10px; }
.detail-actions .icon-button { width: 32px; }
.message-thread {
  width: min(1040px, calc(100% - 64px));
  padding: 8px 0 80px;
}
.message-block {
  display: block;
  padding: 24px 0;
}
.message-block + .message-block { border-top: 1px solid rgba(255,255,255,.045); }
.message-avatar { display: none; }
.message-body { width: 100%; }
.message-block.user .message-body {
  width: min(760px, 82%);
  margin-left: auto;
}
.message-role {
  height: auto;
  margin-bottom: 8px;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.4;
}
.message-block.user .message-role { justify-content: flex-end; }
.message-role time { font-size: 11px; }
.message-content {
  margin-top: 0;
  color: rgba(255,255,255,.92);
  font-size: 14.5px;
  line-height: 1.76;
}
.message-block.user .message-content {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}
.message-actions { min-height: 24px; margin-top: 8px; }
.message-block.assistant .message-actions { justify-content: flex-start; }
.message-copy {
  min-width: 48px;
  height: 25px;
  padding: 0 10px;
  font-size: 9.5px;
}
.message-role .message-copy {
  flex: 0 0 auto;
  min-width: 42px;
  height: 22px;
  margin-left: 2px;
  padding: 0 8px;
  border-color: rgba(255,255,255,.11);
  background: rgba(255,255,255,.02);
  font-size: 9px;
  opacity: .72;
}
.message-role .message-copy:hover,
.message-role .message-copy:focus-visible {
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.07);
  opacity: 1;
}

.delete-card {
  position: relative;
  width: min(430px, 100%);
  padding: 30px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: rgba(8,8,9,.92);
  box-shadow: 0 30px 100px rgba(0,0,0,.72), inset 0 1px rgba(255,255,255,.06);
  text-align: center;
}
.delete-close { position: absolute; top: 14px; right: 14px; width: 32px; min-height: 32px; }
.delete-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 2px auto 17px;
  border: 1px solid rgba(255,69,58,.24);
  border-radius: 50%;
  background: rgba(255,69,58,.07);
  color: #ff6961;
}
.delete-symbol svg { width: 20px; height: 20px; }
.delete-card .eyebrow { margin: 0; color: rgba(255,255,255,.48); letter-spacing: .18em; }
.delete-card h2 { margin: 9px 0 9px; font-family: var(--font-display-cn); font-size: 28px; font-weight: 400; }
.delete-card > p:not(.eyebrow) { margin: 0 auto; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.65; }
.delete-card > strong {
  display: block;
  margin: 17px 0 22px;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.delete-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.delete-actions button { min-height: 42px; border-radius: 999px; font-size: 11px; font-weight: 680; }
.danger-confirm { border: 1px solid rgba(255,69,58,.45); background: #ff453a; color: #fff; }
.danger-confirm:hover { background: #ff5a52; }
.danger-confirm:disabled { cursor: wait; opacity: .6; }

@media (max-width: 1100px) and (min-width: 861px) {
  .sidebar { width: 300px; }
  .workspace { margin-left: 300px; }
  .detail-head, .message-thread { width: calc(100% - 48px); }
}

@media (max-width: 860px) {
  .sidebar { width: min(320px, calc(100vw - 24px)); }
  .workspace { margin-left: 0; }
  .detail-head, .message-thread { width: calc(100% - 40px); }
}

@media (max-width: 680px) {
  .topbar { height: 56px; }
  .library-view { height: calc(100vh - 113px); }
  .sidebar-search { width: 100%; }
  .detail-pane { inset: 56px 0 57px; height: auto; }
  .detail-head {
    display: grid;
    grid-template-columns: 32px minmax(0,1fr);
    gap: 12px;
    width: calc(100% - 32px);
    padding: 20px 0 14px;
  }
  #mobile-back-btn { grid-column: 1; grid-row: 1; }
  .detail-title-wrap { grid-column: 2; grid-row: 1; }
  .detail-title-wrap h1 {
    display: -webkit-box;
    max-width: none;
    overflow: hidden;
    white-space: normal;
    font-size: 23px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .detail-actions {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    overflow: visible;
  }
  .message-thread { width: calc(100% - 32px); padding-top: 4px; }
  .message-block { padding: 20px 0; }
  .message-block.user .message-body { width: min(92%, 760px); }
  .message-role .message-copy { min-width: 48px; height: 28px; }
  .delete-card { padding: 27px 21px 22px; border-radius: 21px; }
}

/* Phase 25: comfortable workspace typography.
   Keep these rules scoped to the signed-in workspace and its operation dialogs,
   so the homepage composition and login card remain unchanged. */
.app .sidebar {
  width: 350px;
  padding: 18px 13px 13px;
}
.app .workspace { margin-left: 350px; }
.app .sidebar-brand {
  height: 34px;
  margin: 0 11px 14px;
  gap: 12px;
}
.app .sidebar-brand .lanbi-mark { font-size: 20px; }
.app .sidebar-brand .brand-product { font-size: 12px; }
.app .sidebar-search {
  height: 46px;
  margin-bottom: 12px;
  padding: 0 14px;
}
.app .sidebar-search input { font-size: 15px; }
.app .sidebar-search kbd { font-size: 11px; }
.app .list-head {
  height: 52px;
  padding: 0 10px 0 12px;
}
.app .list-head h2 { font-size: 18px; }
.app .list-head span { font-size: 12px; }
.app .list-head .icon-button {
  width: 34px;
  min-height: 34px;
}
.app .list-head .icon-button svg { width: 15px; }
.app .filter-chips {
  gap: 7px;
  padding: 0 10px 11px;
}
.app .chip {
  height: 33px;
  padding: 0 13px;
  font-size: 12px;
}
.app .conversation-list { padding-top: 3px; }
.app .conversation-item {
  min-height: 74px;
  padding: 14px 14px;
  border-radius: 12px;
}
.app .conversation-item + .conversation-item { margin-top: 4px; }
.app .conversation-row { gap: 12px; }
.app .conversation-row strong {
  font-size: 15px;
  line-height: 1.45;
}
.app .conversation-row time { font-size: 12px; }
.app .conversation-meta {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.35;
}
.app .mini-star {
  width: 12px;
  height: 12px;
}
.app .sidebar-user {
  margin-top: 7px;
  padding-top: 10px;
}
.app .user-button {
  padding: 9px 10px;
  border-radius: 12px;
}
.app .user-button strong { font-size: 13px; }
.app .user-button small {
  margin-top: 3px;
  font-size: 11px;
}
.app .more { font-size: 19px; }

.app .topbar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  height: 64px;
  padding: 0 20px 0 24px;
}
.app .topbar-title {
  grid-column: 1;
  min-width: 0;
}
.app .topbar-title > div {
  display: block;
  min-width: 0;
  max-width: 100%;
}
.app .topbar-title span,
.app .topbar-title small {
  margin: 0;
  color: #fff;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
}
.app #workspace-context {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app .workspace-privacy-notice {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  box-shadow: inset 0 1px rgba(255,255,255,.055), 0 10px 30px rgba(0,0,0,.18);
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 540;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.app .workspace-privacy-notice i {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 0 4px rgba(48,209,88,.08), 0 0 11px rgba(48,209,88,.52);
}
.app .privacy-notice-short { display: none; }
.app .top-actions {
  grid-column: 3;
  justify-self: end;
}
.app .top-actions button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 12px;
}
.app .top-actions svg {
  width: 16px;
  height: 16px;
}
.app .workspace::before { inset: 64px 0 0; }
.app .library-view { height: calc(100vh - 64px); }
.app .detail-head {
  width: min(1080px, calc(100% - 72px));
  padding: 34px 0 24px;
}
.app .detail-title-wrap h1 {
  max-width: 820px;
  margin-bottom: 9px;
  font-size: 32px;
}
.app .detail-title-wrap p {
  font-size: 13px;
  line-height: 1.55;
}
.app .detail-actions button {
  min-height: 44px;
  padding: 0 16px;
  font-size: 13px;
}
.app .detail-actions .icon-button {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  color: #fff;
}
.app .detail-actions .icon-button svg {
  width: 21px;
  height: 21px;
  stroke-width: 2.25;
}
.app .detail-actions > .secondary svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.app .message-thread {
  width: min(1080px, calc(100% - 72px));
  padding: 10px 0 88px;
}
.app .message-block { padding: 28px 0; }
.app .message-role {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.app .message-role time { font-size: 12px; }
.app .message-content {
  font-size: 16px;
  line-height: 1.8;
}
.app .message-block.user .message-content {
  padding: 17px 19px;
  border-radius: 18px;
}
.app .message-role .message-copy {
  min-width: 52px;
  height: 28px;
  padding: 0 10px;
  font-size: 11px;
}
.app .empty-detail > p:not(.eyebrow) { font-size: 14px; }
.app .empty-detail .primary { font-size: 13px; }
.app .mobile-nav button { font-size: 11px; }
.app .scroll-top-button {
  width: 48px;
  height: 48px;
}

.modal-card {
  width: min(800px, 100%);
  border-radius: 26px;
}
.modal-card .modal-head { padding: 29px 30px 24px; }
.modal-card .eyebrow { font-size: 11px; }
.modal-card .modal-head h2 {
  margin: 9px 0 8px;
  font-size: 34px;
}
.modal-card .modal-head > div > p:last-child {
  font-size: 13px;
  line-height: 1.55;
}
.modal-card .modal-head .icon-button {
  width: 40px;
  min-height: 40px;
}
.modal-card .modal-head svg { width: 17px; }
.modal-card .sync-steps {
  gap: 10px;
  padding: 21px 26px 17px;
}
.modal-card .sync-steps > div {
  gap: 11px;
  min-height: 76px;
  padding: 15px;
}
.modal-card .sync-steps b {
  width: 26px;
  height: 26px;
  font-size: 11px;
}
.modal-card .sync-steps strong {
  margin: 1px 0 6px;
  font-size: 12px;
  line-height: 1.35;
}
.modal-card .sync-steps small {
  font-size: 11px;
  line-height: 1.55;
}
.modal-card .drop-zone {
  width: calc(100% - 52px);
  min-height: 232px;
  margin: 0 26px 21px;
  padding: 34px;
}
.modal-card .upload-icon {
  width: 50px;
  height: 50px;
}
.modal-card .upload-icon svg { width: 22px; }
.modal-card .drop-zone strong { font-size: 16px; }
.modal-card .drop-zone > span:not(.upload-icon) {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.55;
}
.modal-card .drop-zone em {
  margin-top: 18px;
  padding: 10px 18px;
  font-size: 12px;
}
.modal-card .sync-progress,
.modal-card .sync-result {
  margin: 0 26px 21px;
  padding: 16px;
}
.modal-card .progress-label { font-size: 12px; }
.modal-card .sync-result strong {
  margin-bottom: 6px;
  font-size: 13px;
}
.modal-card .sync-result p {
  font-size: 12px;
  line-height: 1.65;
}
.modal-card .modal-foot { padding: 17px 26px; }
.modal-card .modal-foot > span,
.modal-card .modal-foot a {
  font-size: 11px;
  line-height: 1.5;
}
.modal-card .modal-foot svg { width: 14px; }
.toast {
  padding: 14px 16px;
  font-size: 12px;
}
.delete-card { width: min(470px, 100%); }
.delete-card > p:not(.eyebrow) { font-size: 14px; }
.delete-card > strong { font-size: 15px; }
.delete-actions button { font-size: 13px; }

@media (max-width: 1100px) and (min-width: 861px) {
  .app .sidebar { width: 330px; }
  .app .workspace { margin-left: 330px; }
  .app .detail-head,
  .app .message-thread { width: calc(100% - 52px); }
}

@media (max-width: 1500px) {
  .app .privacy-notice-full { display: none; }
  .app .privacy-notice-short { display: inline; }
}

@media (max-width: 1050px) {
  .app .topbar { grid-template-columns: minmax(0, 1fr) auto; }
  .app .workspace-privacy-notice { display: none; }
  .app .top-actions { grid-column: 2; }
}

@media (max-width: 860px) {
  .app .sidebar { width: min(350px, calc(100vw - 24px)); }
  .app .workspace { margin-left: 0; }
  .app .detail-head,
  .app .message-thread { width: calc(100% - 44px); }
}

@media (max-width: 680px) {
  .app .topbar { height: 60px; }
  .app .library-view { height: calc(100vh - 124px); }
  .app .detail-pane {
    inset: 60px 0 64px;
    height: auto;
  }
  .app .mobile-nav { height: 64px; }
  .app .detail-head {
    width: calc(100% - 32px);
    padding: 22px 0 16px;
  }
  .app .detail-title-wrap h1 { font-size: 25px; }
  .app .message-thread { width: calc(100% - 32px); }
  .app .message-block { padding: 23px 0; }
  .app .message-content {
    font-size: 15.5px;
    line-height: 1.78;
  }
  .app .message-role .message-copy {
    min-width: 54px;
    height: 31px;
  }
  .app .scroll-top-button {
    right: 16px;
    bottom: 17px;
    width: 46px;
    height: 46px;
  }
  .modal-card .modal-head { padding: 24px 21px 20px; }
  .modal-card .modal-head h2 { font-size: 30px; }
  .modal-card .sync-steps { padding: 17px 18px 15px; }
  .modal-card .sync-steps > div { min-height: 0; }
  .exporter-guide {
    width: calc(100% - 36px);
    margin: 0 18px 18px;
  }
  .exporter-guide summary { padding: 12px; }
  .exporter-guide summary em { display: none; }
  .exporter-guide-body { padding: 15px; }
  .exporter-tutorial-card .exporter-guide-body { padding: 15px; }
  .exporter-guide-body > header {
    align-items: stretch;
    flex-direction: column;
  }
  .exporter-guide-body > header a { width: 100%; }
  .exporter-guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .modal-card .drop-zone {
    width: calc(100% - 36px);
    min-height: 214px;
    margin: 0 18px 18px;
    padding: 26px 18px;
  }
  .modal-card .sync-progress,
  .modal-card .sync-result { margin: 0 18px 18px; }
  .modal-card .modal-foot {
    gap: 12px;
    padding: 15px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .auth-hero-video { display: none; }
}

/* Cloudflare Worker preview integration */
body.modal-open { overflow: hidden; }
.clipboard-fallback {
  position: fixed;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.reveal-delay-06 { --reveal-delay: .06s; }
.reveal-delay-08 { --reveal-delay: .08s; }
.reveal-delay-14 { --reveal-delay: .14s; }
.reveal-delay-16 { --reveal-delay: .16s; }
.reveal-delay-22 { --reveal-delay: .22s; }
.reveal-delay-24 { --reveal-delay: .24s; }

.public-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}
.tutorial-return-link,
.workspace-tutorial-return {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.tutorial-return-link {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}
.tutorial-return-link svg,
.workspace-tutorial-return svg {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}
.tutorial-return-link:hover,
.workspace-tutorial-return:hover {
  color: #fff;
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.07);
}
.tutorial-return-link:hover { transform: translateY(-1px); }
.tutorial-return-link:focus-visible,
.workspace-tutorial-return:focus-visible {
  outline: 2px solid rgba(41,151,255,.9);
  outline-offset: 3px;
}

.turnstile-slot {
  width: 100%;
  min-height: 65px;
  overflow: hidden;
  border-radius: 12px;
}
.turnstile-slot > div,
.turnstile-slot iframe { max-width: 100%; }

.app .workspace-tutorial-return {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: rgba(255,255,255,.66);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .public-nav { gap: 18px; }
  .privacy-pill { display: none; }
}

@media (max-width: 680px) {
  .tutorial-return-link {
    min-height: 32px;
    padding: 0 10px;
  }
}
