/* --------------------------------------------------------------
   App-wide governed card surfaces (Organisation Foundation: 6px)
   Loaded after module.primitives.css. Prefer .nucleus-surface-card on new markup.
--------------------------------------------------------------- */

/* Service Desk */
.conversation-card,
.conversation-card-public,
.conversation-card-internal,
.conversation-card-email-sent,
.conversation-card-email-received,
.conversation-card-phone,
.conversation-card-status,
.conversation-card-assignment,
.service-desk-detail-layout .mud-paper.conversation-card,
.runbook-task-card,
.runbook-executor-panel,
.incident-context-rail-card,
.microsoft-security-automation-insight-banner,
.work-item-preferred-workflows,
.linked-problems-overview-card .mud-paper,
.linked-changes-overview-card.mud-paper,

/* Tasks */
.task-group-card,
.task-expansion-panel-card,
.entity-tasks-panel .task-card-surface,
.board-kanban-column-card,
.board-kanban-add-column,

/* CRM / index */
.module-index-page .module-grid-container,
.module-index-page .module-filters-panel,
.sales-index-page .module-grid-container,
.sales-index-page .module-filters-panel,
.modern-data-grid-wrapper,
.modern-data-grid-container,
.module-index-toolbar-card,
.module-list-sidebar-card,
.properties-index-card,
.unified-search-filters-panel,
.contact-type-group.mud-paper,

/* Content / documents */
.content-tile-card,
.content-canvas-card,
.content-hub-explorer-card,
.content-hub-explorer-tile,
.entity-content-panel-card,

/* GRC (standalone registers + embedded) */
.governance-embedded-register-panel,
.governance-embedded-register-detail,
.governance-embedded-detail-panel,
.governance-risk-detail-panel,
.asset-details-card,
.asset-register-dashboard-type-row,

/* Properties / deals */
.property-v2-outline-panel.mud-paper,
.deal-stage-widget.mud-paper,
.properties-filter-panel-card,

/* Intelligence (panel chrome, not chat bubble tails) */
.nucleus-ask-ai-panel,
.work-item-ask-ai-workspace-card,
.unified-intelligence-chat-panel-card,
.ai-configuration-card,

/* Workflows / settings / misc modules */
.workflows-designer-card,
.module-grid-settings-card,
.central-billing-card,
.docbuilder-embedded-card,
.embedded-reports-empty-card,
.section-block-card {
    border-radius: var(--nucleus-surface-radius, 6px);
}

/* Outlined MudPaper used as section cards (when explicitly classed) */
.mud-paper-outlined.nucleus-surface-card,
.mud-paper-outlined.tile-card,
.mud-paper-outlined.module-section-card-paper,
.mud-expansion-panels.expansion-panel-card,
.mud-expansion-panels.nucleus-surface-card,
.mud-expansion-panels.tile-card {
    border-radius: var(--nucleus-surface-radius, 6px) !important;
}

/* Tailwind rounded-lg on governed panels → 6px when combined with surface class */
.nucleus-surface-card.rounded-lg,
.tile-card.rounded-lg,
.expansion-panel-card.rounded-lg,
.property-v2-outline-panel.rounded-lg,
.mud-expansion-panels.rounded-lg.tile-card {
    border-radius: var(--nucleus-surface-radius, 6px) !important;
}
