.lab-scope{
  --c-primary: #1565c0;
  --c-primary-dark: #0d3c75;
  --c-accent: #00897b;
  --c-bg: #f5f7fa;
  --c-surface: #ffffff;
  --c-surface-2: #eef3f8;
  --c-border: #d8e1ec;
  --c-text: #1f2d3d;
  --c-text-soft: #5a6b7b;
  --c-warn: #e65100;
  --c-ok: #2e7d32;
  --c-bad: #c62828;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(20, 50, 90, 0.08);
  --maxw: 980px;
}.lab-scope *{ box-sizing: border-box; }.lab-scope, .lab-scope{
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}.lab-scope a{ color: var(--c-primary); text-decoration: none; }.lab-scope a:hover{ text-decoration: underline; }.lab-scope .site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(120deg, var(--c-primary), var(--c-accent));
  color: #fff;
  box-shadow: var(--shadow);
}.lab-scope .site-header .bar{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}.lab-scope .site-header .brand{ font-weight: 700; font-size: 18px; letter-spacing: 1px; }.lab-scope .site-header .brand small{ font-weight: 400; opacity: .85; margin-left: 8px; font-size: 13px; }.lab-scope .site-header .exp-title{ margin-left: auto; font-weight: 600; font-size: 15px; opacity: .95; }.lab-scope .site-header .back{
  color: #fff; background: rgba(255,255,255,.16);
  padding: 5px 12px; border-radius: 20px; font-size: 13px; white-space: nowrap;
}.lab-scope .site-header .back:hover{ background: rgba(255,255,255,.28); text-decoration: none; }.lab-scope .module-nav{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6px 18px;
  display: flex; gap: 6px; flex-wrap: wrap;
  background: rgba(255,255,255,.12);
}.lab-scope .module-nav a{
  color: #fff; opacity: .85; font-size: 13px;
  padding: 4px 10px; border-radius: 16px;
}.lab-scope .module-nav a:hover{ opacity: 1; background: rgba(255,255,255,.2); text-decoration: none; }.lab-scope .container{ max-width: var(--maxw); margin: 22px auto; padding: 0 18px 60px; }.lab-scope .module{
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  overflow: hidden;
}.lab-scope .module > h2{
  margin: 0;
  padding: 14px 20px;
  font-size: 18px;
  background: var(--c-surface-2);
  border-bottom: 3px solid var(--c-primary);
  display: flex; align-items: center; gap: 10px;
}.lab-scope .module > h2 .idx{
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-primary); color: #fff; font-size: 14px;
}.lab-scope .module .body{ padding: 18px 20px; }.lab-scope .meta-grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px; margin-bottom: 4px;
}.lab-scope .meta-card{
  background: var(--c-surface-2); border: 1px solid var(--c-border);
  border-radius: 10px; padding: 10px 14px;
}.lab-scope .meta-card .k{ font-size: 12px; color: var(--c-text-soft); }.lab-scope .meta-card .v{ font-weight: 600; }.lab-scope .tag{
  display: inline-block; padding: 2px 10px; border-radius: 12px;
  font-size: 12px; font-weight: 600;
}.lab-scope .tag-junior{ background: #e3f2fd; color: #1565c0; }.lab-scope .tag-senior{ background: #e0f2f1; color: #00897b; }.lab-scope .tag-type{ background: #fff3e0; color: var(--c-warn); }.lab-scope ul.clean{ margin: 6px 0; padding-left: 22px; }.lab-scope ul.clean li{ margin: 5px 0; }.lab-scope ol.steps{ margin: 6px 0; padding-left: 24px; }.lab-scope ol.steps li{ margin: 8px 0; }.lab-scope .knowledge p{ margin: 8px 0; }.lab-scope .formula{
  background: #fbfdff; border: 1px dashed var(--c-border);
  border-radius: 8px; padding: 10px 14px; margin: 10px 0;
  font-family: "Cambria Math", "Times New Roman", serif; font-size: 17px;
  text-align: center; color: var(--c-primary-dark);
}.lab-scope .note{
  border-left: 4px solid var(--c-accent);
  background: var(--c-surface-2);
  padding: 8px 14px; border-radius: 0 8px 8px 0; margin: 12px 0;
}.lab-scope .qa{ border: 1px solid var(--c-border); border-radius: 10px; margin: 10px 0; overflow: hidden; }.lab-scope .qa .q{
  padding: 12px 14px; background: var(--c-surface-2); font-weight: 600;
  display: flex; gap: 10px; align-items: flex-start;
}.lab-scope .qa .q .badge{
  flex: 0 0 auto; font-size: 12px; background: var(--c-primary); color: #fff;
  padding: 1px 8px; border-radius: 10px; margin-top: 3px;
}.lab-scope .qa .a{ padding: 0 14px; max-height: 0; overflow: hidden; transition: max-height .3s ease; }.lab-scope .qa.open .a{ padding: 12px 14px; max-height: 600px; }.lab-scope .qa .toggle{
  margin-left: auto; color: var(--c-primary); cursor: pointer; font-size: 13px;
  font-weight: 500; white-space: nowrap;
}.lab-scope table.data{
  width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px;
}.lab-scope table.data th, .lab-scope table.data td{
  border: 1px solid var(--c-border); padding: 8px 10px; text-align: center;
}.lab-scope table.data th{ background: var(--c-surface-2); font-weight: 600; }.lab-scope table.data input{
  width: 100%; border: none; background: #fff; text-align: center;
  font-size: 15px; padding: 4px; border-bottom: 1px solid var(--c-border);
}.lab-scope table.data input:focus{ outline: none; border-bottom: 2px solid var(--c-primary); }.lab-scope .btn{
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-primary); color: #fff; border: none;
  padding: 9px 16px; border-radius: 8px; font-size: 14px; cursor: pointer;
  font-family: inherit; transition: background .15s;
}.lab-scope .btn:hover{ background: var(--c-primary-dark); }.lab-scope .btn.ghost{ background: transparent; color: var(--c-primary); border: 1px solid var(--c-primary); }.lab-scope .btn.ghost:hover{ background: var(--c-surface-2); }.lab-scope .btn.accent{ background: var(--c-accent); }.lab-scope .btn.accent:hover{ background: #00695c; }.lab-scope .btn-row{ display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }.lab-scope .checklist{ display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 8px; }.lab-scope .checklist label{
  display: flex; align-items: center; gap: 8px; padding: 7px 12px;
  background: var(--c-surface-2); border: 1px solid var(--c-border); border-radius: 8px; cursor: pointer;
}.lab-scope .checklist input{ width: 16px; height: 16px; }.lab-scope .chart-wrap{ position: relative; height: 360px; margin: 10px 0; background: #fff; border:1px solid var(--c-border); border-radius: 8px; padding: 8px; }.lab-scope .chart-controls{ display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 8px 0; }.lab-scope .rubric-row{ display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--c-border); }.lab-scope .rubric-row .crit{ flex: 1; }.lab-scope .rubric-row select{ padding: 6px 10px; border-radius: 8px; border: 1px solid var(--c-border); font-family: inherit; }.lab-scope .quiz-q{ margin: 14px 0; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: 10px; }.lab-scope .quiz-q .opts{ display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }.lab-scope .quiz-q .opt{
  padding: 8px 12px; border: 1px solid var(--c-border); border-radius: 8px; cursor: pointer;
}.lab-scope .quiz-q .opt:hover{ background: var(--c-surface-2); }.lab-scope .quiz-q .opt.correct{ background: #e8f5e9; border-color: var(--c-ok); color: var(--c-ok); }.lab-scope .quiz-q .opt.wrong{ background: #ffebee; border-color: var(--c-bad); color: var(--c-bad); }.lab-scope .score-box{
  margin: 14px 0; padding: 14px 18px; border-radius: 10px; text-align: center;
  background: var(--c-surface-2); border: 1px solid var(--c-border); font-size: 18px; font-weight: 700;
}.lab-scope textarea.report{
  width: 100%; min-height: 90px; border: 1px solid var(--c-border); border-radius: 8px;
  padding: 10px; font-family: inherit; font-size: 15px; resize: vertical;
}.lab-scope .report-preview{ background: #fff; border: 1px solid var(--c-border); border-radius: 8px; padding: 16px 20px; margin-top: 12px; }.lab-scope .catalog-hero{
  background: linear-gradient(120deg, var(--c-primary), var(--c-accent));
  color: #fff; border-radius: var(--radius); padding: 26px 24px; margin-bottom: 20px;
  box-shadow: var(--shadow);
}.lab-scope .catalog-hero h1{ margin: 0 0 6px; font-size: 26px; }.lab-scope .catalog-hero p{ margin: 0; opacity: .92; }.lab-scope .catalog-controls{ display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; align-items: center; }.lab-scope .catalog-controls input[type=search]{
  flex: 1; min-width: 220px; padding: 10px 14px; border-radius: 8px;
  border: 1px solid var(--c-border); font-size: 15px; font-family: inherit;
}.lab-scope .catalog-controls .seg{ display: flex; border: 1px solid var(--c-border); border-radius: 8px; overflow: hidden; }.lab-scope .catalog-controls .seg button{
  border: none; background: #fff; padding: 10px 16px; cursor: pointer; font-family: inherit; font-size: 14px;
  color: var(--c-text-soft);
}.lab-scope .catalog-controls .seg button.active{ background: var(--c-primary); color: #fff; }.lab-scope .grade-group{ margin-bottom: 26px; }.lab-scope .grade-group h3{
  border-left: 5px solid var(--c-primary); padding-left: 12px; margin: 0 0 14px;
  font-size: 20px;
}.lab-scope .exp-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }.lab-scope .exp-card{
  display: block; background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow);
  transition: transform .12s, box-shadow .12s, border-color .12s;
}.lab-scope .exp-card:hover{ transform: translateY(-3px); box-shadow: 0 6px 18px rgba(20,50,90,.16); border-color: var(--c-primary); text-decoration: none; }.lab-scope .exp-card .no{ font-size: 12px; color: var(--c-text-soft); }.lab-scope .exp-card .name{ font-weight: 700; font-size: 16px; color: var(--c-text); margin: 4px 0 8px; line-height: 1.4; }.lab-scope .exp-card .meta{ font-size: 12px; color: var(--c-text-soft); display: flex; gap: 8px; flex-wrap: wrap; }.lab-scope .exp-card .tags{ margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }.lab-scope footer.site-foot{ text-align: center; color: var(--c-text-soft); font-size: 13px; padding: 20px; }.lab-scope .lab-actions{ display: flex; justify-content: center; gap: 12px; padding: 8px 20px 4px; }.lab-scope .sensor-box{
  margin-top: 18px; border: 1px solid var(--c-border); border-radius: 12px;
  overflow: hidden; background: var(--c-surface);
}.lab-scope .sensor-box .sensor-bar{
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; color: #fff;
  background: linear-gradient(120deg, #1a3a5c, #1565c0);
}.lab-scope .sensor-box .sensor-title{ font-weight: 700; font-size: 15px; }.lab-scope .sensor-box .sensor-type-sel{ font-size: 13px; color: #fff; }.lab-scope .sensor-box .sensor-type-sel select{
  font-family: inherit; font-size: 13px; padding: 4px 8px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.15); color: #fff;
}.lab-scope .sensor-box .ble{ background: #fff; color: #1a3a5c; font-weight: 600; margin-left: auto; }.lab-scope .sensor-box .ble:hover{ background: #e8f0fa; }.lab-scope .ble-dot{ width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.4); box-shadow: 0 0 0 2px rgba(255,255,255,.25); }.lab-scope .ble-dot.on{ background: #4ade80; box-shadow: 0 0 8px #4ade80; }.lab-scope .ble-status{ font-size: 13px; opacity: .95; }.lab-scope .sensor-hint{ margin: 10px 16px 0; font-size: 12.5px; color: var(--c-text-soft); }.lab-scope .sensor-readout{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px; padding: 12px 16px;
}.lab-scope .sensor-readout .metric{
  background: var(--c-surface-2); border: 1px solid var(--c-border);
  border-radius: 10px; padding: 10px 12px; text-align: center;
}.lab-scope .sensor-readout .metric .mk{ font-size: 12px; color: var(--c-text-soft); }.lab-scope .sensor-readout .metric .mv{ font-size: 22px; font-weight: 700; color: var(--c-primary); font-variant-numeric: tabular-nums; }.lab-scope .sensor-chart-wrap{ position: relative; height: 300px; margin: 8px 16px; background: #fff; border: 1px solid var(--c-border); border-radius: 8px; padding: 8px; }.lab-scope .sensor-box .btn-row{ padding: 0 16px; }.lab-scope .sensor-table{ margin: 12px 16px; width: calc(100% - 32px); }.lab-scope .sensor-log{ padding: 6px 16px 14px; font-size: 12.5px; color: var(--c-accent); min-height: 18px; }.lab-scope .tag-sensor{ background: #fff8e1; color: #f57f17; border: 1px solid #ffe082; }


@media print {.lab-scope .site-header, .lab-scope .module-nav, .lab-scope .btn-row, .lab-scope .catalog-controls, .lab-scope .lab-actions, .lab-scope footer.site-foot{ display: none !important; }.lab-scope{ background: #fff; }.lab-scope .module{ break-inside: avoid; box-shadow: none; }.lab-scope .container{ margin: 0; }
}

/* 嵌入站点时避免与站点顶栏重复 sticky */
.lab-scope .site-header{position:static;}
.lab-scope .module-nav{position:static;}
/* 模块3 实验步骤 */
.lab-scope .step-card{ display:flex; gap:12px; align-items:flex-start; border:1px solid var(--c-border); border-radius:10px; padding:12px 14px; margin:10px 0; background:#fff; }
.lab-scope .step-no{ flex:0 0 auto; width:28px; height:28px; border-radius:50%; background:var(--c-primary); color:#fff; font-weight:700; display:flex; align-items:center; justify-content:center; font-size:14px; margin-top:2px; }
.lab-scope .step-body{ flex:1; min-width:0; }
.lab-scope .step-title{ font-weight:700; font-size:15px; margin-bottom:4px; color:var(--c-primary-dark); }
.lab-scope .step-d{ font-size:14.5px; color:var(--c-text); line-height:1.75; }
.lab-scope .obs-box{ margin-top:8px; padding:8px 12px; border-radius:8px; background:#fff8e1; border:1px solid #ffe082; font-size:13.5px; color:#7a5c00; }
.lab-scope .obs-box b{ color:#b26a00; }
.lab-scope .expect-box{ margin-top:12px; padding:10px 14px; border-radius:8px; background:#e8f5e9; border:1px solid #c8e6c9; font-size:14px; color:var(--c-ok); }
.lab-scope .setup-box{ margin:12px 0; padding:10px 14px; border-radius:8px; background:var(--c-surface-2); border:1px solid var(--c-border); font-size:14px; }
.lab-scope .setup-box b{ color:var(--c-primary); }
.lab-scope .figure-box{ margin:12px 0; text-align:center; }
.lab-scope .figure-box img{ max-width:100%; max-height:340px; border:1px solid var(--c-border); border-radius:10px; box-shadow:var(--shadow); }
.lab-scope .figure-cap{ margin-top:6px; font-size:12.5px; color:var(--c-text-soft); }
