/* src/ui/obsidian-ui-components/item-views/review-queue-list-view.css */
.sr-note-review-page {
  display: flex;
  flex-direction: column;
  gap: var(--size-4-4);
  .tree-item.mod-root > .tree-item-children {
    padding-inline-start: 0;
    margin-inline-start: 0;
    border-inline-start: none;
  }
  & .tree-item-self:hover {
    background-color: var(--background-modifier-hover);
    border-radius: var(--input-radius);
  }
  .nav-file-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-file-title-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 1;
  }
  .sr-review-context-btn {
    &:hover {
      background-color: var(--background-modifier-hover);
      cursor: pointer;
    }
  }
}
.sr-note-review-header {
  display: flex;
  flex-direction: column;
  gap: var(--size-4-2);
  padding: var(--size-4-2);
  border-bottom: 1px solid var(--background-modifier-border);
}
.sr-note-review-header-title-wrapper {
  display: flex;
  align-items: center;
  gap: var(--size-4-2);
}
.sr-note-review-header-title-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}
.sr-note-review-header-title {
  font-size: var(--font-ui-large);
  font-weight: var(--font-semibold);
}
.sr-note-review-header-subtitle-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: var(--size-4-2);
  font-size: var(--font-ui-small);
  color: var(--text-faint);
}

/* src/ui/obsidian-ui-components/modals/confirmation-modal.css */
.sr-confirmation-modal-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* src/ui/styles.css */
.sr-bg-blue,
.sr-bg-yellow,
.sr-bg-green,
.sr-bg-red {
  color: #ffffff !important;
}
.sr-bg-green {
  background-color: #47a84a !important;
}
.sr-bg-blue {
  background-color: #3591dd !important;
}
.sr-bg-red {
  background-color: #f25d50 !important;
}
.sr-bg-yellow {
  background-color: #e87743 !important;
}
.sr-fg-green {
  color: #47a84a !important;
}
.sr-fg-blue {
  color: #3591dd !important;
}
.sr-fg-red {
  color: #f25d50 !important;
}
.sr-fg-yellow {
  color: #e87743 !important;
}
.sr-deck-container .sr-tree-item-row:hover .sr-bg-green,
.sr-response-button.sr-bg-green:hover {
  background-color: #429e45 !important;
}
.sr-deck-container .sr-tree-item-row:hover .sr-bg-blue,
.sr-response-button.sr-bg-blue:hover {
  background-color: #2e8ddc !important;
}
.sr-deck-container .sr-tree-item-row:hover .sr-bg-red,
.sr-response-button.sr-bg-red:hover {
  background-color: #f15041 !important;
}
.sr-deck-container .sr-tree-item-row:hover .sr-bg-yellow,
.sr-response-button.sr-bg-yellow:hover {
  background-color: #e66f37 !important;
}
.sr-is-hidden {
  display: none !important;
}
.sr-hide-by-scaling {
  scale: 0;
  user-select: none;
  cursor: default;
  opacity: 0;
  &.hide-height {
    height: 0 !important;
  }
  &.hide-width {
    width: 0 !important;
  }
  &.hide-margin {
    margin: 0 !important;
  }
  &.hide-padding {
    padding: 0 !important;
  }
}
.sr-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.sr-button {
  cursor: pointer;
}
.sr-button:disabled {
  cursor: not-allowed;
}
.sr-flex-spacer {
  flex-grow: 1;
}
.sr-divider {
  --divider-width: 2px;
  --divider-height: 2ch;
  --divider-color: var(--text-faint);
  border-left: var(--divider-width) solid var(--divider-color);
  height: var(--divider-height);
  width: var(--divider-width);
  max-width: var(--divider-width);
  border-radius: 10px;
}
.sr-view {
  container-type: size;
  container-name: sr-view;
  display: flex;
  flex-direction: column;
  & .MathJax {
    overflow-x: auto;
    margin: 0;
    padding: 1em 0;
  }
}
.sr-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

/* src/ui/obsidian-ui-components/item-views/tab-view.css */
.sr-tab-view {
  --bottom-statusbar-clearance: var(--size-4-8);
  padding-top: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  padding-bottom: max(var(--bottom-statusbar-clearance), var(--safe-area-inset-bottom)) !important;
}
.sr-tab-view-content.sr-center-view {
  margin: auto;
}

