.cb-pg {
  max-width: 1440px;
  margin: 0 auto;
  color: var(--syn-color-text-primary, #152332);
}
#cooperBedinView .cb-app-comercial { margin:0 0 20px; border:1px solid var(--syn-color-border-default,#dce2e8); border-radius:12px; background:var(--syn-color-bg-surface,#fff); overflow:hidden; }
#cooperBedinView .cb-app-comercial summary { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 20px; cursor:pointer; }
#cooperBedinView .cb-app-comercial summary small { display:block; margin-top:4px; color:var(--syn-color-text-secondary,#64748b); }
#cooperBedinView .cb-app-comercial summary:focus-visible { outline:2px solid currentColor; outline-offset:-3px; }
#cooperBedinView .cb-app-comercial__conteudo { padding:0 20px 20px; }
#cooperBedinView .cb-app-comercial__plataformas { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
#cooperBedinView .cb-app-comercial__plataforma { min-width:0; border:1px solid var(--syn-color-border-default,#dce2e8); border-radius:12px; padding:20px; }
#cooperBedinView .cb-app-comercial__marca { display:flex; gap:12px; align-items:center; }
#cooperBedinView .cb-app-comercial__marca svg { width:36px; height:36px; flex:none; }
#cooperBedinView .cb-app-comercial__marca h3 { margin:0; }
#cooperBedinView .cb-app-comercial__marca small,#cooperBedinView .cb-app-comercial__aviso { color:var(--syn-color-text-secondary,#64748b); }
#cooperBedinView .cb-app-comercial__acoes { display:flex; flex-wrap:wrap; gap:8px; }
#cooperBedinView .cb-app-comercial [data-app-status]:empty { display:none; }
#cooperBedinView .cb-app-comercial [data-app-status] { overflow-wrap:anywhere; }
@media(max-width:640px) { #cooperBedinView .cb-app-comercial__plataformas { grid-template-columns:1fr; } #cooperBedinView .cb-app-comercial__conteudo { padding:0 12px 12px; } #cooperBedinView .cb-app-comercial__plataforma { padding:16px; } }
.cb-pg h2,
.cb-pg h3 {
  margin: 0 0 8px;
}
.cb-pg p {
  margin: 8px 0 16px;
}
.cb-pg-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.cb-pg-head > div:last-child,
.cb-pg-tabs,
.cb-pg-map-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: end;
}
.cb-pg-filtros,
.cb-pg-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--syn-color-border-default, #dce2e8);
  border-radius: 12px;
  background: var(--syn-color-bg-surface, #fff);
}
.cb-pg label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}
.cb-pg .cb-input {
  width: 100%;
  box-sizing: border-box;
}
.cb-pg-indicadores {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 18px 0 8px;
}
.cb-pg-indicadores > div {
  padding: 14px;
  border: 1px solid var(--syn-color-border-default, #dce2e8);
  border-radius: 10px;
  background: var(--syn-color-bg-surface, #fff);
}
.cb-pg-indicadores strong {
  display: block;
  font-size: 24px;
}
.cb-pg-indicadores span {
  font-size: 12px;
}
.cb-pg-ajuda {
  font-size: 13px;
  color: var(--syn-color-text-secondary, #5d6976);
}
.cb-pg-tabs {
  margin: 20px 0;
}
.cb-pg-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  margin-top: 14px;
}
#cbPgMapa {
  height: 520px;
  border: 1px solid var(--syn-color-border-default, #dce2e8);
  border-radius: 12px;
  z-index: 0;
}
.cb-pg-detalhe {
  max-height: 520px;
  overflow: auto;
  padding: 16px;
  background: var(--syn-color-bg-surface, #fff);
  border: 1px solid var(--syn-color-border-default, #dce2e8);
  border-radius: 12px;
}
.cb-pg article {
  padding: 12px 0;
  border-bottom: 1px solid var(--syn-color-border-default, #dce2e8);
}
.cb-pg-table {
  overflow: auto;
  margin: 16px 0 24px;
  border: 1px solid var(--syn-color-border-default, #dce2e8);
  border-radius: 10px;
  background: var(--syn-color-bg-surface, #fff);
}
.cb-pg table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.cb-pg caption {
  padding: 12px;
  text-align: left;
  font-weight: 700;
}
.cb-pg td,
.cb-pg th {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--syn-color-border-default, #dce2e8);
  vertical-align: top;
}
.cb-pg th {
  white-space: nowrap;
}
.cb-pg td .syn-btn {
  margin: 3px;
  white-space: nowrap;
}
.cb-pg-editor {
  padding: 16px;
  margin: 16px 0;
  background: var(--syn-color-bg-surface, #fff);
  border: 2px solid var(--syn-color-border-default, #dce2e8);
  border-radius: 12px;
}
.cb-pg-editor > div:last-child {
  margin-top: 16px;
  display: flex;
  gap: 8px;
}
.cb-pg-editor fieldset {
  grid-column: 1 / -1;
  border: 1px solid var(--syn-color-border-default, #dce2e8);
  border-radius: 8px;
  padding: 16px;
}
.cb-pg-paradas li {
  padding: 6px;
}
.cb-pg-retornos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cb-pg-retornos article {
  padding: 16px;
  background: var(--syn-color-bg-surface, #fff);
  border: 1px solid var(--syn-color-border-default, #dce2e8);
  border-radius: 10px;
}
@media (max-width: 1100px) {
  .cb-pg-filtros,
  .cb-pg-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cb-pg-indicadores {
    grid-template-columns: repeat(3, 1fr);
  }
  .cb-pg-map-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .cb-pg-retornos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .cb-pg-head {
    flex-direction: column;
  }
  .cb-pg-map-grid {
    grid-template-columns: 1fr;
  }
  #cbPgMapa {
    height: 380px;
  }
  .cb-pg-detalhe {
    max-height: 380px;
  }
  .cb-pg-filtros,
  .cb-pg-form-grid {
    grid-template-columns: 1fr;
  }
  .cb-pg-indicadores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cb-pg-retornos {
    grid-template-columns: 1fr;
  }
  .cb-pg-editor > div:last-child {
    flex-wrap: wrap;
  }
}

/* Visão gerencial: controles essenciais e informações sob demanda. */
.cb-pg-head h2 { font-size: 25px; letter-spacing: -.5px; }
.cb-pg-head p { color: var(--syn-color-text-secondary,#617184); font-size: 14px; margin-bottom: 0; }
.cb-pg-searchbar { position: relative; padding: 16px; border-radius: 16px; background: var(--syn-color-bg-surface,#fff); border: 1px solid var(--syn-color-border-default,#dce2e8); }
.cb-pg-searchrow { display: grid; grid-template-columns: minmax(180px,1fr) 150px 150px auto; gap: 12px; align-items: end; }
.cb-pg summary { cursor: pointer; font-size: 13px; font-weight: 600; padding: 10px 0; }
.cb-pg summary:focus-visible, .cb-pg-local-card:focus-visible, .cb-pg-indicadores button:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.cb-pg-filter-panel > summary { position: static; margin-top: 12px; padding: 10px; border-radius: 8px; color: var(--syn-color-text-primary,#152332); }
.cb-pg-filter-panel[open] > summary { background: #eef4f0; }
.cb-pg-filter-panel .cb-pg-filtros { margin-top: 16px; border: 0; border-top: 1px solid #e4e9ed; border-radius: 0; padding: 16px 0 0; grid-template-columns: repeat(3,minmax(0,1fr)); }
.cb-pg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cb-pg-chips .syn-btn { border-radius: 20px; font-size: 12px; min-height: 32px; padding: 6px 12px; }
.cb-pg-indicadores { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 18px 0 12px; }
.cb-pg-indicadores button { text-align: left; padding: 18px 20px; border: 1px solid var(--syn-color-border-default,#dce2e8); background: var(--syn-color-bg-surface,#fff); border-radius: 14px; color: inherit; cursor: pointer; font-family: inherit; }
.cb-pg-indicadores button:hover { border-color: #86aa95; background: #f4faf6; }
.cb-pg-indicadores strong { font-size: 30px; margin: 6px 0; line-height: 1.1; }
.cb-pg-indicadores span { font-size: 13px; font-weight: 600; }
.cb-pg-indicadores small { font-size: 12px; color: var(--syn-color-text-secondary,#617184); }
.cb-pg-context { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 8px; font-size: 12px; color: var(--syn-color-text-secondary,#617184); }
.cb-pg-context summary { font-size: 12px; padding: 0; }
.cb-pg-context details { max-width: 420px; }
.cb-pg-tabs { gap: 20px; border-bottom: 1px solid #dce2e8; margin: 20px 0 16px; padding: 0 0 6px; }
.cb-pg-tabs .syn-btn { border: 0; background: transparent; box-shadow: none; border-radius: 0; color: var(--syn-color-text-secondary,#617184); padding: 10px 0; }
.cb-pg-tabs .syn-btn[aria-pressed="true"] { color: #146b40; box-shadow: 0 3px 0 #146b40; font-weight: 700; }
.cb-pg-map-tools { justify-content: space-between; align-items: center; gap: 12px; }
.cb-pg-modes { display: flex; flex-wrap: wrap; padding: 4px; background: #e9edf0; border-radius: 10px; gap: 2px; }
.cb-pg-modes .syn-btn { border: 0; background: transparent; min-height: 34px; padding: 7px 14px; border-radius: 7px; }
.cb-pg-modes .syn-btn[aria-pressed="true"] { background: #fff; color: #146b40; box-shadow: 0 1px 4px #102a181a; }
.cb-pg-map-help { max-width: 380px; }
.cb-pg-map-help[open] { flex-basis: 100%; max-width: none; }
.cb-pg-map-help label { max-width: 360px; }
.cb-pg-map-grid { gap: 0; background: var(--syn-color-bg-surface,#fff); border: 1px solid #dce2e8; border-radius: 16px; overflow: hidden; }
.cb-pg-map-canvas { min-width: 0; }
#cbPgMapa { border: 0; border-radius: 0; height: 520px; background: #edf1ef; }
.cb-pg-legend { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px 16px; font-size: 11px; background: var(--syn-color-bg-surface,#fff); }
.cb-pg-legend span { display: flex; align-items: center; gap: 5px; }
.cb-pg-legend i { height: 8px; width: 8px; border-radius: 50%; }
.cb-pg-detalhe { max-height: 562px; border: 0; border-left: 1px solid #dce2e8; border-radius: 0; padding: 20px; }
.cb-pg-detalhe h3 { margin-top: 12px; font-size: 17px; }
.cb-pg-side-head { display: flex; justify-content: space-between; align-items: center; }
.cb-pg-side-head h3 { margin: 0; }
.cb-pg-side-head > span { padding: 4px 10px; border-radius: 12px; background: #edf4ef; color: #146b40; font-size: 12px; }
.cb-pg-local-card { display: block; width: 100%; text-align: left; padding: 14px 0; border: 0; border-bottom: 1px solid #e7ecf0; background: transparent; color: inherit; font-family: inherit; cursor: pointer; }
.cb-pg-local-card:hover { background: #f4faf6; }
.cb-pg-local-card strong, .cb-pg-local-card span, .cb-pg-local-card small { display: block; }
.cb-pg-local-card strong { font-size: 14px; }
.cb-pg-local-card span { font-size: 12px; margin: 6px 0; }
.cb-pg-local-card small { font-size: 11px; color: #617184; }
.cb-pg-empty { padding: 22px 0; line-height: 1.6; font-size: 14px; }
@media(max-width:1100px) {
 .cb-pg-searchrow { grid-template-columns: minmax(150px,1fr) 130px 130px; padding-right: 0; }
 .cb-pg-searchrow > button { justify-self: start; }
 .cb-pg-filter-panel > summary { top: auto; bottom: 16px; }
 .cb-pg-filter-panel[open] > summary { position: static; margin-top: 8px; }
}
@media(max-width:700px) {
 .cb-pg-head h2 { font-size: 22px; }
 .cb-pg-searchrow { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .cb-pg-searchrow > label:first-child { grid-column: 1/-1; }
 .cb-pg-filter-panel .cb-pg-filtros { grid-template-columns: 1fr; }
 .cb-pg-indicadores { gap: 8px; }
 .cb-pg-indicadores button { padding: 12px 10px; }
 .cb-pg-indicadores strong { font-size: 24px; }
 .cb-pg-indicadores span { font-size: 11px; }
 .cb-pg-indicadores small { display: none; }
 .cb-pg-tabs { gap: 14px; }
 .cb-pg-tabs .syn-btn { font-size: 12px; }
 .cb-pg-map-grid { grid-template-columns: 1fr; }
 #cbPgMapa { height: 380px; }
 .cb-pg-detalhe { border-left: 0; border-top: 1px solid #dce2e8; max-height: 420px; }
}

@media(max-width:700px) {
 .cb-pg-head > div:last-child { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; }
 .cb-pg-head > div:last-child > button:last-child { grid-column:1/-1; }
}

.cb-pg-list-head { display:flex; justify-content:space-between; gap:16px; margin-top:18px; }
.cb-pg-list-head > div:last-child { display:flex; gap:8px; flex-wrap:wrap; align-items:start; }
.cb-pg-timeline { padding:0 0 0 18px; list-style:none; border-left:2px solid #dce7e0; }
.cb-pg-timeline li { position:relative; padding:8px 0 20px 4px; font-size:13px; overflow-wrap:anywhere; }
.cb-pg-timeline li::before { content:""; position:absolute; left:-24px; top:12px; width:10px; height:10px; border-radius:50%; background:#218452; border:2px solid #fff; }
.cb-pg-timeline small { display:block; margin:6px 0 10px; color:#617184; }
.cb-pg-timeline p { margin:6px 0; white-space:pre-wrap; }
@media(max-width:700px) { .cb-pg-list-head { flex-direction:column; } }
