/* Compact app actions. Navigation rows, workflow cards and block handles keep their layout. */
body[class]:is(.workspace-page,.writing-app,.auth-page){--app-button-height:32px;--app-button-padding:5px 10px;--app-button-icon-size:16px;--control-icon-size:32px;--app-control-height:32px}
body[class]:is(.workspace-page,.writing-app,.auth-page) :is(.btn-primary,.btn-secondary,.primary-btn,.secondary-btn,.quiet-button,.header-link,.action-link,.action-btn,.app-dialog-btn,.plan-checkout-button,.social-login-btn,.auth-submit,.signin-btn,.signup-btn,.btn-signin,.filter-tab,.filter-chip),
body[class]:is(.workspace-page,.writing-app) :is(.app-dialog-actions,.modal-actions,.editor-setup-actions,.template-detail-actions,.template-workflow-footer) > :is(button,a),
body[class]:is(.workspace-page,.writing-app) :is(.nav-new>summary,#setupStart,#setupSkip,#templateSetupClose,#closeDocumentSetup,.audit-inventory-actions>button,.audit-modal-footer>button,.planner-dialog footer>button){
 box-sizing:border-box;min-height:var(--app-button-height)!important;min-width:0!important;height:auto!important;padding:var(--app-button-padding)!important;gap:6px!important;font-size:12px!important;line-height:20px!important;
}
body[class]:is(.workspace-page,.writing-app,.auth-page) :is(.btn-primary,.btn-secondary,.primary-btn,.secondary-btn,.quiet-button,.header-link,.action-link,.action-btn,.app-dialog-btn,.plan-checkout-button,.social-login-btn,.auth-submit,.signin-btn,.signup-btn,.btn-signin)>svg,
body[class]:is(.workspace-page,.writing-app) :is(.editor-setup-actions,.template-workflow-footer,.nav-new>summary)>svg,
body[class]:is(.workspace-page,.writing-app) :is(.editor-setup-actions,.template-workflow-footer)>:is(button,a)>svg{width:var(--app-button-icon-size)!important;height:var(--app-button-icon-size)!important;flex-shrink:0}
body[class]:is(.workspace-page,.writing-app,.auth-page) [data-ui-icon]:not(#editorBlockInsert,#editorBlockDrag,.source-keyword-remove){width:var(--app-button-height)!important;height:var(--app-button-height)!important;min-width:var(--app-button-height)!important;min-height:var(--app-button-height)!important;padding:0!important}
body[class]:is(.workspace-page,.writing-app,.auth-page) [data-ui-icon]:not(#editorBlockInsert,#editorBlockDrag,.source-keyword-remove)>svg{width:16px!important;height:16px!important}
@media(max-width:800px),(pointer:coarse){body[class]:is(.workspace-page,.writing-app,.auth-page){--app-button-height:40px;--app-button-padding:8px 12px;--control-icon-size:40px}}