/* src/ui/obsidian-ui-components/content-container/card-container/card-container.css */
.sr-card-container {
  --internal-side-padding: var(--size-4-2);
  & .sr-scroll-wrapper {
    height: 100px;
    overflow: hidden;
    flex-grow: 1;
    display: flex;
    & .sr-content {
      font-size: var(--font-text-size);
      overflow-x: hidden;
      overflow-y: auto;
      user-select: text;
      flex-grow: 1;
      word-break: break-word;
      padding: 0 var(--internal-side-padding);
      padding-top: var(--size-4-2);
    }
  }
  & .sr-content p {
    margin-top: 0;
  }
  & .sr-content > ul,
  & .sr-content > ol {
    padding-left: var(--size-4-6);
  }
  & .sr-content hr {
    backdrop-filter: invert(40%);
    border-top-style: dashed;
    margin: 1rem 0;
  }
  & .sr-content .cloze-input {
    height: 1.4rem;
  }
}
@media only screen and (orientation: landscape) {
  .is-phone .sr-card-container {
    & .sr-content {
      padding-top: 0;
    }
    & .sr-content hr {
      margin: 2px 0;
    }
  }
}
@media only screen and (orientation: landscape) and (max-height: 490px) {
  .is-phone .sr-card-container .sr-content {
    & hr {
      margin: var(--size-4-1) 0;
    }
    & p {
      margin-block-start: 0.25rem;
      margin-block-end: 0.25rem;
    }
  }
}

/* src/ui/obsidian-ui-components/content-container/card-container/context-section/context-section.css */
.sr-context {
  font-style: italic;
  color: var(--text-faint);
  word-break: break-word;
  padding-bottom: var(--size-4-2);
}
@media only screen and (orientation: landscape) {
  .is-phone .sr-context {
    display: none;
  }
}

/* src/ui/obsidian-ui-components/content-container/card-container/response-section/response-section.css */
.sr-response {
  display: flex;
  gap: var(--size-4-4);
  padding: var(--size-4-2) var(--internal-side-padding);
  border-top: 1px solid var(--background-modifier-border);
  & .sr-response-button {
    height: 48px;
    flex-grow: 1;
    margin: auto;
    line-height: 48px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    & > * {
      display: none;
    }
  }
}
.sr-edit-view .sr-response {
  border: none;
}
.sr-response-button > * {
  display: none;
}
.sr-response-button.sr-show-answer-button > span.sr-large-text {
  display: inline;
}
.sr-response-button.sr-show-small-text > span.sr-small-text,
.sr-response-button.sr-show-large-text > span.sr-large-text {
  display: inline;
}
.is-phone .sr-response-button:not(.sr-show-answer-button).sr-show-large-text > span.sr-small-text {
  display: inline;
}
.is-phone .sr-response-button:not(.sr-show-answer-button).sr-show-large-text > span.sr-large-text {
  display: none;
}
@container (width < 580px) {
  .sr-response-button:not(.sr-show-answer-button).sr-show-large-text > span.sr-small-text {
    display: inline;
  }
  .sr-response-button:not(.sr-show-answer-button).sr-show-large-text > span.sr-large-text {
    display: none;
  }
}
@media only screen and (orientation: landscape) {
  .is-phone .sr-response-button {
    height: 38px;
    line-height: 38px;
  }
  .is-phone .sr-response {
    padding-top: var(--size-2-1);
    padding-bottom: 0;
  }
}
body:not(.is-mobile) .sr-card-container:not(.sr-custom-hotkeys) .sr-response-button.sr-show-answer-button,
body:not(.is-mobile) .sr-card-container:not(.sr-custom-hotkeys) .sr-response-button.sr-again-button,
body:not(.is-mobile) .sr-card-container:not(.sr-custom-hotkeys) .sr-response-button.sr-hard-button,
body:not(.is-mobile) .sr-card-container:not(.sr-custom-hotkeys) .sr-response-button.sr-good-button,
body:not(.is-mobile) .sr-card-container:not(.sr-custom-hotkeys) .sr-response-button.sr-easy-button {
  position: relative;
  &::after {
    position: absolute;
    right: 4px;
    bottom: 4px;
    height: 0.8rem;
    background-color: rgb(0 0 0 / 0%);
    border-radius: var(--input-radius);
    line-height: 1;
    padding: 2px 4px;
    padding-top: 3px;
    font-size: x-small;
    box-shadow: inset 1px 1px rgb(255 255 255 / 20%), inset -1px -1px rgb(0 0 0 / 20%);
    color: #f7f7f7;
    font-family: var(--font-monospace);
  }
}
body:not(.is-mobile) .sr-card-container:not(.sr-custom-hotkeys) .sr-response-button.sr-show-answer-button::after {
  content: "Space";
}
body:not(.is-mobile) .sr-card-container:not(.sr-custom-hotkeys) .sr-response-button.sr-again-button::after {
  content: "0";
}
body:not(.is-mobile) .sr-card-container:not(.sr-custom-hotkeys) .sr-response-button.sr-hard-button::after {
  content: "1";
}
body:not(.is-mobile) .sr-card-container:not(.sr-custom-hotkeys) .sr-response-button.sr-good-button::after {
  content: "2";
}
body:not(.is-mobile) .sr-card-container:not(.sr-custom-hotkeys) .sr-response-button.sr-easy-button::after {
  content: "3";
}

