/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

body {
  font-family: "Source Sans 3", sans-serif;
}

html {
  scrollbar-gutter: stable;
}

.brand-link {
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-version {
  margin-top: -0.35rem;
  padding-bottom: 0.35rem;
  font-size: 0.72rem;
  line-height: 1;
}

.app-content-header {
  padding-bottom: 0.5rem;
}

.layout-fixed .app-main {
  overflow: visible !important;
}

.layout-fixed .app-sidebar .sidebar-wrapper {
  height: calc(100vh - 57px);
  overflow-y: auto;
  overflow-x: hidden;
}

.edit-page-actions-sticky {
  position: sticky;
  top: 0;
  z-index: 1025;
  display: flex;
  justify-content: flex-end;
  padding: 0.45rem 0 0.55rem;
  pointer-events: none;
}

.edit-page-actions {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.5rem;
  border: 1px solid rgba(var(--bs-secondary-rgb), 0.18);
  border-radius: 0.75rem;
  background: rgba(var(--bs-body-bg-rgb), 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 0.45rem 1.4rem rgba(var(--bs-body-color-rgb), 0.08);
  pointer-events: auto;
}

.edit-page-actions form {
  margin: 0;
}

.edit-form-actions {
  width: fit-content;
  max-width: 100%;
  justify-content: flex-end;
}

.edit-form-actions .btn {
  white-space: nowrap;
}

.settings-page-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.settings-page-actions-note {
  max-width: 18rem;
  line-height: 1.2;
}

@media (max-width: 767.98px) {
  .edit-page-actions-sticky {
    padding-top: 0.25rem;
  }

  .edit-page-actions {
    justify-content: flex-end;
  }

  .edit-form-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .settings-page-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}

.card-title {
  font-weight: 600;
}

.app-panel {
  overflow: hidden;
  border: 1px solid rgba(var(--bs-secondary-rgb), 0.18);
  border-radius: 0.95rem;
  box-shadow: 0 0.4rem 1.2rem rgba(var(--bs-body-color-rgb), 0.035);
}

.app-panel > .card-header {
  border-bottom-color: rgba(var(--bs-secondary-rgb), 0.14);
  background:
    linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.055), transparent 46%),
    rgba(var(--bs-secondary-rgb), 0.035);
}

.app-panel > .card-footer {
  border-top-color: rgba(var(--bs-secondary-rgb), 0.14);
  background: rgba(var(--bs-secondary-rgb), 0.03);
}

pre {
  white-space: pre-wrap;
  word-break: break-word;
}

.table td,
.table th {
  vertical-align: middle;
}

.admin-table-detail {
  background: var(--bs-tertiary-bg);
  padding: 0.75rem 0;
}

.admin-table-detail .table {
  border: 1px solid var(--bs-border-color);
}

.admin-table-expand,
.admin-table-expand-placeholder {
  width: 2rem;
  min-width: 2rem;
}

.admin-table-expand[aria-expanded="true"] .admin-table-expand-icon-open,
.admin-table-expand[aria-expanded="false"] .admin-table-expand-icon-close {
  display: none;
}

.admin-table-expand-placeholder {
  display: inline-block;
}

.admin-table-child-row td:first-child {
  padding-left: 1.5rem;
}

.admin-table-child-row.collapse:not(.show) {
  display: none;
}

.admin-table-child-row.collapse.show {
  display: table-row;
}

.admin-table-tree-table {
  --admin-table-tree-depth-step: 1.375rem;
  --admin-table-tree-line-color: #7b828c;
  --admin-table-tree-icon-center-x: 2.5rem;
  table-layout: fixed;
  width: 100%;
}

.budget-effective-tree-table {
  min-width: 76rem;
}

.admin-table-tree-wrap {
  overflow-x: auto;
}

