/* This row is inside the header observed by the shared ResizeObserver. */
.telei-connection-warning {
  box-sizing: border-box;
  flex: 1 0 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  padding: 9px 12px;
  border: 1px solid #d59b34;
  border-radius: 6px;
  background: #fff2d5;
  color: #553500;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  overflow-wrap: anywhere;
}
.telei-connection-warning p { margin: 0; padding: 0; }
.telei-connection-warning p + p { margin-block-start: 5px; }
body .telei-connection-warning a,
body .telei-connection-warning a:link,
body .telei-connection-warning a:visited,
body .telei-connection-warning a:hover,
body .telei-connection-warning a:focus-visible,
#header .telei-connection-warning a,
#header .telei-connection-warning a:link,
#header .telei-connection-warning a:visited,
#header .telei-connection-warning a:hover,
#header .telei-connection-warning a:focus-visible {
  color: #174c74;
  text-decoration: underline;
  font-size: inherit;
}
.telei-connection-warning a:focus-visible { outline: 2px solid #174c74; outline-offset: 2px; }
/* Admin's native header uses a single flex row until mobile. */
#header:has(> .telei-connection-warning) { flex-wrap: wrap; gap: 12px 24px; }
@media (max-width: 600px) {
  .telei-connection-warning { font-size: 13px; padding: 8px 10px; }
}

@media (max-width: 1024px) {
  /* Admin switches its header to a column; flex-basis must not become height. */
  #header > .telei-connection-warning { flex: 0 0 auto; inline-size: 100%; }
}
