/* Existing Tenda orange and Manrope remain the product's visual identity. */
.locale-data-credit{display:block;width:fit-content;margin:8px auto;color:#65736a;font-size:11px}
.preference-control{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:44px;margin:0;border:1px solid #dce1dd;border-radius:7px;background:#fff;color:#4c5854;vertical-align:middle}
.preference-control svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6}
.preference-control:hover{background:#f4f6f3}.preference-control:focus-within{outline:2px solid #ad3900;outline-offset:3px}
.preference-control select{position:absolute;inset:0;width:100%;height:100%;min-width:0;opacity:0;cursor:pointer}
.preference-control select option{color:#293238;background:#fff}
.language-picker.preference-control{font-size:14px;color:#4c5854}
.time-zone-picker{padding:0 12px;font-size:12px;max-width:100%}.time-zone-picker span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.login-field{display:grid;gap:8px;min-width:0}.login-field>label{font-size:14px;font-weight:600;color:#293b32}
.login-field input{box-sizing:border-box;width:100%;min-width:0;min-height:48px;border:1px solid #cdd5ce;border-radius:7px;padding:11px 13px;background:#fff;color:#24342b;font:inherit}
.email-input{display:flex;align-items:stretch;border:1px solid #cdd5ce;border-radius:7px;overflow:hidden;background:#fff}
.email-input input{border:0;border-radius:0;flex:1;width:0}.email-suffix{display:flex;align-items:center;flex-shrink:0;padding:0 12px;background:#f3f5f2;border-left:1px solid #dce1dd;color:#4e5f54;font-size:14px;font-weight:600}
.login-field input:focus{outline:2px solid #ad3900;outline-offset:2px}.email-input:focus-within{outline:2px solid #ad3900;outline-offset:2px}.email-input input:focus{outline:0}
.login-field input[aria-invalid=true]{border-color:#b94231;background:#fffaf8}.email-input:has([aria-invalid=true]){border-color:#b94231}
.login-field .field-help,.login-field .field-error{margin:0;font-size:12px;line-height:1.55}.login-field .field-help{color:#65736a}.login-field .field-error{color:#a83224}
.login-field [hidden],.login-feedback[hidden]{display:none}
.login-feedback{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1px solid #efcbbf;border-radius:7px;background:#fff5f0;color:#813321;font-size:13px;line-height:1.6}
.login-feedback svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0;margin-top:2px}.login-feedback[data-state=loading]{border-color:#dce2dc;background:#f3f6f2;color:#4e6054}
.ad-login-form>.btn{display:flex;align-items:center;justify-content:center;gap:12px}.ad-login-form>.btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.login-scope{font-size:12px}
.access-summary .super-accounts{display:flex;flex-wrap:wrap;gap:12px 32px}.access-summary .super-account{margin:4px 0}.access-summary h2{margin:0 0 12px}.access-summary .note{margin-bottom:0}
.access-policy-note{color:#65736a;font-size:13px;line-height:1.7;margin:12px 0 16px}
.tree-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;border-block:1px solid #e3e7e2;padding:4px 0;color:#65736a;font-size:12px}.tree-toolbar>div{display:flex;gap:12px}
.tree-text-button{border:0;background:transparent;color:#46574b;font:inherit;padding:10px 2px;min-height:40px;cursor:pointer}.tree-text-button:hover{text-decoration:underline}
.department-tree,.department-branch{list-style:none;padding:0;margin:0}.department-tree{--tree-indent:20px;max-height:54vh;overflow:auto;overflow-x:hidden;padding-block:8px;border-bottom:1px solid #e3e7e2;scrollbar-gutter:stable}
.department-tree-row{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-height:48px;padding:2px 8px 2px calc(var(--depth)*var(--tree-indent));border-radius:5px}
.department-tree-row:hover{background:#f5f7f3}.department-tree-row.selected{background:#fff4eb}.department-tree-row.inactive .department-name{color:#8e4935}
.department-branch .department-tree-row:before{content:"";position:absolute;left:calc(var(--depth)*var(--tree-indent) - 9px);width:8px;height:1px;background:#dce2db}
.tree-toggle,.tree-leaf{width:32px;height:40px;flex:0 0 32px;display:grid;place-items:center}.tree-toggle{border:0;border-radius:4px;background:transparent;color:#66786b;cursor:pointer}.tree-toggle:hover{background:#e9eee6}.tree-toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform .12s}.tree-toggle[aria-expanded=true] svg{transform:rotate(90deg)}
.department-tree-row .department-choice{flex:1;min-width:0;margin:0;min-height:40px;gap:10px;align-items:center}.department-choice input,.tree-descendants input{width:16px;height:16px;flex:0 0 16px}.department-name{overflow-wrap:anywhere;font-size:14px;line-height:1.5}.department-name small{display:block;font-size:12px}
.tree-count{color:#68756c;min-width:24px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums}.tree-inherited{color:#5b7160;font-size:12px;white-space:nowrap}
.department-tree-row .tree-descendants{font-size:12px;margin:0;min-height:40px;gap:6px}.tree-empty{padding:28px 12px;color:#68756c;font-size:14px;text-align:center}
.tree-toggle:focus-visible,.tree-text-button:focus-visible{outline:2px solid #ad3900;outline-offset:2px}.access-save>.note{flex:1 0 100%;margin:0;line-height:1.6}.access-save>.btn{margin-left:auto}.activity-time{text-align:right;font-size:12px;color:#66736a;white-space:nowrap}
@media(max-width:750px){.department-tree{--tree-indent:12px}.department-tree-row{gap:2px 4px;padding-right:2px}.tree-toggle,.tree-leaf{width:28px;flex-basis:28px;height:44px}.department-tree-row .tree-descendants{flex-basis:100%;padding-left:38px;margin-left:calc(var(--depth)*0px);min-height:32px}.tree-inherited{font-size:11px}.access-save>.btn{width:100%}.tree-toolbar>div{gap:8px}.time-zone-picker{max-width:230px}.department-name{font-size:13px}}
.access-save .check[hidden]{display:none}
.language-picker{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#626b70;margin:0}
.language-picker select{font:inherit;min-width:110px;min-height:36px;width:auto;border:1px solid #d8dede;background:#fff;color:#293238;border-radius:6px;padding:5px 24px 5px 8px}
.powered-by{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.powered-by>span{display:block}
.ad-login-form{display:grid;gap:16px}.ad-login-form .field{margin:0}
.ad-login .hint{line-height:1.6}.ad-login h2{font-size:22px;line-height:1.3}
.ad-login-form button{width:100%;min-height:46px;margin-top:2px}
.ad-login-form .error-text:empty{display:none}
.global-login-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}
html:not([lang=zh-CN]) .brand span{font-size:17px;line-height:1.2}
html:not([lang=zh-CN]) .nav a{font-size:11px;line-height:1.15;text-align:center;min-width:0;padding-inline:2px}
html:not([lang=zh-CN]) .nav span{overflow-wrap:anywhere}
html:not([lang=zh-CN]) .search [type=submit]{flex:0 0 auto;min-width:62px;max-width:43%;width:auto;white-space:normal;line-height:1.2}
html:not([lang=zh-CN]) .location-types label{flex-basis:100%;white-space:normal}
html:not([lang=zh-CN]) .photo-slot strong{font-size:12px;line-height:1.35}
html:not([lang=zh-CN]) .location-box{flex-wrap:wrap}
html:not([lang=zh-CN]) .sidebar-logo span{font-size:17px;line-height:1.4;white-space:normal}
html:not([lang=zh-CN]) .side-link{white-space:normal;line-height:1.35}
html:not([lang=zh-CN]) .filters .field{min-width:155px}
html:not([lang=zh-CN]) .login-story h1{font-size:clamp(32px,4vw,56px);line-height:1.15;letter-spacing:-.03em}
html:not([lang=zh-CN]) .page{overflow-wrap:anywhere}
.topbar .account{flex-wrap:wrap}
.business-time-zone{font-size:12px;color:#626b70;margin-top:12px}
.powered-by .business-time-zone{margin-top:0}
.login-card .ad-login .hint{font-size:14px;line-height:1.65;color:#657076;margin-block:16px}
.access-summary{margin-bottom:24px}.super-account{display:inline-flex;flex-direction:column;margin:6px 32px 12px 0}.super-account small{color:#66716f;font-size:12px}
.access-panel{padding:24px}.department-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px}.department-toolbar .field{width:330px;margin:0}.department-toolbar h2{margin:0}.department-toolbar p{font-size:13px;color:#657076}
.department-list{max-height:56vh;overflow:auto;border-block:1px solid #e3e7e2;margin-top:20px}.department-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 8px;border-bottom:1px solid #edf0eb}.department-row:last-child{border:0}.department-row>.check{min-width:0;align-items:flex-start;margin:0;flex:1}.department-row small{display:block;font-size:12px;color:#67756f;overflow-wrap:anywhere;margin-top:4px}.department-row .descendant-option{flex:0 0 170px;white-space:normal;font-size:12px}.department-row input{flex-shrink:0}.department-row.inactive{background:#fff6ed}.access-save{padding-top:20px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.access-save .error-text{flex-basis:100%;margin:0}.access-save .error-text:empty{display:none}
@media(max-width:750px){.access-panel{padding:16px}.department-toolbar{flex-direction:column;align-items:stretch;gap:12px}.department-toolbar .field{width:100%}.department-row{flex-wrap:wrap;gap:12px}.department-row .descendant-option{margin-left:24px;flex-basis:100%}.super-account{margin-right:20px}}
@media(max-width:480px){.global-login-header{align-items:flex-start;gap:8px}.language-picker>span{display:none}.powered-by{flex-direction:column}.login-shell{padding:20px}.login-card{min-width:0;padding:24px}.ad-login h2{font-size:21px}html[lang=en] .nav{padding-inline:4px}html[lang=en] .nav a{padding-inline:2px}html[lang=en] .page{overflow-wrap:anywhere}}
.language-picker.preference-control select{width:100%;min-width:0;height:100%;padding:0;border:0}
:root{--paper:#fff;--muted:#616f65}.topbar{background:#fff}.side-group{font-size:11px}.account small{font-size:11px}
.access-save .btn.primary,.ad-login-form .primary{background:#c13f00;border-color:#c13f00;color:#fff}.access-save .btn.primary:hover,.ad-login-form .primary:hover{background:#a73600}
.mobile-nav-toggle{display:none}.topbar .time-zone-picker{padding:0;min-width:44px}.topbar .time-zone-picker>span{display:none}
@media(max-width:750px){.sidebar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.sidebar .sidebar-logo{padding:0;gap:12px}.sidebar .sidebar-logo span{font-size:14px;letter-spacing:0}.mobile-nav-toggle{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:1px solid #dce1dd;border-radius:6px;background:#fff;color:#46574b;font:inherit;font-size:12px;padding:0 10px}.mobile-nav-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}.sidebar .side-nav{grid-column:1/-1}.sidebar:not(.menu-open) .side-nav{display:none}.topbar{height:auto;min-height:64px;padding:10px 18px}.topbar .breadcrumb{display:none}.topbar .account{width:100%;flex-wrap:nowrap;justify-content:space-between}.account .avatar{flex-shrink:0}.account>.btn{flex-shrink:0}.tree-toolbar{align-items:center}.tree-toolbar>span{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.tree-toggle svg{transition:none}}
@media(max-width:750px){.access-summary{padding:16px}.access-summary h2{font-size:16px;margin-bottom:8px}.access-summary .super-account{flex-direction:row;align-items:center;gap:12px;flex-wrap:wrap;margin:0}.access-summary .note{margin-top:8px}.page-heading h1{font-size:24px}}
.topbar .account{flex-wrap:nowrap;flex-shrink:0}
@media(min-width:751px) and (max-width:1100px){.topbar .breadcrumb{display:none}.topbar .account{margin-left:auto}.topbar{height:auto;min-height:80px;padding-block:12px}}

html[dir=rtl] :is(.ad-login h1,.ad-login h2,.login-story h1,.page-heading h1){letter-spacing:normal}
html[dir=rtl] :is(.ad-login-form > .btn,.quiet-link) svg{scale:-1 1}
html[dir=rtl] .subhead .icon-btn svg{scale:-1 1}
html[dir=rtl] .department-tree-row {
  padding-inline-start: calc(var(--depth)*var(--tree-indent));
  padding-inline-end: 8px;
}
html[dir=rtl] .department-branch .department-tree-row::before {
  left: auto;
  right: calc(var(--depth)*var(--tree-indent) - 9px);
}
html[dir=rtl] .tree-toggle[aria-expanded=false] svg{transform:rotate(180deg)}
html[dir=rtl] .access-save > .btn{margin-left:0;margin-inline-start:auto}
html[dir=rtl] .data-table :is(th,td){text-align:start}
html[dir=rtl] dialog#drawer{margin:0 auto 0 0;box-shadow:12px 0 50px #27362c20}
html[dir=rtl] .time-zone-picker [data-zone-label]{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] #login-account:placeholder-shown{direction:rtl;text-align:right}
@media(max-width:750px){
 html[dir=rtl] .department-tree-row .tree-descendants{padding-inline:38px 0}
}
