#identity-dialog{max-height:calc(100dvh - 24px)}
#identity-form .guitar-picker,#identity-form .finish-picker{padding:0;margin:0;border:0;min-width:0}
#identity-form .guitar-picker legend,#identity-form .finish-picker legend{font-size:13px;padding:0 0 4px}
#identity-form .guitar-options{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
#identity-form .guitar-choice{position:relative;display:flex;flex-direction:column;align-items:center;gap:1px;padding:3px 1px;background:var(--recess);border:2px solid transparent;color:var(--ink);cursor:pointer;min-width:0;font-size:10px;line-height:11px;text-align:center}
#identity-form .guitar-choice:has(input:checked){border-color:var(--accent-light)}
#identity-form .guitar-choice:has(input:focus-visible){outline:2px solid #f7a52d;outline-offset:1px}
#identity-form .guitar-choice input,#identity-form .finish-choice input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
#identity-form .guitar-choice img{width:52px;height:52px;max-width:100%;object-fit:contain;image-rendering:pixelated}
#identity-form .guitar-choice span{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#identity-form .finish-options{display:flex;gap:4px;align-items:stretch;flex-wrap:wrap}
#identity-form .finish-choice{position:relative;display:flex;align-items:center;justify-content:center;min-width:47px;height:44px;padding:3px;border:2px solid transparent;background:var(--recess);color:var(--ink);font-size:10px;cursor:pointer}
#identity-form .finish-choice span{display:flex;align-items:center;justify-content:center;min-width:36px;height:32px;background:var(--finish,#555);color:white;text-shadow:0 1px 2px #000}
#identity-form .finish-choice.original span{background:#434d47}
#identity-form .finish-choice:has(input:checked){border-color:var(--accent-light)}
#identity-form .finish-choice:has(input:focus-visible){outline:2px solid #f7a52d;outline-offset:1px}
#identity-form .finish-custom{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;font-size:10px;color:var(--ink);min-width:55px;min-height:44px}
#identity-form #guitar-custom{appearance:auto;width:48px;height:28px;padding:0;border:1px solid var(--seam);box-shadow:none}
#identity-form .editor-note{color:var(--muted)}
