/* Cockpit do treinador. Cores: teal #0d9488, indigo #6366f1, âmbar #f59e0b, ardósia #64748b, tinta #0f2a3d */
div:has(> .ch-root) > .t3d{display:none}
.ch-root{display:grid;gap:18px;color:#0f2a3d}
.ch-root h2{margin:0 0 10px;font-size:17px}
.ch-root section{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:16px 18px}
.ch-need{border-left:5px solid #6366f1!important}
.ch-count{display:inline-block;min-width:24px;padding:1px 8px;border-radius:12px;background:#6366f1;color:#fff;font-size:13px;text-align:center;vertical-align:middle}
.ch-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ch-todo{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:12px;background:#f8fafc;border-left:4px solid #64748b}
.ch-todo.k-pain{border-color:#dc2626;background:#fef2f2}.ch-todo.k-acwr{border-color:#f59e0b;background:#fffbeb}.ch-todo.k-missed{border-color:#f59e0b}.ch-todo.k-plan{border-color:#6366f1;background:#eef2ff}.ch-todo.k-overdue{border-color:#f59e0b}.ch-todo.k-unread{border-color:#0d9488}.ch-todo.k-validate{border-color:#0d9488}
.ch-todo-main{display:grid;gap:2px;flex:1 1 220px;min-width:0}.ch-todo-main .muted{font-size:13px;overflow-wrap:anywhere}
.ch-todo > .ch-inline{flex-basis:100%}
.ch-inline{display:grid;gap:8px;margin-top:8px}.ch-inline textarea{width:100%;font:inherit;padding:8px 10px;border:1px solid #cbd5e1;border-radius:10px;resize:vertical}
.ch-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.ch-link{font-size:13px;color:#0d9488}
.ch-ok{margin:0;color:#0d9488;font-weight:700}
.ch-toast{background:#ecfdf5;border:1px solid #99f6e4;color:#0f766e;border-radius:12px;padding:10px 14px;font-weight:600}
.ch-metrics{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;padding:0!important;background:none!important;border:0!important}
.ch-metric{display:grid;gap:2px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:12px 14px;color:#0f2a3d!important;text-decoration:none}
.ch-metric:hover{border-color:#0d9488}.ch-metric span{font-size:12px;color:#64748b;font-weight:700}.ch-metric b{font-size:26px;line-height:1.1}.ch-metric small{color:#64748b;font-size:12px;min-height:15px}
.ch-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.ch-card{border:1px solid #e2e8f0;border-top:4px solid #0d9488;border-radius:14px;padding:12px 14px;display:grid;gap:8px;background:#fff}
.ch-card.s-amber{border-top-color:#f59e0b}.ch-card.s-red{border-top-color:#dc2626}.ch-card.s-grey{border-top-color:#64748b}
.ch-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center}
.ch-state{padding:3px 10px!important;font-size:12px!important;border-radius:999px!important;background:#ccfbf1!important;color:#0f766e!important;min-height:32px}
.ch-state.s-amber{background:#fef3c7!important;color:#92400e!important}.ch-state.s-red{background:#fee2e2!important;color:#991b1b!important}.ch-state.s-grey{background:#e2e8f0!important;color:#475569!important}
.ch-why{background:#f8fafc;border-radius:10px;padding:8px 10px;font-size:13px}.ch-why ul{margin:0 0 4px;padding-left:18px}.ch-why p{margin:4px 0}
.ch-card-load{display:flex;align-items:center;gap:8px;font-size:12px}.ch-spark{width:84px;height:26px;flex:none}
.ch-card-act,.ch-act-grid{display:flex;flex-wrap:wrap;gap:8px}
.ch-btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 14px;border-radius:10px;background:#0d9488;color:#fff!important;font-weight:700;font-size:13.5px;border:0;text-decoration:none;cursor:pointer}
.ch-btn:hover{background:#0f766e}.ch-btn.ghost{background:#fff;color:#0f2a3d!important;border:1px solid #cbd5e1}.ch-btn.ghost:hover,.ch-btn.on{background:#eef2ff}
.ch-empty{text-align:left;border-left:5px solid #f59e0b!important}
.ch-hint{font-size:12px}
@media(max-width:560px){.ch-root section{padding:14px}.ch-todo>button,.ch-todo>.ch-btn{width:100%;min-height:40px}.ch-act-grid>*{flex:1 1 100%}}
@media(prefers-reduced-motion:no-preference){.ch-metric,.ch-btn{transition:border-color .15s,background .15s}}
