/* Mawsim · Still Asking. Shared styles live in /heart.css (+ /dua/dua.css for chips). Monochrome, full width, room to breathe. */
.sa-page main > .card.lead .chips { margin: 16px 0 12px; }
.sa-page main > .intro .lede { font-size: 1.12rem; line-height: 1.65; max-width: none; }
.sa-page .gridhead { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 28px 0 12px; }
@media (min-width: 960px) { .sa-page main > .gridhead { grid-column: 1 / -1; } }

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

/* Qur'an and hadith are folded by default; the reference (and a few words on what it is) stays visible in the summary line. */
.sa-page .evcard .evhint { margin: 0 0 8px; }
.sa-page details.evitem { border-top: 1px solid var(--line); }
.sa-page details.evitem:first-of-type { border-top: 0; }
.sa-page details.evitem > summary { cursor: pointer; min-height: 44px; display: flex; flex-wrap: wrap; align-items: center; column-gap: 4px; padding: 10px 4px; line-height: 1.45; list-style-position: inside; border-radius: 8px; }
.sa-page details.evitem > summary .evref { font-weight: 600; }
.sa-page details.evitem > summary .evsay { color: var(--muted); font-size: .92rem; }
.sa-page details.evitem > summary:hover .evsay { color: var(--ink); }
.sa-page details.evitem > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sa-page details.evitem[open] > summary { margin-bottom: 4px; }
.sa-page details.evitem > blockquote { margin-top: 4px; margin-bottom: 14px; }

/* The du‘a chooser: taps only. Cards have air between them. */
.sa-page .exnote { margin: 24px 0 0; }
.sa-page main > .card.ex, .sa-page .card.ex { margin: 24px 0; }
.sa-page .sfchoices { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 12px; }
.sa-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; }
.sa-page button.sfchoice span { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.sa-page button.sfchoice:hover { border-color: var(--ink); }
.sa-page button.sfchoice:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sa-page button.sfchoice[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sa-page button.sfchoice[aria-pressed="true"] span { color: inherit; opacity: .85; }
.sa-page .exthen, .sa-page .exchosen { margin: 8px 0 0; min-height: 1.4em; }
.sa-page .exchosen .big { margin: 4px 0 8px; }

/* Step 10's chooser spans the whole page (both grid columns), choices in an even row, du‘a text centred and readable. */
.sa-page main > .exnote, .sa-page main > .card.ex { grid-column: 1 / -1; min-width: 0; max-width: none; }
.sa-page main > .card.ex { padding: 26px 30px; }
@media (min-width: 760px) { .sa-page .card.ex .sfchoices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } .sa-page .card.ex button.sfchoice { width: 100%; } }
.sa-page .card.ex .exchosen { max-width: 52em; margin-left: auto; margin-right: auto; }

.sa-page .helpbox { scroll-margin-top: 16px; }
.sa-page .exchosen p.ar { font-size: 1.9rem; line-height: 2.2; text-align: center; margin: 16px 0 4px; }
.sa-page .exchosen .tl { text-align: center; margin: 0 0 8px; }
.sa-page .exchosen .big { text-align: center; }
.sa-page .exchosen .eyebrow { text-align: center; }
.sa-page .exchosen .duasub { margin: 18px 0 2px; text-align: center; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sa-page .exchosen .duasub:first-of-type { margin-top: 12px; }
.sa-page .exchosen .duaref { text-align: center; margin: 0 0 8px; }
.sa-page .duaactions { margin-top: 20px; justify-content: center; }
.sa-page .duaactions .btn { min-height: 44px; }
.sa-page .duaactions .btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sa-page #copyStatus { text-align: center; min-height: 1.4em; margin: 8px 0 0; }

/* Step rail: where you are in the reading, nothing more. One row always; on a narrow screen the row scrolls sideways inside itself, so the page never does. */
.sa-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) { .sa-page main > .steprail { grid-column: 1 / -1; } }
.sa-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; }
.sa-page .steprail a:hover { border-color: var(--ink); color: var(--ink); }
.sa-page .steprail a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sa-page .steprail a[aria-current="step"] { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 600; }

/* Home: ten cards. Two columns fill exactly; in three columns the last card spans the row, so no cell is left empty. */
.sa-page .secgrid { gap: 14px; }
.sa-page .sec:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sa-page .sec { padding: 18px 20px; }
.sa-page .sec strong { font-size: 1.12rem; line-height: 1.35; }

/* Reading steps: the reading takes the wider column; Reflect and Act sit beside the start of it. On a phone the order stays Learn, sources, Reflect, Act. */
.sa-page .card p { line-height: 1.7; }
.sa-page .card h3 { font: 600 1.15rem/1.35 var(--serif); margin: 26px 0 8px; }
.sa-page .card h3:first-child { margin-top: 0; }
.sa-page .card ul.trylist li { margin: 8px 0; line-height: 1.65; }
.sa-page .card > p.eyebrow { margin-bottom: 8px; }
.sa-page .card.lead h2 { font-size: 1.35rem; line-height: 1.35; }
.sa-page .card.act p.big { font-size: 1.2rem; }
.sa-page .secnav { margin: 32px 0 40px; }
@media (min-width: 960px) {
  .sa-page .cols { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; }
  .sa-page .cols > div:last-child > .card.lead { order: -2; }
  .sa-page .cols > div:last-child > .card.act { order: -1; }
}

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