/* =========================================================================
   DocCompliance — CSS global (plano 8.2). Tokens do protótipo Figma
   "Contratante-Admin". Componentes Mud usam o tema em Layout/AppTheme.cs.
   ========================================================================= */
:root {
    /* Marca */
    --color-brand: #1E293B;
    --color-brand-hover: #0F172A;
    --color-nav-active: #2563EB;
    --color-accent: #3B82F6;
    --color-accent-soft: #60A5FA;

    /* Superfícies e texto */
    --color-page-bg: #F9FAFB;
    --color-surface: #FFFFFF;
    --color-text: #1A1A1A;
    --color-text-muted: #717182;
    --color-muted-bg: #ECECF0;
    --color-input-bg: #F3F3F5;
    --color-border: rgba(0, 0, 0, .1);
    --color-danger: #D4183D;

    /* Status */
    --status-ok: #10B981;      --status-ok-bg: #ECFDF5;      --status-ok-text: #047857;
    --status-warn: #F59E0B;    --status-warn-bg: #FFFBEB;    --status-warn-text: #B45309;
    --status-bad: #EF4444;     --status-bad-bg: #FEF2F2;     --status-bad-text: #B91C1C;
    --status-neutral: #6B7280; --status-neutral-bg: #F9FAFB; --status-neutral-text: #374151;

    /* Forma e tipografia */
    --radius: .625rem;
    --radius-sm: calc(var(--radius) - 4px);
    --radius-md: calc(var(--radius) - 2px);
    --radius-xl: calc(var(--radius) + 4px);
    --shadow: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
    --font-size: 16px;
    --text-xs: .75rem; --text-sm: .875rem; --text-base: 1rem; --text-lg: 1.125rem; --text-xl: 1.25rem; --text-2xl: 1.5rem;

    /* Layout */
    --sidebar-width: 14rem;
    --sidebar-width-collapsed: 4rem;

    /* Compatibilidade com classes antigas */
    --dc-text-primary: var(--color-text);
    --dc-text-secondary: var(--color-text-muted);
    --dc-text-muted: var(--color-text-muted);
    --dc-border: var(--color-border);
    --dc-danger: var(--color-danger);
}

html.font-small { --font-size: 15px; }
html.font-medium { --font-size: 16px; }
html.font-large { --font-size: 17px; }

html { font-size: var(--font-size); }

html, body {
    font-family: 'Inter', system-ui, 'Segoe UI', sans-serif;
    background-color: var(--color-page-bg);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    min-height: 100%;
}

h1:focus { outline: none; }

* { scrollbar-width: thin; scrollbar-color: rgba(148, 163, 184, .6) rgba(241, 245, 249, .5); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(241, 245, 249, .5); border-radius: 10px; }
::-webkit-scrollbar-thumb { background: rgba(148, 163, 184, .6); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(100, 116, 139, .8); }

/* ----------------------------- Página ----------------------------- */
.dc-page {
    margin-inline-start: var(--sidebar-width);
    min-height: 100vh;
    padding: 2rem;
    transition: margin-inline-start .3s ease;
}
.dc-page--collapsed { margin-inline-start: var(--sidebar-width-collapsed); }

