.tm { max-width: 900px; margin: 0 auto; display: grid; gap: 14px; padding-bottom: 40px; }
.tm-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; } .tm-top h1 { margin: 0; }
.tm-tools { display: flex; gap: 8px; align-items: center; } .tm-pos { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.tm-today { display: grid; gap: 2px; padding: 18px; } .tm-today small, .tm-today span { color: var(--ds-ink-3); font-size: 13px; } .tm-today > b { font-size: 34px; font-variant-numeric: tabular-nums; } .tm-today span b { color: var(--ds-ink); }
.tm-h { margin: 8px 0 0; font-size: 14px; }
.tm-row { padding: 12px 14px; display: grid; gap: 10px; }
.tm-main { display: grid; grid-template-columns: auto auto 1fr auto auto auto; align-items: center; gap: 10px; }
.tm-grip { color: var(--ds-ink-4); font-size: 12px; } .tm-logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #FFF3C4; color: #6B5300; font-weight: 800; }
.tm-name { display: grid; } .tm-name small { color: var(--ds-ink-3); font-size: 12px; }
.tm-acts { display: flex; gap: 4px; }
body.lab .tm-acts button { border: 0 !important; background: transparent !important; color: var(--ds-ink-3) !important; padding: 4px 6px !important; min-height: 0 !important; box-shadow: none !important; font-size: 12px; cursor: pointer; }
.tm-watch { display: flex; align-items: center; gap: 10px; min-width: 130px; padding: 8px 10px; border: 1px solid var(--ds-stroke); border-radius: 12px; }
.tm-watch span { display: grid; flex: 1; } .tm-watch small { font-size: 11px; color: var(--ds-ink-3); } .tm-watch b { font-size: 17px; font-variant-numeric: tabular-nums; }
.tm-watch.on { border-color: var(--ds-accent-hi, #FFD84D); background: rgba(255,216,77,.08); }
body.lab .tm-watch button { display: grid; place-items: center; width: 30px; height: 30px; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: transparent !important; color: var(--ds-ink) !important; cursor: pointer; box-shadow: none !important; }
.tm-watch svg { width: 15px; height: 15px; }
.tm-note { width: 100%; }
body.lab .tm-add { justify-self: start; border: 0 !important; background: transparent !important; color: var(--ds-ink-3) !important; min-height: 0 !important; padding: 4px 0 !important; cursor: pointer; box-shadow: none !important; }
.tm-hidden summary { cursor: pointer; color: var(--ds-ink-3); font-size: 13px; } .tm-hidden { display: grid; gap: 6px; }
/* Mini timer on every page */
.tm-mini { position: fixed; z-index: 70; display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--ds-glass-solid, #fff); border: 1px solid var(--ds-stroke, #e6e7ea); box-shadow: 0 6px 20px rgba(0,0,0,.12); font-size: 13px; }
.tm-mini.tm-top-right { top: 10px; right: 16px; } .tm-mini.tm-top-left { top: 10px; left: calc(var(--nav, 232px) + 16px); }
.tm-mini.tm-sidebar { position: static; margin: 8px 12px; border-radius: 12px; flex-wrap: wrap; }
.tm-mini small { color: var(--ds-ink-3); } .tm-mini b { font-variant-numeric: tabular-nums; } .tm-mini-name { font-weight: 700; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.lab .tm-mini button, .tm-mini a { display: grid; place-items: center; width: 24px; height: 24px; min-height: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--ds-ink) !important; cursor: pointer; text-decoration: none; box-shadow: none !important; }
.tm-mini svg { width: 13px; height: 13px; }
@media (max-width: 760px) { .tm-main { grid-template-columns: auto 1fr auto; } .tm-grip, .tm-acts { display: none; } .tm-watch { grid-column: span 3; } }
