/* ------------------------------------------------------------------
   10-smart.css
   智慧分析（整合周报）分区与等高布局
   ------------------------------------------------------------------ */
/* ---------- 智慧分析（整合周报）· 分区与等高布局 ---------- */
.sec-head{display:flex;align-items:center;gap:11px;margin:26px 0 12px;min-width:0}
.sec-head:first-child{margin-top:4px}
.sec-head .tag{
  font-size:9px;letter-spacing:.16em;font-family:var(--mono);font-weight:800;
  color:var(--red);background:var(--red-soft);padding:3px 7px;border-radius:4px;flex:0 0 auto;
}
.sec-head h3{font-size:16px;font-weight:800;letter-spacing:-.01em;white-space:nowrap}
.sec-head .line{flex:1;height:1px;background:linear-gradient(90deg,var(--line),rgba(228,231,236,0))}
.sec-head .note{font-size:10.5px;color:var(--muted-2);font-family:var(--mono);white-space:nowrap}

.sm-grid{display:grid;gap:12px;align-items:stretch}
.sm-grid.c2{grid-template-columns:1.08fr 1fr}
.sm-grid>.panel{margin-bottom:0;display:flex;flex-direction:column;min-width:0}
.sm-grid>.panel>.panel-head{flex:0 0 auto}
.sm-grid>.panel>.panel-body{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:flex-start}
.sm-grid>.panel>.panel-body.sm-tasks{justify-content:flex-start}

/* AI 三段等高 */
.sm-ai-body{align-items:stretch}
.sm-ai-body .ai-sec{height:100%;display:flex;flex-direction:column}
.sm-ai-body .ai-sec ul{flex:1;min-height:0}
.sm-ai .panel-body{padding:14px 16px 16px}

/* 周报内两块：星级条纵向铺满，避免下半截空白 */
.rpt-two>.rpt-block{display:flex;flex-direction:column}
.rpt-two>.rpt-block>h3{flex:0 0 auto}
.rpt-two .sb-head{flex:0 0 auto}
.rpt-two .sb-row{flex:1 1 auto;min-height:26px;margin-bottom:4px}

/* 完成任务明细：三列等高卡片 */
.sm-task-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:10px;align-items:stretch}
.sm-task-grid .sm-task{height:100%;display:flex;flex-direction:column}
.sm-task-grid .sm-task .sm-cm{margin-top:auto}

.sm-note-panel{background:#FAFBFC}

/* 周报工具条 / 记录卡片 */
.rep-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.rep-panel>.panel-body.rpt-wrap{padding:22px 24px}
.rep-panel>.panel-foot{justify-content:flex-end}
.rep-hist{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;align-items:stretch}
.rep-card{
  display:flex;flex-direction:column;gap:7px;min-height:112px;
  border:1px solid var(--line);border-radius:10px;padding:12px 14px;background:#fff;
  cursor:pointer;transition:border-color .14s,box-shadow .14s,background .14s;
}
.rep-card:hover{border-color:#F0B6BF;background:#FFFCFD;box-shadow:0 10px 24px -20px rgba(230,0,39,.6)}
.rc-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.rc-top b{font-family:var(--mono);font-size:12.5px;color:var(--ink);letter-spacing:.01em}
.rc-tag{font-size:9.5px;color:#12A15E;background:var(--green-soft);border-radius:3px;padding:1px 6px;font-family:var(--mono);flex:0 0 auto}
.rep-card p{
  margin:0;font-size:11.5px;color:#8A8F98;line-height:1.75;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.rc-time{margin-top:auto;font-size:10px;color:#B4B9C1;font-family:var(--mono)}

@media(max-width:1100px){
  .sm-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rep-hist{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .sm-grid.c2{grid-template-columns:1fr}
  .sm-ai-body{grid-template-columns:1fr}
}
@media(max-width:620px){
  .sm-task-grid,.rep-hist{grid-template-columns:1fr}
  .sec-head{flex-wrap:wrap;gap:8px}
  .sec-head .line{display:none}
  .sec-head .note{white-space:normal}
  .rep-tools{width:100%;justify-content:flex-start}
}

/* 板块底部小结（补足等高留白，同时补充信息） */
.sm-sum{
  margin-top:10px;padding-top:9px;border-top:1px dashed var(--line-2);
  font-size:10.5px;color:#9A9DA3;font-family:var(--mono);letter-spacing:.02em;
}
.sm-grid .panel-body{position:relative}