.dc-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-block-end: 1.5rem;
}
.dc-page-header > div:first-child { flex: 1; min-width: 0; }
.dc-page-header h1 { font-size: var(--text-2xl); font-weight: 600; margin: 0; line-height: 1.4; color: #111827; }
.dc-page-header p { margin: .25rem 0 0; color: #4B5563; font-size: var(--text-sm); }
.dc-page-header .bottom { margin-block-start: 1rem; }
.dc-page-header .actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.dc-breadcrumb { display: flex; gap: .375rem; align-items: center; font-size: var(--text-sm); color: var(--color-text-muted); margin-block-end: .75rem; flex-wrap: wrap; }
.dc-breadcrumb a { color: var(--color-text-muted); text-decoration: none; }
.dc-breadcrumb a:hover { color: var(--color-brand); text-decoration: underline; }

.dc-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.dc-card-body { padding: 1.25rem; }
.dc-section-title { font-size: var(--text-lg); font-weight: 600; margin: 0 0 .75rem; }

/* ----------------------------- Menu lateral ----------------------------- */
.dc-sidebar {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    width: var(--sidebar-width);
    background: var(--color-brand);
    color: rgba(255, 255, 255, .7);
    display: flex;
    flex-direction: column;
    z-index: 1200;
    transition: width .3s ease;
}
.dc-sidebar--collapsed { width: var(--sidebar-width-collapsed); }

.dc-sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-block-end: 1px solid rgba(255, 255, 255, .1);
    min-height: 3.75rem;
    box-sizing: border-box;
}
.dc-sidebar--collapsed .dc-sidebar-brand { justify-content: center; padding: .75rem; }
.dc-brand { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.dc-brand-icon { width: 1.75rem; height: 1.75rem; border-radius: .5rem; background: var(--color-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.dc-brand-mark { width: 1.75rem; height: 1.75rem; flex-shrink: 0; border-radius: .5rem; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.dc-brand-name { color: #fff; font-weight: 600; font-size: var(--text-sm); }
.dc-sidebar-toggle { background: none; border: 0; color: rgba(255, 255, 255, .7); border-radius: .375rem; width: 1.75rem; height: 1.75rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.dc-sidebar-toggle:hover { color: #fff; background: rgba(255, 255, 255, .1); }

.dc-sidebar-nav { flex: 1; overflow-y: auto; padding: .75rem .5rem; display: flex; flex-direction: column; gap: .125rem; }
.dc-sidebar-link {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .5rem .625rem;
    border-radius: .5rem;
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 500;
    transition: background-color .15s, color .15s;
}
.dc-sidebar--collapsed .dc-sidebar-link { justify-content: center; }
.dc-sidebar-link:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.dc-sidebar-link.active { color: #fff; background: var(--color-nav-active); }

.dc-sidebar-footer { border-block-start: 1px solid rgba(255, 255, 255, .1); padding: .5rem; position: relative; }
.dc-profile-button { width: 100%; display: flex; align-items: center; gap: .625rem; padding: .5rem .625rem; border: 0; border-radius: .5rem; background: none; color: inherit; cursor: pointer; text-align: start; }
.dc-sidebar--collapsed .dc-profile-button { justify-content: center; }
.dc-profile-button:hover, .dc-profile-button.open { background: rgba(255, 255, 255, .1); }
.dc-profile-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dc-profile-text .name { color: #fff; font-size: var(--text-sm); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-profile-text .role { color: rgba(255, 255, 255, .6); font-size: var(--text-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-profile-button.open .dc-profile-chevron { transform: rotate(180deg); }

.dc-avatar { width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--color-accent-soft); color: #fff; font-size: var(--text-xs); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dc-avatar--lg { width: 2.5rem; height: 2.5rem; font-size: var(--text-sm); }

.dc-profile-menu {
    position: absolute;
    inset-block-end: calc(100% + .5rem);
    inset-inline: .5rem;
    background: #fff;
    color: var(--color-text);
    border: 1px solid #E5E7EB;
    border-radius: .5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .15);
    overflow: hidden;
    z-index: 1300;
}
.dc-profile-menu.collapsed { inset-inline-end: auto; width: 16rem; }
.dc-profile-menu-header { display: flex; gap: .75rem; padding: .75rem 1rem; background: #F9FAFB; border-block-end: 1px solid #E5E7EB; }
.dc-profile-menu-header .name { font-size: var(--text-sm); font-weight: 600; }
.dc-profile-menu-header .email { font-size: var(--text-xs); color: #6B7280; word-break: break-all; }
.dc-profile-menu-header .role { font-size: var(--text-xs); color: var(--color-nav-active); font-weight: 500; margin-top: .125rem; }
.dc-profile-menu-groups { padding: .75rem 1rem; border-block-end: 1px solid #E5E7EB; max-height: 10rem; overflow-y: auto; }
.dc-profile-menu-groups .title { display: flex; align-items: center; gap: .375rem; font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #374151; margin-bottom: .5rem; }
.dc-group-pill { font-size: var(--text-xs); color: #1D4ED8; background: #EFF6FF; border: 1px solid #DBEAFE; border-radius: .375rem; padding: .25rem .5rem; margin-block-end: .25rem; }
.dc-profile-menu-item { width: 100%; display: flex; align-items: center; gap: .75rem; padding: .625rem 1rem; border: 0; background: none; font-size: var(--text-sm); color: #374151; cursor: pointer; text-align: start; }
.dc-profile-menu-item:hover { background: #F3F4F6; }
/* Itens do menu do perfil sempre alinhados à esquerda (inclusive com o menu lateral recolhido). */
.dc-profile-menu .dc-profile-menu-item { justify-content: flex-start; text-decoration: none; }

/* ----------------------------- Modal simples ----------------------------- */
.dc-modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); display: flex; align-items: center; justify-content: center; z-index: 1400; padding: 1rem; }
.dc-modal { background: #fff; border-radius: .5rem; max-width: 28rem; width: 100%; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); overflow: hidden; }
.dc-modal-header { padding: 1rem 1.5rem; border-block-end: 1px solid #E5E7EB; }
.dc-modal-header h3 { margin: 0; font-size: var(--text-lg); font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.dc-modal-body { padding: 1.5rem; font-size: var(--text-sm); color: #4B5563; }
.dc-modal-footer { padding: 1rem 1.5rem; background: #F9FAFB; border-block-start: 1px solid #E5E7EB; display: flex; justify-content: flex-end; gap: .75rem; margin: 0; }

/* ----------------------------- Botões ----------------------------- */
.dc-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; font-size: var(--text-sm); font-weight: 500; border-radius: .375rem; cursor: pointer; border: 1px solid transparent; text-decoration: none; }
.dc-btn-primary { background: var(--color-brand); color: #fff; }
.dc-btn-primary:hover { background: var(--color-brand-hover); }
.dc-btn-outline { background: #fff; color: #374151; border-color: #D1D5DB; }
.dc-btn-outline:hover { background: #F9FAFB; }

/* ----------------------------- Status ----------------------------- */
.status-chip { display: inline-flex; align-items: center; gap: .375rem; padding: .125rem .625rem; border-radius: 999px; font-size: var(--text-xs); font-weight: 500; border: 1px solid transparent; white-space: nowrap; }
.status-chip .dot { width: .4375rem; height: .4375rem; border-radius: 50%; }
.status-chip.ok { background: var(--status-ok-bg); color: var(--status-ok-text); border-color: #A7F3D0; }
.status-chip.ok .dot { background: var(--status-ok); }
.status-chip.warn { background: var(--status-warn-bg); color: var(--status-warn-text); border-color: #FDE68A; }
.status-chip.warn .dot { background: var(--status-warn); }
.status-chip.bad { background: var(--status-bad-bg); color: var(--status-bad-text); border-color: #FECACA; }
.status-chip.bad .dot { background: var(--status-bad); }
.status-chip.neutral { background: var(--status-neutral-bg); color: var(--status-neutral-text); border-color: #E5E7EB; }
.status-chip.neutral .dot { background: var(--status-neutral); }

/* ----------------------------- Empty state ----------------------------- */
.dc-empty { text-align: center; padding: 3rem 1.5rem; color: var(--color-text-muted); }
.dc-empty--dashed { border: 2px dashed #E5E7EB; border-radius: var(--radius); background: #fff; }
.dc-empty .icon { width: 3rem; height: 3rem; border-radius: 50%; background: #F3F4F6; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .75rem; color: #9CA3AF; }
.dc-empty h3 { color: var(--color-text); font-size: var(--text-base); font-weight: 500; margin: 0 0 .25rem; }
.dc-empty p { margin: 0 0 1rem; font-size: var(--text-sm); }

/* ----------------------------- Erro Blazor ----------------------------- */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
    display: none;
    left: 0;
    padding: .6rem 1.25rem .7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }

.blazor-error-boundary { background: #b32121; padding: 1rem; color: white; border-radius: var(--radius-md); }
.blazor-error-boundary::after { content: "Ocorreu um erro ao exibir este conteúdo."; }

.validation-message { color: var(--color-danger); font-size: var(--text-xs); }

@media (max-width: 900px) {
    .dc-page { padding: 1rem; }
}

/* ---------- Logo da conta no menu ---------- */
.dc-brand--logo { background: #fff; border-radius: .5rem; padding: .25rem .5rem; max-width: 10rem; }
.dc-brand--logo img { max-height: 2rem; max-width: 100%; object-fit: contain; display: block; }

/* ---------- Documentos ---------- */
.dc-info-label { font-size: var(--text-xs); color: var(--color-text-muted); margin-block-end: .25rem; }

.dc-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.dc-step { display: flex; align-items: center; gap: .75rem; }
.dc-step .num { width: 1.75rem; height: 1.75rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: var(--text-xs); font-weight: 600; background: var(--status-neutral-bg); color: var(--status-neutral-text); border: 1px solid #E5E7EB; flex-shrink: 0; }
.dc-step .text { display: flex; flex-direction: column; min-width: 0; }
.dc-step .name { font-size: var(--text-sm); font-weight: 500; }
.dc-step .meta { font-size: var(--text-xs); color: var(--color-text-muted); }
.dc-step--done .num { background: var(--status-ok-bg); color: var(--status-ok-text); border-color: #A7F3D0; }
.dc-step--current .num { background: var(--color-nav-active); color: #fff; border-color: var(--color-nav-active); }
.dc-step--current .name { color: var(--color-nav-active); }

.dc-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.dc-timeline-item { position: relative; padding-inline-start: 1.5rem; padding-block-end: 1rem; border-inline-start: 2px solid #E5E7EB; margin-inline-start: .375rem; }
.dc-timeline-item:last-child { border-inline-start-color: transparent; }
.dc-timeline-item::before { content: ""; position: absolute; inset-inline-start: -.4375rem; top: .25rem; width: .75rem; height: .75rem; border-radius: 50%; background: var(--status-neutral); border: 2px solid #fff; }
.dc-timeline-item--ok::before { background: var(--status-ok); }
.dc-timeline-item--bad::before { background: var(--status-bad); }
.dc-timeline-item--warn::before { background: var(--status-warn); }
.dc-timeline-item .title { font-size: var(--text-sm); font-weight: 500; display: flex; gap: .375rem; align-items: center; flex-wrap: wrap; }
.dc-timeline-item .tag { font-size: var(--text-xs); font-weight: 500; background: var(--color-muted-bg, #ECECF0); border-radius: .25rem; padding: 0 .375rem; }
.dc-timeline-item .meta { font-size: var(--text-xs); color: var(--color-text-muted); }
.dc-timeline-item .note { font-size: var(--text-sm); margin-block-start: .25rem; background: #F9FAFB; border: 1px solid #E5E7EB; border-radius: .375rem; padding: .5rem .75rem; white-space: pre-wrap; }

.dc-viewer { height: 75vh; background: #F3F4F6; display: flex; align-items: center; justify-content: center; }
.dc-viewer iframe { width: 100%; height: 100%; border: 0; }
.dc-viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dc-viewer-name { flex: 1; font-size: var(--text-xs); color: var(--color-text-muted); padding-inline-start: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Upload ---------- */
.dc-file-input { position: relative; }
.dc-file-native { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.dc-file-drop { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: 1.25rem; border: 2px dashed #D1D5DB; border-radius: var(--radius); background: #F9FAFB; cursor: pointer; text-align: center; color: var(--color-text-muted); }
.dc-file-drop:hover { border-color: var(--color-nav-active); color: var(--color-nav-active); }
.dc-file-drop.selected { border-style: solid; border-color: var(--status-ok); background: var(--status-ok-bg); color: var(--status-ok-text); }
.dc-file-drop.disabled { cursor: not-allowed; opacity: .6; }
.dc-file-drop .title { font-size: var(--text-sm); font-weight: 500; color: var(--color-text); word-break: break-all; }
.dc-file-drop .hint { font-size: var(--text-xs); }
.dc-file-progress { font-size: var(--text-xs); color: var(--color-text-muted); margin-block-start: .25rem; }
.dc-sla-badge { margin-inline-start: .25rem; }

/* ----------------------------- Padrões de tela (protótipo Figma) ----------------------------- */
/* KPIs compactos no canto do cabeçalho (KPIDashboard) */
.dc-kpis { display: flex; gap: .75rem; flex-wrap: wrap; }
.dc-kpi { background: #fff; border: 1px solid #E5E7EB; border-radius: .5rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); padding: .75rem 1rem; min-width: 12.5rem; }
.dc-kpi-title { display: flex; align-items: center; gap: .5rem; margin-block-end: .5rem; font-size: var(--text-xs); font-weight: 600; color: #4B5563; text-transform: uppercase; }
.dc-kpi-title .mud-icon-root { font-size: 1rem; }
.dc-kpi-label { font-size: var(--text-xs); color: #6B7280; }
.dc-kpi-value { font-size: var(--text-xl); font-weight: 700; color: #111827; line-height: 1.4; }
.dc-kpi-value.warn, .dc-kpi-title .warn { color: #D97706; }
.dc-kpi-value.bad, .dc-kpi-title .bad { color: #DC2626; }
.dc-kpi-title .info { color: #2563EB; }

/* Abas sublinhadas */
.dc-tabs { display: inline-flex; gap: 2rem; border-block-end: 1px solid #E5E7EB; margin-block-end: -1px; }
.dc-tab { display: inline-flex; align-items: center; gap: .5rem; padding: 1rem .25rem; border: 0; border-block-end: 2px solid transparent; background: none; font: inherit; font-size: var(--text-sm); font-weight: 500; color: #6B7280; cursor: pointer; transition: color .15s, border-color .15s; }
.dc-tab .mud-icon-root { font-size: 1rem; }
.dc-tab:hover { color: #374151; border-block-end-color: #D1D5DB; }
.dc-tab.active { color: var(--color-brand); border-block-end-color: var(--color-brand); }
.dc-tab .count { font-size: var(--text-xs); background: #F3F4F6; color: #374151; border-radius: 999px; padding: 0 .5rem; }
.dc-tab.active .count { background: var(--color-brand); color: #fff; }

/* Barra de pesquisa e filtros */
.dc-filter-bar { background: #fff; border: 1px solid #E5E7EB; border-radius: .5rem; padding: 1rem; display: flex; gap: 1rem; align-items: stretch; flex-wrap: wrap; margin-block-end: 1rem; }
.dc-search { position: relative; flex: 1; min-width: 16rem; height: 42px; }
.dc-search > .mud-icon-root { position: absolute; inset-inline-start: .75rem; top: 50%; transform: translateY(-50%); color: #9CA3AF; font-size: 1.25rem; pointer-events: none; }
.dc-search input { width: 100%; height: 100%; box-sizing: border-box; padding: .625rem 2.5rem; border: 1px solid #D1D5DB; border-radius: .5rem; font: inherit; font-size: var(--text-sm); color: #111827; background: #fff; }
.dc-search input::placeholder { color: #9CA3AF; }
.dc-search input:focus { outline: none; border-color: transparent; box-shadow: 0 0 0 2px var(--color-brand); }
.dc-search .clear { position: absolute; inset-inline-end: .75rem; top: 50%; transform: translateY(-50%); border: 0; background: none; color: #9CA3AF; cursor: pointer; display: inline-flex; padding: 0; }
.dc-search .clear:hover { color: #4B5563; }
.dc-filter { width: 20rem; max-width: 100%; }
.dc-filter-select { height: 42px; min-width: 12rem; padding: 0 1rem; border: 1px solid #D1D5DB; border-radius: .5rem; font: inherit; font-size: var(--text-sm); color: #111827; background: #fff; }
.dc-filter-select:focus { outline: none; border-color: transparent; box-shadow: 0 0 0 2px var(--color-brand); }
.dc-link-btn { border: 0; background: none; font: inherit; font-size: var(--text-sm); color: #4B5563; display: inline-flex; align-items: center; gap: .5rem; padding: 0 .75rem; border-radius: .375rem; cursor: pointer; white-space: nowrap; }
.dc-link-btn:hover { color: #111827; background: #F3F4F6; }

/* Tabela */
.dc-table-wrap { background: #fff; border: 1px solid #E5E7EB; border-radius: .5rem; overflow: hidden; }
.dc-table-scroll { overflow-x: auto; }
.dc-table { width: 100%; border-collapse: collapse; }
.dc-table thead { background: #F9FAFB; border-block-end: 1px solid #E5E7EB; }
.dc-table th { padding: .75rem 1.5rem; text-align: start; font-size: var(--text-xs); font-weight: 600; color: #4B5563; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.dc-table td { padding: .75rem 1.5rem; vertical-align: middle; font-size: var(--text-sm); color: #111827; }
.dc-table tbody tr + tr { border-block-start: 1px solid #E5E7EB; }
.dc-table tbody tr.clickable { cursor: pointer; transition: background-color .15s; }
.dc-table tbody tr.clickable:hover { background: #F9FAFB; }
.dc-table tbody tr.detail { background: linear-gradient(135deg, rgba(239, 246, 255, .5), rgba(248, 250, 252, .5)); }
.dc-table .primary { font-size: var(--text-base); font-weight: 500; color: var(--color-brand); margin-block-end: .25rem; }
.dc-table .sub { font-size: var(--text-sm); color: #6B7280; }
.dc-table .muted { color: #9CA3AF; }
.dc-table .chevron { width: 2.5rem; padding-inline-end: 0; color: #9CA3AF; }
.dc-table .overdue { color: #DC2626; font-weight: 500; }
.dc-table-empty { padding: 4rem 1rem; text-align: center; }
.dc-table-empty .mud-icon-root { font-size: 3rem; color: #D1D5DB; margin-block-end: 1rem; }
.dc-table-empty .title { font-size: var(--text-sm); font-weight: 500; color: #6B7280; margin-block-end: .25rem; }
.dc-table-empty .text { font-size: var(--text-sm); color: #9CA3AF; }
.dc-subitems { display: flex; flex-direction: column; gap: .5rem; margin-inline-start: 2.5rem; }
.dc-subitems h4 { margin: 0 0 .25rem; font-size: var(--text-sm); font-weight: 500; color: #111827; }
.dc-subitem { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid #E5E7EB; border-radius: .5rem; padding: .75rem; text-decoration: none; color: inherit; }
.dc-subitem:hover { border-color: #CBD5E1; background: #F8FAFC; }
.dc-subitem .grow { flex: 1; min-width: 0; }
.dc-subitem .name { font-size: var(--text-sm); font-weight: 500; color: #111827; }
.dc-subitem .meta { font-size: var(--text-xs); color: #6B7280; }

/* Selos (Badge outline do protótipo) */
.dc-badge { display: inline-flex; align-items: center; gap: .25rem; padding: .125rem .625rem; border-radius: 999px; font-size: var(--text-xs); font-weight: 500; border: 1px solid transparent; white-space: nowrap; }
.dc-badge.amber { background: #FFFBEB; color: #B45309; border-color: #FDE68A; }
.dc-badge.red { background: #FEF2F2; color: #B91C1C; border-color: #FECACA; }
.dc-badge.orange { background: #FFF7ED; color: #C2410C; border-color: #FED7AA; }
.dc-badge.blue { background: #DBEAFE; color: #1E40AF; }
.dc-badge.purple { background: #F3E8FF; color: #6B21A8; }
.dc-badge.green { background: #DCFCE7; color: #166534; }
.dc-badge.gray { background: #F3F4F6; color: #374151; border-color: #E5E7EB; }

/* Botão compacto escuro (ação na linha) */
.dc-btn-sm { display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .75rem; font-size: var(--text-sm); font-weight: 500; border-radius: .375rem; border: 1px solid transparent; color: #fff; background: var(--color-brand); text-decoration: none; cursor: pointer; white-space: nowrap; }
.dc-btn-sm:hover { background: #334155; }
.dc-btn-sm .mud-icon-root { font-size: 1rem; }
.dc-btn-sm.outline { background: #fff; color: #374151; border-color: #D1D5DB; }
.dc-btn-sm.outline:hover { background: #F9FAFB; }

/* Paginação */
.dc-pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-block-start: 1px solid #E5E7EB; background: #fff; padding: .75rem 1.5rem; }
.dc-pagination p { margin: 0; font-size: var(--text-sm); color: #374151; }
.dc-pagination p strong { font-weight: 500; }
.dc-pagination nav { display: inline-flex; align-items: center; gap: .25rem; }
.dc-pagination button { border: 0; background: none; font: inherit; font-size: var(--text-sm); font-weight: 500; color: #374151; cursor: pointer; }
.dc-pagination .nav { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border-radius: .5rem; }
.dc-pagination .nav:hover:not(:disabled) { background: #F3F4F6; }
.dc-pagination .nav:disabled { opacity: .4; cursor: not-allowed; }
.dc-pagination .num { width: 1.75rem; height: 1.75rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.dc-pagination .num:hover { background: #F3F4F6; color: #111827; }
.dc-pagination .num.current { background: var(--color-brand); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.dc-pagination .ellipsis { padding: .5rem; font-size: var(--text-sm); color: #9CA3AF; }

/* KPI com duas métricas (CompactKPICards) */
.dc-kpi-row { display: flex; align-items: center; gap: 1rem; }
.dc-kpi-sep { width: 1px; height: 2rem; background: #E5E7EB; }
.dc-kpi-label .mud-icon-root { font-size: .75rem; vertical-align: -1px; margin-inline-end: .125rem; }
.dc-kpi-label .warn { color: #D97706; }
.dc-kpi-label .bad { color: #DC2626; }
.dc-kpi.compact { min-width: 11.25rem; }

/* Barra de ações sem cartão (busca + opções + botão) */
.dc-toolbar { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-block-end: 1.5rem; }
.dc-toolbar .dc-search { flex: 1; max-width: 28rem; min-width: 14rem; height: 40px; }
.dc-check { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--text-sm); font-weight: 500; color: #111827; cursor: pointer; white-space: nowrap; user-select: none; }
.dc-check input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--color-brand); cursor: pointer; }
.dc-btn-dark { display: inline-flex; align-items: center; gap: .5rem; height: 2.5rem; padding: 0 1rem; border: 0; border-radius: .375rem; background: var(--color-brand); color: #fff; font: inherit; font-size: var(--text-sm); font-weight: 500; cursor: pointer; white-space: nowrap; text-decoration: none; }
.dc-btn-dark:hover { background: rgba(30, 41, 59, .9); }
.dc-btn-dark .mud-icon-root { font-size: 1rem; }

/* Tabela de empresas (ActiveContractsTable) */
.dc-table.table-fixed { table-layout: fixed; }
.dc-table.roomy th { padding: .75rem 1rem; }
.dc-table.roomy td { padding: 1rem; }
.dc-table th.center, .dc-table td.center { text-align: center; }
.dc-table th .sort { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; user-select: none; }
.dc-table th .sort .mud-icon-root { font-size: 1rem; color: #9CA3AF; }
.dc-table th .sort.on .mud-icon-root { color: var(--color-brand); }
.dc-table tbody tr.row-bad { background: #FEF2F2; }
.dc-table tbody tr.row-bad:hover { background: rgba(254, 226, 226, .6); }
.dc-table tbody tr.row-warn { background: #FFFBEB; }
.dc-table tbody tr.row-warn:hover { background: rgba(254, 243, 199, .6); }
.dc-entity { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.dc-entity-icon { width: 2rem; height: 2rem; border-radius: .25rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: #F3F4F6; border: 1px solid #E5E7EB; color: #374151; }
.dc-entity-icon .mud-icon-root { font-size: 1rem; }
.dc-entity-icon.bad { background: #FEE2E2; border-color: #FECACA; color: #DC2626; }
.dc-entity-icon.warn { background: #FEF3C7; border-color: #FDE68A; color: #D97706; }
.dc-entity-text { min-width: 0; flex: 1; }
.dc-entity-text .name { font-size: var(--text-sm); font-weight: 500; color: #111827; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: .5rem; }
.dc-entity-text .legal { font-size: var(--text-xs); color: #6B7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-tag { display: inline-flex; align-items: center; padding: .125rem .5rem; border-radius: .25rem; font-size: var(--text-xs); font-weight: 500; background: #F3F4F6; color: #374151; border: 1px solid #D1D5DB; }
.dc-health { display: inline-flex; align-items: center; gap: .625rem; }
.dc-health .mud-icon-root { font-size: 1.25rem; }
.dc-health .ok { color: #16A34A; }
.dc-health .warn { color: #D97706; }
.dc-health .bad { color: #DC2626; }
.dc-health-tip { display: flex; flex-direction: column; gap: .5rem; text-align: start; max-width: 17.5rem; }
.dc-health-tip .title { font-weight: 500; font-size: var(--text-sm); margin-block-end: .25rem; }
.dc-health-tip .line { font-size: var(--text-sm); }
.dc-health-tip .ok { color: #86EFAC; }
.dc-health-tip .warn { color: #FCD34D; }
.dc-health-tip .bad { color: #FCA5A5; }

/* Tela Funcionários (FuncionariosScreen) */
.dc-tabs-bar { border-block-end: 1px solid #E5E7EB; padding-inline: 1.5rem; margin-block-end: 1.5rem; }
.dc-tabs-bar .dc-tabs { border-block-end: 0; margin-block-end: -1px; }
.dc-filter-bar.column { flex-direction: column; flex-wrap: nowrap; gap: 1rem; margin-block-end: 1.5rem; }
.dc-filter-panel .dc-check { align-self: flex-start; }
.dc-filter-row { display: flex; gap: .75rem; flex-wrap: wrap; align-items: stretch; }
.dc-filter-row .dc-search { height: auto; min-height: 40px; }
.dc-filter-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.dc-btn-outline { display: inline-flex; align-items: center; gap: .5rem; height: 2.5rem; padding: 0 1rem; border: 1px solid #E5E7EB; border-radius: .375rem; background: #fff; color: #111827; font: inherit; font-size: var(--text-sm); font-weight: 500; cursor: pointer; white-space: nowrap; text-decoration: none; }
.dc-btn-outline:hover, .dc-btn-outline.pressed { background: #F9FAFB; }
.dc-btn-outline .mud-icon-root { font-size: 1rem; }
.dc-btn-outline .pill, .dc-mini-tabs .active .pill { margin-inline-start: .25rem; padding: .125rem .375rem; font-size: var(--text-xs); background: var(--color-brand); color: #fff; border-radius: .25rem; }
.dc-btn-dark:disabled { opacity: .5; cursor: not-allowed; }
.dc-filter-panel { display: flex; flex-direction: column; gap: 1rem; padding-block-start: 1rem; border-block-start: 1px solid #E5E7EB; }
.dc-filter-panel .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.dc-filter-panel .fields label, .dc-filter-panel .fields .field { display: flex; flex-direction: column; gap: .5rem; }
.dc-filter-panel .fields label > span, .dc-filter-panel .fields .field > span { display: inline-flex; align-items: center; gap: .375rem; font-size: var(--text-sm); font-weight: 500; color: #374151; }
.dc-filter-panel .fields label > span .mud-icon-root, .dc-filter-panel .fields .field > span .mud-icon-root { font-size: .875rem; }
.dc-filter-panel .dc-filter-select { width: 100%; }
.dc-result-count { margin: 0 0 1rem; font-size: var(--text-sm); color: #4B5563; }
.dc-result-count strong { font-weight: 500; color: #111827; }
.dc-table.dense th { padding: .75rem 1rem; }
.dc-table.dense td { padding: .75rem 1rem; }
.dc-table .muted-text { color: #4B5563; }
.dc-table tbody tr.expanded { background: #F8FAFC; }
.dc-table tbody tr.detail-panel > td { padding: 0; background: linear-gradient(135deg, rgba(239, 246, 255, .5), rgba(248, 250, 252, .5)); border-block-start: 2px solid rgba(30, 41, 59, .1); }
.dc-flag { display: inline-flex; align-items: center; gap: .25rem; margin-block-start: .25rem; padding: .125rem .5rem; border-radius: .25rem; font-size: var(--text-xs); font-weight: 500; border: 1px solid transparent; white-space: nowrap; }
.dc-flag .mud-icon-root { font-size: .75rem; }
.dc-flag.bad { color: #B91C1C; background: #FEF2F2; border-color: #FECACA; }
.dc-flag.info { color: #1D4ED8; background: #EFF6FF; border-color: #BFDBFE; padding: .25rem .625rem; border-radius: .375rem; margin: 0; }
.dc-detail { padding: 1.5rem 2rem; }
.dc-mini-tabs { display: flex; gap: .25rem; border-block-end: 1px solid #E5E7EB; margin-block-end: 1rem; }
.dc-mini-tabs button { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border: 0; border-block-end: 2px solid transparent; background: none; font: inherit; font-size: var(--text-sm); font-weight: 500; color: #4B5563; cursor: pointer; }
.dc-mini-tabs button:hover { color: #111827; }
.dc-mini-tabs button.active { color: var(--color-brand); border-block-end-color: var(--color-brand); }
.dc-mini-tabs .mud-icon-root { font-size: 1rem; }
.dc-mini-tabs .pill { padding: .125rem .375rem; font-size: var(--text-xs); background: #E5E7EB; color: #4B5563; border-radius: .25rem; }
.dc-mini-tabs .active .pill { margin-inline-start: 0; }
.dc-detail-card { background: #fff; border: 1px solid #E5E7EB; border-radius: .5rem; overflow-x: auto; }
.dc-detail-empty { padding: 2rem 1.5rem; text-align: center; }
.dc-detail-empty .mud-icon-root { font-size: 2.5rem; color: #D1D5DB; margin-block-end: .75rem; }
.dc-detail-empty p { margin: 0; font-size: var(--text-sm); color: #4B5563; }
.dc-subtable { width: 100%; border-collapse: collapse; }
.dc-subtable thead tr { background: #F9FAFB; border-block-end: 1px solid #E5E7EB; }
.dc-subtable th { padding: .625rem 1rem; text-align: start; font-size: var(--text-xs); font-weight: 600; color: #374151; }
.dc-subtable td { padding: .75rem 1rem; font-size: var(--text-sm); color: #4B5563; }
.dc-subtable tbody tr + tr { border-block-start: 1px solid #F3F4F6; }
.dc-subtable tbody tr:hover { background: #F9FAFB; }
.dc-doc-link { font-weight: 500; color: #2563EB; text-decoration: none; }
.dc-doc-link:hover { color: #1D4ED8; text-decoration: underline; }
.dc-date { display: inline-flex; align-items: center; gap: .375rem; }
.dc-date .mud-icon-root { font-size: .875rem; color: #9CA3AF; }
.dc-table .dc-subtable th { padding: .625rem 1rem; text-transform: none; letter-spacing: 0; font-size: var(--text-xs); font-weight: 600; color: #374151; }
.dc-table .dc-subtable td { padding: .75rem 1rem; }
.dc-table .dc-subtable tbody tr + tr { border-block-start: 1px solid #F3F4F6; }

/* Gerenciar Documentos (DocumentosCadastradosScreen) */
.dc-btn-outline.shadow { box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.dc-tabs-bar.flush { padding-inline: 0; margin-block-end: 1rem; }
.dc-filter-field { display: flex; flex-direction: column; gap: .5rem; }
.dc-filter-field > span { font-size: var(--text-sm); font-weight: 500; color: #111827; }

/* Lista suspensa com pesquisa (SearchSelect) */
.dc-ss { position: relative; min-width: 0; }
.dc-filter-panel .dc-ss, .dc-filter-field .dc-ss { width: 100%; }
.dc-ss-trigger { display: flex; align-items: center; gap: .5rem; width: 100%; text-align: start; cursor: pointer; }
.dc-ss-trigger.open { border-color: transparent; box-shadow: 0 0 0 2px var(--color-brand); }
.dc-ss-trigger:disabled { cursor: default; background: #F3F4F6; }
.dc-ss-trigger .dc-ss-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-ss-trigger .dc-ss-text.placeholder { color: #6B7280; }
.dc-ss-trigger .dc-ss-icon { font-size: 1.125rem; color: #6B7280; }
.dc-ss-trigger .dc-ss-caret { font-size: 1.25rem; color: #6B7280; margin-inline-end: -.5rem; }
.dc-ss-backdrop { position: fixed; inset: 0; z-index: 1090; }
.dc-ss-pop { position: absolute; inset-inline-start: 0; top: calc(100% + 4px); z-index: 1100; width: max(100%, 18rem); max-width: min(28rem, calc(100vw - 2rem)); background: #fff; border: 1px solid #E5E7EB; border-radius: .5rem; box-shadow: 0 10px 25px rgba(0, 0, 0, .12); overflow: hidden; }
.dc-ss-search { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border-block-end: 1px solid #E5E7EB; color: #6B7280; }
.dc-ss-search .mud-icon-root { font-size: 1.125rem; }
.dc-ss-search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: var(--text-sm); color: #111827; background: transparent; padding: .25rem 0; }
.dc-ss-list { list-style: none; margin: 0; padding: .25rem 0; max-height: 18rem; overflow-y: auto; }
.dc-ss-option { display: flex; align-items: flex-start; gap: .5rem; padding: .5rem .75rem; font-size: var(--text-sm); color: #111827; cursor: pointer; }
.dc-ss-option.active { background: #F3F4F6; }
.dc-ss-option.selected { font-weight: 600; }
.dc-ss-option.all { color: #4B5563; border-block-end: 1px solid #F3F4F6; }
.dc-ss-option .dc-ss-label { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.dc-ss-option .sub { font-size: var(--text-xs); font-weight: 400; color: #6B7280; }
.dc-ss-check { width: 1rem; height: 1rem; flex-shrink: 0; margin-block-start: .125rem; border: 1px solid #9CA3AF; border-radius: .25rem; display: inline-flex; align-items: center; justify-content: center; }
.dc-ss-option.selected .dc-ss-check { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
.dc-ss-check .mud-icon-root { font-size: .875rem; }
.dc-ss-empty { padding: .5rem .75rem; font-size: var(--text-xs); color: #6B7280; }
.dc-collapse-card:has(.dc-ss-pop) { overflow: visible; }
.dc-table.soft th { text-transform: none; letter-spacing: 0; font-size: var(--text-sm); font-weight: 500; color: #111827; padding: .75rem 1rem; }
.dc-table.soft td { padding: .75rem 1rem; }
.dc-table .doc-name { font-size: var(--text-sm); font-weight: 500; color: #111827; }
.dc-table tbody tr.inactive .doc-name { color: #9CA3AF; font-weight: 400; }
.dc-yesno { display: inline-flex; align-items: center; gap: .25rem; padding: .125rem .5rem; border-radius: 999px; font-size: var(--text-xs); font-weight: 500; background: #F3F4F6; color: #374151; }
.dc-yesno .mud-icon-root { font-size: .75rem; }
.dc-yesno.yes { background: #DCFCE7; color: #15803D; }
.dc-group-chip { display: inline-flex; align-items: center; gap: .25rem; padding: .125rem .375rem; border-radius: .25rem; font-size: var(--text-xs); background: #F3F4F6; color: #374151; border: 1px solid #E5E7EB; white-space: nowrap; }
.dc-group-chip .mud-icon-root { font-size: .75rem; }
.dc-row-actions { display: inline-flex; align-items: center; gap: .5rem; }
.dc-row-actions a, .dc-row-actions button { display: inline-flex; padding: .25rem; border: 0; background: none; border-radius: .25rem; color: #9CA3AF; cursor: pointer; text-decoration: none; }
.dc-row-actions a:hover, .dc-row-actions button:hover { color: #374151; background: #F3F4F6; }
.dc-row-actions .mud-icon-root { font-size: 1.125rem; }

/* Formulário no estilo do protótipo (modal Cadastrar Documento) */
.dc-field-label { display: block; margin-block-end: .5rem; font-size: var(--text-sm); font-weight: 500; color: #111827; }
.req { color: #EF4444; }
.dc-input { width: 100%; box-sizing: border-box; height: 2.5rem; padding: 0 .75rem; border: 1px solid #D1D5DB; border-radius: .5rem; font: inherit; font-size: var(--text-sm); color: #111827; background: #fff; }
.dc-input::placeholder { color: #9CA3AF; }
.dc-input:focus { outline: none; border-color: transparent; box-shadow: 0 0 0 2px var(--color-brand); }
.dc-field-hint { margin-block-start: .375rem; font-size: var(--text-xs); color: #6B7280; }
.dc-toggle-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border-radius: .5rem; background: #F9FAFB; }
.dc-toggle-card .title { display: flex; align-items: center; gap: .375rem; font-size: var(--text-sm); font-weight: 500; color: #111827; }
.dc-toggle-card .title .mud-icon-root { font-size: 1rem; }
.dc-toggle-card .text { margin-block-start: .25rem; font-size: var(--text-xs); color: #4B5563; }
.dc-toggle-card.warn { background: #FFFBEB; border: 1px solid #FDE68A; }
.dc-toggle-card.warn .title { color: #78350F; }
.dc-toggle-card.warn .title .mud-icon-root { color: #D97706; }
.dc-toggle-card.warn .text { color: #92400E; }
.dc-choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .75rem; }
.dc-choice { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; border: 2px solid #E5E7EB; border-radius: .5rem; background: #fff; text-align: start; font: inherit; cursor: pointer; transition: border-color .15s, background-color .15s; }
.dc-choice:hover { border-color: #D1D5DB; }
.dc-choice.selected { border-color: var(--color-brand); background: #F3F4F6; }
.dc-choice .mark { width: 1rem; height: 1rem; margin-block-start: .125rem; border: 1px solid #9CA3AF; border-radius: .25rem; flex-shrink: 0; background: #fff; }
.dc-choice.selected .mark { border-color: var(--color-brand); background: var(--color-brand); box-shadow: inset 0 0 0 3px #fff; }
.dc-choice .title { display: block; font-size: var(--text-sm); font-weight: 500; color: #111827; }
.dc-choice .text { display: block; margin-block-start: .25rem; font-size: var(--text-xs); color: #4B5563; }
.dc-choice.radio .mark { border-radius: 50%; }
.dc-choice:disabled { cursor: default; opacity: .7; }
.dc-video-file { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; max-width: 40rem; padding: .875rem 1rem; border: 1px solid #E5E7EB; border-radius: .5rem; background: #F9FAFB; }
.dc-video-file > .mud-icon-root { color: #4B5563; }
.dc-video-file .name { font-size: var(--text-sm); font-weight: 500; color: #111827; overflow-wrap: anywhere; }
.dc-link-box { padding: .75rem; border: 1px solid #E5E7EB; border-radius: .5rem; background: #F9FAFB; }
.dc-video-preview { display: block; width: 100%; max-width: 40rem; aspect-ratio: 16 / 9; background: #000; border-radius: .5rem; }

/* Grupos: assistente (Editar Grupo) e listas de seleção */
.dc-wizard-title { display: flex; align-items: center; gap: .5rem; font-size: var(--text-xl); font-weight: 600; color: #111827; }
.dc-wizard-title .mud-icon-root { font-size: 1.375rem; }
.dc-wizard-subtitle { margin-block-start: .25rem; font-size: var(--text-sm); color: #6B7280; }
.dc-wizard-actions { display: flex; justify-content: flex-end; gap: .5rem; width: 100%; padding: .5rem .5rem .75rem; }
.dc-stepper { display: flex; list-style: none; margin: 0 0 1.75rem; padding: 0; }
.dc-stepper li { flex: 1; position: relative; display: flex; justify-content: center; }
.dc-stepper li + li::before { content: ""; position: absolute; top: 1.25rem; inset-inline: calc(-50% + 2rem) calc(50% + 2rem); height: 2px; background: #E5E7EB; }
.dc-stepper li.done + li::before, .dc-stepper li.done + li.current::before { background: #16A34A; }
.dc-stepper button { display: flex; flex-direction: column; align-items: center; gap: .5rem; border: 0; background: none; font: inherit; cursor: pointer; padding: 0; }
.dc-stepper button:disabled { cursor: not-allowed; }
.dc-stepper .dot { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #E5E7EB; color: #6B7280; }
.dc-stepper .dot .mud-icon-root { font-size: 1.25rem; }
.dc-stepper .label { font-size: var(--text-xs); color: #6B7280; }
.dc-stepper li.current .dot { background: var(--color-brand); color: #fff; }
.dc-stepper li.done .dot { background: #16A34A; color: #fff; }
.dc-stepper li.current .label, .dc-stepper li.done .label { color: #111827; font-weight: 600; }
.dc-form-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.dc-textarea { height: auto; min-height: 5rem; padding: .625rem .75rem; resize: vertical; line-height: 1.5; }
.dc-picker { border: 2px solid var(--color-brand); border-radius: .5rem; overflow: hidden; background: #fff; }
.dc-picker-search { position: relative; border-block-end: 1px solid #E5E7EB; }
.dc-picker-search .mud-icon-root { position: absolute; inset-inline-start: .75rem; top: 50%; transform: translateY(-50%); color: #9CA3AF; font-size: 1.125rem; }
.dc-picker-search input { width: 100%; box-sizing: border-box; border: 0; padding: .75rem .75rem .75rem 2.5rem; font: inherit; font-size: var(--text-sm); outline: none; }
.dc-picker-list { max-height: 15rem; overflow-y: auto; }
.dc-picker-item { display: flex; align-items: center; gap: .75rem; padding: .625rem .75rem; cursor: pointer; border-block-end: 1px solid #F3F4F6; }
.dc-picker-item:last-child { border-block-end: 0; }
.dc-picker-item:hover, .dc-picker-item.selected { background: #F9FAFB; }
.dc-picker-item input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--color-brand); }
.dc-picker-item .text, .dc-selected-item .text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.dc-picker-item .name, .dc-selected-item .name { font-size: var(--text-sm); font-weight: 600; color: #111827; }
.dc-picker-item .meta, .dc-selected-item .meta { font-size: var(--text-xs); color: #6B7280; overflow: hidden; text-overflow: ellipsis; }
.dc-picker-empty { padding: 1.5rem; text-align: center; font-size: var(--text-sm); color: #6B7280; }
.dc-avatar--dark { width: 2.25rem; height: 2.25rem; background: var(--color-brand); font-size: .6875rem; }
.dc-dashed-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .625rem; border: 2px dashed #D1D5DB; border-radius: .5rem; background: none; font: inherit; font-size: var(--text-sm); font-weight: 500; color: #374151; cursor: pointer; }
.dc-dashed-btn:hover { border-color: #9CA3AF; background: #F9FAFB; }
.dc-dashed-btn .mud-icon-root { font-size: 1.125rem; }
.dc-inline-form { display: flex; flex-direction: column; gap: 1rem; padding: 1rem; border: 2px solid #BFDBFE; border-radius: .5rem; background: #EFF6FF; }
.dc-inline-form .title { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: #111827; }
.dc-inline-form .title .mud-icon-root { color: #2563EB; }
.dc-inline-form .actions { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.dc-inline-form .actions > * { justify-content: center; }
.dc-selected-list { display: flex; flex-direction: column; gap: .5rem; }
.dc-selected-list.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.dc-selected-item { display: flex; align-items: center; gap: .75rem; padding: .75rem; border: 1px solid #E5E7EB; border-radius: .5rem; background: #F9FAFB; }
.dc-selected-item button { border: 0; background: none; color: #9CA3AF; cursor: pointer; display: inline-flex; padding: .25rem; }
.dc-selected-item button:hover { color: #4B5563; }
.dc-doc-pill { display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .75rem; border-radius: 999px; font-size: var(--text-sm); background: #F3F4F6; border: 1px solid #E5E7EB; color: #111827; }
.dc-doc-pill .mud-icon-root { font-size: 1rem; color: #6B7280; }
.dc-info-box, .dc-warn-box { display: flex; gap: .5rem; align-items: flex-start; padding: .75rem 1rem; border-radius: .5rem; font-size: var(--text-sm); }
.dc-info-box { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E3A8A; }
.dc-info-box .mud-icon-root { color: #2563EB; font-size: 1.125rem; flex-shrink: 0; }
.dc-warn-box { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; margin-block-start: 1rem; }
.dc-warn-box .mud-icon-root { color: #D97706; font-size: 1.125rem; flex-shrink: 0; }
.dc-confirm-text { margin: 0 0 1rem; font-size: var(--text-sm); color: #4B5563; }
.dc-summary { padding: 1rem; border: 1px solid #E5E7EB; border-radius: .5rem; background: #F9FAFB; }
.dc-summary .label { font-size: var(--text-xs); color: #6B7280; }
.dc-summary .value { font-size: var(--text-sm); color: #111827; margin-block-start: .125rem; }
.dc-summary .value.strong { font-weight: 600; }
.dc-summary-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-block-start: 1rem; padding-block-start: 1rem; border-block-start: 1px solid #E5E7EB; }
.dc-summary-stats .stat { font-size: var(--text-xl); font-weight: 700; color: #111827; }
.dc-group-name { display: inline-flex; align-items: center; gap: .5rem; }
.dc-group-name > .mud-icon-root:first-child { font-size: 1.125rem; color: #374151; }
.dc-group-name .chev { font-size: 1rem; color: #9CA3AF; }
.dc-table tbody tr.inactive .dc-group-name .doc-name { color: #9CA3AF; }

/* Gerenciar Integrações (resultados) */
.dc-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin-block-end: 1.25rem; }
.dc-stat { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; background: #fff; border: 1px solid #E5E7EB; border-radius: .5rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.dc-stat .label { font-size: var(--text-sm); color: #4B5563; }
.dc-stat .value { font-size: var(--text-2xl); font-weight: 700; color: #111827; }
.dc-stat .value.ok { color: #15803D; }
.dc-stat .value.bad { color: #B91C1C; }
.dc-stat .icon, .dc-info-card .icon, .dc-result-head .icon { width: 2.75rem; height: 2.75rem; border-radius: .5rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dc-stat .icon .mud-icon-root, .dc-info-card .icon .mud-icon-root, .dc-result-head .icon .mud-icon-root { font-size: 1.375rem; }
.icon.blue { background: #DBEAFE; color: #2563EB; }
.icon.green { background: #DCFCE7; color: #16A34A; }
.icon.red { background: #FEE2E2; color: #DC2626; }
.icon.purple { background: #F3E8FF; color: #9333EA; }
.icon.amber { background: #FEF3C7; color: #D97706; }
.dc-inline-filter { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--text-sm); font-weight: 600; color: #111827; }
.dc-score { display: inline-flex; align-items: center; justify-content: center; min-width: 3rem; padding: .25rem .5rem; border-radius: .375rem; font-weight: 700; font-size: var(--text-base); }
.dc-score.green { background: #F0FDF4; color: #15803D; }
.dc-score.blue { background: #EFF6FF; color: #1D4ED8; }
.dc-score.amber { background: #FFFBEB; color: #B45309; }
.dc-score.red { background: #FEF2F2; color: #B91C1C; }
.dc-score.gray { background: #F3F4F6; color: #6B7280; }
.dc-link-actions { display: inline-flex; flex-direction: column; align-items: center; gap: .5rem; }
.dc-link-actions a, .dc-link-actions button { display: inline-flex; align-items: center; gap: .375rem; border: 0; background: none; font: inherit; font-size: var(--text-sm); font-weight: 500; color: #374151; cursor: pointer; text-decoration: none; padding: 0; }
.dc-link-actions .mud-icon-root { font-size: 1rem; }
.dc-link-actions .blue { color: #2563EB; }
.dc-link-actions a:hover, .dc-link-actions button:hover { text-decoration: underline; }
.dc-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; margin-block-end: 1rem; }
.dc-info-card { display: flex; gap: .75rem; padding: .875rem 1rem; border: 1px solid #E5E7EB; border-radius: .5rem; background: #F9FAFB; }
.dc-info-card .icon { width: 2.25rem; height: 2.25rem; }
.dc-info-card .icon .mud-icon-root { font-size: 1.125rem; }
.dc-info-card .label, .dc-result-head .label { font-size: var(--text-xs); color: #6B7280; }
.dc-info-card .value { font-size: var(--text-sm); font-weight: 600; color: #111827; }
.dc-info-card .sub { font-size: var(--text-xs); color: #4B5563; }
.dc-result-box { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem; border: 1px solid #E5E7EB; border-radius: .5rem; background: #F9FAFB; }
.dc-result-head { display: flex; align-items: center; gap: 1rem; padding-block-end: 1rem; border-block-end: 1px solid #E5E7EB; }
.dc-result-pill { display: inline-flex; align-items: center; gap: .375rem; margin-block-start: .25rem; padding: .25rem .75rem; border-radius: 999px; font-size: var(--text-sm); font-weight: 600; background: #F3F4F6; color: #374151; }
.dc-result-pill.ok { background: #DCFCE7; color: #15803D; }
.dc-result-pill.bad { background: #FEE2E2; color: #B91C1C; }
.dc-result-pill .mud-icon-root { font-size: 1rem; }
.dc-result-score { font-size: 2rem; font-weight: 700; line-height: 1.1; }
.dc-result-score.ok { color: #15803D; }
.dc-result-score.bad { color: #B91C1C; }
.dc-result-meta { font-size: var(--text-sm); color: #4B5563; }

/* Configurar Teste de Integração */
.dc-section { padding: 1.5rem; margin-block-end: 1.25rem; }
.dc-section-head { display: flex; align-items: center; gap: .5rem; margin: 0 0 1rem; font-size: var(--text-lg); font-weight: 600; color: #111827; }
.dc-section-head .mud-icon-root { font-size: 1.25rem; }
.dc-section-head .muted-count { font-size: var(--text-sm); font-weight: 400; color: #6B7280; }
.dc-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem; }
select.dc-input { cursor: pointer; }
.dc-approval-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
.dc-approval-box { padding: 1rem; border-radius: .5rem; background: #F9FAFB; }
.dc-approval-box.blue { background: #EFF6FF; }
.dc-approval-box.green { background: #F0FDF4; }
.dc-approval-box .label { font-size: var(--text-sm); color: #4B5563; }
.dc-approval-box .stat, .dc-review-box .stat { font-size: var(--text-2xl); font-weight: 700; color: #111827; }
.dc-dashed-empty { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 3rem 1rem; border: 2px dashed #D1D5DB; border-radius: .5rem; text-align: center; }
.dc-dashed-empty > .mud-icon-root { font-size: 2.5rem; color: #D1D5DB; }
.dc-dashed-empty .title { font-weight: 500; color: #374151; }
.dc-dashed-empty .text { font-size: var(--text-sm); color: #6B7280; margin-block-end: .5rem; }
.dc-question-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; border: 1px solid #E5E7EB; border-radius: .5rem; background: #fff; }
.dc-question-card .num { width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--color-brand); color: #fff; font-size: var(--text-sm); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dc-question-card .text { font-weight: 500; color: #111827; }
.dc-row-actions button:disabled { opacity: .35; cursor: not-allowed; }
.dc-option-card { display: flex; flex-direction: column; gap: .5rem; padding: .75rem; border: 1px solid #E5E7EB; border-radius: .5rem; background: #fff; }
.dc-option-card.correct { border-color: #BBF7D0; }
.dc-option-card .label { font-size: var(--text-xs); font-weight: 500; color: #374151; }
.dc-option-card .remove { border: 0; background: none; color: #9CA3AF; cursor: pointer; display: inline-flex; }
.dc-range { width: 100%; accent-color: #2563EB; }
.dc-review-box { padding: .75rem 1rem; border-radius: .5rem; background: #F9FAFB; font-size: var(--text-sm); color: #111827; }
.dc-review-option { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .75rem 1rem; border: 1px solid #E5E7EB; border-radius: .5rem; background: #F9FAFB; font-size: var(--text-sm); }
.dc-review-option.correct { background: #F0FDF4; border-color: #BBF7D0; }

/* ---------- Presets (protótipo GerenciarPresetsScreen) ---------- */
.dc-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: var(--text-sm); color: #111827; }
.dc-input.dc-code { font-size: var(--text-sm); }
.dc-doc-meta { display: flex; flex-wrap: wrap; gap: .75rem; margin-block-start: .25rem; font-size: var(--text-xs); color: #6B7280; }
.dc-doc-meta > span { display: inline-flex; align-items: center; gap: .25rem; }
.dc-doc-meta .mud-icon-root { font-size: .875rem; }
.dc-chip-dark, .dc-chip-blue { display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .75rem; border-radius: 999px; font-size: var(--text-sm); font-weight: 500; }
.dc-chip-dark { background: var(--color-brand); color: #fff; }
.dc-chip-blue { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1D4ED8; padding-block: .25rem; }
.dc-chip-dark .mud-icon-root, .dc-chip-blue .mud-icon-root { font-size: 1rem; }
.dc-chip-dark button, .dc-chip-blue button { border: 0; background: none; color: inherit; cursor: pointer; display: inline-flex; padding: 0; margin-inline-start: .25rem; opacity: .85; }
.dc-chip-dark button:hover, .dc-chip-blue button:hover { opacity: 1; }
.dc-chip-blue .order { display: inline-flex; align-items: center; justify-content: center; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: #2563EB; color: #fff; font-size: .6875rem; font-weight: 600; }
.dc-radio-list { display: flex; flex-direction: column; gap: .75rem; }
.dc-radio-card { display: flex; align-items: flex-start; justify-content: flex-start; gap: .75rem; width: 100%; padding: 1rem; border: 1px solid #E5E7EB; border-radius: .5rem; background: #fff; font: inherit; text-align: start; cursor: pointer; }
.dc-radio-card:hover { background: #F9FAFB; }
.dc-radio-card.selected { border-color: var(--color-brand); background: #F9FAFB; }
.dc-radio-card .radio { flex-shrink: 0; width: 1rem; height: 1rem; margin-block-start: .1875rem; border: 1px solid #D1D5DB; border-radius: 50%; background: #fff; box-sizing: border-box; }
.dc-radio-card.selected .radio { border: 0; background: var(--color-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.5' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / .75rem no-repeat; }
.dc-radio-card .text { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: .25rem; }
.dc-radio-card .name { font-size: var(--text-sm); font-weight: 500; color: #111827; }
.dc-radio-card .meta { font-size: var(--text-xs); color: #6B7280; }
.dc-review-card { padding: .75rem 1rem; border: 1px solid #E5E7EB; border-radius: .5rem; background: #fff; }
.dc-review-card .name { font-size: var(--text-sm); font-weight: 600; color: #111827; }
.dc-review-card > .meta { margin-block-start: .25rem; font-size: var(--text-xs); color: #6B7280; }

/* ---------- Relatórios & Auditoria (protótipo RelatoriosScreen) ---------- */
.dc-collapse-card { background: #fff; border: 1px solid #E5E7EB; border-radius: .5rem; margin-block-end: 1.5rem; overflow: hidden; }
.dc-collapse-card > .head { display: flex; align-items: center; gap: .625rem; width: 100%; padding: 1rem 1.25rem; border: 0; background: none; font: inherit; cursor: pointer; text-align: start; }
.dc-collapse-card > .head .lead { font-size: 1.125rem; color: #374151; }
.dc-collapse-card > .head .title { font-size: var(--text-base); font-weight: 600; color: #111827; }
.dc-collapse-card > .head .summary { font-size: var(--text-xs); color: #6B7280; background: #F3F4F6; border-radius: 999px; padding: .125rem .625rem; }
.dc-collapse-card > .head .chev { margin-inline-start: auto; color: #6B7280; }
.dc-collapse-card > .body { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem; border-block-start: 1px solid #E5E7EB; }
.dc-collapse-card > .body .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; }
.dc-collapse-card select.dc-input { padding-inline: .625rem; }
.dc-subtabs { display: flex; gap: 0; width: 100%; padding-inline: .5rem; border-block-end: 1px solid #E5E7EB; margin: 0; }
.dc-subtabs .dc-tab { padding: .875rem 1.125rem; }
.dc-report-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-block-end: 1rem; }
.dc-report-toolbar .dc-result-count { margin: 0; }
.dc-detail-title { padding-inline-start: .625rem; border-inline-start: 3px solid var(--color-brand); font-size: var(--text-base); font-weight: 600; color: #111827; }
.dc-detail-subtitle { margin: .25rem 0 1rem .875rem; font-size: var(--text-xs); color: #6B7280; }
.dc-change-table { background: #fff; border: 1px solid #E5E7EB; border-radius: .5rem; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.dc-change-table td.field { font-weight: 600; color: #111827; }
.dc-change-table td.old { background: #FEF2F2; color: #DC2626; }
.dc-change-table td.new { color: #111827; word-break: break-word; }
.dc-detail-meta { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; margin-block-start: 1rem; font-size: var(--text-sm); color: #6B7280; }
.dc-detail-meta strong { color: #111827; font-weight: 600; }
.dc-view-link { display: inline-flex; align-items: center; gap: .25rem; font-size: var(--text-sm); font-weight: 500; color: #111827; text-decoration: none; }
.dc-view-link .mud-icon-root { font-size: 1rem; }
.dc-view-link:hover { text-decoration: underline; }
.dc-format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.dc-format-card { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: 1.25rem .75rem; border: 2px solid #E5E7EB; border-radius: .5rem; background: #fff; font: inherit; cursor: pointer; }
.dc-format-card:hover { border-color: var(--color-brand); background: #F9FAFB; }
.dc-format-card .mud-icon-root { font-size: 1.5rem; color: #4B5563; margin-block-end: .25rem; }
.dc-format-card .name { font-size: var(--text-sm); font-weight: 600; color: #111827; }
.dc-format-card .text { font-size: var(--text-xs); color: #6B7280; }
.dc-progress { display: flex; align-items: center; gap: .5rem; }
.dc-progress .bar { width: 5rem; height: .375rem; border-radius: 999px; background: #E5E7EB; overflow: hidden; }
.dc-progress .bar > span { display: block; height: 100%; border-radius: inherit; }
.dc-progress .ok { background: #16A34A; }
.dc-progress .warn { background: #F59E0B; }
.dc-progress .bad { background: #DC2626; }

/* Campo de data dos filtros (DateFilter): input nativo, largura suficiente para dd/mm/aaaa ou mm/dd/yyyy + ícone. */
.dc-date-filter { display: inline-flex; flex-direction: column; gap: .25rem; font-size: var(--text-xs); color: #6B7280; }
.dc-date-filter .dc-input { width: 10.5rem; height: 2.5rem; padding-inline: .625rem; font-size: var(--text-sm); color: #111827; }

/* [R16] Trocar conta (menu do perfil) */
.dc-account-option { display: flex; align-items: flex-start; gap: .5rem; width: 100%; padding: .375rem .5rem; border: 0; border-radius: .375rem; background: none; font: inherit; text-align: start; color: #374151; cursor: pointer; }
.dc-account-option:hover { background: #F3F4F6; }
.dc-account-option.current { cursor: default; color: #111827; background: #F9FAFB; }
.dc-account-option .mud-icon-root { margin-block-start: .125rem; flex-shrink: 0; }
.dc-account-option > span { display: flex; flex-direction: column; min-width: 0; }
.dc-account-option .name { font-size: var(--text-sm); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-account-option .meta { font-size: var(--text-xs); color: #6B7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Telas migradas para o layout novo (Empresas, Contrato, Documentos, Envios). */
.dc-btn-outline.danger { color: #B91C1C; border-color: #FECACA; }
.dc-btn-outline.danger:hover { background: #FEF2F2; }
.dc-table tbody tr.inactive .dc-entity-text .name { color: #9CA3AF; font-weight: 400; }
.dc-entity-text .sub { font-size: var(--text-xs); color: #6B7280; }

/* Tela da empresa (layout novo): rótulo acima do título, faixa de dados, aviso de inativa, legenda e seções de informações. */
.dc-page-header .overline { font-size: var(--text-xs); font-weight: 500; color: #6B7280; text-transform: uppercase; letter-spacing: .04em; margin-block-end: .125rem; }
.dc-banner { display: flex; gap: .75rem; align-items: flex-start; padding: .75rem 1rem; border-radius: .5rem; border: 1px solid #E5E7EB; background: #F9FAFB; color: #374151; font-size: var(--text-sm); margin-block-end: 1.25rem; }
.dc-banner.warn { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.dc-banner > .mud-icon-root { flex-shrink: 0; font-size: 1.25rem; }
.dc-company-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem 1.5rem; padding: 1rem 1.25rem; border: 1px solid #E5E7EB; border-radius: .75rem; background: #fff; margin-block-end: 1.5rem; }
.dc-company-strip .label { font-size: var(--text-xs); color: #6B7280; margin-block-end: .25rem; }
.dc-company-strip .value { font-size: var(--text-sm); font-weight: 500; color: #111827; overflow-wrap: anywhere; display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.dc-company-strip .more { font-size: var(--text-xs); font-weight: 500; color: var(--color-brand); text-decoration: underline; }
.dc-legend { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: var(--text-sm); color: #4B5563; margin: -.5rem 0 1rem; }
.dc-legend > span { display: inline-flex; align-items: center; gap: .375rem; }
.dc-legend .dot { width: .625rem; height: .625rem; border-radius: 50%; background: #9CA3AF; }
.dc-legend .dot.ok { background: #16A34A; }
.dc-legend .dot.warn { background: #F59E0B; }
.dc-legend .dot.bad { background: #DC2626; }
.dc-info-section { border: 1px solid #E5E7EB; border-radius: .75rem; background: #fff; padding: 1.25rem; margin-block-end: 1.25rem; }
.dc-info-section > h2 { display: flex; align-items: center; gap: .5rem; font-size: var(--text-base); font-weight: 600; margin: 0 0 1rem; color: #111827; }
.dc-info-section > h2 .mud-icon-root { color: #6B7280; font-size: 1.25rem; }
.dc-info-section h3 { font-size: var(--text-sm); font-weight: 600; color: #374151; margin: 0 0 .5rem; }
.dc-info-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; }
.dc-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem 1.5rem; margin: 0; }
.dc-fields dt { font-size: var(--text-xs); color: #6B7280; margin-block-end: .25rem; }
.dc-fields dd { margin: 0; font-size: var(--text-sm); font-weight: 500; color: #111827; overflow-wrap: anywhere; }
.dc-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .375rem; font-size: var(--text-sm); color: #111827; }
.dc-contact-list li { display: flex; align-items: center; gap: .5rem; }
.dc-contact-list .mud-icon-root { color: #9CA3AF; }
.dc-list-edit { display: flex; align-items: center; gap: .25rem; margin-block-end: .5rem; }
.dc-list-edit .mud-input-control { margin: 0; }
.dc-info-section p.muted { color: #9CA3AF; margin: 0; }

/* Requerer documentos (diálogo). */
.dc-request-list { list-style: none; margin: 0; padding: 0; border: 1px solid #E5E7EB; border-radius: .5rem; max-height: 18rem; overflow-y: auto; }
.dc-request-list li { border-block-end: 1px solid #F3F4F6; }
.dc-request-list li:last-child { border-block-end: 0; }
.dc-request-list li.empty { padding: 1rem; color: #6B7280; font-size: var(--text-sm); text-align: center; }
.dc-request-list label { display: flex; gap: .75rem; align-items: flex-start; padding: .625rem .875rem; cursor: pointer; }
.dc-request-list label:hover { background: #F9FAFB; }
.dc-request-list li.disabled label { cursor: default; opacity: .6; }
.dc-request-list input[type=checkbox] { margin-block-start: .2rem; accent-color: var(--color-brand); width: 1rem; height: 1rem; }
.dc-request-list .text { display: grid; gap: .125rem; }
.dc-request-list .name { font-size: var(--text-sm); font-weight: 500; color: #111827; display: inline-flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.dc-request-list .meta { font-size: var(--text-xs); color: #6B7280; }
.dc-request-list.confirm li { padding: .75rem .875rem; display: grid; gap: .25rem; }
.dc-request-list .chips { display: flex; gap: .375rem; flex-wrap: wrap; }
.dc-request-chips { display: flex; gap: .25rem; flex-wrap: wrap; margin-block-start: .75rem; }
.dc-request-new { margin-block-start: 1rem; padding-block-start: 1rem; border-block-start: 1px solid #E5E7EB; }
.dc-request-new .dc-link-btn { padding: 0; color: var(--color-brand); font-weight: 500; }
.dc-request-new h3 { font-size: var(--text-sm); font-weight: 600; margin: 0 0 .75rem; }
.dc-request-new-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-block-start: .75rem; }
.dc-hint { font-size: var(--text-xs); color: #6B7280; margin-block-start: .375rem; }
.dc-dialog-text { font-size: var(--text-sm); color: #374151; margin: 0 0 .75rem; }