/* src/ui/obsidian-ui-components/content-container/card-container/toolbar/toolbar.css */
.sr-card-toolbar {
  --deck-info-name-width: 20ch;
  --tool-button-section-width: 218px;
  height: 46px;
  display: flex;
  gap: var(--size-4-2);
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--size-4-2);
  border-bottom: 1px solid var(--background-modifier-border);
  & > * {
    margin: var(--size-4-2) 0;
  }
  & > .sr-divider {
    --divider-height: 100%;
    --divider-color: var(--background-modifier-border);
    --divider-width: 1px;
    margin: 0;
  }
  & .sr-extended-menu-button {
    display: none;
  }
  & .sr-reset-button.mod-warning {
    --interactive-warning-hover: #fdf6f6;
    color: var(--text-error);
    background-color: var(--interactive-normal);
    &:hover {
      background-color: var(--interactive-warning-hover);
    }
  }
}
.sr-card-toolbar .sr-flex-spacer.sr-center-spacer {
  display: none;
}
.sr-tab-view .sr-card-toolbar {
  border-top: 1px solid var(--background-modifier-border);
}
.is-mobile .sr-card-toolbar {
  height: auto;
}
.is-phone .sr-tab-view .sr-card-toolbar {
  --deck-info-name-width: 15ch;
}
.is-phone #sr-modal-view .sr-card-toolbar {
  --deck-info-name-width: 10ch;
}
@media only screen and (orientation: landscape) {
  .is-phone .sr-card-toolbar {
    display: none;
  }
}
.is-phone .sr-card-toolbar .sr-edit-button,
.is-phone .sr-card-toolbar .sr-reset-button,
.is-phone .sr-card-toolbar .sr-short-menu-button,
.is-phone .sr-card-toolbar > .sr-divider,
.is-phone .sr-card-toolbar .sr-skip-button {
  display: none;
}
.is-phone .sr-card-toolbar .sr-extended-menu-button {
  display: flex;
}
.is-phone .sr-card-toolbar .sr-current-deck-info,
.is-phone .sr-card-toolbar .sr-deck-pointer {
  display: none;
}
.is-phone .sr-card-toolbar .sr-flex-spacer.sr-center-spacer {
  display: flex;
}
@container (width < 850px) {
  .is-mobile .sr-card-toolbar .sr-edit-button,
  .is-mobile .sr-card-toolbar .sr-reset-button,
  .is-mobile .sr-card-toolbar .sr-short-menu-button,
  .is-mobile .sr-card-toolbar > .sr-divider,
  .is-mobile .sr-card-toolbar .sr-skip-button {
    display: none;
  }
  .is-mobile .sr-card-toolbar .sr-extended-menu-button {
    display: flex;
  }
  .is-mobile .sr-card-toolbar .sr-flex-spacer.sr-center-spacer {
    display: flex;
  }
}
@container (width < 730px) {
  .sr-card-toolbar {
    --deck-info-name-width: 15ch;
  }
}
@container (width < 690px) {
  .sr-card-toolbar {
    --deck-info-name-width: 20ch;
  }
  .sr-card-toolbar .sr-edit-button,
  .sr-card-toolbar .sr-reset-button,
  .sr-card-toolbar .sr-short-menu-button,
  .sr-card-toolbar > .sr-divider,
  .sr-card-toolbar .sr-skip-button {
    display: none;
  }
  .sr-card-toolbar .sr-extended-menu-button {
    display: flex;
  }
  .sr-card-toolbar .sr-flex-spacer.sr-center-spacer {
    display: flex;
  }
}
@container (width < 580px) {
  .sr-card-toolbar .sr-current-deck-info,
  .sr-card-toolbar .sr-deck-pointer {
    display: none;
  }
}

