/* 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); --mark: #0876fd; } /* Zoom and turn the view: the pins stay on their spot of the page */ .toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; } .button { min-width: 38px; font: inherit; font-size: 13.5px; font-weight: 550; line-height: 1.1; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; 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; } .button:disabled { opacity: 0.45; cursor: not-allowed; transform: none; } .badge { font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--tint); border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; white-space: nowrap; margin-left: auto; } .badge strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; } /* Over each page, catching clicks */ .surface { position: absolute; inset: 0; cursor: crosshair; } .pin { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 2px solid #fff; border-radius: 50%; background: var(--mark); box-shadow: 0 1px 4px rgb(7 32 76 / 0.45); pointer-events: none; } /* A layer in page points: 1 unit here is 1 point on the page */ .page-space { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; } .inch { position: absolute; left: 72px; top: 72px; width: 72px; height: 72px; box-sizing: border-box; display: flex; align-items: flex-end; justify-content: flex-end; padding: 3px; font-size: 8px; font-weight: 700; color: var(--mark); border: 1px dashed var(--mark); background: rgb(8 118 253 / 0.06); } /* 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); }