/* Colors */ :root { --ink: #1a2748; --muted: #5a6b92; --line: #e6eaf2; --line-strong: #dce8fc; --surface: #ffffff; --tint: #f3f7fe; --canvas: #f7f9fc; --accent: #0876fd; --danger: #c62a2a; --focus: #7db6ff; --shadow: rgb(7 32 76 / 0.04); } /* The toolbar: it wraps on a phone */ .toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; } .readout { font-size: 13px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; } /* Pushes what follows to the right */ .spacer { flex: 1 1 auto; } .button { font: inherit; font-size: 13px; font-weight: 550; line-height: 1; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; cursor: pointer; white-space: nowrap; box-shadow: 0 1px 2px var(--shadow); transition: background-color 0.15s ease, border-color 0.15s ease; } .button:hover { background: var(--tint); border-color: var(--line-strong); } .button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; } .button:disabled { opacity: 0.45; cursor: not-allowed; } .button.danger { color: var(--danger); } /* The pages in one row, scrolling sideways when they don't fit */ .pages { display: flex; align-items: flex-end; gap: 12px; overflow-x: auto; margin: 0; padding: 16px; list-style: none; background: var(--canvas); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px var(--shadow), 0 18px 40px -28px rgb(7 32 76 / 0.28); } /* A card is as wide as its page: a page turned a quarter makes it wider */ .pages > li { flex: none; } .card { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 140px; font: inherit; background: transparent; border: 2px solid transparent; border-radius: 12px; padding: 10px 8px 8px; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease; } .card:hover { background: var(--tint); } .card[aria-pressed='true'] { background: var(--tint); border-color: var(--accent); } .card:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; } .thumbnail { box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgb(7 32 76 / 0.12); } .label { font-size: 12px; font-weight: 600; color: var(--ink); } .turn { font-weight: 500; color: var(--muted); } .loading { margin: 0; padding: 24px 0; text-align: center; font-size: 13px; color: var(--muted); }