
/* Tema visual JudMov — base AdminLTE/Bootstrap 4 preservada. */
:root { --jm-blue:#3264e8; --jm-blue-dark:#2453c8; --jm-menu-blue:#3264e8; --jm-ink:#101a39; --jm-muted:#657084; --jm-line:#dfe5ef; --jm-bg:#f3f5fa; }
body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; font-size:16px; line-height:1.5; color:var(--jm-ink); background:var(--jm-bg); }
a { color:var(--jm-blue); } a:hover { color:var(--jm-blue-dark); }
.wrapper .content-wrapper { background:var(--jm-bg); }
.main-header.navbar { min-height:66px; padding:10px 18px; border-bottom:1px solid var(--jm-line); background:#fff; box-shadow:0 2px 10px rgba(16,26,57,.025); }
.main-header .nav-link { display:flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; border-radius:10px; color:var(--jm-muted) !important; }
.main-header .nav-link:hover { color:var(--jm-blue) !important; background:#edf2ff; }
.main-header .nav-link i { font-size:22px; }
.main-header .fa-bell { color:var(--jm-blue); }
.main-header .navbar-badge { background:var(--jm-blue); color:#fff; border:2px solid #fff; }
.judmov-mobile-brand { display:flex; align-items:center; margin-left:8px; min-width:0; }
.judmov-mobile-brand img { width:146px; max-width:100%; height:38px; object-fit:contain; }
.main-sidebar.sidebar-dark-primary { background:#fff; border-right:1px solid var(--jm-line); box-shadow:2px 0 12px rgba(16,26,57,.025) !important; }
.main-sidebar .brand-link { min-height:66px; display:flex; align-items:center; padding:14px 20px; border-bottom:1px solid var(--jm-line); }
.main-sidebar .brand-link img { width:158px; max-width:100%; max-height:40px; object-fit:contain; }
.main-sidebar .user-panel { border-bottom:1px solid var(--jm-line); color:var(--jm-muted); }
.main-sidebar .user-panel .info { overflow:hidden; padding-left:6px; }
.main-sidebar .user-panel a { color:var(--jm-ink); font-size:14px; overflow-wrap:anywhere; white-space:normal; }
.main-sidebar .user-panel a + a { color:var(--jm-muted); margin-top:5px; }
.main-sidebar .sidebar { padding:0 12px 24px; }
.main-sidebar .nav-sidebar > .nav-item > .nav-link { width:auto; min-height:46px; display:flex; align-items:center; gap:10px; padding:11px 12px; margin:3px 0; color:#566176; border-radius:10px; font-size:15px; }
.main-sidebar .nav-sidebar .nav-link:hover { color:var(--jm-blue); background:#edf2ff; }
.main-sidebar .nav-sidebar .nav-link.active { color:var(--jm-blue-dark) !important; background:#e1eaff !important; box-shadow:none !important; }
.main-sidebar .nav-icon { flex:0 0 22px; width:22px !important; margin-right:0 !important; font-size:21px !important; text-align:center; }
.main-sidebar .nav-sidebar .nav-link p { flex:1; margin:0; white-space:normal; }
.main-sidebar .nav-sidebar .nav-link .right { top:16px; right:10px; }
.main-sidebar .nav-header { color:#7c879b; padding:18px 12px 7px; font-size:11px; font-weight:700; letter-spacing:.09em; }
.main-sidebar .nav-header:empty { padding:4px; }
.main-sidebar .nav-treeview { padding-left:10px; }
.main-sidebar .nav-treeview > .nav-item > .nav-link { color:var(--jm-muted); padding:10px 12px; font-size:14px; border-radius:8px; }
.main-sidebar .nav-treeview > .nav-item > .nav-link:hover { background:#edf2ff; color:var(--jm-blue); }
.main-sidebar .nav-treeview .nav-icon { font-size:13px !important; }
.content-wrapper .content-header { padding:26px 24px 20px !important; }
.content-wrapper .content { padding:0 24px 24px; }
.content-wrapper .content-header h1 { color:var(--jm-ink); font-size:30px; font-weight:700; letter-spacing:-.025em; line-height:1.25; }
.content-wrapper .content-header p { color:var(--jm-muted) !important; font-size:16px; margin-top:7px; }
.content-wrapper .breadcrumb { background:transparent; font-size:14px; }
.text-muted { color:var(--jm-muted) !important; }
.btn { border-radius:9px; font-weight:600; padding:10px 16px; font-size:15px; line-height:1.35; }
.btn-sm { padding:8px 11px; font-size:14px; min-height:36px; }
.btn-xs { padding:5px 8px; font-size:13px; }
.btn-primary { background:var(--jm-blue); border-color:var(--jm-blue); }
.btn-primary:hover, .btn-primary:active { background:var(--jm-blue-dark) !important; border-color:var(--jm-blue-dark) !important; }
.btn-outline-primary { color:var(--jm-blue); border-color:#d4def4; background:#fff; }
.btn-outline-primary:hover { color:var(--jm-blue-dark); border-color:#b6c9ff; background:#edf2ff; }
.btn-outline-secondary { color:#59657a; border-color:var(--jm-line); background:#fff; }
.btn-outline-secondary:hover { background:#f3f5fa; color:var(--jm-ink); border-color:#c4cede; }
.btn-secondary { background:#627089; border-color:#627089; }
.btn:focus-visible, a:focus-visible { outline:3px solid #93b4ff; outline-offset:3px; }
.form-control, .custom-select, .input-group-text { min-height:44px; border-color:#d5ddea; border-radius:9px; color:#37445c; font-size:16px; }
.form-control:focus, .custom-select:focus { border-color:#7e9ef3; box-shadow:0 0 0 3px rgba(50,100,232,.13); }
.form-control::placeholder { color:#8790a1; opacity:1; }
.input-group-text { background:#f7f9fd; color:var(--jm-muted); }
.input-group > .form-control { min-width:0; }
textarea.form-control { min-height:100px; }
label { font-size:14px; color:#43506a; }
.form-control-sm { min-height:36px; font-size:14px; }
.select2-container--bootstrap4 .select2-selection { min-height:44px; border-radius:9px; border-color:#d5ddea; }
.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered { line-height:42px; }
.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow { height:42px; }
.card, .work-page .card { border:1px solid var(--jm-line); border-radius:13px; box-shadow:0 2px 9px rgba(16,26,57,.025); }
.card-header, .work-page .card-header { border-bottom:1px solid var(--jm-line); background:#fff; border-radius:13px 13px 0 0; padding:16px 18px; }
.card-title { color:var(--jm-ink); font-weight:600; }
.card-header.bg-primary, .card-header.bg-info { color:#fff; }
.card-header.bg-primary .card-title, .card-header.bg-info .card-title { color:inherit; }
.card-body { padding:20px; }
.card-footer { background:#fafbfe; border-top-color:var(--jm-line); border-radius:0 0 13px 13px; }
.modal-content { border:1px solid var(--jm-line); border-radius:14px; box-shadow:0 16px 60px rgba(16,26,57,.14); }
.modal-header { border-radius:13px 13px 0 0; }
.modal-footer { border-top-color:var(--jm-line); }
.dropdown-menu { border:1px solid var(--jm-line); border-radius:10px; padding:6px; box-shadow:0 8px 28px rgba(16,26,57,.1); }
.dropdown-item { padding:10px 12px; border-radius:6px; font-size:14px; }
.dropdown-item:hover { background:#edf2ff; }
.dropdown-item i { font-size:18px; }
.badge { border-radius:6px; font-weight:600; padding:4px 7px; }
.badge-primary { color:var(--jm-blue-dark); background:#e1eaff; }
.badge-light { background:#eef1f7; color:#59657a; }
.table { color:#43506a; }
.table thead th { border-bottom:1px solid var(--jm-line); background:#f8faff; color:#59657a; font-size:13px; }
.table td, .table th { border-top-color:#e7ecf4; vertical-align:middle; }
.table-striped tbody tr:nth-of-type(odd) { background:#fafbfe; }
.table-hover tbody tr:hover { background:#eef3ff; }
.list-group-item { border-color:#e7ecf4; padding:16px 18px; }
.main-footer { color:var(--jm-muted); border-top:1px solid var(--jm-line); font-size:13px; background:#fff; padding:16px 24px; }
/* As listas usam os mesmos dados, links, ações e ordem originais. */
.clientes-page .clients-search { padding:16px !important; border-color:var(--jm-line) !important; border-radius:13px !important; }
.clientes-page .clients-search form { max-width:none !important; gap:10px !important; flex-wrap:wrap; }
.clientes-page .clients-search .input-group { flex:1 1 300px; }
.clientes-page .clients-list, .processos-page .process-list, .advogados-page .lawyer-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; overflow:visible !important; border:0 !important; border-radius:0 !important; background:transparent !important; }
.clientes-page .client-row, .processos-page .process-row, .advogados-page .lawyer-row { display:flex !important; flex-direction:column; align-items:stretch !important; gap:10px !important; min-width:0; padding:18px !important; border:1px solid var(--jm-line) !important; border-radius:13px; background:#fff; box-shadow:0 2px 7px rgba(16,26,57,.02); }
.processos-page .process-row[hidden] { display:none !important; }
.clientes-page .client-row:hover, .processos-page .process-row:hover, .advogados-page .lawyer-row:hover { background:#fff !important; border-color:#c8d6f4 !important; }
.clientes-page .client-identity { display:grid; grid-template-columns:40px minmax(0,1fr); column-gap:12px; align-items:center; }
.clientes-page .client-identity::before { grid-column:1; grid-row:1 / span 3; align-self:start; }
.clientes-page .client-identity > * { grid-column:2; min-width:0; }
.clientes-page .client-identity > .badge { justify-self:start; margin-bottom:3px; }
.advogados-page .lawyer-identity { display:flex; align-items:center; gap:12px; }
.advogados-page .lawyer-avatar { margin-right:0; }
.clientes-page .client-title, .processos-page .process-title, .advogados-page .lawyer-name { color:var(--jm-ink) !important; font-size:18px !important; font-weight:700 !important; line-height:1.35 !important; overflow-wrap:anywhere; }
.clientes-page .client-email { color:var(--jm-muted) !important; font-size:14px !important; white-space:normal !important; overflow-wrap:anywhere; }
.clientes-page .client-contact, .clientes-page .client-document, .processos-page .process-owner, .processos-page .process-recipient, .processos-page .process-forum { display:grid !important; grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr) !important; gap:10px !important; align-items:start; }
.advogados-page .lawyer-email, .advogados-page .lawyer-role { display:grid !important; grid-template-columns:48px minmax(0,1fr) !important; gap:8px !important; align-items:start; }
.clientes-page .client-meta-label, .processos-page .process-meta-label, .advogados-page .lawyer-meta-label { font-size:12px !important; line-height:1.5; font-weight:500 !important; letter-spacing:0 !important; text-transform:none !important; color:var(--jm-muted) !important; margin:0 !important; }
.clientes-page .client-meta-value, .processos-page .process-meta-value, .advogados-page .lawyer-meta-value { font-size:14px !important; line-height:1.5; color:#59657a !important; overflow-wrap:anywhere; }
.clientes-page .client-meta-value small { font-size:13px; }
.clientes-page .client-stats { gap:12px !important; flex-wrap:wrap; }
.clientes-page .client-stat { font-size:13px !important; color:var(--jm-muted) !important; }
.clientes-page .client-stat i { width:18px !important; font-size:18px; color:var(--jm-muted) !important; }
.clientes-page .client-links { margin-top:2px; }
.clientes-page .client-links > .client-meta-label { margin-bottom:5px !important; }
.clientes-page .client-actions, .processos-page .process-action, .advogados-page .lawyer-actions { margin-top:auto; display:flex !important; justify-content:flex-end; align-items:center; gap:8px !important; padding-top:10px; border-top:1px solid #e9edf5; }
.clientes-page .client-actions .btn-open-label, .advogados-page .lawyer-actions .btn-label { display:inline !important; }
.clientes-page .client-actions .btn-open { border:0; padding-right:4px; min-height:38px; }
.clientes-page .client-actions .btn-open i { margin-left:8px !important; }
.clientes-page .client-actions .dropdown-toggle::after { display:none; }
.clientes-page .client-actions .dropdown-toggle { min-width:38px; }
.clientes-page .clients-list > .empty-state, .processos-page .process-list > .empty-state, .advogados-page .lawyer-list > .empty-state { grid-column:1 / -1; border:1px solid var(--jm-line); border-radius:13px; background:#fff; }
.processos-page .process-number { color:var(--jm-muted) !important; font-size:14px !important; overflow-wrap:anywhere; }
.processos-page .process-tags { gap:5px !important; }
.work-stat { border-radius:13px; border-color:var(--jm-line); min-height:118px; padding:20px; }
.work-stat strong { font-size:32px; color:var(--jm-blue-dark); margin-bottom:8px; }
.work-stat span { font-size:15px; color:var(--jm-muted); }
.task-meta { font-size:14px; }
.kanban-card { border-radius:11px; }
.intimacao-drawer { border-radius:16px 0 0 16px; }
.intimacao-item { border-radius:13px; }
.login-page, .register-page { background:var(--jm-bg); }
.login-box, .register-box { max-width:calc(100vw - 32px); }
@media (min-width:1440px) { .clientes-page .clients-list, .processos-page .process-list, .advogados-page .lawyer-list { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:991.98px) {
  .content-wrapper .content-header { padding:22px 16px 18px !important; }
  .content-wrapper .content { padding:0 16px 20px; }
  .content-header .container-fluid.d-flex { flex-wrap:wrap; gap:10px; }
  .main-header.navbar { padding:8px 12px; min-height:62px; }
  .main-sidebar { max-width:calc(100vw - 44px); }
}
@media (max-width:767.98px) {
  .clientes-page .clients-list, .processos-page .process-list, .advogados-page .lawyer-list { grid-template-columns:minmax(0,1fr); gap:12px; }
  .content-wrapper .content-header h1 { font-size:27px; }
  .content-wrapper .content-header p { font-size:15px; }
  .content-header .d-flex.flex-wrap > .btn { width:100%; margin-top:14px !important; min-height:44px; }
  .clientes-page .clients-search form { flex-direction:row !important; }
  .clientes-page .clients-search .input-group { flex-basis:100%; }
  .clientes-page .clients-search select { flex:1 1 180px; max-width:none !important; }
  .clientes-page .client-row, .processos-page .process-row, .advogados-page .lawyer-row { padding:16px !important; gap:8px !important; }
  .content-wrapper .card-body { padding:16px; }
  .content-wrapper .card-body.p-0 { padding:0 !important; }
  .content-wrapper .card-body:has(> table) { overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .content-wrapper .card-body > table { min-width:540px; }
  .form-control, .custom-select { font-size:16px; }
  .modal-dialog { margin:12px; }
  .dropdown-menu-lg { max-width:calc(100vw - 24px); }
  .work-summary { gap:12px; }
  .work-stat { padding:16px; min-height:108px; }
  .work-stat strong { font-size:29px; }
  .main-footer { padding:16px; }
}
@media (max-width:359.98px) { .judmov-mobile-brand img { width:122px; } .content-wrapper .content { padding-left:8px; padding-right:8px; } .content-wrapper .content-header { padding-left:8px !important; padding-right:8px !important; } .input-group .btn { padding:10px; } }
@media print { .judmov-mobile-brand { display:none !important; } .content-wrapper { background:#fff !important; } .card, .client-row, .process-row { box-shadow:none !important; } }
/* O logo original tem margens transparentes: enquadrar sem trocar a marca. */
.main-sidebar .brand-link img, .judmov-mobile-brand img { height:42px; max-height:42px; object-fit:cover; object-position:center; }
@media (max-width:991.98px) { .main-header .navbar-nav .d-sm-inline-block { display:none !important; } }
/* Refinamento conforme a referência: tiles azuis, contornos e leitura consistente. */
.processos-page .process-identity { display:grid; grid-template-columns:42px minmax(0,1fr); column-gap:12px; align-items:start; }
.processos-page .process-identity > * { grid-column:2; min-width:0; }
.processos-page .process-identity::before { content:""; display:block; width:42px; height:42px; grid-column:1; grid-row:1 / span 3; border-radius:11px; background:#edf3ff; }
.processos-page .process-title, .clientes-page .client-title, .advogados-page .lawyer-name { font-size:19px !important; letter-spacing:-.015em; }
.processos-page .process-number { font-size:15px !important; }
.processos-page .process-meta-label, .clientes-page .client-meta-label, .advogados-page .lawyer-meta-label { font-size:13px !important; }
.processos-page .process-meta-value, .clientes-page .client-meta-value, .advogados-page .lawyer-meta-value { font-size:15px !important; }
.processos-page .process-tags .badge { border-radius:999px; padding:5px 10px; font-size:13px; background-image:linear-gradient(#ffffffd9,#ffffffd9); color:#2b5f6b !important; }
.processos-page .process-action .btn-outline-primary { border-color:transparent; font-size:15px; padding:8px 2px; }
.processos-page .process-action .btn-outline-primary i { margin-left:8px !important; }
.work-summary .work-stat { border-radius:13px; background:#fff; box-shadow:0 2px 7px rgba(16,26,57,.02); }
@media (max-width:767.98px) { .processos-page .process-row, .clientes-page .client-row, .advogados-page .lawyer-row { gap:9px !important; } }
/* Mesma linguagem nas demais áreas, sem deslocar ou substituir controles. */
.content-wrapper .card { border-color:var(--jm-line); border-radius:13px; box-shadow:0 2px 9px rgba(16,26,57,.025); }
.content-wrapper .card-primary:not(.card-outline) > .card-header { background:#fff; color:var(--jm-ink); }
.content-wrapper .card-primary > .card-header .card-title { color:var(--jm-ink); }
.content-wrapper .card-title { font-size:17px; }
.content-wrapper .btn-default { border:1px solid var(--jm-line); background:#fff; color:#59657a; }
.content-wrapper .btn-default:hover { background:#edf2ff; color:var(--jm-blue); }
.content-wrapper .btn-group .btn { border-radius:0; }
.content-wrapper .btn-group .btn:first-child { border-radius:9px 0 0 9px; }
.content-wrapper .btn-group .btn:last-child { border-radius:0 9px 9px 0; }
.settings-page .settings-card { border-color:var(--jm-line) !important; border-radius:13px !important; }
.settings-page .settings-section-icon { background:#edf3ff !important; color:var(--jm-blue) !important; border-radius:10px !important; }
.settings-page .settings-card .card-title { color:var(--jm-ink) !important; font-size:17px !important; }
.demandas-page .metric-card { border:1px solid var(--jm-line) !important; border-radius:13px !important; box-shadow:0 2px 9px rgba(16,26,57,.025) !important; }
.demandas-page .metric-value { color:var(--jm-ink) !important; }
.demandas-page .demanda-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; border:0 !important; background:transparent !important; overflow:visible !important; }
.demandas-page .demanda-row { display:flex !important; flex-direction:column; align-items:stretch !important; gap:10px !important; padding:18px !important; border:1px solid var(--jm-line) !important; border-radius:13px; background:#fff; min-width:0; }
.demandas-page .demanda-row:hover { background:#fff !important; border-color:#c8d6f4 !important; }
.demandas-page .demanda-title { color:var(--jm-ink) !important; font-size:19px; line-height:1.35; overflow-wrap:anywhere; }
.demandas-page .demanda-code { font-size:12px !important; font-weight:600 !important; }
.demandas-page .demanda-meta { display:grid; grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr); gap:6px 10px; color:#59657a; font-size:15px; }
.demandas-page .demanda-meta .meta-label { color:var(--jm-muted) !important; font-size:13px !important; text-transform:none !important; font-weight:500 !important; }
.demandas-page .demanda-meta > small { grid-column:2; margin-top:0 !important; }
.demandas-page .demanda-meta > .badge { justify-self:start; }
.demandas-page .demanda-row > .btn { margin-top:auto; align-self:stretch; text-align:right; border:0; border-top:1px solid #e9edf5; border-radius:0; padding:12px 2px 2px; font-size:15px; }
.demandas-page .tag { font-size:13px !important; padding:5px 10px !important; }
.demandas-page .demanda-list > div { grid-column:1 / -1; border:1px solid var(--jm-line); border-radius:13px; background:#fff; }
.kanban-column { border-radius:13px; background:#eaf0fa; }
.kanban-card { border-color:var(--jm-line); padding:16px; box-shadow:0 2px 7px rgba(16,26,57,.02); }
.kanban-card strong { color:var(--jm-ink); font-size:16px; }
.intimacao-item { border-color:var(--jm-line); }
@media (min-width:1440px) { .demandas-page .demanda-list { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:767.98px) {
 .demandas-page .demanda-list { grid-template-columns:minmax(0,1fr); gap:12px; }
 .demandas-page .demanda-row { padding:16px !important; }
 .content-header .container-fluid.d-flex { flex-wrap:wrap; gap:12px; }
 .content-header .container-fluid.d-flex > .btn { flex:1 0 100%; }
 .content-header .container-fluid.d-flex > small { display:block; width:100%; }
 .work-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .work-summary .work-stat { min-height:132px; }
 .work-summary .work-stat span { display:block; font-size:14px; }
 .content-wrapper .card-body > .row:has(> table) { display:block; max-width:100%; margin-left:0; margin-right:0; overflow-x:auto; -webkit-overflow-scrolling:touch; }
 .content-wrapper .card-body > .row > table { min-width:540px; }
 .kanban-grid { grid-template-columns:minmax(0,1fr); overflow-x:visible; }
 .kanban-column { min-height:0; min-width:0; }
 .kanban-card { min-width:0; }
 .demanda-detail .hero .btn-group { min-width:0; max-width:100%; flex-wrap:wrap; gap:6px; }
 .demanda-detail .hero .btn-group > .btn { border-radius:9px; margin-left:0; }
}

/* A opção altera somente as cores; o modo claro aprovado continua sendo o padrão. */
.judmov-theme-switch { position:relative; display:flex; align-items:center; gap:6px; min-height:44px; padding:6px; margin:0; cursor:pointer; color:var(--jm-muted); font-size:13px; font-weight:600; white-space:nowrap; }
.judmov-theme-switch input { position:absolute; width:1px; height:1px; opacity:0; }
.judmov-theme-switch .fas { width:18px; font-size:18px; text-align:center; flex:none; }
.judmov-theme-track { display:block; width:30px; height:18px; flex:none; border-radius:20px; background:#c8d1e0; padding:3px; }
.judmov-theme-track::after { content:""; display:block; width:12px; height:12px; border-radius:50%; background:#fff; transition:transform .14s ease; }
.judmov-theme-switch input:checked ~ .judmov-theme-track { background:#3264e8; }
.judmov-theme-switch input:checked ~ .judmov-theme-track::after { transform:translateX(12px); }
.judmov-theme-switch:has(input:focus-visible) { outline:3px solid #93b4ff; outline-offset:2px; border-radius:9px; }
@media (max-width:991.98px) { .judmov-theme-text { display:none; } }
@media (prefers-reduced-motion:reduce) { .judmov-theme-track::after { transition:none; } }
@media print { .judmov-theme-switch { display:none; } }

@media screen {
/* :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) é expandido pelo gerador; :has mantém a alternância sem JavaScript na prévia. */
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) { color-scheme:dark; --jm-blue:#85a9ff; --jm-blue-dark:#a2beff; --jm-ink:#edf2fb; --jm-muted:#b4bfd1; --jm-line:#60718a; --jm-bg:#101827; --jm-surface:#1a2435; --jm-soft:#222f45; --jm-active:#273d63; --judmov-blue:#85a9ff; --judmov-blue-hover:#a2beff; --judmov-navy:#edf2fb; --judmov-muted:#b4bfd1; --judmov-bg:#101827; --judmov-line:#60718a; --judmov-surface:#1a2435; --judmov-soft:#273d63; --judmov-focus:0 0 0 3px rgba(133,169,255,.35); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) body { color:var(--jm-ink)!important; background:var(--jm-bg)!important; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .main-header.navbar, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .main-sidebar.sidebar-dark-primary, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .main-footer { background:var(--jm-surface); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .main-sidebar .nav-sidebar > .nav-item > .nav-link, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .main-sidebar .preview-submenu > summary { color:var(--jm-muted); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .main-sidebar .nav-sidebar .nav-link.active { color:var(--jm-blue-dark)!important; background:var(--jm-active)!important; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .main-header .nav-link:hover, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .main-sidebar .nav-sidebar .nav-link:hover, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .main-sidebar .preview-submenu > summary:hover { background:var(--jm-soft); color:var(--jm-blue)!important; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .main-sidebar .brand-link img, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .judmov-mobile-brand img { filter:brightness(0) invert(1); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .main-header .navbar-badge { border-color:var(--jm-surface); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .card, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .work-page .card-header, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .content-wrapper .card-header, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .modal-content, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .dropdown-menu, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .list-group-item, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .clients-search, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .client-row, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .process-row, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .lawyer-row, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .demanda-row, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .metric-card, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .work-summary .work-stat, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .kanban-card, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .intimacao-item, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .intimacao-drawer, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .intimacao-drawer-header, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .empty-state { background:var(--jm-surface)!important; color:var(--jm-ink); border-color:var(--jm-line); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .client-row:hover, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .process-row:hover, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .lawyer-row:hover, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .demanda-row:hover { background:var(--jm-surface)!important; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .clients-list > .empty-state, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .process-list > .empty-state, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .lawyer-list > .empty-state, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .demanda-list > div { background:var(--jm-surface); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .card-footer, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .kanban-column, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .input-group-text, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .bg-light, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .bg-white { background:var(--jm-soft)!important; color:var(--jm-ink)!important; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .card-header.bg-primary, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .card-header.bg-info { background:#3264e8!important; color:#fff; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .modal-header, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .modal-footer, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .dropdown-divider, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .client-actions, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .process-action, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .lawyer-actions, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .demanda-row > .btn, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .intimacao-drawer-header, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .agenda-day { border-color:var(--jm-line); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .dropdown-item { color:var(--jm-ink); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .dropdown-item:hover, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .dropdown-item:focus, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .list-group-item-action:hover { background:var(--jm-soft); color:var(--jm-ink); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .form-control, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .custom-select, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .select2-selection, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .select2-dropdown, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .custom-file-label { color:var(--jm-ink)!important; background:var(--jm-bg)!important; border-color:var(--jm-line)!important; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .form-control::placeholder { color:var(--jm-muted); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .form-control:disabled, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .form-control[readonly] { background:var(--jm-soft)!important; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .select2-selection__rendered, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) label, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .table, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .client-meta-value, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .process-meta-value, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .lawyer-meta-value, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .demanda-meta { color:var(--jm-ink)!important; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .table thead th { background:var(--jm-soft); color:var(--jm-muted); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .table td, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .table th { border-color:var(--jm-line); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .table-striped tbody tr:nth-of-type(odd), :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .table-hover tbody tr:hover { background:var(--jm-soft); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .btn-primary { background:#3264e8; border-color:#3264e8; color:#fff; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .btn-primary:hover, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .btn-primary:active { background:#2453c8!important; border-color:#2453c8!important; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .btn-default, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .btn-outline-primary, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .btn-outline-secondary { background:transparent; border-color:var(--jm-line); color:var(--jm-blue); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .btn-default:hover, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .btn-outline-primary:hover, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .btn-outline-secondary:hover { background:var(--jm-soft); color:var(--jm-blue-dark); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .badge-primary, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .badge-light, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .settings-section-icon { background:var(--jm-active)!important; color:var(--jm-blue-dark)!important; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .process-tags .badge { background-image:none; background-color:#24494f!important; color:#bce9e6!important; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .text-dark, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .text-black, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .text-body, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .close, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .breadcrumb-item.active, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .settings-section-title, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .intimacao-title, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) #tela-11--agenda-calendar .fc-toolbar-title { color:var(--jm-ink)!important; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .text-muted, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .text-secondary, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .task-meta, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .intimacao-read-status, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .intimacao-meta { color:var(--jm-muted)!important; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .nav-tabs, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .nav-tabs .nav-link, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .page-link, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .fc-theme-standard td, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .fc-theme-standard th, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .fc-theme-standard .fc-scrollgrid { border-color:var(--jm-line); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .nav-tabs .nav-link.active, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .page-link { background:var(--jm-surface); color:var(--jm-blue); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) #tela-11--agenda-calendar .fc-day-today { background:var(--jm-soft); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .preview-banner { background:var(--jm-soft); color:var(--jm-muted); border-color:var(--jm-line); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .preview-banner strong, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .preview-index .preview-topic > summary { color:var(--jm-ink); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .preview-index, :is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .preview-icon-tile { background:var(--jm-surface); color:var(--jm-ink); border-color:var(--jm-line); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .preview-index nav a { background:var(--jm-soft); border-color:var(--jm-line); }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .preview-icon-tile i { color:var(--jm-blue); }

}

/* Sinais discretos de situação, sempre acompanhados de texto. */
:root { --jm-paid-bg:#e4f5ec; --jm-paid-ink:#24664b; --jm-pending-bg:#edf2ff; --jm-pending-ink:#355b9c; --jm-overdue-bg:#fbe9e9; --jm-overdue-ink:#a24343; }
.jm-status { display:inline-block; border-radius:999px; padding:5px 10px; font-size:12px; font-weight:600; line-height:1.4; white-space:nowrap; }
.jm-status-paid { background:var(--jm-paid-bg); color:var(--jm-paid-ink); }
.jm-status-pending { background:var(--jm-pending-bg); color:var(--jm-pending-ink); }
.jm-status-overdue { background:var(--jm-overdue-bg); color:var(--jm-overdue-ink); }
.jm-status-muted { background:var(--jm-bg); color:var(--jm-muted); }
.jm-actions { display:flex; flex-wrap:wrap; gap:6px; justify-content:flex-end; align-items:center; }
.jm-actions form { margin:0; }
.jm-actions .btn { min-height:38px; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) { --jm-paid-bg:#243f35; --jm-paid-ink:#a0dfb9; --jm-pending-bg:#273d63; --jm-pending-ink:#b2caff; --jm-overdue-bg:#452d37; --jm-overdue-ink:#f2b8b8; }
@media (max-width:767.98px) {
 .jm-lancamentos .work-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .jm-lancamentos .work-stat { padding:12px; }
 .jm-lancamentos .work-stat > .jm-status { white-space:normal; max-width:100%; }
 .jm-lancamentos .work-stat strong { font-size:20px; line-height:1.25; }
 .jm-lancamentos .jm-currency { display:block; font-size:13px; color:var(--jm-muted); margin-bottom:3px; }
 .jm-lancamentos .jm-amount { display:block; font-variant-numeric:tabular-nums; }
 .jm-lancamentos .table-responsive { overflow:visible; }
 .jm-lancamentos table, .jm-lancamentos tbody { display:block; width:100%; }
 .jm-lancamentos thead { display:none; }
 .jm-lancamentos tbody tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding:12px; border-top:1px solid var(--jm-border); }
 .jm-lancamentos tbody td { display:block; min-width:0; padding:8px; border:0; }
 .jm-lancamentos tbody td::before { content:attr(data-label); display:block; font-size:12px; font-weight:600; color:var(--jm-muted); margin-bottom:5px; }
 .jm-lancamentos tbody td:first-child, .jm-lancamentos tbody td:last-child { grid-column:1/-1; }
 .jm-lancamentos tbody td:first-child::before, .jm-lancamentos tbody td:last-child::before { display:none; }
 .jm-lancamentos .jm-actions .btn { min-height:40px; }
}
@media (max-width:359.98px) { .jm-lancamentos .work-summary { grid-template-columns:1fr; } }

/* Bloco do escritório e do usuário; demais componentes preservados. */
.jm-office-panel { min-width:0; overflow:visible; white-space:normal; }
.jm-office-select { position:relative; width:100%; min-width:0; border:1px solid var(--jm-line); border-radius:11px; background:var(--jm-surface,#fff); }
.jm-office-summary { display:flex; align-items:center; gap:6px; min-height:72px; padding:8px; cursor:pointer; list-style:none; color:var(--jm-ink); }
.jm-office-summary::-webkit-details-marker { display:none; }
.jm-office-summary::marker { content:''; }
.jm-office-summary:focus-visible { outline:3px solid #93b4ff; outline-offset:2px; border-radius:11px; }
.jm-office-current { display:flex; align-items:center; gap:8px; flex:1; min-width:0; }
.jm-office-current-profile { display:none; }
.jm-office-select:has(input[value="profile"]:checked) .jm-office-current-office { display:none; }
.jm-office-select:has(input[value="profile"]:checked) .jm-office-current-profile { display:flex; }
.jm-office-icon { display:flex; align-items:center; justify-content:center; width:32px; height:42px; flex:none; border-radius:8px; background:var(--jm-soft,#f0f2f6); color:var(--jm-ink); }
.jm-office-icon i { font-size:22px; }
.jm-office-text { display:block; flex:1; min-width:0; }
.jm-office-text strong { display:block; font-size:14px; font-weight:600; line-height:1.35; overflow-wrap:anywhere; }
.jm-office-text small { display:block; margin-top:4px; color:var(--jm-muted); font-size:12px; line-height:1.3; }
.jm-office-arrow { flex:none; color:var(--jm-ink); font-size:13px; }
.jm-office-select[open] .jm-office-arrow { transform:rotate(180deg); }
.jm-office-options { position:absolute; top:calc(100% + 6px); left:-1px; right:-1px; z-index:10; display:grid; gap:2px; min-width:0; margin:0; padding:5px; border:1px solid var(--jm-line); border-radius:10px; background:var(--jm-surface,#fff); box-shadow:0 6px 18px rgba(16,26,57,.08); }
.jm-office-option { position:relative; display:flex; align-items:center; gap:8px; min-width:0; padding:10px 7px; margin:0; border-radius:7px; color:var(--jm-ink); font-size:13px; font-weight:400; line-height:1.4; cursor:pointer; }
.jm-office-option:hover, .jm-office-option:has(input:checked) { background:var(--jm-soft,#edf2ff); }
.jm-office-option:has(input:focus-visible) { outline:2px solid #93b4ff; outline-offset:-2px; }
.jm-office-option input { position:absolute; width:1px; height:1px; opacity:0; }
.jm-office-option > i { flex:none; width:16px; color:var(--jm-muted); font-size:16px; }
.jm-office-option-name { flex:1; min-width:0; overflow-wrap:anywhere; }
.jm-office-option > .jm-office-check { color:var(--jm-blue); font-size:14px; opacity:0; }
.jm-office-option:has(input:checked) > .jm-office-check { opacity:1; }

.main-sidebar .nav-sidebar .nav-link:hover,
.main-sidebar .nav-sidebar .nav-link:focus {
  background:var(--jm-menu-blue) !important;
  color:#fff !important;
}
.main-sidebar .nav-sidebar .nav-link:hover .nav-icon,
.main-sidebar .nav-sidebar .nav-link:focus .nav-icon,
.main-sidebar .nav-sidebar .nav-link:hover p,
.main-sidebar .nav-sidebar .nav-link:focus p,
.main-sidebar .nav-sidebar .nav-link:hover .right,
.main-sidebar .nav-sidebar .nav-link:focus .right {
  color:#fff !important;
}
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .main-sidebar .nav-sidebar .nav-link:hover,
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .main-sidebar .nav-sidebar .nav-link:focus {
  background:var(--jm-menu-blue) !important;
  color:#fff !important;
}

/* O hover azul se aplica às tabelas; os cartões preservam as cores do tema. */
.judmov-app .table:not(.jm-card-table) tbody tr:hover {
  background:var(--jm-menu-blue) !important;
  color:#fff !important;
}
.judmov-app .table:not(.jm-card-table) tbody tr:hover > td,
.judmov-app .table:not(.jm-card-table) tbody tr:hover > th,
.judmov-app .table:not(.jm-card-table) tbody tr:hover a:not(.btn),
.judmov-app .table:not(.jm-card-table) tbody tr:hover .text-muted,
.judmov-app .table:not(.jm-card-table) tbody tr:hover .text-secondary,
.judmov-app .table:not(.jm-card-table) tbody tr:hover .text-dark,
.judmov-app .table:not(.jm-card-table) tbody tr:hover .text-primary,
.judmov-app .table:not(.jm-card-table) tbody tr:hover .text-info,
.judmov-app .table:not(.jm-card-table) tbody tr:hover .text-success,
.judmov-app .table:not(.jm-card-table) tbody tr:hover .text-warning,
.judmov-app .table:not(.jm-card-table) tbody tr:hover .text-danger {
  color:#fff !important;
}

:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .judmov-app .table:not(.jm-card-table) tbody tr:hover :is(a:not(.btn), .text-muted, .text-secondary, .text-dark, .text-primary, .text-info, .text-success, .text-warning, .text-danger) {
  color:#fff !important;
}

/* Estes ajustes se aplicam somente à tela Meu dia. */
.jm-meu-dia .jm-day-heading { display:flex; justify-content:space-between; align-items:center; gap:18px; }
.jm-meu-dia .jm-day-update { display:inline-flex; align-items:center; gap:7px; padding:8px 12px; border:1px solid var(--jm-line); border-radius:8px; background:var(--jm-surface,#fff); color:var(--jm-muted); font-size:13px; white-space:nowrap; }
.jm-meu-dia .jm-day-update i { color:var(--jm-blue); font-size:16px; }
.jm-meu-dia .work-summary { gap:16px; margin-bottom:24px; }
.jm-meu-dia .work-summary > a { display:flex; min-width:0; }
.jm-meu-dia .work-stat { width:100%; height:100%; min-height:128px; }
.jm-meu-dia .work-stat span { display:block; line-height:1.45; }
.jm-meu-dia .jm-day-columns { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); align-items:start; gap:20px; margin-bottom:20px; }
.jm-meu-dia .jm-day-columns > .card { min-width:0; margin-bottom:0; }
.jm-meu-dia .jm-day-columns .card-title { float:none; margin:0; font-size:18px; line-height:1.4; }
.jm-meu-dia .jm-day-list { display:grid; gap:12px; padding:16px; }
.jm-meu-dia .jm-day-item { display:block; min-width:0; padding:16px; border:1px solid var(--jm-line); border-radius:9px; background:var(--jm-surface,#fff); color:var(--jm-ink); }
.jm-meu-dia .jm-day-item:hover { background:var(--jm-soft,#f8faff); border-color:var(--jm-blue); color:var(--jm-ink); }
.jm-meu-dia .jm-day-item-top { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.jm-meu-dia .jm-day-item-title { display:block; min-width:0; margin:0; font-size:15px; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }
.jm-meu-dia .jm-day-priority { flex:none; display:inline-flex; align-items:center; padding:4px 9px; border:1px solid var(--jm-line); border-radius:6px; background:var(--jm-soft,#f3f5fa); color:var(--jm-muted); font-size:12px; font-weight:600; line-height:1.5; }
.jm-meu-dia .jm-day-priority-alta { color:#a83d43; background:#fff3f3; border-color:#f0d7da; }
.jm-meu-dia .jm-day-meta { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; margin-top:12px; color:var(--jm-muted); font-size:13px; line-height:1.5; }
.jm-meu-dia .jm-day-meta-label { font-size:12px; color:var(--jm-muted); }
.jm-meu-dia .jm-day-meta time { white-space:nowrap; }
.jm-meu-dia .jm-day-overdue { color:#a83d43; }
.jm-meu-dia .jm-day-due { margin-left:auto; padding:3px 8px; border-radius:6px; background:var(--jm-soft,#f3f5fa); color:var(--jm-muted); font-size:12px; }
.jm-meu-dia .jm-day-process-number { display:block; margin-top:10px; color:var(--jm-muted); font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.jm-meu-dia .jm-day-process-number .jm-day-meta-label { display:block; margin-bottom:3px; }
.jm-meu-dia .jm-day-process .jm-day-meta { padding-top:10px; margin-top:10px; border-top:1px solid var(--jm-line); }
.jm-meu-dia .jm-day-process .jm-day-meta i { color:var(--jm-muted); }
.jm-meu-dia .jm-day-empty { margin:0; padding:12px 4px; color:var(--jm-muted); font-size:14px; }
@media screen {
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .jm-meu-dia .jm-day-priority-alta { color:#f0b0b6; background:#372631; border-color:#59404d; }
:is(:root[data-judmov-theme="dark"],:root:has(#judmov-theme-toggle:checked)) .jm-meu-dia .jm-day-overdue { color:#f0b0b6; }
}
@media(max-width:1199.98px) { .jm-meu-dia .jm-day-columns { grid-template-columns:minmax(0,1fr); } }
@media(max-width:575.98px) {
  .jm-meu-dia .jm-day-heading { flex-direction:column; align-items:flex-start; gap:12px; }
  .jm-meu-dia .work-summary { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .jm-meu-dia .work-stat { min-height:144px; padding:16px; }
  .jm-meu-dia .work-stat span { font-size:13px; }
  .jm-meu-dia .jm-day-list { padding:12px; }
  .jm-meu-dia .jm-day-item { padding:14px; }
  .jm-meu-dia .jm-day-columns { gap:16px; }
  .jm-meu-dia .jm-day-due { margin-left:0; }
}

/* Mantém os recursos do catálogo de processos na largura do layout proposto. */
.processos-page .catalog-shell { max-width:none; }
