.fas-rc-glossary {
  --fas-rc-accent: #bf5700;
  --fas-rc-border: #d6d2c4;
  --fas-rc-focus: #005f86;
  --fas-rc-muted: #515151;
  --fas-rc-panel: #f9fafb;
  --fas-rc-pill: #f0f4f8;
  --fas-rc-text: #1f262b;
  box-sizing: border-box;
  color: var(--fas-rc-text);
  font-family: "Libre Franklin", Arial, sans-serif;
  max-width: 100%;
  min-width: 0;
}

.fas-rc-glossary *,
.fas-rc-glossary *::before,
.fas-rc-glossary *::after {
  box-sizing: inherit;
}

.fas-rc-glossary [hidden] {
  display: none !important;
}

.fas-rc-glossary .visually-hidden {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  white-space: nowrap;
  width: 1px;
}

.fas-rc-glossary .visually-hidden.focusable:active,
.fas-rc-glossary .visually-hidden.focusable:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  overflow: visible;
  position: static !important;
  white-space: normal;
  width: auto;
}

.fas-rc-glossary .filters-container {
  background: #f8f7f4;
  border: 1px solid var(--fas-rc-border);
  border-radius: 8px;
  margin: 1.5rem 0;
  max-width: 100%;
  padding: 1.25rem;
  width: 100%;
}

.fas-rc-glossary .fas-rc-filter-intro {
  margin-bottom: 1.25rem;
}

.fas-rc-glossary .fas-rc-filter-intro h2 {
  color: #333;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.375rem;
}

.fas-rc-glossary .fas-rc-filter-intro p {
  color: var(--fas-rc-muted);
  line-height: 1.5;
  margin: 0;
}

.fas-rc-glossary .filters-container .filter-line {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 1.25rem;
  padding: 0;
}

.fas-rc-glossary .fas-rc-keyword-control {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fas-rc-glossary .fas-rc-keyword-control > label {
  color: var(--fas-rc-muted);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.375rem;
}

.fas-rc-glossary .filters-container .filter-line input[type="text"] {
  background: #fff;
  border: 1px solid #8f938f;
  border-radius: 4px;
  color: #000;
  font: inherit;
  min-height: 48px;
  min-width: 0;
  margin-right: 0;
  padding: 0.625rem 0.75rem;
  width: 100%;
}

.fas-rc-glossary input[id="keyword-search-filter"] {
  max-width: 500px !important;
}

.fas-rc-glossary .fas-rc-filter-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.fas-rc-glossary .fas-rc-filter-actions a {
  align-items: center;
  border: 1px solid var(--fas-rc-accent);
  border-radius: 4px;
  display: inline-flex;
  font-size: 0.9375rem;
  font-weight: 600;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px;
  padding: 0.625rem 0.875rem;
  text-decoration: none;
}

.fas-rc-glossary .fas-rc-filter-actions #filter-reset-button {
  background: #fff;
  color: var(--fas-rc-accent);
  position: static !important;
}

.fas-rc-glossary .fas-rc-show-all {
  background: var(--fas-rc-accent);
  color: #fff;
}

.fas-rc-glossary .fas-rc-show-all:hover,
.fas-rc-glossary .fas-rc-show-all:focus,
.fas-rc-glossary .fas-rc-show-all[aria-current="true"] {
  background: #9d4700;
  color: #fff;
}

.fas-rc-glossary .filter-row {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 0 1rem;
}

.fas-rc-glossary .filter-item {
  display: flex;
  flex: 1 1 240px;
  flex-direction: column;
  min-width: 0;
  padding: 0;
}

.fas-rc-glossary .filter-item > p,
.fas-rc-glossary .filter-label > p {
  margin: 0;
}

.fas-rc-glossary .filter-label {
  align-items: center;
  color: var(--fas-rc-muted);
  display: flex;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.5rem;
  justify-content: flex-start;
  line-height: 1.3;
  margin-bottom: 0.375rem;
  min-height: 44px;
  position: relative;
}

.fas-rc-glossary .label-text {
  margin: 0;
}

.fas-rc-glossary .filter-item select,
.fas-rc-glossary .filter-item input[type="text"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  border: 1px solid #8f938f;
  border-radius: 4px;
  color: #000;
  font-family: inherit;
  font-size: 1rem;
  height: auto;
  line-height: 1.3;
  margin: 0;
  min-height: 48px;
  min-width: 0;
  padding: 0.625rem 2.25rem 0.625rem 0.75rem;
  width: 100%;
}

