/* signature-generator: styles only it uses, split out of site.css by scripts/split-css.mjs. */
.sign-font { padding: 4px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.sign-font[aria-checked="true"] { border-color: var(--signal); }
.sign-font canvas { display: block; width: 100%; height: auto; max-height: 90px; object-fit: contain; }
.sg-pad-wrap { position: relative; border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.sg-pad { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; touch-action: none; }
.sg-pad.is-drawing { cursor: crosshair; }
.sg-line { position: absolute; left: 8%; right: 8%; bottom: 22%; border-bottom: 1.5px dashed var(--line-strong); pointer-events: none; }
.sg-hint { position: absolute; left: 8%; bottom: 8%; color: var(--slate-2); font-size: 0.9rem; pointer-events: none; }
.sg-hint[hidden] { display: none; }
.sg-fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.sg-fonts[hidden] { display: none; }
#sg-tool .swatch-row input[type="color"] { width: 44px; height: 32px; padding: 2px; flex: none; }
