.auth-page{display:grid;place-items:center;min-height:100vh;padding:24px}.auth-card{background:white;padding:35px;max-width:460px;width:100%;border:1px solid #e4e9ef;border-radius:12px;box-shadow:0 15px 50px #1630440b}.auth-card .brand{color:#183449;margin-bottom:15px}.auth-card h1{font-size:26px}.language-row{display:flex;justify-content:flex-end;margin-bottom:18px}.language-row select{padding:7px;border:1px solid #d7dfe8;border-radius:6px;background:white}form>label,.test-fields>label{display:flex;flex-direction:column;gap:8px;font-size:12px;margin:20px 0}form input:not([type=checkbox]){border:1px solid #d7dfe8;border-radius:6px;padding:11px 12px;width:100%;color:#243c50;background:white}form button{margin-top:12px}.auth-card form button{width:100%}form small,.bootstrap-note{font-size:11px;color:#78899a;line-height:1.7}.auth-card>a:last-of-type{font-size:12px;color:#00857f}.bootstrap-note{margin-top:24px;border-top:1px solid #e4e9ef;padding-top:18px}.settings-card{background:white;border:1px solid #e4e9ef;border-radius:9px;padding:25px;max-width:1000px;margin:20px 0}.settings-card form{max-width:700px}.settings-card h2{font-size:19px}.settings-card .checkbox{flex-direction:row;align-items:center;gap:10px}.checkbox input{width:18px;height:18px}.security-note{font-size:11px}.test-fields{display:flex;gap:20px}.test-fields>label{flex:1}#notice,#testResult{white-space:pre-line;line-height:1.8;font-size:13px}#notice.error,#testResult.error{color:#b03929}#notice.success,#testResult.success{color:#08776a}.result-table{overflow:auto}#testTable{min-width:650px}#testTable td{white-space:nowrap}.admin-page .result-table td,.admin-page .result-table th{font-size:11px}.admin-page main{padding-bottom:40px}@media(max-width:760px){.auth-card{padding:25px}.admin-page .sidebar{display:none}.admin-page header{height:auto;min-height:75px;gap:15px;font-size:12px}.settings-card{padding:19px}.test-fields{flex-direction:column;gap:0}.test-fields>label{margin:12px 0}.admin-page h1{font-size:24px}.admin-page .account{gap:6px}.admin-page .account button{padding:8px;font-size:10px}.admin-page .account select{padding:2px}}

.cabinet-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.cabinet-links .settings-card{margin:0;transition:box-shadow .15s}.cabinet-links a:hover{box-shadow:0 4px 20px #16304418}.profile{display:grid;grid-template-columns:minmax(90px,150px) 1fr;gap:12px}.profile dt{color:#748192}.profile dd{margin:0;overflow-wrap:anywhere}.settings-card input[type=search]{padding:10px;border:1px solid #d7dfe8;width:100%;margin:15px 0}.toolbar select{max-width:100%;padding:10px;border:1px solid #d7dfe8;border-radius:6px}.toolbar{flex-wrap:wrap}.table-wrap{overflow:auto}#reportHead th{white-space:nowrap}.account button{padding:8px 12px}@media(max-width:760px){.profile{grid-template-columns:1fr}.profile dd{margin-bottom:10px}.cabinet-links{grid-template-columns:1fr}}

.gateway-state{display:inline-block;border-radius:6px;padding:9px 12px;background:#f0f3f6;font-weight:600}.gateway-state.online,.gateway-state.busy{color:#076d5d;background:#e3f5ee}.gateway-state.offline,.gateway-state.tokenMissing{color:#a53020;background:#fff0ec}.gateway-monitor .error{color:#a53020}.gateway-owners{margin-top:25px;border-top:1px solid #e4e9ef;padding-top:15px}.gateway-owners textarea{width:100%;box-sizing:border-box;font-family:monospace;font-size:12px;border:1px solid #d7dfe8;border-radius:6px;padding:12px;resize:vertical}.gateway-actions,.user-actions{display:flex;gap:8px;flex-wrap:wrap}.danger{color:#a53020;border:1px solid #e4bbb5;background:white;border-radius:5px;padding:8px 12px}

.gateway-journal{margin-top:18px}.gateway-journal summary{cursor:pointer;font-weight:600}.gateway-journal .result-table{max-height:320px;overflow:auto;margin-top:12px}.gateway-journal td,.gateway-journal th{padding:10px;font-size:11px}.gateway-journal td:last-child{min-width:170px}.gateway-journal td:first-child{white-space:nowrap}
#newBridgeToken,#newSyncToken{display:block;width:100%;box-sizing:border-box;font-family:monospace;font-size:14px;padding:10px;border:1px solid #d7dfe8;border-radius:6px;margin:10px 0}
