/* Compact controls; record cards and bottom navigation retain their own layout. */
@media screen{
 .ops-shell{--ds3-button-line:#ded5e7;--ds3-button-text:#594566}
 .ops-shell :is(.actions,.cfg-actions,.cfg-row,.proto-actions,.proto-card-head,.proto-module-row,.smart-shortcuts,.ops-register-tools,.ops-form-choice,.staff-inline-actions,.process-table td,.ops-data-table td,.upload-row)>button,
 .ops-shell :is(.cfg-body,.staff-action-panel,.staff-sla,.cfg-template-manager,.proto-config-card,.proto-access-card,.proto-form)>button,
 .ops-shell .proto-form form>button,.ops-shell .ops-export{
  min-height:34px;padding:7px 12px;border:1px solid var(--ds3-button-line);border-radius:8px;
  background:#fff;color:var(--ds3-button-text);font-size:13px;font-weight:500;line-height:1.25;
  box-shadow:none;vertical-align:middle;transition:background-color .15s,border-color .15s,color .15s
 }
 .ops-shell :is(.actions,.cfg-actions,.cfg-row,.proto-actions,.proto-card-head,.proto-module-row,.smart-shortcuts,.ops-register-tools,.ops-form-choice,.staff-inline-actions,.process-table td,.ops-data-table td,.upload-row)>button:hover:not(:disabled),
 .ops-shell :is(.cfg-body,.staff-action-panel,.staff-sla,.cfg-template-manager,.proto-config-card,.proto-access-card,.proto-form)>button:hover:not(:disabled){background:#f6f1fa;border-color:#bda3d0;color:#662d91}
 .ops-shell button.primary.primary{background:#662d91;border-color:#662d91;color:#fff;font-weight:600;box-shadow:0 1px 2px #4a20601a}
 .ops-shell button.primary.primary:hover:not(:disabled){background:#542277;border-color:#542277;color:#fff}
 .ops-shell :is(.actions,.cfg-actions,.proto-actions,.smart-shortcuts,.upload-row){gap:8px;align-items:center;flex-wrap:wrap}
 .ops-shell :is(.proto-card-head,.proto-module-row,.staff-inline-actions,.process-table td,.ops-data-table td)>button,
 .ops-shell .staff-inline-actions button{min-height:30px;padding:5px 10px;font-size:12px;border-radius:7px}
 .ops-shell .staff-inline-actions{gap:6px;align-items:center}.ops-shell .staff-row-changed .staff-inline-actions>button:last-child{min-height:26px;padding:3px 7px;background:transparent;border-color:transparent;color:#765b88}
 .ops-shell #detail .staff-table .staff-inline-select{width:100%;max-width:100%;min-width:0;min-height:34px;padding:7px 25px 7px 9px;border-radius:7px;font-size:13px}
 .ops-shell .staff-directory .staff-table td{padding:10px 12px}.ops-shell .staff-directory .staff-table th{padding:10px 12px}
 .ops-shell .staff-action-menu>summary{display:flex;align-items:center;justify-content:center;min-height:36px;padding:8px 12px;box-sizing:border-box;border:1px solid #662d91;border-radius:8px;background:#662d91;color:#fff;font-size:13px;font-weight:600;line-height:1.25}
 .ops-shell .staff-action-menu>summary:hover{background:#542277;border-color:#542277}.ops-shell .staff-toolbar>input{min-height:36px;padding:8px 11px;font-size:13px}
 .ops-shell .staff-action-options{padding:5px;width:260px}.ops-shell .staff-action-options button{padding:9px 10px;min-height:34px;font-size:13px;border-radius:5px;line-height:1.35}
 .ops-shell :is(.m-chips,.cfg-tabs) button{min-height:34px;padding:7px 12px;font-size:13px;line-height:1.25;border:1px solid #e2d9eb;border-radius:8px;background:#fff;color:#685772;box-shadow:none}
 .ops-shell :is(.m-chips,.cfg-tabs) button:hover{background:#f6f1fa;border-color:#c8b2d8}
 .ops-shell :is(.m-chips,.cfg-tabs) button.active{background:#eee4f6;border-color:#d9c2e8;color:#62268b;font-weight:600}
 .ops-shell .ops-top-actions{gap:8px}.ops-shell .ops-top-actions>.primary{min-height:36px;padding:8px 13px;font-size:13px;line-height:1.25;border-radius:8px}
 .ops-shell .ops-top-actions .m-header-refresh{width:36px;min-width:36px;height:36px;padding:8px;border-radius:8px;border:1px solid #e0d7e8;box-shadow:none}.ops-shell .ops-top-actions .m-header-refresh svg{width:18px;height:18px}
 .ops-shell .ops-account-badge{width:36px;height:36px;min-height:36px}.ops-shell #detail .modal-head #close{width:32px;height:32px;min-width:32px;min-height:32px;padding:0;border:0;border-radius:8px;background:#f4eff8;color:#725982;font-size:21px;line-height:1;flex-shrink:0}
 .ops-shell #detail .modal-head #close:hover{background:#eadff2;color:#542277}
 .ops-shell button:focus-visible,.ops-shell .staff-action-menu>summary:focus-visible{outline:2px solid #9a68bd;outline-offset:2px}
 .ops-shell button:disabled{cursor:default;opacity:.55;box-shadow:none}
 .ops-shell.ops-dark .m-page :is(.actions,.proto-actions,.proto-card-head,.proto-module-row,.smart-shortcuts,.ops-register-tools,.ops-form-choice,.process-table td)>button:not(.primary){background:#302638;border-color:#594563;color:#e5d9ed}
}
@media screen and (min-width:761px){.ops-shell .ops-side nav button{min-height:40px;padding:9px 12px;font-size:13px}.ops-shell .ops-side nav{gap:4px}}
@media screen and (max-width:760px){
 .ops-shell :is(.actions,.cfg-actions,.cfg-row,.proto-actions,.smart-shortcuts,.ops-form-choice,.staff-inline-actions,.process-table td,.ops-data-table td)>button,.ops-shell .staff-inline-actions button{min-height:40px;padding:8px 11px}
 .ops-shell :is(.m-chips,.cfg-tabs) button{min-height:40px}.ops-shell #detail .staff-table .staff-inline-select{min-height:40px;font-size:14px}
 .ops-shell .staff-action-menu>summary{min-height:40px}.ops-shell .staff-action-options{width:100%}.ops-shell .staff-action-options button{min-height:40px}
 .ops-shell .ops-top-actions .m-header-refresh,.ops-shell .ops-top-actions>.primary{min-height:40px}.ops-shell .ops-top-actions .m-header-refresh{height:40px;width:40px;min-width:40px}
 .ops-shell .staff-row-changed .staff-inline-actions>button:last-child{min-height:36px}.ops-shell .proto-access-card>button{width:auto}
}
