.first-lab{max-width:1320px;margin:0 auto;padding:20px 0 56px}
.first-hero{display:flex;justify-content:space-between;gap:28px;align-items:flex-end;margin:8px 0 22px;padding:24px 26px;border:1px solid #dbeafe;border-radius:18px;background:linear-gradient(135deg,#f8fbff,#eef6ff 55%,#fff)}
.first-hero-copy{min-width:0}
.first-hero h1{margin:4px 0 8px;font-size:clamp(26px,4vw,40px);letter-spacing:-.03em}
.first-hero-lede{max-width:760px;margin:0;color:#475569;line-height:1.8;font-size:15px}
.first-hero-side{flex:none;max-width:260px;padding:14px 16px;border:1px solid #dbeafe;border-radius:12px;background:#fff}
.first-hero-label{display:block;color:#64748b;font-size:11px;font-weight:700;letter-spacing:.12em}
.first-hero-side strong{display:block;margin:5px 0 4px;font-size:17px}
.first-hero-note{display:block;color:#64748b;font-size:12px;line-height:1.6}
.first-hero-link{display:inline-block;margin-top:9px;color:var(--accent-dark,#1d4ed8);font-size:12px;font-weight:700;text-decoration:none}
.first-progress{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:18px;color:#94a3b8;font-size:12px;font-weight:700}
.first-progress span{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #e2e8f0;border-radius:999px;background:#fff}
.first-progress span i{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#e2e8f0;color:#64748b;font-style:normal;font-size:10px}
.first-progress span.is-on{color:#1e40af;border-color:#bfdbfe;background:#eff6ff}
.first-progress span.is-on i{background:#2563eb;color:#fff}
.first-progress b{color:#cbd5e1;font-weight:400}
.first-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);gap:20px;align-items:start}
.first-sim{min-width:0}
.first-sim>.native-embed{margin:0}
.first-sim .native-stage canvas{max-height:520px}
.first-guide{display:grid;gap:12px;position:sticky;top:76px}
.first-step{padding:17px 18px;border-radius:14px;transition:border-color .15s,box-shadow .15s}
.first-step.is-current{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(37,99,235,.08)}
.first-step-head{display:flex;align-items:center;gap:9px;margin-bottom:8px}
.first-step-no{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#eff6ff;color:#2563eb;font-size:11px;font-weight:800}
.first-step-kicker{color:#64748b;font-size:11px;font-weight:700;letter-spacing:.1em}
.first-step h2{margin:0 0 6px;font-size:18px}
.first-step p{margin:0 0 10px;color:#475569;font-size:13.5px;line-height:1.75}
.first-step p b{color:#1e3a8a}
.first-chip-row{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 12px}
.first-chip{display:inline-flex;align-items:baseline;gap:4px;padding:4px 8px;border:1px solid #e2e8f0;border-radius:7px;background:#f8fafc;color:#475569;font-size:11.5px}
.first-chip em{color:#94a3b8;font-style:normal}
.first-chip b{color:#1e40af;font-family:"Times New Roman",serif;font-size:14px}
.first-hint{padding:8px 10px;border-left:3px solid #bfdbfe;background:#f8fbff;border-radius:0 8px 8px 0;color:#64748b!important;font-size:12.5px!important}
.first-step-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.first-step-actions .btn:disabled{opacity:.55;cursor:default}
.first-compare{display:flex;align-items:center;gap:8px;margin:11px 0;color:#64748b;font-size:11.5px}
.first-compare span{display:grid;gap:2px;padding:7px 9px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}
.first-compare em{color:#2563eb;font-style:normal;font-weight:700}
.first-compare b{color:#cbd5e1}
.first-quiz{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.first-quiz button{min-height:38px;border:1px solid #dbeafe;border-radius:8px;background:#fff;color:#1e3a8a;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.first-quiz button:hover{border-color:#93c5fd;background:#eff6ff}
.first-quiz button.is-correct{border-color:#34d399;background:#ecfdf5;color:#047857}
.first-quiz button.is-wrong{border-color:#fca5a5;background:#fef2f2;color:#b91c1c}
.first-feedback{min-height:20px;margin:8px 0 0!important;color:#047857!important;font-size:12.5px!important}
.first-feedback.is-wrong{color:#b91c1c!important}
.first-finish{position:relative;padding:22px 20px;border-color:#a7f3d0;background:linear-gradient(145deg,#f0fdf4,#fff)}
.first-finish-mark{display:grid;place-items:center;width:34px;height:34px;margin-bottom:10px;border-radius:50%;background:#047857;color:#fff;font-weight:800}
.first-finish .eyebrow{color:#047857;margin:0 0 4px}
.first-finish h2{margin:0 0 7px;font-size:21px}
.first-finish p{color:#475569;font-size:13.5px;line-height:1.75}
.first-finish-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
.first-restart{margin-top:12px;border:0;background:transparent;color:#64748b;font:inherit;font-size:12px;text-decoration:underline;cursor:pointer}
.first-progress span.is-done{color:#047857;border-color:#a7f3d0;background:#ecfdf5}
.first-progress span.is-done i{background:#047857;color:#fff}
@media (max-width:1000px){
  .first-layout{grid-template-columns:1fr}
  .first-guide{position:static;order:-1;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .first-finish{grid-column:1/-1}
}
@media (max-width:700px){
  .first-hero{display:block;padding:19px 17px}
  .first-hero-side{max-width:none;margin-top:16px}
  .first-guide{grid-template-columns:1fr}
  .first-step{padding:15px}
  .first-quiz{grid-template-columns:1fr}
  .first-lab{padding-top:8px}
}

/* 教师任务单库 */
.worksheet-index .first-hero{margin-bottom:18px}
.worksheet-index-kpis{display:flex;flex-wrap:wrap;gap:14px;margin-top:15px;color:#475569;font-size:12px}
.worksheet-index-kpis b{display:block;color:#1e3a8a;font-size:21px;line-height:1.1}
.worksheet-index-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 18px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}
.worksheet-index-toolbar label{font-size:12px;font-weight:700;color:#475569}
.worksheet-index-toolbar input{flex:1;min-width:180px;min-height:36px;padding:7px 10px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;font-size:13px}
.worksheet-index-group{margin:0 0 22px}
.worksheet-index-group[hidden]{display:none}
.worksheet-index-group-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 9px}
.worksheet-index-group-head h2{margin:0;font-size:16px}
.worksheet-index-group-head span{color:#94a3b8;font-size:12px}
.worksheet-index-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.worksheet-index-card{display:flex;flex-direction:column;min-height:150px;padding:14px 15px;border:1px solid #e2e8f0;border-radius:11px;background:#fff;color:inherit;text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s}
.worksheet-index-card:hover{border-color:#93c5fd;box-shadow:0 7px 18px rgba(37,99,235,.08);transform:translateY(-1px)}
.worksheet-index-kicker{color:#64748b;font-size:10.5px;font-weight:700;letter-spacing:.06em}
.worksheet-index-card h3{margin:6px 0 5px;font-size:16px}
.worksheet-index-card p{margin:0 0 12px;color:#64748b;font-size:12.5px;line-height:1.6}
.worksheet-index-open{margin-top:auto;color:#1d4ed8;font-size:12px;font-weight:700}
.worksheet-index-empty{padding:24px;border:1px dashed #cbd5e1;border-radius:12px;text-align:center}
@media(max-width:900px){.worksheet-index-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.worksheet-index-grid{grid-template-columns:1fr}.worksheet-index-toolbar{align-items:stretch}.worksheet-index-toolbar input{flex-basis:100%}}

.worksheet-index-card[hidden]{display:none}
@media(max-width:700px){
  .first-hero{padding:14px 15px;margin:0 0 12px;border-radius:14px}
  .first-hero .eyebrow{margin:0 0 2px}
  .first-hero h1{font-size:24px;line-height:1.3;margin:2px 0 5px}
  .first-hero-lede{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.65}
  .first-hero-side{display:none}
  .first-progress{margin-top:10px;gap:5px;font-size:11px}
  .first-progress span{padding:4px 7px}
  .first-lab{padding-top:0}
}
