:root {
  --ink-950: #07111f;
  --ink-900: #101c2f;
  --ink-800: #1e2c42;
  --ink-700: #35445c;
  --ink-500: #6e7c91;
  --line: #dfe6ee;
  --line-strong: #c9d3df;
  --paper: #ffffff;
  --canvas: #f3f6f9;
  --blue: #1f6feb;
  --blue-dark: #164fb2;
  --cyan: #00a8c6;
  --green: #0a8f62;
  --green-soft: #e8f7f1;
  --violet: #7357d9;
  --violet-soft: #f0edff;
  --amber: #b76612;
  --amber-soft: #fff4df;
  --red: #c03a52;
  --red-soft: #fff0f2;
  --shadow-sm: 0 1px 2px rgba(7, 17, 31, .04), 0 8px 24px rgba(7, 17, 31, .05);
  --shadow-lg: 0 30px 80px rgba(7, 17, 31, .16);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--canvas); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink-800);
  background:
    radial-gradient(circle at 88% 0%, rgba(31, 111, 235, .08), transparent 24rem),
    var(--canvas);
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button, textarea, input, select { font: inherit; }
button { cursor: pointer; }
button, textarea, input, select, summary { outline: none; }
button:focus-visible, textarea:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  box-shadow: 0 0 0 3px rgba(31, 111, 235, .22);
}
h1, h2, h3, p { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  min-height: 68px;
  padding: 0 28px;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(210, 221, 232, .9);
  backdrop-filter: blur(16px);
}

.brand-lockup, .topbar-status, .panel-heading, .result-toolbar, .constraint-head, .candidate-head, .candidate-actions, .composer-foot, .trace-head {
  display: flex;
  align-items: center;
}

