:root{--ink:#18364a;--muted:#668090;--line:#d8e4e9;--green:#147f70;--blue:#246986;--paper:#fff;--bg:#f3f7f8;--red:#ad4038;font:14px/1.6 "Microsoft YaHei","PingFang SC",sans-serif;color:var(--ink);background:var(--bg);color-scheme:light}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--blue);padding:8px 13px;line-height:1.4}button:hover{border-color:#8ebaae;background:#f4faf8}button:disabled{cursor:wait;opacity:.6}.primary{background:var(--green);border-color:var(--green);color:#fff}.primary:hover{background:#106e61;border-color:#106e61}.danger{color:var(--red)}a{color:var(--blue)}:focus-visible{outline:2px solid #328ca0;outline-offset:3px}.access-wrap{max-width:1180px;margin:0 auto;padding:35px 26px 60px}.access-header,.section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.access-header{margin-bottom:8px}.eyebrow{font-size:12px;color:var(--green);font-weight:700;letter-spacing:.08em;margin:0 0 6px}h1{font-size:24px;line-height:1.4;margin:0}h2{font-size:17px;margin:0 0 7px}h3{font-size:14px;margin:0}.muted,small{color:var(--muted);font-size:12px}.muted{margin:4px 0 15px}.card{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:24px}.auth-card{max-width:450px;margin:34px auto 0}.auth-card .primary{width:100%}.auth-card a{display:block;margin-top:14px;text-align:center}label{display:flex;flex-direction:column;gap:6px;margin:14px 0;font-size:13px;font-weight:500}input,select{border:1px solid #c8d9df;border-radius:7px;padding:9px 10px;width:100%;color:var(--ink);background:#fff;min-height:39px}input[readonly]{background:#f5f8fa;font-size:12px}.message{color:var(--red);font-size:12px;white-space:pre-wrap;min-height:18px;margin:10px 0}.message:empty{min-height:0;margin:0}.button-row,#account-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}#signed-name{margin-right:5px;font-size:13px}#portal-panel>.section-head{margin-top:30px}.module-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0 26px}.module-card{display:flex;flex-direction:column;gap:15px;text-decoration:none;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px}.module-card:hover{border-color:#7aafa4;box-shadow:0 3px 12px #193d4410}.module-card strong{font-size:16px}.module-card span{font-size:12px;color:var(--green)}.table-wrap{overflow-x:auto;margin-top:14px}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;min-width:760px}th{color:#456779;background:#f5f9fa;font-weight:600}th,td{padding:12px;border-bottom:1px solid #e4ecef;vertical-align:top}td .button-row button{font-size:12px;padding:5px 8px}dialog{color:var(--ink);width:min(650px,calc(100vw - 32px));max-height:88vh;overflow-y:auto;border:1px solid var(--line);border-radius:13px;padding:25px;box-shadow:0 15px 60px #17394c22}dialog::backdrop{background:#13344855}.close{font-size:22px;line-height:1;padding:3px 7px;border:0;color:var(--muted)}.dialog-actions{justify-content:flex-end;margin-top:21px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.permission-matrix{border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-top:12px}.permission-row{display:grid;grid-template-columns:1fr 160px;gap:14px;align-items:center;padding:10px 13px;border-bottom:1px solid #e5edef;margin:0}.permission-row:last-child{border-bottom:0}.permission-row select{font-size:12px;min-height:35px;padding:6px 8px}#permission-section>.section-head{margin-top:10px}#permission-section .button-row button{font-size:12px;padding:5px 8px}#invitation-dialog{max-width:580px}.module-preview{max-width:900px;margin:0 auto;padding:32px}.module-preview header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}.module-preview .panel{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:24px;margin:18px 0}.module-preview .tag{display:inline-block;color:var(--green);background:#e7f4ef;border-radius:20px;font-size:12px;padding:4px 11px}.module-preview textarea{width:100%;box-sizing:border-box;font:inherit;line-height:1.7;resize:vertical;min-height:110px;border:1px solid #c8d9df;border-radius:7px;padding:10px;color:var(--ink);background:#fff}@media(max-width:760px){.access-wrap{padding:23px 16px 40px}.module-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:18px}.access-header{align-items:flex-start}#account-tools{gap:6px}#account-tools button{font-size:12px;padding:6px 8px}.section-head{gap:10px}dialog{padding:20px}.permission-row{grid-template-columns:1fr 135px}.module-preview{padding:23px 16px}.module-preview .panel{padding:18px}}@media(max-width:430px){.module-cards{grid-template-columns:1fr}.two-columns{grid-template-columns:1fr;gap:0}.permission-row{grid-template-columns:1fr 125px}h1{font-size:22px}}
.auth-secondary{width:100%;margin-top:12px}.account-onboarding{background:#eef7f3;border:1px solid #d3e7de;border-radius:9px;padding:16px 18px;margin:18px 0}.account-onboarding>.muted{margin:5px 0 12px}.inline-check{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0}.inline-check input,#members-body input[type="checkbox"]{width:16px;min-height:16px;height:16px;padding:0;flex:0 0 16px}.application-detail{color:#496b7c;background:#f6faf8;font-size:11px}#import-dialog{width:min(980px,calc(100vw - 32px))}#import-preview{max-height:45vh;overflow:auto}#import-dialog .message{max-height:170px;overflow:auto}#import-dialog #template-download{display:inline-block;margin-bottom:5px}select:disabled{background:#f3f6f7;color:#7c919c;cursor:default}input[readonly]{cursor:default}#applications-count{margin:0}
.email-code-address{display:flex;align-items:stretch;gap:8px;min-width:0}.email-code-address input{flex:1 1 0;min-width:0}.email-code-address button{flex:0 0 auto;white-space:nowrap}.email-service-note{margin:7px 0 0;overflow-wrap:anywhere}.email-service-note.error{color:var(--red)}#apply-form>label[for="apply-email"],#reset-form>label[for="reset-email"]{margin-bottom:6px}#apply-verification-code,#reset-verification-code{letter-spacing:.14em}#apply-code-send:disabled,#reset-code-send:disabled{cursor:default}@media(max-width:360px){.email-code-address{flex-wrap:wrap}.email-code-address input{flex-basis:100%}.email-code-address button{width:100%}}
.account-members-scroll{max-height:min(66vh,720px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--line);border-radius:8px}
.account-table{table-layout:fixed;border-collapse:separate;border-spacing:0;min-width:1788px;width:100%}
.account-import-table{min-width:1424px}
.account-table th{position:sticky;top:0;z-index:1;box-shadow:0 1px 0 var(--line);white-space:nowrap}
.account-col-review{width:56px}
.account-col-name{width:96px;white-space:nowrap}
.account-col-email{width:288px}
.account-col-role{width:96px;white-space:nowrap}
.account-col-sector{width:128px;white-space:nowrap}
.account-col-department{width:180px;word-break:normal;overflow-wrap:normal;white-space:normal;line-height:1.7}
.account-col-category{width:96px;white-space:nowrap}
.account-col-status{width:128px;white-space:nowrap}
.account-col-permissions{width:320px}
.account-col-actions{width:180px}
.account-col-services{width:220px;white-space:normal;overflow-wrap:anywhere;line-height:1.8}
.account-email{display:block;width:100%;overflow-x:auto;white-space:nowrap;word-break:normal;line-height:1.8;padding-bottom:3px}
.account-permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:5px}
.permission-tag{display:block;white-space:nowrap;border:1px solid #dbe8ed;border-radius:5px;padding:3px 6px;line-height:1.5;font-size:11px;background:#f3f8fa;color:#466574}
.permission-tag-edit{background:#edf7f1;border-color:#d3e7dc;color:#236a4e}
.account-col-actions button{white-space:nowrap}
.account-state-guide{font-size:12px;color:#496b7c;margin:8px 0 13px}
.account-state-guide p{margin:5px 0}
.rehearsal-link{display:inline-block;margin:7px 10px 0 0;padding:6px 10px;border:1px solid #b9d5ca;border-radius:6px;background:#fff;text-decoration:none}
.service-department-fieldset{margin:16px 0;padding:12px 14px;border:1px solid var(--line);border-radius:8px}
.service-department-fieldset legend{padding:0 5px;font-size:13px;font-weight:600}
.service-department-fieldset .muted{margin:0 0 9px}
.service-department-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 12px}
.service-department-option{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0;font-size:12px}
.service-department-option input{width:16px;min-height:16px;height:16px;padding:0;flex:0 0 16px}
.service-department-option:has(input:disabled){color:var(--muted)}
@media(max-width:530px){.service-department-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
.account-members-scroll{width:100%;max-width:100%;min-width:0;container-type:inline-size;overflow-x:hidden;overflow-y:auto}
.account-filters{display:grid;grid-template-columns:minmax(160px,1.3fr) repeat(3,minmax(120px,1fr)) auto;align-items:end;gap:10px;margin:18px 0 7px}
.account-filters label{min-width:0;margin:0;font-size:12px}.account-filters input,.account-filters select{width:100%;min-width:0;padding:8px;font-size:12px}.account-filters button{min-height:39px;white-space:nowrap}.account-filter-count{margin:0 0 8px}
.account-members-table .account-empty{padding:20px;white-space:normal;color:var(--muted)}
@media(max-width:1150px){.account-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.account-filters button{justify-self:start}}
@media(max-width:530px){.account-filters{grid-template-columns:minmax(0,1fr)}}
.account-members-table{width:100%;min-width:0;font-size:12px;line-height:1.55}
.account-members-table th,.account-members-table td{padding:10px 6px;white-space:normal;word-break:normal;overflow-wrap:anywhere;line-height:1.55}
.account-members-table th{font-size:11px;vertical-align:middle}
.account-members-table .account-col-review{width:4%}.account-members-table .account-col-name{width:6%}.account-members-table .account-col-email{width:14%}.account-members-table .account-col-role{width:5%}.account-members-table .account-col-sector{width:7%}.account-members-table .account-col-department{width:8%}.account-members-table .account-col-category{width:6%}.account-members-table .account-col-status{width:10%}.account-members-table .account-col-permissions{width:13%}.account-members-table .account-col-actions{width:8%}.account-members-table .account-col-services{width:9%}
.account-members-table .account-email{max-width:100%;padding:0;overflow:visible;white-space:normal;word-break:break-all;overflow-wrap:anywhere;line-height:1.55}
.account-members-table .account-permissions{grid-template-columns:minmax(0,1fr);gap:4px}
.account-members-table .permission-tag{max-width:100%;white-space:normal;padding:2px 5px;font-size:11px;line-height:1.5}
.account-members-table .account-col-actions .button-row{gap:5px}.account-members-table .account-col-actions button{padding:4px 7px;font-size:11px;line-height:1.4;white-space:nowrap}
.account-members-table .account-permission-details{max-width:100%}.account-members-table .account-permission-details summary{cursor:pointer;color:var(--blue);font-size:11px;line-height:1.6;overflow-wrap:anywhere}.account-members-table .account-permission-details[open] summary{margin-bottom:6px}
@container(max-width:980px){
 .account-members-table,.account-members-table tbody{display:block;width:100%}
 .account-members-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .account-members-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;padding:16px;border-bottom:1px solid var(--line)}
 .account-members-table tbody tr:last-child{border-bottom:0}
 .account-members-table td[class^=account-col-]{display:block;width:auto;min-width:0;border:0;padding:0}
 .account-members-table td.account-col-review:empty{display:none}
 .account-members-table td.account-col-email,.account-members-table td.account-col-permissions,.account-members-table td.account-col-services{grid-column:span 2}
 .account-members-table td.account-col-actions{grid-column:1/-1}
 .account-members-table td[class^=account-col-]:before{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}
 .account-members-table td.account-col-review:before{content:'审核'}.account-members-table td.account-col-name:before{content:'姓名'}.account-members-table td.account-col-email:before{content:'邮箱／原账号'}.account-members-table td.account-col-role:before{content:'身份'}.account-members-table td.account-col-sector:before{content:'板块'}.account-members-table td.account-col-department:before{content:'二级部门'}.account-members-table td.account-col-category:before{content:'管理类别'}.account-members-table td.account-col-status:before{content:'状态'}.account-members-table td.account-col-permissions:before{content:'看板权限'}.account-members-table td.account-col-actions:before{content:'操作'}.account-members-table td.account-col-services:before{content:'服务部门'}
 .account-members-table .account-permissions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .account-members-table tbody tr:has(.application-detail){display:block;background:#f6faf8;padding:10px 16px}
 .account-members-table .application-detail{display:block;width:100%;padding:0;border:0;overflow-wrap:anywhere}
 .account-members-table .account-empty{grid-column:1/-1;padding:0;border:0}
}
@container(max-width:460px){
 .account-members-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px}
 .account-members-table td.account-col-email,.account-members-table td.account-col-permissions,.account-members-table td.account-col-services{grid-column:1/-1}
}
.email-code-success{color:var(--green)}
