/* R62 administrator refinement. Existing R61 behavior; no global or AIGC selectors.
   Authenticated role marker is supplied by the shared entry patch. */
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) {
  --admin-ink: #233843; --admin-muted: #52636c; --admin-accent: #294e63;
  --admin-line: #c5d0d5; --admin-soft: #eef3f4; --admin-paper: #fff;
}
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) { padding-block-end: 40px; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(h1,h2,h3) { text-wrap: balance; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(.page-header,.role-home-heading) { gap: 24px; align-items: flex-start; margin-block: 4px 24px; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(.page-header h1,.role-home-heading h1) { font-size: clamp(24px,2.1vw,30px); line-height: 1.4; letter-spacing: 0; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(.page-description,.role-home-stage) { margin-block-start: 8px; max-width: 72ch; color: var(--admin-muted); font-size: 15px; line-height: 1.7; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .page-actions { gap: 10px; align-items: center; flex-wrap: wrap; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .page-actions .btn { min-height: 44px; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(.panel,.admin-home-panel,.role-home-focus) { border-color: var(--admin-line); box-shadow: none; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .panel-header { gap: 16px; padding: 18px 20px; background-image: none; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .panel-header h2 { font-size: 18px; line-height: 1.5; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(.panel-actions,.filter-bar,.row-actions) { gap: 10px; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .filter-bar { align-items: center; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .filter-bar :is(input,select) { background-color: #fff; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: #7b949f #eaf0f2; scrollbar-width: thin; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .table-wrap th { font-size: 14px; color: #354f5e; background: #edf2f4; font-weight: 600; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .table-wrap td { padding-block: 17px; line-height: 1.65; font-variant-numeric: tabular-nums; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .table-wrap :is(.row-actions,td:last-child) { white-space: normal; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .table-wrap .row-actions { flex-wrap: wrap; gap: 6px 12px; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .table-wrap .row-actions button { min-height: 36px; text-underline-offset: .25em; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .table-wrap .row-actions button:hover:not(:disabled) { text-decoration: underline; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .pagination { padding: 14px 20px; border-top-color: var(--admin-line); color: var(--admin-muted); }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .badge { font-size: 13px; line-height: 1.55; white-space: nowrap; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(.state-panel,.empty-state) { min-height: 190px; padding: 32px 24px; border-color: var(--admin-line); box-shadow: none; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(.state-panel,.empty-state) strong { font-size: 18px; line-height: 1.6; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(.state-panel,.empty-state) p { max-width: 48ch; margin-inline: auto; font-size: 15px; line-height: 1.7; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .state-error { border-color: #d4b7b5; background: #fff8f7; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .state-loading { color: var(--admin-muted); background: #f7f9f9; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(input,select,textarea) { caret-color: var(--admin-accent); }
/* Keep the native date indicator; remove the duplicate application background glyph. */
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) input[type="date"][data-r24-date-picker="dialog"],
#root :is(.ic-shell.admin-r20,.ic-login) input[type="date"][data-r24-date-picker="dialog"] { background-image: none; padding-inline-end: 12px; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) ::selection { color: #142e3b; background: #cddfe7; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(button,a,input,select,textarea,[tabindex]):focus-visible,
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) :is(.dialog-backdrop,.modal-backdrop,.drawer-backdrop,.toast-container):not(:has(.assistant-history-modal,.full-manuscript-dialog)) :is(button,a,input,select,textarea,[tabindex]):focus-visible { outline: 2px solid #396b83; outline-offset: 3px; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(button,.btn):disabled { cursor: not-allowed; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) :is(.dialog-backdrop,.modal-backdrop,.drawer-backdrop,.toast-container):not(:has(.assistant-history-modal,.full-manuscript-dialog)) :is(.modal-header,.drawer-header) { border-bottom-color: #c5d0d5; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) :is(.dialog-backdrop,.modal-backdrop,.drawer-backdrop,.toast-container):not(:has(.assistant-history-modal,.full-manuscript-dialog)) :is(.modal-footer,.drawer-footer) { gap: 10px; background: #f6f8f8; }
/* Existing workbench: prioritize the queue without making every action a card. */
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .admin-home-tools { margin-block: 12px 20px; align-items: center; gap: 16px; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .admin-home-queue { overflow: hidden; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .admin-home-queue .role-home-task-copy { padding: 22px 24px; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .role-home-key-facts { background: #eef3f4; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .role-home-key-facts strong { font-variant-numeric: tabular-nums; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .admin-home-business-grid { gap: 20px; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .overview-pending-list > button { min-height: 76px; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .admin-home-panel > header { padding-block-end: 14px; }
/* Form, scoring and workflow designers share the same work surfaces. */
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(.activity-setting-bar,.component-library,.form-canvas,.property-panel,.node-library,.workflow-canvas,.node-properties) { background: #fff; background-image: none; border-color: var(--admin-line); box-shadow: none; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .activity-setting-bar { padding: 16px 20px; border-radius: 8px; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(.component-library,.property-panel,.node-library,.node-properties) h2 { font-size: 16px; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(.component-library,.property-panel) p { font-size: 13px; line-height: 1.6; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .component-library button { min-height: 38px; border-radius: 6px; background: #f5f8f8; font-size: 13px; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .canvas-section { background: #f5f8f8; border-radius: 8px; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .canvas-section-title { grid-template-columns: 28px minmax(0,1fr); text-align: left; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .canvas-section-title b { font-size: 15px; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .canvas-section-title small { font-size: 13px; line-height: 1.6; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .canvas-field b { font-size: 14px; line-height: 1.6; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .canvas-field small { font-size: 13px; line-height: 1.55; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .canvas-field.active { border-color: #658c9f; background: #edf4f7; }
body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .canvas-field > button { color: #294e63; }
/* Independent platform operator console has its own original role surface. */
#root :is(.ic-shell.admin-r20,.ic-login) { color: #233843; background: #f1f4f4; font-family: "Songti SC",STSong,SimSun,"Noto Serif CJK SC",serif; font-size: 15px; }
#root :is(.ic-shell.admin-r20,.ic-login) :is(button,input,select,textarea) { font: inherit; }
#root :is(.ic-shell.admin-r20,.ic-login) :is(button,a,input,select,textarea):focus-visible { outline: 2px solid #396b83; outline-offset: 3px; }
#root .ic-shell.admin-r20 { padding: 28px clamp(20px,3vw,48px); }
#root .ic-shell.admin-r20 > header { gap: 24px; align-items: flex-start; padding-block-end: 22px; border-color: #c5d0d5; }
#root .ic-shell.admin-r20 > header h1 { font-size: 28px; line-height: 1.4; }
#root .ic-shell.admin-r20 > header p { color: #52636c; margin-block-start: 8px; }
#root .ic-shell.admin-r20 .ic-actions { gap: 10px; flex-wrap: wrap; }
#root .ic-shell.admin-r20 .ic-actions button { min-height: 44px; border-radius: 6px; border-color: #a7bcc7; }
#root .ic-shell.admin-r20 .ic-workspace { gap: 24px; margin-block-start: 24px; }
#root .ic-shell.admin-r20 :is(.ic-list,.ic-detail) { border-color: #c5d0d5; border-radius: 10px; box-shadow: none; background: #fff; }
body:has(#root .ic-shell.admin-r20) .ic-dialog :is(button,input,select,textarea):focus-visible { outline: 2px solid #396b83; outline-offset: 3px; }
#root .ic-shell.admin-r20 .ic-empty { color: #52636c; padding: 32px 24px; line-height: 1.8; }
@media (max-width: 1100px) {
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .designer-layout { grid-template-columns: 170px minmax(0,1fr); }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .designer-layout > .property-panel { grid-column: 2; position: static; }
  #root .ic-shell.admin-r20 .ic-workspace { grid-template-columns: minmax(240px,300px) minmax(0,1fr); }
}
@media (max-width: 720px) {
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) { padding-block-end: 100px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(.page-header,.role-home-heading) { margin-block: 4px 20px; gap: 16px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(.page-header h1,.role-home-heading h1) { font-size: 25px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(.page-description,.role-home-stage) { font-size: 14px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .page-actions { gap: 8px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .page-actions .btn { padding-inline: 12px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .panel-header { padding: 16px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .filter-bar { gap: 10px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .table-wrap table { min-width: 760px; table-layout: auto; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .table-wrap :is(th,td) { padding: 12px 14px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .table-wrap .row-actions button { min-height: 44px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .pagination { padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .admin-home-tools { margin-block: 8px 16px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .admin-home-tools .row-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; gap: 8px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .admin-home-tools .btn { width: 100%; min-width: 0; padding-inline: 4px; font-size: 14px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .admin-home-queue .role-home-task-copy { padding: 18px 16px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .admin-home-business-grid { gap: 16px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .designer-layout { display: flex; flex-direction: column; gap: 16px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .designer-layout > :is(.component-library,.form-canvas,.property-panel) { width: 100%; min-width: 0; position: static; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .component-library > div { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .component-library button { min-height: 44px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .component-library header { padding: 14px 16px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .activity-setting-bar { padding: 16px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .activity-setting-bar select { width: 100%; min-width: 0; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .canvas-section { margin: 12px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .canvas-section-title { padding: 12px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .canvas-section > .canvas-field { grid-template-columns: 24px repeat(4,minmax(0,1fr)); gap: 8px; padding: 12px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .canvas-section > .canvas-field > i { grid-column: 1; grid-row: 1; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .canvas-section > .canvas-field > span { grid-column: 2 / 5; grid-row: 1; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .canvas-section > .canvas-field > em { grid-column: 5; grid-row: 1; justify-self: end; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .canvas-section > .canvas-field > button { grid-row: 2; min-height: 44px; width: 100%; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .canvas-section > .canvas-field > button:first-of-type { grid-column: 2; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .workflow-designer { grid-template-columns: minmax(0,1fr); }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .workflow-designer > * { min-width: 0; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(.node-library,.node-properties) { position: static; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .state-panel { padding: 28px 20px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .tab-bar { max-width: 100%; width: 100%; flex-wrap: wrap; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .tab-bar button { min-height: 44px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) :is(.parameter-layout,.message-template-layout) { grid-template-columns: minmax(0,1fr); }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .parameter-form > label { grid-template-columns: minmax(0,1fr); gap: 12px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .parameter-form label > div { min-width: 0; width: 100%; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .parameter-form label > div input { width: 100%; min-width: 0; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .audit-log-list article { grid-template-columns: 20px minmax(0,1fr) 52px; gap: 8px; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .audit-log-list article > div:nth-child(3) { grid-column: 2; grid-row: 2; text-align: left; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .audit-log-list article > .badge { grid-column: 2; grid-row: 3; justify-self: start; }
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content:not(:has(.assistant-workspace,.theory-recommendation-workspace,.research-figure-module,.figure-family-home,.assistant-history-modal,.full-manuscript-preview,.full-manuscript-dialog,.executive-cockpit,.cockpit-page)) .audit-log-list article > button:last-child { grid-column: 3; grid-row: 1 / 4; min-width: 0; min-height: 44px; }
  /* Dense chart geometry stays intact; the small viewport gains a real pan surface. */
  body:has(.app-shell:is([data-design-role="PRIMARY_ADMIN"],[data-design-role="SECONDARY_ADMIN"])) #root .app-shell .main-content > .executive-cockpit { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: #5484a5 #0b2743; scrollbar-width: thin; }

  #root .ic-shell.admin-r20 { padding: 22px 16px; }
  #root .ic-shell.admin-r20 > header { display: grid; gap: 18px; }
  #root .ic-shell.admin-r20 > header h1 { font-size: 25px; }
  #root .ic-shell.admin-r20 .ic-actions { display: flex; gap: 8px; }
  #root .ic-shell.admin-r20 .ic-workspace { grid-template-columns: minmax(0,1fr); gap: 16px; margin-block-start: 20px; }
  #root .ic-shell.admin-r20 :is(.ic-list,.ic-detail) { min-width: 0; }
}
