/* Match the approved member archive desktop geometry. Business cards and forms
   keep their content hierarchy; only shared presentation dimensions are aligned. */
@media(min-width:1101px){
 html body #app>main:has(#partnerArchivesHost .member-family-page){padding:0!important;min-width:0}
 html body #app>main:has(#partnerArchivesHost .member-family-page)>header{display:none!important}
 html body #app #content:has(#partnerArchivesHost .member-family-page){margin:0!important;padding:0!important;width:100%!important;max-width:none!important}
 html body #app #content #partnerArchivesHost>.member-family-page{
  --model-blue:#ff8000;--income-primary:#ff8000;
  display:flex!important;flex-direction:column!important;box-sizing:border-box;
  height:100dvh!important;min-height:0!important;max-height:100dvh!important;
  margin:0!important;padding:0 10px 12px!important;gap:0!important;
  background:#f5f7fc!important;color:#1d1d1f;font:400 13.5px/20px -apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;
 }
 html body #app #content #partnerArchivesHost>.member-family-page>:is(.brand-model-toolbar,.member-permission-toolbar,header){
  display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between;
  box-sizing:border-box;height:64.7px!important;min-height:64.7px!important;max-height:64.7px!important;flex:0 0 64.7px!important;
  width:calc(100% + 20px)!important;margin:0 -10px!important;padding:14px 24px!important;gap:14px!important;
  background:#fff!important;border:0!important;border-bottom:1px solid #eef0f2!important;border-radius:0!important;box-shadow:none!important;
 }
 html body #app #content #partnerArchivesHost .member-family-page>:is(.brand-model-toolbar,.member-permission-toolbar,header) :is(h1,small){font-size:13px!important;line-height:20px!important;margin:0!important;letter-spacing:0!important}
 html body #app #content #partnerArchivesHost .member-family-page>:is(.brand-model-toolbar,.member-permission-toolbar,header) h1{font-weight:600!important;color:#1d1d1f!important}
 html body #app #content #partnerArchivesHost .member-family-page>:is(.brand-model-toolbar,.member-permission-toolbar,header) small{font-weight:400!important;color:#8a8f98!important}
 html body #app #content #partnerArchivesHost .member-family-page>.member-permission-toolbar{justify-content:flex-start!important}
 html body #app #content #partnerArchivesHost .member-family-page>.member-permission-toolbar h1:before{content:'/';margin-right:14px;color:#d2d6dc;font-weight:400}
 html body #app #content #partnerArchivesHost .member-family-page>:is(.brand-model-toolbar,header) :is(button,input):not(#mobileMenuToggle){box-sizing:border-box;height:34.7px!important;min-height:34.7px!important;max-height:34.7px!important;border-radius:9px!important;font-size:13.5px!important}
 html body #app #content #partnerArchivesHost .member-family-page>:is(.brand-model-toolbar,header) input[type=search]{width:300px!important;background:#f5f6f8!important;border:0!important;border-radius:10px!important}
 html body #app #content #partnerArchivesHost .member-family-page :is(.policy-toolbar-actions,.duiyu-page-actions){gap:14px!important}
 html body #app #content #partnerArchivesHost>.member-family-page>:is(.partner-navigation,.member-permission-navigation,.hr-entry-tabs){
  box-sizing:border-box;display:flex!important;align-items:center!important;flex:0 0 48px!important;height:48px!important;min-height:48px!important;
  width:calc(100% + 20px)!important;margin:0 -10px!important;padding:0 24px!important;gap:14px!important;
  background:#fff!important;border:0!important;border-bottom:1px solid #eef0f2!important;border-radius:0!important;box-shadow:none!important;
 }
 html body #app #content #partnerArchivesHost .member-family-page :is(.partner-navigation-tabs,.member-permission-navigation>div:first-child){display:flex!important;align-items:center!important;gap:0!important;border:0!important}
 html body #app #content #partnerArchivesHost .member-family-page :is(.partner-navigation-tabs,.member-permission-navigation>div:first-child,.hr-entry-tabs)>button:not(#mobileMenuToggle){
  box-sizing:border-box;height:48px!important;min-height:48px!important;padding:14px 18px!important;margin:0!important;
  font-size:13.5px!important;line-height:20px!important;font-weight:400;color:#8a8f98;background:transparent!important;border:0!important;border-radius:0!important;white-space:nowrap;
 }
 html body #app #content #partnerArchivesHost .member-family-page :is(.partner-navigation-tabs,.member-permission-navigation>div:first-child,.hr-entry-tabs)>button:is(.active,[aria-current=page],[aria-selected=true]){color:#ff8000!important;font-weight:600!important;box-shadow:inset 0 -2px #ff8000!important}
 html body #app #content #partnerArchivesHost .member-family-page :is(.partner-navigation-actions,.member-permission-navigation>div:last-child){display:flex;align-items:center;gap:14px!important}
 html body #app #content #partnerArchivesHost .member-family-page :is(.partner-navigation-actions,.member-permission-navigation>div:last-child) :is(button,input,select){height:34.7px!important;min-height:34.7px!important;margin:0!important;font-size:13.5px!important;border-radius:9px!important;box-sizing:border-box}
 html body #app #content #partnerArchivesHost>.member-family-page>:is(.brand-model-columns,.member-permission-workspace,main){
  flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;width:100%!important;
  box-sizing:border-box;margin:16px 0 0!important;gap:18px!important;
 }
 html body #app #content #partnerArchivesHost>.member-family-page>:is(.member-permission-workspace,main){padding:20px!important;overflow:auto!important;background:#fff!important;border:1px solid #eef0f2!important;border-radius:14px!important}
 html body #app #content #partnerArchivesHost .member-family-page>.brand-model-columns>:is(.brand-model-list,.brand-model-detail){height:100%!important;min-height:0!important;max-height:100%!important;border-radius:14px!important;box-sizing:border-box}
 html body #app #content #partnerArchivesHost .member-family-page .brand-model-list{display:flex!important;flex-direction:column!important;overflow:hidden!important}
 html body #app #content #partnerArchivesHost .member-family-page .brand-model-table-scroll{flex:1 1 0!important;min-height:0!important;overflow:auto!important}
 html body #app #content #partnerArchivesHost .member-family-page .brand-model-pagination{
  box-sizing:border-box;display:flex!important;align-items:center!important;gap:8px!important;flex:0 0 44px!important;
  height:44px!important;min-height:44px!important;max-height:44px!important;padding:8px 20px!important;margin:0!important;
  border-top:0!important;border-bottom:0!important;box-shadow:inset 0 1px #eef0f2;background:#fff;font-size:12px!important;line-height:20px!important;
 }
 html body #app #content #partnerArchivesHost .member-family-page .brand-model-pagination :is(input,select,button){box-sizing:border-box;height:28px!important;min-height:28px!important;margin:0!important;padding-top:0!important;padding-bottom:0!important;font-size:13.5px!important;border-radius:8px!important}
 html body #app #content #partnerArchivesHost .member-family-page :is(.brand-model-head,.application-table th){font-size:13.5px!important;font-weight:400!important;background:#f8fafc!important;color:#8a8f98!important}
 html body #app #content #partnerArchivesHost .member-family-page :is(.brand-model-row,.application-table td){font-size:13.5px!important}
 html body #app #content #partnerArchivesHost .member-family-page :is(.permission-group-card,.system-admin-card,.permission-editor-card){border-radius:14px!important;border-color:#eef0f2!important;box-shadow:none!important;padding:20px}
 html body #app #content #partnerArchivesHost .member-family-page :is(.permission-group-card h3,.system-admin-card h2,.permission-config-main h2,.permission-identity h3){font-size:17px!important;line-height:24px!important;font-weight:600!important}
 html body #app #content #partnerArchivesHost .member-family-page :is(button.primary,.policy-new,.policy-save,[data-new-template],[data-invite],.permission-save,.system-admin-picker button){background:#ff8000!important;border-color:#ff8000!important;color:#fff!important}
 html body #app #content #partnerArchivesHost .member-family-page :is(.policy-status,.permission-group-notice,.system-admin-status):empty{display:none!important}
 html body #app #content #partnerArchivesHost .member-family-page .permission-editor-card{max-width:none!important;min-height:0!important;margin:0!important}
 html body #app #content #partnerArchivesHost .member-family-page .permission-editor-tabs{min-height:42.7px}
 html body #app #content #partnerArchivesHost .member-family-page .permission-editor-tabs button{height:42.7px!important;font-size:13.5px!important;padding:0 16px!important}
 html body #app #content #partnerArchivesHost .member-family-page .brand-model-detail:not([hidden]){display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important;gap:0!important}
 html body #app #content #partnerArchivesHost .member-family-page .brand-model-detail>.brand-model-detail-heading{box-sizing:border-box;height:76.5px!important;min-height:76.5px!important;flex:0 0 76.5px!important;padding:16px 20px!important}
 html body #app #content #partnerArchivesHost .member-family-page .brand-model-detail>.brand-model-detail-heading h2{font-size:17px!important;line-height:23.8px!important;font-weight:600!important;margin:0!important}
 html body #app #content #partnerArchivesHost .member-family-page .brand-model-detail>.brand-model-detail-heading small{font-size:12px!important;line-height:16.7px!important;margin-top:4px!important}
 html body #app #content #partnerArchivesHost .member-family-page .brand-model-detail>.brand-model-detail-heading button{height:34.7px!important;min-height:34.7px!important;font-size:13.5px!important;border-radius:9px!important}
 html body #app #content #partnerArchivesHost .member-family-page .brand-model-detail>:is(.policy-body,.application-detail-body,.member-contract-editor){flex:1 1 0!important;min-height:0!important;overflow:auto!important;padding:20px!important;margin:0!important}
 /* Organisation, sync and create are existing detail panes, not new full pages. */
 html body #app #content #partnerArchivesHost .partner-archive-page .brand-model-detail[data-member-family-panel]>.brand-model-detail-heading{height:76.5px!important;min-height:76.5px!important;flex:0 0 76.5px!important;padding:16px 20px!important;box-sizing:border-box}
 html body #app #content #partnerArchivesHost .brand-model-detail[data-member-family-panel]>.brand-model-detail-heading h2{font-size:17px!important;font-weight:600!important;line-height:23.8px!important;margin:0!important}
 html body #app #content #partnerArchivesHost .brand-model-detail[data-member-family-panel]>.brand-model-detail-heading small{font-size:12px!important;line-height:16.7px!important;margin-top:4px!important}
 html body #app #content #partnerArchivesHost .brand-model-detail[data-member-family-panel]>.brand-model-detail-heading button{height:34.7px!important;min-height:34.7px!important;font-size:13.5px!important;border-radius:9px!important}
 html body #app #content #partnerArchivesHost .brand-model-detail[data-member-family-panel]>:is(.partner-profile,form){flex:1 1 0!important;min-height:0!important;max-height:none!important;height:auto!important;padding:20px!important;margin:0!important;overflow:auto!important}
 html body #app #content #partnerArchivesHost .brand-model-detail[data-member-family-panel] :is(.department-sync,.member-sync-panel){padding:0!important;font-size:13.5px;line-height:20px}
 html body #app #content #partnerArchivesHost .brand-model-detail[data-member-family-panel] :is(.department-sync h3,.member-sync-panel h3){font-size:13px;font-weight:600}
 html body #app #content #partnerArchivesHost .brand-model-detail[data-member-family-panel] :is(.department-sync,.member-sync-panel) :is(button,select,input:not([type=checkbox])){font-size:13.5px!important;height:34.7px!important;min-height:34.7px!important;border-radius:9px!important;box-sizing:border-box}
 html body #app #content #partnerArchivesHost .brand-model-detail[data-member-family-panel] :is([data-sync-departments],.primary,[data-create-save]){background:#ff8000!important;border-color:#ff8000!important;color:#fff!important}
 html body #app #content #partnerArchivesHost .brand-model-detail[data-member-family-panel] :is(th,td){font-size:13.5px!important}
 html body #app #content #partnerArchivesHost .partner-archive-page:has([data-member-family-panel]){padding-bottom:12px!important}
}