.admin-table-tree-table > tbody > tr > td,
.admin-table-tree-table > thead > tr > th {
  height: 3.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table-tree-table .admin-table-child-row td:first-child,
.admin-table-tree-table .admin-table-tree-cell {
  padding-left: 0.5rem;
}

.admin-table-tree-cell {
  position: relative;
}

.admin-table-tree-line {
  position: absolute;
  content: "";
  display: none;
  pointer-events: none;
}

.admin-table-tree-cell::after {
  content: none;
}

.admin-table-tree-line {
  top: 0;
  bottom: 0;
  left: calc(var(--admin-table-tree-icon-center-x) + (var(--admin-table-tree-line-depth, 0) * var(--admin-table-tree-depth-step)));
  width: 2px;
  background: var(--admin-table-tree-line-color);
}

.admin-table-tree-child-row .admin-table-tree-line {
  display: block;
}

.admin-table-tree-child-row .admin-table-parent {
  padding-left: calc(var(--admin-table-tree-depth, 0) * var(--admin-table-tree-depth-step));
}

.option-tag-selector,
.team-role-tag-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.option-tag-selector-input,
.team-role-tag-selector-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-tag-selector-tag,
.team-role-tag-selector-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.2;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.option-tag-selector-input:checked + .option-tag-selector-tag,
.team-role-tag-selector-input:checked + .team-role-tag-selector-tag {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

.option-tag-selector-input:focus-visible + .option-tag-selector-tag,
.team-role-tag-selector-input:focus-visible + .team-role-tag-selector-tag {
  outline: 2px solid rgba(var(--bs-primary-rgb), 0.35);
  outline-offset: 2px;
}

.team-member-actions-header,
.team-member-actions-cell {
  width: 1%;
  white-space: nowrap;
}

.filter-panel-groups {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.5rem 1rem;
}

.filter-panel-options {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.5rem 1rem;
  min-width: 0;
}

.filter-panel-clear {
  align-self: end;
  flex: 0 0 auto;
}

.filter-checkbox-group {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.filter-checkbox-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  min-width: 0;
  max-width: 100%;
}

.filter-checkbox-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex: 0 0 auto;
  margin-bottom: 0;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
  background: var(--bs-body-bg);
  font-size: 0.875rem;
  line-height: 1.25rem;
  white-space: nowrap;
}

.filter-checkbox-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.25rem;
  background: var(--bs-tertiary-bg);
  flex: 0 0 1.25rem;
}

.filter-checkbox-control .form-check-input {
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  margin: 0;
  flex: 0 0 1rem;
}

@media (max-width: 767.98px) {
  .filter-panel-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .filter-panel-clear {
    justify-self: end;
  }
}

.team-member-actions-cell {
  text-align: right;
}

.team-member-actions-cell form {
  display: inline-block;
  margin-left: 0.5rem;
}

.team-member-actions-cell form:first-child {
  margin-left: 0;
}

[data-team-role-editor-actions][hidden],
[data-team-member-static-actions][hidden] {
  display: none !important;
}

.list-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
}

.list-header-search {
  flex: 1 1 18rem;
  min-width: min(100%, 18rem);
  max-width: 28rem;
}

.list-header-search-form {
  margin: 0;
}

.list-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 767.98px) {
  .list-header-search {
    flex-basis: 100%;
    max-width: 100%;
  }

  .list-header-actions {
    width: 100%;
    justify-content: flex-end;
  }
}


[data-child-category-editor-actions][hidden] {
  display: none !important;
}

[data-role-permission-editor-actions][hidden],
[data-role-permission-editor-actions-for][hidden] {
  display: none !important;
}

input[data-role-permission-summary] {
  cursor: pointer;
}

input[data-role-permission-summary]:indeterminate {
  background-color: var(--bs-warning);
  border-color: var(--bs-warning);
}

.role-permission-row td,
.role-permission-actions-row td {
  background: var(--bs-tertiary-bg);
}

.role-permission-locked {
  cursor: not-allowed;
}

.settings-sidebar .list-group-item {
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

.settings-sidebar .list-group-item:first-child {
  border-top: 0;
}

.settings-sidebar .list-group-item.active {
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-body-color);
  border-color: var(--bs-border-color);
}

