/* MORNING CHECK INLINE (Nov 20 2026; public/morning-check-inline.js). Only the row that script draws. */
#workoutRoot .mci-row{display:flex;flex-direction:column;gap:10px;margin:0 0 12px;padding:14px}
#workoutRoot .mci-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
#workoutRoot .mci-head h2{margin:0;font-size:var(--ds-fs-body,16px);font-weight:700}
#workoutRoot .mci-head span{font-size:var(--ds-fs-small,13px);color:var(--ds-ink-muted,#98a2b3)}
#workoutRoot .mci-scale{display:grid;grid-template-columns:74px minmax(0,1fr);align-items:center;gap:8px}
#workoutRoot .mci-label{display:flex;flex-direction:column;font-size:var(--ds-fs-small,14px);font-weight:700;color:var(--ds-ink,#f2f4f7);line-height:1.2}
#workoutRoot .mci-label small{font-weight:400;font-size:11px;color:var(--ds-ink-muted,#98a2b3)}
#workoutRoot .mci-chips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
#workoutRoot .mci-chips button{min-height:44px;min-width:0;padding:0 2px;border-radius:var(--ds-radius-sm,10px);border:1px solid var(--ds-line-strong,#3a404c);background:transparent;color:var(--ds-ink,#f2f4f7);font:inherit;font-size:var(--ds-fs-small,14px);font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#workoutRoot .mci-chips button[aria-checked="true"]{background:var(--ds-ink,#f2f4f7);color:var(--ds-bg,#0f1115);border-color:var(--ds-ink,#f2f4f7)}
#workoutRoot .mci-note{margin:0;font-size:var(--ds-fs-small,13px);color:var(--ds-ink-muted,#98a2b3)}
#workoutRoot .mci-status{margin:0;font-size:var(--ds-fs-small,13px);color:var(--ds-ink-2,#c9ced6)}
#workoutRoot .mci-status:empty{display:none}
#workoutRoot .mci-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#workoutRoot .mci-acts .btn{min-height:44px;margin:0}
#workoutRoot .mci-details{align-self:flex-start;min-height:44px;padding:0;border:0;background:transparent;color:var(--ds-ink-2,#c9ced6);font:inherit;font-size:var(--ds-fs-small,14px);text-decoration:underline;text-underline-offset:3px}
/* ONE SCALE (Nov 20 2026): the one-row "Same as yesterday?" offer, what the plan still needs, and the quiet line. */
#workoutRoot .mci-ask{margin:0;font-size:var(--ds-fs-small,14px);color:var(--ds-ink-2,#c9ced6);line-height:1.35}
#workoutRoot .mci-ask b{color:var(--ds-ink,#f2f4f7);font-size:var(--ds-fs-body,16px)}
#workoutRoot .mci-ask span{white-space:nowrap}
#workoutRoot .mci-acts.mci-acts-3{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr)}
#workoutRoot .mci-acts .btn{padding-left:6px;padding-right:6px;white-space:nowrap}
#workoutRoot .mci-missing{margin:0;font-size:var(--ds-fs-small,13px);color:var(--ds-ink-2,#c9ced6)}
#workoutRoot .mci-missing:empty{display:none}
#workoutRoot .mci-line{display:flex;align-items:center;flex-wrap:wrap;gap:0 4px;margin:0 0 8px;padding:0 2px;font-size:var(--ds-fs-small,13px);color:var(--ds-ink-muted,#98a2b3)}
#workoutRoot .mci-line button{min-height:44px;padding:0 6px;border:0;background:transparent;color:var(--ds-ink-2,#c9ced6);font:inherit;text-decoration:underline;text-underline-offset:3px}
/* 150% zoom or large text (Nov 20 2026): the one-line summary pushed Start workout off the first screen. At that size the
   line is not drawn (CSS only); the morning check stays reachable from Today and from Morning check details. */
@media(max-width:300px){#workoutRoot .mci-line{display:none}}
@media(max-width:360px){html.text-larger #workoutRoot .mci-line{display:none}}
/* Sleep has six buttons (<5 to 9+, Nov 20 2026): its label sits above them so every button keeps a 44 px target. */
#workoutRoot .mci-scale[data-mci-scale="sleep"]{grid-template-columns:minmax(0,1fr)}
#workoutRoot .mci-scale[data-mci-scale="sleep"] .mci-label{flex-direction:row;align-items:baseline;gap:8px}
#workoutRoot .mci-scale[data-mci-scale="sleep"] .mci-chips{grid-template-columns:repeat(6,minmax(0,1fr))}
/* D3 (Devin, Nov 21 2026): at large text (150% zoom, or a larger phone font) the five Pain words cut off to "N… M… S… S…
   Bad". The row measures itself in text widths (a container query in em follows both zoom and font size): when it is
   narrower than 17 text widths, Pain's label goes above and its five words wrap to two rows (3 + 2), each word whole. */
#workoutRoot .mci-row{container:mci-row/inline-size}
@container mci-row (max-width:17em){
  #workoutRoot .mci-scale[data-mci-scale="pain"]{grid-template-columns:minmax(0,1fr)}
  #workoutRoot .mci-scale[data-mci-scale="pain"] .mci-label{flex-direction:row;align-items:baseline;gap:8px}
  #workoutRoot .mci-scale[data-mci-scale="pain"] .mci-chips{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* Item 3 (outside review, Nov 21 2026): "Train anyway" is now "Start without check-in"; the longer words wrap inside the button. */
#workoutRoot .mci-acts .btn[data-mci-anyway]{white-space:normal;line-height:1.2}
