/* AI picker: wine background and white text on desktop and mobile. */
html body :is(#cb-ai-right-panel, .external-ai-panel) {
  background:#762343!important;
  color:#fff!important;
  color-scheme:dark;
  border-color:rgba(255,255,255,.3)!important;
}
html body :is(#cb-ai-right-panel, .external-ai-panel) * {
  color:#fff!important;
  border-color:rgba(255,255,255,.3)!important;
}
html body :is(#cb-ai-right-panel, .external-ai-panel) :is(header,section,div,details,summary,label,p,h2,h3,button) {
  background:transparent!important;
}
html body :is(#cb-ai-right-panel, .external-ai-panel) :is(button,summary,label):hover {
  background:rgba(255,255,255,.1)!important;
}
html body :is(#cb-ai-right-panel, .external-ai-panel) :focus-visible {
  outline:2px solid #fff!important;
  outline-offset:3px;
}
html body :is(#cb-ai-right-panel, .external-ai-panel) input {
  accent-color:#fff;
}
html.collaboss-mobile-ai-open body .right-frame,
html.collaboss-mobile-ai-open body .right-frame .collaboss-mobile-popup-header {
  background:#762343!important;
  color:#fff!important;
}
html.collaboss-mobile-ai-open body .right-frame .collaboss-mobile-popup-header * {
  background:transparent!important;
  color:#fff!important;
}

/* Plain text and white controls, including selected and disabled controls. */
html body :is(#cb-ai-right-panel, .external-ai-panel),
html body :is(#cb-ai-right-panel, .external-ai-panel) *,
html body :is(#cb-ai-right-panel, .external-ai-panel) *::before,
html body :is(#cb-ai-right-panel, .external-ai-panel) *::after,
html.collaboss-mobile-ai-open body .right-frame .collaboss-mobile-popup-header,
html.collaboss-mobile-ai-open body .right-frame .collaboss-mobile-popup-header * {
  font-weight:400!important;
  text-shadow:none!important;
  box-shadow:none!important;
}
html body :is(#cb-ai-right-panel, .external-ai-panel) input:is([type="checkbox"],[type="radio"]) {
  -webkit-appearance:none!important;
  appearance:none!important;
  color-scheme:light;
  display:inline-grid!important;
  place-items:center;
  flex:0 0 14px!important;
  width:14px!important;
  height:14px!important;
  padding:0!important;
  background:#fff!important;
  border:1px solid #fff!important;
  border-radius:2px!important;
  vertical-align:middle;
  cursor:pointer;
}
html body :is(#cb-ai-right-panel, .external-ai-panel) input[type="radio"] {
  border-radius:50%!important;
}
html body :is(#cb-ai-right-panel, .external-ai-panel) input[type="checkbox"]:checked::before {
  content:"";
  width:7px;
  height:4px;
  border:solid #762343!important;
  border-width:0 0 2px 2px!important;
  transform:translateY(-1px) rotate(-45deg);
}
html body :is(#cb-ai-right-panel, .external-ai-panel) input[type="radio"]:checked::before {
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:#762343!important;
}
html body :is(#cb-ai-right-panel, .external-ai-panel) input:disabled {
  cursor:default;
}
