/* Colors */ :root { --ink: #1a2748; --text: #3b4b7a; --muted: #5a6b92; --line: #e6eaf2; --line-strong: #dce8fc; --surface: #ffffff; --tint: #f3f7fe; --canvas: #f7f9fc; --accent: #054fb3; --focus: #7db6ff; --shadow: rgb(7 32 76 / 0.04); } /* The controls, above the pages */ .toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; } /* Colors to pick from: the pressed one is the current one */ .swatches { display: inline-flex; gap: 6px; } .swatch { width: 26px; height: 26px; padding: 0; border: 2px solid var(--surface); border-radius: 50%; box-shadow: 0 0 0 1px var(--line); cursor: pointer; } .swatch[aria-pressed='true'] { box-shadow: 0 0 0 2px var(--ink); } .swatch:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; } /* Any color */ .color { width: 34px; height: 30px; padding: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; } /* A slider, with its label and its value */ .range { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 550; color: var(--ink); } .range input { width: 110px; accent-color: var(--accent); } .readout { font-size: 13px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; } /* The pages */ .stage { height: 420px; border: 1px solid var(--line); border-radius: 14px; background: var(--canvas); box-shadow: 0 1px 2px var(--shadow), 0 18px 40px -28px rgb(7 32 76 / 0.28); } .loading { margin: 0; padding: 24px 0; text-align: center; font-size: 13px; color: var(--muted); }