/* Organization workspace. All colors follow the shared sky tokens. */
.org-redesign{--or-ink:var(--sky-ink,#18304f);--or-muted:var(--sky-muted,#6d819b);--or-accent:var(--sky-accent,#2e7bfa);--or-line:var(--sky-line,#dfeaf7);--or-soft:var(--sky-soft,#eaf3ff);color:var(--or-ink);min-width:0;font-size:inherit;line-height:1.55}
.org-redesign *{box-sizing:border-box}.org-redesign button,.org-redesign input,.org-redesign select{font:inherit}.org-redesign button{cursor:pointer}.org-redesign h1,.org-redesign h2,.org-redesign h3,.org-redesign p{margin:0}.org-redesign .ui-icon{width:17px;height:17px;flex:none}.or-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:2px 0 20px}.org-redesign .or-header h1{font-size:25px;line-height:1.3;letter-spacing:-.5px;font-weight:650}.or-header-actions{display:flex;gap:9px;align-items:center;flex:none}.or-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;min-height:35px;border:1px solid var(--sky-line,#dfeaf7);background:#fff;border-radius:7px;color:var(--sky-ink,#18304f);font:inherit;font-size:12px;line-height:1.45;cursor:pointer;white-space:nowrap;text-decoration:none}.or-button:hover{background:var(--sky-soft,#eaf3ff);border-color:color-mix(in srgb,var(--sky-accent,#2e7bfa) 30%,var(--sky-line,#dfeaf7))}.or-button.primary{background:var(--sky-accent,#2e7bfa);border-color:var(--sky-accent,#2e7bfa);color:white;padding-left:16px;padding-right:16px}.or-button.primary:hover{background:var(--sky-accent-hover,#1d66e7)}.or-button.subtle{background:transparent}.or-button:disabled{opacity:.42;cursor:default}.or-tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--or-line);padding:0 2px;margin-bottom:20px;min-height:44px}.or-tabs>button{align-self:stretch;position:relative;padding:9px 5px 13px;border:0;background:none;color:var(--or-muted);font-size:14px;font-weight:500}.or-tabs>button[aria-selected=true]{color:var(--or-accent);font-weight:600}.or-tabs>button[aria-selected=true]:after{content:'';position:absolute;bottom:-1px;height:3px;border-radius:3px 3px 0 0;left:0;right:0;background:var(--or-accent)}.or-access-label{margin-left:auto;color:var(--or-muted);font-size:11px}.or-more-tabs{position:relative;margin-bottom:4px}.or-more-tabs>summary{display:flex;align-items:center;gap:7px;color:var(--or-muted);cursor:pointer;list-style:none;font-size:12px;min-height:33px}.or-more-tabs>summary .ui-icon{width:12px;height:12px;transform:rotate(90deg)}.or-more-tabs>summary.is-active{color:var(--or-accent);font-weight:600}.or-more-tabs>div{position:absolute;top:100%;left:0;background:#fff;z-index:22;border:1px solid var(--or-line);border-radius:9px;box-shadow:var(--sky-shadow,0 8px 30px #305b9218);padding:5px;min-width:160px}.or-more-tabs>div .or-button{display:block;width:100%;border:0;background:transparent;text-align:left}.or-more-tabs>div .or-button:hover{background:var(--or-soft)}.or-menu{position:relative;display:inline-block;flex:none}.or-menu>summary{display:flex;align-items:center;justify-content:center;gap:7px;list-style:none;cursor:pointer;min-height:34px;min-width:32px;color:var(--or-muted);border:1px solid transparent;border-radius:7px;padding:5px 8px}.or-menu>summary:hover,.or-menu[open]>summary{background:var(--or-soft);color:var(--or-accent)}.or-menu>summary::-webkit-details-marker,.or-more-tabs>summary::-webkit-details-marker{display:none}.or-menu-label{font-size:12px}.or-operation .or-menu-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.or-menu-items{position:absolute;z-index:130;right:0;top:100%;min-width:175px;max-width:calc(100vw - 24px);max-height:320px;overflow:auto;padding:5px;background:#fff;border:1px solid var(--sky-line,#dfeaf7);border-radius:9px;box-shadow:0 12px 35px #1c3b5b20;text-align:left}.or-menu-items .or-button{border:0;display:block;white-space:normal;width:100%;text-align:left;justify-content:flex-start;background:none;color:var(--sky-ink,#18304f);font-size:12px;padding:9px 11px;border-radius:5px}.or-menu-items .or-button:hover{background:var(--sky-soft,#eaf3ff)}.or-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:start}.or-layout-wide{grid-template-columns:minmax(0,1fr)}.or-main{min-width:0}.or-tree{background:#fff;border:1px solid var(--or-line);border-radius:12px;padding:18px 11px;min-width:0}.or-tree-heading{display:flex;align-items:center;justify-content:space-between;padding:0 8px 13px;gap:10px}.or-tree-heading h2{font-size:14px;font-weight:600}.or-tree-heading span{font-size:10px;color:var(--or-muted);display:block;margin-top:3px}.or-scope-toggle{display:none}.or-search{display:flex;align-items:center;gap:8px;border:1px solid var(--or-line);border-radius:7px;background:var(--sky-tint,#f5f9ff);padding:0 10px;min-height:35px;min-width:0;color:var(--or-muted)}.or-search input{width:100%;min-width:0;background:transparent;border:0;outline:0;color:var(--or-ink);padding:8px 0;font-size:12px;line-height:1.5;box-shadow:none}.or-search:focus-within{border-color:var(--or-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--or-accent) 10%,transparent)}.or-search input::placeholder{color:var(--or-muted);opacity:.8}.or-tree-search{margin:0 5px 14px}.or-tree-search .ui-icon{width:14px}.or-tree nav{display:grid;gap:4px}.or-tree-item{display:flex;align-items:center;gap:8px;width:100%;min-height:37px;padding:8px 9px;border:0;border-radius:7px;background:transparent;text-align:left;color:var(--or-ink);font-size:12px;line-height:1.45;min-width:0}.or-tree-item>span{flex:1;overflow-wrap:anywhere;min-width:0}.or-tree-item>small{color:var(--or-muted);font-size:10px}.or-tree-item .ui-icon{width:15px;height:15px;color:var(--or-muted)}.or-tree-item:hover{background:var(--sky-tint,#f5f9ff)}.or-tree-item.is-selected{background:var(--or-soft);color:var(--or-accent);font-weight:550}.or-tree-item.is-selected .ui-icon{color:var(--or-accent)}.or-tree-branch{position:relative;padding-top:0}.or-tree-branch>summary{position:absolute;left:0;top:4px;display:grid;place-items:center;width:23px;height:29px;z-index:1;color:var(--or-muted);list-style:none;cursor:pointer}.or-tree-branch>summary::-webkit-details-marker{display:none}.or-tree-branch>summary .ui-icon{width:11px;height:11px}.or-tree-branch[open]>summary .ui-icon{transform:rotate(90deg)}.or-tree-company{padding-left:24px}.or-tree-branch>.or-tree-company{display:flex!important}.or-tree-departments{border-left:1px solid var(--or-line);margin:3px 0 6px 31px;padding-left:5px}.or-tree-department{min-height:32px;font-size:11px;padding:6px}.or-tree-department .ui-icon{width:12px;height:12px}.or-tree-departments p{font-size:10px;color:var(--or-muted);padding:8px 4px}.or-tree-foot{font-size:10px;color:var(--or-muted);padding:15px 8px 0;border-top:1px solid var(--or-line);margin-top:17px!important;line-height:1.8}.or-tree-empty{padding:14px 8px;font-size:12px;color:var(--or-muted)}.or-content{background:#fff;border:1px solid var(--or-line);border-radius:12px;padding:20px;min-width:0}.or-content-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.or-content-heading h2{font-size:17px;font-weight:600;line-height:1.45}.or-content-heading h2>span{font-size:12px;color:var(--or-muted);font-weight:400;margin-left:8px}.or-content-heading p{color:var(--or-muted);font-size:11px;margin-top:5px;line-height:1.7}.or-people-heading{align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:14px}.or-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end;margin-left:auto}.or-filter{min-width:0;display:inline-flex}.or-filter select{font:inherit;font-size:11px;border:1px solid var(--or-line);border-radius:7px;padding:8px 23px 8px 9px;color:var(--or-ink);background:#fff;min-height:34px;width:100%;min-width:0}.or-filters .or-search{max-width:210px;flex:1 0 165px}.or-filters .or-search input{font-size:11px}.or-table-wrap{max-width:100%;min-width:0;overflow-x:auto}.or-table{border-collapse:collapse;border-spacing:0;width:100%;font-size:12px;line-height:1.6;text-align:left;color:var(--sky-ink,#18304f)}.or-table th{background:var(--sky-tint,#f5f9ff);font-weight:500;color:var(--sky-muted,#6d819b);font-size:11px;padding:10px 11px;white-space:nowrap;border:0;border-bottom:1px solid var(--sky-line,#dfeaf7)}.or-table th:first-child{border-radius:7px 0 0 7px}.or-table th:last-child{border-radius:0 7px 7px 0}.or-table td{padding:13px 11px;border-bottom:1px solid color-mix(in srgb,var(--sky-line,#dfeaf7) 70%,transparent);vertical-align:middle;overflow-wrap:anywhere}.or-table tr:last-child td{border-bottom:0}.or-table tbody tr:hover{background:color-mix(in srgb,var(--sky-soft,#eaf3ff) 25%,white)}.or-table td strong{font-weight:550}.or-table td small{display:block;color:var(--sky-muted,#6d819b);font-size:10px;margin-top:3px;overflow-wrap:anywhere}.or-table .or-operation{text-align:right;width:55px;white-space:nowrap}.or-people-table{table-layout:fixed}.or-people-table th:nth-child(1){width:19%}.or-people-table th:nth-child(2){width:18%}.or-people-table th:nth-child(3){width:23%}.or-people-table th:nth-child(4){width:22%}.or-people-table th:nth-child(5){width:12%}.or-people-table th:nth-child(6){width:6%}.or-person-name{display:flex;align-items:center;gap:9px;padding:0;background:none;border:0;text-align:left;color:inherit;font:inherit;max-width:100%;min-height:32px}.or-person-name strong{overflow-wrap:anywhere;font-size:12px}.or-avatar{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:50%;background:var(--sky-soft,#eaf3ff);color:var(--sky-accent,#2e7bfa);font-size:12px;flex:none}.or-me{display:inline-block;background:var(--sky-accent,#2e7bfa);color:#fff!important;border-radius:3px;font-size:8px;padding:0 3px;white-space:nowrap}.or-membership-cell+.or-membership-cell{margin-top:9px}.or-status{display:inline-flex;align-items:center;gap:6px;color:var(--sky-muted,#6d819b);font-size:10px;white-space:nowrap;margin:2px 6px 2px 0;font-weight:400}.or-status i{width:5px;height:5px;border-radius:50%;background:currentColor}.or-status.active{color:#359b79}.or-status.pending{color:#b68c46}.or-status.inactive{color:#8b96a7}.or-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding-top:13px;border-top:1px solid var(--or-line);color:var(--or-muted);font-size:11px}.or-pagination>div{display:flex;gap:5px;align-items:center}.or-pagination .or-button{font-size:10px;padding:5px 8px;min-height:29px}.or-pagination .or-filter select{font-size:10px;min-height:29px;padding-top:5px;padding-bottom:5px}.or-table-note{font-size:10px;line-height:1.8;color:var(--sky-muted,#6d819b);margin-top:13px!important}.or-muted{color:var(--sky-muted,#6d819b)}.or-empty{padding:46px 20px;text-align:center;color:var(--sky-muted,#6d819b)}.or-empty>.ui-icon{width:25px;height:25px;opacity:.6;margin-bottom:13px}.or-empty h3{font-size:14px;font-weight:500;color:var(--sky-ink,#18304f);margin-bottom:7px}.or-empty p{font-size:11px;line-height:1.8}.or-loading{padding:40px 20px;text-align:center;color:var(--sky-muted,#6d819b);font-size:12px}.or-error{background:#fff;border:1px solid var(--sky-line,#dfeaf7);border-radius:10px;padding:24px;font-size:12px}.or-error h3{font-size:15px;margin-bottom:8px}.or-error p{color:var(--sky-muted,#6d819b);margin-bottom:16px;white-space:pre-wrap;overflow-wrap:anywhere}.or-permission-cap{border:1px solid var(--or-line);border-radius:9px;margin-bottom:23px;overflow:hidden}.or-permission-cap>summary{padding:12px 14px;cursor:pointer;display:flex;justify-content:space-between;gap:12px;list-style:none;background:var(--sky-tint,#f5f9ff);font-size:12px}.or-permission-cap>summary>span:first-child{display:flex;align-items:center;gap:8px}.or-permission-cap>summary>span+span{font-size:10px;color:var(--or-muted)}.or-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:9px 14px}.or-permission-grid>div{display:flex;justify-content:space-between;gap:12px;padding:10px 3px;border-bottom:1px solid var(--or-line);font-size:11px}.or-permission-grid>div:nth-child(odd){margin-right:18px}.or-permission-grid strong{font-size:10px;font-weight:500;white-space:nowrap}.or-table-heading,.or-section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:23px 0 12px}.or-table-heading h3,.or-section-heading h3{font-size:14px;font-weight:600}.or-table-heading h3 span{font-weight:400;color:var(--or-muted);margin-left:6px}.or-table-heading>span,.or-section-heading>span{color:var(--or-muted);font-size:10px}.or-permission-summary{font-size:11px;line-height:1.8;max-width:450px;color:var(--or-muted)}.or-explanation{border-top:1px solid var(--or-line);padding-top:14px;margin-top:20px;color:var(--or-muted);font-size:11px}.or-explanation>summary{cursor:pointer;font-size:11px;color:var(--or-ink)}.or-explanation p{font-size:11px!important;line-height:1.9;margin-top:10px!important;color:var(--or-muted)}.or-division-list{display:grid;gap:14px}.or-division-row{border:1px solid var(--or-line);border-radius:9px;min-width:0}.or-division-row>header{display:flex;align-items:center;gap:11px;padding:16px}.or-division-mark{width:35px;height:35px;display:grid;place-items:center;background:var(--or-soft);color:var(--or-accent);border-radius:9px;flex:none}.or-division-row>header>div:nth-child(2){flex:1;min-width:0}.or-division-row h3{font-size:14px;font-weight:600}.or-division-row header p{font-size:10px;color:var(--or-muted);margin-top:4px}.or-row-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.or-row-actions .or-button{font-size:10px;padding:6px 8px;min-height:29px}.or-division-details{border-top:1px solid var(--or-line);padding:0 16px}.or-division-details>summary{display:flex;justify-content:space-between;gap:15px;list-style:none;cursor:pointer;padding:11px 0;font-size:11px;color:var(--or-muted)}.or-division-details>summary>span{font-size:10px}.or-division-details[open]{padding-bottom:15px}.or-position-list{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding-top:12px;font-size:11px;color:var(--or-muted)}.or-position-list .or-button{font-size:10px;min-height:27px;padding:5px 8px}.or-tool-list>article{display:flex;align-items:center;gap:15px;padding:20px 5px;border-bottom:1px solid var(--or-line)}.or-tool-list>article:last-child{border-bottom:0}.or-tool-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--or-soft);color:var(--or-accent);flex:none}.or-tool-list article>div{flex:1;min-width:0}.or-tool-list h3{font-size:14px;font-weight:550}.or-tool-list p{font-size:12px;color:var(--or-muted);margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}.or-tool-list small{display:block;color:var(--or-muted);font-size:10px;margin-top:4px}.or-callout{border-left:3px solid var(--or-accent);border-radius:5px;background:var(--or-soft);padding:14px 16px;margin-bottom:18px;font-size:12px}.or-callout p{color:var(--or-muted);font-size:11px;margin:5px 0 10px}.or-migration-target{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0}.or-migration-target label{display:flex;align-items:center;gap:10px;font-size:12px}.or-migration-target select{border:1px solid var(--or-line);border-radius:7px;padding:8px 10px;font-size:12px;background:#fff;color:var(--or-ink);max-width:300px}.or-profile-summary{display:flex;align-items:center;gap:14px;margin-bottom:20px}.or-profile-summary>.or-avatar{width:44px;height:44px;font-size:18px}.or-profile-summary>div{flex:1}.or-profile-summary h3{font-size:18px;margin:0}.or-profile-summary p{font-size:12px;color:var(--sky-muted,#6d819b);margin:4px 0 0}.or-profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:18px 0 25px}.or-profile-facts>div{padding:13px;background:var(--sky-tint,#f5f9ff);border-radius:8px}.or-profile-facts dt{font-size:10px;color:var(--sky-muted,#6d819b)}.or-profile-facts dd{margin:6px 0 0;font-size:12px;overflow-wrap:anywhere}.or-profile-actions{display:flex;gap:8px;margin-top:18px}.or-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:1250px){.or-layout{grid-template-columns:190px minmax(0,1fr);gap:14px}.or-content{padding:17px}.or-filters{justify-content:flex-start;width:100%;margin-left:0}.or-people-heading{gap:13px}.or-people-table th:nth-child(2){width:17%}.or-people-table th:nth-child(1){width:20%}.or-people-table td{padding:12px 8px}.or-person-name{gap:6px}.or-avatar{width:25px;height:25px;font-size:11px}.or-access-label{font-size:10px}}
@media(max-width:900px){.or-layout{grid-template-columns:minmax(0,1fr);gap:13px}.or-tree{padding:12px}.or-tree-heading{padding:0;min-height:32px}.or-tree-heading>div{display:flex;align-items:center;gap:10px;min-width:0}.or-tree-heading h2{font-size:12px;white-space:nowrap}.or-tree-heading span{font-size:11px;margin:0;overflow-wrap:anywhere}.or-scope-toggle{display:flex;align-items:center;gap:5px;padding:5px 7px;border:0;background:var(--or-soft);border-radius:5px;color:var(--or-accent);font-size:11px;flex:none}.or-scope-toggle .ui-icon{width:10px;height:10px;transform:rotate(90deg)}.or-tree>nav,.or-tree>.or-tree-search,.or-tree>.or-tree-foot{display:none}.or-tree.is-expanded>nav{display:grid}.or-tree.is-expanded>.or-tree-search{display:flex;margin-top:13px}.or-tree.is-expanded>.or-tree-foot{display:block}.or-tabs{gap:22px}.or-access-label{display:none}.org-redesign .or-header h1{font-size:23px}.or-division-row>header{flex-wrap:wrap}.or-division-row>header>.or-row-actions{margin-left:auto}}
@media(max-width:620px){.org-redesign .or-header{align-items:center;gap:10px;flex-direction:row!important;flex-wrap:wrap;margin-bottom:15px}.org-redesign .or-header h1{font-size:21px;flex:1 0 100%}.or-header-actions{width:100%;justify-content:space-between}.or-header-actions>.or-menu{margin-left:auto}.or-header-actions .or-button.primary{min-height:39px}.or-tabs{gap:20px;min-height:39px;margin-bottom:13px}.or-tabs>button{font-size:13px;padding-bottom:10px}.or-more-tabs>summary{font-size:11px}.or-content{padding:14px;border-radius:10px}.or-content-heading{align-items:flex-start;flex-wrap:wrap}.or-content-heading h2{font-size:16px}.or-content-heading p{font-size:11px}.or-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.or-filters .or-search{grid-column:1/-1;max-width:none}.or-filter select{font-size:11px;padding-left:7px;padding-right:16px}.or-people-table,.or-people-table tbody{display:block}.or-people-table thead{display:none}.or-people-table tr{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:11px 13px;padding:16px 2px;border-bottom:1px solid var(--or-line)}.or-people-table td{display:block;padding:0!important;border:0!important;width:auto!important;min-width:0;font-size:11px}.or-people-table td:first-child{grid-column:1/-1;padding-right:35px!important}.or-people-table td:nth-child(2){grid-column:1/-1;color:var(--or-muted);padding-left:34px!important;margin-top:-10px}.or-people-table td:nth-child(2)>small{display:inline;margin-left:7px}.or-people-table td:nth-child(3):before,.or-people-table td:nth-child(4):before{display:block;margin-bottom:5px;color:var(--or-muted);font-size:10px}.or-people-table td:nth-child(3):before{content:'事业部 / 部门'}.or-people-table td:nth-child(4):before{content:'岗位 / 任职角色'}.or-people-table td:nth-child(5){grid-column:1/-1}.or-people-table td.or-operation{position:absolute;top:12px;right:0}.or-person-name strong{font-size:13px}.or-avatar{width:28px;height:28px;font-size:12px}.or-people-table tr:last-child{border-bottom:0}.or-pagination{align-items:flex-start;flex-wrap:wrap;gap:10px}.or-pagination>div{margin-left:auto}.or-pagination .or-button{min-height:32px;font-size:11px}.or-pagination .or-filter select{min-height:32px}.or-table:not(.or-people-table){min-width:540px}.or-permission-grid{grid-template-columns:minmax(0,1fr)}.or-permission-grid>div:nth-child(odd){margin-right:0}.or-permission-cap>summary{flex-wrap:wrap;gap:5px}.or-table-heading{flex-wrap:wrap;gap:5px}.or-division-details>summary{flex-wrap:wrap;gap:4px}.or-division-row>header{padding:13px;gap:9px}.or-division-row>header>.or-row-actions{width:100%;margin-left:0;justify-content:flex-end}.or-division-row>header>div:nth-child(2){min-width:130px}.or-tool-list>article{gap:10px;align-items:flex-start;flex-wrap:wrap;padding:17px 0}.or-tool-list>article>.or-button{margin-left:48px;min-height:36px}.or-tool-list article>div{flex-basis:calc(100% - 50px)}.or-migration-target{align-items:flex-start;flex-wrap:wrap}.or-migration-target label{width:100%;display:grid;gap:7px}.or-migration-target select{max-width:none;width:100%}.or-migration-target>.or-button{margin-left:auto}.or-profile-facts{grid-template-columns:minmax(0,1fr);gap:9px}.or-profile-summary{gap:10px}.or-profile-summary>.or-avatar{width:37px;height:37px;font-size:15px}}
@media(pointer:coarse){.org-redesign .or-button,.org-redesign .or-tree-item,.org-redesign .or-scope-toggle,.org-redesign .or-menu>summary{min-height:42px}.org-redesign input,.org-redesign select{font-size:16px}.or-menu-items .or-button{min-height:42px}}
body:has(.org-redesign) #app-dialog .permissions-table{font-size:12px}body:has(.org-redesign) #app-dialog .permissions-table th{background:var(--sky-tint,#f5f9ff);font-size:11px;padding:10px 12px;color:var(--sky-muted,#6d819b)}body:has(.org-redesign) #app-dialog .permissions-table td{padding:11px 12px;font-size:12px}body:has(.org-redesign) #app-dialog .permissions-table input{width:16px;height:16px;accent-color:var(--sky-accent,#2e7bfa)}body:has(.org-redesign) #app-dialog .permissions-table select{min-height:32px;font-size:11px;padding:5px 18px 5px 7px;border-radius:6px}body:has(.org-redesign) #app-dialog .org-id{font-size:10px}

/* Keep organization labels present while departments collapse. Text follows the shared size setting. */
.org-redesign .or-layout{grid-template-columns:minmax(190px,22%) minmax(0,1fr);gap:14px}
.org-redesign .or-layout-wide{grid-template-columns:minmax(0,1fr)}
.org-redesign .or-tree{padding:14px 9px;border-radius:9px}
.org-redesign .or-tree-company-row{display:flex;align-items:center;min-width:0;gap:1px}
.org-redesign .or-tree-toggle{display:inline-grid;place-items:center;width:27px;min-height:38px;padding:0;border:0;background:none;color:var(--or-muted);border-radius:5px;flex:none}
.org-redesign .or-tree-toggle:hover{background:var(--or-soft);color:var(--or-accent)}
.org-redesign .or-tree-toggle .ui-icon{width:12px;height:12px}
.org-redesign .or-tree-toggle[aria-expanded=true] .ui-icon{transform:rotate(90deg)}
.org-redesign .or-tree-company{padding:8px 6px;flex:1;width:auto;min-width:0}
.org-redesign .or-tree-item{font-size:inherit}
.org-redesign .or-tree-item>small{font-size:.8em;min-width:22px;text-align:right;font-variant-numeric:tabular-nums}
.org-redesign .or-tree-departments{margin:2px 0 5px 27px}
.org-redesign .or-tree-departments[hidden]{display:none}
.org-redesign .or-tree-department{font-size:.94em;min-height:34px}
.org-redesign .or-tree-department.is-unassigned{color:var(--or-muted)}
.org-redesign .or-tree-heading h2{font-size:1.05em}
.org-redesign .or-tree-heading span,.org-redesign .or-tree-foot{font-size:.82em}
.org-redesign .or-content{padding:16px;border-radius:9px}
.org-redesign .or-people-heading{gap:10px;margin-bottom:12px}
.org-redesign .or-people-heading h2{font-size:1.25em}
.org-redesign .or-people-heading p{font-size:.85em;overflow-wrap:anywhere}
.org-redesign .or-filters{width:100%;justify-content:flex-start;margin-left:0}
.org-redesign .or-filters .or-search{margin-left:auto;flex-basis:190px;max-width:260px}
.org-redesign .or-filter select,.org-redesign .or-search input{font-size:.9em}
.org-redesign .or-table{font-size:inherit}
.org-redesign .or-table th{font-size:.84em;padding:9px}
.org-redesign .or-table td{padding:12px 9px}
.org-redesign .or-people-table th:nth-child(1){width:29%}
.org-redesign .or-people-table th:nth-child(2){width:25%}
.org-redesign .or-people-table th:nth-child(3){width:25%}
.org-redesign .or-people-table th:nth-child(4){width:14%}
.org-redesign .or-people-table th:nth-child(5){width:7%}
.org-redesign .or-person-name strong{font-size:inherit;font-weight:600}
.org-redesign .or-person-login{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap;margin:3px 0 0 38px;font-size:.85em;line-height:1.7;overflow-wrap:anywhere;color:var(--or-muted)}
.org-redesign .or-person-login>span{min-width:0;overflow-wrap:anywhere}
.org-redesign .or-person-login small{font-size:.85em;margin:0;color:var(--or-muted)}
.org-redesign .or-table td small{font-size:.82em}
.org-redesign .or-status{font-size:.85em}

body:has(.org-redesign) #app-dialog .or-permission-editor{font-size:inherit}
body:has(.org-redesign) #app-dialog .or-permission-draft{padding:12px;border:1px solid var(--sky-line,#dfeaf7);background:var(--sky-tint,#f5f9ff);border-radius:8px;margin:12px 0}
body:has(.org-redesign) #app-dialog .or-permission-draft>div{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
body:has(.org-redesign) #app-dialog .or-permission-draft label{display:grid;gap:5px;font-size:.9em;flex:1;min-width:180px}
body:has(.org-redesign) #app-dialog .or-permission-draft select{font:inherit;padding:7px;border:1px solid var(--sky-line,#dfeaf7);border-radius:6px;min-height:35px;background:#fff;max-width:100%}
body:has(.org-redesign) #app-dialog .or-permission-draft p,body:has(.org-redesign) #app-dialog [data-org-template-status]{display:block;font-size:.84em;color:var(--sky-muted,#6d819b);line-height:1.8;margin:8px 0 0}
body:has(.org-redesign) #app-dialog .or-permission-groups{display:grid;gap:8px;margin:12px 0 16px}
body:has(.org-redesign) #app-dialog .or-permission-group{border:1px solid var(--sky-line,#dfeaf7);border-radius:8px;overflow:hidden;background:#fff}
body:has(.org-redesign) #app-dialog .or-permission-group>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;cursor:pointer;padding:12px;background:var(--sky-tint,#f5f9ff)}
body:has(.org-redesign) #app-dialog .or-permission-group>summary::-webkit-details-marker{display:none}
body:has(.org-redesign) #app-dialog .or-permission-group>summary>span{display:flex;align-items:center;gap:8px;min-width:0}
body:has(.org-redesign) #app-dialog .or-permission-group>summary strong{font-size:1em;font-weight:600}
body:has(.org-redesign) #app-dialog .or-permission-group>summary small{font-size:.8em;color:var(--sky-muted,#6d819b);white-space:nowrap}
body:has(.org-redesign) #app-dialog .or-permission-group>summary .ui-icon{width:12px;height:12px;color:var(--sky-muted,#6d819b)}
body:has(.org-redesign) #app-dialog .or-permission-group[open]>summary .ui-icon{transform:rotate(90deg)}
body:has(.org-redesign) #app-dialog .or-permission-table-wrap{overflow:auto}
body:has(.org-redesign) #app-dialog .or-permission-group .permissions-table{font-size:inherit;min-width:0;table-layout:fixed}
body:has(.org-redesign) #app-dialog .or-permission-group .permissions-table th,body:has(.org-redesign) #app-dialog .or-permission-group .permissions-table td{font-size:.9em;padding:10px 9px;overflow-wrap:anywhere}
body:has(.org-redesign) #app-dialog .or-permission-group .permissions-table :is(td,th):first-child{width:40%;text-align:left}
body:has(.org-redesign) #app-dialog .or-permission-group .permissions-table :is(td,th):nth-child(2),body:has(.org-redesign) #app-dialog .or-permission-group .permissions-table :is(td,th):nth-child(3){width:15%;text-align:center}
body:has(.org-redesign) #app-dialog .or-permission-group .permissions-table :is(td,th):last-child{width:30%;font-size:.8em;text-align:left;color:var(--sky-muted,#6d819b)}
body:has(.org-redesign) #app-dialog .or-action-list{display:grid;padding:0 12px}
body:has(.org-redesign) #app-dialog .or-action-list>article{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.5fr);align-items:center;gap:9px 18px;padding:14px 0;border-bottom:1px solid var(--sky-line,#dfeaf7)}
body:has(.org-redesign) #app-dialog .or-action-list>article:last-child{border-bottom:0}
body:has(.org-redesign) #app-dialog .or-action-list h3{font-size:1em;font-weight:550;margin:0}
body:has(.org-redesign) #app-dialog .or-action-main,body:has(.org-redesign) #app-dialog .or-action-extra>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body:has(.org-redesign) #app-dialog .or-action-field{display:grid;gap:5px;font-size:.88em;color:var(--sky-muted,#6d819b);min-width:0}
body:has(.org-redesign) #app-dialog .or-action-field select{font:inherit;color:var(--sky-ink,#18304f);width:100%;min-width:0;max-width:100%;min-height:34px;padding:6px;border:1px solid var(--sky-line,#dfeaf7);border-radius:6px;background:#fff}
body:has(.org-redesign) #app-dialog .or-action-extra{grid-column:1/-1;font-size:.9em}
body:has(.org-redesign) #app-dialog .or-action-extra>summary{cursor:pointer;color:var(--sky-muted,#6d819b);padding:2px 0}
body:has(.org-redesign) #app-dialog .or-action-extra>div{padding-top:9px}
@media(max-width:1100px){.org-redesign .or-layout{grid-template-columns:minmax(0,1fr)}.org-redesign .or-tree-company-row{max-width:none}}
@media(max-width:700px){
 .org-redesign .or-filters{display:flex;flex-wrap:wrap;gap:6px}.org-redesign .or-filters>.or-filter{flex:1;min-width:75px}.org-redesign .or-filters .or-search{order:2;flex:1 0 100%;max-width:none;margin:0}
 .org-redesign .or-people-table tr{gap:11px 13px;padding:15px 0}
 .org-redesign .or-people-table td:first-child{grid-column:1/-1;padding-right:34px!important}
 .org-redesign .or-people-table td:nth-child(2){grid-column:1;padding-left:0!important;margin:0;color:inherit}
 .org-redesign .or-people-table td:nth-child(3){grid-column:2}
 .org-redesign .or-people-table td:nth-child(2):before{content:'事业部 / 部门';display:block;font-size:.82em;color:var(--or-muted);margin-bottom:5px}
 .org-redesign .or-people-table td:nth-child(3):before{content:'岗位 / 任职角色'}
 .org-redesign .or-people-table td:nth-child(4){grid-column:1/-1}.org-redesign .or-people-table td:nth-child(4):before{display:none}
 .org-redesign .or-people-table td:nth-child(5){grid-column:auto}
 .org-redesign .or-person-login{margin-left:37px;font-size:.9em}
 .org-redesign .or-table td{font-size:inherit}
 body:has(.org-redesign) #app-dialog .or-action-list>article{grid-template-columns:minmax(0,1fr)}
 body:has(.org-redesign) #app-dialog .or-permission-group>summary{padding:11px}
 body:has(.org-redesign) #app-dialog .or-permission-group .permissions-table :is(td,th){padding:9px 5px;font-size:.82em}
 body:has(.org-redesign) #app-dialog .or-permission-group .permissions-table :is(td,th):last-child{width:26%;font-size:.75em}
 body:has(.org-redesign) #app-dialog .or-permission-group .permissions-table :is(td,th):first-child{width:40%}
 body:has(.org-redesign) #app-dialog .or-permission-group .permissions-table :is(td,th):nth-child(2),body:has(.org-redesign) #app-dialog .or-permission-group .permissions-table :is(td,th):nth-child(3){width:17%}
}