.settings-json-editor {
  min-height: 28rem;
  resize: vertical;
  white-space: pre;
}

.settings-ui-grid {
  display: grid;
  gap: 0.75rem;
}

.settings-section {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.settings-inline-grid {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 0.5rem 0.75rem;
  align-items: start;
}

.settings-inline-grid-general {
  grid-template-columns: 11rem auto 1fr;
}

.settings-field-help {
  grid-column: 2 / -1;
}

.settings-field-input-currency input {
  width: 6rem;
}

.settings-compact-number-input {
  flex: 0 0 auto;
  width: 4.75rem;
  min-width: 4.75rem;
  max-width: 4.75rem;
  display: inline-block;
  padding-right: 0.5rem;
}

.settings-select-fit {
  width: auto;
  min-width: 15rem;
  max-width: 100%;
}

.template-schema-editor {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  background: var(--bs-body-bg);
  overflow: hidden;
}

.template-schema-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-tertiary-bg);
}

.template-schema-editor .table {
  margin-bottom: 0;
}

.template-schema-editor th,
.template-schema-editor td {
  vertical-align: top;
}

.template-schema-name-cell {
  display: grid;
  grid-template-columns: calc(var(--template-schema-depth, 0) * 1.25rem) minmax(0, 1fr);
  align-items: start;
  gap: 0.5rem;
}

.template-schema-tree-line {
  display: inline-block;
  min-height: 2.25rem;
  border-left: 2px solid rgba(var(--bs-primary-rgb), 0.2);
  margin-left: calc(var(--template-schema-depth, 0) * 0.125rem);
}

.template-schema-row-selected > td {
  background: rgba(var(--bs-primary-rgb), 0.08);
}

.template-schema-options-input {
  min-height: calc(1.5em + 0.5rem + 2px);
  height: calc(1.5em + 0.5rem + 2px);
  line-height: 1.5;
  overflow-y: hidden;
  resize: none;
  white-space: pre-wrap;
}

.template-schema-options-input.template-schema-options-expanded {
  overflow-y: auto;
}

.template-schema-editor-empty[hidden] {
  display: none !important;
}

.template-schema-editor-preview {
  border-top: 1px solid var(--bs-border-color);
  padding: 0.75rem 1rem 1rem;
  background: var(--bs-light-bg-subtle, var(--bs-tertiary-bg));
}

.template-schema-editor-preview summary {
  cursor: pointer;
  user-select: none;
}

.template-schema-editor-preview pre {
  margin-top: 0.75rem;
}

.template-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.template-icon-button {
  width: 2rem;
  min-width: 2rem;
  height: 2rem;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
}

.template-icon-button i {
  font-size: 0.9rem;
}

[data-template-schema-draft-row] td,
[data-template-involvement-draft-row] td {
  background: rgba(var(--bs-primary-rgb), 0.04);
}

.template-involvement-table {
  table-layout: fixed;
  width: 100%;
  min-width: 74rem;
}

.template-involvement-table th,
.template-involvement-table td {
  vertical-align: middle;
}

.template-involvement-table th:nth-child(1),
.template-involvement-table td:nth-child(1) {
  width: 5rem;
}

.template-involvement-table th:nth-child(3),
.template-involvement-table td:nth-child(3) {
  width: 14rem;
}

.template-involvement-table th:nth-child(8),
.template-involvement-table td:nth-child(8) {
  width: 9rem;
  white-space: nowrap;
}

.template-involvement-table [data-template-involvement-preview],
.template-involvement-table [data-template-involvement-draft-preview] {
  overflow-wrap: anywhere;
}

.payload-builder,
.payload-display {
  display: grid;
  gap: 1rem;
}

.flow-header-panel {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.875rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.875rem;
  background:
    linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.06), transparent 42%),
    var(--bs-body-bg);
}