.fas-rc-glossary select#report-code-group-filter,
.fas-rc-glossary select#report-code-code-filter {
  max-width: none !important;
  width: 100%;
}

.fas-rc-glossary select:not([multiple]) {
  background-image: linear-gradient(45deg, transparent 50%, #515151 50%),
    linear-gradient(135deg, #515151 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.fas-rc-glossary #account-groups-filter {
  background-image: none !important;
  max-height: none !important;
  min-height: 48px;
  overflow-y: auto;
  padding-right: 0.75rem;
}

.fas-rc-glossary #account-groups-filter option {
  padding: 0.25rem 0.5rem;
}

.fas-rc-glossary input:focus-visible,
.fas-rc-glossary select:focus-visible,
.fas-rc-glossary a:focus-visible,
.fas-rc-glossary button:focus-visible {
  outline: 3px solid var(--fas-rc-focus);
  outline-offset: 2px;
}

.fas-rc-glossary button.info-icon {
  -webkit-appearance: none;
  align-items: center;
  appearance: none;
  background: transparent !important;
  border: 0 !important;
  border-radius: 4px;
  bottom: auto !important;
  box-shadow: none !important;
  color: var(--fas-rc-focus) !important;
  cursor: help;
  display: inline-flex;
  flex: 0 0 44px;
  font-family: Georgia, serif;
  font-size: 0;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  line-height: 1;
  margin: 0;
  min-height: 44px;
  min-width: 44px;
  padding: 0;
  position: relative;
  width: 44px;
}

.fas-rc-glossary button.info-icon::before {
  align-items: center;
  background: #fff;
  border: 2px solid var(--fas-rc-focus);
  border-radius: 50%;
  content: "i";
  display: flex;
  font-size: 1rem;
  height: 26px;
  justify-content: center;
  line-height: 1;
  width: 26px;
}

.fas-rc-glossary button.info-icon::after {
  content: none !important;
  display: none !important;
}

.fas-rc-glossary .fas-rc-tooltip {
  background: #fff;
  border: 1px solid var(--fas-rc-border);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  color: #333;
  font-size: 0.875rem;
  font-weight: 400;
  left: 0;
  line-height: 1.45;
  max-width: calc(100vw - 2rem);
  overflow-wrap: anywhere;
  padding: 0.625rem 0.75rem;
  position: absolute;
  text-align: left;
  top: calc(100% + 0.25rem);
  white-space: normal;
  width: 225px;
  z-index: 1000;
}

.fas-rc-glossary #account-groups-filter + .select2-container {
  max-width: 100%;
  min-width: 0;
  width: 100% !important;
}

.fas-rc-glossary #account-groups-filter + .select2-container .select2-selection--multiple {
  align-items: center;
  background: #fff;
  border: 1px solid #8f938f;
  border-radius: 4px;
  color: #000;
  display: flex;
  font-family: inherit;
  font-size: 1rem;
  margin: 0 !important;
  min-height: 48px !important;
  padding: 0.375rem 0.625rem;
  width: 100%;
}

.fas-rc-glossary #account-groups-filter + .select2-container.select2-container--focus .select2-selection--multiple {
  outline: 3px solid var(--fas-rc-focus);
  outline-offset: 2px;
}

.fas-rc-glossary #account-groups-filter + .select2-container .select2-selection__rendered {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  max-width: 100%;
  padding: 0;
}

.fas-rc-glossary #account-groups-filter + .select2-container .select2-selection__choice {
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.fas-rc-glossary #account-groups-filter + .select2-container .select2-search--inline {
  margin: 0 !important;
}

.fas-rc-glossary #account-groups-filter + .select2-container .select2-search__field {
  font: inherit;
  margin: 0;
  max-width: 100%;
}

.fas-rc-glossary #results-heading {
  color: #333;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 1rem;
}

.fas-rc-glossary #results-heading .filter-pill {
  background: var(--fas-rc-pill);
  border: 1px solid var(--fas-rc-border);
  border-radius: 999px;
  color: #333;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0.5rem 0.25rem 0 0;
  overflow-wrap: anywhere;
  padding: 0.3rem 0.75rem;
}

