.industry-caption-text[data-caption] > .industry-original-text { display: none; }
.industry-caption-text[data-caption]::after {
  content: attr(data-caption);
}
#industry-label-editor {
  box-sizing: border-box;
  width: min(34rem, 94vw);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid #bad0dc;
  border-radius: 9px;
  padding: 20px;
  color: #193a4b;
}
#industry-label-editor::backdrop { background: rgb(21 42 58 / 34%); }
#industry-label-editor h2 { margin: 0 0 14px; font-size: 1.35rem; }
#industry-label-editor label { display: grid; gap: 4px; margin: 12px 0; font-weight: 600; }
#industry-label-editor :is(input,select) { width: 100%; box-sizing: border-box; font: inherit; }
#industry-label-editor select { min-height: 7rem; }
#industry-label-editor [role=status] { min-height: 1.25em; }
.industry-label-actions { display: flex; justify-content: flex-end; gap: 8px; }
.industry-label-actions button { min-height: 34px; }

/* Keep the editor in the existing header and the three-letter mark inside its tile. */
#industry-labels-open {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #a9c9e2;
  border-radius: 7px;
  background: #f0f7fc;
  color: #205d88;
  white-space: nowrap;
  flex-shrink: 0;
}
#industry-labels-open:hover { background: #dcecf8; }
#industry-labels-open:focus-visible { outline: 3px solid #91bddf; outline-offset: 3px; }
.workspace .brand { gap: 12px; align-items: center; }
.workspace .brand-mark.small {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  flex: 0 0 48px;
  padding: 0;
  overflow: hidden;
  font: 700 18px/1 Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  color: #fff;
  border-radius: 11px;
}
.workspace .brand > div { min-width: 0; }
.workspace .brand div > span { font-size: 7px; letter-spacing: .7px; white-space: nowrap; }
.workspace .topbar .session { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media screen and (min-width: 1101px) {
  .workspace main:has(#panel-desk:not([hidden])) .topbar {
    height: auto; min-height: 96px; margin: 0 -28px 14px; padding: 20px 28px; gap: 20px;
  }
  .workspace main:has(#panel-desk:not([hidden])) .topbar > div:first-child {
    position: static; width: auto; height: auto; overflow: visible; clip-path: none;
  }
  .workspace main:has(#panel-desk:not([hidden])) .topbar .session {
    position: static; color: #fff;
  }
  .workspace main:has(#panel-desk:not([hidden])) .topbar .text-button { color: #fff; }
  .workspace main:has(#panel-desk:not([hidden])) .trial-banner { margin-bottom: 24px; }
}
@media screen and (max-width: 700px) {
  .workspace .topbar { flex-wrap: wrap; gap: 12px; }
  .workspace .topbar .session { max-width: none; width: 100%; }
}
