.cj-page-context{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
/* Shared page geometry for the member workspace and management forms. */
:root {
  --cj-control-height: 36px;
  --cj-control-size: 14px;
}
:where(.portal-shell, #content, .cj-authorization) :focus-visible {
  outline: 2px solid var(--cj-brand, #1769e0);
  outline-offset: 2px;
}
:where(.portal-shell, #content) :is(h1, h2, h3, dd, .readonly, .help, .errorlist) {
  overflow-wrap: anywhere;
}
.portal-shell :is(.portal-main, .portal-card, article, form),
#content :is(#content-main, form, fieldset, .form-row, .flex-container, .module) {
  min-inline-size: 0;
}
.portal-shell :is(.content-search, .portal-actions, .creator-toolbar, .software-tabs),
#content :is(.submit-row, .cj-page-tools, .software-tabs) {
  flex-wrap: wrap;
  gap: 8px;
}
.portal-shell :is(.button, button, select, .portal-input),
#content :is(.submit-row input, .submit-row a, .cj-page-tools a) {
  max-inline-size: 100%;
}
.portal-shell :is(.help-article-body, .software-description, .portal-panel[lang]) {
  max-inline-size: 82ch;
  overflow-wrap: anywhere;
  line-height: 1.65;
}
.portal-shell .management-page .portal-top:has(> .cj-page-context:only-child) {
  margin: 0;
  padding: 0;
}
.portal-shell .catalog-scroll, #content :is(.results, .software-records, .cj-page-table) {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}
.portal-shell .catalog-table th, #content .results th { vertical-align: middle; }
#content .aligned .form-row :is(input:not([type=checkbox],[type=radio],[type=hidden]), select, textarea) {
  box-sizing: border-box;
  max-width: 100%;
}
#content .aligned textarea { width: min(100%, 68ch); resize: vertical; }
#content .aligned .readonly { max-width: 80ch; }
#content .aligned :is(.help, .errorlist) { line-height: 1.5; }
#content .submit-row { align-items: center; }
#content .software-facts dd { margin-inline-start: 0; min-width: 0; }
.portal-shell .portal-top:has(h1:not(.cj-page-context)) {
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.portal-shell .portal-top .button, .portal-shell .software-tabs a { flex: none; }
.cj-authorization body {
  box-sizing: border-box;
  width: min(calc(100% - 32px), 42rem);
  margin: clamp(16px, 8vh, 80px) auto;
  padding: clamp(16px, 4vw, 32px);
  border: 1px solid #d7e0eb;
  border-radius: 7px;
  color: #172739;
  background: white;
  font: 14px/1.6 system-ui, sans-serif;
  overflow-wrap: anywhere;
}
.cj-authorization { background: #f5f7fa; }
.cj-authorization :is(h1, h2) { font-size: 20px; margin: 0 0 12px; }
.cj-authorization :is(button, select) { font: inherit; max-width: 100%; min-height: 36px; }
.cj-authorization button {
  background: #1769e0; color: white; border: 0; border-radius: 5px; padding: 5px 14px;
}
.cj-authorization a { color: #145cba; }
.cj-select-overlay { position: fixed; z-index: 1200; max-width: calc(100vw - 16px); }
.cj-select-overlay .grant-field { margin: 0; }
.cj-select-overlay .grant-field .grant-panel { position: static; max-width: calc(100vw - 16px); }
.cj-select-overlay .grant-options { max-height: min(224px, 40vh); }
.cj-select-overlay .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cj-select-overlay .grant-field summary[hidden] { display: none; }
@media (max-width: 767px) {
  #container #content { box-sizing: border-box; max-inline-size: 100%; min-width: 0; }
  #content .change-form, .change-form #content-main > form { inline-size: 100%; }
  #content :is(.submit-row, .cj-page-tools) { display: flex; flex-wrap: wrap; }
  #content .aligned .form-row { box-sizing: border-box; padding-inline: 12px; }
  .change-form #content-main form, .change-form #content-main fieldset,
  .change-form #content-main .form-row > div {
    box-sizing: border-box;
    max-inline-size: 100%;
    min-inline-size: 0;
  }
  #content .aligned .checkbox-row input[type=checkbox],
  #content .aligned input[type=radio] {
    width: 1rem;
    flex: 0 0 1rem;
  }
  #content :is(.aligned .readonly, .aligned .help, .grant-term) { max-inline-size: 100%; }
  .portal-shell .portal-top { flex-wrap: wrap; }
  .portal-shell .content-search { max-width: 100%; }
}
