/* AI 任务卡：沿用自然笔记（nature.css / decor.css）的面板、表单和结果卡，这里只补版式选择、目录列表和 A4 结果图。 */
.tc-gallery {grid-template-columns:1fr 1fr;grid-template-rows:auto minmax(0,1fr)}
.tc-gallery .hero-art {height:100%;background:#fff}
.tc-gallery .hero-art img {object-fit:contain}

.tc-styles {display:grid;gap:10px}
.tc-style {display:flex;gap:12px;align-items:center;padding:8px;border-radius:14px;background:#fff;border:1px solid #e3dccb;text-align:left;transition:border-color .2s,box-shadow .2s}
.tc-style img {flex:none;width:62px;aspect-ratio:1/1.414;object-fit:cover;border-radius:6px;border:1px solid #eee}
.tc-style b {display:block;font-size:14px;color:#2a2720}
.tc-style small {display:block;margin-top:2px;font-size:12px;color:#6f6a5e}
.tc-style i {display:inline-block;margin-top:4px;font-style:normal;font-size:11.5px;color:#0f5c43;border-bottom:1px solid rgba(15,92,67,.3);cursor:zoom-in}
.tc-style.on {border-color:#0f5c43;box-shadow:0 0 0 3px rgba(15,92,67,.12)}

.tc-tools {margin-left:auto;display:inline-flex;gap:6px}
.tc-tools button {padding:2px 10px;border-radius:999px;font-size:12px;color:#0f5c43;border:1px solid #e3dccb;background:#fff}
.nt-card h3 small {margin-left:8px;font-size:12px;font-weight:500;color:#6f6a5e}
.tc-chips {display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px}
.tc-list {list-style:none;display:grid;gap:6px;margin:0;padding:0}
.tc-list li {display:grid;grid-template-columns:auto minmax(170px,240px) minmax(200px,1fr);gap:10px;align-items:center;padding:6px 10px;border-radius:12px;border:1px solid #efe9dc;background:#f7f3ea;opacity:.6;transition:opacity .2s,border-color .2s,background .2s}
.tc-list li.on {opacity:1;border-color:#e3dccb;background:#fff}
.tc-pick {display:flex;align-items:center;gap:6px;cursor:pointer}
.tc-pick input {width:18px;height:18px;accent-color:#0f5c43}
.tc-pick b {font-size:13px;color:#6f6a5e;font-variant-numeric:tabular-nums}
.tc-list .nt-f {margin:0}
.tc-brief {margin:0;min-width:0;font-size:12.5px;color:#6f6a5e;line-height:1.5}
.tc-outline .nt-card {min-width:0}
.tc-brief span {display:inline-block;white-space:nowrap;margin-right:6px;padding:0 7px;border-radius:6px;background:#edf3ee;color:#0f5c43;font-size:11.5px;font-weight:700}
.tc-sum {margin:0 0 8px;font-size:14px;color:#6f6a5e}
.tc-sum b {color:#0f5c43;font-size:16px}
.tc-back {margin-left:8px;padding:0;font-size:13px;color:#0f5c43;background:none;border-bottom:1px solid rgba(15,92,67,.3)}
.tc-grid .nt-result-img {aspect-ratio:1/1.414}

@media (max-width:720px) {
  .tc-list li {grid-template-columns:auto 1fr}
  .tc-brief {grid-column:1/-1}
}
/* 自然笔记的 .nt-card 是两列网格；任务卡的目录和成组字段要占满整行。 */
.nt-card > .tc-list, .nt-card > .nt-group, .nt-card > h3 {grid-column:1/-1}
.tc-list {width:100%}

/* 主角真实样子：一段话，占满整行，老师核对用 */
.nt-card > .tc-wide {grid-column:1/-1}
.tc-wide input {font-size:13px}

/* 2026-10-15 一键生成：张数、年龄说明、进度条 */
.tc-note {display:block;margin-top:6px;font-size:12px;color:#6f6a5e}
.tc-counts {grid-template-columns:repeat(5,minmax(0,1fr))}
.tc-progress {width:100%;max-width:560px;margin:10px auto 0}
.tc-bar {height:10px;border-radius:999px;background:#efe9dc;overflow:hidden}
.tc-bar i {display:block;height:100%;width:3%;border-radius:inherit;background:linear-gradient(90deg,#0f5c43,#3fb7c9,#f0b34a);transition:width .9s linear}
.tc-progress p {margin:8px 0 0;font-size:13.5px;font-weight:700;color:#0f5c43;text-align:center;font-variant-numeric:tabular-nums}
.nt-job .tc-progress {max-width:none;margin:4px 0 14px}
.nt-job .tc-progress p {text-align:left}
.tc-wait {display:flex;flex-direction:column;align-items:center;gap:10px;width:78%}
.tc-cardbar {width:100%;height:6px;border-radius:999px;background:#e3dccb;overflow:hidden}
.tc-cardbar i {display:block;height:100%;width:0;border-radius:inherit;background:#0f5c43;transition:width .9s linear}
.tc-cardnote {font-size:12px;color:#6f6a5e;text-align:center;font-variant-numeric:tabular-nums}

/* 2026-10-15 目录勾选（第一步出目录 → 勾选 → 第二步生成） */
.tc-outline .nt-job-head {align-items:flex-start}
.tc-outline .tc-tools {flex:none}
.tc-outline .tc-list {counter-reset:none}
.tc-outline .tc-list li {display:block;padding:0}
.tc-outline .tc-pick {display:flex;align-items:flex-start;gap:10px;padding:9px 12px;width:100%;box-sizing:border-box}
.tc-outline .tc-pick input {margin-top:2px;flex:none}
.tc-outline .tc-pick > b {flex:none;width:22px;margin-top:1px}
.tc-item {display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;min-width:0}
.tc-item strong {font-size:14.5px;color:#2a2720}
.tc-item em {font-style:normal;font-size:13px;color:#6f6a5e;line-height:1.5}
.tc-drawbar {position:sticky;bottom:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.96);border:1px solid #e3dccb;box-shadow:0 -6px 18px rgba(40,30,10,.06)}
.tc-drawbar .tc-sum {margin:0}
