
/* ==========================================================
   Weboo V4.18.1 — Briefing Estratégico & Paleta Inteligente
   ========================================================== */

.oo-briefing{
  margin-top:16px;
  border:1px solid #cfe3ed;
  border-radius:20px;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(248,253,255,.98), rgba(239,248,252,.98));
  box-shadow:0 18px 45px rgba(15,73,98,.10);
}

.oo-briefing__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:18px 18px 15px;
  border-bottom:1px solid #dcecf3;
  background:rgba(255,255,255,.58);
}

.oo-briefing__head-copy{
  min-width:0;
}
.oo-briefing__eyebrow{
  display:block;
  margin-bottom:5px;
  color:#169fd9;
  font-size:9px;
  font-weight:900;
  letter-spacing:.10em;
}
.oo-briefing__head strong{
  display:block;
  color:#123b50;
  font-size:15px;
  line-height:1.25;
}
.oo-briefing__head small{
  display:block;
  margin-top:5px;
  color:#7f9eab;
  font-size:10px;
  line-height:1.4;
}
.oo-briefing__close{
  flex:0 0 auto;
  width:32px;height:32px;
  border:1px solid #cfe3ed;
  border-radius:10px;
  background:white;
  color:#527585;
  font-size:18px;
  line-height:1;
  cursor:pointer;
}

