.sec-panel{max-width:1200px;color:#332f29}.sec-intro{margin:0 0 24px;line-height:1.8;color:#70685d}.sec-title{font-size:28px;margin:6px 0 12px}.sec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.sec-card{min-width:0;background:#fffefb;border:1px solid #e5ded3;border-radius:16px;padding:25px}.sec-card h2{font-size:19px;margin:0 0 13px}.sec-card p{line-height:1.8}.sec-status{display:inline-block;border-radius:20px;background:#f6ead7;color:#7b5328;padding:5px 12px;font-size:13px}.sec-status.good{background:#ebf1e7;color:#43583b}.sec-code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f3ec;border-radius:8px;padding:12px;margin:12px 0;font-family:ui-monospace,monospace}.sec-help{font-size:13px;line-height:1.7;color:#766f65}.sec-note{border-left:3px solid #a33334;background:#fbf1ea;padding:13px 16px;line-height:1.7;margin:18px 0}.sec-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:16px 0}.sec-error{color:#a12d32;line-height:1.7;min-height:1.4em}.sec-card input{width:100%;box-sizing:border-box}.sec-table-wrap{overflow:auto;margin:16px 0}.sec-table{border-collapse:collapse;width:100%;font-size:13px}.sec-table th,.sec-table td{padding:12px;text-align:left;border-bottom:1px solid #e8e2da;white-space:nowrap}.sec-table th{background:#f6f2eb}.sec-dialog{width:min(500px,calc(100vw - 32px));padding:28px;border:1px solid #dfd8ce;border-radius:18px;box-sizing:border-box;max-height:calc(100dvh - 32px);overflow:auto;color:#332f29;background:#fffefa}.sec-dialog::backdrop{background:rgba(40,34,30,.6)}.sec-dialog h2{font-size:23px;margin:0 0 14px}.sec-dialog input{width:100%;box-sizing:border-box;border:1px solid #d8d3cc;border-radius:9px;padding:12px;font-size:18px}.sec-dialog .sec-actions .btn{min-height:46px}.sec-secret{font-size:15px;letter-spacing:1px}.sec-recovery{width:100%;min-height:220px;box-sizing:border-box;font-size:12px;overflow-wrap:anywhere}.sec-instruction{line-height:1.8}.sec-wide{grid-column:1/-1}@media(max-width:800px){.sec-grid{grid-template-columns:1fr}.sec-card{padding:18px}.sec-title{font-size:23px}.sec-table th,.sec-table td{padding:9px}.sec-actions .btn{flex:1}.sec-dialog{padding:20px}.sec-card .sec-code{font-size:12px}}

/* MFA also renders on the standalone PWA member entry, which has no global .btn theme. */
.sec-dialog .field>span{display:block;margin:10px 0 8px;font-weight:600}
.sec-dialog .btn{font:inherit;font-size:15px;cursor:pointer;background:#fff;color:#332f29;border:1px solid #d8d3cc;border-radius:9px;padding:11px 16px}
.sec-dialog .btn.primary{background:#b62630;border-color:#b62630;color:#fff;font-weight:700}
.sec-dialog .btn:disabled{opacity:.55;cursor:wait}
.sec-dialog :focus-visible{outline:3px solid #9a6e3d;outline-offset:3px}