.flow-header-context {
  display: grid;
  grid-template-columns: minmax(11rem, 0.8fr) minmax(15rem, 1.25fr) minmax(13rem, 1fr) minmax(9rem, 0.55fr) minmax(8rem, 0.45fr);
  gap: 0.625rem;
  align-items: end;
}

.flow-header-summary {
  display: grid;
  grid-template-columns: minmax(10rem, 1.15fr) repeat(4, minmax(8rem, 1fr));
  gap: 0.5rem;
}

.flow-summary-tile {
  min-width: 0;
  padding: 0.625rem 0.75rem;
  border: 1px solid rgba(var(--bs-secondary-rgb), 0.18);
  border-radius: 0.75rem;
  background: rgba(var(--bs-secondary-rgb), 0.045);
}

.flow-summary-tile-primary {
  border-color: rgba(var(--bs-primary-rgb), 0.22);
  background: rgba(var(--bs-primary-rgb), 0.075);
}

.flow-summary-label {
  margin-bottom: 0.125rem;
  color: var(--bs-secondary-color);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-transform: uppercase;
}

.flow-summary-value {
  overflow: hidden;
  color: var(--bs-body-color);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flow-summary-tile-primary .flow-summary-value {
  font-size: 1.0625rem;
}

.flow-form-field {
  display: grid;
  grid-template-rows: 1.25rem minmax(2.375rem, auto);
  gap: 0.25rem;
  align-content: start;
}

.flow-form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 1.25rem;
}

.flow-form-label-row .form-label {
  margin: 0;
  white-space: nowrap;
}

.flow-form-control-row {
  display: flex;
  align-items: stretch;
  min-height: 2.375rem;
}

.flow-form-control-row > .form-control,
.flow-form-control-row > .form-select,
.flow-form-control-row > .w-100 {
  width: 100%;
}

.flow-form-label-row .form-text,
.flow-form-grid .form-text {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.3;
}

.flow-form-inline-hint {
  max-width: min(34rem, 100%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flow-form-label-row .form-text {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flow-items-field {
  grid-template-rows: auto minmax(2.375rem, auto);
}

.flow-section-panel {
  padding: 0.875rem;
  border: 1px solid rgba(var(--bs-secondary-rgb), 0.16);
  border-radius: 0.875rem;
  background:
    linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.035), transparent 38%),
    var(--bs-body-bg);
}

.flow-section-panel > .flow-form-label-row {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(var(--bs-secondary-rgb), 0.12);
}

.flow-items-help-text {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.flow-attachments-panel .flow-form-label-row {
  justify-content: space-between;
}

.flow-attachments-panel {
  grid-template-rows: auto minmax(2.375rem, auto);
}

.flow-attachments-panel > .flow-form-label-row {
  align-items: flex-start;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
}

.flow-attachments-panel [data-flow-attachment-add] {
  flex: 0 0 auto;
}

.flow-attachment-existing {
  min-width: 0;
}

.flow-attachment-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.flow-attachments-table {
  table-layout: fixed;
}

.flow-attachment-file-link {
  min-width: 0;
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  color: var(--bs-body-color);
}

.flow-attachment-file-icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: rgba(var(--bs-primary-rgb), 0.08);
  color: var(--bs-primary);
}

.flow-attachment-name {
  font-weight: 600;
}

.flow-attachment-meta {
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .flow-header-context {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-header-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .flow-header-panel {
    padding: 0.75rem;
  }

  .flow-header-context,
  .flow-header-summary {
    grid-template-columns: 1fr;
  }
}

.payload-section {
  border: 1px solid rgba(var(--bs-secondary-rgb), 0.16);
  border-radius: 0.875rem;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.035), transparent 40%),
    var(--bs-body-bg);
}

.payload-section-header {
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(var(--bs-secondary-rgb), 0.12);
}