.oo-briefing__promise{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:11px;
  padding:11px 18px;
  border-bottom:1px solid #dcecf3;
  background:linear-gradient(90deg,#eaf9ff 0%,#f5fcff 55%,#fff5f2 100%);
}
.oo-briefing__promise span{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:0 9px;
  border-radius:999px;
  background:#0c435c;
  color:#fff;
  font-size:8px;
  font-weight:900;
  letter-spacing:.07em;
  white-space:nowrap;
}
.oo-briefing__promise p{
  margin:0;
  color:#426c7e;
  font-size:10px;
  line-height:1.45;
}

.oo-briefing__progress{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:7px;
  padding:12px 18px;
  border-bottom:1px solid #dcecf3;
}
.oo-briefing__step{
  min-width:0;
  position:relative;
  padding-top:8px;
  color:#9ab0ba;
  font-size:8px;
  font-weight:800;
  text-align:center;
}
.oo-briefing__step::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:3px;
  border-radius:999px;
  background:#dcebf1;
  transition:.25s ease;
}
.oo-briefing__step.is-done,
.oo-briefing__step.is-current{color:#158fc4}
.oo-briefing__step.is-done::before{background:#2cb8e8}
.oo-briefing__step.is-current::before{
  background:linear-gradient(90deg,#2cb8e8,#62d0f3);
  box-shadow:0 0 12px rgba(44,184,232,.18);
}

.oo-briefing__conversation{
  max-height:395px;
  overflow:auto;
  padding:18px;
  scroll-behavior:smooth;
}
.oo-briefing__conversation::-webkit-scrollbar{width:7px}
.oo-briefing__conversation::-webkit-scrollbar-thumb{
  background:#cbdfe8;border-radius:999px
}

.oo-briefing__msg{
  display:flex;
  gap:9px;
  margin:0 0 13px;
  align-items:flex-end;
}
.oo-briefing__msg.is-user{justify-content:flex-end}
.oo-briefing__avatar{
  flex:0 0 26px;
  width:26px;height:26px;
  display:grid;place-items:center;
  border-radius:50%;
  background:linear-gradient(145deg,#2b99ef,#ff6a5b);
  color:white;
  font-size:9px;
  font-weight:900;
  box-shadow:0 5px 14px rgba(28,121,170,.13);
}
.oo-briefing__bubble{
  max-width:min(86%,560px);
  padding:11px 13px;
  border-radius:15px 15px 15px 5px;
  background:white;
  border:1px solid #d9eaf1;
  color:#244b5e;
  font-size:11px;
  line-height:1.55;
  box-shadow:0 8px 20px rgba(29,84,107,.055);
}
.oo-briefing__msg.is-user .oo-briefing__bubble{
  border:0;
  border-radius:15px 15px 5px 15px;
  background:#159ed7;
  color:white;
}

.oo-briefing__typing{
  display:inline-flex;
  align-items:center;
  gap:4px;
  height:15px;
}
.oo-briefing__typing i{
  width:5px;height:5px;border-radius:50%;background:#8eb4c4;
  animation:ooBriefTyping .85s ease-in-out infinite alternate;
}
.oo-briefing__typing i:nth-child(2){animation-delay:.14s}
.oo-briefing__typing i:nth-child(3){animation-delay:.28s}
@keyframes ooBriefTyping{to{transform:translateY(-3px);opacity:.45}}

.oo-briefing__quick{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:4px 0 15px 35px;
}
.oo-briefing__quick button{
  border:1px solid #c9e2ee;
  border-radius:999px;
  padding:7px 10px;
  background:#f7fcfe;
  color:#34718e;
  font-size:9px;
  font-weight:800;
  cursor:pointer;
  transition:.18s ease;
}
.oo-briefing__quick button:hover{
  border-color:#57c4ee;
  background:#eefaff;
  transform:translateY(-1px);
}

.oo-briefing__palettes{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin:6px 0 18px 35px;
}
.oo-palette{
  position:relative;
  display:grid;
  grid-template-columns:72px minmax(0,1fr) 22px;
  align-items:center;
  gap:10px;
  min-height:76px;
  padding:10px;
  border:1px solid #cfe3ed;
  border-radius:14px;
  background:#fff;
  color:#234b5e;
  text-align:left;
  cursor:pointer;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.oo-palette:hover{
  border-color:#59c4ec;
  box-shadow:0 10px 24px rgba(23,113,151,.10);
  transform:translateY(-1px);
}
.oo-palette.is-selected{
  border-color:#22aee5;
  box-shadow:0 0 0 3px rgba(34,174,229,.12);
}
.oo-palette:disabled{cursor:default;opacity:.72;transform:none}
.oo-palette.is-selected:disabled{opacity:1}
.oo-palette__swatches{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  width:72px;
  height:48px;
  overflow:hidden;
  border:1px solid rgba(20,65,84,.10);
  border-radius:10px;
  box-shadow:0 5px 12px rgba(17,65,86,.08);
}
.oo-palette__swatches i{display:block;background:var(--swatch)}
.oo-palette__copy{min-width:0}
.oo-palette__copy strong{
  display:block;
  color:#20495c;
  font-size:10.5px;
  line-height:1.3;
}
.oo-palette__copy small{
  display:block;
  margin-top:4px;
  color:#7896a4;
  font-size:8.5px;
  line-height:1.4;
}
.oo-palette__check{
  display:grid;
  place-items:center;
  width:20px;height:20px;
  border-radius:50%;
  background:#e7f6fc;
  color:#168fc2;
  font-size:10px;
  font-weight:900;
  opacity:0;
}
.oo-palette.is-selected .oo-palette__check{opacity:1}
.oo-palette__custom{
  grid-column:1/-1;
  margin:1px 2px 0;
  color:#7593a1;
  font-size:9px;
  line-height:1.45;
}

.oo-briefing__composer{
  border-top:1px solid #dcecf3;
  padding:13px 15px 15px;
  background:rgba(255,255,255,.72);
}
.oo-briefing__composer-row{
  display:flex;
  align-items:flex-end;
  gap:8px;
}
.oo-briefing__input{
  flex:1;
  min-height:44px;
  max-height:120px;
  resize:none;
  border:1px solid #c9dfe9;
  border-radius:13px;
  padding:11px 12px;
  background:white;
  color:#244b5e;
  font:inherit;
  font-size:11px;
  line-height:1.45;
  outline:none;
}
.oo-briefing__input:focus{
  border-color:#43bce9;
  box-shadow:0 0 0 3px rgba(67,188,233,.10);
}
.oo-briefing__send{
  flex:0 0 auto;
  min-width:82px;
  height:44px;
  border:0;
  border-radius:12px;
  padding:0 13px;
  background:linear-gradient(90deg,#139bd5,#32bfee);
  color:white;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}
.oo-briefing__send:disabled{opacity:.52;cursor:not-allowed}

.oo-briefing__material{
  margin:4px 0 15px 35px;
  padding:12px;
  border:1px dashed #add9ea;
  border-radius:14px;
  background:#f7fcfe;
}
.oo-briefing__material-title{
  color:#27536a;
  font-size:10px;
  font-weight:900;
}
.oo-briefing__material-copy{
  margin-top:4px;
  color:#7898a7;
  font-size:9px;
  line-height:1.4;
}
.oo-briefing__material-actions{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:10px;
}
.oo-briefing__file-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 10px;
  border:1px solid #c8e2ed;
  border-radius:10px;
  background:white;
  color:#2c6c89;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
}
.oo-briefing__file-btn input{display:none}
.oo-briefing__files{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:9px;
}
.oo-briefing__file{
  display:inline-flex;
  align-items:center;
  gap:5px;
  max-width:100%;
  padding:6px 8px;
  border-radius:9px;
  background:#eaf7fc;
  color:#3e7087;
  font-size:8px;
  font-weight:800;
}
.oo-briefing__file button{
  border:0;background:transparent;color:#819ba7;cursor:pointer;padding:0
}
.oo-briefing__limit{
  margin-top:8px;
  color:#8fa6af;
  font-size:8px;
}

.oo-briefing__ready{
  margin:8px 0 4px;
  padding:15px;
  border:1px solid #cbe7d7;
  border-radius:16px;
  background:#f4fcf7;
}
.oo-briefing__ready strong{
  display:block;color:#1f6f49;font-size:12px;margin-bottom:5px
}
.oo-briefing__ready p{
  margin:0;color:#668579;font-size:9px;line-height:1.5
}
.oo-briefing__ready-actions{
  display:flex;flex-wrap:wrap;gap:8px;margin-top:12px
}
.oo-briefing__primary,
.oo-briefing__secondary{
  min-height:38px;
  padding:0 13px;
  border-radius:11px;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
}
.oo-briefing__primary{
  border:0;
  background:linear-gradient(90deg,#159bd5,#32bfee);
  color:#fff;
}
.oo-briefing__secondary{
  border:1px solid #cae1eb;
  background:#fff;
  color:#4c7181;
}
.oo-briefing__save-note{
  margin-top:8px;
  color:#77949f;
  font-size:8px;
  line-height:1.4;
}

.idea-proposal__actions{
  flex-wrap:wrap;
}
.idea-proposal__brief{
  border:1px solid #bbddea;
  border-radius:999px;
  padding:10px 14px;
  background:#f7fcfe;
  color:#216f92;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
}
.idea-proposal__brief:hover{
  border-color:#4fc1ea;
  background:#eefaff;
}
.idea-proposal__microcopy{
  width:100%;
  margin-top:3px;
  color:#8aa2ad;
  font-size:8px;
  line-height:1.4;
}

.quote-briefing{
  margin:10px 0 4px;
  padding:12px 13px;
  border:1px solid #cce5ef;
  border-radius:13px;
  background:#f6fcfe;
}
.quote-briefing strong{
  display:block;
  color:#24617c;
  font-size:9px;
}
.quote-briefing span{
  display:block;
  margin-top:4px;
  color:#7899a8;
  font-size:8px;
  line-height:1.4;
}

@media(max-width:760px){
  .oo-briefing__head{padding:15px}
  .oo-briefing__promise{grid-template-columns:1fr;padding:11px 14px}
  .oo-briefing__promise span{justify-self:start}
  .oo-briefing__progress{padding:10px 14px}
  .oo-briefing__step{font-size:7px}
  .oo-briefing__conversation{max-height:440px;padding:14px}
  .oo-briefing__bubble{max-width:90%}
  .oo-briefing__composer-row{align-items:stretch}
  .oo-briefing__send{min-width:70px}
  .idea-proposal__brief{width:100%}
  .oo-briefing__palettes{grid-template-columns:1fr;margin-left:0}
}

@media(max-width:460px){
  .oo-palette{grid-template-columns:62px minmax(0,1fr) 20px}
  .oo-palette__swatches{width:62px;height:46px}
}


/* ==========================================================
   Weboo V4.17.1 — Briefing UX & Referencias Inteligentes
   ========================================================== */

/* Más legibilidad */
.oo-briefing__head strong{
  font-size:18px;
}
.oo-briefing__head small{
  font-size:11px;
  line-height:1.5;
}
.oo-briefing__eyebrow{
  font-size:10px;
}
.oo-briefing__step{
  font-size:9px;
}
.oo-briefing__bubble{
  font-size:13px;
  line-height:1.58;
}
.oo-briefing__quick button{
  font-size:10px;
  padding:8px 11px;
}
.oo-briefing__material-title{
  font-size:11px;
}
.oo-briefing__material-copy,
.oo-briefing__limit,
.oo-briefing__save-note{
  font-size:9.5px;
}
.oo-briefing__input{
  font-size:13px;
}
.oo-briefing__send{
  font-size:11px;
}
.oo-briefing__ready strong{
  font-size:14px;
}
.oo-briefing__ready p{
  font-size:10.5px;
}
.oo-briefing__primary,
.oo-briefing__secondary{
  font-size:10px;
}

/* Barra superior: progreso útil, no solo porcentaje */
.oo-briefing__quality{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px 10px;
  padding:10px 18px;
  border-bottom:1px solid #dcecf3;
  background:rgba(246,252,254,.72);
}
.oo-briefing__quality-main{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#396e85;
  font-size:10px;
  font-weight:900;
}
.oo-briefing__quality-main i{
  width:7px;height:7px;border-radius:50%;
  background:#ffb84b;
  box-shadow:0 0 0 3px rgba(255,184,75,.10);
}
.oo-briefing__quality.is-good .oo-briefing__quality-main i{
  background:#35c87a;
  box-shadow:0 0 0 3px rgba(53,200,122,.10);
}
.oo-briefing__quality.is-complete .oo-briefing__quality-main i{
  background:#28b6e8;
  box-shadow:0 0 0 3px rgba(40,182,232,.10);
}
.oo-briefing__quality-missing{
  color:#829eaa;
  font-size:9.5px;
  line-height:1.35;
}

/* Acción siempre disponible */
.oo-briefing__head-actions{
  display:flex;
  align-items:center;
  gap:7px;
}
.oo-briefing__quote-now{
  min-height:32px;
  padding:0 11px;
  border:1px solid #bfe0ec;
  border-radius:10px;
  background:#f8fdff;
  color:#237697;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
}
.oo-briefing__quote-now:hover{
  border-color:#4fc1ea;
  background:#eefaff;
}
.oo-briefing__summary-btn{
  min-height:32px;
  padding:0 10px;
  border:1px solid #d2e5ed;
  border-radius:10px;
  background:white;
  color:#557987;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
}

/* Resumen vivo */
.oo-briefing__summary-panel{
  margin:0 18px 12px;
  padding:13px;
  border:1px solid #d3e7ef;
  border-radius:14px;
  background:#fbfeff;
}
.oo-briefing__summary-panel[hidden]{display:none}
.oo-briefing__summary-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.oo-briefing__summary-item{
  min-width:0;
  padding:9px 10px;
  border-radius:10px;
  background:#f1f9fc;
}
.oo-briefing__summary-item b{
  display:block;
  margin-bottom:3px;
  color:#28627d;
  font-size:8.5px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.oo-briefing__summary-item span{
  display:block;
  color:#5f7f8e;
  font-size:10px;
  line-height:1.42;
  overflow-wrap:anywhere;
}

/* Referencias inteligentes */
.oo-reference-card{
  margin:4px 0 13px 35px;
  padding:12px;
  border:1px solid #cde5ef;
  border-radius:14px;
  background:#f8fdff;
}
.oo-reference-card strong{
  display:block;
  color:#2b637d;
  font-size:10.5px;
  margin-bottom:5px;
}
.oo-reference-card p{
  margin:0;
  color:#7696a4;
  font-size:9.5px;
  line-height:1.45;
}
.oo-reference-card__actions{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:10px;
}
.oo-reference-card__actions button{
  min-height:32px;
  padding:0 10px;
  border:1px solid #c9e2ed;
  border-radius:10px;
  background:white;
  color:#2f6e8a;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
}
.oo-reference-link{
  display:flex;
  align-items:center;
  gap:8px;
  margin:5px 0 10px 35px;
  padding:9px 10px;
  border:1px solid #c9e5d5;
  border-radius:11px;
  background:#f5fcf8;
  color:#2c7350;
  font-size:9.5px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.oo-reference-link::before{
  content:"↗";
  flex:0 0 auto;
  width:20px;height:20px;
  display:grid;place-items:center;
  border-radius:7px;
  background:#e3f6ea;
  font-weight:900;
}
.oo-reference-followup{
  margin:0 0 13px 35px;
  padding:10px 12px;
  border-left:3px solid #50bde8;
  border-radius:0 10px 10px 0;
  background:#f4fbfe;
  color:#557a8b;
  font-size:10px;
  line-height:1.48;
}

/* Respuesta editable */
.oo-briefing__msg.is-user{
  position:relative;
}
.oo-briefing__edit{
  flex:0 0 auto;
  align-self:center;
  width:24px;height:24px;
  display:grid;place-items:center;
  border:1px solid #cae0e9;
  border-radius:8px;
  background:white;
  color:#6e8e9c;
  font-size:11px;
  cursor:pointer;
  opacity:.72;
}
.oo-briefing__edit:hover{
  opacity:1;
  border-color:#6dc9eb;
}

/* Mensaje final un poco más comercial */
.oo-briefing__ready{
  background:linear-gradient(180deg,#f5fcf8,#f0faf5);
}
.oo-briefing__ready strong{
  color:#176b45;
}

/* URLs dentro de mensajes del usuario */
.oo-briefing__bubble a{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:2px;
}

@media(max-width:760px){
  .oo-briefing__head{
    flex-direction:column;
  }
  .oo-briefing__head-actions{
    width:100%;
    justify-content:space-between;
  }
  .oo-briefing__quote-now,
  .oo-briefing__summary-btn{
    flex:1;
  }
  .oo-briefing__summary-grid{
    grid-template-columns:1fr;
  }
  .oo-briefing__bubble{
    font-size:12.5px;
  }
}
