:root {
  --enterprise-detail-radius: 4px;
}

.approval-page.approval-page .approval-detail :is(
  .detail-hero,
  .progress-card,
  .detail-card,
  .detail-side-card,
  .detail-note,
  .detail-note-editor textarea,
  .detail-expense-table,
  .detail-attachment,
  .risk-list,
  .application-detail-fact,
  .application-budget-analysis__state,
  .application-budget-analysis__metrics article,
  .application-budget-analysis__summary,
  .application-budget-analysis__lists > div,
  .application-leader-opinion,
  .application-leader-opinion-event,
  .draft-blocking-note,
  .draft-blocking-issue,
  .expense-file-chip,
  .expense-editor-panel,
  .expense-editor-grid input,
  .expense-editor-grid select,
  .expense-total-under-table,
  .attachment-insight-pane,
  .attachment-source-pane,
  .attachment-preview-card,
  .attachment-preview-nav,
  .attachment-preview-close,
  .attachment-preview-alert,
  .attachment-preview-action,
  .attachment-preview-empty,
  .attachment-risk-card,
  .attachment-insight-section,
  .risk-summary-card,
  .risk-detail-card,
  .risk-advice-card,
  .risk-advice-meta > div,
  .risk-override-card,
  .risk-override-nav-btn,
  .system-row-lock,
  .system-attachment-note,
  .submit-confirm-summary,
  .smart-entry-btn,
  .icon-action,
  .inline-action
) {
  border-radius: var(--enterprise-detail-radius);
}

.approval-page.approval-page .ai-entry-modal :is(
  .detail-modal,
  .modal-card,
  .close-btn,
  .ai-chat-card,
  .ai-preview-card,
  .ai-chat-content,
  .ai-composer,
  .ai-composer-surface,
  .ai-tool-btn,
  .ai-upload-btn,
  .ai-send-btn,
  .preview-field,
  .preview-empty,
  .ai-preview-secondary,
  .ai-preview-primary,
  .modal-action
) {
  border-radius: var(--enterprise-detail-radius);
}

.approval-page.approval-page :is(
  .approval-opinion-field textarea,
  .return-reason-option,
  .return-reason-section textarea
) {
  border-radius: var(--enterprise-detail-radius);
}

.log-detail-page.log-detail-page :is(
  .detail-state,
  .detail-state button,
  .detail-hero,
  .refresh-btn,
  .detail-card,
  .info-grid > div,
  .feedback-grid > div,
  .trace-step,
  .code-block,
  .inline-empty,
  .detail-actions button,
  .knowledge-ingest-panel,
  .ingest-run-info,
  .info-item,
  .run-info-card,
  .run-stat-card,
  .graph-search,
  .graph-toolbar button,
  .graph-theater,
  .graph-stage,
  .graph-toolbar,
  .graph-inspector,
  .node-facts > div,
  .node-meta,
  .node-detail-panel,
  .detail-section,
  .evidence-document,
  .evidence-chunk,
  .evidence-empty,
  .node-evidence-card,
  .relation-detail-list button,
  .detail-empty
) {
  border-radius: var(--enterprise-detail-radius);
}

.skill-detail.skill-detail :is(
  .detail-hero,
  .detail-inline-state,
  .detail-loading-state,
  .review-note-block,
  .hero-stat,
  .detail-card,
  .side-card,
  .field input,
  .field textarea,
  .prompt-block textarea,
  .json-editor,
  .markdown-editor,
  .spreadsheet-editor-shell,
  .spreadsheet-workbench,
  .spreadsheet-change-center,
  .version-pair-card,
  .change-center-item,
  .change-record-preview,
  .spreadsheet-meta-strip span,
  .json-risk-editor-shell,
  .json-risk-generation-failure,
  .json-risk-meta-item,
  .json-risk-description-text,
  .json-risk-description-source,
  .json-risk-flow-card,
  .diagram-zoom-controls,
  .rule-spreadsheet-stage,
  .compare-panel,
  .compare-summary-grid article,
  .compare-sheet-list article,
  .change-detail-meta article,
  .compare-sheet-list span,
  .compare-table-wrap,
  .subtle-banner,
  .preview-mode-note,
  .prompt-block,
  .contract-panel,
  .version-row,
  .version-modal-summary div,
  .version-modal-note,
  .review-submit-test-state,
  .risk-rule-action-confirm,
  .risk-rule-action-note,
  .risk-rule-action-note textarea,
  .review-submit-form input:not([type='checkbox']),
  .review-submit-form select,
  .review-submit-form textarea,
  .review-submit-hint,
  .publish-summary,
  .empty-side-note,
  .back-action,
  .minor-action,
  .major-action,
  .mini-btn,
  .risk-level-menu,
  .risk-level-option
) {
  border-radius: var(--enterprise-detail-radius);
}

.skill-detail.skill-detail .rule-drawer-backdrop :is(
  .rule-drawer,
  .rule-drawer-state,
  .change-detail-meta article,
  .compare-panel,
  .compare-sheet-list span,
  .compare-table-wrap
) {
  border-radius: var(--enterprise-detail-radius);
}

.employee-center.employee-center .employee-detail :is(
  .detail-hero,
  .hero-profile,
  .hero-tag,
  .hero-stat,
  .detail-card,
  .side-card,
  .history-row,
  .field input,
  .field textarea,
  .role-option,
  .sync-card,
  .permission-pill,
  .detail-actions button,
  .detail-action-group
) {
  border-radius: var(--enterprise-detail-radius);
}

.digital-work-records.digital-work-records .work-record-detail-page :is(
  .detail-inline-state,
  .detail-loading-state,
  .detail-hero,
  .enterprise-detail-card,
  .json-risk-meta-item,
  .json-risk-description-text,
  .work-record-error-text,
  .work-record-tool-item,
  .work-record-inline-empty,
  .work-record-code-block,
  .edit-badge,
  .back-action,
  .minor-action,
  .major-action
) {
  border-radius: var(--enterprise-detail-radius);
}
