/* ---------- TIMESHEET ---------- */
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-head > div:first-child { flex: 1 1 320px; min-width: 0; }
/* the dashboard uses the full room like Calendar and Scheduling (the wide-screen cap stays at 1920px) */
@media (max-width: 1919px) {
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet.rt-page { max-inline-size: none; }
}
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet.rt-page { padding-inline: 0; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger-head > #time-export:not(:disabled) { background: var(--at-glass-2) !important; border-color: var(--at-line) !important; box-shadow: var(--at-sheen) !important; color: var(--at-ink) !important; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-summary-figure { font-weight: 600; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-summary-figure::before { content: ""; display: inline-block; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--at-amber); margin-inline-end: 7px; vertical-align: 1px; box-shadow: 0 0 0 2px rgb(0 0 0 / .18); }
/* dashboard: the work session with a serif clock, and this week's tracked time */
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-dashboard { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: stretch; margin: 0 0 20px; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-dashboard > .time-session { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "copy clock" "copy actions"; align-items: center; gap: 10px 28px; min-height: 172px; margin: 0; padding: 22px 26px; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-dashboard > .time-session[data-state="idle"] { grid-template-areas: "copy clock" "copy clock"; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session-copy { grid-area: copy; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--at-green-text); }
html[lang="ar"] body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session-label { font-size: 13px; letter-spacing: 0; text-transform: none; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session:not([data-state="idle"]) .time-session-label::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--at-green); box-shadow: 0 0 0 3px var(--at-green-soft); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session[data-state="paused"] .time-session-label { color: var(--at-amber); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session[data-state="paused"] .time-session-label::before { background: var(--at-amber); box-shadow: 0 0 0 3px var(--at-amber-soft); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet #time-session-heading { margin: 0; font-family: var(--at-serif) !important; font-size: 30px !important; font-weight: 400 !important; line-height: 1.15 !important; letter-spacing: -.01em; color: var(--at-ink); overflow-wrap: anywhere; }
html[lang="ar"] body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet #time-session-heading { font-family: var(--at-sans) !important; font-size: 22px !important; font-weight: 500 !important; line-height: 1.4 !important; letter-spacing: 0; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session-copy > .time-note { margin: 0; max-width: 56ch; font-size: 14px; line-height: 1.55; color: var(--at-ink-2); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session-clock { grid-area: clock; justify-self: end; font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
html[lang="ar"] body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session-clock { font-family: var(--at-sans) !important; font-weight: 500 !important; font-size: 44px; letter-spacing: 0; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session[data-state="idle"] .time-session-clock { color: var(--at-ink-3); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session > .time-actions { grid-area: actions; justify-self: end; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-week { box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; min-width: 0; margin: 0; padding: 22px 24px; background: var(--at-pane); border: 1px solid var(--at-line); border-radius: var(--at-r-lg); box-shadow: var(--at-sheen), var(--at-shadow); color: var(--at-ink); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-week-title { margin: 0; font-size: 15px; font-weight: 600; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-week-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-week-figure { font-family: var(--at-serif); font-size: 44px; font-weight: 400; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
html[lang="ar"] body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-week-figure { font-family: var(--at-sans); font-weight: 500; font-size: 32px; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-week-caption { font-size: 13px; color: var(--at-ink-3); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-week-bar { display: flex; gap: 2px; block-size: 8px; border-radius: 4px; background: var(--at-fill-2); box-shadow: inset 0 0 0 1px var(--at-line-2); overflow: hidden; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-week-seg { display: block; flex: 1 1 0; min-inline-size: 4px; block-size: 100%; border-radius: 4px; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet :is(.time-week-seg, .time-week-legend li).is-unbilled { --seg: var(--at-green); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet :is(.time-week-seg, .time-week-legend li).is-invoiced { --seg: var(--at-blue); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet :is(.time-week-seg, .time-week-legend li).is-nonbillable { --seg: var(--at-ink-4); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-week-seg { background: var(--seg); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-week-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--at-ink-3); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-week-legend li { display: inline-flex; align-items: center; gap: 6px; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-week-legend li::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 2px; background: var(--seg); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-week-value { color: var(--at-ink-2); font-variant-numeric: tabular-nums; }
/* the ledger: one panel with its toolbar, serif totals, rows grouped by day and the invoice footer */
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger { box-sizing: border-box; min-width: 0; margin: 0 0 14px; overflow: hidden; background: var(--at-pane); border: 1px solid var(--at-line); border-radius: var(--at-r-lg); box-shadow: var(--at-sheen), var(--at-shadow); color: var(--at-ink); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 16px 20px 0; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger-title { margin: 0; font-size: 15px; font-weight: 600; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger-tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 12px 20px 16px; border-bottom: 1px solid var(--at-line); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger-tools > .time-filters { flex: 1 1 560px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 0; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-field { flex: 1 1 180px; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-filters > .time-field:first-child { flex: 2 1 280px; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-filters :is(input, select, .localized-control-input):not(:disabled) { width: 100%; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger-tools > .time-advanced { flex: 0 0 auto; margin: 0; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger-tools > .time-advanced[open] { flex-basis: 100%; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-advanced > summary:not(:disabled) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px !important; border: 0 !important; border-radius: 12px !important; background: var(--at-fill-1) !important; box-shadow: inset 0 0 0 1px var(--at-line) !important; color: var(--at-ink-2) !important; font-size: 13px; font-weight: 500; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-advanced > summary:not(:disabled):hover, html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-advanced[open] > summary:not(:disabled) { background: var(--at-fill-2) !important; color: var(--at-ink) !important; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-advanced-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; padding: 12px 0 0; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger #time-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-bottom: 1px solid var(--at-line); background: transparent; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger #time-totals > .time-total-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 16px 20px; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger #time-totals > .time-total-card + .time-total-card { border-inline-start: 1px solid var(--at-line-2) !important; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-total-label { margin: 0 !important; color: var(--at-ink-3) !important; font-weight: 500 !important; font-size: 13px !important; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-total-value { padding: 0 !important; background: none !important; box-shadow: none !important; font-family: var(--at-serif); font-size: 32px; font-weight: 400; line-height: 1.05; letter-spacing: -.01em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
html[lang="ar"] body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-total-value { font-family: var(--at-sans); font-weight: 500; font-size: 24px; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list { margin: 0; padding: 0 8px 6px; overflow: auto; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list table { inline-size: 100%; border-collapse: collapse; font-size: 14px; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list thead th { padding: 14px 12px 10px; background: transparent; border: 0; border-bottom: 1px solid var(--at-line-2); font: 600 12px/1.4 var(--at-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--at-ink-3); text-align: start; white-space: nowrap; }
html[lang="ar"] body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list thead th { font-size: 13px; letter-spacing: 0; text-transform: none; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-day-group > th { padding: 18px 12px 6px; background: transparent; border: 0; font: 600 12px/1.4 var(--at-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--at-ink-3); text-align: start; }
html[lang="ar"] body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-day-group > th { font-size: 13px; letter-spacing: 0; text-transform: none; }
/* DENSITY 2 · Time: day captions sit closer to their entries. */
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-day-group > th:not(#_) { padding-block: 12px 4px; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-day-total { float: inline-end; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--at-ink-2); font-variant-numeric: tabular-nums; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-entry-row > td { padding: 8px 12px; border: 0; border-top: 1px solid var(--at-line-2); background: transparent; vertical-align: middle; transition: background-color var(--at-fast) var(--at-ease), border-color var(--at-fast) var(--at-ease); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-day-group + tr.time-entry-row > td { border-top-color: transparent; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-entry-row:hover > td { background: var(--at-hover); border-top-color: transparent; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-entry-row:hover + tr > td { border-top-color: transparent; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-entry-row > td:first-child { border-start-start-radius: 12px; border-end-start-radius: 12px; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-entry-row > td:last-child { border-start-end-radius: 12px; border-end-end-radius: 12px; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list td strong { font-weight: 500; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list td small { font-size: 13px; color: var(--at-ink-3); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list .time-date { color: var(--at-ink-3); font-size: 13px; white-space: nowrap; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list .time-value { font-variant-numeric: tabular-nums; white-space: nowrap; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list .time-row-actions { white-space: nowrap; text-align: end; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list .time-row-actions button:not(:disabled) { min-height: 44px; padding: 0 12px; border-color: transparent; color: var(--at-ink-2); font-size: 13px; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list .time-row-actions button:not(:disabled):hover { color: var(--at-ink); }
@media (hover: hover) and (min-width: 701px) {
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list .time-row-actions > button { opacity: 0; transition: opacity var(--at-fast) var(--at-ease); }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-entry-row:is(:hover, :focus-within) .time-row-actions > button { opacity: 1; }
}
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list .time-empty { padding: 36px 20px; text-align: center; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list .time-empty h2 { margin: 0 0 6px; font-family: var(--at-serif); font-size: 26px; font-weight: 400; }
html[lang="ar"] body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list .time-empty h2 { font-family: var(--at-sans); font-weight: 500; font-size: 20px; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list .time-empty p { margin: 0 auto; max-width: 52ch; font-size: 14px; color: var(--at-ink-2); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 20px; border-top: 1px solid var(--at-line); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger-foot > .time-allocation { order: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; margin: 0; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger-foot > .time-note { flex: 1 1 280px; margin: 0; max-width: 60ch; font-size: 13px; color: var(--at-ink-3); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-notes { display: grid; gap: 4px; margin: 0; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-notes > .time-note { max-width: 72ch; margin: 0; font-size: 13px; line-height: 1.6; color: var(--at-ink-2); text-shadow: var(--at-text-shadow); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-feedback:empty { display: none; }
/* the work date is the group label; the billing status reads as dot + word */
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list :is(thead th:nth-child(2), td.time-date) { display: none; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list td.time-billing { font-size: 13px; color: var(--at-ink-2); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list td.time-billing:not([data-billing="allocated"])::before { content: ""; display: inline-block; inline-size: 7px; block-size: 7px; margin-inline-end: 8px; border-radius: 50%; background: var(--at-ink-4); vertical-align: 1px; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list td.time-billing[data-billing="unbilled"] { color: var(--at-amber); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list td.time-billing[data-billing="unbilled"]::before { background: currentColor; }
html[lang="en"] body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-total-label::first-letter { text-transform: uppercase; }
@media (max-width: 1000px) {
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-dashboard { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-dashboard > .time-session { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "clock" "actions"; min-height: 0; padding: 18px; gap: 12px; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-dashboard > .time-session[data-state="idle"] { grid-template-areas: "copy" "clock"; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session-clock { justify-self: start; font-size: 52px; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session > .time-actions { justify-self: stretch; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session > .time-actions > button:not(:disabled) { flex: 1 1 0; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-week { padding: 18px; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger-head, html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger-tools { padding-inline: 14px; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger #time-totals { grid-template-columns: minmax(0, 1fr); }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger #time-totals > .time-total-card { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 12px 14px; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger #time-totals > .time-total-card + .time-total-card { border-inline-start: 0 !important; border-top: 1px solid var(--at-line-2) !important; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-total-value { font-size: 26px; text-align: end; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list { padding: 0 6px 6px; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-day-group { display: block; padding: 0; border: 0; background: transparent !important; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-day-group > th { display: block; padding: 16px 8px 6px; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-entry-row { padding: 10px 4px; border: 0; border-top: 1px solid var(--at-line-2); border-radius: 12px; background: transparent !important; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-day-group + tr.time-entry-row { border-top-color: transparent; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-entry-row > td { padding: 3px 4px; border: 0; border-radius: 0; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger-foot { padding: 12px 14px; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger-foot > .time-allocation { inline-size: 100%; justify-content: space-between; }
}
/* DENSITY 3 · Time: entries and their day captions sit on tighter rows, so the ledger reads as a table and not a list of cards. */
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-day-group > th:not(#_):not(#__) { padding-block: 8px 2px; }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list tr.time-entry-row > td:not(#_) { padding-block: 6px; }
/* ---------- TIMESHEET · bento r2 (work pages) ---------- */
/* The work session is the night tile, the same material as Today's Focus tile: it stays dark in a light room. */
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-dashboard > .time-session:not(#_) {
  --at-ink: var(--at-night-ink, #f3f0e9); --at-ink-2: color-mix(in srgb, var(--at-night-ink, #f3f0e9) 82%, transparent); --at-ink-3: color-mix(in srgb, var(--at-night-ink, #f3f0e9) 72%, transparent); --at-ink-4: color-mix(in srgb, var(--at-night-ink, #f3f0e9) 42%, transparent);
  --at-line: rgb(255 255 255 / .14); --at-line-2: rgb(255 255 255 / .1); --at-fill-1: rgb(255 255 255 / .06); --at-fill-2: rgb(255 255 255 / .1); --at-fill-3: rgb(255 255 255 / .14); --at-hover: rgb(255 255 255 / .08);
  --at-glass: rgb(255 255 255 / .06); --at-glass-2: rgb(255 255 255 / .08); --at-glass-strong: #1d1a15;
  --at-green: var(--at-night-accent, #00d492); --at-green-ink: var(--at-night-accent-ink, #0c0a07); --at-green-text: var(--at-night-accent, #00d492); --at-green-soft: color-mix(in srgb, var(--at-night-accent, #00d492) 18%, transparent);
  --at-amber: #f5c36b; --at-amber-soft: rgb(245 195 107 / .2); --at-rose: #ff9c92; --at-text-shadow: none;
  position: relative; isolation: isolate; overflow: hidden; color: var(--at-ink); color-scheme: dark;
  background: var(--at-night, #0c0a07) !important; border: 1px solid color-mix(in srgb, var(--at-night-accent, #00d492) 28%, transparent) !important; box-shadow: 0 10px 28px rgb(0 0 0 / .22) !important;
}
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-dashboard > .time-session:not(#_)::after {
  content: ""; position: absolute; z-index: -1; inset-block-end: -120px; inset-inline-end: -90px; width: 320px; height: 320px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, transparent 0 38%, color-mix(in srgb, var(--at-night-accent, #00d492) 8%, transparent) 38.5% 39.5%, transparent 40% 58%, color-mix(in srgb, var(--at-night-accent, #00d492) 6%, transparent) 58.5% 59.5%, transparent 60%);
}
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session-clock:not(#_) { font-family: var(--at-sans) !important; font-weight: 600 !important; font-size: 56px; letter-spacing: -.01em; color: var(--at-ink); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session[data-state="idle"] .time-session-clock:not(#_) { color: var(--at-ink-3); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session[data-state="running"] .time-session-label:not(#_) { color: var(--at-green); }
@media (prefers-reduced-motion: no-preference) {
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-session[data-state="running"] .time-session-label::before { animation: rt-time-live 2000ms cubic-bezier(.4, 0, .6, 1) infinite; }
}
@keyframes rt-time-live { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .4; } }
/* No entries yet: a strip under the totals, not a 130px centred block. */
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list .time-empty:not(#_) {
  display: flex !important; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 2px 12px; min-height: 64px; padding: 14px 12px !important; text-align: start; box-sizing: border-box;
}
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list .time-empty:not(#_) > h2 { margin: 0; font-family: var(--at-sans) !important; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--at-ink); }
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-ledger > #time-list.time-list .time-empty:not(#_) > p { flex: 1 1 24ch; max-width: none; margin: 0; }
/* The four record-keeping notes read as one quiet two-column block. */
@media (min-width: 1001px) {
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-notes:not(#_) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 32px; }
  html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-notes > .time-note:not(#_) { max-width: none; }
}
html body.workspace-framed.rt-route:not(#_):not(._) #panel-timesheet .time-dashboard:not(#_) { gap: 16px; margin-bottom: 16px; }
