﻿/* ============================================================
   AI 听评课 · 模块样式（前缀 aio-）
   红白扁平主题，颜色/圆角/阴影一律走 design-tokens
   ============================================================ */
#page-ai-observe { color: var(--ink); }
.aio-page { max-width: 1280px; margin: 0 auto; padding: 20px 24px 40px; }
.aio-ic { flex: none; }
.aio-muted { color: var(--ink-4); }
.t-ok { color: var(--success); } .t-warn { color: var(--warning); } .t-brand { color: var(--brand); }
.aio-mt { margin-top: 12px; } .aio-mb { margin-bottom: 10px; }
.hidden { display: none !important; }

/* ---------- 头部 ---------- */
.aio-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.aio-h1 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: var(--ink-strong); }
.aio-h1 .aio-ic { color: var(--brand); }
.aio-sub { margin-top: 4px; font-size: 13px; color: var(--ink-3); }

.aio-roleswitch { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 3px; box-shadow: var(--shadow-xs); }
.aio-roleswitch button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 16px; border: 0; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 600; border-radius: var(--radius-pill); cursor: pointer; transition: .16s; }
.aio-roleswitch button.on { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }

/* ---------- 管理员入口 ---------- */
.aio-entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 18px; }
.aio-entry { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); cursor: pointer; text-align: left; transition: .18s; }
.aio-entry:hover { border-color: var(--brand-border); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.aio-entry-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-md); flex: none; }
.aio-entry-ic.e-red { background: var(--brand-soft); color: var(--brand); }
.aio-entry-ic.e-blue { background: #e0edff; color: #2563eb; }
.aio-entry-ic.e-green { background: #e3f7ea; color: #16a34a; }
/* 任务看板·任务身份条 */
.aio-dash-taskbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px 14px; margin-bottom: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-xs); }
.aio-dash-tname { font-size: 15px; font-weight: 600; color: var(--ink-strong); }
.aio-dash-trange { font-size: 12px; color: var(--ink-3); }
/* 催办强制弹窗 */
.aio-urgeblk { margin-bottom: 14px; }
.aio-urgeblk:last-child { margin-bottom: 0; }
.aio-urgeblk > h5 { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--brand-hover); margin: 0 0 8px; }
.aio-urgeitem { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--brand-50, #fef3f2); margin-bottom: 8px; }
.aio-urgeitem:last-child { margin-bottom: 0; }
.aio-urgeitem-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.aio-urgeitem-b b { font-size: 13px; color: var(--ink-strong); }
.aio-urgeitem-b p { margin: 0; font-size: 12px; color: var(--ink-2); }
.aio-urgeitem-b i { font-style: normal; font-size: 11px; color: var(--ink-4); }
.aio-entry-tx { display: flex; flex-direction: column; gap: 4px; }
.aio-entry-tx b { font-size: 16px; color: var(--ink-strong); }
.aio-entry-tx i { font-style: normal; font-size: 12px; color: var(--ink-3); }

/* ---------- Tabs ---------- */
.aio-maintabs { display: flex; gap: 6px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.aio-maintabs button { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 18px; border: 0; background: transparent; color: var(--ink-2); font-size: 15px; font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: .16s; }
.aio-maintabs button.on { color: var(--brand); border-bottom-color: var(--brand); }
.aio-maintabs button:hover { color: var(--brand-hover); }

.aio-subtabs { display: inline-flex; gap: 4px; background: var(--surface-2); border-radius: var(--radius-sm); padding: 4px; margin-bottom: 14px; }
.aio-subtabs button { height: 32px; padding: 0 16px; border: 0; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 600; border-radius: var(--radius-xs); cursor: pointer; transition: .16s; }
.aio-subtabs button.on { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-xs); }

/* ---------- 面板 / 工具栏 ---------- */
.aio-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 16px; }
.aio-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.aio-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.aio-field { display: flex; flex-direction: column; gap: 5px; align-items: stretch; }
.aio-field > label { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.aio-tilde { color: var(--ink-4); flex: none; }
/* 日期区间：横向排布（两个日期框 + 波浪号同一行） */
.aio-daterange { display: flex; align-items: center; gap: 8px; }
.aio-daterange .aio-input { width: 150px; }

.aio-input { height: 36px; padding: 0 11px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-size: 13px; outline: none; transition: .16s; font-family: inherit; }
.aio-input:focus { border-color: var(--brand); box-shadow: var(--ring-brand); }
textarea.aio-input { height: auto; padding: 9px 11px; resize: vertical; line-height: 1.6; }
select.aio-input { cursor: pointer; min-width: 110px; }
.aio-input-sm { height: 32px; font-size: 12px; }

/* ---------- 按钮 ---------- */
.aio-btn-primary { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border: 0; border-radius: var(--radius-sm); background: var(--brand); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: .16s; white-space: nowrap; }
.aio-btn-primary:hover { background: var(--brand-hover); box-shadow: var(--shadow-brand); transform: translateY(-1px); }
.aio-btn-ghost { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 500; cursor: pointer; transition: .16s; white-space: nowrap; }
.aio-btn-ghost:hover { border-color: var(--brand-border); color: var(--brand-hover); background: var(--brand-subtle); }
.aio-btn-sm { height: 32px; font-size: 13px; padding: 0 12px; }
.aio-link { border: 0; background: transparent; color: var(--brand); font-size: 13px; font-weight: 600; cursor: pointer; padding: 2px 6px; border-radius: 4px; transition: .14s; }
.aio-link:hover { background: var(--brand-subtle); }
.aio-link.danger { color: var(--danger); }
.aio-link.danger:hover { background: #fef2f2; }
.aio-link.ellip { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }
.aio-ops { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }

/* ---------- 表格 ---------- */
.aio-tablewrap { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: auto; }
.aio-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 760px; }
.aio-table thead th { background: var(--surface-2); color: var(--ink-3); font-weight: 600; text-align: left; padding: 11px 12px; white-space: nowrap; border-bottom: 1px solid var(--line); }
.aio-table tbody td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); color: var(--ink); vertical-align: middle; }
.aio-table tbody tr:last-child td { border-bottom: 0; }
.aio-table tbody tr:hover { background: var(--brand-subtle); }
.aio-cell-title { font-weight: 600; color: var(--ink-strong); }
.aio-score { color: var(--brand); font-size: 15px; font-weight: 700; }
.aio-checkcell { width: 36px; text-align: center; }
.aio-checkcell input, .aio-table input[type=checkbox], .aio-as-cb, .aio-tk-cb { width: 15px; height: 15px; accent-color: var(--brand); cursor: pointer; }

