/* 人工评画工作台：老师端 + 买家报告页共用弹层。独立文件，不碰用户手改的 report.css / index.css */
/* 工作台是工具类页面，不显示全站右侧 ART 悬浮装饰（只在本页 CSS 生效，不影响收藏页） */
.btn-art{display:none !important}

/* 大框架直接复用收藏页：HTML 用 .wrap + .fav-bar，盒模型 / 标题字号全部由
   gallery.css + base.css 提供；本文件只放工作台自己的状态徽标与业务样式，
   不再另建 .mr-wrap / .mr-head 框架。 */
/* 工作台左留白统一由 nav-fixed.css 的 ≥901 通用规则 body.page-home 给到 200px（含 ≥1440）。
   原 @media(min-width:1440px) body.page-home:has(#mrListCard){padding-left:200px} 在 1440 下虽会命中，
   但与通用规则同值（A/B 实测加回前后 padding-left 均为 200px），属重复声明，故移除。 */

.mr-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:12px;background:#eaf3ff;color:#1668c7}
.mr-badge.off{background:#fff1f0;color:#b42318}
.mr-card{background:#fff;border:1px solid #e7e9ee;border-radius:12px;padding:20px;margin-bottom:18px}
.mr-card h2{font-size:16px;margin:0 0 14px}
/* 列表 / 详情与收藏页一样直接铺在页面白底上，不加卡片外框；登录卡仍保留聚焦卡片 */
#mrListCard,#mrDetailCard{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin-bottom:34px}
.mr-login{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.mr-login input{min-width:280px;flex:1;max-width:420px}
.mr-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}
.mr-toolbar button,.mr-btn{border:1px solid #d8dde6;background:#fff;color:#26324a;border-radius:8px;padding:7px 13px;font-size:13px;cursor:pointer;transition:.15s}
.mr-toolbar button:hover,.mr-btn:hover{border-color:#1080ff;color:#1080ff}
.mr-toolbar button.is-active{background:#1080ff;border-color:#1080ff;color:#fff}
.mr-btn.primary{background:#1080ff;border-color:#1080ff;color:#fff}
.mr-btn.primary:hover{opacity:.88;color:#fff}
.mr-btn.danger{color:#b42318;border-color:#f3c6c1}

/* 老师登录卡：聚焦式引导，只作用于本卡，不影响列表 / 详情卡 */
#mrLoginCard{
  max-width:720px;padding:30px 34px;border-color:#eef0f4;border-radius:16px;
  background:linear-gradient(180deg,#fff 0%,#fcfdff 100%);
  box-shadow:0 8px 30px rgba(21,34,55,.05);
}
#mrLoginCard h2{
  display:flex;align-items:center;gap:10px;
  margin:0 0 10px;font-size:20px;letter-spacing:.2px;
}
#mrLoginCard h2::before{
  content:"";width:4px;height:20px;border-radius:4px;background:var(--accent,#1080ff);
}
#mrLoginCard>p.muted{margin:0 0 24px;font-size:14px;line-height:1.8;color:#7a8699}
#mrLoginCard .mr-login{gap:12px;align-items:center;flex-wrap:nowrap}
#mrLoginCard .mr-login input{
  min-width:0;flex:1;max-width:none;height:48px;padding:0 16px;
  border:1px solid var(--line,#e5e7eb);border-radius:10px;
  font-size:14px;transition:border-color .18s ease,box-shadow .18s ease;
}
#mrLoginCard .mr-login input:hover{border-color:var(--ink,#333)}
#mrLoginCard .mr-login input:focus{
  outline:none;border-color:var(--ink,#333);box-shadow:inset 0 0 0 1px var(--ink,#333);
}
#mrLoginCard .mr-btn.primary{
  height:48px;padding:0 26px;border-radius:10px;
  font-size:15px;font-weight:600;white-space:nowrap;
  box-shadow:0 4px 12px rgba(16,128,255,.2);
}
@media (max-width:640px){
  #mrLoginCard{padding:24px 20px}
  #mrLoginCard .mr-login{flex-direction:column;align-items:stretch}
  #mrLoginCard .mr-login input{width:100%}
  #mrLoginCard .mr-btn.primary{width:100%}
}
.mr-table{width:100%;border-collapse:collapse;font-size:13px}
.mr-table th,.mr-table td{padding:11px 10px;border-bottom:1px solid #edf0f4;text-align:left;vertical-align:middle}
.mr-table th{color:#667085;font-weight:600;background:#fafbfc}
.mr-table tr:hover td{background:#f7faff}
.mr-table a{color:#1080ff;text-decoration:none;cursor:pointer}
/* 列表作品图缩略图 */
.mr-thumb{width:72px;height:54px;object-fit:cover;object-position:center top;border-radius:6px;border:1px solid #e7e9ee;background:#fafbfc;display:block;cursor:pointer}
.mr-thumb-none{display:inline-block;color:#98a2b3;font-size:12px}
@media (max-width:640px){
  .mr-thumb{width:56px;height:44px}
}

/* 代理页：专属推广链接 tab（与 admin.css 的 tabCodes/tabRedeem 选择器并列） */
#tabLink:checked ~ .tab-bar label[for="tabLink"],
#tabLink:focus-visible ~ .tab-bar label[for="tabLink"]{color:var(--ink);border-bottom-color:var(--accent)}
#tabLink:checked ~ #panelLink{display:block}

/* 嵌入代理页 tab 模式：复用工作台 DOM，只补嵌入容器的差异样式 */
#tabWork:checked ~ .tab-bar label[for="tabWork"],
#tabWork:focus-visible ~ .tab-bar label[for="tabWork"]{color:var(--ink);border-bottom-color:var(--accent)}
#tabWork:checked ~ #panelWork{display:block}
body[data-mr-embedded="1"] .agent-wrap{max-width:680px}
body[data-mr-embedded="1"]:has(#tabWork:checked) .agent-wrap{max-width:1100px}
#panelWork .mr-work-embed-head{display:flex;align-items:center;gap:10px;margin:2px 0 14px}
#panelWork .mr-work-embed-head .fav-bar-count{font-size:14px;color:#667085}
#panelWork .mr-card{margin-bottom:14px}
#panelWork .mr-detail{grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr)}
@media(max-width:900px){#panelWork .mr-detail{grid-template-columns:1fr}}
.mr-empty{padding:30px;text-align:center;color:#98a2b3;font-size:13px}
.mr-detail{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:18px}
@media(max-width:900px){.mr-detail{grid-template-columns:1fr}}
.mr-canvas-wrap{position:relative;display:inline-block;max-width:100%;line-height:0;border-radius:10px;overflow:hidden;background:#f2f4f8}
.mr-canvas-wrap img,.mr-canvas-wrap canvas{display:block;max-width:100%;width:100%;height:auto}
.mr-canvas-wrap canvas{position:absolute;left:0;top:0;cursor:crosshair}
.mr-chat{display:flex;flex-direction:column;gap:14px;max-height:560px; padding:2px}
.mr-msg{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.mr-msg.mine{align-items:flex-end}
.mr-msg .who{font-size:11px;color:#aeb7c4;line-height:1.2}
.mr-msg .bubble{max-width:88%;padding:9px 13px;border-radius:14px;background:#f4f6f9;font-size:13px;line-height:1.6;word-break:break-word}
.mr-msg.mine .bubble{background:#e8f2ff;color:#183b66}
.mr-msg audio{width:230px;max-width:100%;height:34px}
.mr-compose{border-top:1px solid #edf0f4;padding-top:12px;margin-top:10px;display:flex;flex-direction:column;gap:10px}
.mr-compose textarea{width:100%;min-height:72px;resize:vertical;font-size:13px}
.mr-compose .row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.mr-tip{font-size:12px;color:#98a2b3;line-height:1.6}
.mr-color{width:28px;height:28px;border:1px solid #d8dde6;border-radius:50%;padding:0;cursor:pointer;background:#e5484d}
.mr-color.is-active{outline:2px solid #1080ff;outline-offset:2px}

/* 报告页 ≥1200px 时 #workCard 是 fixed + pointer-events:none（用户手改版式），
   本站手改文件 report.css 不动；这里单独给新按钮开命中，等价于既有 .work-float-btn。 */
@media screen and (min-width: 1200px) {
  #workCard .mr-entry { pointer-events: auto; }
}

/* 买家报告页：左侧入口按钮 + 查看弹层（挂 body 末尾，不进用户手改 DOM） */
/* 显隐只用 HTML hidden 属性（由 view 脚本控制），CSS 不写 display:none 否则 hidden=false 仍不可见 */
/* 【替换】入口按钮改为「左价格 + 右 CTA」横向布局 */
.mr-entry{width:100%;margin:10px 0;box-sizing:border-box;border:0;background:rgba(0,0,0,.05);color:var(--accent,#1080ff);border-radius:12px;padding:12px 20px;cursor:pointer;text-align:left;transition:.15s;display:flex;align-items:center;justify-content:space-between;gap:10px}
.mr-entry:hover{ background:rgba(0,0,0,.03);}
.mr-entry .mre-left{display:flex;flex-direction:column;min-width:0}
.mr-entry .mre-kicker{font-size:13px;font-weight:600;color:var(--ink-strong,#26324a)}
.mr-entry .mre-price{display:flex;align-items:baseline;gap:2px;margin-top:2px;color:var(--accent,#1080ff)}
.mr-entry .mre-price b{font-size:26px;line-height:1.1;font-weight:800;font-variant-numeric:tabular-nums}
.mr-entry .mre-price i{font-size:12px;font-weight:500;font-style:normal;opacity:.8}
.mr-entry .sub{display:block;font-size:11px;font-weight:400;color:var(--ink-faint,#98a2b3);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mr-entry .mre-cta{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;background:var(--accent,#1080ff);color:#fff;border-radius:8px;padding:9px 22px;font-size:16px;font-weight:600;white-space:nowrap;transition:.15s}
.mr-entry .mre-cta .ico{background-color:#fff}
.mr-entry:hover .mre-cta{filter:brightness(1.06);box-shadow:0 3px 10px rgba(16,128,255,.25)}
/* display:flex 会覆盖 HTML hidden 属性的默认 display:none，关闭总开关后按钮仍显示；显式补回 */
.mr-entry[hidden]{display:none}
.mr-mask{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:200;display:none;align-items:center;justify-content:center;}
.mr-sheet{background:#fff;border-radius:14px;max-width:760px;width:100%;max-height:88vh;overflow:auto;padding:22px;box-shadow:0 20px 60px rgba(0,0,0,.2)}
.mr-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px; padding: 15px; border-bottom: 1px solid var(--line);}
.mr-sheet-head h2{font-size:18px;margin:0}
.mr-sheet-head button{border:0;background:none;font-size:22px;color:#667085;cursor:pointer;line-height:1}
.mr-sheet .mr-canvas-wrap{margin-bottom:14px}
.mr-note{background:#f7f9fc;border-left:3px solid #1080ff;padding:10px 12px;border-radius:6px;font-size:12px;color:#475467;line-height:1.7;margin-bottom:14px}
.mr-payqr{background:#f7f9fc;border:1px dashed #cbd5e1;border-radius:8px;padding:12px;margin:10px 0;font-size:12px;line-height:1.7;color:#334155;word-break:break-all;user-select:all}

/* 代理页移动端：把四个 tab 固定到页面底部（与全站 900px 断点一致）。
   仅作用于 body[data-mr-embedded="1"]，不影响后台系统设置页同样用 .tab-bar 的标签。
   radio 兄弟选择器结构不变，只是视觉定位改为 fixed。 */
@media (max-width: 900px) {
  body[data-mr-embedded="1"] .tab-card > .tab-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    display: flex; gap: 0; justify-content: space-around;
    margin: 0; padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid var(--line); border-bottom: 0;
    box-shadow: 0 -3px 14px rgba(21, 34, 55, .08);
  }
  body[data-mr-embedded="1"] .tab-card > .tab-bar .tab-label {
    flex: 1 1 0; justify-content: center; text-align: center;
    padding: 8px 2px 6px; font-size: 14px;
    border-bottom: 0; border-top: 2px solid transparent;
  }
  body[data-mr-embedded="1"] #tabLink:checked ~ .tab-bar label[for="tabLink"],
  body[data-mr-embedded="1"] #tabCodes:checked ~ .tab-bar label[for="tabCodes"],
  body[data-mr-embedded="1"] #tabRedeem:checked ~ .tab-bar label[for="tabRedeem"],
  body[data-mr-embedded="1"] #tabWork:checked ~ .tab-bar label[for="tabWork"] {
    color: var(--accent);
  }
  /* 固定栏占位：避免遮住面板最后内容（含工作台长列表） */
  body[data-mr-embedded="1"] .agent-wrap { padding-bottom: 78px; }
}

/* ================= 老师标注 / 留言详情区美化（仅 #mrDetailCard 作用域） =================
   独立页 manual-review.html 与代理页嵌入版共用本文件，纯 CSS 两处同时生效；
   不碰列表 / 登录卡 / 买家报告页弹层（ those use .mr-sheet, 无 #mrDetailCard）。 */
#mrDetailCard .mr-toolbar{
  gap:8px;margin:6px 0 14px;padding:10px 12px;
  background:linear-gradient(180deg,#fafbfd,#f6f8fb);
  border:1px solid #edf0f4;border-radius:12px;
}
#mrDetailCard .mr-toolbar:first-child{background:none;border:0;padding:0;margin:0 0 12px}
#mrDetailCard .mr-toolbar:first-child #mrDetailTitle{font-size:15px !important;color:var(--ink,#26324a);font-weight:600}
#mrDetailCard #mrBack{background:#fff;border-color:#d8dde6;border-radius:8px;padding:7px 14px;color:#475467;box-shadow:0 1px 2px rgba(16,24,40,.04)}
#mrDetailCard #mrBack:hover{border-color:#1080ff;color:#1080ff;background:#f5f9ff}
#mrDetailCard .mr-toolbar button{
  border-radius:8px;padding:7px 14px;font-weight:500;box-shadow:0 1px 2px rgba(16,24,40,.04);
}
#mrDetailCard .mr-toolbar button.is-active{box-shadow:0 3px 10px rgba(16,128,255,.28)}
/* 调色圆点：加大 + 选中环 + 悬浮抬升 */
#mrDetailCard .mr-color{
  width:30px;height:30px;border:2px solid #fff;border-radius:50%;padding:0;cursor:pointer;
  box-shadow:0 1px 4px rgba(16,24,40,.18);transition:transform .15s ease,box-shadow .15s ease;
}
#mrDetailCard .mr-color:hover{transform:translateY(-2px);box-shadow:0 4px 10px rgba(16,24,40,.22)}
#mrDetailCard .mr-color.is-active{outline:2px solid #1080ff;outline-offset:2px}
#mrDetailCard #mrSaveAnno{margin-left:auto;box-shadow:0 3px 10px rgba(16,128,255,.28)}
/* 作品图：柔和阴影 + 圆角 */
#mrDetailCard .mr-canvas-wrap{
  border-radius:12px;background:#eef1f6;padding:6px;
  box-shadow:0 6px 24px rgba(16,24,40,.10);
}
#mrDetailCard .mr-canvas-wrap img,#mrDetailCard .mr-canvas-wrap canvas{border-radius:8px}
/* 图片下方操作说明：做成浅蓝提示条 */
#mrDetailCard .mr-detail > div:first-child > .mr-tip{
  margin-top:12px;padding:10px 14px;border-radius:10px;
  background:#f5f9ff;border:1px solid #e5effc;border-left:3px solid #1080ff;
  color:#476183;font-size:12px;line-height:1.75;
}
/* 右侧详情区：清爽化——弱化卡片边框/阴影，统一标题样式，减少嵌套层级 */
#mrDetailCard .mr-detail > div:last-child{
  display:flex;flex-direction:column;
  padding:18px;border:1px solid #edf0f4;border-radius:14px;
  background:#fff;
}
#mrDetailCard .mr-detail > div:last-child > h2,
#mrDetailCard .mr-qa-card h2{
  display:flex;align-items:center;gap:9px;font-size:15px !important;margin:0 0 14px !important;
  padding:0;color:var(--ink,#26324a);font-weight:600;
}
#mrDetailCard .mr-detail > div:last-child > h2::before,
#mrDetailCard .mr-qa-card h2::before{
  content:"";width:4px;height:16px;border-radius:4px;background:var(--accent,#1080ff);
}
/* 留言空态：引导卡 */
#mrChat .mr-empty{
  padding:34px 18px;margin:6px 0 4px;border:1px dashed #d8e2f0;border-radius:12px;
  background:#f8fbff;color:#7d90a8;font-size:13px;line-height:1.8;
}
/* 留言气泡：更柔和的对话感 */
#mrChat .mr-msg .bubble{box-shadow:0 1px 3px rgba(16,24,40,.05)}
#mrChat .mr-msg.mine .bubble{background:linear-gradient(135deg,#eaf3ff,#dfeaff);border:1px solid #d3e5ff}
/* 输入区：与提问回复框统一为圆角描边风格，按钮轻量化 */
#mrDetailCard .mr-compose{
  padding:0;margin-top:14px;
}
#mrDetailCard .mr-compose textarea{
  width:100%;box-sizing:border-box;min-height:64px;
  border:1px solid #dfe5ee;border-radius:12px;padding:11px 12px;
  font-size:13px;line-height:1.6;background:#fff;transition:border-color .15s,box-shadow .15s;
}
#mrDetailCard .mr-compose textarea:focus{outline:none;border-color:#1080ff;box-shadow:0 0 0 3px rgba(16,128,255,.12)}
#mrDetailCard .mr-compose textarea::placeholder{color:#aab4c4}
#mrDetailCard .mr-compose .row{display:flex;align-items:center;gap:8px;margin-top:10px}
#mrDetailCard .mr-compose .row .mr-btn{border-radius:9px;padding:8px 16px;font-weight:500}
#mrDetailCard .mr-compose .row .mr-btn.primary{box-shadow:none}
#mrDetailCard .mr-compose .mr-tip{margin:8px 0 0;color:#a7b0be;font-size:11px;line-height:1.6}
@media (max-width:900px){
  #mrDetailCard #mrSaveAnno{margin-left:0}
}

/* 学员提问 / 追问（老师端）：弱化嵌套卡片，改为轻分隔，减少视觉噪音 */
.mr-q-badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;background:#fff4e5;color:#b26200;font-size:11px;font-weight:600}
#mrDetailCard .mr-qa-card{
  margin-top:18px;padding-top:16px;border:0;border-top:1px solid #eef1f5;border-radius:0;
  background:transparent;
}
#mrDetailCard .mr-qa-card h2{
  display:flex;align-items:center;gap:9px;font-size:15px !important;margin:0 0 12px !important;
  padding:0;color:var(--ink,#26324a);font-weight:600;
}
#mrDetailCard .mr-qa-card h2::before{content:"";width:4px;height:16px;border-radius:4px;background:var(--accent,#1080ff)}
#mrDetailCard #mrQuestions{max-height:300px}
.mr-qa-item{padding:10px 12px;border:1px solid #eef1f5;border-radius:12px;background:#fafbfd}
.mr-qa-item + .mr-qa-item{margin-top:10px}
.mr-qa-item.is-selected{border-color:#1080ff;background:#fff;box-shadow:0 0 0 3px rgba(16,128,255,.10)}
.mr-q-pick{
  margin-top:8px;padding:5px 12px;border:1px solid #dbe3ee;border-radius:999px;
  background:#fff;color:#667085;font-size:12px;cursor:pointer;
}
.mr-q-pick:hover{border-color:#1080ff;color:#1080ff;background:#f5f9ff}
.mr-qa-compose{margin-top:12px;padding:0;border:0}
.mr-qa-compose textarea{
  width:100%;box-sizing:border-box;min-height:56px;resize:vertical;padding:10px 12px;
  border:1px solid #dfe5ee;border-radius:12px;font-size:13px;line-height:1.6;background:#fff;
}
.mr-qa-compose textarea:focus{outline:none;border-color:#1080ff;box-shadow:0 0 0 3px rgba(16,128,255,.12)}

/* 聊天气泡式输入栏（学生提问 / 老师回复）：正常文档流，表情面板相对本卡定位。
   此前设为 absolute 会浮在详情卡底部、压住上面的留言与语音条。 */
.ph-chatbox{
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  box-sizing:border-box;padding:14px;border-top:1px solid #e2e8f0;
  background:#fff;box-shadow:0 2px 8px rgba(16,24,40,.05);
}
.ph-chatbox textarea{
  width:100%;box-sizing:border-box;min-height:46px;resize:vertical;padding:0 4px;
  border:0!important;border-radius:0;background:transparent;
  font-size:14px;line-height:1.6;color:#26324a;
}
.ph-chatbox textarea:focus{outline:none!important;box-shadow:none!important}
.ph-chatbox textarea::placeholder{color:#8794a8}
.ph-chatbox-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}
.ph-chatbox-tools{display:inline-flex;align-items:center;gap:14px;color:#718096}
.ph-chatbox-tools .ico{width:26px;height:26px;display:block}
/* 工具按钮：表情 / 语音，点击可交互 */
.ph-tool-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:30px;height:30px;padding:0;border:0;border-radius:8px;cursor:pointer;
  background:transparent;color:#718096;transition:background-color .15s ease,color .15s ease;
}
.ph-tool-btn:hover{background:#eef6ff;color:#1080ff}
.ph-tool-btn.is-recording{color:#e11d48;background:#fff1f3;animation:ph-rec-pulse 1s ease-in-out infinite}
@keyframes ph-rec-pulse{0%,100%{opacity:1}50%{opacity:.5}}
/* 【修复】表情面板相对输入卡定位：容器应为 relative 回到正常文档流，
   此前误写成 absolute（注释说的是面板定位却加在了容器上），导致老师端回复框浮在卡片底部遮住最后一条提问。 */

.ph-chatbox-emoji{
  position:absolute;left:12px;bottom:56px;z-index:5;
  display:grid;grid-template-columns:repeat(5,1fr);gap:4px;
  width:230px;padding:8px;border:1px solid #e2e8f0;border-radius:12px;
  background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.14);
}
.ph-chatbox-emoji[hidden]{display:none}
.ph-emoji{
  width:38px;height:38px;padding:0;border:0;border-radius:8px;cursor:pointer;
  background:transparent;font-size:20px;line-height:1;transition:background-color .12s ease;
}
.ph-emoji:hover{background:#eef6ff}
.ph-chatbox-send{
  display:inline-flex;align-items:center;justify-content:center;
  width:32px;height:32px;padding:0;border:0;border-radius:38px;cursor:pointer;
  background:var(--accent);color:#fff;
}
.ph-chatbox-send .ico{width:18px;height:18px}
.ph-chatbox-send:hover{color:#1080ff;background:#eef6ff}
.ph-chatbox-send:disabled{opacity:.55;cursor:not-allowed}
.ph-chatbox-tip{display:none;margin-top:6px;font-size:11px;line-height:1.5;color:#98a2b3}
.ph-chatbox-tip:empty{display:none}

/* 公共语音播放器（audio-player.js）：用落库时长显示真实总时长，替代原生控件 0:0 */
.ap{
  display:inline-flex;vertical-align:middle;align-items:center;gap:9px;max-width:100%;
  min-width:210px;padding:2px 4px;box-sizing:border-box;
}
.ap > audio{display:none}
.ap-play{
  flex:0 0 auto;width:30px;height:30px;padding:0;border:0;border-radius:50%;
  background:var(--accent,#1080ff);cursor:pointer;position:relative;
}
.ap-play::after{
  content:"";position:absolute;left:11px;top:9px;
  border-left:9px solid #fff;border-top:6px solid transparent;border-bottom:6px solid transparent;
}
.ap.is-playing .ap-play::after{
  left:10px;top:9px;width:3px;height:12px;border:0;
  background:#fff;border-radius:1px;
  box-shadow:7px 0 0 #fff;
}
.ap-track{flex:1 1 auto;min-width:56px;height:5px;border-radius:5px;background:#e4eaf2;overflow:hidden}
.ap-fill{display:block;width:0;height:100%;border-radius:5px;background:var(--accent,#1080ff);transition:width .12s linear}
.ap-time{flex:0 0 auto;color:#667085;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.ap-time .ap-cur{color:var(--ink,#26324a);font-weight:600}
.ap-time .ap-sep{color:#b6bec9}
.ap.is-error .ap-track{background:#ffe4e6}
@media (prefers-reduced-motion: reduce){.ap-fill{transition:none}}

/* 【新增】报告页弹层 7 维雷达 + 分数（与记录页 manual-score.css 同款；report.html 未引入该文件，故在此补齐） */
.rr-radar-card{margin:12px 0 16px;padding:14px;border:1px solid #e8edf4;border-radius:12px;background:#fbfcfe}
.rr-radar-title{font-size:14px;font-weight:600;color:var(--ink-strong,#26324a);margin:0 0 8px}
.rr-radar-canvas{width:100%;height:auto;display:block}
/* 报告页弹层较宽（760px），限制雷达最大宽度并居中，避免分数列表被挤出可视区 */
#mrViewBody .rr-radar-canvas{max-width:380px;margin:0 auto}
.rr-score-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 16px;margin-top:8px}
.rr-score-item{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--ink-body,#475467)}
.rr-score-item b{color:var(--accent,#1080ff);font-variant-numeric:tabular-nums}