.payload-section-header-actions {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.payload-section-title {
  margin: 0;
  font-size: 1rem;
}

.payload-section-path {
  margin-top: 0.125rem;
  color: var(--bs-secondary-color);
  font-size: 0.75rem;
  font-family: var(--bs-font-monospace);
}

.payload-section-body,
.payload-list-item-body {
  display: grid;
  gap: 0.75rem;
}

.payload-field-grid {
  display: grid;
  grid-template-columns: repeat(var(--payload-columns-per-row, 3), minmax(0, 1fr));
  gap: 0.75rem;
}

.payload-display .payload-field-grid {
  grid-template-columns: repeat(min(2, var(--payload-columns-per-row, 3)), minmax(0, 1fr));
}

.payload-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.payload-field-meta {
  display: grid;
  gap: 0.125rem;
}

.payload-field-key {
  color: var(--bs-secondary-color);
  font-size: 0.75rem;
  font-family: var(--bs-font-monospace);
}

@media (max-width: 991.98px) {
  .payload-field-grid {
    grid-template-columns: repeat(min(2, var(--payload-columns-per-row, 3)), minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .payload-field-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.payload-list-items {
  display: grid;
  gap: 0.5rem;
}

.workflow-task-table {
  table-layout: fixed;
}

.workflow-task-table th:nth-child(1) { width: 22%; }
.workflow-task-table th:nth-child(2) { width: 30%; }
.workflow-task-table th:nth-child(3) { width: 16%; }
.workflow-task-table th:nth-child(4) { width: 14%; }
.workflow-task-table th:nth-child(5) { width: 12%; }
.workflow-task-table th:nth-child(6) { width: 6rem; }
.workflow-task-table td { white-space: nowrap; }
.workflow-task-table .text-truncate { max-width: 100%; }

.payload-list-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.payload-list-table thead th {
  padding: 0 0.5rem 0.375rem;
  border-bottom: 1px solid var(--bs-border-color);
  vertical-align: bottom;
}

.payload-list-table tbody td {
  padding: 0.5rem;
  vertical-align: top;
  border-bottom: 1px solid var(--bs-border-color);
}

.payload-list-row:last-child td {
  border-bottom: 0;
}

.payload-list-cell {
  min-width: 12rem;
}

.payload-list-cell-actions,
.payload-list-head-actions {
  width: 3rem;
  min-width: 3rem;
}

.payload-list-cell-actions {
  text-align: right;
  white-space: nowrap;
  vertical-align: middle;
}

.payload-list-inline-action {
  padding: 0;
}

.payload-list-head-cell {
  min-width: 0;
  font-size: 0.875rem;
}

.payload-display-field {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr);
  gap: 0.5rem 1rem;
  align-items: start;
}

.payload-display-label {
  font-weight: 600;
}

.payload-display-value {
  min-width: 0;
}

.payload-list-empty {
  padding: 1rem !important;
  text-align: center;
  color: var(--bs-secondary-color);
}

.settings-select-fit-year {
  min-width: 7rem;
}

.settings-fit-wrap {
  display: inline-block;
  max-width: 100%;
}

.settings-section-heading {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.settings-section-description {
  margin-bottom: 0.5rem;
  color: var(--bs-secondary-color);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.settings-section .form-label {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.settings-section .form-text {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.35;
}

.settings-range-group {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bs-border-color);
}

.settings-range-title {
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bs-secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.settings-range-grid {
  display: grid;
  gap: 0.5rem;
}

.settings-range-row {
  display: grid;
  grid-template-columns: 6rem 7rem 7rem;
  gap: 0.75rem;
  align-items: end;
}

.settings-range-label {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 2.25rem;
}

.settings-range-input .form-label {
  margin-bottom: 0.25rem;
}

.settings-month-input {
  width: 10rem;
  max-width: 100%;
}

[data-settings-budget-range-picker] .MuiFormControl-root {
  min-width: 8rem;
}

[data-settings-budget-range-picker] .MuiInputBase-root {
  min-width: 8rem;
}

.settings-range-row-mui {
  display: grid;
  grid-template-columns: 6rem max-content max-content;
  gap: 1rem;
  align-items: start;
}

[data-settings-budget-range-picker] .settings-mui-field-year {
  width: 8rem;
  min-width: 8rem;
}

[data-settings-budget-range-picker] .settings-mui-field-month {
  width: 12rem;
  min-width: 12rem;
}

[data-flow-fiscal-period-picker] .MuiFormControl-root,
[data-flow-fiscal-period-picker] .MuiInputBase-root {
  width: 9rem;
  min-width: 0;
}

[data-flow-fiscal-period-picker] .settings-mui-field-year {
  width: 6.5rem;
}

[data-flow-fiscal-period-picker] .MuiInputBase-root {
  min-height: calc(1.5em + 0.75rem + 2px);
}

[data-flow-fiscal-period-picker] .MuiInputBase-input {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.year-picker {
  position: relative;
  display: inline-block;
}

.year-picker-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 7rem;
  padding: 0.375rem 0.75rem;
  border-color: var(--bs-border-color);
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
}

.year-picker-toggle:hover,
.year-picker-toggle:focus {
  border-color: var(--bs-primary);
}

.year-picker-caret {
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
}

.year-picker-menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  z-index: 1050;
  min-width: 100%;
  padding: 0.375rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  background: var(--bs-body-bg);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
}

.year-picker-options {
  display: grid;
  gap: 0.125rem;
  max-height: 14rem;
  overflow-y: auto;
}

.year-picker-option {
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--bs-body-color);
  text-align: left;
  padding: 0.375rem 0.5rem;
  font-size: 0.875rem;
}

.year-picker-option:hover,
.year-picker-option:focus {
  background: rgba(var(--bs-primary-rgb), 0.08);
  outline: none;
}

.year-picker-option.is-selected {
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .settings-inline-grid,
  .settings-inline-grid-general {
    grid-template-columns: 1fr;
  }

  .settings-field-help {
    grid-column: auto;
  }

  .settings-range-row {
    grid-template-columns: 1fr 1fr;
  }

  .settings-range-label {
    grid-column: 1 / -1;
    line-height: 1.2;
  }
}

.github-login-page {
  min-height: calc(100vh - 5rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1rem;
  background: #f6f8fa;
}

.github-login-shell {
  width: 100%;
  max-width: 20rem;
}

.github-login-brand {
  margin-bottom: 1.5rem;
  text-align: center;
}

.github-login-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #24292f;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.github-login-brand h1 {
  margin: 0;
  color: #24292f;
  font-size: 1.5rem;
  font-weight: 300;
}

.github-login-box,
.github-login-create {
  border: 1px solid #d0d7de;
  border-radius: 0.375rem;
  background: #fff;
}

.github-login-box {
  padding: 1rem;
}

.github-login-box .form-label {
  margin-bottom: 0.5rem;
  color: #24292f;
  font-size: 0.875rem;
  font-weight: 600;
}

.github-login-box .form-control {
  min-height: 2rem;
  border-color: #d0d7de;
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

.github-login-box .form-control:focus {
  border-color: #0969da;
  box-shadow: 0 0 0 0.2rem rgba(9, 105, 218, 0.18);
}

.github-login-submit {
  border-color: #1f883d;
  background: #1f883d;
  font-weight: 600;
}

.github-login-oauth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #24292f;
  border-color: #d0d7de;
  background: #f6f8fa;
  font-weight: 600;
}

.github-login-oauth-icon {
  width: 1rem;
  text-align: center;
}

.github-login-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  color: #57606a;
  font-size: 0.75rem;
}

.github-login-divider::before,
.github-login-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid #d8dee4;
}

.github-login-create {
  margin-top: 1rem;
  padding: 1rem;
  text-align: center;
  color: #24292f;
  font-size: 0.875rem;
}

.github-login-link {
  color: #0969da;
  font-size: 0.75rem;
  text-decoration: none;
}

.github-login-link:hover {
  text-decoration: underline;
}

.github-login-logo {
  display: inline-block;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  object-fit: contain;
}

.github-login-logo {
  display: inline-block;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  object-fit: contain;
}

.github-login-logo {
  width: 7rem;
  height: 7rem;
}