.aio-pager { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px 2px; font-size: 13px; color: var(--ink-3); }
.aio-pages { display: inline-flex; gap: 6px; }
.aio-pages button { min-width: 30px; height: 30px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-xs); color: var(--ink-2); cursor: pointer; }
.aio-pages button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.aio-pages button:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- 徽标 / 头像 / 标签 ---------- */
.aio-badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; }
.aio-badge-ok { background: #dcfce7; color: #15803d; }
.aio-badge-run { background: #fde8e6; color: var(--brand-hover); }
.aio-badge-warn { background: #fef3c7; color: #b45309; }
.aio-badge-mute { background: var(--surface-2); color: var(--ink-4); }
.aio-dotpulse { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: aioPulse 1s infinite; }
@keyframes aioPulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

.aio-avas { display: inline-flex; }
.aio-avas .aio-ava { margin-left: -6px; border: 1.5px solid var(--surface); }
.aio-avas .aio-ava:first-child { margin-left: 0; }
.aio-ava { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-gradient); color: #fff; font-size: 11px; font-weight: 600; flex: none; }
.aio-ava.lg { width: 40px; height: 40px; font-size: 13px; }
.aio-chip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: var(--radius-xs); background: var(--brand-soft); color: var(--brand-hover); font-size: 12px; font-weight: 500; }
.aio-chip-rm { cursor: pointer; }
.aio-chip-rm:hover { background: #fde0dd; }

/* ---------- 卡片 ---------- */
.aio-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin-bottom: 16px; overflow: hidden; }
.aio-card-h { display: flex; align-items: center; gap: 8px; padding: 13px 16px; font-size: 15px; font-weight: 600; color: var(--ink-strong); border-bottom: 1px solid var(--line-soft); }
.aio-card-hx { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.aio-card-hr { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.aio-card-b { padding: 16px; }

/* ---------- 课程卡片网格 ---------- */
.aio-cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.aio-ccard { display: flex; flex-direction: column; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; cursor: pointer; transition: .18s; padding: 0; }
.aio-ccard:hover { border-color: var(--brand-border); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.aio-cover { position: relative; height: 132px; display: grid; place-items: center; color: rgba(255,255,255,.92); }
.aio-cover .aio-cover-tag { position: absolute; left: 10px; top: 10px; background: rgba(15,23,42,.46); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .01em; padding: 3px 10px; border-radius: var(--radius-pill); backdrop-filter: blur(4px); }
.aio-ccard-b { padding: 12px 14px 14px; }
.aio-ccard-t { font-size: 15px; font-weight: 600; color: var(--ink-strong); margin-bottom: 8px; }
.aio-ccard-m { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink-3); margin-bottom: 8px; }
.aio-ccard-m span { display: inline-flex; align-items: center; gap: 4px; }
.aio-prog { color: var(--brand); font-weight: 600; }
.aio-ccard-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- 返回条 / 表单 ---------- */
.aio-backbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.aio-back { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink-2); font-size: 13px; cursor: pointer; }
.aio-back:hover { border-color: var(--brand-border); color: var(--brand-hover); }
.aio-backbar h2 { font-size: 19px; font-weight: 700; color: var(--ink-strong); }
.aio-backsub { color: var(--ink-3); font-size: 13px; padding-left: 8px; border-left: 1px solid var(--line); }

.aio-sheet { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 8px 24px; }
.aio-fsec { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.aio-fsec:last-child { border-bottom: 0; }
.aio-fsec > h3 { font-size: 15px; font-weight: 600; color: var(--ink-strong); margin-bottom: 14px; display: flex; align-items: center; gap: 4px; }
.aio-frow { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.aio-frow > label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.aio-req { color: var(--danger); font-style: normal; margin-right: 2px; }
.aio-fcol2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aio-fcol3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.aio-fcol2 .aio-frow, .aio-fcol3 .aio-frow { margin-bottom: 0; }

.aio-picker { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-size: 13px; cursor: pointer; transition: .16s; }
.aio-picker:hover { border-color: var(--brand-border); }
.aio-picker.sm { height: 36px; }
.aio-picker .aio-ic { color: var(--brand); }
.aio-picker .ph { color: var(--ink-4); }

.aio-ta-wrap { position: relative; }
.aio-aibtn { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border: 1px solid var(--brand-border); border-radius: var(--radius-pill); background: var(--brand-subtle); color: var(--brand-hover); font-size: 12px; font-weight: 600; cursor: pointer; }
.aio-aibtn:hover { background: var(--brand-soft); }
.aio-aiing { background: var(--brand-subtle); }

.aio-upload { border: 1.5px dashed var(--brand-border); border-radius: var(--radius-md); background: var(--brand-subtle); padding: 16px; text-align: center; }
.aio-upbtn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--brand-border); border-radius: var(--radius-sm); background: var(--surface); color: var(--brand-hover); font-size: 13px; font-weight: 600; cursor: pointer; }
.aio-uphint { margin-top: 8px; font-size: 12px; color: var(--ink-4); }
.aio-filelist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.aio-fileitem { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 12px; color: var(--ink-2); }
.aio-fileitem .aio-ic:last-child { color: var(--ink-4); cursor: pointer; }

.aio-formbar { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 10px; padding: 14px 0 0; margin-top: 16px; }
.aio-formbar::before { content: ''; position: absolute; inset: 0 -24px auto; height: 1px; background: var(--line); }

.aio-switchrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; }
.aio-switchrow span:first-child { display: flex; flex-direction: column; gap: 3px; font-size: 13px; font-weight: 500; color: var(--ink); }
.aio-switchrow i { font-style: normal; font-size: 12px; color: var(--ink-4); font-weight: 400; }
.aio-switch { position: relative; width: 42px; height: 24px; border-radius: var(--radius-pill); background: var(--line); cursor: pointer; transition: .18s; flex: none; }
.aio-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-xs); transition: .18s; }
.aio-switch.on { background: var(--brand); }
.aio-switch.on::after { left: 20px; }

