/* =====================================================================
   BI Ativ — tema claro no padrão CloudVMS
   Fundo #EEF2EE · cards brancos · menu lateral escuro com ícones
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
    --fundo: #EEF2EE;
    --card: #FFFFFF;
    --borda: #DDE4DF;
    --divisor: #E8EDE9;
    --linha: #EEF2EF;
    --campo: #C9D3CD;
    --texto: #16211C;
    --texto-2: #56645D;
    --menu: #13241D;
    --menu-icone: #C9D6CF;
    --lima: #9CFF19;
    --verde: #2E7D1F;
    --verde-escuro: #1F5A14;
    --verde-claro: #E6F4DF;
    --ambar: #E09A12;
    --ambar-texto: #8A5A00;
    --ambar-claro: #FDF3E1;
    --vermelho: #B42318;
    --vermelho-texto: #7A1A12;
    --vermelho-claro: #FBE9E7;
    --azul: #1F4FA3;
    --azul-claro: #E3ECFB;
    --teal: #0E6B63;
    --teal-claro: #DDF3F1;
    --laranja: #C2520C;
    --laranja-claro: #FDEFD9;
    --fonte: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --fonte-num: 'Barlow Semi Condensed', 'IBM Plex Sans', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--fonte); background: var(--fundo); color: var(--texto); font-size: 14px; }
a { color: var(--verde); }
a:hover { color: var(--verde-escuro); }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3 { color: var(--texto); }
h2 { font-size: 18px; font-weight: 600; margin: 0 0 12px; }
h3 { font-size: 16px; font-weight: 600; }

/* ---------------- Estrutura: menu lateral + área principal ---------------- */
.app-shell { display: flex; min-height: 100vh; }

