.workspace-shared-shell{display:contents;--bg:#f6f7f3;--surface:#fff;--ink:#24372c;--muted:#7b857b;--green:#245b40;--green-deep:#1d4b35;--line:#e3e7df;--soft:#edf2e8;--radius:16px;font:14px/1.6 "Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#24372c}
@scope (.workspace-shared-shell){
 *{box-sizing:border-box}[hidden]{display:none!important}a{text-decoration:none;color:inherit}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
.site-header{height:86px;background:#fdfefb;border-bottom:1px solid var(--line)}
.header-inner{max-width:1248px;margin:auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;height:100%;gap:24px}
.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}
.brand img{display:block;border-radius:50%;width:43px;height:43px;object-fit:contain}
.brand-copy{display:grid;gap:2px}
.brand-copy strong{font-size:16px;font-weight:650;line-height:1.45;letter-spacing:.2px}
.brand-divider{color:#bdc5b7;margin:0 10px;font-weight:400}
.brand-copy small{font-size:9px;letter-spacing:2.9px;color:#869280}
.primary-nav{align-self:stretch;display:flex;align-items:stretch;gap:32px;margin-left:42px;margin-right:auto}
.primary-nav>a,.primary-nav>button{position:relative;display:flex;align-items:center;background:none;border:0;padding:0 2px;color:#7b857b;font-size:13px}
.primary-nav>.active{color:var(--green);font-weight:650}
.primary-nav>.active:after{position:absolute;content:"";bottom:0;height:3px;left:1px;right:1px;border-radius:4px 4px 0 0;background:var(--green)}
.primary-nav a:hover,.primary-nav button:hover{color:var(--green)}
.header-right{display:flex;align-items:center;gap:21px}
.date{font-size:12px;color:#7a8477;white-space:nowrap}
.workspace-mark{width:35px;height:35px;border:1px solid #e1e7da;border-radius:10px;display:grid;place-items:center;background:#f4f7ee;color:#51704d}
.workspace-mark svg{width:17px;height:17px;stroke-width:1.4}
.portal-dialog{padding:27px 29px 29px;width:460px;max-width:calc(100vw - 32px);max-height:85vh;overflow:auto;border:1px solid #dfe6d6;border-radius:20px;background:#fff;color:var(--ink);box-shadow:0 30px 100px #24372c1a}
.portal-dialog::backdrop{background:#1c302950;backdrop-filter:blur(3px)}
.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.dialog-icon{display:grid;place-items:center;width:42px;height:42px;background:#eef3e7;border-radius:12px;color:#6f8b58}
.dialog-icon svg{width:21px;height:21px}
.icon-button{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#f6f8f2;border:0;color:#9ba98e}
.icon-button svg{width:15px;height:15px}
.icon-button:hover{background:#eaf0e0;color:#648045}
.portal-dialog h2{font-size:23px;letter-spacing:-.3px;margin:0 0 10px;font-weight:650}
.dialog-intro{font-size:12px;color:#87957a;line-height:1.9;margin:0}
.dialog-eyebrow{display:block;color:#91a27c;font-size:10px;letter-spacing:1.8px;margin-bottom:6px}
.primary-button{background:var(--green);color:white;border:0;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:18px;width:100%;min-height:42px;padding:10px 16px;font-size:12px}
.primary-button:hover{background:#326d48}
.primary-button svg{width:17px;height:17px}
@media(min-width:1600px){.header-inner{max-width:1352px}}
@media(max-width:1100px){.header-inner{gap:20px}
.primary-nav{margin-left:20px;gap:20px}
.date{font-size:11px}}
@media(max-width:850px){.date{display:none}
.primary-nav{margin-left:auto;margin-right:0}
.header-right{gap:0}
.brand-copy strong{font-size:14px}
.brand-divider{margin:0 7px}}
@media(max-width:600px){.site-header{height:74px}
.header-inner{padding:0 20px;gap:14px}
.brand img{width:36px;height:36px}
.brand{gap:9px}
.brand-copy strong{font-size:14px;letter-spacing:0}
.brand-copy small{font-size:7px;letter-spacing:2.3px}
.brand-divider{margin:0 7px}
.primary-nav{gap:0}
.primary-nav>a{display:none}
.primary-nav>button{font-size:10px;white-space:nowrap}
.workspace-mark{display:none}
.header-right{display:none}
.portal-dialog{padding:23px;max-width:calc(100vw - 36px)}
.portal-dialog h2{font-size:21px}
.portal-dialog::backdrop{backdrop-filter:blur(2px)}}
.login-button,.account-button{border:1px solid #dfe8db;background:#f4f8f0;border-radius:10px;color:var(--green);font-size:12px;min-height:35px;padding:0 12px;display:inline-flex;align-items:center;gap:7px}
.login-button:hover,.account-button:hover{background:#eaf2e4;border-color:#cbdac5}
.account-button{max-width:190px}
.account-button svg{width:13px;height:13px;transform:rotate(90deg);opacity:.55}
.account-label{max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-avatar{width:21px;height:21px;border-radius:7px;background:#dcead6;color:#4f744b;display:grid;place-items:center;font-size:10px;font-weight:700}
.auth-dialog{width:410px}
.auth-form{display:grid;gap:13px;margin-top:22px}
#passwordResetForm fieldset{min-width:0;display:grid;gap:13px;padding:0;margin:0;border:0}
#passwordResetForm fieldset[hidden],#passwordResetStatus:empty{display:none}
#passwordResetForm .password-reset-code{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
#passwordResetSend{min-height:39px;white-space:nowrap}
#forgotPasswordButton{justify-self:end;background:none;border:0;padding:2px 0;color:#235742;cursor:pointer}
#forgotPasswordButton:hover{text-decoration:underline}
.dingtalk-sign-in{display:grid;gap:8px;padding-top:12px;border-top:1px solid #dce5d8}
.dingtalk-sign-in button,.dingtalk-sign-in a{text-align:center}
.dingtalk-sign-in .secondary-button{min-height:39px;font-size:13px}
.dingtalk-sign-in .client-link{justify-self:center;color:#235742;font-size:12px;background:none;border:0;padding:4px;cursor:pointer}
.dingtalk-sign-in .client-link:hover{text-decoration:underline}
.dingtalk-sign-in p{margin:0;text-align:center;font-size:11px;color:#61715c}
.auth-form label{display:grid;gap:6px;color:#61715c;font-size:11px}
.auth-form input,.auth-form select{width:100%;height:39px;border:1px solid #dce5d8;border-radius:9px;padding:0 11px;background:#fbfcf9;color:var(--ink);font-size:13px}
.auth-form input:focus{border-color:#87ad78;outline:3px solid #dcebd4}
.form-error{margin:0;color:#b24d42;background:#fff3f0;border:1px solid #f1d7d0;border-radius:8px;padding:8px 10px;font-size:11px;line-height:1.55}
.account-dialog{width:450px}
.account-actions{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0 4px}
.secondary-button{border:1px solid #dfe7db;background:#f7f9f5;border-radius:9px;padding:8px 12px;color:#537344;font-size:11px}
.secondary-button:hover{background:#edf4e8}
.danger-button{color:#a55247;border-color:#eed8d2;background:#fff9f7}
.password-panel{border-top:1px solid #edf0e9;margin-top:19px;padding-top:17px}
.password-panel h3{font-size:14px;margin:0;color:#4d6549}
.users-dialog{width:min(720px,calc(100vw - 32px))}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.users-list{border-top:1px solid #edf0e9;margin-top:22px;padding-top:14px;display:grid;gap:9px}
.user-row{display:grid;grid-template-columns:minmax(130px,1.1fr) minmax(90px,.8fr) minmax(115px,1fr) auto;gap:10px;align-items:center;border:1px solid #e4ebdf;background:#fbfcfa;border-radius:10px;padding:10px 12px}
.user-row strong{font-size:12px;color:#3e5d40}
.user-row small{display:block;color:#8a9785;font-size:10px}
.user-row .user-role{font-size:10px;color:#73836c}
.user-row button{border:1px solid #ead8d2;color:#a55247;background:#fff9f7;border-radius:7px;padding:5px 8px;font-size:10px}
.loading-text{font-size:11px;color:#8b9986;margin:0}
.must-change-note{font-size:11px;color:#a06b3f;background:#fff8ec;border:1px solid #f1e1c4;padding:8px 10px;border-radius:8px;margin:15px 0 0}
@media(max-width:600px){.header-right{display:flex;gap:6px}
.date,.workspace-mark{display:none}
.login-button,.account-button{min-height:31px;padding:0 9px;font-size:10px}
.account-label{max-width:78px}
.form-grid{grid-template-columns:1fr}
.user-row{grid-template-columns:1fr auto}
.user-row .user-role{grid-column:1}
.user-row button{grid-column:2;grid-row:1/3;align-self:center}}
.auth-form .permission-fields{border:1px solid #e1e9dc;border-radius:10px;padding:11px 13px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 13px;margin:2px 0}
.permission-fields legend{font-size:11px;color:#61715c;padding:0 6px}
.auth-form .permission-fields label{display:flex;align-items:center;gap:7px;font-size:11px}
.auth-form .permission-fields input{width:14px;height:14px;margin:0;accent-color:var(--green);padding:0}
.auth-form input:disabled,.auth-form select:disabled{background:#eef1eb;color:#8d9885}
.row-actions{display:flex;flex-wrap:wrap;gap:5px}
.user-row button:disabled{opacity:.4}
.users-dialog .primary-button{width:auto;min-width:120px}
.users-dialog .form-grid{gap:12px}
.users-dialog h2{font-size:22px}
.account-dialog .account-actions{margin-top:18px}
.account-dialog .account-actions:before{content:'';width:100%;height:1px;background:var(--line);margin-bottom:9px}
@media(max-width:600px){.primary-nav{display:none}
.header-inner{gap:8px}
.brand-copy strong{font-size:13px}
.account-button{max-width:123px}
.user-row{grid-template-columns:minmax(0,1fr) auto;gap:5px 10px}
.user-row .row-actions{grid-column:1/-1;margin-top:6px}
.user-row .user-role{grid-column:auto}
.user-row button{grid-column:auto;grid-row:auto}
.auth-form .permission-fields{gap:10px 7px}
.portal-dialog .form-grid{grid-template-columns:1fr}}
/* Workspace module grants */
.users-dialog{width:min(840px,calc(100vw - 32px))}
.user-row{grid-template-columns:minmax(150px,1fr) 72px 48px auto}
.user-row .user-access-summary{max-width:290px;line-height:1.65;margin-top:4px;color:#72836b;font-size:10px}
.user-row .permission-button{color:var(--green);border-color:#cbdcc4;background:#edf5e8;font-weight:600}
.permission-note{font-size:11px;line-height:1.85;color:#77866e;margin:0}
.pending-permission{font-size:9px;color:#94a08c;border:1px solid #e1e8dc;border-radius:5px;padding:1px 4px}
.permission-dialog .permission-fields label{min-height:31px}
.permission-dialog h2{margin-top:0}
.permission-dialog .account-actions{margin-top:4px}
.permission-dialog .auth-form{margin-top:18px}
@media(max-width:600px){.user-row{grid-template-columns:minmax(0,1fr) auto}
.user-row .user-access-summary{max-width:none}
.auth-form .permission-fields{grid-template-columns:1fr}
.permission-dialog{padding:21px}
.permission-dialog .permission-fields label{font-size:12px}
.user-row .row-actions{grid-column:1/-1}}
/* 主账号工作台页头更新日志入口 */
.release-log-header-link{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border:1px solid #dfe7d8;border-radius:10px;background:#f4f7ee;color:#64865f;text-decoration:none}
.release-log-header-link svg{width:19px;height:19px}
.release-log-header-link:hover{background:#e7f0e0;color:#215841}
.release-log-header-link:focus-visible{outline:2px solid #215841;outline-offset:3px}
/* 工作台统一顶部导航：品牌在左，业务导航居中，账号与主账号资料入口在右 */
.site-header{height:86px}
.header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:16px}
.header-inner>.brand{justify-self:start;min-width:0}
.header-inner>.primary-nav{display:flex;align-self:stretch;align-items:stretch;justify-content:center;gap:24px;margin:0;min-width:0}
.primary-nav>a{padding:0 3px;font-size:14px;white-space:nowrap}
.primary-nav>.active:after{left:3px;right:3px}
.header-inner>.header-right{display:flex;justify-content:flex-end;justify-self:end;align-items:center;gap:12px;min-width:0}
.header-right .date{display:none}
.header-right .account-button{max-width:140px}
.header-right .account-label{max-width:78px}
.database-reference-link{font-size:11px;color:#7b857b;white-space:nowrap;text-decoration:none;line-height:1.5}
.database-reference-link:hover{color:var(--green);text-decoration:underline;text-underline-offset:4px}
.database-reference-link:focus-visible,.primary-nav>a:focus-visible{outline:2px solid var(--green);outline-offset:4px;border-radius:3px}
@media(min-width:1600px){.header-right .date{display:inline}
.header-inner>.header-right{gap:14px}}
@media(max-width:1250px){.site-header{height:auto}
.header-inner{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:68px 46px;gap:0 18px}
.header-inner>.brand{grid-row:1;grid-column:1}
.header-inner>.header-right{grid-row:1;grid-column:2}
.header-inner>.primary-nav{grid-row:2;grid-column:1/-1;width:100%;gap:30px;overflow-x:auto}}
@media(max-width:600px){.header-inner{padding:0 14px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(72px,auto) 44px;gap:0 8px}
.brand{gap:7px}
.brand img{width:32px;height:32px}
.brand-copy strong{font-size:12px}
.brand-copy small{font-size:6px;letter-spacing:1.6px}
.brand-divider{margin:0 4px}
.header-inner>.header-right{gap:6px;flex-wrap:wrap;max-width:165px;padding:9px 0}
.header-right .account-button{max-width:114px}
.header-right .account-label{max-width:60px}
.header-right .release-log-header-link{width:31px;height:31px;flex-basis:31px;border-radius:9px}
.header-right .workspace-mark{display:none}
.database-reference-link{font-size:10px}
.header-inner>.primary-nav{gap:12px;justify-content:safe center}
.primary-nav>a{display:flex;flex-shrink:0;font-size:12.5px;padding:0 1px}}
}
.workspace-shared-shell .site-header{display:block;padding:0;gap:0}
.workspace-shared-shell .site-header span{color:inherit}
.workspace-shared-shell .site-header button{margin:0}
.workspace-shared-shell .site-header a{font-weight:400}
.workspace-shared-shell .header-inner{max-width:var(--workspace-layout-width);padding-inline:var(--workspace-layout-gutter)}
.workspace-shared-shell .primary-nav>.active{font-weight:650}
.workspace-shared-shell .header-right .database-reference-link{display:grid;flex:0 0 35px;color:#51704d;text-decoration:none}
.workspace-shared-shell .team-management-header-button{border:1px solid #dfe8db;background:#f4f8f0;border-radius:10px;color:#245b40;font-size:12px;min-height:35px;padding:0 12px;white-space:nowrap}
.workspace-shared-shell .team-management-header-button:hover,.workspace-shared-shell .team-management-header-button.is-current{background:#e5eedf;border-color:#cbdac5}
.workspace-shared-shell label{margin:0}
body.auth-loading>main{visibility:hidden}
@media(max-width:1400px){.workspace-shared-shell .site-header{height:auto}.workspace-shared-shell .header-inner{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(68px,auto) 46px;gap:0 18px}.workspace-shared-shell .header-inner>.brand{grid-row:1;grid-column:1}.workspace-shared-shell .header-inner>.header-right{grid-row:1;grid-column:2}.workspace-shared-shell .header-inner>.primary-nav{grid-row:2;grid-column:1/-1;width:100%;gap:30px;overflow-x:auto}}
@media(max-width:600px){.workspace-shared-shell .team-management-header-button{font-size:11px;min-height:31px;padding:0 8px}.workspace-shared-shell .header-right .database-reference-link{width:31px;height:31px;flex-basis:31px}}

/* One content width and matching edges for the workbench and team pages. */
:root{--workspace-layout-width:1440px;--workspace-layout-gutter:24px}
@media(min-width:1401px){.workspace-shared-shell .header-inner>.header-right{gap:8px}.workspace-shared-shell .header-inner>.primary-nav{gap:18px}}
@media(max-width:700px){:root{--workspace-layout-gutter:18px}}

#loginForm .dingtalk-sign-in{border:0;padding-top:0;gap:7px}
#loginForm .dingtalk-login-primary{min-height:48px;background:#1677ff;border:1px solid #1677ff;border-radius:10px;color:#fff;font-size:15px;font-weight:700}
#loginForm .dingtalk-login-primary:hover:not(:disabled){background:#0958d9;border-color:#0958d9}
#loginForm .dingtalk-login-primary:focus-visible{outline:2px solid #0958d9;outline-offset:3px}
.dingtalk-password-divider{display:flex;align-items:center;gap:10px;color:#526256;font-size:12px}
.dingtalk-password-divider::before,.dingtalk-password-divider::after{content:"";height:1px;flex:1;background:#dce5d8}
