.time-running{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:10px;background:var(--soft);border:1px solid var(--accent);margin-bottom:12px}
.time-start{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.time-start input{flex:1;min-width:220px}
.time-quick{flex-wrap:wrap;margin-bottom:18px}
.time-grid{align-items:start}
.time-line{padding:8px 16px}
.time-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}.time-row:last-child{border-bottom:0}
.time-row .time-when{flex:none;width:112px;font-variant-numeric:tabular-nums;font-size:.86rem}
.time-row .time-what{flex:1;min-width:0;overflow-wrap:anywhere}.time-row .time-what small{color:var(--muted)}
.time-row .actions{flex:none;display:flex;gap:4px;align-items:center}
.time-row.block{border-left:3px solid var(--accent);padding-left:10px}
.time-row.block.break{border-left-color:var(--muted);opacity:.8}
.time-row.block.running{background:var(--soft)}
.time-row.planned{color:var(--muted);border-left:3px dashed var(--border);padding-left:10px}
.time-row.gap{background:var(--amberbg);border-left:3px solid var(--amber);padding-left:10px;border-radius:4px}
.time-row.editing{flex-wrap:wrap;background:var(--soft);padding:10px;border-radius:8px}.time-row.editing input[type=time]{width:110px}.time-row.editing input[name=title]{flex:1;min-width:180px}
.time-kv{list-style:none;padding:0;margin:0}.time-kv li{display:flex;align-items:baseline;gap:10px;padding:6px 0;border-bottom:1px solid var(--border);font-size:.9rem}.time-kv li span{flex:1}.time-kv li small{color:var(--muted);width:48px;text-align:right}
.time-kv li.total{font-weight:700}.time-kv li.warn b{color:var(--amber)}
.time-summary h3{margin:16px 0 4px;font-size:.9rem}
.time-suggestion{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--border)}.time-suggestion p{margin:4px 0 0}
.time-rec-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px}
.time-rec{color:var(--c-danger);font-weight:700;animation:ai-pulse 1.4s ease-in-out infinite}
.time-transcript{max-height:320px;overflow:auto;border-top:1px solid var(--border);padding-top:8px}.time-transcript p{margin:6px 0;font-size:.9rem}.time-transcript small{color:var(--muted);margin-right:6px}
#time-notes{min-height:280px}
.time-draft{white-space:pre-wrap;background:var(--soft);padding:12px;border-radius:8px;font:inherit;font-size:.88rem}
@media(max-width:650px){.time-row{flex-wrap:wrap}.time-row .time-when{width:auto}}
.time-retro-times{display:flex;gap:12px;margin-bottom:16px}.time-retro-times label{display:flex;flex-direction:column;gap:4px;font-size:.8rem;color:var(--muted)}
