/* /hours-to-decimal-calculator/ page layout. Tokens only; loaded after tools.css (which holds the shared time-tools block). */
/* Typed a decimal: the h:mm row is the answer and moves to the top. */
.t-result.from-dec #rOutHM { order: -1; }
/* The worked equation: the same quiet receipt line as .t-math on Hours and Military, under the dashed rule, one group
   gap below the figures; the conversion steps (#math) follow 4px under it. */
#outLine { margin-top: calc(var(--group-gap) - var(--space-3)); padding-top: var(--space-3); border-top: var(--border-w) dashed var(--accent-bd); font-size: var(--fs-body-sm); font-weight: var(--fw-regular); line-height: var(--lh-body); color: var(--muted); }
#outLine + #math { margin-top: calc(var(--space-1) - var(--space-3)); }
.t-result:is(.is-zero, .is-withheld) #outLine { display: none; }
/* Pay: label left (wraps), amount right on one line; every amount shares the right edge. The pay rule keeps 16px under a warning. */
.t-pay { display: grid; gap: var(--space-2); }
.t-pay:not(:has(> .t-row:not([hidden]))) { display: none; }
.t-pay > .t-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: var(--space-1) var(--space-3); }
.t-pay > .t-row > .t-cap { min-width: 0; line-height: var(--lh-snug); }
.t-pay > .t-row > .t-big { justify-self: end; color: var(--text); }
@container result (max-width: 16em) { .t-pay > .t-row { grid-template-columns: minmax(0, 1fr); } }
.data-grid td.n.sec { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--muted); }
@media (max-width: 760px) { #heldNote { display: none; } }
