/* Colors */ :root { --ink: #1a2748; --muted: #5a6b92; --line: #e6eaf2; --line-strong: #dce8fc; --surface: #ffffff; --tint: #f3f7fe; --canvas: #f7f9fc; --focus: #7db6ff; --shadow: rgb(7 32 76 / 0.04); } /* The palette beside the pages, and above them on a phone */ .layout { container-type: inline-size; display: grid; grid-template-columns: 1fr; gap: 14px; } @container (min-width: 620px) { .layout { grid-template-columns: 240px 1fr; } } .palette { box-sizing: border-box; max-height: 420px; display: flex; flex-direction: column; gap: 8px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px var(--shadow); } .field { appearance: none; box-sizing: border-box; width: 100%; font: inherit; font-size: 13px; color: var(--ink); background: var(--canvas); border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; } .field:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgb(125 182 255 / 0.35); } .results { margin: 0; padding: 0; list-style: none; overflow: auto; } .result { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; font: inherit; font-size: 13px; text-align: start; color: var(--ink); background: transparent; border: none; border-radius: 8px; padding: 7px 8px; cursor: pointer; } .result:hover, .result:focus-visible { outline: none; background: var(--tint); } /* A command that can't run now stays in the list, greyed out */ .result:disabled { color: var(--muted); opacity: 0.55; cursor: not-allowed; background: transparent; } .shortcut { font-family: inherit; font-size: 11px; color: var(--muted); padding: 2px 5px; border: 1px solid var(--line); border-radius: 5px; background: var(--canvas); } .empty { padding: 8px; font-size: 13px; color: var(--muted); } /* 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); }