/* src/ui/obsidian-ui-components/content-container/card-container/toolbar/deck-info/deck-info.css */
.sr-info-section {
  display: flex;
  gap: var(--size-4-2);
  color: var(--text-muted);
  text-wrap: nowrap;
  font-weight: bold;
}
.sr-deck-info {
  display: flex;
  gap: var(--size-4-3);
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  color: white;
  padding: 0 var(--size-4-2);
  border-radius: var(--input-radius);
  & .sr-divider {
    border-color: white;
  }
}
.sr-counter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--size-4-1);
}
.sr-deck-name {
  max-width: var(--deck-info-name-width);
  overflow: hidden;
  text-overflow: ellipsis;
}
.sr-deck-pointer,
.sr-counter-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  & svg {
    --icon-size: 16px;
    --icon-stroke: 2.5px;
  }
}

/* src/ui/obsidian-ui-components/content-container/deck-container/deck-container.css */
.deck-container {
  gap: 0px;
}

/* src/ui/obsidian-ui-components/content-container/deck-container/deck-list.css */
.sr-deck-container {
  .sr-scroll-wrapper {
    height: 100px;
    overflow: hidden;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    & .sr-content {
      overflow-x: hidden;
      overflow-y: auto;
      flex-grow: 1;
      padding: var(--size-4-2);
      padding-right: var(--size-4-1);
      padding-top: var(--size-4-4);
    }
  }
  & .sr-tree-item-row {
    padding-top: 2px;
    padding-bottom: 2px;
    margin-bottom: 0;
    &.is-disabled {
      cursor: not-allowed;
      opacity: 0.6;
    }
  }
  & .sr-tree-stats-container {
    display: flex;
    gap: var(--size-4-1);
  }
  & .sr-tree-stats-count {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: calc(32px + var(--size-2-1) * 2);
    padding: var(--size-4-1) var(--size-2-1);
    text-align: center;
  }
  & .sr-tree-stats-count:not(.sr-fg-green, .sr-fg-blue, .sr-fg-red, .sr-fg-yellow) {
    color: #ffffff !important;
  }
}
.sr-header-row .sr-tree-row-text,
.sr-header-row .sr-tree-stats-count {
  font-weight: bold;
  font-size: small;
}
.sr-header-row {
  & .tree-item-self {
    border-bottom: 1px dashed var(--background-modifier-border);
    border-radius: 0;
    margin-bottom: var(--size-4-1);
  }
}
.sr-deck-container .tag-pane-tag-self {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: keep-all;
  display: block;
}
.is-phone .sr-deck-container .sr-content {
  padding: 0;
  padding-top: var(--size-4-4);
}
.is-phone .sr-deck-container .tree-item .tree-item-self {
  padding-inline-end: 4px;
}
.is-mobile .sr-deck-container .sr-tree-stats-count {
  border-radius: var(--tag-radius);
  height: 21px;
}
.is-phone .sr-deck-container .sr-tree-stats-count {
  min-width: 32px;
  padding: var(--size-4-1) 0;
}
@media only screen and (orientation: landscape) {
  .is-phone .sr-deck-container .sr-content {
    padding-top: var(--size-2-1);
  }
  .is-phone .sr-deck-container .sr-header-row {
    display: none;
  }
}

