/* Shared scale for the organization/collaboration sample; existing shell stays intact. */
.org-role-tools{position:relative;margin-left:auto}.org-view-button{border:1px solid #dce3ed;border-radius:6px;padding:5px 10px;font-size:13px;color:#536780;background:#f8faff;height:32px}.org-view-button:hover{background:#eaf1ff;border-color:#a8bfeb}.org-role-menu{right:0;left:auto;min-width:260px;z-index:90}.org-role-menu>button{display:grid!important;grid-template-columns:1fr auto;gap:3px 12px;text-align:left;padding:11px 14px!important}.org-role-menu strong{font-size:14px;font-weight:500}.org-role-menu small{grid-row:2;font-size:13px;color:#78869a}.org-role-menu>button>span{grid-column:2;grid-row:1/3;color:#3267e9}.org-role-menu [aria-current=true]{background:#edf3ff}.tabs .design-trigger{margin-left:0}.tabs{position:relative}.scope-wrap{position:relative}.scope-trigger{display:flex;align-items:center;gap:16px;white-space:nowrap;height:36px!important;font-size:14px!important}.scope-trigger:hover,.org-select:hover{border-color:#9cb6e9;background:#f8faff}.scope-options{min-width:220px;left:auto;right:0;z-index:65}.scope-options button{display:flex;justify-content:space-between;gap:20px}.scope-options [aria-current=true]{color:#265fd4;background:#edf3ff}.scope-static{font-size:14px;color:#526b8d;border:1px solid #dfe6ef;border-radius:6px;padding:7px 12px;background:#fff}.heading-right{align-items:flex-end;gap:6px}.org-role-caption{font-size:13px;color:#718198}.org-subtitle{margin:6px 0 0;color:#718198;font-size:14px;line-height:1.6}.org-inset{padding:20px}.org-inset>p{margin:6px 0 0;color:#718198;font-size:14px;line-height:1.6}.org-inset h2{font-size:16px;font-weight:500;margin:0}.org-inset>.title-line>img{width:26px;height:26px}.org-explainer{margin-top:20px}.org-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:18px}.org-three strong{font-size:14px;font-weight:500}.org-three p{font-size:13px;color:#718198;margin:6px 0 0}.org-ai-choice{border:1px solid #dfe6ef;border-radius:8px;padding:18px;text-align:left;font-size:14px;background:#f8faff}.org-ai-choice:hover{border-color:#96b5ed;background:#edf3ff}.org-ai-choice>span{display:block;margin-top:9px;font-size:13px;color:#718198}.cell-note{display:block;margin-top:4px;color:#73859c;font-size:13px}.row-actions{display:flex;justify-content:flex-end;gap:8px}.org-empty{padding:44px 24px;display:flex;align-items:center;flex-direction:column;gap:12px;color:#73859c;text-align:center}.org-empty>img{width:36px;height:36px}.org-empty strong{font-size:16px;font-weight:500;color:#425b7e}.org-empty p{margin:0;font-size:14px}.enterprise-link{color:#245fcf;font-size:14px;padding:6px 0;text-align:left}.enterprise-link:hover{text-decoration:underline}.org-record-overlay .drawer{width:640px;max-width:90vw}.org-record-overlay #drawer-body{padding-top:20px}#org-form>label{margin-bottom:16px;display:block;font-size:14px;font-weight:400}#org-form input:not([type=checkbox]):not([type=hidden]):not([type=radio]),#org-form textarea{font-size:14px;font-weight:400;line-height:22px;width:100%;border:1px solid #d8e0eb;border-radius:6px;padding:8px 11px;background:#fff;color:#2f4664}#org-form input:not([type=checkbox]):not([type=hidden]):not([type=radio]){height:38px}#org-form textarea{min-height:76px;margin-top:7px}#org-form .form-row{margin-bottom:16px}#org-form .form-row>label{display:flex;flex-direction:column;gap:7px;font-size:14px}#org-form input[type=checkbox]{width:16px;height:16px;accent-color:#3267e9;margin:0}.org-select{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:38px;border:1px solid #d8e0eb;background:#fff;border-radius:6px;padding:0 11px;text-align:left;font-size:14px}.org-select+ .popover{width:100%;z-index:90}#org-form fieldset{border:0;border-top:1px solid #e7ebf2;margin:20px 0 0;padding:16px 0 0}#org-form legend{font-size:14px;font-weight:500;color:#425b7e;padding:0 8px 0 0}.org-options{display:flex;flex-wrap:wrap;gap:12px 20px}.org-options label,.org-check{display:flex!important;align-items:center;gap:8px;font-size:14px;font-weight:400;margin:0!important}.org-access-preview{margin-top:20px;padding:16px;background:#f4f7fd;border:1px solid #e1e8f4;border-radius:7px}.org-access-preview h3{font-size:14px!important;font-weight:500;margin:0 0 7px!important}.org-access-preview p{font-size:14px!important;margin:0 0 7px!important;color:#425b7e}.org-access-preview small{font-size:13px;line-height:1.6;color:#718198;display:block}.org-draft-hint{font-size:13px;color:#4070b4;display:block;margin-top:12px}.org-form-error{color:#b54242;font-size:14px;margin:8px 0 0}.org-record-title{display:flex;align-items:center;justify-content:space-between;gap:14px}.org-record-title h3{font-size:16px!important;font-weight:500;margin:0!important}.org-trace{border-top:1px solid #e0e6ef;margin-top:20px;padding-top:18px}.org-trace h3{font-size:14px!important;font-weight:500;margin:0 0 14px!important}.org-trace>div{display:grid;grid-template-columns:8px 65px minmax(0,1fr) auto;gap:10px;align-items:baseline;font-size:14px;margin:14px 0;color:#526b8d}.org-trace strong{font-weight:500}.org-trace time{font-size:13px;color:#7b8ba1}.trace-point{width:6px;height:6px;border-radius:50%;background:#7d9bd2;align-self:center}.org-confirm{padding:22px 24px;border:1px solid #dce3ec;border-radius:10px;box-shadow:0 16px 60px #22395633;color:#263c59;max-width:560px}.org-confirm::backdrop{background:#21355055}.org-confirm h2{font-size:16px;font-weight:500;margin:0}.org-confirm p{font-size:14px;color:#718198;margin:12px 0 20px}.org-confirm footer{border-top:1px solid #e0e6ef;padding-top:16px;display:flex;gap:8px;justify-content:flex-end}.org-confirm .btn,.org-record-overlay .btn{font-size:14px;font-weight:400;height:36px}.org-record-overlay .preview-note{margin:16px 0 0;font-size:13px}.org-confirm .btn.primary,.org-record-overlay .btn.primary{color:white}.org-record-overlay #drawer-footer{border-top:1px solid #e0e6ef}.org-record-overlay .drawer>header{border-bottom:1px solid #e0e6ef}.org-record-overlay #drawer-title{font-size:16px;font-weight:500}.org-role-tools .popover[hidden],.scope-wrap .popover[hidden]{display:none!important}button[hidden],section[hidden],aside[hidden]{display:none!important}.org-single-scope .workspace-grid{grid-template-columns:1fr}.org-single-scope .bottom-grid{grid-template-columns:1fr}.org-single-scope .quick-panel{justify-content:flex-start}.org-readonly .work-toolbar [data-preview-detail="添加员工"],.org-readonly [data-prepare-payroll]{display:none!important}
@media(max-width:1200px){.org-role-tools .org-view-button{font-size:12px}.tabs .top-right .prototype{display:none}.heading-right{display:flex}.org-three{gap:12px}.org-trace>div{grid-template-columns:8px 60px 1fr}.org-trace time{grid-column:3}.org-role-menu{min-width:240px}}
/* Uniform current sample controls and readable hierarchy. */
#work-page .btn{height:36px;font-size:14px;font-weight:400}#work-page .work-table th{font-size:14px;color:#61738b}#work-page .work-table td{color:#425873}.work-heading h1{font-size:20px;font-weight:500}.profile small{white-space:nowrap;font-size:12px}.org-record-method{margin:0 0 17px!important;padding:0!important;border:0!important}.org-record-method legend{margin-bottom:8px}#org-form input[type=radio]{width:16px;height:16px;margin:0;accent-color:#3267e9}#org-form label:has(input[type=radio]){display:flex;align-items:center;gap:8px}#org-form input[type=radio]{padding:0!important;flex:none}.org-readonly [data-preview-detail^="新建"],.org-readonly [data-preview-detail^="登记"]{display:none!important}
/* Short entry and assignment forms use a content-sized dialog, rather than a tall drawer. */
.org-record-overlay{align-items:center;justify-content:center;padding:24px}.org-record-overlay .drawer{height:auto;flex:none;max-height:calc(100vh - 48px);margin:0;width:640px;border-radius:10px}.org-record-overlay .drawer #drawer-body{flex:initial;overflow:auto;padding:20px 24px}.org-record-overlay .drawer>header{padding:18px 24px 16px}.org-record-overlay .drawer>footer{padding:14px 24px}.org-record-overlay .drawer header h2{margin-top:4px}.org-record-overlay .drawer .eyebrow{font-size:13px}.org-record-overlay .drawer .preview-note{background:transparent;border-top:1px solid #e4eaf3;border-radius:0;padding:12px 0 0;color:#718198}.org-record-overlay .drawer p{line-height:1.6}.org-record-overlay input[type=number]::-webkit-inner-spin-button{appearance:none}
.org-detail-overlay #drawer-title{font-size:16px;font-weight:500}.org-detail-overlay .drawer dl>div{font-size:14px}.org-detail-overlay .drawer .btn{height:36px;font-size:14px;font-weight:400}.org-detail-overlay .drawer .preview-note{font-size:13px;line-height:1.6;background:transparent;border-top:1px solid #e1e7f1;border-radius:0;padding:12px 0 0}.org-detail-overlay .drawer header h2{margin-top:4px}.org-detail-overlay .drawer>header{padding:18px 26px 16px}
/* A short task list keeps its natural height instead of stretching a white card. */
.work-panel{align-self:start}