.fas-rc-glossary .fas-rc-initial,
.fas-rc-glossary .fas-rc-empty {
  background: #fffaf5;
  border: 1px solid var(--fas-rc-border);
  border-left: 4px solid var(--fas-rc-accent);
  border-radius: 6px;
  color: var(--fas-rc-muted);
  font-family: inherit;
  line-height: 1.5;
  margin: 1rem 0;
  padding: 1rem;
}

.fas-rc-page-layout--mobile {
  margin-left: 0 !important;
}

.fas-rc-page-layout--mobile .fas-rc-page-layout__glossary,
.fas-rc-page-layout--mobile .fas-rc-page-layout__sidebar {
  flex: 1 1 100% !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

.fas-rc-page-layout--mobile .fas-rc-page-layout__sidebar {
  border-top: 1px solid #d6d2c4;
  margin-top: 2rem !important;
  padding-top: 1.5rem !important;
}

.fas-rc-glossary .views-view-responsive-grid {
  display: block !important;
  max-width: 100%;
}

.fas-rc-glossary .views-view-responsive-grid__item {
  display: block;
  margin-bottom: 1rem;
  max-width: 100%;
  width: 100% !important;
}

.fas-rc-glossary .ut-report-glossary-view .views-view-responsive-grid__item-inner {
  background: var(--fas-rc-panel);
  border: 1px solid var(--fas-rc-border);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  display: grid !important;
  gap: 1rem 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  max-width: 100%;
  min-width: 0;
  padding: 1rem;
  transition: box-shadow 0.2s ease;
}

.fas-rc-glossary .ut-report-glossary-view .views-view-responsive-grid__item-inner:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.11);
}

.fas-rc-glossary .views-field {
  min-width: 0;
  overflow-wrap: anywhere;
}

.fas-rc-glossary .views-field-title {
  grid-column: 1 / -1;
}

.fas-rc-glossary .views-field-field-report-code-definition-typ {
  grid-column: 1;
}

.fas-rc-glossary .views-field-field-code-group {
  grid-column: 2;
}

.fas-rc-glossary .views-field-field-account-types {
  grid-column: 3;
}

.fas-rc-glossary .views-field-field-biz-rule {
  grid-column: 1;
}

.fas-rc-glossary .views-field-field-business-owner {
  grid-column: 2;
}

.fas-rc-glossary .views-field-field-updater {
  grid-column: 3;
}

.fas-rc-glossary .views-field-field-accounting-far,
.fas-rc-glossary .views-field-field-definition,
.fas-rc-glossary .fas-rc-code-definition {
  grid-column: 1 / -1;
}

.fas-rc-glossary .views-field-title .field-content,
.fas-rc-glossary .views-field-title .field-content a {
  color: var(--fas-rc-accent) !important;
  font-family: inherit !important;
  font-size: 1.5rem !important;
  font-style: normal !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.5 !important;
}

