:root{font-family:Manrope,"Microsoft YaHei",sans-serif;color:#263b31;background:#eef3ef}
*{box-sizing:border-box;letter-spacing:0}
[hidden]{display:none!important}
body{margin:0}
.auth-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:#edf2ee}
.auth-shell{width:min(460px,100%)}
.auth-brand{display:flex;align-items:center;gap:11px;margin:0 0 22px 3px}
.auth-brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:7px;background:#e8755c;color:#fff;font-size:22px;font-weight:800}
.auth-brand>div:last-child{display:grid}.auth-brand strong{font-size:18px}.auth-brand strong span{color:#e8755c}.auth-brand small{margin-top:2px;color:#74837b;font-size:11px}
.auth-card{padding:34px 36px 30px;border:1px solid #dce5df;border-radius:8px;background:#fff;box-shadow:0 18px 50px rgba(35,55,45,.09)}
.auth-heading>span{display:block;margin-bottom:8px;color:#bc624c;font-size:11px;font-weight:800}.auth-heading h1{margin:0;color:#23372d;font-size:25px}.auth-heading p{margin:9px 0 26px;color:#738078;font-size:12px;line-height:1.7}
#authForm{display:grid;gap:17px}#authForm label{display:grid;gap:7px;color:#55675e;font-size:12px;font-weight:700}#authForm input{width:100%;height:48px;padding:0 13px;border:1px solid #d7e1db;border-radius:6px;color:#263b31;background:#fbfcfb;font:13px inherit;outline:0}#authForm input:focus{border-color:#6c9d82;box-shadow:0 0 0 3px rgba(77,155,120,.1);background:#fff}
.password-field{position:relative}.password-field input{padding-right:48px!important}.password-field button{position:absolute;right:5px;top:5px;width:38px;height:38px;border:0;background:transparent;color:#73847b;cursor:pointer;font-size:15px}
.auth-notice{display:grid;gap:4px;padding:12px 13px;border-left:3px solid #dd846a;background:#fcf7f5}.auth-notice strong{font-size:12px}.auth-notice span{color:#75837b;font-size:11px;line-height:1.55}
.auth-error{min-height:17px;margin:-4px 0;color:#b45249;font-size:11px;line-height:1.5}
.auth-identity{display:flex;align-items:center;gap:11px;padding:11px 12px;border:1px solid #dce6df;border-radius:6px;background:#f4f8f5}.auth-identity>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#dfeee5;color:#4f765f;font-size:13px;font-weight:800}.auth-identity>div{display:grid;gap:2px}.auth-identity small{color:#8a978f;font-size:9px}.auth-identity strong{color:#2c4437;font-size:13px}.auth-identity em{color:#718178;font-size:10px;font-style:normal}.auth-identity.first-login{border-color:#edc8ba;background:#fff8f5}.auth-identity.first-login>span{background:#f6ded5;color:#a65844}
.auth-remember{display:flex!important;grid-template-columns:18px minmax(0,1fr)!important;align-items:flex-start;gap:9px!important;color:#55675e!important;font-weight:400!important}.auth-remember input{width:16px!important;height:16px!important;margin:2px 0 0;padding:0}.auth-remember span{display:grid;gap:2px}.auth-remember strong{font-size:11px}.auth-remember small{color:#859189;font-size:9px;line-height:1.45}
.auth-submit{height:48px;border:0;border-radius:6px;background:#e8755c;color:#fff;font:700 13px inherit;cursor:pointer}.auth-submit:hover{background:#d9664e}.auth-submit:disabled{opacity:.6;cursor:wait}
.auth-mode-switch{height:34px;border:0;background:transparent;color:#527761;font:700 11px inherit;cursor:pointer}.auth-mode-switch:hover{text-decoration:underline}
.auth-shell footer{margin-top:16px;color:#89958e;font-size:10px;text-align:center;line-height:1.6}
@media(max-width:520px){.auth-page{padding:18px}.auth-card{padding:28px 22px 24px}}

.global-account{display:flex;align-items:center;gap:9px;padding-left:13px;border-left:1px solid #e1e7e3}.global-account-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e6f0ea;color:#48715b;font-size:12px;font-weight:800}.global-account>div{display:grid;gap:1px}.global-account strong{color:#33483d;font-size:11px}.global-account small{color:#849088;font-size:9px;white-space:nowrap}.global-account button{height:32px;padding:0 9px;font-size:10px}
.account-manager-backdrop{z-index:1300}.account-manager-modal{width:min(1040px,calc(100vw - 34px));max-height:calc(100vh - 34px);overflow:auto;padding:28px 30px}.account-manager-heading>span{color:#b65d48;font-size:10px;font-weight:800}.account-manager-heading h3{margin:6px 0 4px;font-size:22px}.account-manager-heading p{margin:0;color:#75847b;font-size:11px}.account-manager-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:24px;margin-top:24px}.account-list-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.account-user-list{display:grid;gap:7px;max-height:520px;overflow:auto}.account-user-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:9px 10px;border:1px solid #e0e7e2;border-radius:6px;background:#fff}.account-user-row.inactive{opacity:.6;background:#f5f6f5}.account-user-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#edf4ef;color:#577d67;font-weight:800}.account-user-row>div{display:grid;gap:3px}.account-user-row strong{font-size:12px}.account-user-row small{color:#839087;font-size:10px}.account-user-row button{height:32px;padding:0 10px}.account-editor{display:grid;align-content:start;grid-template-columns:1fr 1fr;gap:13px;padding:18px;border:1px solid #dfe7e2;border-radius:7px;background:#f9fbf9}.account-editor-title,.account-editor-error,.account-active,.account-editor .form-actions{grid-column:1/-1}.account-editor-title{display:grid;gap:2px;margin-bottom:3px}.account-editor-title strong{font-size:15px}.account-editor-title span{color:#87938c;font-size:10px}.account-editor label{display:grid;gap:6px;color:#617169;font-size:11px}.account-editor input:not([type=checkbox]),.account-editor select{width:100%;height:41px;padding:0 9px;border:1px solid #d8e2dc;border-radius:5px;background:#fff;font:11px inherit}.account-active{display:flex!important;align-items:center;grid-template-columns:auto 1fr!important}.account-active input{width:15px;height:15px}.account-editor-error{min-height:16px;margin:0;color:#b75349;font-size:10px}.account-editor .form-actions{margin-top:0}
@media(max-width:900px){.global-account>div{display:none}.account-manager-layout{grid-template-columns:1fr}.account-editor{grid-template-columns:1fr}.account-manager-modal{padding:24px 18px}}

.account-admin-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:18px;border:1px solid #e0e7e2;background:#fff}.account-admin-summary>div{display:grid;gap:4px;padding:17px 20px;border-right:1px solid #e0e7e2}.account-admin-summary>div:last-child{border-right:0}.account-admin-summary strong{font-size:24px}.account-admin-summary span{color:#7d8b83;font-size:11px}
.account-admin-layout{display:grid;grid-template-columns:minmax(380px,.8fr) minmax(600px,1.2fr);gap:18px;align-items:start}.account-directory,.account-page-editor{border-radius:7px}.account-directory{padding:18px}.account-directory-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:14px}.account-directory-head h3{margin:0;font-size:15px}.account-directory-head p{margin:4px 0 0;color:#849087;font-size:10px}.account-directory-head .search-box{width:240px}.account-directory .account-user-list{max-height:calc(100vh - 350px);min-height:330px}.account-user-row em{color:#609072;font-size:9px;font-style:normal}.account-user-row.inactive em{color:#a15c52}.account-directory-empty{padding:50px 12px;color:#89968f;font-size:11px;text-align:center}
.account-page-editor{display:grid;gap:16px;padding:22px}.account-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.account-page-editor label{display:grid;gap:6px;color:#617169;font-size:11px}.account-page-editor input:not([type=checkbox]),.account-page-editor select{width:100%;height:42px;padding:0 10px;border:1px solid #d8e2dc;border-radius:5px;background:#fff;color:#31473b;font:11px inherit}.account-permission-heading{display:flex;align-items:center;justify-content:space-between;padding-top:14px;border-top:1px solid #e4eae6}.account-permission-heading strong{font-size:13px}.account-permission-heading span{color:#849188;font-size:10px}.account-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px}.account-permission-grid label{display:grid;grid-template-columns:minmax(90px,1fr) 120px;align-items:center;padding:8px 10px;border:1px solid #e2e8e4;border-radius:5px;background:#fafcfa}.account-permission-grid select{height:34px}.account-activation-result{padding:14px 15px;border:1px solid #e9cbbd;border-left:3px solid #df795f;background:#fff8f5}.account-activation-result>span,.account-activation-result>strong,.account-activation-result>p{display:block}.account-activation-result>span{color:#9b6658;font-size:10px}.account-activation-result>strong{margin:5px 0;color:#9d4e3b;font:800 21px 'DM Mono',monospace;letter-spacing:1px}.account-activation-result>p{margin:0 0 10px;color:#7e756f;font-size:10px;line-height:1.6}.account-activation-result button{height:33px}.account-page-editor .form-actions{margin-top:0;padding-top:15px;border-top:1px solid #e4eae6}
@media(max-width:1150px){.account-admin-layout{grid-template-columns:1fr}.account-directory .account-user-list{max-height:430px}.account-fields,.account-permission-grid{grid-template-columns:1fr}}
@media(max-width:700px){.account-admin-summary{grid-template-columns:1fr}.account-admin-summary>div{border-right:0;border-bottom:1px solid #e0e7e2}.account-directory-head{align-items:stretch;flex-direction:column}.account-directory-head .search-box{width:100%}.account-page-editor{padding:17px}.account-permission-grid label{grid-template-columns:1fr}}
.account-admin-lock{padding:5px 8px;border:1px solid #dce6df;border-radius:4px;background:#f3f7f4;color:#668071;font-size:9px;font-weight:700;white-space:nowrap}

/* Account administration workspace */
#accountsView{max-width:1500px;margin:0 auto}.account-view-heading{align-items:flex-end;margin-bottom:18px}.account-page-kicker{display:block;margin-bottom:7px;color:#c15f48;font-size:9px;font-weight:800;text-transform:uppercase}.account-view-heading h2{margin-bottom:5px}.account-view-heading .heading-actions{display:flex;gap:8px}
.account-admin-summary{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px;border:1px solid #dde6e0;border-radius:7px;box-shadow:0 8px 24px rgba(37,57,47,.035);overflow:hidden}.account-admin-summary>div{display:flex;align-items:center;gap:12px;padding:15px 18px}.account-admin-summary>div>div{display:grid;gap:2px}.account-admin-summary strong{font-size:22px;line-height:1}.account-summary-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:6px;font-size:11px;font-weight:800}.account-summary-icon.users{background:#e9f1ec;color:#4c705c}.account-summary-icon.active{background:#e6f3ea;color:#3e8059}.account-summary-icon.pending{background:#fff0e3;color:#a96b36}.account-summary-icon.departments{background:#f5e9e5;color:#a85846}
.account-admin-layout{grid-template-columns:minmax(330px,.7fr) minmax(620px,1.3fr);gap:14px}.account-directory,.account-page-editor{border:1px solid #dde6e0!important;border-radius:7px!important;box-shadow:0 10px 28px rgba(35,55,45,.045)}.account-directory{padding:0;overflow:hidden}.account-directory-head{align-items:start;margin:0;padding:18px 18px 12px;border-bottom:1px solid #e7ede9}.account-directory-head>div>span,.account-editor-title>div>span{display:block;margin-bottom:4px;color:#bd614b;font-size:9px;font-weight:800}.account-directory-head h3{font-size:16px}.account-search{width:auto!important;margin:13px 14px 8px}.account-directory .account-user-list{min-height:410px;max-height:calc(100vh - 365px);padding:3px 9px 12px}
.account-user-row{grid-template-columns:38px minmax(0,1fr) auto;min-height:74px;padding:10px 9px;border:0;border-bottom:1px solid #edf1ee;border-radius:0;background:transparent;transition:background .16s ease}.account-user-row:hover{background:#f7faf8}.account-user-row:last-child{border-bottom:0}.account-user-avatar{width:38px;height:38px;border-radius:6px;background:#e7f0ea;color:#4f765f}.account-user-copy{gap:3px!important;min-width:0}.account-user-copy>div{display:flex;align-items:center;gap:7px}.account-user-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-user-copy small{color:#819087;font:9px 'DM Mono',monospace}.account-user-copy p{display:flex;align-items:center;gap:6px;margin:0;color:#687a70;font-size:9px}.account-user-copy p i{width:3px;height:3px;border-radius:50%;background:#aab5af}.account-user-status{padding:2px 5px;border-radius:3px;font-size:8px;font-weight:700}.account-user-status.active{background:#e8f4eb;color:#4a8862}.account-user-status.pending{background:#fff0df;color:#a86e34}.account-user-status.inactive{background:#f0f1f0;color:#7f8883}.account-row-edit{height:29px;padding:0 9px;border:1px solid #dce5df;border-radius:4px;background:#fff;color:#52685c;font-size:9px;cursor:pointer}.account-row-edit:hover{border-color:#d47b64;color:#b55c48}
.account-page-editor{gap:0;padding:0;overflow:hidden}.account-editor-title{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e4ebe6;background:#fbfcfb}.account-editor-title>div{display:grid;gap:2px}.account-editor-title strong{font-size:17px}.account-editor-title small{color:#849188;font-size:9px}.account-editor-state{padding:5px 8px;border-radius:4px;background:#edf4ef;color:#5d7d69;font-size:9px;font-weight:700}.account-editor-section{padding:18px 20px;border-bottom:1px solid #e7ede9}.account-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.account-section-heading strong{font-size:12px}.account-section-heading span{color:#89958e;font-size:9px}.account-fields{gap:12px 14px}.account-page-editor input:not([type=checkbox]),.account-page-editor select{height:39px;border-color:#dce4df;border-radius:5px;font-size:10px}.account-permission-heading{padding:0;border:0}.account-permission-heading>div{display:grid;gap:3px}.account-permission-heading>div>span{color:#89958e;font-size:9px}.account-permission-grid{margin-top:12px;gap:7px 10px}.account-permission-grid label{min-height:48px;padding:7px 9px;border-color:#e5ebe7;border-radius:5px;background:#fafcfa}.account-permission-grid select{height:32px}.account-login-section{display:flex;align-items:center;justify-content:space-between;gap:20px}.account-login-section>div{display:grid;gap:3px}.account-login-section>div>strong{font-size:12px}.account-login-section>div>span{color:#89958e;font-size:9px}.account-active{grid-template-columns:16px minmax(0,1fr)!important;margin:0;padding:9px 11px;border:1px solid #dfe8e2;border-radius:5px;background:#f7faf8}.account-active span{display:grid;gap:2px}.account-active strong{font-size:10px}.account-active small{color:#849188;font-size:8px}.account-page-editor>.account-activation-result,.account-page-editor>.account-editor-error,.account-page-editor>.form-actions{margin-right:20px;margin-left:20px}.account-page-editor>.account-activation-result{margin-top:16px}.account-page-editor>.account-editor-error{margin-top:12px}.account-page-editor>.form-actions{margin-top:0;padding:14px 0 18px;border-top:1px solid #e7ede9}
.department-manager-modal{width:min(680px,calc(100vw - 34px));max-height:calc(100vh - 36px);padding:26px;overflow:auto}.department-manager-heading>span{color:#bd614b;font-size:9px;font-weight:800}.department-manager-heading h3{margin:5px 0 4px;font-size:20px}.department-manager-heading p{margin:0;color:#7f8d85;font-size:10px;line-height:1.6}.department-create-form{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:8px;margin-top:20px;padding:14px;border:1px solid #e1e8e3;border-radius:6px;background:#f8faf8}.department-create-form label{display:grid;gap:6px;color:#5f7167;font-size:10px}.department-create-form input{height:38px;padding:0 10px;border:1px solid #d7e1db;border-radius:5px;background:#fff;font:10px inherit}.department-create-form button{height:38px}.department-error{min-height:15px;margin:7px 0;color:#b65248;font-size:9px}.department-list-heading{display:flex;align-items:center;justify-content:space-between;margin:14px 0 7px}.department-list-heading strong{font-size:12px}.department-list-heading span{color:#8a968f;font-size:9px}.department-list{border:1px solid #e1e7e3;border-radius:6px;overflow:hidden}.department-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:60px;padding:10px 12px;border-bottom:1px solid #e7ece9}.department-row:last-child{border-bottom:0}.department-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:5px;background:#e9f1ec;color:#527762;font-size:10px;font-weight:800}.department-row>div:nth-child(2){display:grid;gap:3px}.department-row strong{font-size:11px}.department-row small{color:#86928b;font-size:9px}.department-actions{display:flex;gap:5px}.department-actions button{height:29px;padding:0 8px;border:1px solid #dce4df;border-radius:4px;background:#fff;color:#566a5f;font-size:9px;cursor:pointer}.department-actions button.danger{border-color:#efd9d4;color:#ab5c51}.department-actions button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1150px){#accountsView{max-width:none}.account-admin-layout{grid-template-columns:1fr}.account-directory .account-user-list{max-height:420px}.account-page-editor{min-width:0}}
@media(max-width:760px){.account-view-heading{align-items:stretch}.account-view-heading .heading-actions{width:100%}.account-view-heading .heading-actions button{flex:1}.account-admin-summary{grid-template-columns:repeat(2,1fr)}.account-admin-summary>div:nth-child(2){border-right:0}.account-fields,.account-permission-grid{grid-template-columns:1fr}.account-login-section{align-items:stretch;flex-direction:column}.department-create-form{grid-template-columns:1fr}.department-create-form button{width:100%}}
.account-manager-toggle{grid-column:1/-1!important;display:flex!important;grid-template-columns:16px minmax(0,1fr)!important;align-items:flex-start;gap:9px!important;padding:10px 11px;border:1px solid #dfe8e2;border-radius:5px;background:#f7faf8}.account-manager-toggle input{width:16px;height:16px;margin:1px 0 0}.account-manager-toggle span{display:grid;gap:2px}.account-manager-toggle strong{color:#3f5b4b;font-size:10px}.account-manager-toggle small{color:#849188;font-size:8px;line-height:1.5}
.account-delete-btn{height:36px;margin-right:auto;padding:0 12px;border:1px solid #e5b9b2;border-radius:5px;background:#fff;color:#a64d43;font:600 10px inherit;cursor:pointer}.account-delete-btn:hover{border-color:#c96658;background:#fff6f4;color:#913e35}.account-delete-btn:focus-visible{outline:2px solid #c96658;outline-offset:2px}
