:root {
  color-scheme: light;
  --ink: #17243a;
  --muted: #728096;
  --subtle: #9aa5b5;
  --line: #e7ebf0;
  --paper: #f5f7fa;
  --white: #fff;
  --navy: #101a2c;
  --navy-soft: #192842;
  --blue: #2e6ceb;
  --blue-deep: #2259cd;
  --mint: #6ee0c7;
  --amber: #e4a943;
  --shadow: 0 18px 50px rgba(24, 41, 67, .065);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--paper); color: var(--ink); }
button, input, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.page-shell { width: min(1160px, calc(100% - 64px)); margin: auto; }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(26, 43, 67, .08); }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; color: var(--ink); font-size: 13px; font-weight: 850; letter-spacing: .11em; }
.brand b { font-weight: 550; letter-spacing: .035em; margin-left: 2px; }
.brand-mark { width: 25px; height: 25px; border-radius: 8px; background: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 2px; }
.brand-mark i { width: 3px; border-radius: 5px; display: block; background: var(--mint); }
.brand-mark i:nth-child(1) { height: 7px; opacity: .7; }.brand-mark i:nth-child(2) { height: 12px; }.brand-mark i:nth-child(3) { height: 9px; opacity: .85; }
.top-actions { display: flex; gap: 12px; align-items: center; }
.secure-pill { color: #4a6574; background: #e9f4f1; display: inline-flex; align-items: center; gap: 7px; border-radius: 100px; padding: 7px 11px; font-size: 11px; font-weight: 650; letter-spacing: .01em; }
.secure-dot { width: 6px; height: 6px; border-radius: 50%; background: #36ab8b; box-shadow: 0 0 0 3px rgba(54,171,139,.12); }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; display: inline-grid; place-items: center; background: white; color: #627085; cursor: pointer; }
.icon-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hidden { display: none !important; }
.intro { position: relative; min-height: 194px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; }
.intro-copy { position: relative; z-index: 1; padding: 26px 0 24px; }
.eyebrow, .panel-kicker { display: flex; align-items: center; gap: 9px; color: #748299; font-size: 10px; font-weight: 760; letter-spacing: .17em; }
.eyebrow-square { height: 8px; width: 8px; background: var(--blue); transform: rotate(45deg); }
h1, h2, p { margin-top: 0; }
.intro h1 { margin: 14px 0 7px; font-size: clamp(30px, 4vw, 42px); line-height: 1.17; letter-spacing: -.055em; font-weight: 780; color: #16243a; }
.intro p { color: #758197; font-size: 13px; margin: 0; letter-spacing: .01em; }
.mobile-break { display: none; }
.intro-stamp { position: absolute; right: 54px; top: 36px; width: 118px; height: 118px; border: 1px solid #e4eaf0; border-radius: 50%; display: grid; place-items: center; color: #d4dce6; font-size: 70px; line-height: 1; font-weight: 800; letter-spacing: -.1em; transform: rotate(-10deg); }
.intro-stamp:before { content: ''; position: absolute; inset: 9px; border: 1px dashed #dfe6ed; border-radius: 50%; }
.intro-stamp span { transform: translateX(-3px); }.intro-stamp i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }.intro-stamp i:nth-child(2) { top: 21px; right: 12px; }.intro-stamp i:nth-child(3) { bottom: 19px; left: 10px; width: 4px; height: 4px; background: #79a1f5; }
.work-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); gap: 20px; align-items: start; }
.panel { background: var(--white); border: 1px solid #e9edf2; border-radius: 17px; box-shadow: var(--shadow); }
.composer { padding: 27px 29px 20px; }
.result-panel { min-height: 530px; padding: 27px 27px 24px; position: sticky; top: 18px; overflow: hidden; }
.section-heading { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 23px; }
.step-number { width: 26px; height: 26px; border-radius: 8px; flex: 0 0 26px; display: grid; place-items: center; color: #4f73af; background: #eef3fb; font-size: 10px; font-weight: 800; letter-spacing: .03em; }
.section-heading h2 { font-size: 16px; letter-spacing: -.025em; margin: 1px 0 5px; font-weight: 750; }
.section-heading p { color: var(--muted); margin: 0; font-size: 11px; line-height: 1.55; }
.field-label { display: block; color: #34435b; font-size: 12px; font-weight: 700; margin: 0 0 9px; }
.textarea-wrap { border: 1px solid #dfe5ed; background: #fcfdfe; border-radius: 11px; transition: border .18s, box-shadow .18s; }
.textarea-wrap:focus-within { border-color: #82a6f3; box-shadow: 0 0 0 3px rgba(46,108,235,.09); }
textarea { display: block; width: 100%; min-height: 164px; border: 0; outline: none; resize: vertical; color: #25344b; background: transparent; padding: 15px 15px 8px; font-size: 13px; line-height: 1.72; }
textarea::placeholder { color: #aab4c2; opacity: 1; }
.textarea-meta { display: flex; align-items: center; justify-content: space-between; padding: 0 14px 10px; color: #9da7b5; font-size: 10px; }
.input-hint { color: #a0abba; }
.type-label-row { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 9px; }
.type-label-row .field-label { margin: 0; }
.required-note { font-size: 10px; color: #98a3b2; }
.type-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.type-card { min-height: 70px; background: #fff; border: 1px solid #e4e9ef; border-radius: 11px; padding: 11px 10px; display: flex; gap: 8px; align-items: center; text-align: left; position: relative; cursor: pointer; transition: .16s ease; color: inherit; }
.type-card:hover { border-color: #bcccee; background: #fbfcff; }
.type-card.selected { background: #f4f7fe; border-color: #86a6e9; box-shadow: inset 0 0 0 1px rgba(75,119,207,.15); }
.type-icon { height: 29px; width: 29px; border-radius: 8px; background: #edf2fc; flex: 0 0 29px; display: flex; align-items: center; justify-content: center; }
.choice-icon { gap: 2px; align-items: flex-end; padding: 7px; }.choice-icon i { width: 4px; height: 8px; background: #4773c8; border-radius: 2px; }.choice-icon i:nth-child(2) { height: 14px; }.choice-icon i:nth-child(3) { height: 11px; }
.score-icon { gap: 2px; align-items: center; padding: 6px; }.score-icon i { width: 3px; height: 6px; border-radius: 3px; background: #5380d5; }.score-icon i:nth-child(2) { height: 10px; }.score-icon i:nth-child(3) { height: 14px; }.score-icon i:nth-child(4) { height: 18px; }
.noul-icon { color: #4270c6; font-size: 17px; font-weight: 800; font-family: Georgia,serif; }
.type-card-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.type-card-body b { color: #27364d; font-size: 12px; font-weight: 750; }
.type-card-body small { color: #8490a2; font-size: 9px; line-height: 1.35; white-space: nowrap; }
.radio-mark { width: 11px; height: 11px; border: 1px solid #d0d8e2; border-radius: 50%; position: absolute; top: 8px; right: 8px; }
.selected .radio-mark { border: 3px solid #4a76d2; background: white; }
.primary-button { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border: 0; width: 100%; border-radius: 10px; color: #fff; background: var(--blue); font-size: 13px; font-weight: 740; padding: 0 15px 0 17px; cursor: pointer; transition: background .15s, transform .15s, opacity .15s; }
.primary-button:hover { background: var(--blue-deep); transform: translateY(-1px); }.primary-button:active { transform: translateY(0); }.primary-button:disabled { opacity: .56; cursor: wait; transform: none; }
.judge-button { margin-top: 18px; }
.button-arrow { width: 25px; height: 25px; display: grid; place-items: center; background: rgba(255,255,255,.16); border-radius: 7px; font-size: 15px; line-height: 1; }
.model-flow { display: flex; align-items: center; gap: 7px; margin: 14px 0 0; color: #909bab; font-size: 9px; }
.flow-node { border-radius: 5px; padding: 3px 5px; font-size: 8px; font-weight: 800; letter-spacing: .04em; }.glm-node { color: #526991; background: #eef2f8; }.jev-node { color: #267c6d; background: #eaf7f3; }.flow-link { width: 17px; height: 1px; background: #c9d2dd; position: relative; }.flow-link:after { content: ''; position: absolute; right: 0; top: -2px; border: 2px solid transparent; border-right: 0; border-left-color: #9ba9b8; }
.disclosure { color: #9aa4b2; font-size: 9px; line-height: 1.6; margin: 9px 0 0; }
.form-error { min-height: 0; color: #b54343; font-size: 11px; line-height: 1.5; margin: 10px 0 0; }.form-error:empty { display: none; }
.judge-error { padding-left: 2px; }
.result-heading-row { align-items: flex-start; margin-bottom: 26px; }.result-state { display: inline-flex; align-items: center; gap: 5px; margin: 3px 0 0 auto; color: #98a3b2; font-size: 9px; white-space: nowrap; }.result-state i { width: 6px; height: 6px; border-radius: 50%; background: #bac3cf; }.result-state.ready { color: #37836f; }.result-state.ready i { background: #53bd9c; box-shadow: 0 0 0 3px rgba(83,189,156,.13); }.result-state.busy { color: #537bd0; }.result-state.busy i { background: #5880d7; animation: pulse 1s infinite; }
.result-empty { min-height: 395px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12px 20px 37px; }
.empty-mark { width: 65px; height: 65px; border: 1px solid #e6ebf2; border-radius: 20px; transform: rotate(-6deg); display: flex; align-items: center; justify-content: center; gap: 4px; margin-bottom: 20px; background: linear-gradient(145deg,#fff,#f8faff); box-shadow: 0 9px 18px rgba(28,52,86,.04); }
.empty-mark span { width: 5px; border-radius: 6px; background: #aebfe0; }.empty-mark span:nth-child(1) { height: 15px; }.empty-mark span:nth-child(2) { height: 27px; background: #5f88dd; }.empty-mark span:nth-child(3) { height: 20px; background: #8da6d8; }.empty-mark span:nth-child(4) { height: 11px; background: #c1cedf; }
.result-empty b { font-size: 12px; color: #58677d; font-weight: 720; }.result-empty p { color: #99a4b3; font-size: 10px; line-height: 1.65; max-width: 220px; margin: 8px 0 0; }
.result-loading { min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-bottom: 24px; }
.loading-orbit { width: 58px; height: 58px; position: relative; border: 1px solid #dce5f5; border-radius: 50%; margin-bottom: 22px; animation: spin 5s linear infinite; }.loading-orbit:before,.loading-orbit:after { content: ''; position: absolute; border-radius: 50%; }.loading-orbit:before { inset: 8px; border: 1px dashed #a9bee8; }.loading-orbit:after { width: 8px; height: 8px; top: -3px; left: 24px; background: var(--blue); box-shadow: 0 0 0 4px #eaf0fd; }.loading-orbit span:first-child { width: 5px; height: 5px; position: absolute; bottom: 4px; right: 8px; background: var(--mint); border-radius: 50%; }.loading-orbit span:last-child { width: 5px; height: 5px; position: absolute; left: 1px; top: 23px; background: #94addb; border-radius: 50%; }
.result-loading>b { font-size: 13px; color: #3a4a64; }.result-loading>p { color: #929eaf; font-size: 10px; margin: 7px 0 0; }
.loading-steps { display: flex; align-items: center; margin-top: 25px; gap: 10px; color: #a4adba; font-size: 10px; }.loading-steps span:not(.loading-connector) { display: inline-flex; align-items: center; gap: 5px; }.loading-steps i { width: 6px; height: 6px; background: #d1d8e3; border-radius: 50%; }.loading-steps .active { color: #4773cd; }.loading-steps .active i { background: #5581da; box-shadow: 0 0 0 3px #eaf0fd; }.loading-steps .done { color: #398573; }.loading-steps .done i { background: #5bb99e; }.loading-connector { width: 27px; height: 1px; background: #dce2e9; }
.result-loading .loading-note { margin-top: 27px; font-size: 9px; color: #aab3bf; }
.result-content { animation: appear .26s ease both; }
.question-box { padding: 15px 15px 14px; background: #f5f7fb; border: 1px solid #e9eef5; border-radius: 11px; }.question-top { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }.question-tag { background: #e7eefb; color: #5373af; font-size: 8px; letter-spacing: .08em; font-weight: 800; text-transform: uppercase; border-radius: 4px; padding: 4px 5px; }.question-top small { color: #9aa5b4; font-size: 9px; }.question-text { margin: 0; color: #3d4c63; font-size: 12px; line-height: 1.65; font-weight: 640; }
.answer-block { margin-top: 21px; }.answer-caption { margin: 0 0 8px; color: #8e9aaa; font-size: 9px; font-weight: 700; letter-spacing: .07em; }.answer-hero { display: flex; align-items: flex-end; justify-content: space-between; padding: 14px 15px; background: var(--navy); border-radius: 11px; color: white; position: relative; overflow: hidden; }.answer-hero:after { content: ''; position: absolute; width: 120px; height: 120px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; right: -54px; top: -60px; box-shadow: 0 0 0 14px rgba(255,255,255,.025),0 0 0 30px rgba(255,255,255,.018); }.answer-hero-main { position: relative; z-index: 1; min-width: 0; }.answer-hero-label { color: #91a0b9; font-size: 9px; margin-bottom: 4px; }.answer-hero-value { color: #f3f7ff; font-size: 18px; line-height: 1.32; font-weight: 720; letter-spacing: -.03em; overflow-wrap: anywhere; }.answer-hero-percent { color: var(--mint); font-size: 24px; line-height: 1; letter-spacing: -.05em; font-weight: 760; white-space: nowrap; position: relative; z-index: 1; margin-left: 10px; }.answer-hero-score { color: #f1f5ff; font-size: 21px; font-weight: 760; letter-spacing: -.04em; }.answer-hero-score small { font-weight: 500; font-size: 11px; color: #a9b7ca; letter-spacing: 0; }
.probability-list { margin-top: 14px; display: grid; gap: 12px; }.probability-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 12px; }.probability-label { color: #536178; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }.probability-number { color: #54647c; font-size: 10px; font-weight: 720; font-variant-numeric: tabular-nums; }.bar-track { height: 5px; grid-column: 1 / -1; border-radius: 10px; background: #edf0f4; overflow: hidden; }.bar-fill { height: 100%; border-radius: inherit; background: #a7b8d8; transition: width .4s ease; }.probability-row.winner .probability-label { color: #283c5e; font-weight: 700; }.probability-row.winner .bar-fill { background: #4d79d2; }.probability-row.winner .probability-number { color: #315fae; }
.confidence-row { display: flex; justify-content: space-between; color: #8995a6; font-size: 9px; border-top: 1px solid #edf0f4; margin-top: 16px; padding-top: 12px; }.confidence-row b { color: #62738f; font-weight: 700; }.answer-context { font-size: 10px; color: #909cad; line-height: 1.6; margin: 15px 1px 0; }.answer-context strong { color: #67778f; }
.partial-warning { background: #fff8eb; border: 1px solid #f3e2bd; padding: 11px 12px; border-radius: 9px; color: #94723a; font-size: 10px; line-height: 1.55; margin-top: 13px; }
.page-footer { padding: 18px 2px 30px; display: flex; justify-content: space-between; gap: 20px; color: #9aa4b2; font-size: 9px; }.page-footer i { font-style: normal; padding: 0 3px; color: #c0c8d2; }
.login-panel { width: min(440px, 100%); margin: 85px auto 50px; padding: 34px 36px 27px; }.panel-kicker { letter-spacing: .09em; }.kicker-line { height: 1px; width: 17px; background: #7396dc; }.login-panel h1 { margin: 23px 0 7px; color: #192841; font-size: 29px; letter-spacing: -.05em; }.login-copy { color: #7d899b; font-size: 12px; margin-bottom: 25px; }.login-panel form { display: flex; flex-direction: column; }.auth-input { min-height: 46px; border: 1px solid #dfe5ed; border-radius: 9px; background: #fcfdff; padding: 0 12px; outline: none; color: var(--ink); font-size: 13px; margin: 0 0 16px; }.auth-input:focus { border-color: #82a6f3; box-shadow: 0 0 0 3px rgba(46,108,235,.09); }.auth-input::placeholder { color: #aab4c2; }.auth-submit { margin-top: 4px; }.login-foot { border-top: 1px solid #edf0f4; margin: 24px 0 0; padding-top: 16px; color: #96a1af; font-size: 10px; display: flex; align-items: center; gap: 7px; }.lock-icon { color: #5b9c89; font-size: 15px; }
.toast { position: fixed; z-index: 9; bottom: max(22px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); background: #1b2a41; color: white; padding: 10px 15px; border-radius: 9px; box-shadow: 0 8px 26px rgba(16,30,52,.2); font-size: 11px; max-width: calc(100vw - 32px); }
@keyframes spin { to { transform: rotate(350deg); } } @keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(88,128,215,.08); } } @keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1000px) { .composer { min-height: 530px; } }
@media (max-width: 760px) {
  body { background: #f4f6f9; }
  .page-shell { width: min(100% - 32px, 560px); }
  .topbar { height: 62px; }
  .intro { min-height: 158px; }
  .intro-copy { padding: 20px 0 18px; }
  .intro h1 { font-size: 31px; line-height: 1.21; margin-top: 11px; }.mobile-break { display: initial; }
  .intro p { max-width: 315px; font-size: 11px; line-height: 1.55; }
  .intro-stamp { right: 4px; top: 29px; width: 84px; height: 84px; font-size: 51px; opacity: .7; }.intro-stamp:before { inset: 7px; }
  .work-grid { display: flex; flex-direction: column; gap: 13px; }
  .composer, .result-panel { width: 100%; border-radius: 14px; }
  .composer { padding: 21px 17px 17px; }
  .result-panel { position: static; min-height: 390px; padding: 21px 17px 19px; }
  .section-heading { gap: 10px; margin-bottom: 18px; }.section-heading h2 { font-size: 15px; }.section-heading p { font-size: 10px; }
  textarea { min-height: 145px; font-size: 13px; padding: 12px 12px 7px; }.textarea-meta { padding: 0 11px 9px; }
  .type-label-row { margin-top: 17px; }
  .type-options { gap: 6px; }.type-card { min-height: 67px; padding: 9px 7px; gap: 6px; border-radius: 10px; }.type-icon { width: 25px; height: 25px; flex-basis: 25px; }.type-card-body { gap: 3px; }.type-card-body b { font-size: 11px; }.type-card-body small { white-space: normal; font-size: 8px; }.radio-mark { top: 6px; right: 6px; width: 9px; height: 9px; }.selected .radio-mark { border-width: 2.5px; }
  .judge-button { min-height: 47px; margin-top: 15px; }
  .result-empty, .result-loading { min-height: 290px; }
  .result-empty { padding-bottom: 24px; }.result-heading-row { margin-bottom: 20px; }
  .page-footer { flex-direction: column; gap: 5px; padding: 15px 3px 24px; font-size: 8px; }
  .login-panel { margin: 55px auto 30px; padding: 28px 24px 23px; }
}
@media (max-width: 375px) {
  .page-shell { width: calc(100% - 24px); }
  .type-options { gap: 5px; }.type-card { gap: 5px; padding-left: 6px; }.type-card-body small { font-size: 7.7px; }
  .intro-stamp { right: -7px; opacity: .45; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
