.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at top left,#e8f1fd,#f5f7fb 55%);padding:30px 20px;margin:0}.auth-page>main.auth-card{margin:0;width:100%;background:#fff;border:1px solid #dce6f2;border-top:3px solid #ff821c;border-radius:20px;box-shadow:0 20px 60px #173c6810;padding:36px}.auth-page>main.login-card{max-width:460px}.auth-page>main.setup-card{max-width:1120px;display:grid;grid-template-columns:minmax(240px,.72fr) minmax(320px,1.35fr);gap:40px;padding:38px}.auth-page .auth-logo{display:block;width:220px;max-width:100%;height:70px;object-fit:contain;margin:0 0 22px}.auth-page .access-eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#6c8aaa}.auth-page h1{color:#244b76;font-size:27px;letter-spacing:-.5px;margin:12px 0}.auth-page h2{font-size:18px;color:#2e5076;margin:0 0 20px}.auth-page p{color:#7a8ba0;font-size:13px;line-height:1.7}.auth-page form{display:grid;gap:18px;margin:24px 0 0}.auth-page label{display:grid;align-content:start;gap:8px;color:#3d5976;font-size:12px;font-weight:600;min-width:0}.auth-page input,.auth-page select{height:44px;padding:11px 12px;width:100%;min-width:0;font-weight:400;border:1px solid #d4e0ef;border-radius:8px;color:#223b58;background:#fff}.auth-page input:focus,.auth-page select:focus{outline:3px solid #e2eeff;border-color:#4b83c5}.auth-page small{color:#8393a7;font-size:10px;line-height:1.6;font-weight:400}.auth-page .primary{min-height:44px;border-radius:9px}.auth-page .access-alert,.auth-page .access-success{padding:13px 15px;border-radius:9px;font-size:12px;line-height:1.65;margin:14px 0}.auth-page .access-alert{background:#fff0ec;border:1px solid #f0cbbf;color:#9d4a34}.auth-page .access-success{background:#ecf8f1;border:1px solid #c6e7d5;color:#2c7350}.auth-page .setup-steps{padding-left:20px;color:#627b95;font-size:12px;line-height:1.8}.auth-page .setup-steps li+li{margin-top:7px}.auth-page .setup-checks{background:#f6f9fd;border:1px solid #e1e9f3;border-radius:12px;padding:20px;margin-top:24px}.auth-page .setup-checks h2{font-size:14px;margin-bottom:12px}.auth-page .setup-checks ul{list-style:none;padding:0;margin:0;font-size:11px;line-height:1.6}.auth-page .setup-checks li{display:flex;align-items:center;gap:8px;margin:7px 0}.auth-page .setup-checks li span{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;flex:0 0 18px}.auth-page .check-ok{color:#44775f}.auth-page .check-ok span{background:#e0f2e8}.auth-page .check-fail{color:#ad5744}.auth-page .check-fail span{background:#f9e2db}.auth-page fieldset{min-width:0;margin:0;padding:0 0 20px;border:0;border-bottom:1px solid #e5edf6}.auth-page legend{font-size:13px;color:#42658a;font-weight:700;margin:0 0 15px;padding:0}.auth-page .setup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:16px 0}.auth-page .setup-wide{grid-column:1/-1}.auth-page .access-note{font-size:11px;line-height:1.8}.auth-page footer{color:#8c9aab;padding:24px 0 0;font-size:10px}.auth-page.setup-page footer{grid-column:1/-1;padding:0;border-top:1px solid #e5edf6;padding-top:18px}@media(max-width:850px){.auth-page>main.setup-card{grid-template-columns:1fr;gap:26px;padding:26px}.setup-intro .setup-steps{display:none}.auth-page .setup-checks{margin-top:16px}.auth-page .setup-checks ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 15px}.auth-page .setup-checks li{margin:0}}@media(max-width:520px){.auth-page{padding:16px 12px}.auth-page>main.auth-card{padding:26px 20px}.auth-page>main.setup-card{padding:24px 18px}.auth-page .setup-grid,.auth-page .setup-checks ul{grid-template-columns:1fr}.auth-page h1{font-size:24px}}

.setup-form code{overflow-wrap:anywhere;font-size:inherit}

.setup-key-box{display:grid;gap:8px}
.setup-key-box p{margin:0;font-size:12px;color:#465b73}
.setup-key-path{display:block;overflow-wrap:anywhere;background:#f0f5fa;border-radius:6px;padding:8px 10px;color:#264a74}
#setup-key-picker:not([hidden]){display:grid;gap:6px;margin-top:4px}
#setup-key-file{height:auto;padding:5px;color:#314e70}
#setup-key-file::file-selector-button{font:inherit;padding:7px 10px;margin-right:8px;color:#193e68;background:#eef4fc;border:1px solid #c8d8e9;border-radius:4px;cursor:pointer}
.setup-key-status:empty{display:none}
.setup-key-status[data-state="error"]{color:#a03220}

.setup-key-box details{padding:10px 12px;border:1px solid #d4e0ef;border-radius:8px;background:#f8fafd}
.setup-key-box summary{color:#244b76;font-weight:600;font-size:12px;cursor:pointer}
.setup-key-controls{display:grid;gap:8px;margin-top:12px}
.setup-key-status[data-state="ready"]{background:#ecf8f1;border:1px solid #c6e7d5;color:#245e40;padding:10px 12px;border-radius:8px}
.setup-key-box [hidden]{display:none}