/* ---------- 分配表 ---------- */
.aio-assign { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px; background: var(--surface-2); }
.aio-assign-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.aio-assign-tb { background: var(--surface); min-width: 600px; }
.aio-revcell { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.aio-addrow { width: 100%; margin-top: 12px; height: 44px; border: 1.5px dashed var(--brand-border); border-radius: var(--radius-sm); background: var(--brand-subtle); color: var(--brand-hover); font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.aio-addrow:hover { background: var(--brand-soft); }

/* ---------- 评课执行 ---------- */
.aio-evalgrid { display: grid; grid-template-columns: 1fr 380px; gap: 16px; align-items: start; }
.aio-evalside { position: sticky; top: 12px; }
.aio-videobox { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 240px; border-radius: var(--radius-md); background: linear-gradient(135deg, #2b2f36, #11141a); color: rgba(255,255,255,.92); cursor: pointer; }
.aio-videobox span { font-size: 13px; }
.aio-planrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.aio-planfile { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink-2); font-size: 12px; cursor: pointer; }
.aio-planfile:hover { border-color: var(--brand-border); color: var(--brand-hover); }
.aio-slices { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.aio-slice { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; width: 96px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); cursor: pointer; transition: .16s; }
.aio-slice:hover { border-color: var(--brand-border); box-shadow: var(--shadow-sm); }
.aio-slice-th { display: grid; place-items: center; width: 100%; height: 52px; border-radius: var(--radius-xs); color: #fff; }
.aio-slice b { font-size: 12px; color: var(--ink-strong); }
.aio-slice i { font-style: normal; font-size: 11px; color: var(--ink-3); }

/* 教学切片播放器：左视频 / 右切片列表 */
.aio-sliceplayer { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; align-items: stretch; }
.aio-sp-video { display: flex; flex-direction: column; gap: 10px; }
.aio-sp-stage { position: relative; flex: 1; min-height: 300px; border-radius: var(--radius-md); overflow: hidden; background: #11141a; }
.aio-sp-stagebg { position: absolute; inset: 0; opacity: .92; transition: background .3s ease; }
.aio-sp-stagebg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,0) 38%, rgba(0,0,0,.45)); }
.aio-sp-playbtn { position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; border-radius: 50%; border: 0; background: rgba(0,0,0,.36); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 2; transition: .16s; }
.aio-sp-playbtn:hover { background: rgba(0,0,0,.55); transform: scale(1.06); }
.aio-sp-stagetop { position: absolute; top: 12px; left: 14px; right: 14px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: rgba(255,255,255,.92); font-size: 12px; }
.aio-sp-live b { color: #fff; }
.aio-sp-fname { max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .8; }
.aio-sp-stagelabel { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 8px; }
.aio-sp-stagelabel b { font-size: 17px; font-weight: 600; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.aio-sp-stagetag { background: rgba(255,255,255,.24); color: #fff; padding: 2px 11px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 500; backdrop-filter: blur(2px); }
.aio-sp-bar { display: flex; gap: 3px; height: 8px; }
.aio-sp-seg { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-pill); cursor: pointer; transition: .16s; min-width: 6px; }
.aio-sp-seg:hover { background: var(--brand-soft); }
.aio-sp-seg.on { background: var(--brand-gradient); border-color: transparent; }
.aio-sp-timerow { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }
.aio-sp-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.aio-sp-listh { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); font-size: 14px; font-weight: 600; color: var(--ink-strong); background: var(--surface-2); }
.aio-sp-listh span { font-size: 12px; font-weight: 400; color: var(--ink-4); }
.aio-sp-items { overflow: auto; max-height: 348px; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.aio-sp-item { display: flex; align-items: flex-start; gap: 10px; width: 100%; text-align: left; padding: 10px; border: 1px solid transparent; border-radius: var(--radius-sm); cursor: pointer; transition: .16s; position: relative; }
.aio-sp-item:hover { background: var(--surface-2); }
.aio-sp-item.on { background: var(--brand-subtle); border-color: var(--brand-border); }
.aio-sp-idx { font-size: 13px; font-weight: 700; color: var(--ink-4); width: 20px; flex: none; padding-top: 12px; text-align: center; }
.aio-sp-item.on .aio-sp-idx { color: var(--brand); }
.aio-sp-thumb { width: 68px; height: 46px; border-radius: var(--radius-xs); display: grid; place-items: center; color: rgba(255,255,255,.92); flex: none; }
.aio-sp-meta { flex: 1; min-width: 0; }
.aio-sp-meta b { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-strong); margin-bottom: 3px; }
.aio-sp-tag { font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: var(--radius-xs); }
.aio-sp-meta i { display: block; font-style: normal; font-size: 11px; color: var(--ink-4); margin-bottom: 4px; }
.aio-sp-meta p { font-size: 12px; color: var(--ink-3); line-height: 1.55; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.aio-sp-go { display: none; align-items: center; gap: 3px; align-self: center; flex: none; font-size: 12px; font-weight: 600; color: var(--brand); }
.aio-sp-item.on .aio-sp-go, .aio-sp-item:hover .aio-sp-go { display: inline-flex; }

/* ---------- 媒体主栏 + 内容侧栏（课程详情 / 评课执行：视频+切片常驻） ---------- */
.aio-mediagrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px; align-items: start; }
.aio-mediamain { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 16px; }
.aio-mediaplans .aio-planrow { margin-top: 0; }
.aio-mediaside { min-width: 0; }
.aio-mediaside .aio-subtabs { flex-wrap: wrap; }
.aio-mediabody { margin-top: 12px; }
.aio-mediaside .aio-scorecard .aio-card-b { max-height: none; }
/* 竖排切片：视频在上、切片列表在下（媒体主栏） */
.aio-sliceplayer.aio-sp--col:not(.aio-sp--strip) .aio-sp-items { max-height: 320px; }
/* 行内 AI 课例分析（课程详情 / 评课执行下方） */
.aio-anainline { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.aio-anainline-h { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--ink-strong); margin-bottom: 12px; }
.aio-anainline-h .aio-ic { color: var(--brand); }
/* 切片横向条模式：视频在上、切片横向滚动在下 */
.aio-sliceplayer.aio-sp--col { grid-template-columns: 1fr; }
.aio-sp-items--strip { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 10px; gap: 10px; }
.aio-sp-items--strip .aio-sp-item { flex: none; width: 172px; flex-direction: column; align-items: stretch; gap: 6px; border: 1px solid var(--line); padding: 8px; }
.aio-sp-items--strip .aio-sp-item.on { border-color: var(--brand-border); }
.aio-sp-items--strip .aio-sp-idx { width: auto; padding: 0; text-align: left; }
.aio-sp-items--strip .aio-sp-thumb { width: 100%; height: 60px; }
.aio-sp-items--strip .aio-sp-meta b { font-size: 12px; }
.aio-sp-items--strip .aio-sp-meta i { margin-bottom: 0; }
.aio-sp-items--strip .aio-sp-meta p { display: none; }
.aio-sp-items--strip .aio-sp-go { display: none !important; }

/* ---------- 评分面板 ---------- */
.aio-scorecard .aio-card-b { max-height: 62vh; overflow: auto; }
.aio-scgroup { margin-bottom: 14px; }
.aio-scgroup h4 { font-size: 13px; font-weight: 700; color: var(--brand); padding: 6px 10px; background: var(--brand-subtle); border-radius: var(--radius-xs); margin-bottom: 8px; }
.aio-scrow { padding: 8px 4px; border-bottom: 1px solid var(--line-soft); }
.aio-scname { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink); margin-bottom: 6px; }
.aio-wt { font-size: 11px; color: var(--ink-4); background: var(--surface-2); padding: 1px 7px; border-radius: var(--radius-pill); }
.aio-wt.wt-text { color: var(--warning); background: #fef3c7; }
.aio-stars { display: inline-flex; gap: 2px; }
.aio-stars.dim { color: var(--ink-4); }
.aio-star { border: 0; background: transparent; color: var(--ink-4); cursor: pointer; padding: 1px; line-height: 0; }
.aio-star.on { color: #f59e0b; }
.aio-star.on .aio-ic { fill: #f59e0b; }
.aio-sctext { width: 100%; }
/* 评分组件多格式 */
.aio-scmeta { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.aio-scgot { font-size: 11px; color: var(--brand-hover); }
.aio-scctl { margin-top: 2px; }
.aio-scnum { display: inline-flex; align-items: center; gap: 8px; }
.aio-scnum-in { width: 96px; }
.aio-scnum-suffix { font-size: 12px; color: var(--ink-3); }
.aio-scslider { display: flex; align-items: center; gap: 12px; }
.aio-range { flex: 1; accent-color: var(--brand); height: 4px; cursor: pointer; }
.aio-scslider-v { font-size: 12px; color: var(--ink-2); min-width: 38px; text-align: right; }
.aio-sclevels, .aio-scnums { display: flex; flex-wrap: wrap; gap: 6px; }
.aio-sclevel { height: 28px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink-2); font-size: 12px; cursor: pointer; transition: .14s; }
.aio-sclevel:hover { border-color: var(--brand-border); color: var(--brand-hover); }
.aio-sclevel.on { background: var(--brand-soft); border-color: var(--brand-border); color: var(--brand-hover); font-weight: 600; }
.aio-scnumbtn { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink-2); font-size: 12px; cursor: pointer; transition: .14s; }
.aio-scnumbtn:hover { border-color: var(--brand-border); }
.aio-scnumbtn.on { background: var(--brand); color: #fff; border-color: transparent; }
.aio-scnum-in:disabled, .aio-range:disabled, .aio-sclevel:disabled, .aio-scnumbtn:disabled { opacity: .85; cursor: default; }
.aio-scfoot { display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); }
.aio-scfoot .aio-btn-primary, .aio-scfoot .aio-btn-ghost { flex: 1; justify-content: center; }

/* ---------- 列表/详情通用 ---------- */
.aio-bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.aio-bullets li { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.aio-bullets b { display: inline-block; margin-right: 6px; font-weight: 700; }
.aio-aiscore { margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.aio-aiscore b { font-size: 22px; color: var(--brand); margin-left: 4px; }
.aio-deflist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.aio-defrow { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.aio-defrow span { color: var(--ink-3); }
.aio-defrow b { color: var(--ink-strong); font-weight: 600; text-align: right; }
.aio-revitem { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.aio-revitem:last-child { border-bottom: 0; }
.aio-revh { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.aio-revitem p { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.aio-reflectbox p { font-size: 13px; color: var(--ink-2); line-height: 1.8; margin-bottom: 8px; }
.aio-transcript { display: flex; flex-direction: column; gap: 12px; max-height: 560px; overflow-y: auto; padding-right: 4px; }
.aio-tsbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; position: sticky; top: 0; background: var(--surface); padding: 2px 0 8px; border-bottom: 1px solid var(--line-soft); font-size: 12px; color: var(--ink-3); z-index: 1; }
.aio-tslegend { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.aio-tslegend i { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--rc, var(--brand)); padding: 2px 8px; border-radius: var(--radius-pill); }
.aio-tline { display: flex; gap: 10px; align-items: flex-start; }
.aio-trole { display: grid; place-items: center; min-width: 42px; height: 22px; padding: 0 8px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; color: #fff; flex: none; background: var(--rc, var(--brand)); }
.aio-tbody { min-width: 0; }
.aio-ttime { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; margin-right: 8px; }
.aio-tline p { display: inline; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.aio-tline.is-t p { color: var(--ink-strong); }

/* ---------- KPI ---------- */
.aio-kpis { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.aio-kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.aio-kpi-h { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-weight: 600; color: var(--ink-strong); background: var(--surface-2); border-bottom: 1px solid var(--line-soft); }
.aio-kpi-h .aio-ic { color: var(--brand); }
.aio-kpi-b { padding: 12px 16px; }
.aio-kpi-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13px; }
.aio-kpi-row span { color: var(--ink-3); flex: none; }
.aio-kpi-row b { color: var(--ink-strong); font-weight: 600; text-align: right; }

/* ---------- 报课跟进卡片 ---------- */
.aio-rcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.aio-rcard { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); transition: .16s; }
.aio-rcard:hover { border-color: var(--brand-border); box-shadow: var(--shadow-sm); }
.aio-rcard-l { display: flex; align-items: center; gap: 10px; }
.aio-rcard-l b { font-size: 14px; color: var(--ink-strong); }
.aio-rcard-l i { font-style: normal; font-size: 12px; color: var(--ink-3); }

/* ---------- 量规卡片 ---------- */
.aio-rubgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.aio-rubcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 16px; transition: .18s; }
.aio-rubcard:hover { border-color: var(--brand-border); box-shadow: var(--shadow-md); }
.aio-rubcard-h { display: flex; gap: 12px; margin-bottom: 12px; }
.aio-rubcard-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand); flex: none; }
.aio-rubcard-h b { font-size: 15px; color: var(--ink-strong); display: block; margin-bottom: 4px; }
.aio-rubcard-h i { font-style: normal; font-size: 12px; color: var(--ink-3); }
.aio-rubcard-dims { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.aio-rubcard-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 12px; }

/* ---------- 量规搭建器 ---------- */
.aio-bd { display: grid; grid-template-columns: 200px 1fr 280px; gap: 16px; align-items: start; }
.aio-bd-lib, .aio-bd-prop { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 14px; position: sticky; top: 12px; }
.aio-bd-lib h4, .aio-bd-prop h4 { font-size: 13px; font-weight: 700; color: var(--ink-strong); margin-bottom: 12px; }
.aio-libitem { display: flex; align-items: center; gap: 8px; width: 100%; height: 40px; padding: 0 12px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 500; cursor: pointer; transition: .16s; }
.aio-libitem:hover { border-color: var(--brand-border); color: var(--brand-hover); background: var(--brand-subtle); }
.aio-libitem .aio-ic { color: var(--brand); }
.aio-bd-tip, .aio-bd-prop .aio-muted { font-size: 12px; color: var(--ink-4); margin-top: 8px; }
.aio-bd-canvas { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 18px; }
.aio-bd-meta { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.aio-bd-list { display: flex; flex-direction: column; gap: 12px; }
.aio-bd-empty { padding: 40px; text-align: center; color: var(--ink-4); border: 1.5px dashed var(--line); border-radius: var(--radius-md); }
.aio-bd-comp { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 14px; cursor: pointer; transition: .16s; }
.aio-bd-comp:hover { border-color: var(--brand-border); }
.aio-bd-comp.sel { border-color: var(--brand); box-shadow: var(--ring-brand); }
.aio-bd-comp-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.aio-bd-type { font-size: 11px; color: var(--ink-4); background: var(--surface-2); padding: 2px 8px; border-radius: var(--radius-pill); }
.aio-bd-title { font-size: 15px; font-weight: 700; color: var(--ink-strong); }
.aio-bd-q { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.aio-bd-opt { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); padding: 3px 0; }
.aio-bd-opts { display: flex; flex-direction: column; gap: 6px; }
.aio-bd-optrow { display: flex; align-items: center; gap: 6px; }
.aio-bd-optrow .aio-input { flex: 1; height: 32px; }
.aio-bd-prop .aio-frow { margin-bottom: 12px; }

/* ---------- 弹窗 ---------- */
#aio-modal-root { position: fixed; inset: 0; z-index: 1200; display: none; }
#aio-modal-root.open { display: block; }
.aio-mask { position: absolute; inset: 0; background: var(--overlay); animation: aioFade .16s ease; }
.aio-modal { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 560px; max-width: calc(100vw - 32px); max-height: calc(100vh - 48px); background: var(--surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); display: flex; flex-direction: column; animation: aioPop .18s ease; }
.aio-modal.sm { width: 440px; } .aio-modal.md { width: 640px; } .aio-modal.lg { width: 880px; }
.aio-modal-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.aio-modal-h h3 { font-size: 16px; font-weight: 700; color: var(--ink-strong); }
.aio-modal-x { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink-3); cursor: pointer; }
.aio-modal-x:hover { background: var(--brand-soft); color: var(--brand); }
.aio-modal-b { padding: 18px 20px; overflow: auto; }
.aio-modal-f { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); }
@keyframes aioFade { from { opacity: 0; } } @keyframes aioPop { from { opacity: 0; transform: translate(-50%, -46%); } }

.aio-simplelist, .aio-namelist { display: flex; flex-direction: column; gap: 4px; }
.aio-namelist.grid, .aio-rp-list { gap: 6px; }
.aio-namelist.grid { display: grid; grid-template-columns: 1fr 1fr; }
.aio-simple-item { text-align: left; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-size: 13px; cursor: pointer; }
.aio-simple-item:hover { border-color: var(--brand-border); background: var(--brand-subtle); color: var(--brand-hover); }
.aio-nameitem { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: var(--radius-sm); font-size: 13px; color: var(--ink); }
.aio-nameitem:hover { background: var(--surface-2); }
.aio-checkall { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.aio-checkall input { width: 15px; height: 15px; accent-color: var(--brand); }
.aio-progcol h5 { font-size: 13px; font-weight: 700; margin: 10px 0 6px; }
.aio-confirm { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.aio-confirm b { color: var(--danger); }

/* 量表选择弹窗 */
.aio-rp-tabs { margin-bottom: 12px; }
.aio-rp-item { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-md); cursor: pointer; transition: .16s; }
.aio-rp-item:hover { border-color: var(--brand-border); }
.aio-rp-item input { accent-color: var(--brand); width: 16px; height: 16px; }
.aio-rp-item b { font-size: 14px; color: var(--ink-strong); display: block; }
.aio-rp-item i { font-style: normal; font-size: 12px; color: var(--ink-3); }

/* 教案预览弹窗 */
.aio-lp { display: grid; grid-template-columns: 220px 1fr; gap: 16px; min-height: 420px; }
.aio-lp-list { display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); padding-right: 12px; }
.aio-lp-file { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink-2); font-size: 13px; cursor: pointer; text-align: left; }
.aio-lp-file.on { border-color: var(--brand); background: var(--brand-subtle); color: var(--brand-hover); }
.aio-lp-view { background: var(--surface-2); border-radius: var(--radius-md); padding: 24px; overflow: auto; }
.aio-lp-doc h4 { font-size: 16px; font-weight: 700; color: var(--ink-strong); margin-bottom: 12px; }
.aio-lp-doc p { font-size: 13px; color: var(--ink-2); line-height: 1.9; }

/* 人员选择弹窗 */
.aio-pp-body { display: grid; grid-template-columns: 1fr 220px; gap: 14px; }
.aio-pp-tree { max-height: 360px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 8px; }
.aio-pp-group { margin-bottom: 4px; }
.aio-pp-gh { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; border-radius: var(--radius-sm); }
.aio-pp-gh:hover { background: var(--surface-2); }
.aio-pp-gh .aio-ic { color: var(--brand); }
.aio-pp-cnt { margin-left: auto; font-size: 11px; color: var(--ink-4); background: var(--surface-2); padding: 1px 7px; border-radius: var(--radius-pill); }
.aio-pp-mems { padding-left: 10px; }
.aio-pp-group.collapsed .aio-pp-mems { display: none; }
.aio-pp-mem { display: flex; align-items: center; gap: 8px; padding: 6px 10px; font-size: 13px; color: var(--ink); cursor: pointer; border-radius: var(--radius-sm); }
.aio-pp-mem:hover { background: var(--brand-subtle); }
.aio-pp-mem input { accent-color: var(--brand); width: 15px; height: 15px; }
.aio-pp-sel { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 10px; }
.aio-pp-selh { font-size: 12px; color: var(--ink-3); margin-bottom: 8px; }
.aio-pp-selh b { color: var(--brand); }
.aio-pp-selist { display: flex; flex-wrap: wrap; gap: 6px; }

/* 生成 AI 弹窗 */
.aio-genai { text-align: center; padding: 12px 8px; }
.aio-genai-ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; animation: aioPulse 1.4s infinite; }
.aio-genai p { font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.aio-genbar { height: 8px; border-radius: var(--radius-pill); background: var(--surface-2); overflow: hidden; margin-bottom: 12px; }
.aio-genbar span { display: block; height: 100%; width: 0; background: var(--brand-gradient); transition: width .6s ease; }
.aio-genhint { font-size: 12px; }

.aio-rf .aio-frow, .aio-avplayer { margin-bottom: 14px; }
.aio-avplayer { text-align: center; padding: 30px 16px; background: linear-gradient(135deg, #2b2f36, #11141a); border-radius: var(--radius-md); color: rgba(255,255,255,.92); }
.aio-avplayer p { margin: 12px 0; font-size: 13px; }
.aio-avbar { height: 6px; border-radius: var(--radius-pill); background: rgba(255,255,255,.2); overflow: hidden; }
.aio-avbar span { display: block; height: 100%; background: var(--brand); }
.aio-avtime { margin-top: 8px; font-size: 12px; color: rgba(255,255,255,.7); }

/* ---------- AI 课例分析 ---------- */
.aio-anawrap { display: flex; flex-direction: column; }
.aio-anatop { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; margin-bottom: 16px; }
.aio-anatop-l { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 18px; }
.aio-bigscore { display: grid; place-content: center; text-align: center; width: 120px; border-radius: var(--radius-md); background: var(--brand-gradient); color: #fff; flex: none; }
.aio-bigscore-n { font-size: 44px; font-weight: 800; line-height: 1; }
.aio-bigscore-t { font-size: 12px; margin-top: 6px; opacity: .9; }
.aio-idx { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.aio-idx-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.aio-idx-bar { height: 10px; border-radius: var(--radius-pill); background: var(--surface-2); overflow: hidden; margin-bottom: 10px; }
.aio-idx-bar span { display: block; height: 100%; background: var(--brand-gradient); }
.aio-idx p { font-size: 12px; line-height: 1.6; }
.aio-anatop-r { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.aio-sumcard { background: var(--surface); border: 1px solid var(--line); border-left-width: 3px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 14px; }
.aio-sumcard.t-ok { border-left-color: var(--success); }
.aio-sumcard.t-warn { border-left-color: var(--warning); }
.aio-sumcard.t-brand { border-left-color: var(--brand); }
.aio-sumcard b { font-size: 13px; display: block; margin-bottom: 6px; }
.aio-sumcard.t-ok b { color: var(--success); } .aio-sumcard.t-warn b { color: var(--warning); } .aio-sumcard.t-brand b { color: var(--brand); }
.aio-sumcard p { font-size: 12px; color: var(--ink-2); line-height: 1.6; }

.aio-anagrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aio-anacard { margin-bottom: 0; }
.aio-chart { width: 100%; }
.aio-chartwarn { padding: 10px 14px; margin-bottom: 12px; background: #fef3c7; color: #b45309; font-size: 13px; border-radius: var(--radius-sm); }

/* ---------- 课程详情：顶部大 Tab（AI 课例分析 / 评价列表） ---------- */
.aio-bigtabs { display: flex; align-items: flex-end; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.aio-bigtabs button { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 2px; border: 0; background: transparent; color: var(--ink-3); font-size: 15px; font-weight: 600; cursor: pointer; transition: color .16s ease; }
.aio-bigtabs button .aio-ic { color: var(--ink-4); transition: color .16s ease; }
.aio-bigtabs button:hover { color: var(--ink-strong); }
.aio-bigtabs button:hover .aio-ic { color: var(--ink-2); }
.aio-bigtabs button.on { color: var(--brand); }
.aio-bigtabs button.on .aio-ic { color: var(--brand); }
.aio-bigtabs button.on::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: -1px; height: 2.5px; border-radius: 2px 2px 0 0; background: var(--brand); }

/* ---------- 评价列表（按维度展示 AI 与各位老师评价） ---------- */
.aio-evlist { display: flex; flex-direction: column; gap: 22px; }
/* 顶部综合评分 */
.aio-evhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 16px 20px; }
.aio-evtiles { display: flex; gap: 12px; }
.aio-evtile { display: flex; flex-direction: column; gap: 2px; min-width: 124px; padding: 12px 16px; border-radius: var(--radius-md); border: 1px solid var(--line); }
.aio-evtile i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.aio-evtile b { font-size: 30px; font-weight: 800; line-height: 1.05; }
.aio-evtile em { font-style: normal; font-size: 11px; color: var(--ink-4); }
.aio-evtile.is-ai { background: var(--brand-50); border-color: var(--brand-100); }
.aio-evtile.is-ai b { color: var(--brand); }
.aio-evtile.is-human { background: #eff6ff; border-color: #dbeafe; }
.aio-evtile.is-human b { color: #2563eb; }
.aio-evhead-r { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; margin-left: auto; }
.aio-evhead-note { font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.aio-evhead-note .aio-ic { color: var(--brand); flex: none; }
.aio-evhead-note b { color: var(--ink-strong); font-weight: 700; }
.aio-evhead-revs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
/* 维度分组 */
.aio-evgroup { display: flex; flex-direction: column; gap: 12px; }
.aio-evgroup-h { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink-strong); }
.aio-evgroup-h .aio-secttl-bar { width: 4px; height: 15px; border-radius: 2px; background: var(--brand); }
/* 单个维度卡片 */
.aio-evdim { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.aio-evdim-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.aio-evdim-h b { font-size: 14px; font-weight: 700; color: var(--ink-strong); }
.aio-evdim-w { font-size: 12px; font-weight: 600; color: var(--ink-3); background: var(--surface); border: 1px solid var(--line); padding: 2px 9px; border-radius: var(--radius-pill); }
.aio-evdim-w.is-text { color: var(--ink-4); }
.aio-evdim-rows { display: flex; flex-direction: column; }
/* 单条评价（评价人 / 分数 / 点评） */
.aio-evrow { display: grid; grid-template-columns: 138px 60px 1fr; align-items: center; gap: 14px; padding: 13px 16px; border-top: 1px solid var(--line-soft); }
.aio-evrow:first-child { border-top: 0; }
.aio-evrow.is-ai { background: linear-gradient(90deg, var(--brand-50), transparent 75%); }
.aio-evrow-who { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.aio-evrow-who b { font-size: 13px; font-weight: 600; color: var(--ink-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aio-ava--ai { background: var(--brand-gradient); }
.aio-ava--t { background: #e2e8f0; color: var(--ink-2); }
.aio-evrow-score { font-size: 19px; font-weight: 800; color: #2563eb; text-align: center; white-space: nowrap; }
.aio-evrow-score.is-ai { color: var(--brand); }
.aio-evrow-score i { font-style: normal; font-size: 11px; font-weight: 600; color: var(--ink-4); margin-left: 1px; }
.aio-evrow-score.is-na { color: var(--ink-4); font-size: 15px; }
.aio-evrow-note { font-size: 13px; color: var(--ink-2); line-height: 1.6; min-width: 0; }
.aio-evempty { display: flex; align-items: center; gap: 6px; padding: 14px 16px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-4); }
.aio-evempty .aio-ic { color: var(--ink-4); }
@media (max-width: 640px) {
  .aio-evrow { grid-template-columns: 1fr auto; grid-template-areas: "who score" "note note"; gap: 6px 12px; }
  .aio-evrow-who { grid-area: who; }
  .aio-evrow-score { grid-area: score; text-align: right; }
  .aio-evrow-note { grid-area: note; }
  .aio-evhead-r { align-items: flex-start; margin-left: 0; }
  .aio-evhead-revs { justify-content: flex-start; }
}

.aio-knodes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.aio-knode { padding: 6px 14px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; color: #fff; background: var(--c, var(--brand)); }
.aio-kbars { display: flex; flex-direction: column; gap: 10px; }
.aio-kbar { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.aio-kbar > span { width: 70px; color: var(--ink-3); flex: none; }
.aio-kbar-t { flex: 1; height: 10px; border-radius: var(--radius-pill); background: var(--surface-2); overflow: hidden; }
.aio-kbar-t span { display: block; height: 100%; background: var(--brand-gradient); }
.aio-kbar b { width: 30px; text-align: right; color: var(--brand); }
.aio-structure { display: flex; gap: 4px; height: 56px; border-radius: var(--radius-sm); overflow: hidden; }
.aio-struct-seg { display: grid; place-items: center; color: var(--ink-strong); font-size: 12px; font-weight: 600; min-width: 0; }
.aio-struct-seg span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }
.aio-anacols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aio-anacols h5 { font-size: 13px; font-weight: 700; color: var(--ink-strong); margin-bottom: 8px; }
.aio-para { font-size: 13px; color: var(--ink-2); line-height: 1.8; }

/* ---------- 知识点掌握度详情 ---------- */
.aio-kdetail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.aio-kcol h5 { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-strong); margin-bottom: 14px; }
.aio-kcol h5::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--brand)); flex: none; }

/* ---------- 知识图谱图例 ---------- */
.aio-glegends { display: flex; flex-wrap: wrap; gap: 16px; }
.aio-glegend { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.aio-glegend i { width: 11px; height: 11px; border-radius: 50%; flex: none; }

/* ---------- Toast ---------- */
.aio-toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px); z-index: 1400; background: var(--ink-strong); color: #fff; font-size: 14px; padding: 11px 22px; border-radius: var(--radius-pill); box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: .22s; }
.aio-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 数据概览 ---------- */
.aio-dataov { margin-top: 4px; }
.aio-ovstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.aio-ovstat { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.aio-ovstat-l { font-size: 12px; color: var(--ink-3); }
.aio-ovstat-v { font-size: 24px; font-weight: 800; color: var(--brand); line-height: 1.1; }
.aio-ovstat-s { font-style: normal; font-size: 11px; color: var(--ink-4); }

/* ---------- 新增状态徽标 / 小提示 ---------- */
.aio-badge-err { background: #fef2f2; color: var(--danger); }
.aio-hint-sm { font-size: 11px; margin-left: 4px; }
.aio-chip-lock { background: #fff7ed; color: #c2410c; }
.aio-chip-ok { background: #dcfce7; color: #15803d; }

/* ---------- 编辑约束提示条（v2 §2.1） ---------- */
.aio-notice { display: flex; align-items: center; gap: 8px; padding: 10px 14px; margin-bottom: 16px; font-size: 13px; line-height: 1.6; border-radius: var(--radius-md); border: 1px solid transparent; }
.aio-notice .aio-ic { flex: none; }
.aio-notice-info { background: var(--brand-subtle); color: var(--brand-hover); border-color: var(--brand-border); }
.aio-notice-warn { background: #fef3c7; color: #b45309; border-color: #fcd9a6; }

/* 禁用态（编辑约束） */
.aio-picker.is-disabled { opacity: .6; cursor: not-allowed; background: var(--surface-2); }
.aio-picker.is-disabled:hover { border-color: var(--line); }
.aio-switch.is-disabled { opacity: .45; cursor: not-allowed; }

/* ---------- 报告对比（AI vs 人工，v2 §4.2.2/§6） ---------- */
.aio-cmp-top { display: flex; align-items: stretch; gap: 16px; }
.aio-cmp-score { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.aio-cmp-score .aio-cmp-tag { font-size: 13px; font-weight: 600; }
.aio-cmp-score b { font-size: 40px; font-weight: 800; line-height: 1; }
.aio-cmp-score i { font-style: normal; font-size: 12px; color: var(--ink-4); }
.aio-cmp-score.is-ai { background: var(--brand-subtle); }
.aio-cmp-score.is-ai .aio-cmp-tag { color: var(--brand-hover); }
.aio-cmp-score.is-ai b { color: var(--brand); }
.aio-cmp-score.is-human { background: #eff5ff; }
.aio-cmp-score.is-human .aio-cmp-tag { color: #1d4ed8; }
.aio-cmp-score.is-human b { color: #2563eb; }
.aio-cmp-vs { display: grid; place-items: center; font-size: 14px; font-weight: 700; color: var(--ink-4); }
.aio-cmp-note { display: flex; align-items: flex-start; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.aio-cmp-note .aio-ic { color: var(--brand); flex: none; margin-top: 2px; }
.aio-cmp-note b { color: var(--brand-hover); }
.aio-cmp-revs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* ---------- 课程封面图 ---------- */
.aio-cover { overflow: hidden; background: var(--surface-2); }
.aio-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* 底部渐隐遮罩：让左下角状态、右下角分数在浅色封面上仍清晰可读 */
.aio-cover::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(15, 23, 42, .42) 0%, rgba(15, 23, 42, .10) 32%, transparent 56%); }
.aio-cover-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(15, 23, 42, .38); color: #fff; backdrop-filter: blur(3px); box-shadow: 0 4px 14px rgba(15, 23, 42, .25); transition: .18s ease; z-index: 2; }
.aio-ccard:hover .aio-cover-play, .aio-ccard-click:hover .aio-cover-play { background: var(--brand); box-shadow: var(--shadow-brand); transform: translate(-50%, -50%) scale(1.06); }
.aio-cover .aio-cover-tag { z-index: 2; }

/* 卡片可点击封面区 + 状态角标 */
.aio-ccard-click { position: relative; display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 0; cursor: pointer; }
/* 含三点菜单的卡片不裁剪溢出（否则下拉菜单被卡住），封面圆角由封面区自身裁剪 */
.aio-pcard, .aio-rcard { cursor: default; overflow: visible; }
.aio-pcard > .aio-ccard-click, .aio-rcard > .aio-ccard-click { border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; }
.aio-pcard-ai { position: absolute; top: 10px; right: 10px; z-index: 3; }
.aio-pcard-ai .aio-badge { box-shadow: 0 2px 6px rgba(15,23,42,.18); }
.aio-pcard-score { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 9px; border-radius: var(--radius-pill); background: rgba(15, 23, 42, .55); color: #fff; font-size: 13px; font-weight: 700; }
.aio-pcard-score .aio-ic { color: #fbbf24; }
.aio-pcard-draft { position: absolute; left: 10px; bottom: 10px; z-index: 3; height: 22px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: var(--radius-pill); background: rgba(15, 23, 42, .55); color: #fff; font-size: 12px; font-weight: 600; }
.aio-pcard-foot { display: flex; align-items: center; gap: 8px; padding: 0 14px 14px; margin-top: auto; }
.aio-pcard-foot .aio-btn-primary, .aio-pcard-foot .aio-btn-ghost { flex: 1; justify-content: center; }
/* 卡片正文内的普通文字元信息（替代标签）；内容左对齐 */
.aio-ccard-meta, .aio-rcard-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; text-align: left; }

/* ---------- 报课·查看 卡片（重新设计） ---------- */
.aio-rcard { position: relative; display: flex; flex-direction: column; }
.aio-rcard .aio-cover { height: 150px; }
.aio-rcard-body { padding: 14px 16px 12px; text-align: left; display: flex; flex-direction: column; gap: 7px; flex: 1 1 auto; }
.aio-rcard-title { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--ink-strong); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.aio-rcard-body .aio-rcard-meta { margin: 0; }
.aio-rcard-time { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-3); }
.aio-rcard-time .aio-ic { color: var(--ink-4); flex: none; }
/* 统计胶囊行：评课进度 / 综合得分 */
.aio-rcard-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 1px; }
.aio-rcard-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.aio-rcard-chip .aio-ic { color: var(--ink-4); flex: none; }
.aio-rcard-chip.is-done { background: #dcfce7; border-color: transparent; color: #15803d; }
.aio-rcard-chip.is-done .aio-ic { color: #16a34a; }
.aio-rcard-chip.is-score { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-hover); }
.aio-rcard-chip.is-score .aio-ic { color: #f59e0b; }
/* 三点菜单：卡片右上角（封面之上） */
.aio-rcard-kebab { position: absolute; top: 10px; right: 10px; z-index: 20; }
.aio-rcard-kebab .aio-kebab-btn { width: 30px; height: 30px; background: rgba(255,255,255,.92); border-color: transparent; box-shadow: 0 2px 8px rgba(15,23,42,.18); color: var(--ink-2); }
.aio-rcard-kebab .aio-kebab-btn:hover { background: #fff; color: var(--brand); }
/* 封面左下角状态徽标 */
.aio-rcard-cstate { position: absolute; left: 10px; bottom: 10px; z-index: 3; }
.aio-rcard-cstate .aio-badge { box-shadow: 0 2px 6px rgba(15,23,42,.18); }
/* 底部操作区 */
.aio-rcard-foot { display: flex; align-items: center; gap: 8px; padding: 12px 16px 14px; margin-top: auto; border-top: 1px solid var(--line-soft); }
.aio-rcard-foot > button { flex: 1 1 0; min-width: 0; height: 34px; padding: 0 6px; font-size: 12.5px; gap: 4px; justify-content: center; white-space: nowrap; border-radius: var(--radius-sm); }
.aio-rcard-foot > .aio-btn-primary { flex: 1.18 1 0; }
.aio-rcard-foot > button:disabled { opacity: .5; cursor: not-allowed; }
.aio-rcard-foot > button:disabled:hover { border-color: var(--line); color: var(--ink-2); background: var(--surface); transform: none; box-shadow: none; }

/* 三点菜单 */
.aio-kebab { position: relative; flex: none; }
.aio-kebab-btn { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink-3); cursor: pointer; transition: .16s; }
.aio-kebab-btn:hover { border-color: var(--brand-border); color: var(--brand-hover); background: var(--brand-subtle); }
.aio-kebab-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 138px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 6px; z-index: 60; display: none; }
.aio-pcard-foot .aio-kebab-menu { top: auto; bottom: calc(100% + 6px); }
.aio-kebab.open .aio-kebab-menu { display: block; }
.aio-kebab-item { display: flex; align-items: center; gap: 8px; width: 100%; height: 34px; padding: 0 10px; border: 0; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 500; border-radius: var(--radius-sm); cursor: pointer; text-align: left; transition: .14s; }
.aio-kebab-item:hover { background: var(--brand-subtle); color: var(--brand-hover); }
.aio-kebab-item .aio-ic { color: var(--ink-4); }
.aio-kebab-item:hover .aio-ic { color: var(--brand); }
.aio-kebab-item.danger { color: var(--danger); }
.aio-kebab-item.danger:hover { background: #fef2f2; color: var(--danger); }
.aio-kebab-item.danger .aio-ic { color: var(--danger); }

/* 区段标题 */
.aio-secttl { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-strong); margin: 4px 0 12px; }
.aio-secttl-bar { width: 4px; height: 15px; border-radius: 2px; background: var(--brand-gradient); }
.aio-secttl i { font-style: normal; font-size: 12px; font-weight: 400; color: var(--ink-4); }

/* 任务基础信息卡片组 */
.aio-taskinfo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 16px 18px; margin-bottom: 16px; }
.aio-taskinfo-name { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.aio-taskinfo-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand); flex: none; }
.aio-taskinfo-name > div { flex: 1; min-width: 0; }
.aio-taskinfo-name b { display: block; font-size: 16px; font-weight: 700; color: var(--ink-strong); }
.aio-taskinfo-name i { font-style: normal; font-size: 12px; color: var(--ink-4); }
.aio-taskinfo-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.aio-taskinfo-tile { display: flex; align-items: flex-start; gap: 10px; padding: 12px; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: var(--radius-md); }
.aio-taskinfo-tic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--radius-sm); background: var(--surface); color: var(--brand); border: 1px solid var(--line); flex: none; }
.aio-taskinfo-tile > div { min-width: 0; }
.aio-taskinfo-tile label { display: block; font-size: 12px; color: var(--ink-4); margin-bottom: 3px; }
.aio-taskinfo-tile b { display: block; font-size: 14px; font-weight: 700; color: var(--ink-strong); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aio-taskinfo-tile b .aio-badge { font-size: 12px; }
.aio-taskinfo-tile i { font-style: normal; font-size: 11px; color: var(--ink-3); }

/* 表单内：上传后在上传区展示封面（视频首帧）+ 文件信息，点击封面播放，可修改封面 */
.aio-avbox { display: flex; gap: 16px; align-items: stretch; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-2); }
.aio-avbox-cover { position: relative; width: 240px; height: 140px; flex: none; border: 0; padding: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: #11141a; }
.aio-avbox-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.aio-avbox-badge { position: absolute; left: 8px; top: 8px; z-index: 2; background: rgba(15, 23, 42, .5); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: var(--radius-pill); }
.aio-avbox-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(15, 23, 42, .42); color: #fff; transition: .16s; }
.aio-avbox-cover:hover .aio-avbox-play { background: var(--brand); box-shadow: var(--shadow-brand); }
.aio-avbox-main { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; }
.aio-avbox-file { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-strong); }
.aio-avbox-file .aio-ic { color: var(--brand); flex: none; }
.aio-avbox-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aio-avbox-file i { font-style: normal; font-size: 12px; font-weight: 400; color: var(--ink-4); flex: none; }
.aio-avbox-hint { font-size: 12px; color: var(--ink-3); margin: 0; line-height: 1.6; }
.aio-avbox-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.aio-coverview { display: grid; place-items: center; padding: 8px; }
.aio-coverview img { width: 100%; max-width: 520px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }

/* 教案设计：附件形式 */
.aio-attach { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.aio-attach-list { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.aio-attach-item { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px 0 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 13px; color: var(--ink-2); }
.aio-attach-item .aio-ic:first-child { color: var(--brand); }
.aio-attach-rm { display: grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: var(--radius-xs); background: transparent; color: var(--ink-4); cursor: pointer; }
.aio-attach-rm:hover { background: var(--brand-subtle); color: var(--brand); }
.aio-attach-add { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px dashed var(--brand-border); border-radius: var(--radius-sm); background: var(--brand-subtle); color: var(--brand-hover); font-size: 13px; font-weight: 600; cursor: pointer; }
.aio-attach-add:hover { background: var(--brand-soft); }
.aio-attach-hint { font-size: 12px; color: var(--ink-4); }

/* 表单状态提示条 */
.aio-formnote { display: flex; align-items: center; gap: 8px; padding: 11px 14px; margin-bottom: 14px; border-radius: var(--radius-md); font-size: 13px; line-height: 1.5; }
.aio-formnote .aio-ic { flex: none; }
.aio-formnote.info { background: var(--brand-subtle); border: 1px solid var(--brand-200); color: var(--brand-hover); }
.aio-formnote.warn { background: #fffbeb; border: 1px solid #fde68a; color: #b45309; }

/* 基础信息内的教案设计 */
.aio-base-plans { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.aio-base-plans-h { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.aio-base-plans-h .aio-ic { color: var(--brand); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .aio-taskinfo-tiles { grid-template-columns: repeat(2, 1fr); }
  .aio-evalgrid { grid-template-columns: 1fr; }
  .aio-mediagrid { grid-template-columns: 1fr; }
  .aio-mediamain { position: static; }
  .aio-kpis { grid-template-columns: 1fr; }
  .aio-anatop { grid-template-columns: 1fr; }
  .aio-anatop-r { grid-template-columns: 1fr; }
  .aio-anagrid { grid-template-columns: 1fr; }
  .aio-sliceplayer { grid-template-columns: 1fr; }
  .aio-sp-stage { min-height: 220px; }
  .aio-bd { grid-template-columns: 1fr; }
  .aio-bd-lib, .aio-bd-prop { position: static; }
  .aio-anacols { grid-template-columns: 1fr; }
  .aio-kdetail { grid-template-columns: 1fr; gap: 18px; }
  .aio-ovstats { grid-template-columns: repeat(2, 1fr); }
  .aio-cmp-top { flex-direction: column; }
  .aio-cmp-vs { padding: 4px 0; }
}
@media (max-width: 720px) {
  .aio-entries { grid-template-columns: 1fr; }
  .aio-fcol2, .aio-fcol3, .aio-deflist { grid-template-columns: 1fr; }
  .aio-ovstats { grid-template-columns: 1fr; }
  .aio-taskinfo-tiles { grid-template-columns: 1fr; }
  .aio-avbox { flex-direction: column; }
  .aio-avbox-cover { width: 100%; height: 170px; }
}

/* ============================================================
   改动优化新增样式（草稿箱抽屉 / 悬浮按钮 / 文字记录双击编辑 /
   评价列表表格 / 评价详情弹窗 / AI 评课报告 / 评课跟进报告页）
   红白扁平主题，复用 design-tokens
   ============================================================ */

/* ---------- 右侧抽屉（草稿箱等复用） ---------- */
#aio-drawer-root { position: fixed; inset: 0; z-index: 1180; pointer-events: none; }
#aio-drawer-root .aio-mask { position: fixed; inset: 0; background: var(--overlay); opacity: 0; transition: opacity .2s ease; pointer-events: auto; }
#aio-drawer-root.open { pointer-events: auto; }
#aio-drawer-root.open .aio-mask { opacity: 1; }
.aio-drawer { position: fixed; right: 0; top: 0; height: 100%; width: 420px; max-width: 92vw; background: var(--surface); box-shadow: 0 0 0 1px var(--line), -18px 0 42px -28px rgba(15,23,42,.34); transform: translateX(100%); transition: transform .24s cubic-bezier(.22,.61,.36,1); display: flex; flex-direction: column; pointer-events: auto; }
#aio-drawer-root.open .aio-drawer { transform: translateX(0); }
.aio-drawer-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.aio-drawer-h h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--ink-strong); }
.aio-drawer-x { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 0; background: transparent; color: var(--ink-3); border-radius: var(--radius-pill); cursor: pointer; transition: .16s; }
.aio-drawer-x:hover { background: var(--surface-2); color: var(--brand); }
.aio-drawer-b { padding: 16px 20px 24px; overflow: auto; flex: 1 1 auto; }

/* ---------- 草稿箱列表 ---------- */
.aio-draftlist { display: flex; flex-direction: column; gap: 12px; }
.aio-draftlist-empty { text-align: center; color: var(--ink-4); font-size: 13px; padding: 36px 0; }
.aio-draftrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-xs); transition: .16s; }
.aio-draftrow:hover { border-color: var(--brand-border); box-shadow: var(--shadow-sm); }
.aio-draftrow-c { flex: none; width: 76px; height: 44px; border-radius: var(--radius-sm); overflow: hidden; }
.aio-draftrow-m { min-width: 0; flex: 1 1 auto; }
.aio-draftrow-m b { display: block; font-size: 14px; font-weight: 600; color: var(--ink-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aio-draftrow-m span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.aio-draftrow-m i { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 12px; color: var(--ink-4); margin-top: 2px; }
.aio-draftrow-ops { display: flex; gap: 6px; flex: none; }

/* ---------- 评课执行 · 右下角悬浮按钮（AI 课例分析入口） ---------- */
.aio-fab { position: fixed; right: 28px; bottom: 28px; z-index: 1100; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 15px; border: 0; border-radius: var(--radius-pill); background: var(--brand-gradient); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 12px 26px -12px rgba(230,51,35,.6), 0 2px 6px rgba(15,23,42,.14); transition: transform .18s ease, box-shadow .18s ease; }
.aio-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(230,51,35,.62), 0 4px 10px rgba(15,23,42,.16); }
.aio-fab .aio-ic { color: #fff; }

/* ---------- 文字记录 · 双击编辑态 ---------- */
.aio-trole[contenteditable="true"], .aio-tbody p[contenteditable="true"] { outline: 2px solid var(--brand); outline-offset: 1px; border-radius: 3px; background: var(--brand-50); box-shadow: var(--ring-brand); cursor: text; }
.aio-tbody p[contenteditable="true"]:hover { background: var(--brand-50); }

/* ---------- 评价列表（参考图表格式：评课人 / 提交时间 / 综合得分 / 总体评价 / 详情） ---------- */
.aio-evlist { display: flex; flex-direction: column; gap: 18px; }
.aio-ev-summary { display: flex; flex-wrap: wrap; gap: 12px; }
.aio-ev-stile { flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.aio-ev-stile.is-ai { border-color: var(--brand-border); }
.aio-ev-stile.is-human { border-color: #c7d6f6; }
.aio-ev-stile i { font-size: 12px; font-style: normal; color: var(--ink-4); }
.aio-ev-stile b { font-size: 26px; font-weight: 800; color: var(--ink-strong); }
.aio-ev-stile.is-ai b { color: var(--brand); }
.aio-ev-stile.is-human b { color: #2563eb; }
.aio-ev-stile em { font-size: 12px; font-style: normal; color: var(--ink-3); }

.aio-ev-tablewrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: var(--surface); }
.aio-ev-table { width: 100%; border-collapse: collapse; }
.aio-ev-table thead th { text-align: left; font-size: 12px; font-weight: 700; color: var(--ink-3); padding: 11px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.aio-ev-table tbody td { font-size: 13px; color: var(--ink-2); padding: 13px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.aio-ev-table tbody tr:last-child td { border-bottom: 0; }
.aio-ev-table tbody tr:hover { background: var(--brand-50); }
.aio-ev-table .aio-ev-who { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink-strong); white-space: nowrap; }
.aio-ev-table .aio-ev-score { font-size: 16px; font-weight: 800; color: #2563eb; }
.aio-ev-table .aio-ev-note { color: var(--ink-2); line-height: 1.6; }
.aio-ev-table .aio-ev-note.is-na { color: var(--ink-4); }
.aio-ev-table td.aio-ev-op { white-space: nowrap; }
.aio-ev-empty { text-align: center; color: var(--ink-4); font-size: 13px; padding: 20px; }

/* ---------- 评价详情弹窗（逐维度得分条 + AI 评课报告） ---------- */
.aio-evd-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 4px 2px 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.aio-evd-who { display: inline-flex; align-items: center; gap: 12px; }
.aio-evd-who .aio-ava { width: 40px; height: 40px; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand-hover); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.aio-evd-who .aio-ava.is-ai { background: var(--brand-gradient); color: #fff; }
.aio-evd-name { font-size: 16px; font-weight: 700; color: var(--ink-strong); }
.aio-evd-time { font-size: 12px; color: var(--ink-4); margin-top: 2px; }
.aio-evd-total { display: inline-flex; align-items: baseline; gap: 6px; }
.aio-evd-total b { font-size: 32px; font-weight: 800; color: var(--brand); }
.aio-evd-total i { font-style: normal; font-size: 13px; color: var(--ink-4); }

.aio-evd-group { margin-bottom: 18px; }
.aio-evd-group-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-strong); margin-bottom: 10px; }
.aio-evd-group-h .aio-secttl-bar { width: 3px; height: 13px; background: var(--brand); border-radius: 2px; }
.aio-evd-dim { margin-bottom: 12px; }
.aio-evd-dim-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.aio-evd-dim-h b { font-size: 13px; font-weight: 600; color: var(--ink-strong); }
.aio-evd-dim-h span { font-size: 12px; color: var(--ink-3); }
.aio-evd-dim-bar { position: relative; height: 6px; background: var(--surface-2); border-radius: var(--radius-pill); overflow: hidden; }
.aio-evd-dim-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--brand-gradient); border-radius: var(--radius-pill); }
.aio-evd-dim-n { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 12px; margin-top: 3px; }
.aio-evd-dim-n .pct { color: var(--ink-4); }
.aio-evd-dim.na .sc { color: var(--ink-4); font-weight: 600; }
.aio-evd-dim-note { font-size: 12px; color: var(--ink-3); margin-top: 4px; line-height: 1.6; }

.aio-evd-report { margin-top: 4px; padding: 16px 18px; background: var(--brand-50); border: 1px solid var(--brand-border); border-radius: var(--radius-lg); }
.aio-evd-report-h { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--brand-hover); margin-bottom: 10px; }
.aio-evd-report-h .aio-ic { color: var(--brand); }
.aio-evd-report p { font-size: 13px; color: var(--ink-2); line-height: 1.75; margin: 0 0 7px; }
.aio-evd-report p b { color: var(--ink-strong); }
.aio-evd-report ul { margin: 4px 0 8px 0; padding-left: 20px; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.aio-evd-report-score { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; margin-top: 4px; background: var(--surface); border-radius: var(--radius-pill); border: 1px solid var(--brand-border); }
.aio-evd-report-score b { font-size: 18px; font-weight: 800; color: var(--brand); }
.aio-evd-report-score span { font-size: 12px; color: var(--ink-3); }

/* ---------- 评课跟进 · 查看报告页（基础信息 + 切片 + 某评课老师评课报告） ---------- */
.aio-rr-revtabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.aio-rr-revtabs button { height: 34px; padding: 0 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600; border-radius: var(--radius-pill); cursor: pointer; transition: .16s; }
.aio-rr-revtabs button.on { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.aio-rr-report { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* 评价列表表格在窄屏下的简化 */
@media (max-width: 900px) {
  .aio-ev-table thead { display: none; }
  .aio-ev-table, .aio-ev-table tbody, .aio-ev-table tr, .aio-ev-table td { display: block; width: 100%; }
  .aio-ev-table tbody tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .aio-ev-table tbody tr:hover { background: var(--brand-50); }
  .aio-ev-table td { border: 0; padding: 3px 0; }
  .aio-ev-table td.aio-ev-op { text-align: right; }
  .aio-drawer { width: 100vw; }
}

/* ---------- 右下角悬浮角色切换按钮 ---------- */
.aio-rolefab { position: fixed; right: 24px; bottom: 24px; z-index: 1100; }
.aio-rolefab-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border: 0; border-radius: var(--radius-pill); background: var(--brand-gradient); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 8px 22px -8px rgba(230,51,35,.52), 0 2px 6px rgba(15,23,42,.14); transition: transform .18s ease, box-shadow .18s ease; }
.aio-rolefab-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(230,51,35,.58), 0 4px 10px rgba(15,23,42,.16); }
.aio-rolefab-btn .aio-ic { color: #fff; }
.aio-rolefab-pop { position: absolute; right: 0; bottom: calc(100% + 10px); min-width: 150px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 6px; display: none; flex-direction: column; gap: 2px; }
.aio-rolefab.open .aio-rolefab-pop { display: flex; }
.aio-rolefab-pop button { display: inline-flex; align-items: center; gap: 8px; width: 100%; height: 38px; padding: 0 12px; border: 0; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 600; border-radius: var(--radius-sm); cursor: pointer; transition: .14s; text-align: left; }
.aio-rolefab-pop button:hover { background: var(--brand-subtle); color: var(--brand-hover); }
.aio-rolefab-pop button .aio-ic { color: var(--ink-4); }
.aio-rolefab-pop button:hover .aio-ic { color: var(--brand); }
.aio-rolefab-pop button.on { background: var(--brand-soft); color: var(--brand-hover); }
.aio-rolefab-pop button.on .aio-ic { color: var(--brand); }

/* ---------- 管理员右上角快捷按钮 ---------- */
.aio-admin-hdrbtns { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.aio-admin-hdrbtns .aio-btn-ghost { height: 34px; padding: 0 15px; font-size: 13px; border-radius: var(--radius-pill); }
/* ---------- 数据看板任务筛选条 ---------- */
.aio-dash-filter { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin: 6px 0 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-md); }
.aio-dash-filter-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; flex: none; }
.aio-dash-filter-label .aio-ic { color: var(--brand); }
/* ---------- 评课执行 · 全宽视频布局 ---------- */
.aio-eval-player { margin-bottom: 16px; }
.aio-eval-player .aio-sliceplayer { grid-template-columns: 1fr; }
.aio-eval-player .aio-sp-stage { min-height: 420px; }
.aio-eval-player .aio-sp-items--strip { padding: 10px 0; }