/* src/ui/obsidian-ui-components/content-container/deck-container/deck-list-header.css */
.sr-deck-list-header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: var(--size-4-2);
  border-bottom: 1px solid var(--background-modifier-border);
  padding: var(--size-4-2);
  & .sr-deck-icon {
    display: flex;
  }
  & .sr-title {
    font-size: var(--font-ui-large);
    font-weight: var(--font-semibold);
    text-align: center;
    line-height: var(--line-height-tight);
  }
}
.sr-tab-view .sr-deck-list-header {
  border-top: 1px solid var(--background-modifier-border);
}
@media only screen and (orientation: landscape) {
  .is-phone .sr-deck-list-header {
    display: none;
  }
  .is-phone .sr-deck-container .sr-deck-list-header .sr-button {
    padding: 0;
  }
}

/* src/ui/obsidian-ui-components/modals/edit-modal.css */
.sr-edit-modal {
  height: 80%;
}
.sr-edit-view {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--size-4-4);
}
.sr-edit-view .sr-input {
  flex-grow: 1;
  width: 100%;
  resize: none;
}
.sr-edit-view .sr-response {
  display: grid;
  grid-template-columns: auto auto auto;
  width: 100%;
  margin-top: 0;
}
.sr-edit-view .sr-response-button {
  width: 100%;
}
.sr-edit-view .sr-response-button.sr-dummy-button {
  opacity: 0;
  cursor: default;
}

/* src/ui/obsidian-ui-components/modals/modal-view.css */
#sr-modal-view {
  padding: 0;
  max-width: 100%;
  max-height: 100%;
}
#sr-modal-view .sr-modal-content {
  overflow: visible;
  padding: 0;
}
#sr-modal-view .modal-close-button,
#sr-modal-view .modal-header {
  display: none;
}
body:not(.is-mobile) #sr-modal-view {
  resize: both;
}
.is-mobile #sr-modal-view {
  padding-top: var(--safe-area-inset-top) !important;
  padding-right: var(--safe-area-inset-right) !important;
  padding-left: var(--safe-area-inset-left) !important;
  padding-bottom: var(--safe-area-inset-bottom) !important;
}

/* src/ui/obsidian-ui-components/content-container/settings-page/settings-page.css */
.sr-settings-tab {
  overflow: hidden;
}
.is-phone .modal.mod-settings .sr-settings-tab {
  padding-bottom: max(var(--safe-area-inset-bottom), var(--size-4-4));
}
.sr-main-page {
  & .sr-settings-page-title-icon {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  & .sr-settings-page-title {
    display: flex;
    align-items: center;
    gap: var(--size-4-2);
  }
}
.sr-settings-tab {
  & .sr-main-page {
    & .setting-item {
      flex-direction: row !important;
      align-items: center !important;
      & .setting-item-info {
        align-self: unset !important;
      }
      & .setting-item-control {
        width: unset !important;
        justify-content: flex-end !important;
      }
    }
  }
}
.is-phone .modal .sr-settings-tab {
  & .sr-settings-page-title-wrapper {
    font-size: var(--font-ui-normal);
    padding-left: var(--size-4-2);
    border-left: 1px solid var(--background-modifier-border);
  }
  & .sr-settings-page-header {
    padding: var(--size-4-2);
    border: unset;
    background-color: var(--setting-items-background);
    border-radius: var(--setting-items-radius);
  }
}
.sr-settings-page {
  display: flex;
  flex-direction: column;
  gap: var(--size-4-4);
  height: 100%;
  width: 100%;
  overflow: hidden;
  & button {
    cursor: pointer;
  }
}
.sr-settings-page-header {
  display: flex;
  align-items: center;
  gap: var(--size-4-2);
  padding-bottom: var(--size-4-2);
  border-bottom: 1px solid var(--background-modifier-border);
  cursor: pointer;
}
.sr-settings-page-title-setting {
  cursor: pointer;
}
.sr-settings-page-title-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--size-4-2);
  font-size: var(--font-ui-large);
}
.sr-settings-page-title-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}
.sr-settings-page-content {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
}
body:not(.is-phone) .sr-settings-page-content {
  padding-right: var(--size-4-1);
}

