/* Große, ruhig gesetzte Zahlen; app.js passt die sichtbare Schrift und Labeldichte an die echte Kartenfläche an. */
html .card.card-line > .line { --track: calc(50% - var(--zdt-axis-offset, 10px)); }
html .card.card-line .tick-label {
  bottom: max(var(--zdt-label-bottom, 3px), calc(var(--track) - 1em - var(--zdt-line-clearance, 26px)));
  font-size: var(--zdt-line-font, 28px);
  font-weight: 800;
  color: #172033;
  line-height: 1;
  transform: translateX(-50%);
}
html .card.card-line .tick-label.is-major { font-weight: 900; }
html .card.card-line .tick-label[hidden] { display: none !important; }
html .card.card-line .tick-label.is-target { color: #065f46; font-weight: 900; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: .1em; }

/* Keep the question available to assistive technology without a visible title in any card view. */
html .card.card-line .zdt-line-sr {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; border: 0 !important;
  overflow: hidden !important; clip-path: inset(50%); white-space: nowrap !important;
}
html[data-raum-modul^=zahl-des-tages] .card.card-line > .card-head.card-head {
  display: flex !important; justify-content: flex-end; align-items: center;
  min-height: calc(44px / var(--zk,1) / var(--zdt-scale,1)) !important;
  height: calc(44px / var(--zk,1) / var(--zdt-scale,1));
  padding: 0 !important; margin: 0 !important; gap: 0 !important;
}
html[data-raum-modul^=zahl-des-tages] .card.card-line > .card-head > [data-line-back] {
  --btn: calc(44px / var(--zk,1) / var(--zdt-scale,1));
  display: inline-flex; position: relative; margin-left: auto; flex: none;
  min-width: 0 !important; height: var(--btn) !important; min-height: var(--btn) !important;
  padding: 0 calc(var(--btn) * .2); font-size: calc(var(--btn) * .32);
}
html[data-raum-modul^=zahl-des-tages] .card.card-line > .card-head > [data-line-back][hidden] {
  display: none !important;
}
/* Match the old height guard so the remaining grid row, not track + flag, determines line height. */
html[data-raum-modul^=zahl-des-tages] .card.card-line > .line {
  align-self: stretch; height: auto;
  min-height: calc(180px / var(--zk,1) / var(--zdt-scale,1)) !important;
}

/* A whole interval has no back action: do not reserve an empty44px strip above the drawing. */
html[data-raum-modul^=zahl-des-tages] .card.card-line:has(> .card-head > [data-line-back][hidden]) > .card-head.card-head {
  min-height: 0 !important; height: 0 !important;
}
/* More specific than the overview placeholder rule in styles.css. */
html[data-raum-modul^=zahl-des-tages] .card.card-line:not(.is-zoomed):has(> .line.is-overview) > .card-head.card-head > [data-line-back][hidden] {
  display: none !important;
}
