/* 明亮立体科技设计体系。仅向本轮三张样板引入；不改变考试状态或时钟。 */
:root {
  --surface-raised: #fff;
  --surface-soft: #f5f9ff;
  --ink-strong: #12233e;
  --ink-secondary: #526780;
  --accent-blue: #2563eb;
  --accent-cyan: #06b6d4;
  --border-soft: #dfe9f4;
  --depth-card: 0 2px 3px #173e6810, 0 12px 28px -16px #17457925, 0 28px 52px -34px #17457945;
  --depth-button: 0 3px 0 #1062b2, 0 7px 15px -7px #2563eb60;
  --space-1: 4px; --space-2: 8px; --space-3: 12px;
  --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --motion-fast: 160ms; --motion-ease: cubic-bezier(.2,.8,.2,1);
}
.login-page, .workspace-page {
  background: radial-gradient(ellipse at 4% 1%, #dbeafe65, transparent 38%),
    radial-gradient(ellipse at 94% 8%, #cffafe50, transparent 34%), linear-gradient(140deg,#f8fafc,#eff6ff);
  color: var(--ink-strong);
}
.login-page .topbar, .workspace-page .topbar { border-bottom-color:#e0e9f3; box-shadow:0 3px 18px #193f6905; }
.login-page .brand-mark, .workspace-page .brand-mark { border-radius:11px; box-shadow:0 3px 0 #1377b0,0 6px 12px #2563eb20,inset 0 1px 0 #fff8; }
.login-page .btn.primary, .workspace-page .btn.primary, .ai-mode .btn.primary { box-shadow:var(--depth-button),inset 0 1px 0 #ffffff65; }
.login-page .btn.primary:active, .workspace-page .btn.primary:active, .ai-mode .btn.primary:active { box-shadow:0 1px 0 #1062b2,inset 0 1px 0 #fff5; }
.status-node { display:inline-block;width:8px;height:8px;border-radius:50%;flex:none;background:#2563eb;box-shadow:0 0 0 4px #2563eb0d; }
.status-node.green { background:#10b981;box-shadow:0 0 0 4px #10b98112; }
.status-node.amber { background:#f59e0b;box-shadow:0 0 0 4px #f59e0b12; }
.ability-path { display:flex;align-items:center;max-width:240px;gap:0;pointer-events:none; }
.ability-path i { width:15px;height:15px;border:4px solid #fff;border-radius:50%;background:#2563eb;box-shadow:0 0 0 1px #c4d9f6,0 4px 7px #2563eb20;flex:none; }
.ability-path b { height:2px;width:48px;background:linear-gradient(90deg,#7cb8f7,#a6e6f0); }
.ability-path i:nth-of-type(2) { background:#1095e3; }
.ability-path i:nth-of-type(3) { background:#06b6d4; }
.ability-path i:nth-of-type(4) { background:#10b981; }
/* 登录：共享网格，不使用模拟业务数据。轨迹是装饰，不代表得分。 */
.login-page .login-shell { position:relative; }
.login-page .login-brand, .login-page .login-box { box-shadow:var(--depth-card),inset 0 0 0 1px #fff; border-color:#fff; }
.login-page .login-brand { position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,#ffffffee,#f0f8ff); }
.login-page .login-brand::before { content:'';position:absolute;width:240px;height:240px;right:-115px;top:-115px;border:30px solid #d7eafe55;border-radius:40%;transform:rotate(35deg);z-index:-1; }
.login-page .login-hero { position:relative;margin-bottom:24px;padding-bottom:0; }
.login-page .login-kicker { display:flex;align-items:center;gap:10px;color:#526d8d;font-size:12px;letter-spacing:.06em;margin-bottom:16px; }
.login-page .login-hero h1 { font-size:30px;line-height:1.4;letter-spacing:-.035em;color:#12233e; }
.login-ability-path { margin-top:22px; }
.login-page .capability-card { background:#ffffffeb;border-radius:16px;border:1px solid #e2ecf7;box-shadow:0 2px 0 #dbe8f3,0 7px 18px -12px #2a578e40,inset 0 1px 0 #fff;gap:12px; }
.login-page .capability-card h3, .login-page .capability-title { color:#20344d;font-weight:650; }
.login-page .feature-icon { width:34px;height:36px;flex-basis:34px;background:linear-gradient(140deg,#edf6ff,#e8f2ff);border:1px solid #fff;box-shadow:0 3px 0 #c7def3,inset 0 1px 0 #fff; }
.login-page .capability-card:nth-child(2) .feature-icon { background:#eafbf7;color:#119b80;box-shadow:0 3px 0 #c6ecdf; }
.login-page .capability-card:nth-child(3) .feature-icon { background:#f2efff;color:#8062c8;box-shadow:0 3px 0 #ded4f6; }
.login-page .capability-card:nth-child(4) .feature-icon { background:#e9f9ff;color:#079dc7;box-shadow:0 3px 0 #c5eaf4; }
.login-page .capability-card.planned { border-style:solid;background:#f7faff; }
.login-page .capability-card.planned h3 { color:#526780; }
.login-page .feature-icon.amber { background:#fff6e6;color:#c7891b;box-shadow:0 3px 0 #f1e2bd; }
.login-page .capability-state.open { color:#277e6e; }
.login-page .tools-card:hover { box-shadow:0 4px 0 #cbdff3,0 10px 22px -12px #2563eb55; }
.login-page .tools-card:active { box-shadow:0 1px 0 #cbdff3; }
.login-page .login-box { border-top:3px solid #b9ddf8;background:linear-gradient(180deg,#fff,#fffffffa); }
.login-page .form-heading h2 { font-size:20px;color:#162a45;letter-spacing:-.02em; }
.login-page .tabs { padding:5px;background:#f0f5fb;border:1px solid #e2ebf5;border-radius:12px; }
.login-page .tabs button { border-radius:9px; }
.login-page .tabs button.active { box-shadow:0 2px 4px #20487810,0 5px 12px -8px #20487835; }
.login-page .field input { border-color:#cedbe9;background:#fcfdff; }
.login-page .field input:focus { background:#fff;border-color:#2884e5;box-shadow:0 0 0 3px #2563eb10; }
/* 管理：任务入口有真实接口和权限，不把装饰节点标为业务图表。 */
.workspace-page .sidebar { background:#ffffffba;border-right:1px solid #e1eaf4; }
.workspace-page .admin-nav-heading { color:#7c8da3;font-size:11px;font-weight:600;letter-spacing:.06em; }
.workspace-page .nav button { border-radius:10px;font-weight:550;color:#526780; }
.workspace-page .nav button:hover { background:#f0f7ff;color:#1769bd; }
.workspace-page .nav button.active { color:#106bbd;background:linear-gradient(100deg,#e1f1ff,#f0fbff);box-shadow:inset 3px 0 #258fe9,inset 0 0 0 1px #c5e5fb,0 3px 9px #16437b05; }
.workspace-page .panel, .workspace-page .stat, .workspace-page .table-wrap { border-radius:18px;box-shadow:var(--depth-card),inset 0 1px 0 #fff;border:1px solid var(--border-soft); }
.workspace-page .welcome-banner { border:1px solid #d7e8f9;box-shadow:0 5px 22px -12px #1c66b53d; }
.workspace-page .overview-banner { display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;min-height:112px;background:linear-gradient(105deg,#edf6ff 0%,#f4fbff 65%,#e4f9fb 100%); }
.context-caption { font-size:12px;color:#73869d;font-weight:450; }
.overview-title .context-caption { display:block;margin-bottom:5px; }
.overview-title h1 { font-size:25px;margin:0; }
.overview-banner .ability-path { flex:1;max-width:218px;opacity:.85; }
.overview-banner .ability-path b { flex:1; }
.overview-stats { margin-bottom:22px; }
.workspace-page .stat-action { width:100%;text-align:left;display:flex;flex-direction:column;gap:8px;padding:18px 20px;background:#fff;color:var(--ink-strong);font:inherit;min-width:0;transition:transform var(--motion-fast) var(--motion-ease),border-color var(--motion-fast); }
.stat-action:hover { transform:translateY(-2px);border-color:#b2d9fa; }
.stat-action:active { transform:translateY(1px); }
.stat-action .stat-label { display:flex;align-items:center;gap:10px;font-size:13px;font-weight:550;width:100%;color:#526780; }
.stat-arrow { margin-left:auto;color:#9ab0c8; }
.workspace-page .stat-action strong { font-size:30px;line-height:1.2;font-weight:650;font-variant-numeric:tabular-nums;color:#1b3555;margin:2px 0; }
.stat-action-label { font-size:11px;color:#8191a7; }
.overview-columns { display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;margin-bottom:26px;align-items:stretch; }
.section-heading { display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:18px; }
.section-heading h2 { font-size:16px;margin:0;font-weight:650; }
.workspace-page .work-queue, .workspace-page .quick-work { min-width:0;padding:22px; }
.queue-list { display:grid; }
.queue-row { display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #edf2f8;min-width:0; }
.queue-row:first-child { border-top:0;padding-top:0; }
.queue-row:last-child { padding-bottom:0; }
.queue-icon { display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:11px;border:1px solid #e5edf8;background:#f1f7ff;color:#4e8bd4; }
.queue-copy { flex:1;min-width:0; }
.queue-copy h3 { font-size:13px;line-height:1.5;margin:0 0 4px;overflow-wrap:anywhere; }
.queue-states { display:flex;gap:4px 12px;flex-wrap:wrap;font-size:11px;color:#7b8ba1; }
.success-text { color:#087e61; } .warning-text { color:#9a6405; }
.queue-empty { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:150px;padding:14px;text-align:center; }
.queue-check { display:grid;place-items:center;width:42px;height:42px;border-radius:14px;color:#0c9977;background:#ecfaf4;box-shadow:0 3px 0 #d6eee2;font-size:22px; }
.queue-empty strong { font-size:13px;font-weight:550;color:#536a84; }
.queue-empty small { font-size:12px;color:#8a9bb0; }
.quick-work-grid { display:grid;grid-template-columns:1fr 1fr;gap:12px; }
.quick-work-grid button { display:flex;align-items:center;gap:10px;min-height:70px;min-width:0;padding:12px;border:1px solid #e1ebf6;border-radius:12px;background:linear-gradient(140deg,#fcfdff,#f5faff);color:#47617f;text-align:left;font-size:12px;box-shadow:0 2px 0 #e4edf7;transition:transform var(--motion-fast); }
.quick-work-grid button>.icon { width:20px;height:20px;color:#468bd9; }
.quick-work-grid button>span:last-child { margin-left:auto;color:#8aacca; }
.quick-work-grid button:hover { border-color:#c4dff8;transform:translateY(-1px); }
.quick-work-grid button:active { transform:translateY(2px);box-shadow:none; }
.recent-exams { min-width:0; }
.data-stamp { display:block;text-align:right;color:#8b9cb0;margin-top:12px;font-size:11px; }
/* AI 考场：稳定阅读、稳定编辑；不加入粒子、飘动卡片或伪造进度。 */
.ai-mode .ai-task-layout .panel, .ai-mode .ai-chat { border-color:#dce7f3;box-shadow:var(--depth-card);border-radius:18px; }
.ai-mode .ai-exam-bar { border-color:#d9e7f6;box-shadow:0 2px 6px #153f6b08,0 10px 25px -18px #2563eb30;border-radius:16px;background:#fffffffa; }
.ai-mode .ai-timer-block { border-left:1px solid #e1eaf4; }
.ai-mode .ai-person { background:linear-gradient(120deg,#fdfefe,#ecf7ff); }
.ai-mode .ai-avatar { box-shadow:0 3px 0 #2286bd,0 5px 12px #2563eb20,inset 0 1px 0 #ffffff66; }
.ai-mode .ai-question-nav, .ai-mode .ai-chat-head { background:linear-gradient(110deg,#fff,#f4f9ff);border-bottom-color:#dfebf7; }
.ai-mode .ai-section-heading h3 { font-size:14px; }
.ai-mode .ai-answer>.ai-section-heading { background:#f7fbff;border-bottom-color:#e1edf9; }
.ai-mode .ai-task-meta .pill { color:#1679b5;background:#eaf7ff;border:1px solid #d4edff; }
.ai-mode .ai-task-content h2 { color:#163450; }
.ai-mode .ai-requirement-block { border-radius:12px;background:#f7fbff;border:1px solid #e0edf9;box-shadow:inset 3px 0 #92cbf4; }
.ai-mode .ai-answer-footer { box-shadow:0 -5px 14px #173c6805;background:linear-gradient(#fff,#f9fcff); }
.ai-mode .ai-assistant-mark { box-shadow:0 2px 0 #cce7f6,inset 0 1px 0 #fff;border:1px solid #e2f2fb; }
.ai-mode .ai-compose { background:#fcfdff; }
.ai-mode .ai-model-bar select { background:#fff;border-color:#cbdff1; }
.ai-mode .ai-user { background:linear-gradient(120deg,#edf5ff,#eaf9ff);border:1px solid #ddeefa; }
.ai-mode .ai-progress-panel .answer-grid button { box-shadow:0 3px 0 #dfebf5;border-color:#d5e3f1; }
.ai-mode .ai-progress-panel .answer-grid button.submitted { box-shadow:0 3px 0 #c8e9dc; }
.ai-mode .ai-progress-panel .answer-grid button:active { transform:translateY(2px);box-shadow:0 1px 0 #dfebf5; }
@media(min-width:701px) {
  .workspace-page .sidebar { position:sticky;top:0;align-self:start;height:calc(100svh - 56px);overflow-y:auto;scrollbar-width:thin; }
}
@media(max-width:1100px) {
  .overview-columns { grid-template-columns:1fr; }
  .overview-banner .ability-path { max-width:140px; }
  .workspace-page .stat-action { padding:16px; }
}
@media(min-width:701px) and (max-width:900px) {
  .login-ability-path { margin-top:16px; }
  .login-page .login-hero { margin-bottom:18px; }
  .login-page .login-hero h1 { font-size:27px; }
}
@media(max-width:700px) {
  .login-page .login-hero h1 { font-size:26px; }
  .login-ability-path { margin-top:18px; }
  .login-page .login-box { padding-top:26px; }
  .workspace-page .overview-banner { padding:20px;min-height:120px;gap:14px;flex-wrap:wrap; }
  .overview-banner .ability-path { display:none; }
  .overview-title h1 { font-size:23px; }
  .workspace-page .stat-action { padding:16px 14px;min-height:135px; }
  .workspace-page .stat-action strong { font-size:28px; }
  .stat-action .stat-label { font-size:12px;gap:8px; }
  .stat-action-label { font-size:10px; }
  .workspace-page .work-queue, .workspace-page .quick-work { padding:18px; }
  .quick-work-grid { gap:10px; }
  .quick-work-grid button { min-height:70px;padding:12px 10px;gap:8px; }
  .queue-row .btn { min-height:44px;height:44px;font-size:12px; }
  .queue-icon { display:none; }
  .ai-mode .ai-model-bar select { min-height:44px;height:44px; }
  .ai-mode .ai-progress-panel .answer-grid button { min-height:44px;height:44px; }
}
@media(prefers-reduced-motion:reduce) {
  .login-page *, .workspace-page *, .ai-mode * { scroll-behavior:auto!important;transition:none!important;animation:none!important; }
}
/* 小字号保证可读对比；蓝青按钮使用较深青色承载白字。 */
.login-page .btn.primary, .workspace-page .btn.primary, .ai-mode .btn.primary { background:linear-gradient(135deg,#2563eb,#087ea5); }
.context-caption, .stat-action-label, .stat-arrow, .queue-states, .queue-empty small, .data-stamp,
.workspace-page .admin-nav-heading, .quick-work-grid button>span:last-child { color:#60738c; }
.ai-mode .ai-person small, .ai-mode .ai-task-meta>span:not(.pill), .ai-mode .ai-chat-head small,
.ai-mode .ai-field-caption span, .ai-mode .ai-answer-footer>small, .ai-mode .ai-file small,
.ai-mode .ai-material-card small, .ai-mode .ai-no-files, .ai-mode .ai-no-materials,
.ai-mode .ai-model-state, .ai-mode .ai-context>small, .ai-mode .ai-send-row>span,
.ai-mode .ai-chat-empty, .ai-mode .ai-chat-empty strong, .ai-mode .ai-user>small,
.ai-mode .ai-reply>small { color:#60738c; }
.ai-mode .ai-model-state.is-ready { color:#087e61; }
/* 身份/企业长名称和放大显示均允许操作区自然换行，不挤出页面。 */
.workspace-page .topbar { height:auto;min-height:56px;flex-wrap:wrap; }
.workspace-page .top-actions { max-width:100%;min-width:0;flex-wrap:wrap;margin-left:auto; }
.workspace-page .identity { overflow-wrap:anywhere; }
