/* 教学看板演示样式（手写，无构建步骤——演示环境离线可跑） */
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; background: #f8fafc; color: #1e293b;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

header.top {
  background: #fff; border-bottom: 1px solid #e2e8f0; padding: 12px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
header.top .brand { font-size: 18px; font-weight: 700; }
header.top .brand small { font-size: 13px; color: #64748b; font-weight: 400; margin-left: 10px; }
main { padding: 20px 24px; }
footer {
  padding: 10px 24px; font-size: 12px; color: #94a3b8; border-top: 1px solid #e2e8f0;
}

h1.page { font-size: 20px; margin: 0 0 16px; }
.page-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.page-head .sub { font-size: 13px; color: #64748b; }
.page-head .count { margin-left: auto; font-size: 13px; color: #64748b; }

.alert-box {
  border: 1px solid #fcd34d; background: #fffbeb; border-radius: 10px;
  padding: 12px 16px; margin-bottom: 16px; font-size: 14px; color: #92400e;
}
.alert-box .title { font-weight: 700; margin-bottom: 4px; color: #b45309; }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card {
  display: block; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 16px; color: inherit;
}
.card:hover { border-color: #60a5fa; box-shadow: 0 4px 12px rgba(37,99,235,.12); text-decoration: none; }
.card .row1 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.card .name { font-weight: 700; font-size: 16px; }
.badge { font-size: 12px; border-radius: 999px; padding: 2px 8px; }
.badge.warn { background: #fef3c7; color: #b45309; }
.card .meta { font-size: 12px; color: #64748b; margin-bottom: 10px; }
.card dl { display: grid; grid-template-columns: 84px 1fr; gap: 3px 8px; margin: 0; font-size: 13px; }
.card dt { color: #94a3b8; }
.card dd { margin: 0; }

.note-panel {
  margin-top: 24px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 14px 16px; font-size: 14px; color: #475569; line-height: 1.7;
}
.note-panel .title { font-weight: 700; color: #1e293b; margin-bottom: 4px; }

.layout-2col { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
@media (max-width: 960px) { .layout-2col { grid-template-columns: 1fr; } }
.timeline-day { margin-bottom: 16px; }
.timeline-day .date { font-size: 13px; font-weight: 600; color: #64748b; margin-bottom: 4px; }
.timeline-day .box { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; }
.evt { border-left: 3px solid #cbd5e1; padding: 2px 0 2px 10px; margin: 4px 0; font-size: 13px; }
.evt-user { border-color: #3b82f6; }
.evt-ai { border-color: #8b5cf6; }
.evt-tool { border-color: #94a3b8; }
.evt-error { border-color: #ef4444; background: #fef2f2; }
.evt-check { border-color: #f59e0b; background: #fffbeb; }
.evt-claim { border-color: #10b981; background: #ecfdf5; }
.evt .who { font-weight: 600; }
.evt .who.user { color: #2563eb; }
.evt .who.ai { color: #7c3aed; }
.evt .muted { color: #94a3b8; font-size: 12px; margin: 2px 0; }
details.evt summary { cursor: pointer; font-weight: 600; }
details.evt .body { margin-top: 4px; padding-left: 6px; color: #475569; white-space: pre-wrap; font-size: 13px; }

.side-panel { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }
.side-panel h2 { font-size: 15px; margin: 0 0 8px; }
.tp-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 14px; }
.tp-row .st-pass { color: #15803d; background: #dcfce7; border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.tp-row .st-pending { color: #b45309; background: #fef3c7; border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.tp-row .st-none { color: #94a3b8; font-size: 12px; }
.side-panel p { font-size: 13px; color: #475569; line-height: 1.7; margin: 0; }
.v-pass { color: #15803d; }
.v-improve { color: #b45309; }
.v-fail { color: #b91c1c; }
