/* CCQ V6.1.56 - Exclusivamente apresentação; mantém os eventos e as regras dos módulos. */
:root{--ccq156-blue:#155b98;--ccq156-navy:#0e3465;--ccq156-green:#15945b;--ccq156-amber:#e29a10;--ccq156-gray:#c4d0dc}
/* Cabeçalho aprovado opção 1, com imagem local EXATA do UNI-T SVP do app. */
#ccq148Dashboard .ccq151-intro{
  position:relative!important;isolation:isolate;overflow:hidden!important;
  display:flex!important;min-height:154px!important;padding:21px 225px 21px 30px!important;
  background:linear-gradient(105deg,#0c2d60 0%,#104983 55%,#175b97 100%)!important;
  border-left:9px solid #3cc49d!important;border-bottom:3px solid #2ba97c!important;
  box-shadow:0 7px 20px #0e37682b!important;
}
#ccq148Dashboard .ccq151-intro::before{
  content:"";position:absolute;right:165px;bottom:-15px;width:295px;height:159px;z-index:-1;
  background:radial-gradient(ellipse at center,rgba(112,159,194,.35),transparent 70%),url('../IMG/ccq-unit-svp-v6156.png') center bottom / contain no-repeat;
  opacity:.92;pointer-events:none;
}
#ccq148Dashboard .ccq151-intro::after{
  content:"";position:absolute;top:-90px;right:170px;width:280px;height:350px;
  background:linear-gradient(125deg,transparent 40%,rgba(255,255,255,.07) 50%,transparent 61%);
  transform:skewX(-18deg);z-index:-2;pointer-events:none;
}
#ccq148Dashboard .ccq151-intro-text{position:relative;z-index:1;flex:1;min-width:0;max-width:800px}
#ccq148Dashboard .ccq156-eyebrow{display:flex;align-items:center;gap:10px;letter-spacing:.19em;color:#e2eefb;font-size:10px;font-weight:850;margin-bottom:12px}
#ccq148Dashboard .ccq156-eyebrow::before{content:"";width:28px;height:2px;background:#38caa0}
#ccq148Dashboard .ccq151-intro h1.ccq153-original-title{font-size:clamp(18px,1.75vw,27px)!important;line-height:1.18!important;max-width:745px!important;font-weight:850!important;letter-spacing:-.025em!important;margin:0 0 9px!important}
#ccq148Dashboard .ccq156-title-yellow{color:#f5b719!important}
#ccq148Dashboard .ccq156-title-white{color:#fff!important}
#ccq148Dashboard .ccq151-intro .ccq153-dashboard-subtitle{font-size:15px!important;font-weight:900!important;color:#fff!important;letter-spacing:.035em!important;display:flex;align-items:center;gap:9px}
#ccq148Dashboard .ccq151-intro .ccq153-dashboard-subtitle::before{content:"▥";display:grid;place-items:center;background:#164d8c;color:#fff;border-radius:6px;width:26px;height:26px;font-size:20px}
#ccq148Dashboard .ccq151-intro-meta{position:relative;z-index:2;flex:none;min-width:175px;max-width:196px;align-self:center;align-items:flex-end}
#ccq148Dashboard .ccq155-version{color:#ffcf45!important;font-weight:900!important}
@media(max-width:1150px){#ccq148Dashboard .ccq151-intro{padding-right:215px!important}#ccq148Dashboard .ccq151-intro::before{right:155px;width:250px;opacity:.64}}
@media(max-width:820px){#ccq148Dashboard .ccq151-intro{padding:19px 18px!important;min-height:190px!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important}#ccq148Dashboard .ccq151-intro-meta{align-self:stretch;align-items:flex-start;max-width:100%;min-width:0;flex-direction:row;flex-wrap:wrap;gap:8px!important}#ccq148Dashboard .ccq151-intro::before{right:-45px;bottom:12px;width:190px;height:110px;opacity:.38}#ccq148Dashboard .ccq151-intro h1.ccq153-original-title{font-size:21px!important;padding-right:0!important;max-width:100%!important}#ccq148Dashboard .ccq151-intro-text{max-width:none}}
@media(max-width:500px){#ccq148Dashboard .ccq151-intro::before{opacity:.17}#ccq148Dashboard .ccq151-intro .ccq153-dashboard-subtitle{font-size:13px!important}}
/* OPÇÃO 3: painel de cada Buy Off; a operação fica no HTML original. */
#buyoffGrid{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}
#buyoffGrid .bo8-station,#radiosExtrasGridV543 .r543-extra-card{
  background:#fff!important;border:1px solid #c5d9e9!important;border-left:1px solid #c5d9e9!important;
  border-radius:15px!important;padding:0 0 14px!important;overflow:hidden!important;
  box-shadow:0 6px 16px rgba(9,49,98,.1)!important;min-width:0!important;
}
#buyoffGrid .bo8-station-title,#radiosExtrasGridV543 .r543-extra-title{
  display:block!important;margin:0!important;padding:14px 17px!important;
  background:linear-gradient(110deg,var(--ccq156-navy),var(--ccq156-blue))!important;
  color:#fff!important;font-size:17px!important;font-weight:900!important;
  line-height:1.3!important;letter-spacing:.025em!important;
}
#buyoffGrid .bo8-header-grid,#radiosExtrasGridV543 .r543-extra-header{
  margin:0!important;padding:13px 15px!important;max-width:100%;background:#f3f8fd!important;
  border-bottom:1px solid #d9e6f3!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
#buyoffGrid .bo8-header-grid label,#radiosExtrasGridV543 .r543-extra-header label{color:#174a7a!important;font-size:10px!important}
#buyoffGrid .bo8-slots{grid-template-columns:1fr!important;gap:11px!important;padding:13px 15px 0!important}
#buyoffGrid .r543-radio-slot{grid-column:1!important}
#buyoffGrid .bo8-slot,#radiosExtrasGridV543 .r543-radio-slot{
  display:grid!important;grid-template-columns:minmax(155px,.76fr) minmax(250px,1.2fr)!important;
  grid-template-areas:"identity progress" "actions actions" "register register"!important;
  align-items:center!important;align-content:center!important;gap:9px 14px!important;
  padding:12px 13px!important;min-width:0!important;min-height:0!important;
  background:#fff!important;border:1px solid #d6e4ef!important;border-left:4px solid #c5d0dc!important;
  border-radius:12px!important;box-shadow:0 2px 6px rgba(17,58,100,.06)!important;
}
#buyoffGrid .bo8-slot.v578-one,#buyoffGrid .bo8-slot.v578-final-pending,
#radiosExtrasGridV543 .bo8-slot.v578-one,#radiosExtrasGridV543 .bo8-slot.v578-final-pending{
  background:#f3f8ff!important;border-color:#c5dbed!important;border-left-color:var(--ccq156-blue)!important;box-shadow:0 2px 7px #124f8420!important;
}
#buyoffGrid .bo8-slot.v578-two,#radiosExtrasGridV543 .bo8-slot.v578-two{
  background:#f1fbf6!important;border-color:#b8dec8!important;border-left-color:var(--ccq156-green)!important;box-shadow:0 2px 7px #146b3f1b!important;
}
#buyoffGrid .bo8-slot.bo8-loss,#radiosExtrasGridV543 .bo8-slot.bo8-loss{background:#fff3f3!important;border-color:#e69898!important;border-left-color:#d64242!important}
#buyoffGrid .bo8-slot .bo8-summary,#radiosExtrasGridV543 .bo8-slot .bo8-summary{grid-area:identity;min-width:0!important;gap:10px!important}
#buyoffGrid .bo8-slot .bo8-summary img,#radiosExtrasGridV543 .bo8-slot .bo8-summary img{width:66px!important;height:78px!important;flex:0 0 66px!important;object-fit:contain!important;background:#f5faff!important;border:1px solid #e1ebf3!important;border-radius:8px!important;padding:4px!important}
#buyoffGrid .bo8-slot .bo8-summary strong,#radiosExtrasGridV543 .bo8-slot .bo8-summary strong{font-size:12px!important;color:#0d3567!important;line-height:1.3!important}
#buyoffGrid .bo8-main-info span,#radiosExtrasGridV543 .bo8-main-info span{font-size:11px!important}
/* A linha depende APENAS do estado calculado pelo fluxo existente, sem mudar a lógica. */
#buyoffGrid .v578-check-strip,#radiosExtrasGridV543 .v578-check-strip{
  grid-area:progress;position:relative!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 77px!important;
  align-items:stretch!important;gap:6px!important;margin:0!important;padding:20px 0 0!important;
}
#buyoffGrid .v578-check-strip::before,#radiosExtrasGridV543 .v578-check-strip::before{
  content:"";position:absolute;z-index:0;left:16%;right:23%;top:8px;height:5px;border-radius:6px;background:var(--ccq156-gray);
}
#buyoffGrid .v578-check-strip:has(.c1)::before,#radiosExtrasGridV543 .v578-check-strip:has(.c1)::before{
  background:linear-gradient(to right,var(--ccq156-blue) 0% 50%,var(--ccq156-gray) 50% 100%);
}
#buyoffGrid .v578-check-strip:has(.c2)::before,#radiosExtrasGridV543 .v578-check-strip:has(.c2)::before{
  background:var(--ccq156-green);
}
#buyoffGrid .v578-check-chip,#radiosExtrasGridV543 .v578-check-chip{
  position:relative!important;display:flex!important;min-width:0!important;min-height:57px!important;
  align-items:center!important;text-align:center!important;padding:8px 4px 5px!important;
  background:#f3f6f9!important;border:1px solid #d4dee9!important;color:#4e6780!important;border-radius:9px!important;
}
#buyoffGrid .v578-check-chip::before,#radiosExtrasGridV543 .v578-check-chip::before{
  content:"";position:absolute;top:-19px;left:50%;transform:translateX(-50%);z-index:2;
  width:14px;height:14px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 2px #a7b7c9;background:#c7d2dd;
}
#buyoffGrid .v578-check-chip.pending,#radiosExtrasGridV543 .v578-check-chip.pending{background:#fff3e7!important;color:#99510c!important;border-color:#efd0a7!important}
#buyoffGrid .v578-check-chip.done,#radiosExtrasGridV543 .v578-check-chip.done{background:#e7f3fb!important;color:#12588f!important;border-color:#aed0e7!important}
#buyoffGrid .v578-check-strip:has(.c1) .v578-check-chip.done::before,#radiosExtrasGridV543 .v578-check-strip:has(.c1) .v578-check-chip.done::before{background:var(--ccq156-blue);box-shadow:0 0 0 2px var(--ccq156-blue)}
#buyoffGrid .v578-check-strip:has(.c2) .v578-check-chip.done,#radiosExtrasGridV543 .v578-check-strip:has(.c2) .v578-check-chip.done{background:#e2f6ea!important;color:#17603b!important;border-color:#9bd6b6!important}
#buyoffGrid .v578-check-strip:has(.c2) .v578-check-chip.done::before,#radiosExtrasGridV543 .v578-check-strip:has(.c2) .v578-check-chip.done::before{background:var(--ccq156-green);box-shadow:0 0 0 2px var(--ccq156-green)}
#buyoffGrid .v578-check-chip b,#radiosExtrasGridV543 .v578-check-chip b{font-size:9px!important}
#buyoffGrid .v578-check-chip strong,#radiosExtrasGridV543 .v578-check-chip strong{font-size:9px!important}
#buyoffGrid .v578-check-total,#radiosExtrasGridV543 .v578-check-total{min-width:0!important;font-size:11px!important;border-radius:8px!important}
#buyoffGrid .bo8-slot .bo8-actions,#radiosExtrasGridV543 .bo8-slot .bo8-actions{
  grid-area:actions;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;gap:6px!important;margin:0!important;
}
#buyoffGrid .bo8-slot .bo8-actions >.v578-check-action,#radiosExtrasGridV543 .bo8-slot .bo8-actions >.v578-check-action{
  grid-column:1/-1!important;min-height:36px!important;order:0!important;width:100%!important;
  background:var(--ccq156-blue)!important;font-size:10px!important;
}
#buyoffGrid .bo8-slot .bo8-actions >.v578-check-action.locked,#radiosExtrasGridV543 .bo8-slot .bo8-actions >.v578-check-action.locked{background:#e7edf3!important;color:#657b8e!important}
#buyoffGrid .bo8-slot .bo8-actions >.v578-check-action.complete,#radiosExtrasGridV543 .bo8-slot .bo8-actions >.v578-check-action.complete{background:var(--ccq156-green)!important;color:white!important}
#buyoffGrid .bo8-slot .bo8-actions >button:not(.v578-check-action),#radiosExtrasGridV543 .bo8-slot .bo8-actions >button:not(.v578-check-action){
  min-width:0!important;max-width:100%!important;min-height:35px!important;width:auto!important;white-space:normal!important;
  font-size:10px!important;padding:7px!important;flex:auto!important;
}
#buyoffGrid .bo8-register-meta,#radiosExtrasGridV543 .bo8-register-meta{grid-area:register;min-width:0!important;font-size:9px!important}
#buyoffGrid .bo8-slot.bo8-empty,#radiosExtrasGridV543 .bo8-slot.bo8-empty{display:flex!important;background:#fff9f5!important}
#buyoffGrid .bo8-slot:has(.bo8-swap-box),#radiosExtrasGridV543 .bo8-slot:has(.bo8-swap-box){display:flex!important;background:#f6faff!important}
/* Indicadores do topo: leitura da tela, nenhum registro nem botão duplicado. */
#buyoffGrid .ccq156-status-bar,#radiosExtrasGridV543 .ccq156-status-bar{
  display:flex;justify-content:center;align-items:center;gap:14px;padding:10px 15px 13px;
  background:linear-gradient(110deg,#0d3365,var(--ccq156-blue));border-bottom:1px solid #dbe6f1;
}
#buyoffGrid .ccq156-status-pill,#radiosExtrasGridV543 .ccq156-status-pill{
  display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;width:88px;height:75px;
  border-radius:50%;background:#fff;color:#174a80;box-shadow:inset 0 0 0 5px #cbd5df;
}
#buyoffGrid .ccq156-status-pill.pending,#radiosExtrasGridV543 .ccq156-status-pill.pending{box-shadow:inset 0 0 0 5px #f4a340;color:#9b590b}
#buyoffGrid .ccq156-status-pill.finished,#radiosExtrasGridV543 .ccq156-status-pill.finished{box-shadow:inset 0 0 0 5px #40b47c;color:#14754b}
#buyoffGrid .ccq156-status-pill b,#radiosExtrasGridV543 .ccq156-status-pill b{font-size:23px!important;line-height:1.1!important}
#buyoffGrid .ccq156-status-pill small,#radiosExtrasGridV543 .ccq156-status-pill small{font-size:8px!important;line-height:1.15!important;font-weight:850!important;text-align:center!important}
#radiosExtrasGridV543{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
#radiosExtrasGridV543 .r543-extra-card:has(.v578-one),#radiosExtrasGridV543 .r543-extra-card:has(.v578-two),#radiosExtrasGridV543 .r543-extra-card:has(.v578-zero){background:#fff!important;border-color:#c5d9e9!important}
#radiosExtrasGridV543 .r543-radio-slot{margin:12px!important;width:calc(100% - 24px)!important;grid-template-columns:1fr!important;grid-template-areas:"identity" "progress" "actions" "register"!important}
#radiosExtrasGridV543 .ccq156-status-bar{padding:6px!important;gap:8px!important}
#radiosExtrasGridV543 .ccq156-status-pill{height:62px;width:72px}
#radiosExtrasGridV543 .ccq156-status-pill b{font-size:19px!important}
@media(max-width:920px){#buyoffGrid .bo8-slot{grid-template-columns:1fr!important;grid-template-areas:"identity" "progress" "actions" "register"!important}#buyoffGrid .bo8-slot .bo8-summary img{width:56px!important;height:68px!important;flex-basis:56px!important}#radiosExtrasGridV543{grid-template-columns:1fr!important}}
@media(max-width:620px){#buyoffGrid .bo8-header-grid,#radiosExtrasGridV543 .r543-extra-header{grid-template-columns:1fr!important}#buyoffGrid .bo8-slot,#radiosExtrasGridV543 .r543-radio-slot{padding:10px!important;gap:10px!important}#buyoffGrid .v578-check-strip,#radiosExtrasGridV543 .v578-check-strip{grid-template-columns:1fr 1fr 70px!important;gap:4px!important}#buyoffGrid .ccq156-status-pill{width:75px;height:67px}#buyoffGrid .bo8-slot .bo8-actions,#radiosExtrasGridV543 .bo8-slot .bo8-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}#buyoffGrid .bo8-slot .bo8-actions>button:nth-child(2):not(.v578-check-action),#radiosExtrasGridV543 .bo8-slot .bo8-actions>button:nth-child(2):not(.v578-check-action){grid-column:auto}}
@media(prefers-reduced-motion:reduce){#buyoffGrid *,#radiosExtrasGridV543 *{animation:none!important}}
/* Refinamentos responsivos após prévia: preservar leitura dos botões e da versão. */
@media(min-width:821px){
 #ccq148Dashboard .ccq151-intro::before{right:192px!important;width:225px!important;opacity:.86!important}
 #ccq148Dashboard .ccq151-intro-meta{padding:9px 0 9px 9px!important;background:linear-gradient(90deg,rgba(12,44,94,.78),rgba(13,56,107,.95))!important;border-radius:8px!important}
}
#buyoffGrid .v578-check-strip .v578-check-total,#radiosExtrasGridV543 .v578-check-strip .v578-check-total{grid-column:auto!important;min-width:0!important;align-self:stretch!important}
@media(max-width:620px){
 #buyoffGrid .v578-check-strip .v578-check-total,#radiosExtrasGridV543 .v578-check-strip .v578-check-total{font-size:8px!important;padding:3px 1px!important;line-height:1.2!important}
 #buyoffGrid .v578-check-chip,#radiosExtrasGridV543 .v578-check-chip{padding:6px 2px 4px!important}
 #buyoffGrid .v578-check-chip b,#radiosExtrasGridV543 .v578-check-chip b{font-size:8px!important}
 #buyoffGrid .v578-check-chip strong,#radiosExtrasGridV543 .v578-check-chip strong{font-size:8px!important}
}
