/* Melhor Espaço — Design System interno */
:root{--ds-ink:#123d36;--ds-green:#145c49;--ds-deep:#0e3d32;--ds-muted:#71827a;--ds-line:#e3e9e3;--ds-soft:#e7f1eb;--ds-surface:#fff;--ds-bg:#f7f8f5;--ds-danger:#a24837;--ds-warning:#a06b18;--ds-success:#217d5c}
.dashboard-content{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ds-ink)}
.dashboard-content .muted{color:var(--ds-muted)!important;font-size:12px!important}
.dashboard-content>h1,.dashboard-content>h2,.dashboard-content>h3,.dashboard-content .internal-page>h1,.dashboard-content .internal-page>h2{font-weight:850!important;letter-spacing:-.05em!important;color:var(--ds-ink)!important;margin-top:0!important}
.dashboard-content>h1,.dashboard-content .internal-page>h1{font-size:clamp(28px,3.5vw,42px)!important;line-height:1.08!important;margin-bottom:8px!important}
.dashboard-content>h2,.dashboard-content .internal-page>h2{font-size:24px!important;margin:26px 0 12px!important}
.dashboard-content>p,.dashboard-content .internal-page>p{color:var(--ds-muted)!important;margin:0 0 24px!important}
.dashboard-content form:not(.bulk-bar):not(.filter-bar){display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:0 0 18px}
.dashboard-content form label,.dashboard-content .field label,.dashboard-content .filter-field label{display:block;color:#557168!important;font-size:11px!important;font-weight:850!important;margin:0 0 6px!important;letter-spacing:.01em}
.dashboard-content form>label{display:flex;flex-direction:column;gap:6px}
.dashboard-content input:not([type=checkbox]):not([type=radio]),.dashboard-content select,.dashboard-content textarea{height:42px!important;min-height:42px!important;border:1px solid var(--ds-line)!important;border-radius:8px!important;background:var(--ds-surface)!important;color:#31584c!important;padding:0 12px!important;font:inherit!important;box-shadow:none!important}
.dashboard-content textarea{height:auto!important;min-height:100px!important;padding:12px!important}
.dashboard-content input[type=date]{min-width:150px!important}
.dashboard-content input:focus,.dashboard-content select:focus,.dashboard-content textarea:focus{outline:3px solid #dcefe5!important;border-color:#61a68d!important}
.dashboard-content button.btn,.dashboard-content a.btn{height:42px!important;min-height:42px!important;border:0!important;border-radius:8px!important;padding:0 16px!important;background:var(--ds-green)!important;color:#fff!important;font-size:12px!important;font-weight:800!important;box-shadow:none!important;white-space:nowrap}
.dashboard-content button.btn:hover,.dashboard-content a.btn:hover{background:#0a4d3d!important}
.dashboard-content button.btn.secondary,.dashboard-content a.btn.secondary{background:var(--ds-soft)!important;color:var(--ds-green)!important}
.dashboard-content button.btn.ghost,.dashboard-content a.btn.ghost{background:transparent!important;color:var(--ds-green)!important}
.dashboard-content .filter-bar{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(165px,1fr))!important;gap:10px!important;align-items:end!important;margin:0 0 12px!important}
.dashboard-content .filter-field{min-width:0}
.dashboard-content .filter-bar>.btn{width:auto!important}
.dashboard-content .bulk-bar{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin:12px 0 22px!important}
.dashboard-content .bulk-bar input{flex:1;min-width:220px}
.dashboard-content .bulk-bar select{min-width:180px}
.dashboard-content table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;background:var(--ds-surface)!important;border:1px solid var(--ds-line)!important;border-radius:10px!important;overflow:hidden!important;font-size:12px!important}
.dashboard-content table th{background:#f8faf8!important;color:#708179!important;text-align:left!important;text-transform:uppercase!important;letter-spacing:.07em!important;font-size:10px!important;font-weight:850!important;padding:13px!important;border-bottom:1px solid var(--ds-line)!important;white-space:nowrap!important}
.dashboard-content table td{padding:13px!important;border-bottom:1px solid #edf1ed!important;color:#31584c!important;vertical-align:middle!important;line-height:1.45!important}
.dashboard-content table tr:last-child td{border-bottom:0!important}.dashboard-content table tbody tr:hover{background:#fbfdfb!important}
.dashboard-content .metric{display:block!important;background:var(--ds-surface)!important;border:1px solid var(--ds-line)!important;border-radius:10px!important;padding:16px 18px!important;min-width:145px!important}
.dashboard-content .metric strong{display:block!important;font-size:28px!important;line-height:1!important;color:var(--ds-green)!important;letter-spacing:-.05em!important}
.dashboard-content .metric span{display:block!important;margin-top:8px!important;color:var(--ds-muted)!important;font-size:11px!important;line-height:1.35!important}
.dashboard-content article{background:var(--ds-surface)!important;border:1px solid var(--ds-line)!important;border-radius:10px!important;padding:16px!important;margin:10px 0!important;line-height:1.5!important}
.dashboard-content article strong{color:var(--ds-ink);line-height:1.35}
.dashboard-content .alert,.dashboard-content .ok{border-radius:9px!important;padding:13px 15px!important;font-size:12px!important;line-height:1.45!important}
.dashboard-content .status-pill{display:inline-block!important;border-radius:99px!important;padding:5px 8px!important;font-size:10px!important;line-height:1!important;white-space:nowrap!important}
.dashboard-content .empty-state{padding:35px 0!important;display:flex!important;flex-direction:column!important;gap:6px!important;color:var(--ds-muted)!important}
.dashboard-content details{margin-top:10px;border-top:1px solid #edf1ed;padding-top:10px}.dashboard-content pre{font-size:11px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;background:#f8faf8;padding:10px;border-radius:7px}
.dashboard-content .links{display:flex!important;gap:9px!important;flex-wrap:wrap!important;margin-top:22px!important}.dashboard-content .links:empty{display:none!important}
.dashboard-content .media-table{border:1px solid var(--ds-line)!important;border-radius:10px!important;overflow:hidden!important;background:#fff!important}.dashboard-content .media-table-head{background:#f8faf8!important;color:#708179!important}.dashboard-content .media-row{border-top:1px solid #edf1ed!important}
@media(max-width:700px){.dashboard-content form:not(.bulk-bar):not(.filter-bar){align-items:stretch}.dashboard-content form>label{flex:1;min-width:130px}.dashboard-content form>.btn{flex:none}.dashboard-content .filter-bar{grid-template-columns:1fr!important}.dashboard-content .filter-bar>.btn{width:100%!important}.dashboard-content .metric{min-width:130px!important;flex:1 1 130px!important}}

/* Padrão oficial de cabeçalho — referência: Relatórios */
.dashboard-content{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.dashboard-content .muted{color:var(--muted,#71827a)!important;font-size:13px!important;font-weight:400!important;line-height:normal!important;letter-spacing:normal!important;text-transform:none!important;margin:0!important;text-align:left!important}
.dashboard-content h1{color:var(--ink,#123d36)!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:clamp(32px,4vw,54px)!important;letter-spacing:-.045em!important;line-height:1.03!important;font-weight:700!important;margin:0 0 12px!important;text-align:left!important;text-transform:none!important}
.dashboard-content .muted + h1{margin-top:0!important}
.dashboard-content .muted + h1 + p{margin-top:0!important}
:root{--muted:#71827a;--ink:#123d36;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
