/* SignalCore — 16.0 QR authenticator enrolment / rotation. Layout is responsive without clipping QR quiet zones. */
.sc16-setup{margin:1.15rem 0;padding:1.15rem;border:1px solid rgba(109,225,199,.28);border-radius:1rem;background:linear-gradient(145deg,rgba(28,66,70,.24),rgba(15,23,32,.16));min-width:0}
.sc16-setup-head{display:flex;align-items:flex-start;gap:.85rem;margin:.3rem 0 1rem}
.sc16-setup-head h3{margin:0 0 .25rem;font-size:1.12rem}
.sc16-setup-head p{margin:.2rem 0 .35rem;color:#b5c4cd}
.sc16-step{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;color:#0c1a19;background:#69e2c1;border-radius:50%;font-weight:800}
.sc16-setup-grid{display:grid;grid-template-columns:minmax(220px,310px) minmax(0,1fr);gap:1.3rem;align-items:start;margin:1rem 0 1.65rem}
.sc16-qr-card{display:flex;flex-direction:column;align-items:center;gap:.7rem;padding:1rem;border:1px solid rgba(144,179,184,.22);border-radius:1rem;background:#19252e;min-width:0}
.sc16-qr-display{width:min(100%,276px);min-height:244px;aspect-ratio:1;display:flex;align-items:center;justify-content:center;padding:8px;border:2px solid #f0f3f4;border-radius:12px;background:#fff;color:#12222a;box-sizing:border-box}
.sc16-qr-svg{width:100%;height:auto;max-height:264px;display:block;background:white;shape-rendering:crispEdges}
.sc16-qr-loading,.sc16-qr-error{text-align:center;font-size:.9rem;color:#24343d;line-height:1.4}
.sc16-qr-caption{max-width:290px;color:#b5c4cd;text-align:center;font-size:.84rem;line-height:1.5;margin:0}
.sc16-instructions{min-width:0;overflow-wrap:anywhere}
.sc16-instructions h4{margin:0 0 .75rem;font-size:1rem}
.sc16-instructions>p{color:#cfdae0;margin:.65rem 0;line-height:1.55}
.sc16-manual{margin-top:1.1rem;padding:1rem;border:1px solid rgba(136,177,183,.3);border-radius:.85rem;background:rgba(8,16,22,.26)}
.sc16-manual p{color:#c5d2d8;font-size:.9rem}
.sc16-manual label{display:block;margin:.75rem 0 .3rem;font-weight:600}
.sc16-key-row{display:flex;align-items:stretch;gap:.5rem}
.sc16-key-row input{min-width:0;flex:1 1 auto;font-size:.88rem;letter-spacing:.025em;white-space:nowrap}
.sc16-key-row button{flex:0 0 auto;white-space:nowrap}
.sc16-app-link{display:inline-block;margin-top:.6rem;color:#74edcb;overflow-wrap:anywhere}
.sc16-verify-form{max-width:560px}
.sc16-restart{margin-top:1.25rem;display:flex;align-items:end;gap:.75rem;flex-wrap:wrap;padding:1rem;border-top:1px solid rgba(145,176,178,.23)}
.sc16-restart label{flex:1 1 215px;min-width:0;font-size:.87rem}
.sc16-restart input{display:block;margin-top:.35rem;width:100%}
.sc16-expiry{font-size:.83rem;color:#c7d6dc}
.sc16-disable-section{margin-top:1rem;padding:1rem;border:1px solid rgba(240,170,160,.28);border-radius:.75rem}
.sc16-disable-section summary{cursor:pointer}
@media(max-width:780px){.sc16-setup-grid{grid-template-columns:1fr}.sc16-qr-card{width:100%;box-sizing:border-box}.sc16-setup{padding:1rem}.sc16-qr-display{width:min(100%,282px)}.sc16-key-row{flex-wrap:wrap}.sc16-key-row button{width:100%}}
@media(max-width:460px){.sc16-setup{padding:.7rem}.sc16-setup-head{gap:.5rem}.sc16-step{flex-basis:30px;width:30px;height:30px}.sc16-restart{padding:.7rem 0}.sc16-verify-form button{width:100%;min-height:44px}}
