/* Daily task table + overview (inside the "Add Daily Tracker" panel) */
.tt-wrap { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--t-border, #3a0a0d); }
.tt-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--up, #7dffa0); }
.tt-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--up, #7dffa0); box-shadow: 0 0 8px var(--up-glow, rgba(90,255,140,.85)); animation: ttPulse 1.6s ease-in-out infinite; }
.tt-live.local { color: #aaa; } .tt-live.local i { background: #888; box-shadow: none; animation: none; }
@keyframes ttPulse { 50% { opacity: .35; transform: scale(.8); } }
.tt-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.tt-chip { background: #141414; color: #eee; border: 1px solid var(--t-dark, #7a0c14); border-radius: 999px; padding: 5px 12px; font-size: 12px; cursor: pointer; }
.tt-chip.active, .tt-chip:hover { background: var(--t-base, #e01b24); border-color: var(--t-base, #e01b24); color: #fff; }
.tt-overview { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-bottom: 16px; }
.tt-stat { background: #141414; border: 1px solid var(--t-border, #3a0a0d); border-radius: 10px; padding: 10px 12px; }
.tt-stat small { display: block; color: #999; font-size: 11px; margin-bottom: 3px; }
.tt-stat strong { font-size: 18px; color: #fff; }
.tt-stat strong.good { color: var(--up, #7dffa0); text-shadow: 0 0 8px var(--up-glow, rgba(90,255,140,.85)); }
.tt-scroll { overflow: auto; max-height: 52vh; border: 1px solid var(--t-border, #3a0a0d); border-radius: 10px; }
.tt { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
.tt th, .tt td { padding: 8px 9px; text-align: center; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.06); }
.tt th { position: sticky; top: 0; background: #1a1a1a; color: #fff; z-index: 1; font-weight: 600; }
.tt td:first-child, .tt th:first-child { text-align: left; }
.tt tbody tr:hover { background: rgba(var(--t-base-rgb, 224, 27, 36), .12); }
.tt tr.tt-today td:first-child { color: var(--up, #7dffa0); font-weight: 700; }
.tt td.zero { color: #666; }
.tt td.work strong { color: var(--up, #7dffa0); }
.tt .tt-act button { background: transparent; border: 0; color: #ccc; cursor: pointer; padding: 3px 6px; font-size: 13px; }
.tt .tt-act button:hover { color: var(--t-light, #ff4d4d); }
.tt-empty { padding: 22px; color: #aaa; text-align: center; font-size: 13px; }
.tt tr.tt-flash { animation: ttFlash 1.8s ease-out; }
@keyframes ttFlash { from { background: rgba(90, 255, 140, .35); } to { background: transparent; } }
