/* /hours-calculator/ page layout. Tokens only; loaded after tools.css (which holds the shared time-tools block). */
/* "When do I finish": the clock-out time is the answer; both durations step down to the secondary tier. */
.t-result:has(> #rEnd:not([hidden])) .t-hm .t-big { font-size: clamp(var(--fs-body), 8cqi, var(--fs-total-dec)); font-weight: var(--fw-semibold); letter-spacing: 0; color: var(--muted); }
.t-result:has(> #rEnd:not([hidden])) .t-hm { border-top: var(--border-w) dashed var(--accent-bd); padding-top: var(--space-3); }
.t-flags:not(:has(> :not([hidden]))) { display: none; }
/* "+1 day" qualifies the figure above it: right under that value, on its right edge (h:mm when counting, the finish
   time when finishing, where it moves up before the dashed rule). */
.t-flags { margin-top: calc(var(--space-1) - var(--space-3)); text-align: end; line-height: 1; }
.t-result:has(> #rEnd:not([hidden])) > #rEnd { order: -2; }
.t-result:has(> #rEnd:not([hidden])) > .t-flags { order: -1; }
/* Prose comparison on phones: a narrow method column, the explanation gets the width. */
.t-compare .data-grid.prose tr > :first-child { width: 28%; }
@media (max-width: 480px) { .t-compare .data-grid.prose tr > :first-child { width: 40%; padding-inline-end: var(--space-3); } }
@media (max-width: 380px) { .t-compare .data-grid.prose tr > :first-child { width: 46%; } }
.t-compare .data-grid.prose tbody :is(th, td) { vertical-align: top; padding-block: var(--space-3); }
/* The worked-out line follows the figures one group gap below, behind the dashed rule of the home total card. */
#math { margin-top: calc(var(--group-gap) - var(--space-3)); padding-top: var(--space-3); border-top: var(--border-w) dashed var(--accent-bd); }
/* Phones: the field message sits right above the card, so the card note would repeat it. */
@media (max-width: 760px) { #heldNote { display: none; } }
