/* Workouts rework: Week / Plan / Progress pages and their slide-ups.
   Built only from app tokens (themes.css + unified.css). Never hardcode greens. */
.tr-gl svg, .tr-glyphs svg, .tr-st svg, .tr-tile svg, .tr-hero .ico, .tr-sheet .ico, .tr-foot .ico, .tr-plus .ico { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.sh2-head > .tr-sp { display: none; }

/* week strip: one row for gym + runs */
.tr-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin: 2px 0 12px; }
.tr-day { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 0 9px; border-radius: 16px; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; min-width: 0; }
.tr-day.today { background: var(--panel); box-shadow: var(--u-card); }
.tr-day > span { font-size: 10.5px; font-weight: 600; color: var(--muted); }
.tr-day.today > span { color: var(--text); }
.tr-dn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; background: var(--u-seg); color: var(--text); font-variant-numeric: tabular-nums; }
.tr-dn svg { width: 14px; height: 14px; stroke-width: 3; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.tr-day.done .tr-dn { background: var(--accent); color: #fff; }
.tr-day.today .tr-dn { background: var(--n-hero); color: #fff; box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--accent); }
:root[data-theme="dark"] .tr-day.today .tr-dn { background: #fff; color: #111; }
.tr-day.today.done .tr-dn { background: var(--accent); color: #fff; }
.tr-day.missed .tr-dn { background: transparent; box-shadow: inset 0 0 0 1.5px var(--u-amber); color: var(--u-amber); }
.tr-day.rest .tr-dn { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--u-hair); }
.tr-glyphs { display: flex; gap: 3px; height: 14px; }
.tr-glyphs .tr-gl { width: 14px; height: 14px; border-radius: 5px; display: grid; place-items: center; background: var(--u-tile); margin: 0; }
.tr-glyphs .tr-gl svg { width: 9px; height: 9px; stroke-width: 2.6; }

/* small inline glyphs (lift / run) */
.tr-gl { display: inline-flex; width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; color: var(--text); }
.tr-gl svg { width: 13px; height: 13px; stroke-width: 2.2; }
.tr-gl.run { color: var(--u-blue); }
.tr-gl.ok { color: var(--accent); }
.tr-gl.miss { color: var(--u-amber); }
.tr-plus-sep { margin: 0 5px; color: var(--u-faint); font-weight: 600; }

/* today hero */
.tr-hero { padding: 16px 18px; }
.tr-hero-top { display: flex; gap: 12px; }
.tr-hero-top .l { flex: 1; min-width: 0; }
.tr-hero h3 { margin: 4px 0 0; font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.tr-sub { font-size: 12px; color: var(--n-line); margin-top: 2px; }
.tr-hero .tr-fig { width: 52px; margin-top: 2px; flex-shrink: 0; }
.tr-hero .tr-fig .mm-fig { width: 52px; }
.tr-hero .mm-skin, .tr-hero .mm-fig path:not([data-region]) { fill: #2b2f34; }
.tr-hero .mm-fig path { stroke: var(--n-hero); }
.tr-hx { margin-top: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); cursor: pointer; }
.tr-hx > div { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: 12.5px; }
.tr-hx > div + div { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.tr-hx b { flex: 1; min-width: 0; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-hx span { color: var(--n-faint2); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tr-hx em { font-style: normal; color: var(--acc-400); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tr-hx .more { white-space: normal; }
.tr-hero-btns { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-top: 14px; }
.tr-hero-btns.one { grid-template-columns: 1fr; }
.tr-hero-btns .btn { justify-content: center; display: inline-flex; align-items: center; gap: 6px; padding: 11px 14px; text-decoration: none; }
.tr-hero-btns .btn .ico { width: 14px; height: 14px; }
.tr-also { display: flex; width: 100%; align-items: center; gap: 10px; margin-top: 10px; padding: 9px 12px; border: 0; border-radius: 14px; background: rgba(var(--acc-400-rgb), 0.1); color: #fff; font: inherit; font-size: 12.5px; text-align: left; cursor: pointer; }
.tr-also .tr-gl { color: var(--u-blue); }
.tr-also b { flex: 1; min-width: 0; font-weight: 600; }
.tr-also span:last-child { color: var(--acc-400); font-weight: 700; font-size: 11.5px; white-space: nowrap; }
.tr-also.done .tr-gl { color: var(--acc-400); }

/* inset-list panels */
.tr-list { padding: 8px; border-radius: 22px; }
.tr-list .u-ins { background: var(--u-tile); }
.tr-tile { width: 32px; height: 32px; border-radius: 10px; background: var(--u-tile); display: grid; place-items: center; flex-shrink: 0; font-size: 12.5px; font-weight: 700; color: var(--text); }
.u-ins .tr-tile { background: var(--panel); }
.tr-tile.run { color: var(--u-blue); }
.tr-tile.acc { color: var(--accent); }
.tr-tile.hr { color: #ef4444; }
.tr-tile svg { width: 16px; height: 16px; stroke-width: 2; }
.tr-kv { font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tr-add-row .u-name { color: var(--accent-dark); }
.tr-add-row .tr-tile { color: var(--accent); }
.tr-cta { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.tr-plus { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--panel); box-shadow: var(--u-card); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.tr-plus .ico { width: 14px; height: 14px; stroke-width: 2.2; }
.tr-next { margin-bottom: 12px; }

/* "This week" list */
.tr-daycol { width: 34px; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.tr-daycol small { font-size: 10.5px; font-weight: 600; color: var(--muted); }
.tr-daycol b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tr-row-today { background: rgba(var(--acc-500-rgb), 0.07); }
.tr-weeklist .u-name { white-space: normal; }
.tr-st { font-size: 11px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.tr-st.ok { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.tr-st.ok svg { width: 12px; height: 12px; stroke-width: 3; }
.tr-st.miss { color: var(--u-amber); }
.tr-st.today { color: var(--acc-700); background: var(--acc-100); padding: 3px 8px; border-radius: 999px; }
:root[data-theme="dark"] .tr-st.today { color: var(--acc-300); background: rgba(var(--acc-500-rgb), 0.16); }
.tr-move { font-size: 11.5px; font-weight: 600; color: var(--accent-dark); padding: 4px 9px; border-radius: 999px; background: var(--panel); cursor: pointer; flex-shrink: 0; }
.tr-vol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 4px 2px; font-size: 11.5px; }
.tr-vol > span:first-child { font-weight: 600; color: var(--muted); margin-right: 2px; }
.tr-suggest { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 10px; border-radius: 18px; background: var(--panel); box-shadow: var(--u-card); font-size: 12.5px; }
.tr-suggest > div { flex: 1; min-width: 0; }
.tr-suggest b { font-weight: 700; }
.tr-suggest span { color: var(--muted); }
.tr-suggest.warn { box-shadow: inset 3px 0 0 var(--u-amber), var(--u-card); }
.tr-suggest.calm { box-shadow: inset 3px 0 0 var(--u-blue), var(--u-card); }
.tr-suggest .btn { flex-shrink: 0; }

/* race card + phase bar */
.tr-race { display: block; width: 100%; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.tr-race-top { display: flex; align-items: flex-start; gap: 12px; }
.tr-race-top .l { flex: 1; min-width: 0; }
.tr-race-top h3 { margin: 0; font-size: 14.5px; font-weight: 700; }
.tr-race-top p { margin: 2px 0 0; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.tr-race-days { text-align: right; line-height: 1; }
.tr-race-days b { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tr-race-days small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.tr-phase { display: flex; gap: 3px; margin-top: 14px; position: relative; }
.tr-phase > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.tr-phase i { height: 6px; border-radius: 4px; background: var(--u-hair); display: block; }
.tr-phase > div.on i { background: var(--u-blue); }
.tr-phase small { font-size: 10.5px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-phase > div.on small { color: var(--text); }
.tr-phase .mk { position: absolute; top: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--panel); box-shadow: 0 0 0 2.5px var(--u-blue), 0 2px 6px rgba(0, 0, 0, 0.2); }
.tr-phase.dark i { background: rgba(255, 255, 255, 0.12); }
.tr-phase.dark small { color: var(--n-faint2); }
.tr-phase.dark > div.on small { color: #fff; }
.tr-phase.dark .mk { background: var(--n-hero); }
.tr-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); font-weight: 500; }
.tr-note b { color: var(--text); font-weight: 600; }
.tr-plan-hero .sh2-stats { margin-top: 14px; }

/* recovery */
.tr-rec { display: flex; gap: 14px; align-items: center; }
.tr-rec .mm-map { width: 116px; flex-shrink: 0; gap: 4px; --mm-hit: 245, 158, 11; }
.tr-rec .mm-map figcaption { display: none; }
.tr-rec .r { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.tr-bar { display: grid; grid-template-columns: 1fr 70px 34px; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; }
.tr-bar .t { height: 6px; border-radius: 4px; background: var(--u-hair); overflow: hidden; }
.tr-bar .t i { display: block; height: 100%; border-radius: 4px; background: var(--u-amber); }
.tr-bar .n { text-align: right; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tr-fresh { margin: 0; font-size: 11.5px; color: var(--muted); font-weight: 500; }

/* progress: cardio card + history chips */
.tr-head2 { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.tr-kick { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.tr-big { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; margin: 2px 0; }
.tr-big small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.tr-zchip { font: inherit; font-size: 11px; font-weight: 700; padding: 4px 9px; border: 0; border-radius: 999px; background: var(--acc-100); color: var(--acc-700); white-space: nowrap; cursor: pointer; }
:root[data-theme="dark"] .tr-zchip { background: rgba(var(--acc-500-rgb), 0.16); color: var(--acc-300); }
.wo-cols.tr-blue i.on { background: var(--u-blue); }
.tr-cardio .u-stats { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--u-hair); }
.tr-chips { display: flex; gap: 6px; margin: 0 0 10px; }
.tr-chips button { font: inherit; font-size: 12px; font-weight: 600; padding: 6px 12px; border: 0; border-radius: 999px; background: var(--u-seg); color: var(--muted); cursor: pointer; }
.tr-chips button.on { background: var(--panel); color: var(--text); box-shadow: 0 1px 3px rgba(var(--n-ink-rgb), 0.1); }
.tr-empty { padding: 10px 6px; margin: 0; }

/* sheets */
.tr-sheet { padding-bottom: 6px; }
.tr-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; margin-bottom: 10px; border: 0; border-radius: 18px; background: var(--panel); box-shadow: var(--u-card); font: inherit; color: inherit; text-align: left; cursor: pointer; }
.tr-opt .u-main { gap: 2px; }
.tr-opt .u-meta { white-space: normal; }
.tr-opt:hover { box-shadow: 0 0 0 2px var(--accent), var(--u-card); }
.tr-foot { position: sticky; bottom: 0; z-index: 2; margin: 14px -18px -18px; padding: 12px 18px calc(18px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--bg) 40%); display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.tr-foot.one { grid-template-columns: 1fr; }
.tr-foot .btn { justify-content: center; display: inline-flex; align-items: center; gap: 6px; width: 100%; }
.tr-foot .btn .ico { width: 14px; height: 14px; }
.tr-last { font-size: 12px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tr-last small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.tr-step { display: flex; gap: 12px; padding: 10px 12px; }
.tr-step + .tr-step { border-top: 1px solid var(--u-hair); }
.tr-step .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; background: var(--u-blue); }
.tr-step .dot.easy { background: #93c5fd; }
.tr-step .dot.hard { background: var(--u-amber); }
.tr-step .u-main, .tr-step .u-meta { white-space: normal; }
.tr-pace { font-size: 12.5px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hm-section-head button.link { background: none; border: 0; padding: 0; font-family: inherit; font-size: 12px; font-weight: 600; color: var(--accent-dark); cursor: pointer; }

/* live workout: slim timer bar with a tick per set, compact actions, rest dock */
.lv-slim { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.lv-slim-t { flex-shrink: 0; line-height: 1; }
.lv-slim-t span { display: block; font-size: 10.5px; font-weight: 600; color: var(--n-faint2); margin-bottom: 4px; }
.lv-slim-t b { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lv-slim-r { flex: 1; min-width: 0; }
.lv-slim-row { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 600; color: var(--n-faint2); }
.lv-slim-row b { color: #fff; }
.lv-ticks { display: flex; gap: 3px; margin-top: 8px; }
.lv-ticks i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.lv-ticks i.gap:not(:first-child) { margin-left: 4px; }
.lv-ticks i.on { background: var(--acc-500); box-shadow: 0 0 6px rgba(var(--acc-400-rgb), 0.6); }
.lv-ex-actions { display: flex; gap: 6px; margin-top: 10px; }
.lv-ex-actions .lv-pill { flex: 1; height: 34px; font-size: 12px; padding: 0 8px; min-width: 0; }
.lv-ex-actions .lv-pill.wo-add-set { flex: 1.4; }
.lv-ex-actions .lv-pill svg { width: 13px; height: 13px; }
/* Rest dock: one element on <body> (app.js restDock) so it outlives sheet
   re-renders, swipe-downs and page changes. Sheet open: pinned to the bottom of
   the sheet. Sheet minimised: floats above the nav / workout pill. */
.workout-rest-banner.lv-dock { position: fixed; left: 50%; transform: translateX(-50%); width: min(calc(100vw - 32px), 440px); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 1450; align-items: center; justify-content: flex-start; gap: 8px; margin: 0; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--n-hero); color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.5); animation: lv-dock-in 0.28s cubic-bezier(0.32, 0.72, 0, 1); }
body.wo-sheet-open .workout-rest-banner.lv-dock { z-index: 1600; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: min(calc(100vw - 32px), 748px); }
body.wo-sheet-open.wo-resting .wo-sheet-body { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
body.wo-resting:not(.wo-sheet-open) .app { padding-bottom: 190px; }
body.vs-open .workout-rest-banner.lv-dock { opacity: 0; pointer-events: none; }
@keyframes lv-dock-in { from { opacity: 0; transform: translateX(-50%) translateY(14px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@media (max-width: 600px) {
  /* Phones, minimised: sit just above the raised + in the bottom nav */
  .workout-rest-banner.lv-dock { bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
  body.wo-sheet-open .workout-rest-banner.lv-dock { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: calc(100vw - 24px); }
}
@media (prefers-reduced-motion: reduce) { .workout-rest-banner.lv-dock { animation: none; } }
:root[data-theme="dark"] .workout-rest-banner.lv-dock { background: var(--d-raise, #2a2d31); }
.lv-dock-t { flex: 1; line-height: 1.05; }
.lv-dock-t small { display: block; font-size: 10.5px; font-weight: 600; color: var(--n-faint2); }
.lv-dock-t b { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lv-dock-b { height: 34px; padding: 0 13px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #fff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.lv-dock-b.acc { background: var(--acc-500); }
.workout-rest-banner.lv-dock.is-done { background: var(--accent); }
.workout-rest-banner.lv-dock.is-done .lv-dock-t small { color: rgba(255, 255, 255, 0.8); }

/* Edit routine, Generate routine and Warm-up settings: bottom slide-ups like the
   other sheets (centred title, round close, sticky footer) instead of centred modals. */
#routineModalBackdrop, #genModalBackdrop, #warmupSettingsBackdrop { align-items: flex-end; padding: 0; overflow: hidden; background: rgba(var(--n-ink-rgb), 0.45); }
#routineModalBackdrop > .modal, #genModalBackdrop > .modal, #warmupSettingsBackdrop > .modal {
  max-width: 560px; width: 100%; max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  border-radius: 28px 28px 0 0; padding: 10px 18px 0; background: var(--bg); box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
  animation: tr-up 0.32s cubic-bezier(0.2, 0.9, 0.3, 1);
}
#routineModalBackdrop > .modal::before, #genModalBackdrop > .modal::before, #warmupSettingsBackdrop > .modal::before { content: ''; display: block; width: 38px; height: 5px; border-radius: 3px; background: var(--u-seg); margin: 0 auto 10px; }
@keyframes tr-up { from { transform: translateY(40px); opacity: 0.4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #routineModalBackdrop > .modal, #genModalBackdrop > .modal, #warmupSettingsBackdrop > .modal { animation: none; } }
#routineModalBackdrop .modal-header, #genModalBackdrop .modal-header, #warmupSettingsBackdrop .modal-header { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 8px; margin: 0 0 14px; }
#routineModalBackdrop .modal-header h2, #genModalBackdrop .modal-header h2, #warmupSettingsBackdrop .modal-header h2 { grid-column: 2; grid-row: 1; margin: 0; text-align: center; font-size: 18px; }
#routineModalClose, #genModalClose, #wuModalClose { grid-column: 3; grid-row: 1; justify-self: end; width: 38px; height: 38px; border-radius: 50%; background: var(--panel); box-shadow: var(--u-card); color: var(--text); font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
#genBackBtn { grid-column: 1; grid-row: 1; width: 38px; height: 38px; border-radius: 50%; background: var(--panel); box-shadow: var(--u-card); color: var(--text); }
#routineForm > .row.gap.end, #genModalBackdrop .modal > .row.gap.end, .wu-modal-actions {
  position: sticky; bottom: 0; z-index: 2; margin: 14px -18px 0; padding: 12px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--bg) 35%); display: flex; gap: 8px;
}
#routineForm > .row.gap.end .btn-primary, #genModalBackdrop .modal > .row.gap.end .btn-primary, .wu-modal-actions .btn-primary { flex: 1; justify-content: center; }
#cancelRoutineBtn, #wuCancel { display: none; }
#routineModalBackdrop .field input[type="text"], #warmupSettingsBackdrop input { background: var(--panel); }

/* Sheets that bring their own sh2 header don't need the old 50px close-button inset
   (styles.css gives every sheet's first child padding-right: 50px). */
.view-sheet-body > .vs-content > .tr-sheet:first-child,
.view-sheet-body > .vs-content > :first-child:has(> .sh2-head:first-child) { padding-right: 0; }
/* The page hides the "workout in progress" card (the hero shows it); inside the
   Start something else sheet it must show, or the sheet would look empty. */
#woOther.vs-content .hard75-start-card { display: flex; }
#woOther.vs-content .hard75-start-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border: 0; border-radius: 18px; background: var(--panel); box-shadow: var(--u-card); }

/* Delete a finished workout (bottom of its sheet) */
.ps-delete { display: block; width: 100%; margin: 18px 0 6px; padding: 12px; border: 0; border-radius: 999px; background: var(--u-tile); color: #dc2626; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ps-delete.armed { background: #dc2626; color: #fff; }
:root[data-theme="dark"] .ps-delete:not(.armed) { color: #f87171; }

/* Back on track: away banner + restart / push back sheet */
.tr-away { margin-top: 10px; }
.tr-away .btn { min-height: 36px; }
.tr-away-x { flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.tr-away-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tr-opt.off { opacity: .55; cursor: default; }
.tr-restart { cursor: default; align-items: flex-start; }
.tr-date { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--text); }
.tr-date input { font: inherit; font-weight: 600; padding: 8px 10px; border: 0; border-radius: 12px; background: var(--u-tile); color: inherit; }
.tr-back-err { margin: 0 0 10px; color: var(--danger, #d33); font-size: 12.5px; }
