/* C01 brand roles from the supplied VI; exploratory palettes do not replace the original mark. */
:root {
  --brand-bridge: #23468b;
  --brand-connection: #489dc3;
  --brand-sky: #51ade6;
  --brand-cocreation: #62bebf;
  --brand-reading-ink: #16263f;
}
html[data-theme='bridge'] :is(#app, #modal, dialog) svg.icon {
  filter: none;
  flex-shrink: 0;
  vertical-align: middle;
}
html[data-theme='bridge'] #app .chrome-nav-group > a[aria-current='page'] svg.icon {
  color: var(--brand-bridge);
  stroke: currentColor;
}
html[data-theme='bridge'] :is(#app, #modal, dialog) .primary svg.icon {
  color: inherit;
  filter: none;
}
html[data-theme='bridge'] #app .b-badge-blue {
  color: var(--brand-bridge);
}
html[data-theme='bridge'] #app .g-catalog .d-course-art:has(img[src*='logo-']) {
  background: #fff;
}
html[data-theme='bridge'] #app .g-catalog .d-course-art img[src*='logo-'] {
  object-fit: contain;
  padding: 24px;
}
/* Searching is a utility; filled colour stays with create, save, upload and submit actions. */
html[data-theme='bridge']
  :is(#app, #modal)
  :is(
    input:not([type='checkbox'], [type='radio'], [type='range'], [type='file'], [type='hidden']),
    select,
    textarea
  ):not(:disabled) {
  border-color: #788ea8;
}
html[data-theme='bridge'] :is(#app, #modal) :is(input, select, textarea):focus {
  border-color: #23468b;
}
html[data-theme='bridge'] :is(#app, #modal) :is(input, select, textarea)[aria-invalid='true'] {
  border-color: #a33b32;
}
html[data-theme='bridge']
  #app
  :is(form.directory-filter, form.management-filter)
  button.primary[type='submit'] {
  background: #fff;
  color: #23468b;
  border: 1px solid #9bb2ca;
  box-shadow: none;
}
html[data-theme='bridge']
  #app
  :is(form.directory-filter, form.management-filter)
  button.primary[type='submit']:hover {
  background: #edf3fa;
  border-color: #6487af;
}
/* Keep review text at the same comfortable line length as other reading dialogs. */
html[data-theme='bridge'] #modal .task-review-content .submission-text {
  padding: 16px 20px;
  line-height: 1.85;
}