.brand-lockup { gap: 12px; }
.brand-symbol {
  display: grid;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(145deg, #2b7cff, #163d93);
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(31, 111, 235, .24);
  place-items: center;
  font-weight: 900;
}
.brand-lockup > div { display: grid; }
.brand-lockup strong { color: var(--ink-950); font-size: 14px; letter-spacing: .03em; }
.brand-lockup small { margin-top: -2px; color: #8a97a8; font-size: 9px; letter-spacing: .15em; }
.topbar-status { gap: 10px; }
.status-pill {
  display: inline-flex;
  gap: 8px;
  min-height: 32px;
  padding: 5px 11px;
  align-items: center;
  color: #176146;
  background: var(--green-soft);
  border: 1px solid #c8e9dc;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.status-pill i { width: 7px; height: 7px; background: #19a875; border-radius: 50%; box-shadow: 0 0 0 4px rgba(25, 168, 117, .12); }
.status-pill.is-offline { color: var(--amber); background: var(--amber-soft); border-color: #f0d5a9; }
.status-pill.is-offline i { background: #d98722; box-shadow: 0 0 0 4px rgba(217, 135, 34, .12); }
.status-pill--quiet { color: var(--ink-500); background: #f8fafc; border-color: var(--line); font-weight: 600; }
.user-chip { display: grid; width: 32px; height: 32px; color: #2d5c9f; background: #e9f1fc; border-radius: 50%; place-items: center; font-weight: 800; }
.ghost-button { padding: 7px 10px; color: var(--ink-500); white-space: nowrap; background: transparent; border: 0; border-radius: 7px; font-size: 12px; }
.ghost-button:hover { color: var(--blue); background: #eef4fd; }

.workspace {
  display: grid;
  grid-template-columns: 250px minmax(390px, .92fr) minmax(430px, 1.08fr);
  width: min(1720px, calc(100% - 36px));
  min-height: calc(100vh - 96px);
  margin: 14px auto;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.brief-panel, .conversation-panel, .intelligence-panel { min-width: 0; }
.brief-panel {
  position: relative;
  padding: 30px 24px;
  color: rgba(255, 255, 255, .8);
  background:
    radial-gradient(circle at 12% 92%, rgba(0, 168, 198, .24), transparent 17rem),
    linear-gradient(160deg, #08182c, #0d2d52 70%, #0d3a63);
}
.brief-panel::before { position: absolute; top: 0; right: 0; width: 1px; height: 100%; content: ""; background: linear-gradient(transparent, rgba(255,255,255,.14), transparent); }
.section-kicker { color: #6b7a90; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.brief-panel .section-kicker { color: #66d7e9; }
.brief-panel h1 { margin: 8px 0 13px; color: #fff; font-size: 29px; line-height: 1.28; letter-spacing: -.03em; }
.brief-panel > p { color: #aebdd0; font-size: 12px; }
.boundary-card { margin: 26px 0; padding: 15px 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; }
.boundary-card strong { display: block; margin-bottom: 5px; color: #fff; font-size: 12px; }
.boundary-card p { margin: 0; color: #adbed2; font-size: 11px; line-height: 1.7; }
.example-block { display: grid; gap: 8px; }
.example-block > span { margin-bottom: 3px; color: #7f93aa; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.example-prompt { padding: 10px 11px; color: #c8d7e8; text-align: left; background: transparent; border: 1px solid rgba(255, 255, 255, .11); border-radius: 9px; font-size: 11px; }
.example-prompt:hover { color: #fff; background: rgba(41, 120, 229, .18); border-color: rgba(88, 167, 255, .38); transform: translateX(2px); }
.new-session-button { width: 100%; margin-top: 22px; padding: 10px; color: #d9e9fb; background: rgba(31, 111, 235, .18); border: 1px solid rgba(104, 172, 255, .35); border-radius: 9px; font-weight: 700; }
.new-session-button:hover { background: rgba(31, 111, 235, .3); }
.scope-note { display: grid; gap: 2px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 10px; }
.scope-note strong { color: #66d7e9; text-transform: uppercase; letter-spacing: .1em; }
.scope-note span { color: #8195ac; }

.conversation-panel, .intelligence-panel { display: flex; min-height: 0; flex-direction: column; }
.conversation-panel { border-right: 1px solid var(--line); }
.panel-heading { min-height: 76px; padding: 17px 22px; justify-content: space-between; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 2px 0 0; color: var(--ink-900); font-size: 16px; letter-spacing: -.01em; }
.state-badge, .ai-usage, .human-gate {
  padding: 5px 9px;
  color: var(--blue-dark);
  background: #edf4ff;
  border: 1px solid #d4e3fa;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
}
.chat-stream { flex: 1 1 auto; min-height: 310px; max-height: calc(100vh - 320px); padding: 22px; overflow-y: auto; background: linear-gradient(180deg, #fbfcfe, #fff); }
.message { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; margin-bottom: 18px; }
.message.user { grid-template-columns: minmax(0, 1fr) 28px; }
.message.user .message-avatar { grid-column: 2; background: #e8eef6; color: #55657b; }
.message.user .message-body { grid-row: 1; grid-column: 1; justify-self: end; color: #fff; background: linear-gradient(135deg, #235fb7, #1f6feb); border-color: transparent; border-radius: 13px 4px 13px 13px; }
.message-avatar { display: grid; width: 28px; height: 28px; color: #fff; background: linear-gradient(145deg, var(--violet), #4835a2); border-radius: 8px; place-items: center; font-size: 10px; font-weight: 900; }
.message-body { max-width: 92%; padding: 11px 13px; color: var(--ink-700); background: #f6f8fb; border: 1px solid #e6ebf1; border-radius: 4px 13px 13px; font-size: 12px; line-height: 1.75; }
.message-meta { display: block; margin-top: 5px; color: #9aa6b5; font-size: 9px; }
.thinking-message .message-body { color: #6d7890; background: #f8f7ff; border-color: #e8e3fb; }
.typing-dots { display: inline-flex; gap: 3px; margin-left: 6px; }
.typing-dots i { width: 4px; height: 4px; background: var(--violet); border-radius: 50%; animation: pulse 1.1s infinite ease-in-out; }
.typing-dots i:nth-child(2) { animation-delay: .16s; }
.typing-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes pulse { 0%, 70%, 100% { opacity: .25; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-3px); } }

.question-zone { padding: 13px 18px 4px; background: #fffbf4; border-top: 1px solid #f1dfbf; }
.question-zone strong { display: block; color: #7d4d11; font-size: 12px; }
.question-zone p { margin: 3px 0 9px; color: #8e7759; font-size: 10px; }
.option-row { display: flex; flex-wrap: wrap; gap: 7px; }
.option-button { padding: 7px 10px; color: #76501d; background: #fff; border: 1px solid #e6c991; border-radius: 8px; font-size: 10px; font-weight: 700; }
.option-button:hover { color: #fff; background: #b76a16; border-color: #b76a16; }
.composer { padding: 13px 18px 16px; background: #fff; border-top: 1px solid var(--line); }
.composer textarea { width: 100%; min-height: 58px; max-height: 140px; padding: 11px 12px; resize: vertical; color: var(--ink-800); background: #f8fafc; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 12px; line-height: 1.6; }
.composer textarea:focus { background: #fff; border-color: #79a9ed; box-shadow: 0 0 0 3px rgba(31, 111, 235, .1); }
.composer-foot { margin-top: 9px; justify-content: space-between; }
.composer-foot > span { color: #9aa5b4; font-size: 9px; }
.primary-button { padding: 9px 14px; color: #fff; background: linear-gradient(135deg, #246fdf, #164fae); border: 0; border-radius: 9px; box-shadow: 0 8px 18px rgba(31, 111, 235, .2); font-size: 11px; font-weight: 800; }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(31, 111, 235, .28); }
.primary-button:disabled { opacity: .55; cursor: wait; transform: none; }
.primary-button b { margin-left: 5px; }

.intelligence-panel { background: #fbfcfe; }
.compact-heading { background: #fff; }
.ai-usage { color: #6247bc; background: var(--violet-soft); border-color: #dfd8fb; }
.constraint-strip { display: flex; gap: 8px; min-height: 72px; padding: 13px 18px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.constraint-card { min-width: 135px; padding: 9px 10px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 8px; box-shadow: 0 3px 12px rgba(7, 17, 31, .03); }
.constraint-head { gap: 6px; justify-content: space-between; }
.constraint-head strong { color: var(--ink-900); font-size: 10px; }
.source-badge { color: #5b45b5; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.constraint-value { display: block; margin: 3px 0; color: var(--blue-dark); font-size: 11px; font-weight: 800; white-space: nowrap; }
.constraint-card small { display: block; max-width: 170px; overflow: hidden; color: #8c98a9; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.soft-preferences { padding: 8px 18px; color: #5944ae; background: #f7f5ff; border-bottom: 1px solid #e6e0ff; font-size: 10px; }
.soft-preferences strong { margin-right: 6px; }
.result-toolbar { min-height: 56px; padding: 11px 18px; justify-content: space-between; background: #fff; border-bottom: 1px solid var(--line); }
.result-toolbar > div { display: grid; }
.result-toolbar strong { color: var(--ink-900); font-size: 12px; }
.result-toolbar span:not(.human-gate) { color: #8d99a8; font-size: 9px; }
.human-gate { color: #0c7956; background: var(--green-soft); border-color: #cceadf; }
.result-list { flex: 1 1 auto; min-height: 340px; max-height: calc(100vh - 330px); padding: 14px 16px; overflow-y: auto; }
.candidate-card { margin-bottom: 11px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 5px 18px rgba(7, 17, 31, .04); }
.candidate-card:first-child { border-color: #aac8f3; box-shadow: 0 8px 24px rgba(31, 111, 235, .09); }
.candidate-head { justify-content: space-between; }
.candidate-title { display: flex; gap: 9px; align-items: center; }
.rank-number { display: grid; width: 28px; height: 28px; color: var(--blue-dark); background: #edf4ff; border-radius: 8px; place-items: center; font-size: 10px; font-weight: 900; }
.candidate-title div { display: grid; }
.candidate-title strong { color: var(--ink-950); font-size: 12px; }
.candidate-title small { color: #8c98a9; font-size: 9px; }
.score-ring { position: relative; display: grid; width: 42px; height: 42px; color: #6045bd; background: conic-gradient(var(--violet) var(--score), #ece9f7 0); border-radius: 50%; place-items: center; font-size: 9px; font-weight: 900; }
.score-ring::before { position: absolute; width: 32px; height: 32px; content: ""; background: #fff; border-radius: 50%; }
.score-ring span { position: relative; z-index: 1; }
.candidate-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 11px 0; }
.candidate-tags span { padding: 3px 7px; color: #526176; background: #f2f5f8; border-radius: 5px; font-size: 9px; }
.candidate-tags .hard-pass { color: #087451; background: var(--green-soft); font-weight: 800; }
.ai-summary { margin: 0 0 10px; padding: 8px 9px; color: #584e7e; background: #f7f5ff; border-left: 3px solid var(--violet); border-radius: 5px; font-size: 10px; }
.evidence-details { margin-top: 7px; border-top: 1px solid #edf0f4; }
.evidence-details summary { padding: 8px 0 2px; color: #5f6d7e; cursor: pointer; font-size: 9px; font-weight: 800; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 7px; }
.evidence-item { padding: 7px 8px; background: #f8fafc; border: 1px solid #edf1f5; border-radius: 6px; }
.evidence-item strong { display: block; color: #6c7889; font-size: 8px; }
.evidence-item span { display: block; overflow: hidden; color: var(--ink-800); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.candidate-actions { gap: 7px; margin-top: 11px; }
.candidate-actions button { padding: 6px 9px; background: #fff; border: 1px solid var(--line-strong); border-radius: 7px; font-size: 9px; font-weight: 800; }
.candidate-actions .select-button { color: #fff; background: var(--blue); border-color: var(--blue); }
.candidate-actions .alternative-button { color: #38506f; }
.candidate-actions .feedback-button { margin-left: auto; color: #7357d9; border-color: #dcd4fb; }
.candidate-card.is-confirmed { border-color: #8dd4bd; background: #fbfffd; }

.empty-state { display: grid; color: #8a97a8; place-items: center; text-align: center; }
.empty-state.small { min-width: 100%; align-content: center; }
.empty-state strong { color: #617086; font-size: 11px; }
.empty-state span { max-width: 300px; font-size: 9px; }
.result-empty { min-height: 280px; }
.empty-orbit { position: relative; display: grid; width: 52px; height: 52px; margin-bottom: 12px; border: 1px solid #cbd8e7; border-radius: 50%; place-items: center; }
.empty-orbit::before, .empty-orbit::after { position: absolute; width: 68px; height: 22px; content: ""; border: 1px solid #d8e1ec; border-radius: 50%; transform: rotate(32deg); }
.empty-orbit::after { transform: rotate(-32deg); }
.empty-orbit i { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 5px rgba(31, 111, 235, .12); }

.trace-drawer { background: #fff; border-top: 1px solid var(--line); }
.trace-drawer summary { display: flex; min-height: 48px; padding: 12px 18px; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; }
.trace-drawer summary::-webkit-details-marker { display: none; }
.trace-drawer summary span { color: var(--ink-900); font-size: 11px; font-weight: 800; }
.trace-drawer summary small { max-width: 180px; overflow: hidden; color: #8b98a8; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.trace-list { max-height: 230px; padding: 0 18px 15px; overflow-y: auto; }
.trace-step { position: relative; display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; gap: 8px; padding: 7px 0; }
.trace-step:not(:last-child)::after { position: absolute; top: 19px; bottom: -7px; left: 4px; width: 1px; content: ""; background: #dce3eb; }
.trace-dot { position: relative; z-index: 1; width: 9px; height: 9px; margin-top: 4px; background: #7f91a5; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #cbd5e1; }
.trace-step.validated .trace-dot, .trace-step.deepseek .trace-dot, .trace-step.ok .trace-dot { background: var(--green); }
.trace-step.fallback .trace-dot, .trace-step.needs-confirmation .trace-dot { background: #d78a27; }
.trace-copy strong { display: block; color: var(--ink-800); font-size: 9px; }
.trace-copy span { color: #7f8b9b; font-size: 8px; }
.trace-step time { color: #99a4b2; font-size: 8px; }

.feedback-dialog { width: min(460px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 16px; box-shadow: var(--shadow-lg); }
.feedback-dialog::backdrop { background: rgba(6, 15, 28, .56); backdrop-filter: blur(4px); }
.feedback-dialog form { position: relative; display: grid; gap: 8px; padding: 26px; }
.feedback-dialog h2 { margin: 0; color: var(--ink-950); font-size: 20px; }
.feedback-dialog p:not(.section-kicker) { color: var(--ink-500); font-size: 11px; }
.feedback-dialog label { margin-top: 6px; color: var(--ink-700); font-size: 10px; font-weight: 800; }
.feedback-dialog textarea, .feedback-dialog select { width: 100%; padding: 9px 10px; color: var(--ink-800); background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; }
.dialog-close { position: absolute; top: 14px; right: 15px; width: 30px; height: 30px; color: #778598; background: #f2f5f8; border: 0; border-radius: 50%; font-size: 18px; }
.toast-stack { position: fixed; z-index: 100; right: 22px; bottom: 22px; display: grid; gap: 8px; }
.toast { max-width: 360px; padding: 11px 14px; color: #fff; background: #17273c; border-radius: 9px; box-shadow: var(--shadow-lg); font-size: 10px; animation: toast-in .22s ease-out; }
.toast.error { background: #9f2940; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

.auth-body { background: #071423; }
.auth-shell { display: grid; grid-template-columns: minmax(400px, 1.15fr) minmax(360px, .85fr); min-height: 100vh; }
.auth-story { position: relative; display: flex; padding: 48px clamp(42px, 7vw, 110px); overflow: hidden; flex-direction: column; color: #fff; background:
  linear-gradient(115deg, rgba(7, 20, 35, .68), rgba(7, 20, 35, .96)),
  radial-gradient(circle at 30% 42%, #1866a6, transparent 35rem),
  #071423;
}
.auth-story::after { position: absolute; right: -190px; bottom: -210px; width: 660px; height: 660px; content: ""; border: 1px solid rgba(104, 209, 225, .2); border-radius: 50%; box-shadow: 0 0 0 70px rgba(71, 149, 204, .035), 0 0 0 150px rgba(71, 149, 204, .025); }
.brand-lockup--light strong { color: #fff; }
.brand-lockup--light small { color: #79bcd0; }
.auth-copy { position: relative; z-index: 1; margin: auto 0 34px; }
.eyebrow { margin: 0; color: #55c6da; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.eyebrow--blue { color: var(--blue); }
.auth-copy h1 { margin: 16px 0 20px; font-size: clamp(42px, 5vw, 68px); line-height: 1.14; letter-spacing: -.055em; }
.auth-copy > p:last-child { max-width: 600px; color: #aebed0; font-size: 14px; }
.auth-pipeline { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.auth-pipeline li { padding: 14px 16px; color: #c7d6e5; background: rgba(7,20,35,.74); font-size: 11px; }
.auth-pipeline span { display: block; color: #5ed1e4; font-size: 9px; font-weight: 900; }
.auth-footnote { position: relative; z-index: 1; margin: 22px 0 0; color: #667f97; font-size: 9px; }
.auth-panel { display: grid; padding: 34px; background: #f4f7fa; place-items: center; }
.login-card { display: grid; width: min(390px, 100%); padding: 40px; background: #fff; border: 1px solid #e0e6ed; border-radius: 18px; box-shadow: var(--shadow-lg); }
.mobile-brand { display: none; }
.login-card h2 { margin: 7px 0 8px; color: var(--ink-950); font-size: 25px; letter-spacing: -.03em; }
.login-intro { margin-bottom: 23px; color: var(--ink-500); font-size: 11px; }
.login-card label { margin: 9px 0 5px; color: var(--ink-700); font-size: 10px; font-weight: 800; }
.login-card input { width: 100%; height: 42px; padding: 0 11px; color: var(--ink-800); background: #f8fafc; border: 1px solid var(--line-strong); border-radius: 8px; }
.login-card input:focus { background: #fff; border-color: #76a7ed; box-shadow: 0 0 0 3px rgba(31,111,235,.1); }
.login-button { margin-top: 20px; padding: 12px; }
.form-error { padding: 9px 10px; color: var(--red); background: var(--red-soft); border: 1px solid #f2ccd3; border-radius: 7px; font-size: 10px; }
.trust-note { display: flex; gap: 7px; margin-top: 16px; align-items: center; justify-content: center; color: #8d99a8; font-size: 8px; }
.trust-note span { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }

@media (max-width: 1180px) {
  .workspace { grid-template-columns: 220px minmax(360px, 1fr); }
  .intelligence-panel { grid-column: 1 / -1; min-height: 680px; border-top: 1px solid var(--line); }
  .result-list { max-height: none; }
}

@media (max-width: 760px) {
  .topbar { gap: 8px; padding: 0 14px; }
  .topbar .brand-lockup { min-width: 0; }
  .topbar .brand-lockup strong { font-size: 12px; line-height: 1.4; }
  .topbar-status { gap: 4px; flex-shrink: 0; }
  .topbar .status-pill { max-width: 148px; padding: 4px 8px; font-size: 9px; }
  .topbar .ghost-button { padding: 6px 3px; font-size: 10px; }
  .topbar .brand-lockup small, .status-pill--quiet, .user-chip { display: none; }
  .workspace { display: block; width: 100%; margin: 0; border: 0; border-radius: 0; }
  .brief-panel { padding: 22px 18px; }
  .brief-panel h1 { font-size: 25px; }
  .boundary-card, .scope-note { display: none; }
  .example-block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .example-block > span { grid-column: 1 / -1; }
  .conversation-panel { min-height: 720px; border-right: 0; }
  .chat-stream { max-height: none; }
  .intelligence-panel { min-height: 720px; }
  .auth-shell { display: block; min-height: 100vh; background: #f4f7fa; }
  .auth-story { display: none; }
  .auth-panel { min-height: 100vh; padding: 20px; }
  .login-card { padding: 30px 24px; }
  .mobile-brand { display: flex; gap: 10px; margin-bottom: 28px; align-items: center; color: var(--ink-950); }
}