.fas-rc-glossary .views-field .views-label,
.fas-rc-glossary .fas-rc-code-definition__label {
  color: var(--fas-rc-muted);
  font-family: inherit;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.fas-rc-glossary .views-field .field-content,
.fas-rc-glossary .fas-rc-code-definition__value {
  color: #000;
  font-family: inherit;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.fas-rc-glossary .views-field-field-definition .field-content > p:last-child > em > strong:first-child {
  font-weight: inherit;
  text-decoration: underline;
}

.fas-rc-glossary .views-field-field-report-code-definition-typ .field-content,
.fas-rc-glossary .views-field-field-code-group .field-content,
.fas-rc-glossary .views-field-field-account-types .field-content {
  font-size: 1.125rem;
  font-weight: 500;
}

.fas-rc-glossary .fas-rc-legend {
  margin: 1.5rem 0 1rem;
  max-width: 100%;
}

.fas-rc-glossary .fas-rc-legend:first-child {
  margin-top: 0;
}

.fas-rc-glossary .fas-rc-legend__inner {
  border-left: 4px solid var(--fas-rc-accent);
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
  width: 100%;
}

.fas-rc-glossary .fas-rc-legend h2 {
  color: #333;
  font-family: inherit;
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  width: 100%;
}

.fas-rc-glossary .fas-rc-legend p {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: anywhere;
  width: 100%;
}

.fas-rc-glossary .fas-rc-code-definition {
  align-items: start;
  background: #fff;
  border: 1px solid var(--fas-rc-border);
  border-radius: 4px;
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: minmax(120px, auto) minmax(0, 1fr);
  margin-top: 0.25rem;
  min-width: 0;
  padding: 1rem;
}

.fas-rc-glossary .fas-rc-code-definition__code,
.fas-rc-glossary .fas-rc-code-definition__definition {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fas-rc-glossary .fas-rc-code-definition__label {
  margin-bottom: 0.25rem;
}

.report-code-legend.fas-rc-legend-enhanced {
  background: #fff;
  border: 1px solid #d6d2c4;
  border-radius: 4px;
  box-sizing: border-box;
  color: #1f262b;
  font-family: "Libre Franklin", Arial, sans-serif;
  margin-bottom: 2rem;
  max-width: 100%;
  padding: 1rem;
}

.report-code-legend.fas-rc-legend-enhanced .legend-title {
  color: #333;
  font-family: inherit;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 1rem;
}

.report-code-legend.fas-rc-legend-enhanced .legend-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.report-code-legend.fas-rc-legend-enhanced .legend-item {
  border-top: 1px solid #e6e2db;
  margin: 0;
}

.report-code-legend.fas-rc-legend-enhanced .legend-item:first-child {
  border-top: 0;
}

.report-code-legend.fas-rc-legend-enhanced .legend-toggle {
  align-items: center;
  color: #333;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  justify-content: space-between;
  line-height: 1.3;
  min-height: 44px;
  padding: 0.625rem 1.5rem 0.625rem 0;
  position: relative;
}

.report-code-legend.fas-rc-legend-enhanced .legend-toggle::after {
  content: "▸";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.report-code-legend.fas-rc-legend-enhanced .legend-item.active .legend-toggle::after {
  transform: translateY(-50%) rotate(90deg);
}

.report-code-legend.fas-rc-legend-enhanced .legend-toggle:focus-visible {
  outline: 3px solid #005f86;
  outline-offset: 2px;
}

.report-code-legend.fas-rc-legend-enhanced .legend-description {
  color: #333;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
  padding: 0 0 0.75rem;
}

.report-code-legend.fas-rc-legend-enhanced .legend-description[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .fas-rc-glossary .ut-report-glossary-view .views-view-responsive-grid__item .views-view-responsive-grid__item-inner {
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .fas-rc-glossary .ut-report-glossary-view .views-view-responsive-grid__item-inner .views-field,
  .fas-rc-glossary .fas-rc-code-definition {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  .fas-rc-glossary .fas-rc-code-definition {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .fas-rc-glossary .filters-container .filter-line {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
  }

  .fas-rc-glossary input[id="keyword-search-filter"] {
    max-width: none !important;
  }

  .fas-rc-glossary .fas-rc-filter-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

@media (max-width: 767px) {
  .fas-rc-glossary .filters-container {
    margin-top: 1rem;
    padding: 1rem;
  }

  .fas-rc-glossary .fas-rc-filter-intro h2 {
    font-size: 1.25rem;
  }

  .fas-rc-glossary .filter-row {
    gap: 0.75rem;
  }

  .fas-rc-glossary .filter-item {
    flex-basis: 100%;
  }

  .fas-rc-glossary .fas-rc-tooltip {
    max-width: calc(100vw - 2rem);
    width: min(225px, calc(100vw - 2rem));
  }

  .fas-rc-glossary .views-field-title .field-content,
  .fas-rc-glossary .views-field-title .field-content a {
    font-size: 1.25rem !important;
  }

  .fas-rc-glossary .fas-rc-legend h2 {
    font-size: 1.25rem;
  }

  .report-code-legend.fas-rc-legend-enhanced {
    padding: 0.75rem;
  }

  .report-code-legend.fas-rc-legend-enhanced .legend-title {
    font-size: 1.125rem;
  }

  .report-code-legend.fas-rc-legend-enhanced .legend-toggle {
    font-size: 0.9rem;
  }

  .report-code-legend.fas-rc-legend-enhanced .legend-description {
    font-size: 0.825rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fas-rc-glossary .ut-report-glossary-view .views-view-responsive-grid__item-inner,
  .report-code-legend.fas-rc-legend-enhanced .legend-toggle::after {
    transition: none;
  }
}