/* src/ui/obsidian-ui-components/content-container/settings-page/statistics-page/statistics-page.css */
.sr-statistics-page {
  display: flex;
  flex-direction: column;
  gap: var(--size-4-4);
}
.sr-setting-override > .setting-item-name,
.sr-setting-override > .setting-item-control,
.sr-setting-override > .setting-item-info {
  display: none;
}
.sr-chart-container,
.sr-chart-canvas-container {
  height: 100%;
  width: 100%;
  position: relative;
}
.gridjs *,
.gridjs :after,
.gridjs :before {
  box-sizing: border-box;
}
.gridjs-wrapper {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border-color: #e5e7eb;
  border-style: solid;
  border-radius: 8px 8px 0 0;
  border-width: 1px 1px 0 1px;
  display: block;
  overflow: auto;
  position: relative;
  width: 100%;
  z-index: 1;
  height: calc(45px * 10 + 54px);
}
.gridjs-wrapper:nth-last-of-type(2) {
  border-bottom-width: 1px;
  border-radius: 8px;
}
.gridjs-search-input {
  width: 100%;
}
.gridjs-footer button,
.gridjs-head button {
  background-color: transparent;
  background-image: none;
  border: none;
  cursor: pointer;
  margin: 0;
  outline: none;
  padding: 0;
}
.gridjs-temp {
  position: relative;
}
.gridjs-head {
  margin-bottom: 5px;
  padding: 5px 1px;
  width: 100%;
}
.gridjs-head:after {
  clear: both;
  content: "";
  display: block;
}
.gridjs-head:empty {
  border: none;
  padding: 0;
}
.gridjs-container {
  color: #000;
  display: inline-block;
  overflow: hidden;
  padding: 2px;
  position: relative;
  z-index: 0;
}
.gridjs-footer {
  background-color: #fff;
  border-style: solid;
  border-width: 0px 1px 1px 1px;
  border-color: #e5e7eb;
  border-radius: 0 0 8px 8px;
  border-top: 1px solid #e5e7eb;
  display: block;
  padding: 12px 24px;
  position: relative;
  width: 100%;
  z-index: 5;
}
.gridjs-footer:empty {
  border: none;
  padding: 0;
}
input.gridjs-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border: 1px solid #d2d6dc;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.45;
  outline: none;
  padding: 10px 13px;
}
input.gridjs-input:focus {
  border-color: #9bc2f7;
  box-shadow: 0 0 0 3px rgba(149, 189, 243, 0.5);
}
.gridjs-pagination {
  color: #3d4044;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gridjs-pagination:after {
  clear: both;
  content: "";
  display: block;
}
.gridjs-pagination .gridjs-summary {
  float: left;
  margin-top: 5px;
}
.gridjs-pagination .gridjs-pages {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--size-4-2);
}
.is-mobile .gridjs-pagination .gridjs-pages {
  gap: 0;
}
.is-mobile .gridjs-pagination .gridjs-pages button {
  border-right: none;
  border-radius: 0;
}
.gridjs-pagination .gridjs-pages button:last-child {
  border-bottom-right-radius: 6px;
  border-top-right-radius: 6px;
  border-right: 1px solid #d2d6dc;
}
.gridjs-pagination .gridjs-pages button:first-child {
  border-bottom-left-radius: 6px;
  border-top-left-radius: 6px;
}
.gridjs-pagination .gridjs-pages button {
  background-color: #fff;
  border: 1px solid #d2d6dc;
  outline: none;
  padding: 5px 14px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.gridjs-pagination .gridjs-pages button:focus {
  border-right: 1px solid #d2d6dc;
  box-shadow: 0 0 0 2px rgba(149, 189, 243, 0.5);
  margin-right: -1px;
  position: relative;
}
.gridjs-pagination .gridjs-pages button:hover {
  background-color: #f7f7f7;
  color: #3c4257;
  outline: none;
}
.gridjs-pagination .gridjs-pages button:disabled,
.gridjs-pagination .gridjs-pages button:hover:disabled,
.gridjs-pagination .gridjs-pages button[disabled] {
  background-color: #fff;
  color: #6b7280;
  cursor: default;
}
.gridjs-pagination .gridjs-pages button.gridjs-spread {
  background-color: #fff;
  box-shadow: none;
  cursor: default;
}
.gridjs-pagination .gridjs-pages button.gridjs-currentPage {
  background-color: #f7f7f7;
  font-weight: 700;
}
.gridjs-pagination .gridjs-pages button:last-child:focus {
  margin-right: 0;
}
button.gridjs-sort {
  background-color: transparent;
  background-position-x: center;
  background-repeat: no-repeat;
  background-size: contain;
  border: none;
  cursor: pointer;
  float: right;
  height: 24px;
  margin: 0;
  outline: none;
  padding: 0;
  width: 13px;
}
button.gridjs-sort-neutral {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDEuOTk4IiBoZWlnaHQ9IjQwMS45OTgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQwMS45OTggNDAxLjk5OCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTczLjA5MiAxNjQuNDUyaDI1NS44MTNjNC45NDkgMCA5LjIzMy0xLjgwNyAxMi44NDgtNS40MjQgMy42MTMtMy42MTYgNS40MjctNy44OTggNS40MjctMTIuODQ3cy0xLjgxMy05LjIyOS01LjQyNy0xMi44NUwyMTMuODQ2IDUuNDI0QzIxMC4yMzIgMS44MTIgMjA1Ljk1MSAwIDIwMC45OTkgMHMtOS4yMzMgMS44MTItMTIuODUgNS40MjRMNjAuMjQyIDEzMy4zMzFjLTMuNjE3IDMuNjE3LTUuNDI0IDcuOTAxLTUuNDI0IDEyLjg1IDAgNC45NDggMS44MDcgOS4yMzEgNS40MjQgMTIuODQ3IDMuNjIxIDMuNjE3IDcuOTAyIDUuNDI0IDEyLjg1IDUuNDI0ek0zMjguOTA1IDIzNy41NDlINzMuMDkyYy00Ljk1MiAwLTkuMjMzIDEuODA4LTEyLjg1IDUuNDIxLTMuNjE3IDMuNjE3LTUuNDI0IDcuODk4LTUuNDI0IDEyLjg0N3MxLjgwNyA5LjIzMyA1LjQyNCAxMi44NDhMMTg4LjE0OSAzOTYuNTdjMy42MjEgMy42MTcgNy45MDIgNS40MjggMTIuODUgNS40MjhzOS4yMzMtMS44MTEgMTIuODQ3LTUuNDI4bDEyNy45MDctMTI3LjkwNmMzLjYxMy0zLjYxNCA1LjQyNy03Ljg5OCA1LjQyNy0xMi44NDggMC00Ljk0OC0xLjgxMy05LjIyOS01LjQyNy0xMi44NDctMy42MTQtMy42MTYtNy44OTktNS40Mi0xMi44NDgtNS40MnoiLz48L3N2Zz4=);
  background-position-y: center;
  opacity: 0.3;
}
button.gridjs-sort-asc {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOTIuMzYyIiBoZWlnaHQ9IjI5Mi4zNjEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDI5Mi4zNjIgMjkyLjM2MSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTI4Ni45MzUgMTk3LjI4NyAxNTkuMDI4IDY5LjM4MWMtMy42MTMtMy42MTctNy44OTUtNS40MjQtMTIuODQ3LTUuNDI0cy05LjIzMyAxLjgwNy0xMi44NSA1LjQyNEw1LjQyNCAxOTcuMjg3QzEuODA3IDIwMC45MDQgMCAyMDUuMTg2IDAgMjEwLjEzNHMxLjgwNyA5LjIzMyA1LjQyNCAxMi44NDdjMy42MjEgMy42MTcgNy45MDIgNS40MjUgMTIuODUgNS40MjVoMjU1LjgxM2M0Ljk0OSAwIDkuMjMzLTEuODA4IDEyLjg0OC01LjQyNSAzLjYxMy0zLjYxMyA1LjQyNy03Ljg5OCA1LjQyNy0xMi44NDdzLTEuODE0LTkuMjMtNS40MjctMTIuODQ3eiIvPjwvc3ZnPg==);
  background-position-y: 35%;
  background-size: 10px;
}
button.gridjs-sort-desc {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOTIuMzYyIiBoZWlnaHQ9IjI5Mi4zNjIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDI5Mi4zNjIgMjkyLjM2MiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTI4Ni45MzUgNjkuMzc3Yy0zLjYxNC0zLjYxNy03Ljg5OC01LjQyNC0xMi44NDgtNS40MjRIMTguMjc0Yy00Ljk1MiAwLTkuMjMzIDEuODA3LTEyLjg1IDUuNDI0QzEuODA3IDcyLjk5OCAwIDc3LjI3OSAwIDgyLjIyOGMwIDQuOTQ4IDEuODA3IDkuMjI5IDUuNDI0IDEyLjg0N2wxMjcuOTA3IDEyNy45MDdjMy42MjEgMy42MTcgNy45MDIgNS40MjggMTIuODUgNS40MjhzOS4yMzMtMS44MTEgMTIuODQ3LTUuNDI4TDI4Ni45MzUgOTUuMDc0YzMuNjEzLTMuNjE3IDUuNDI3LTcuODk4IDUuNDI3LTEyLjg0NyAwLTQuOTQ4LTEuODE0LTkuMjI5LTUuNDI3LTEyLjg1eiIvPjwvc3ZnPg==);
  background-position-y: 65%;
  background-size: 10px;
}
button.gridjs-sort:focus {
  outline: none;
}
table.gridjs-table {
  border-collapse: collapse;
  display: table;
  margin: 0;
  max-width: 100%;
  overflow: auto;
  padding: 0;
  table-layout: fixed;
  text-align: left;
  width: 100%;
}
.gridjs-tbody,
td.gridjs-td {
  background-color: #fff;
}
td.gridjs-td {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-sizing: border-box;
  padding: 12px 24px;
  max-height: calc(45px - 24px);
  text-overflow: ellipsis;
  text-wrap-mode: nowrap;
}
td.gridjs-td:first-child {
  border-left: none;
}
td.gridjs-td:last-child {
  border-right: none;
}
td.gridjs-message {
  text-align: center;
}
th.gridjs-th {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-top: none;
  box-sizing: border-box;
  color: #6b7280;
  outline: none;
  padding: 14px 24px;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
}
th.gridjs-th .gridjs-th-content {
  float: left;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
th.gridjs-th-sort {
  cursor: pointer;
}
th.gridjs-th-sort .gridjs-th-content {
  width: calc(100% - 15px);
}
th.gridjs-th-sort:focus,
th.gridjs-th-sort:hover {
  background-color: #e5e7eb;
}
th.gridjs-th-fixed {
  box-shadow: 0 1px 0 0 #e5e7eb;
  position: sticky;
}
@supports (-moz-appearance: none) {
  th.gridjs-th-fixed {
    box-shadow: 0 0 0 1px #e5e7eb;
  }
}
th.gridjs-th:first-child {
  border-left: none;
}
th.gridjs-th:last-child {
  border-right: none;
}
.gridjs-tr {
  border: none;
}
.gridjs-tr-selected td {
  background-color: #ebf5ff;
}
.gridjs-tr:last-child td {
  border-bottom: 0;
}
.gridjs-loading-bar {
  background-color: #fff;
  opacity: 0.5;
  z-index: 10;
}
.gridjs-loading-bar,
.gridjs-loading-bar:after {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.gridjs-loading-bar:after {
  animation: shimmer 2s infinite;
  background-image:
    linear-gradient(
      90deg,
      hsla(0, 0%, 80%, 0),
      hsla(0, 0%, 80%, 0.2) 20%,
      hsla(0, 0%, 80%, 0.5) 60%,
      hsla(0, 0%, 80%, 0));
  content: "";
  transform: translateX(-100%);
}
@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}
.gridjs-td .gridjs-checkbox {
  cursor: pointer;
  display: block;
  margin: auto;
}
.gridjs-resizable {
  bottom: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 5px;
}
.gridjs-resizable:hover {
  background-color: #9bc2f7;
  cursor: ew-resize;
}

/* src/ui/obsidian-ui-components/statusbar-items/statusbar-items.css */
.sr-status-bar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--size-4-1);
  &.mod-clickable {
    --cursor: pointer;
  }
}
