/* Colors */ :root { --ink: #1a2748; --muted: #5a6b92; --line: #e6eaf2; --line-strong: #dce8fc; --surface: #ffffff; --tint: #f3f7fe; --canvas: #f7f9fc; --accent: #054fb3; --focus: #7db6ff; --shadow: rgb(7 32 76 / 0.04); } /* Where the menu goes, above the pages */ .toolbar { display: inline-flex; flex-wrap: wrap; gap: 2px; margin-bottom: 14px; padding: 3px; background: var(--tint); border: 1px solid var(--line); border-radius: 10px; } .segment { font: inherit; font-size: 13px; font-weight: 550; line-height: 1; text-transform: capitalize; color: var(--muted); background: transparent; border: 0; border-radius: 7px; padding: 7px 13px; cursor: pointer; } .segment:hover { color: var(--ink); } .segment[aria-pressed='true'] { color: var(--accent); background: var(--surface); box-shadow: 0 1px 3px rgb(7 32 76 / 0.12); } .segment:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; } /* The menu that floats next to a selection */ .menu { display: flex; gap: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgb(7 32 76 / 0.18); } .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 13px; 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:active { transform: translateY(1px); } .button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; } /* The pages */ .stage { height: 460px; 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); }