.sidebar {
    width: 84px; flex-shrink: 0; background: var(--menu);
    display: flex; flex-direction: column; align-items: center;
    padding: 20px 0; gap: 6px;
    position: sticky; top: 0; height: 100vh; z-index: 2000;  /* sempre acima dos mapas (Leaflet usa até 1000) */
}
.sidebar-logo {
    width: 48px; height: 48px; border-radius: 14px; background: var(--lima);
    display: flex; align-items: center; justify-content: center; margin-bottom: 18px; overflow: hidden;
}
.sidebar-logo img { max-width: 40px; max-height: 40px; object-fit: contain; }
.sidebar-logo.tem-logo { background: #FFFFFF; }
.sidebar-espaco { flex-grow: 1; }

.side-item { position: relative; }
.side-btn {
    width: 56px; height: 56px; border: 0; border-radius: 16px; background: transparent;
    display: flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none;
    transition: background 0.12s;
}
.side-btn svg { width: 26px; height: 26px; stroke: var(--menu-icone); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.side-btn:hover { background: rgba(255,255,255,0.08); }
.side-btn.ativo { background: var(--lima); }
.side-btn.ativo svg { stroke: var(--menu); stroke-width: 2; }
.side-btn:focus-visible { outline: 2px solid var(--lima); outline-offset: 2px; }

.side-tip {
    display: none; position: absolute; left: 70px; top: 12px;
    background: var(--menu); color: #FFFFFF; font-size: 14px; font-weight: 500;
    padding: 8px 14px; border-radius: 10px; white-space: nowrap;
    box-shadow: 0 8px 24px rgba(19,36,29,0.28); pointer-events: none;
}
.side-item:hover .side-tip, .side-btn:focus-visible + .side-tip { display: block; }

.side-flyout {
    display: none; position: absolute; left: 66px; bottom: 0;
    background: var(--menu); border-radius: 12px; padding: 8px; min-width: 210px;
    box-shadow: 0 8px 24px rgba(19,36,29,0.28);
}
.side-flyout-titulo { color: #8FA39A; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 10px; }
.side-flyout a { display: block; color: #FFFFFF; text-decoration: none; padding: 10px; border-radius: 8px; font-size: 14px; }
.side-flyout a:hover, .side-flyout a.ativo { background: rgba(255,255,255,0.1); color: var(--lima); }
.side-item.com-flyout:hover .side-flyout, .side-item.com-flyout:focus-within .side-flyout { display: block; }
.side-item.com-flyout:hover .side-tip { display: none; }

.app-main { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }

.app-header {
    height: 76px; flex-shrink: 0; background: var(--card); border-bottom: 1px solid var(--borda);
    display: flex; align-items: center; padding: 0 36px; gap: 20px;
    position: sticky; top: 0; z-index: 1900;  /* cabeçalho fixo acima do conteúdo ao rolar */
}
.app-header-titulo { flex-grow: 1; min-width: 0; }
.app-header h1 {
    margin: 0; font-family: var(--fonte-num); font-size: 28px; font-weight: 700; letter-spacing: 0.2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app-header-sub { font-size: 13px; color: var(--texto-2); margin-top: 2px; }
.sync-pill { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--texto-2); white-space: nowrap; }
.sync-pill .ponto { width: 8px; height: 8px; border-radius: 4px; background: var(--verde); }
.sync-pill a { color: var(--texto-2); }
.user-pill { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--borda); border-radius: 24px; white-space: nowrap; }
.user-pill .avatar { width: 34px; height: 34px; border-radius: 17px; background: var(--menu); color: var(--lima); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.user-pill span { font-size: 14px; font-weight: 500; }

.container { width: 100%; max-width: 1800px; margin: 0; padding: 28px 36px 36px;
    position: relative; z-index: 0; isolation: isolate; }  /* prende as camadas dos mapas aqui dentro */

/* ---------------- Avisos ---------------- */
.flash-container { margin-bottom: 16px; }
.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 8px; font-size: 14px; }
.flash-success { background: var(--verde-claro); color: var(--verde-escuro); }
.flash-danger  { background: var(--vermelho-claro); color: var(--vermelho-texto); }
.flash-warning { background: var(--ambar-claro); color: #6B4700; }

/* ---------------- Notas auxiliares ---------------- */
.sync-note { font-size: 13px; color: var(--texto-2); margin: 0 0 18px; }
.sync-note a { color: var(--texto-2); }
.sync-note a.ordenar-ativo { color: var(--verde); font-weight: 700; text-decoration: underline; }

/* ---------------- Área de dashboard (antes escura) ---------------- */
.dash-dark { background: transparent; padding: 0; }

/* Cards de indicador (valor único) */
.cards, .cards-dark { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.card, .card-dark {
    background: var(--card); border: 1px solid var(--borda); border-radius: 18px;
    padding: 18px 20px; display: block; color: var(--texto); text-decoration: none;
}
.card .label, .card-dark .label { font-size: 13px; color: var(--texto-2); font-weight: 500; }
.card .value, .card-dark .value {
    font-family: var(--fonte-num); font-size: 34px; font-weight: 700; line-height: 1.1; margin-top: 6px;
    color: var(--texto); font-variant-numeric: tabular-nums;
}
.card.positivo .value, .card-dark.positivo .value { color: var(--verde); }
.card.negativo .value, .card-dark.negativo .value { color: var(--vermelho); }
a.card-clicavel { cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
a.card-clicavel:hover { border-color: var(--verde); box-shadow: 0 4px 14px rgba(19,36,29,0.08); color: var(--texto); }
.card-variacao { font-size: 12px; margin-top: 6px; font-weight: 600; }
.card-variacao.up { color: var(--verde); }
.card-variacao.down { color: var(--vermelho); }
.card-variacao.neutro { color: var(--texto-2); }

/* Blocos de gráfico */
.widgets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.widget-dark { background: var(--card); border: 1px solid var(--borda); border-radius: 18px; padding: 22px; }
.widget-wide { grid-column: 1 / -1; }
.widget-title { font-size: 16px; font-weight: 600; color: var(--texto); margin-bottom: 14px; }
.widget-dark canvas { max-height: 280px; }

.legenda-status { list-style: none; padding: 0; margin: 14px 0 0; font-size: 14px; color: var(--texto); }
.legenda-status li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.legenda-status li a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.legenda-status li a:hover { text-decoration: underline; }
.dot { width: 10px; height: 10px; border-radius: 5px; display: inline-block; background: #8A9690; flex-shrink: 0; }
.dot-A { background: var(--ambar); }
.dot-P, .dot-F, .dot-R, .dot-R_DIA { background: var(--verde); }
.dot-C { background: var(--vermelho); }
.dot-R_ATRASO { background: var(--laranja); }

/* ---------------- Tabelas ---------------- */
table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--borda); border-radius: 14px; overflow: hidden; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--linha); font-size: 14px; color: var(--texto); }
th { background: #F6F8F6; color: var(--texto-2); font-size: 13px; font-weight: 500; }
tr:hover td { background: #F8FAF8; }
td.positivo { color: var(--verde); }
td.negativo { color: var(--vermelho); }
.tabela-scroll { max-height: 620px; overflow-y: auto; border-radius: 14px; border: 1px solid var(--borda); }
.tabela-scroll table { border: 0; border-radius: 0; }
.tabela-scroll thead th { position: sticky; top: 0; z-index: 2; }

.barra-progresso { display: inline-block; width: 110px; height: 8px; background: var(--divisor); border-radius: 4px; overflow: hidden; vertical-align: middle; margin-right: 8px; }
.barra-progresso-fill { display: block; height: 100%; background: var(--verde); border-radius: 4px; }

.nome-cliente-mapa { color: var(--verde); text-decoration: none; font-weight: 600; }
.nome-cliente-mapa:hover { text-decoration: underline; }

/* ---------------- Botões e formulários ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px;
    background: var(--menu); color: var(--lima); border: 0; border-radius: 10px;
    text-decoration: none; cursor: pointer; font-size: 14px; font-weight: 600;
}
.btn:hover { background: #1D3629; color: var(--lima); }
.btn-danger { background: var(--vermelho); color: #FFFFFF; }
.btn-danger:hover { background: #962017; color: #FFFFFF; }
.btn-export {
    display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
    background: var(--card); color: var(--texto); border: 1px solid var(--campo); border-radius: 10px;
    cursor: pointer; font-size: 14px; font-weight: 500; text-decoration: none;
}
.btn-export:hover { border-color: var(--verde); color: var(--texto); }
.export-bar { display: flex; gap: 10px; margin-bottom: 20px; justify-content: flex-end; }

.filtro-periodo { display: flex; gap: 14px; align-items: flex-end; margin-bottom: 20px; flex-wrap: wrap; }
.filtro-periodo label { display: block; font-size: 13px; color: var(--texto-2); margin-bottom: 6px; }
.filtro-periodo select, .filtro-periodo input {
    height: 40px; padding: 0 12px; background: var(--card); border: 1px solid var(--campo);
    border-radius: 10px; font-size: 14px; min-width: 140px; color: var(--texto);
}

input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input[type=date], select, textarea {
    color: var(--texto);
}
form.form-box { background: var(--card); border: 1px solid var(--borda); padding: 26px; border-radius: 18px; max-width: 520px; }
form.form-box label { display: block; margin-top: 14px; margin-bottom: 6px; font-size: 13px; color: var(--texto-2); }
form.form-box input[type=text], form.form-box input[type=email], form.form-box input[type=password],
form.form-box input[type=number], form.form-box input[type=file], form.form-box select {
    width: 100%; height: 44px; padding: 0 12px; background: var(--card); border: 1px solid var(--campo);
    border-radius: 10px; font-size: 14px;
}
form.form-box input[type=color] { width: 100%; height: 44px; border: 1px solid var(--campo); border-radius: 10px; background: var(--card); }

.placeholder-box { background: var(--card); border: 1px dashed var(--campo); border-radius: 18px; padding: 40px; text-align: center; color: var(--texto-2); }

/* ---------------- Login ---------------- */
.pagina-login { background: var(--menu); }
.login-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--menu); }
.login-wrapper form.form-box { width: 100%; max-width: 400px; }
.login-wrapper h2 { font-family: var(--fonte-num); font-size: 26px; margin: 0 0 6px; }
.login-wrapper .btn { width: 100%; height: 44px; }
.login-logo { display: block; max-height: 60px; max-width: 200px; margin: 0 auto 16px; }

/* ---------------- Rodapé de sincronização ---------------- */
.sync-footer { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--texto-2); margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--divisor); }
.sync-footer a { color: var(--verde); font-weight: 600; text-decoration: none; }
.sync-footer a:hover { text-decoration: underline; }

/* ---------------- Visão geral (Home) ---------------- */
.grupos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.grupo { background: var(--card); border: 1px solid var(--borda); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 16px; color: var(--texto); text-decoration: none; }
a.grupo:hover { border-color: var(--verde); color: var(--texto); box-shadow: 0 4px 14px rgba(19,36,29,0.08); }
.grupo-topo { display: flex; align-items: center; gap: 12px; }
.grupo-icone { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.grupo-icone svg { width: 24px; height: 24px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.grupo-icone.teal { background: var(--teal-claro); } .grupo-icone.teal svg { stroke: var(--teal); }
.grupo-icone.verde { background: #E6F7CF; } .grupo-icone.verde svg { stroke: var(--verde); }
.grupo-icone.azul { background: var(--azul-claro); } .grupo-icone.azul svg { stroke: var(--azul); }
.grupo-icone.laranja { background: var(--laranja-claro); } .grupo-icone.laranja svg { stroke: var(--laranja); }
.grupo-topo h2 { margin: 0; font-size: 16px; font-weight: 600; }
.grupo-num { display: flex; align-items: baseline; gap: 8px; }
.grupo-num .n { font-family: var(--fonte-num); font-size: 52px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.grupo-num .pre { font-size: 16px; color: var(--texto-2); font-weight: 500; }
.grupo-num .un { font-size: 14px; color: var(--texto-2); }
.grupo-linhas { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.grupo-linha { display: flex; align-items: center; gap: 10px; }
.grupo-linha .rot { flex-grow: 1; }
.grupo-linha strong { font-variant-numeric: tabular-nums; }
.grupo-rodape { border-top: 1px solid var(--divisor); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.grupo-rodape .lin { display: flex; justify-content: space-between; font-size: 13px; }
.grupo-rodape .lin span:first-child { color: var(--texto-2); }
.grupo-rodape .cap { font-size: 12px; color: var(--texto-2); }
.grupo-rodape .dupla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.grupo-rodape .dupla small { display: block; font-size: 12px; color: var(--texto-2); }
.grupo-rodape .dupla b { font-size: 16px; }
.barra { height: 8px; border-radius: 4px; background: var(--divisor); overflow: hidden; }
.barra > div { height: 100%; border-radius: 4px; }
.t-ambar { color: var(--ambar-texto); } .t-vermelho { color: var(--vermelho); } .t-verde { color: var(--verde-escuro); }
.bg-verde { background: var(--verde); } .bg-ambar { background: var(--ambar); } .bg-vermelho { background: var(--vermelho); }
.bg-azul { background: var(--azul); } .bg-laranja { background: var(--laranja); } .bg-cinza { background: #8A9690; } .bg-teal { background: var(--teal); }

.linha-inferior { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.painel { background: var(--card); border: 1px solid var(--borda); border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.painel-topo { display: flex; align-items: center; gap: 12px; }
.painel-topo h2 { margin: 0; flex-grow: 1; }
.painel table { border: 0; border-radius: 0; }
.painel th { background: transparent; border-bottom: 1px solid var(--divisor); }
.painel .cap { font-size: 12px; color: var(--texto-2); }
.alerta { display: flex; gap: 12px; padding: 14px; border-radius: 12px; font-size: 14px; line-height: 1.45; text-decoration: none; color: var(--texto); }
.alerta svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.alerta small { display: block; font-size: 13px; }
.alerta.ambar { background: var(--ambar-claro); } .alerta.ambar svg, .alerta.ambar small { stroke: #8A5A00; color: #5E4300; }
.alerta.vermelho { background: var(--vermelho-claro); } .alerta.vermelho svg, .alerta.vermelho small { stroke: var(--vermelho-texto); color: var(--vermelho-texto); }
.alerta.neutro { background: var(--fundo); } .alerta.neutro svg, .alerta.neutro small { stroke: var(--texto-2); color: var(--texto-2); }
a.alerta:hover { filter: brightness(0.97); color: var(--texto); }
.btn-contorno { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 12px; border: 1px solid var(--campo); text-decoration: none; font-size: 14px; font-weight: 600; color: var(--texto); background: var(--card); }
.btn-contorno:hover { border-color: var(--verde); color: var(--texto); }

/* ---------------- Responsivo ---------------- */
@media (max-width: 1200px) {
    .grupos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .linha-inferior { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
    .app-shell { flex-direction: column; }
    .sidebar { width: 100%; height: auto; position: sticky; top: 0; flex-direction: row; padding: 8px 12px; overflow-x: auto; }
    .sidebar-logo { margin: 0 8px 0 0; width: 44px; height: 44px; }
    .sidebar-espaco { display: none; }
    .side-btn { width: 48px; height: 48px; }
    .side-tip, .side-flyout { display: none !important; }
    .side-item.com-flyout:focus-within .side-flyout { display: block !important; left: 0; top: 54px; bottom: auto; }
    .app-header { position: static; height: auto; padding: 14px 16px; flex-wrap: wrap; gap: 10px; }
    .user-pill { display: none; }
    .container { padding: 16px; }
    .grupos { grid-template-columns: 1fr; }
    table { display: block; overflow-x: auto; white-space: nowrap; }
    .filtro-periodo { flex-direction: column; align-items: stretch; }
    .filtro-periodo select, .filtro-periodo .btn { width: 100%; }
}

/* ---------------- Impressão / PDF ---------------- */
@media print {
    .sidebar, .app-header, .filtro-periodo, .export-bar, .sync-footer { display: none !important; }
    body, .container { background: #FFFFFF !important; }
    .card, .card-dark, .widget-dark, .grupo, .painel { break-inside: avoid; }
    .widgets-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------------- Desligamentos programados (RGE) ---------------- */
.grupo-icone.vermelho-ic { background: var(--vermelho-claro); } .grupo-icone.vermelho-ic svg { stroke: var(--vermelho); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag.ok { background: var(--verde-claro); color: var(--verde-escuro); }
.tag.alerta { background: var(--ambar-claro); color: #6B4700; }
.tag.erro { background: var(--vermelho-claro); color: var(--vermelho-texto); }
.tag.neutro { background: var(--fundo); color: var(--texto-2); }
.d-grade { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; }
.d-mapa-painel { padding: 0; position: relative; overflow: hidden; }
#mapaDesl { height: 580px; width: 100%; }
.d-legenda { position: absolute; left: 14px; bottom: 14px; z-index: 500; background: rgba(255,255,255,0.96); border-radius: 12px; padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; max-width: calc(100% - 28px); }
.d-legenda span { display: flex; align-items: center; gap: 6px; }
.d-legenda i { display: inline-block; width: 12px; height: 12px; border-radius: 6px; }
.d-lista { height: 580px; }
.d-itens { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.d-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--borda); border-radius: 12px; text-decoration: none; color: var(--texto); }
.d-item:hover { border-color: var(--verde); color: var(--texto); }
.d-item.sel { border-color: var(--verde); background: #F4F8EE; }
.d-item.cancelado { opacity: 0.6; }
.d-data { width: 52px; flex-shrink: 0; text-align: center; border-radius: 10px; color: #FFFFFF; padding: 6px 0; }
.d-data b { display: block; font-family: var(--fonte-num); font-size: 22px; line-height: 1; }
.d-data small { font-size: 11px; font-weight: 600; text-transform: uppercase; }
.d-info { display: flex; flex-direction: column; min-width: 0; }
.d-info strong { font-size: 14px; }
.d-info span { font-size: 13px; color: var(--texto-2); }
.d-info em { font-style: normal; font-size: 12px; font-weight: 600; margin-top: 2px; }
.d-info em.erro { color: var(--vermelho); } .d-info em.alerta { color: var(--ambar-texto); } .d-info em.neutro { color: var(--texto-2); }
.d-marcador { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(19,36,29,0.35); cursor: pointer; }
.d-marcador.sel { border-color: #13241D; }
.d-pop { width: 24px; height: 24px; border-radius: 6px; background: #13241D; color: var(--lima); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.d-caixa { width: 12px; height: 12px; border-radius: 2px; background: #FFFFFF; border: 2.5px solid var(--laranja); }
.leaflet-tooltip.d-tooltip { padding: 0; border: 0; border-radius: 14px; box-shadow: 0 10px 30px rgba(19,36,29,0.25); }
.d-tip { padding: 12px 14px; min-width: 240px; max-width: 320px; white-space: normal; font-family: var(--fonte); font-size: 13px; line-height: 1.45; color: var(--texto); }
.d-tip-tag { display: inline-block; color: #FFFFFF; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; margin-bottom: 6px; }
.d-tip-dia { font-family: var(--fonte-num); font-size: 20px; font-weight: 700; line-height: 1.1; }
.d-tip-hora { font-size: 15px; font-weight: 600; }
.d-tip-hora span, .d-tip-sub, .d-tip-ruas { color: var(--texto-2); font-weight: 400; }
.d-tip-ruas { font-size: 12px; margin-top: 4px; }
.d-tip-imp { border-top: 1px solid var(--divisor); margin-top: 8px; padding-top: 6px; font-weight: 600; }
.d-tip-doc { color: #8A9690; font-size: 11px; }
@media (max-width: 1100px) { .d-grade { grid-template-columns: 1fr; } .d-lista { height: auto; max-height: 520px; } }
