/* The sprint page. Colors come from app.css. */
.h2 { font-size: 1.1rem; }
.hint { font-weight: 400; }
.label { display: block; font-weight: 600; font-size: .9rem; margin: 0 0 6px; }
.choices { display: flex; gap: 6px; }
.choices label { flex: 1; margin: 0; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: block; text-align: center; padding: 10px 4px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 600; cursor: pointer; }
.choices input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.choices input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.resume { background: color-mix(in srgb, var(--accent) 10%, transparent); border-radius: 10px; padding: 10px 12px; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 16px 0 8px; }
.btns .btn { text-decoration: none; }
.big { font-size: clamp(2.4rem, 11vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 6px 0 10px; }

/* writing: the page gets out of the way */
body.writing .bar { display: none; }
.wbar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 0; background: var(--bg); border-bottom: 1px solid var(--line); font-size: .95rem; }
.wtitle { flex: 1; min-width: 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wclock { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.wclock.soon { color: var(--accent); }
.wcount { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
#draft { display: block; width: 100%; border: 0; outline: none; resize: none; background: transparent; color: var(--ink); padding: 20px 0 40px;
  font: 1.15rem/1.8 Georgia, "Iowan Old Style", "Times New Roman", serif; }
.wfoot { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }

/* pages */
.flip { display: flex; align-items: center; gap: 8px; margin: 16px 0 8px; }
.sheets { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.flip.one .sheets { grid-template-columns: minmax(0, 420px); justify-content: center; }
.sheet { background: #fff; box-shadow: 0 2px 14px rgb(0 0 0 / .18); }
body.setting .arrow, body.setting #s-pages .btns, body.setting #s-pages .btns + p { visibility: hidden; }
.sheets .setting { grid-column: 1 / -1; padding: 80px 0; }
.arrow { flex: none; width: 40px; height: 64px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font-size: 1.8rem; cursor: pointer; }
.arrow:disabled { opacity: .3; cursor: default; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 600; margin: 0 0 12px; }
#sh-img { display: block; width: 100%; max-width: 360px; margin: 0 auto; border-radius: 8px; border: 1px solid var(--line); }
@media (max-width: 480px) {
  .arrow { width: 32px; }
}
