/* Mawsim · Ordinary Days, Noticed. Shared styles live in /heart.css (+ /dua/dua.css for chips). Monochrome, full width, room to breathe. */
.od-page main > .card.lead .chips { margin: 16px 0 12px; }
.od-page main > .card.privnote { margin-top: 24px; margin-bottom: 0; }

/* Arabic for the Qur'an and hadith quotations; the font stack is unchanged. */
.od-page figure.ibq p.ar, .od-page blockquote p.ar { font-size: 1.6rem; line-height: 2.1; text-align: right; }
.od-page .arline .ar { font-size: 1.4rem; }

.od-page .helpbox { scroll-margin-top: 16px; }

/* Long evidence lists fold after three; references stay visible in the summary. */
.od-page details.evmore { margin: 8px 0 4px; }
.od-page details.evmore > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 8px 4px; color: var(--muted); font-size: .92rem; line-height: 1.4; list-style-position: inside; border-radius: 8px; }
.od-page details.evmore > summary:hover { color: var(--ink); }
.od-page details.evmore > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; color: var(--ink); }
.od-page details.evmore[open] > summary { margin-bottom: 8px; }

/* Step rail: where you are in the reading, nothing more. One tidy row of five, evenly sized across the full width; on a narrow screen the row scrolls sideways inside itself, so the page never does. */
.od-page .steprail { display: flex; flex-wrap: nowrap; gap: 8px; margin: 12px 0 24px; padding: 6px; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
@media (min-width: 960px) { .od-page main > .steprail { grid-column: 1 / -1; } }
.od-page .steprail a { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .95rem; font-variant-numeric: tabular-nums; }
.od-page .steprail a:hover { border-color: var(--ink); color: var(--ink); }
.od-page .steprail a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.od-page .steprail a[aria-current="step"] { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 600; }

/* The exercise: three parts and a close, all thought and taps. Cards have air between them. The wrapper spans the full width of the page grid, so Before, During and After get real room. */
.od-page main > #ex { grid-column: 1 / -1; min-width: 0; }
.od-page #ex > .card { padding: 22px 26px; }
.od-page #ex .card p, .od-page #ex .card li { line-height: 1.65; }
.od-page .exnote { margin: 8px 0 0; }
.od-page main > .card.ex, .od-page .card.ex { margin: 24px 0; }
.od-page .card.close { margin: 24px 0; }
.od-page .sfchoices { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 12px; }
.od-page button.sfchoice { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 44px; padding: 10px 18px; text-align: left; font: inherit; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.od-page button.sfchoice span { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.od-page button.sfchoice:hover { border-color: var(--ink); }
.od-page button.sfchoice:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.od-page button.sfchoice[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.od-page button.sfchoice[aria-pressed="true"] span { color: inherit; opacity: .85; }
.od-page .exthen, .od-page .exchosen { margin: 8px 0 0; min-height: 1.4em; }
.od-page .exchosen .big { margin: 4px 0 8px; }
/* Before, during, after: three columns on desktop, one column otherwise, so no cell is left empty. */
.od-page .checkgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 16px 0 8px; }
@media (min-width: 960px) { .od-page .checkgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.od-page .check { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
.od-page .check ul.trylist { margin: 8px 0 0; padding-left: 1.2em; }
.od-page .check ul.trylist li { margin: 8px 0; }
.od-page .check h3 { margin: 0 0 4px; }
.od-page .check .hint { margin: 0 0 8px; }
.od-page .card.close p.ar { font-size: 1.9rem; line-height: 2.2; text-align: center; }
.od-page .card.close .hint { max-width: 46em; margin: 12px auto 0; text-align: center; }
.od-page .card.close p:last-child { max-width: 46em; margin: 12px auto 0; text-align: center; }
.od-page .card.close .tl { text-align: center; margin: 0 0 8px; }
.od-page .card.close .big { text-align: center; }

@media print {
  .od-page .steprail, .od-page #ex { display: none; }
  .od-page details.evmore::details-content { content-visibility: visible; display: block; }
  .od-page details.evmore > summary { display: none; }
}
/* Your reflections (#mine): read-only, private, never printed. */
.od-page .mine .reflitem { margin: 16px 0; padding-top: 12px; border-top: 1px solid var(--line); }
.od-page .mine .reflitem:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.od-page .mine .reflitem h2 { margin: 0 0 6px; font-size: 1.05rem; }
.od-page .mine .reflitem h2 a { font-weight: 400; margin-left: 8px; }
.od-page .mine .refltext { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); }
@media print { .od-page #minecard { display: none !important; } }

.od-page .toolgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 16px; }
