main.identity-shell{max-width:1000px;margin:32px auto;padding:24px} .identity-shell label{display:block;margin:12px 0}.identity-shell input:not([type=checkbox]),.identity-shell select{padding:12px;max-width:100%;box-sizing:border-box}.identity-shell fieldset{margin:16px 0;border:1px solid var(--border,#ddd);border-radius:12px;padding:16px}.identity-shell .check-row{display:flex;gap:12px;align-items:start;overflow-wrap:anywhere}.identity-shell .check-row input{flex:none}.identity-shell pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:var(--surface-soft,#f4f3fb)}.identity-shell button,.identity-shell .button{margin:8px 8px 8px 0}.identity-shell article{padding:16px;border:1px solid var(--border,#ddd);border-radius:12px;margin:16px 0}.identity-shell [hidden]{display:none!important}.identity-shell .note{font-size:.9rem}.identity-shell input[type=text]{width:100%}@media(max-width:500px){main.identity-shell{margin:0;padding:18px}.identity-shell fieldset{padding:12px}}
.identity-shell{font-size:16px;line-height:1.7}.identity-shell h1{font-size:clamp(26px,4vw,36px);line-height:1.3;letter-spacing:-.03em}.identity-shell h2{font-size:22px}.identity-shell a{color:var(--accent);text-underline-offset:4px}.identity-shell input:not([type=checkbox]),.identity-shell select{font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--field-line);border-radius:var(--control-radius);min-height:48px}.identity-shell input:not([type=checkbox]){width:100%}.identity-shell select{margin-left:10px}.identity-shell input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin-right:6px}.identity-shell button,.identity-shell .button{font:inherit;font-weight:600;display:inline-block;min-height:44px;padding:10px 20px;border:1px solid transparent;border-radius:var(--button-radius);background:var(--accent);color:var(--on-accent);cursor:pointer;text-decoration:none}.identity-shell button:hover{background:var(--accent-hover)}.identity-shell #templates button,.identity-shell #cancel,.identity-shell #rotate{background:var(--accent-soft);color:var(--accent)}.identity-shell fieldset,.identity-shell article,.identity-shell #setup,.identity-shell #recovery-codes{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.identity-shell fieldset{padding:20px}.identity-shell #setup,.identity-shell #recovery-codes{padding:22px;margin:20px 0}.identity-shell #status{padding:12px 16px;background:var(--accent-soft);color:var(--accent);border-radius:var(--control-radius)}.identity-shell .check-row{padding:8px 0}.identity-shell #editor{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.identity-shell pre{background:var(--accent-soft);border-radius:var(--control-radius)}@media(max-width:500px){.identity-shell select{display:block;margin:8px 0;width:100%}.identity-shell fieldset{padding:14px}.identity-shell #templates button{width:100%;text-align:left}}

.identity-shell #setup-qr{display:block;width:280px;max-width:100%;height:auto;margin:20px auto;background:#fff;image-rendering:pixelated}.identity-shell #manual-setup summary{cursor:pointer;color:var(--accent)}
