:root{color-scheme:light;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif;background:#eef2f6;color:#18212f;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,#f8fafc,#eef2f6 44%,#e9edf2)}.login-page,.auth-loading-page{display:grid;place-items:center;min-height:100vh;padding:22px 14px}.login-card,.auth-loading-card{width:min(100%,420px);border:1px solid #dde4ee;border-radius:8px;background:#fffffff5;box-shadow:0 18px 44px #16202e1f}.login-card{display:grid;gap:16px;padding:22px}.auth-loading-card{padding:22px;text-align:center;color:#475467}.login-brand{display:grid;gap:7px;margin-bottom:4px;text-align:center}.login-brand h1{margin:0;font-size:24px;letter-spacing:0}.login-brand p{margin:0;color:#667085}.login-field{display:grid;gap:7px;color:#475467;font-size:13px;font-weight:700}.login-input-shell{display:grid;grid-template-columns:22px 1fr;align-items:center;gap:8px;min-height:48px;border:1px solid #cfd8e3;border-radius:8px;padding:0 12px;color:#64748b;background:#fff}.login-input-shell input{min-height:46px;border:0;padding:0;outline:0}.login-options{display:grid;gap:9px}.login-options label{display:flex;align-items:center;gap:8px;color:#475467;font-size:14px}.login-options input{width:17px;min-height:17px}.login-error{margin:0;border:1px solid #fecaca;border-radius:8px;padding:10px 12px;color:#991b1b;background:#fef2f2;line-height:1.5}.login-submit{min-height:48px;border:0;border-radius:8px;color:#fff;background:#0f766e;font-weight:800}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.shell{min-height:100vh}.screen{width:min(100%,520px);margin:0 auto;padding:18px 14px 96px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.topbar h1,.hero-card h2,.card h3{margin:0;letter-spacing:0}.topbar h1{font-size:26px;line-height:1.15}.eyebrow{margin:0 0 4px;color:#697386;font-size:13px}.hero-card,.card,.metric,.question-card{border:1px solid #dde4ee;border-radius:8px;background:#fffffff0;box-shadow:0 10px 24px #16202e0f}.hero-card{display:grid;gap:18px;padding:18px;margin-bottom:12px;background:linear-gradient(135deg,#fffffff5,#eff6ffeb),#fff}.hero-card h2{font-size:28px}.hero-card p,.card p{color:#4b5565;line-height:1.62}.card{padding:15px;margin:12px 0}.card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.card-head.compact{align-items:flex-start;margin-bottom:8px}.card h3{font-size:18px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.metric{padding:13px;min-height:108px}.metric span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:8px;color:#0f766e;background:#dff6f1}.metric strong{display:block;margin-top:8px;font-size:24px}.metric p{margin:2px 0 0;color:#667085;font-size:13px}.bottom-nav{position:fixed;left:50%;bottom:0;z-index:20;display:grid;grid-template-columns:repeat(5,1fr);width:min(100%,520px);transform:translate(-50%);padding:8px 8px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #d8e0ea;background:#fffffff5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.bottom-nav button{display:grid;justify-items:center;gap:3px;border:0;border-radius:8px;padding:7px 2px;color:#6b7280;background:transparent;font-size:12px}.bottom-nav button.active{color:#075985;background:#e0f2fe}.primary-btn,.secondary-btn,.small-btn,.text-btn,.icon-btn,.quick-actions button,.menu-list button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;min-height:42px;padding:10px 13px;font-weight:700}.primary-btn{color:#fff;background:#0f766e}.secondary-btn{color:#164e63;background:#dff6f1}.small-btn{min-height:34px;padding:7px 10px;color:#fff;background:#334155}.text-btn{min-height:34px;padding:7px 8px;color:#075985;background:transparent}.icon-btn{width:40px;min-height:40px;padding:0;color:#334155;background:#fff;border:1px solid #d8e0ea}.icon-btn.primary{color:#fff;border-color:#0f766e;background:#0f766e}.wide{width:100%}.button-row,.icon-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.stack{display:grid;gap:10px}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}.quick-actions button{min-height:72px;flex-direction:column;color:#1f2937;background:#fff;border:1px solid #dde4ee}.point-item,.material-row,.plain-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e4e9f1;border-radius:8px;background:#fbfdff}.point-item{justify-content:flex-start}.point-item p,.material-row p,.plain-row span{margin:4px 0 0;color:#667085;font-size:13px}.band{display:inline-grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:8px;color:#fff;font-weight:800}.band-S{background:#b42318}.band-A{background:#b54708}.band-B{background:#0369a1}.band-C{background:#475467}.field{display:grid;gap:7px;margin:11px 0}.field label{color:#475467;font-size:13px;font-weight:700}.ai-settings-card{display:grid;gap:4px}.input-with-button{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.compact-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:1px solid #cfd8e3;border-radius:8px;padding:9px 11px;color:#334155;background:#fff;font-weight:700;white-space:nowrap}input,select{width:100%;min-height:44px;border:1px solid #cfd8e3;border-radius:8px;padding:10px 12px;color:#111827;background:#fff}.file-picker{display:flex;align-items:center;gap:10px;width:100%;min-height:54px;margin:12px 0;padding:13px;border:1px dashed #8aa4bc;border-radius:8px;color:#334155;background:#f8fafc}.file-picker input{display:none}.status-chip{flex:0 0 auto;max-width:46%;border:1px solid #d8e0ea;border-radius:8px;padding:5px 8px;color:#475467;background:#f8fafc;font-size:12px;font-weight:800;line-height:1.35;text-align:right}.status-chip.ok{border-color:#a7f3d0;color:#047857;background:#ecfdf5}.status-chip.wait{border-color:#fed7aa;color:#9a3412;background:#fff7ed}.status-chip.bad{border-color:#fecaca;color:#991b1b;background:#fef2f2}.upload-hint,.panel-hint{margin:0 0 10px;color:#667085;font-size:13px;line-height:1.5}.upload-hint{white-space:pre-line}.stream-box,.mini-json,.note-box{width:100%;margin:0;overflow-x:auto;white-space:pre-wrap;word-break:break-word;border-radius:8px;border:1px solid #dbe3ee;background:#0b1220;color:#e5edf7;padding:13px;line-height:1.65;font-size:13px}.stream-box{min-height:170px;max-height:520px;overflow-y:auto}.mini-json{max-height:320px;overflow-y:auto}.mini-json.large{max-height:620px}.note-box{margin-top:12px;background:#f8fafc;color:#334155}.notice{margin:10px 0;padding:11px 12px;border-radius:8px;border:1px solid #bae6fd;color:#075985;background:#eff6ff;line-height:1.5}.notice.warn{border-color:#fed7aa;color:#9a3412;background:#fff7ed}.empty{margin:0;color:#667085;line-height:1.55}.segmented,.count-row{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.segmented button,.count-row button{border:1px solid #d8e0ea;border-radius:8px;padding:9px 11px;color:#334155;background:#fff}.segmented button.active,.count-row button.active{color:#fff;border-color:#0f766e;background:#0f766e}.count-row input{max-width:92px}.question-card{padding:14px}.question-title{margin:0 0 12px;color:#1f2937;font-weight:700;line-height:1.62}.option-list{display:grid;gap:8px;margin-bottom:10px}.option-list button{display:grid;grid-template-columns:28px 1fr;align-items:start;gap:8px;width:100%;border:1px solid #d8e0ea;border-radius:8px;padding:10px;text-align:left;color:#1f2937;background:#fff}.option-list button.active{border-color:#0f766e;background:#ecfdf5}.wrong-row{display:grid;gap:5px;width:100%;border:1px solid #e4e9f1;border-radius:8px;padding:12px;text-align:left;color:#1f2937;background:#fff}.wrong-row.active{border-color:#b54708;background:#fffbeb}.wrong-row span{color:#667085;font-size:13px}.menu-list{display:grid;gap:9px}.menu-list button{display:grid;grid-template-columns:28px 1fr 22px;width:100%;justify-content:start;text-align:left;color:#18212f;background:#f8fafc;border:1px solid #e2e8f0}.muted{color:#667085}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:560px){.screen{padding-top:24px}}
