.admin-dialog{width:min(1080px,94vw);max-width:1080px;max-height:88svh;overflow:auto;padding:30px;background:#fafcff}.admin-dialog .dialog-header{margin-bottom:18px}.admin-hint{color:#788391;font-size:12px;line-height:1.7}.admin-tabs{display:flex;border-bottom:1px solid #dee5ed;gap:22px;margin-bottom:22px}.admin-tabs button{border:0;background:none;padding:13px 2px;color:#728092;font:inherit;font-size:14px;cursor:pointer;border-bottom:2px solid transparent}.admin-tabs button[aria-selected=true]{color:#1579d0;border-bottom-color:#1579d0}.people-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:22px}.people-stats>div{padding:18px;background:#f0f5fa;border:1px solid #e4ebf3;border-radius:14px;display:flex;align-items:baseline;gap:12px}.people-stats strong{font-size:28px;color:#1c3553}.people-stats span{font-size:13px;color:#6d7d8f}.admin-toolbar{display:flex;gap:12px;margin:14px 0}.admin-toolbar input{flex:1;min-width:0}.admin-dialog input,.admin-dialog select,.compact-dialog input{border:1px solid #dce4ed;background:white;border-radius:8px;padding:10px 12px;color:#253c54;font:inherit;font-size:13px;max-width:100%}.admin-table-wrap{overflow:auto}.admin-dialog table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.admin-dialog th{font-weight:500;color:#7d8998;background:#f2f6fa;padding:12px;white-space:nowrap}.admin-dialog td{padding:14px 12px;border-bottom:1px solid #e9eef4;color:#334a61}.admin-dialog td small{display:block;color:#94a0af;font-size:11px;margin-top:5px}.person-name,.table-action{background:none;border:0;color:#167ccc;padding:0;cursor:pointer;font:inherit}.person-name{color:#253c54;font-weight:600}.table-action+.table-action{margin-left:14px}.role-chip,.status-chip{display:inline-block;border-radius:5px;padding:4px 7px;background:#eaf2fc;color:#307bb8;font-size:11px}.status-chip{background:#e8f5ef;color:#28866a}.status-chip.is-disabled{background:#f0f0f1;color:#85858d}.admin-empty{padding:40px!important;text-align:center}.admin-field{display:flex;flex-direction:column;gap:7px;margin:12px 0;font-size:12px;color:#758498}.person-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:0 18px}.admin-check{display:flex;gap:9px;align-items:center;font-size:13px;margin:18px 0}.permissions-person{display:flex;align-items:center;justify-content:space-between;margin:20px 0;gap:12px}.permissions-person h3{margin:0;color:#283e56}.permissions-person p{font-size:13px;color:#8290a0}.grant-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}#grantFields fieldset{border:1px solid #e1e8f0;border-radius:12px;padding:12px 16px;margin:18px 0}#grantFields legend{color:#3b536c;font-size:14px}.admin-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:15px}.admin-actions>:first-child{margin-right:auto}.admin-error{color:#c14f52;font-size:13px;line-height:1.6}.admin-error:empty{display:none}.admin-note{background:#f0f5fa;border:1px solid #e3eaf2;border-radius:12px;padding:18px;margin:18px 0;font-size:13px;color:#536a81}.admin-note p{line-height:1.8;margin-bottom:0}.admin-note input{width:100%;margin:10px 0}.account-person{display:flex;flex-direction:column;gap:9px;padding-bottom:24px;border-bottom:1px solid #e5ebf2}.account-person strong{font-size:22px}.account-person span,.account-person small{font-size:12px;color:#78889b}#accountContent>button{margin-top:24px}.identity-preview{position:relative;z-index:10;padding:12px 26px;background:#fff4dd;color:#906731;display:flex;justify-content:space-between;gap:12px;font-size:13px}.identity-preview[hidden]{display:none}.identity-preview button{border:0;background:none;color:#93662a;text-decoration:underline;cursor:pointer}.admin-dialog button:disabled{opacity:.45;cursor:not-allowed}.admin-dialog [hidden]{display:none!important}@media(max-width:720px){.admin-dialog{padding:20px;width:96vw}.admin-tabs{gap:12px;overflow:auto}.admin-tabs button{white-space:nowrap}.people-stats{grid-template-columns:repeat(2,1fr)}.person-fields{grid-template-columns:repeat(2,1fr)}.grant-grid{grid-template-columns:repeat(2,1fr)}.admin-actions{flex-wrap:wrap}.admin-toolbar{flex-wrap:wrap}.identity-preview{padding:10px;font-size:11px}}

@font-face{font-family:'AOneChinese';src:url('/probation/alibaba-puhui.woff') format('woff');font-display:swap}body,button,input,select,textarea{font-family:'AOneChinese','PingFang SC','Microsoft YaHei',sans-serif}

.reset-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px;border-bottom:1px solid #e2e8f0}#firstPasswordDialog p{font-size:14px;line-height:1.8}#firstPasswordDialog{max-width:510px}#accountContent .account-person span{overflow-wrap:anywhere}@media(max-width:680px){#profileButton{display:flex!important}}

/* Personal account surface, aligned with the A One workspace. */
#accountDialog.account-security-dialog{width:min(720px,calc(100vw - 32px));max-width:720px;max-height:90svh;overflow:auto;padding:28px;background:linear-gradient(135deg,#fafdff,#f0f4fc);border:1px solid #ffffff;border-radius:26px;color:#263b5b}#accountDialog .dialog-header{align-items:flex-start;margin-bottom:22px}#accountDialog .dialog-header .eyebrow{font-size:12px;letter-spacing:.16em;color:#798aa7;margin:0 0 7px}#accountDialog .dialog-header h2{font-size:25px;font-weight:500;line-height:1.4;margin:0}#accountDialog .dialog-header .icon-button{width:34px;height:34px;flex-shrink:0;background:#e9eff8;border-radius:50%;font-size:22px}.account-profile-card,.account-password-card{background:#ffffffa8;border:1px solid #fff;border-radius:20px;padding:22px}.account-profile-top{display:flex;align-items:center;gap:14px}.account-monogram{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:linear-gradient(140deg,#dbe6f8,#ecf1fa);color:#425b84;font-size:24px;flex-shrink:0}.account-profile-name{flex:1;min-width:0}.account-profile-name strong{font-size:21px;font-weight:500;line-height:1.5}.account-profile-name p{font-size:14px;line-height:1.5;color:#74849d;margin:3px 0 0;overflow-wrap:anywhere}.account-role-badge{font-size:14px;padding:6px 11px;background:#e9effa;border-radius:14px;color:#526b94;white-space:nowrap}.account-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px;margin:22px 0 0;padding-top:19px;border-top:1px solid #e4eaf5}.account-info-grid div{min-width:0}.account-info-grid dt{font-size:14px;color:#7989a2;margin-bottom:6px}.account-info-grid dd{font-size:15px;line-height:1.6;margin:0;color:#354c70;overflow-wrap:anywhere}.account-password-card{margin-top:16px}.account-section-heading h3{font-size:18px;font-weight:500;margin:0}.account-section-heading p{font-size:14px;line-height:1.6;color:#7989a2;margin:6px 0 16px}.account-password-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}#accountDialog .admin-field{font-size:14px;color:#5f7494;gap:9px;margin:12px 0}#accountDialog input{font-size:15px;border:1px solid #dce5f2;border-radius:12px;background:#fafdff;padding:12px 14px;min-height:46px;width:100%;color:#314766;outline:none}#accountDialog input:focus{border-color:#829bc4;box-shadow:0 0 0 3px #c6d8f633}#accountDialog input::placeholder{color:#8998b0;font-size:14px}.account-password-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px}.account-password-actions span{font-size:14px;line-height:1.6;color:#7c8ba4}.account-password-actions .solid-button{font-size:14px;padding:11px 20px;white-space:nowrap;min-height:44px}#accountDialog button:disabled{opacity:.5;cursor:not-allowed}.account-session-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 5px 0;color:#8291a9;font-size:14px}.account-logout-button{font-size:14px;color:#687c9d;border:1px solid #d8e2f0;padding:8px 15px;border-radius:12px;background:#ffffff66;min-height:38px}.account-logout-button:hover{color:#a15561;background:#fff}.account-session-footer:has(.account-logout-button:focus-visible){outline-offset:2px}#accountDialog .admin-error{font-size:14px}
@media(max-width:600px){#accountDialog.account-security-dialog{padding:20px 16px;border-radius:22px}.account-profile-card,.account-password-card{padding:17px 14px}.account-profile-top{flex-wrap:wrap;gap:10px}.account-role-badge{margin-left:auto}.account-profile-name{flex-basis:calc(100% - 64px)}.account-info-grid{gap:16px 12px}.account-password-grid{grid-template-columns:1fr;gap:0}.account-password-actions{align-items:flex-start;flex-direction:column}.account-password-actions .solid-button{width:100%}#accountDialog .dialog-header h2{font-size:23px}}
@media(max-width:600px){.account-info-grid>div:nth-child(3){grid-column:1/-1;order:4}.account-info-grid>div:nth-child(4){order:3}}

#notificationSettings {margin-top:24px;padding:24px;border-radius:18px;}
#notificationSettings input[type=checkbox] {width:auto;min-height:0;margin:0 8px 0 0;accent-color:#226cef;}
#notificationSettings form {margin-top:18px;}
#notificationSettings details {margin:16px 0;}
#notificationSettings summary {cursor:pointer;font-weight:600;}
#notificationSettings #notificationRecords {padding-top:8px;max-height:220px;overflow:auto;}
