/* V13 — visual unificado dos painéis; não altera fluxos nem impressão. */
@media screen {
    .main-content { min-width: 0; }
    .main-content .card, .main-content .list-card, .main-content .section-card,
    .main-content .pedidos-card {
        border: 1px solid var(--app-border, #e2e8f0);
        border-radius: 16px;
        box-shadow: 0 4px 18px rgba(15,23,42,.055);
    }
    .main-content .card-header, .main-content .list-card-header,
    .main-content .section-header { padding: 16px 18px; }
    .main-content .card-header h5, .main-content .section-header h3,
    .main-content .list-card-header h5 { font-weight: 650; letter-spacing: -.025em; }
    .main-content .btn { font-weight: 600; border-radius: 10px; }
    .main-content .form-control, .main-content .form-select { border-radius: 10px; }
    .main-content .table thead th, .main-content .table-custom thead th,
    .main-content .table-pedidos thead th { font-size: .78rem; letter-spacing: .025em; }
    .main-content :is(a,button,input,select,textarea,[tabindex]):focus-visible,
    .sidebar :is(a,button):focus-visible, .top-header :is(a,button):focus-visible {
        outline: 2px solid #ea580c; outline-offset: 3px;
    }
    .main-content .panel-v13-intro { margin: 0 0 20px; padding: 18px 20px;
        background: var(--app-surface,#fff); color: var(--app-text,#141a24);
        border: 1px solid var(--app-border,#e2e8f0); border-inline-start: 4px solid #ea580c;
        border-radius: 16px; }
    .panel-v13-intro h2 { font-size: clamp(1.15rem,2vw,1.55rem); font-weight: 700; margin: 0 0 4px; }
    .panel-v13-intro p { font-size: .875rem; color: var(--app-text-muted,#5c6b80); margin: 0; }
    .main-content :is(.admin-dashboard-inner,.garcom-dashboard-page,.proprietario-dashboard-page) .stats-grid,
    .main-content:is(.garcom-dashboard-page,.proprietario-dashboard-page) .stats-grid {
        gap: 16px; }
    .main-content .admin-dashboard-inner .stats-card,
    .main-content.garcom-dashboard-page .stats-card,
    .main-content.proprietario-dashboard-page .stat-card {
        border-radius: 16px; min-width: 0; box-shadow: 0 4px 18px rgba(15,23,42,.06);
        color: var(--app-text,#141a24); background: var(--app-surface,#fff);
    }
    .main-content .stats-number, .main-content .stat-info h3 { font-variant-numeric: tabular-nums; letter-spacing: -.035em; overflow-wrap: anywhere; }
    .main-content .stats-label, .main-content .stat-info p { overflow-wrap: anywhere; }
    .main-content .stats-content > div:first-child, .main-content .stat-info { min-width: 0; }
    .main-content .stats-icon, .main-content .stat-icon { flex-shrink: 0; }
    .main-content.proprietario-dashboard-page .welcome-card { border-radius: 18px; }
    .main-content .table-responsive { max-width: 100%; }
    @media (max-width: 575px) {
        .main-content .panel-v13-intro { padding: 14px; margin-bottom: 14px; }
        .main-content .card-header, .main-content .list-card-header, .main-content .section-header { padding: 12px; }
        .main-content .admin-dashboard-inner .stats-grid,
        .main-content.garcom-dashboard-page .stats-grid,
        .main-content.proprietario-dashboard-page .stats-grid { gap: 10px; grid-template-columns: minmax(0,1fr); }
    }
    @media (prefers-reduced-motion: reduce) {
        .main-content .card, .main-content .stats-card, .main-content .stat-card { transition: none; }
    }
}
