/* 8.ro */
/* The time tools: a form of a few fields, a big answer, rows of facts. */
.tm-form { display: grid; gap: 12px; padding: 16px 18px; align-items: end; }
@media (min-width: 640px) {
  .tm-form { grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); }
  .tm-form-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tm-form-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tm-form .check { min-height: 40px; }
.tm-stamp { height: 52px; font: 600 1.25rem var(--mono); letter-spacing: .02em; }
.tm-clock, .tm-foot { margin: 0; padding: 0 18px 14px; font-size: .8125rem; color: var(--muted); }
.tm-clock b { color: var(--text); font-variant-numeric: tabular-nums; }
.tm-say { margin: 0; padding: 0 18px 12px; font-size: .875rem; color: var(--accent-ink); }
.tm-say:empty { display: none; }
.tm-big {
  margin: 0; padding: 20px 18px 6px;
  font-size: 1.75rem; font-weight: 720; letter-spacing: -.02em; line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.tm-sub { margin: 0; padding: 0 18px 16px; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
/* the line holds its place before the script fills it: nothing below moves */
.tm-sub:empty::before { content: "\a0"; }
.tm-big + .kv, .tm-sub + .kv { border-top: 1px solid var(--line); }
.kv td.tm-n { font-variant-numeric: tabular-nums; }
.tm-list { margin: 0; padding: 4px 0 8px; list-style: none; }
.tm-list li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 4px 12px; padding: 8px 18px; border-top: 1px solid var(--line); font-size: .9375rem; }
.tm-list li:first-child { border-top: 0; }
.tm-list .tm-d { font-variant-numeric: tabular-nums; color: var(--muted); }
.tm-list .tm-off { color: var(--faint); font-size: .8125rem; }
@media (max-width: 479px) {
  .tm-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .tm-list .tm-d { grid-column: 1 / -1; }
}
.tm-more { border-top: 1px solid var(--line); }
.tm-more > summary { padding: 12px 18px; cursor: pointer; font-size: .875rem; font-weight: 620; color: var(--muted); }
.tm-more > summary:hover { color: var(--text); }
/* a narrow screen: each row's label above its value, a copy button beside
   the value, so that a long value is not squeezed into a sliver */
@media (max-width: 559px) {
  .tm-kv tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-top: 1px solid var(--line); }
  .tm-kv > tbody:first-child > tr:first-child { border-top: 0; }
  .tm-kv th, .tm-kv td { border-top: 0; }
  .tm-kv tbody th { grid-column: 1 / -1; width: auto; padding-bottom: 0; white-space: normal; }
  .tm-kv td { padding-top: 4px; }
  .tm-kv td:last-child:not(.kv-act) { grid-column: 1 / -1; }
}
